]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix regex wctype namespace (bug 18495).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9dd6b779
JM
12015-06-05 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #18495]
4 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5 (__iswlower): Likewise.
6 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
7 (__iswlower): Likewise.
8 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
9 instead of towlower.
10 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11 instead of iswlower. Call __towupper instead of towupper.
12 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13 instead of iswalnum.
14
02242448
TMQMF
152015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16
17 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18 errors to stderr.
19
7fe9e2e0
FW
202015-06-05 Florian Weimer <fweimer@redhat.com>
21
22 [BZ #15661]
a330baa0 23 [BZ #17322]
7fe9e2e0
FW
24 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25 Check for overflow properly. Check for O_APPEND. Ignore large
26 file system block sizes. Add comments about problems.
27 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
28 * manual/filesys.texi (Storage Allocation): New node.
29
c6bb095e
AZ
302015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31
32 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
33 cancellable syscalls.
34 (SYS_ify): Add guard to no redefine it.
35 (INLINE_SYSCALL): Likewise.
36 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
37 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
38 SYSCALL_CANCEL instead.
39 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
40 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
42 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
43 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
44 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
45 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
46 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
47 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
48 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
49 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
50 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
51 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
52 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
53 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
54 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
55 Likewise.
56 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
57 (__libc_pread64): Likewise.
58 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
59 (__libc_preadv): Likewise.
60 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
61 (__libc_readv64): Likewise.
62 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
63 (__libc_pwrite): Likewise.
64 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
65 (__libc_pwrite64): Likewise.
66 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
67 (__libc_pwritev): Likewise.
68 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
69 (__libc_pwritev64): Likewise.
70 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
71 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
72 (sync_file_range): Likewise.
73 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
74 Likewise.
75 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
76 Likewise.
77 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
78 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
79 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
80 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
81 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
82 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
83 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
84 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
86 Likewise.
87 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
88 (__libc_read64): Likewise.
89 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
90 Likewise.
91 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
92 Likewise.
93 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
94 Likewise.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
96 Likewise.
97 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
98 (__libc_pread64): Likewise.
99 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
100 Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
102 (__libc_pwrite64): Likewise.
103 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
104 (sync_file_range): Likewise.
105 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
106 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
107 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
108 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
109 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
110 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
111 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
112 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
113 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
114 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
115 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
116 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
117 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
118 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
119 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
120 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
121 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
122 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
123 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
124 Likewise.
125 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
126 Likewise.
127 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
128 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
129 Likewise.
130 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
131 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
132 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
133 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
134 Likewise.
135 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
136 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
137 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
138 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
139 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
140
b65d3e5f
NL
1412015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
142
143 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
144 Include dl-vdso.
145 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
146 Use VDSO routines for gettimeofday, clock_gettime if
147 available.
148 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
149 Declare VDSO symbols.
150 * sysdeps/unix/sysv/linux/arm/sysdep.h:
151 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
152 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
153 * sysdeps/unix/sysv/linux/arm/Versions: Add
154 __vdso_clock_gettime.
155
34caaafd
AZ
1562015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
157
158 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
159 be an inline implementation regardless of library is built within.
160 (open_not_cancel_2): Likewise.
161 (__read_nocancel): Likewise.
162 (__write_nocancel): Likewise.
163 (openat_not_cancel): Likewise.
164 (openat_not_cancel_3): Likewise.
165 (openat64_not_cancel): Likewise.
166 (openat64_not_cancel_3): Likewise.
167 (__close_nocancel): Likewise.
168 (pause_not_cancel): Likewise.
169 (nanosleep_not_cancel): Likewise.
170 (sigsuspend_not_cancel): Likewise.
171
b634486d
TR
1722015-06-04 Torvald Riegel <triegel@redhat.com>
173
174 [BZ #14958]
175 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
176 wake-up.
177 (__pthread_rwlock_rdlock_slow): Likewise.
178 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
179 Likewise.
180 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
181 Likewise.
182 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
183 * nptl/tst-rwlock16.c: New file.
184 * nptl/Makefile (tests): Add new test.
185
3c9c61fe
TR
1862015-06-04 Torvald Riegel <triegel@redhat.com>
187
188 [BZ #18324]
189 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
190 missing wake-up of readers.
191 * nptl/tst-rwlock15.c: New file.
192 * nptl/Makefile (tests): Add new test.
193
da7f049c
RM
1942015-06-03 Roland McGrath <roland@hack.frob.com>
195
196 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
197 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
198 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
199 and __nacl_supply_interface_rtld.
200 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
201 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
202 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
203 Add __nacl_supply_interface_rtld.
204 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
205
cbf377ed
WD
2062015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
207
208 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
209 isfinite.
210 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
211 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
212
d81f90cc
WD
2132015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
214
215 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
216 __signbit* with standard C99 macros.
217 * math/e_exp10l.c: Likewise.
218 * math/e_exp2l.c: Likewise.
219 * math/e_scalb.c: Likewise.
220 * math/e_scalbf.c: Likewise.
221 * math/e_scalbl.c: Likewise.
222 * math/s_ldexp.c: Likewise.
223 * math/s_ldexpf.c: Likewise.
224 * math/s_ldexpl.c: Likewise.
225 * math/w_atan2.c: Likewise.
226 * math/w_atan2f.c: Likewise.
227 * math/w_atan2l.c: Likewise.
228 * math/w_cosh.c: Likewise.
229 * math/w_coshf.c: Likewise.
230 * math/w_coshl.c: Likewise.
231 * math/w_exp10.c: Likewise.
232 * math/w_exp10f.c: Likewise.
233 * math/w_exp10l.c: Likewise.
234 * math/w_exp2.c: Likewise.
235 * math/w_exp2f.c: Likewise.
236 * math/w_exp2l.c: Likewise.
237 * math/w_fmod.c: Likewise.
238 * math/w_fmodf.c: Likewise.
239 * math/w_fmodl.c: Likewise.
240 * math/w_hypot.c: Likewise.
241 * math/w_hypotf.c: Likewise.
242 * math/w_hypotl.c: Likewise.
243 * math/w_jnl.c: Likewise.
244 * math/w_lgamma.c: Likewise.
245 * math/w_lgamma_r.c: Likewise.
246 * math/w_lgammaf.c: Likewise.
247 * math/w_lgammaf_r.c: Likewise.
248 * math/w_lgammal.c: Likewise.
249 * math/w_lgammal_r.c: Likewise.
250 * math/w_pow.c: Likewise.
251 * math/w_powf.c: Likewise.
252 * math/w_powl.c: Likewise.
253 * math/w_remainder.c: Likewise.
254 * math/w_remainderf.c: Likewise.
255 * math/w_remainderl.c: Likewise.
256 * math/w_scalb.c: Likewise.
257 * math/w_scalbf.c: Likewise.
258 * math/w_scalbl.c: Likewise.
259 * math/w_scalbln.c: Likewise.
260 * math/w_scalblnf.c: Likewise.
261 * math/w_scalblnl.c: Likewise.
262 * math/w_sinh.c: Likewise.
263 * math/w_sinhf.c: Likewise.
264 * math/w_sinhl.c: Likewise.
265 * math/w_tgamma.c: Likewise.
266 * math/w_tgammaf.c: Likewise.
267 * math/w_tgammal.c: Likewise.
268 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
269 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
270 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
271 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
272 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
274 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
275 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
276 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
277 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
278 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
279 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
280 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
281 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
282 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
283 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
284 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
285 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
286 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
287 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
289 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
290 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
292 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
293 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
294 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
295 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
296 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
297 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
298 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
299 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
300 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
301 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
302 * stdio-common/printf_fp.c: Likewise.
303 * stdio-common/printf_fphex.c: Likewise.
304 * stdio-common/printf_size.c: Likewise.
305
aca6ea65
JM
3062015-06-03 Joseph Myers <joseph@codesourcery.com>
307
f014e87e
JM
308 [BZ #18470]
309 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
310 strnlen.
311 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
312 Remove variable.
313 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
314 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
315 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
316 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
317 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
318 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
319 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
320 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
321 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
322 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
323
aca6ea65
JM
324 [BZ #18468]
325 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
326 weak alias of __wmemchr. Use libc_hidden_weak.
327 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
328 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
329 instead of wmemchr.
330
1a1a6bde
RM
3312015-06-02 Roland McGrath <roland@hack.frob.com>
332
333 [BZ #18383]
334 * elf/tst-tlsalign-extern.c: New file.
335 * elf/tst-tlsalign-extern-static.c: New file.
336 * elf/tst-tlsalign-vars.c: New file.
337 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
338 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
339 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
340 ($(objpfx)tst-tlsalign-extern-static): Likewise.
341 (test-xfail-tst-tlsalign-extern-static): New variable.
342
bb4acb52
JM
3432015-06-02 Joseph Myers <joseph@codesourcery.com>
344
e0c349b4
JM
345 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
346 Use variable name _sc_err instead of err.
347 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
348 instead of ret.
349 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
350 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
351 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
352 (INLINE_SYSCALL): Likewise.
353
17696087
JM
354 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
355 * include/string.h (__strnlen): Use libc_hidden_proto.
356 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
357 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
358 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
359 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
360 (libc_hidden_def): Undefine and redefine.
361 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
362 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
363 __GI_strnlen.
364 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
365 libc_hidden_def.
366 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
367
bb4acb52
JM
368 [BZ #18469]
369 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
370 weak alias of __towlower. Use libc_hidden_weak.
371 (towupper): Rename to __towupper and define as weak alias of
372 __towupper. Use libc_hidden_weak.
373 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
374 (__towupper): Likewise.
375 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
376 __towlower instead of towlower.
377
6cfae52e
RM
3782015-06-02 Roland McGrath <roland@hack.frob.com>
379
380 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
381 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
382
71bf272d
WD
3832015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
384
385 * sysdeps/aarch64/libm-test-ulps: Update.
386
1395ef21
AZ
3872015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
388
389 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
390 Define.
391 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
393 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
394 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
395 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
396 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
397 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
398
44c92499 3992015-06-01 Martin Sebor <msebor@redhat.com>
db8fed87
MS
400
401 [BZ #18116]
44c92499
AZ
402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
403 (__setcontext): Use extended four-operand version of mtsf whenever
db8fed87 404 possible.
44c92499
AZ
405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
406 (__novec_swapcontext): Likewise.
db8fed87 407
0994b9b6
SP
4082015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
409
0cd28286
SP
410 * benchtests/scripts/compare_bench.py: New file.
411 * benchtests/scripts/import_bench.py (mean): New function.
412 (split_list): Likewise.
413 (do_for_all_timings): Likewise.
414 (compress_timings): Likewise.
415
0994b9b6
SP
416 * benchtests/scripts/import_bench.py: New file.
417 * benchtests/scripts/validate_benchout.py: Import import_bench
418 instead of jsonschema.
419 (validate_bench): Remove function.
420 (main): Use import_bench.
421
2483fa85
SE
4222015-06-01 Steve Ellcey <sellcey@imgtec.com>
423
424 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
425 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
426
fd57d826
AZ
4272015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
428
429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
430
f2175470
RM
4312015-05-28 Roland McGrath <roland@hack.frob.com>
432
3ed01512
RM
433 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
434 set THREAD_SELF->tid to a magic value and futex-wake it.
435 Pass its address to the thread_exit system call.
436 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
437 bit is clear.
438 * sysdeps/nacl/lowlevellock.h: New file.
439 * sysdeps/nacl/lll_timedwait_tid.c: New file.
440
f2175470
RM
441 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
442 Add TIMEOUT to current time, don't subtract it.
443
58007e9e
L
4442015-05-28 H.J. Lu <hongjiu.lu@intel.com>
445
446 [BZ #18422]
447 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
448 ($(objpfx)tst-audit2.out): Also depend on
449 $(objpfx)tst-auditmod9b.so.
450 * elf/tst-audit2.c: Include <dlfcn.h>.
451 (calloc_called): New.
452 (calloc): Allow to be called more than once.
453 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
454
be2e25bb
WD
4552015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
456
457 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
458 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
459
d28311a1
MM
4602015-05-27 Marko Myllynen <myllynen@redhat.com>
461
462 * stdlib/monetary.h: Fix comment.
463
18270599
CM
4642015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
465
466 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
467 Avoid using variables in #defines that might cause shadowing.
468 (INTERNAL_VSYSCALL_CALL): Likewise.
469
68c97aef
RM
4702015-05-26 Roland McGrath <roland@hack.frob.com>
471
1f3a37b1
RM
472 * sysdeps/nacl/lll_timedlock_wait.c: New file.
473
68c97aef
RM
474 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
475 * nptl/lll_timedlock_wait.c: ... to this new file.
476 * nptl/Makefile (libpthread-routines): Add it.
477 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
478 * nptl/lll_timedwait_tid.c: ... to this new file.
479 * nptl/Makefile (libpthread-routines): Add it.
480 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
481 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
482 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
483 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
484 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
485 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
486 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
487 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
488 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
489 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
490
97554e43
AZ
4912015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
492
493 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
494 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
495 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
496 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
497 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
498 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
499 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
500 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
501 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
502 * sysdeps/unix/sysv/linux/tile/sysdep.h
503 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
504 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
505 using vDSO syscall macro.
506
6afb9c01
AR
5072015-05-26 Andriy Rysin <arysin@gmail.com>
508
509 [BZ #17293]
510 * uk_UA: Fix sorting order for Ukrainian locale
511
f09b8615
SP
5122015-05-26 Marko Myllynen <myllynen@redhat.com>
513
514 * stdlib/monetary.h: Fix comment.
515
a06b40cd
SN
5162015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
517
518 [BZ #18234]
519 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
520 st_mtim and st_ctim members.
521 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
522 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
523 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
524 (struct stat64): Likewise.
525 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
526 (struct stat64): Likewise.
527 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
528 (struct stat64): Likewise.
529
f534255e
AZ
5302015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
531
532 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
533 Define and include sysdep-vdso.h.
534 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
535 Likewise.
536 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
537 Likewise.
538 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
539 Define with VDSO_SYMBOL and use PTR_MANGLE.
540 (__vdso_clock_gettime): Likewise.
541 (__vdso_clock_getres): Likewise.
542 (_libc_vdso_platform_setup): Likewise.
543 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
544 Likewise.
545 (_libc_vdso_platform_setup): Likewise.
546 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
547 Likewise.
548 (__vdso_clock_gettime): Likewise.
549 (__vdso_clock_getres): Likewise.
550 (__vdso_get_tbfreq): Likewise.
551 (__vdso_getcpu): Likewise.
552 (__vdso_time): Likewise.
553 (__vdso_sigtramp_rt64): Likewise.
554 (__vdso_signtramp32): Likewise.
555 (__vdso_sigtramp_rt32): Likewise.
556 (_libc_vdso_platform_setup): Likewise.
557 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
558 Likewise.
559 (__vdso_clock_gettime): Likewise.
560 (__vdso_clock_getres): Likewise.
561 (_libc_vdso_platform_setup): Likewise.
562 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
563 Likewise.
564 (__vdso_clock_gettime): Likewise.
565 (_libc_vdso_platform_setup): Likewise.
566 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
567 Likewise.
568 (__vdso_getcpu): Likewise.
569 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
570 Use VDSO_SYMBOL macro to define.
571 (__vdso_clock_gettime): Likewise.
572 (__vdso_clock_getres): Likewise.
573 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
574 Likewise.
575 (__vdso_clock_gettime): Likewise.
576 (__vdso_clock_getres): Likewise.
577 (__vdso_get_tbfreq): Likewise.
578 (__vdso_getcpu): Likewise.
579 (__vdso_time): Likewise.
580 (__vdso_sigtramp_rt64): Likewise.
581 (__vdso_signtramp32): Likewise.
582 (__vdso_sigtramp_rt32): Likewise.
583 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
584 Likewise.
585 (__vdso_clock_gettime): Likewise.
586 (__vdso_clock_getres): Likewise.
587 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
588 Likewise.
589 (__vdso_clock_gettime): Likewise.
590 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
591 Likewise.
592 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
593 macro.
594 (INTERNAL_VSYSCALL): Likewise.
595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
596 Remove macro.
597 (INTERNAL_VSYSCALL): Likewise.
598 (INTERNAL_VSYSCALL_NCS): Likewise.
599 (INTERNAL_VSYSCALL_CALL): New macro.
600 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
602 Likewise.
603 (INTERNAL_VSYSCALL): Likewise.
604 (INTERNAL_VSYSCALL_NCS): Likewise.
605 (INTERNAL_VSYSCALL_CALL): New macro.
606 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
608 (INLINE_VSYSCALL): Remove macro.
609 (INTERNAL_VSYSCALL): Remove macro.
610 (INTERNAL_VSYSCALL_NCS): Remove macro.
611 (INTERNAL_VSYSCALL_CALL): New macro.
612 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
613 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
614 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
615 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
616 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
618 (INLINE_VSYSCALL): Remove macro.
619 (INTERNAL_VSYSCALL): Likewise.
620 (INTERNAL_VSYSCALL_NCS): Likewise.
621 (INTERNAL_VSYSCALL_CALL): New macro.
622 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
623 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
624 PTR_DEMANGLE on vDSO pointer.
625 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
626 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
627 macro.
628 (INTERNAL_SYSCALL): Likewise.
629 (INTERNAL_VSYSCALL_NCS): Remove macro.
630 (INTERNAL_VSYSCALL_CALL): New macro.
631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
632 Remove macro.
633 (INTERNAL_VSYSCALL): Likewise.
634 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
635 sysdep-vdso.h instead of libc-vdso.h.
636 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
637 definition.
638 (INLINE_VSYSCALL): Likewise.
639 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
640 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
641 definition.
642 (INLINE_VSYSCALL): Likewise.
643 (INTERNAL_VSYSCALL): Likewise.
644 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
645 * sysdeps/unix/sysv/linux/timespec_get.c
646 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
647 (timespec_get): Use ANSI prototype.
648 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
649 and definition for Linux.
650
829a679f
AS
6512015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
652
653 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
654 * include/libc-symbols.h: libmvec_hidden_* macro series added.
655
3e058c9d
L
6562015-05-22 H.J. Lu <hongjiu.lu@intel.com>
657
658 [BZ #18410]
659 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
660 for missing DT_PLTRELSZ.
661
333e1ba4
PE
6622015-05-22 Paul Eggert <eggert@cs.ucla.edu>
663
664 Remove obsolete aliases that broke 'locale -a'
665 [BZ #18412]
666 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
667 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
668 breaking some applications that use 'locale -a' output.
669 Change the encoding of this file from Latin-1 to ASCII to avoid
670 other potential problems with people grepping this file.
671
60dce8b9
AZ
6722015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
673
674 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
675 -fasynchronous-unwind-tables.
676 (CFLAGS-sendto.c): Likewise.
677 (CFLAGS-sendmsg.c): Likewise.
678 (CFLAGS-connect.c): Likewise.
679 (CFLAGS-recvmsg.c): Likewise.
680 (CFLAGS-recvfrom.c): Likewise.
681 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
682 (SOCKETCALL): New macro: non-cancellable socketcall.
683 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
684 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
685 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
686 * sysdeps/unix/sysv/linux/accept.c: New file.
687 * sysdeps/unix/sysv/linux/bind.c: Likewise.
688 * sysdeps/unix/sysv/linux/connect.c: Likewise.
689 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
690 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
691 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
692 * sysdeps/unix/sysv/linux/listen.c: Likewise.
693 * sysdeps/unix/sysv/linux/recv.c: Likewise.
694 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
695 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
696 * sysdeps/unix/sysv/linux/send.c: Likewise.
697 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
698 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
699 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
700 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
701 * sysdeps/unix/sysv/linux/socket.c: Likewise.
702 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
703 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
704 prototype.
705 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
706 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
707 instead of __internal_xxx function.
708 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
709 prototype.
710 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
711 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
712 instead of __internal_xxx function.
713 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
714 prototype.
715 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
716 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
717 instead of __internal_xxx function.
718 * sysdeps/unix/sysv/linux/accept.S: Remove file.
719 * sysdeps/unix/sysv/linux/bind.S: Likewise.
720 * sysdeps/unix/sysv/linux/connect.S: Likewise.
721 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
722 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
723 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
724 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
725 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
726 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
727 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
728 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
729 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
730 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
731 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
732 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
733 * sysdeps/unix/sysv/linux/listen.S: Likewise.
734 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
735 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
736 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
737 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
740 * sysdeps/unix/sysv/linux/recv.S: Likewise.
741 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
742 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
743 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
744 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
745 * sysdeps/unix/sysv/linux/send.S: Likewise.
746 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
747 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
748 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
749 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
750 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
751 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
752 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
753 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
754 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
755 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
756 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
757 socketcall is implemented in GLIBC.
758
fded7ed6
JM
7592015-05-22 Joseph Myers <joseph@codesourcery.com>
760
dc6b5aed
JM
761 * soft-fp/fmadf4.c: Include <libc-internal.h>.
762 (__fma): Ignore uninitialized warnings around packing.
763 * soft-fp/fmasf4.c: Include <libc-internal.h>.
764 (__fmaf): Ignore uninitialized warnings around packing.
765 * soft-fp/fmatf4.c: Include <libc-internal.h>.
766 (__fmal): Ignore uninitialized warnings around packing.
767
0c3717e7
JM
768 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
769 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
770 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
771 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
772
31a8780d
JM
773 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
774 switch statement into default case.
775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
776
fded7ed6
JM
777 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
778 a conditional in forcing "inexact".
779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
780 Likewise.
781
992328e5
RM
7822015-05-22 Roland McGrath <roland@hack.frob.com>
783
784 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
785 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
786 for each INTERNAL_SYSCALL use.
787
cf06a4e3
JM
7882015-05-22 Joseph Myers <joseph@codesourcery.com>
789
4e5f9259
JM
790 [BZ #438]
791 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
792 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
793 variable.
794
cf06a4e3
JM
795 [BZ #18444]
796 * string/basename.c (basename): Rename to __basename and define as
797 weak alias of __basename. Use libc_hidden_weak.
798 * include/string.h (__basename): Declare. Use libc_hidden_proto.
799 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
800 __basename instead of basename.
801 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
802 Remove variable.
803 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
804
e69dcccb
FW
8052015-05-18 Florian Weimer <fweimer@redhat.com>
806
807 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
808 (_IO_JUMPS_FILE_plus): New.
809 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
810 _IO_CAST_FIELD_ACCESS.
811 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
812 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
813 * libio/freopen.c (freopen): Likewise.
814 * libio/freopen64.c (freopen64): Likewise.
815 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
816 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
817 * libio/iofwide.c (_IO_fwide): Likewise.
818 * libio/memstream.c (open_memstream): Likewise.
819 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
820 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
821 * libio/oldiopopen.c (_IO_old_popen): Likewise.
822
9d12d765
JM
8232015-05-21 Joseph Myers <joseph@codesourcery.com>
824
9124ccf7
JM
825 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
826 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
827 NADJ.
828 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
829 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
830 NADJ.
831 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
832 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
833 NADJ.
834
89f3b6e1
JM
835 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
836 (p == 4) case.
837
9d12d765
JM
838 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
839 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
840 Remove variable.
841 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
842 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
843 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
844
0f87de79
FW
8452015-05-21 Florian Weimer <fweimer@redhat.com>
846
847 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
848 Adjust jump table label generation macros.
849
f8194fa6
FW
8502015-05-21 Florian Weimer <fweimer@redhat.com>
851
852 * stdio-common/vfprintf.c (vfprintf): Move local variables
853 args_malloced, specs, specs_malloced, and the code after
854 do_positional to the printf_positional function.
855 (printf_positional): New function.
856
f0f98189
FW
8572015-05-21 Florian Weimer <fweimer@redhat.com>
858
859 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
860 function.
861 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
862 STEP4_TABLE, process_arg): Move macro definitions
863 out of the vfprintf function. (Cosmetic change only.)
864
608f8971
CD
8652015-05-21 Carlos O'Donell <carlos@redhat.com>
866
867 * benchtests/Makefile (stdio-common-bench): Define.
868 (benchset): Add stdio-common-bench.
869 * sprintf-inputs: New file.
870 * sprintf-source.c: New file.
871
2212c142
AS
8722015-05-21 Andreas Schwab <schwab@suse.de>
873
874 [BZ #13028]
875 [BZ #17053]
876 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
877 of struct __res_state.
878 * resolv/res_send.c (__libc_res_nsend): Likewise.
879 (get_nsaddr): New function.
880 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
881 statp directly.
882
be8b8f17
JM
8832015-05-20 Joseph Myers <joseph@codesourcery.com>
884
f5857378
JM
885 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
886 -D_POSIX_C_SOURCE=199506L.
887
38d3d5b7
JM
888 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
889
be8b8f17
JM
890 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
891 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
892 Do not mention otherwise.
893 [POSIX] (_XOPEN_VERSION): Do not expect.
894 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
895 [POSIX] (_POSIX2_C_BIND): Likewise.
896 [POSIX] (_POSIX2_VERSION): Likewise.
897 [POSIX] (_XOPEN_XPG2): Likewise.
898 [POSIX] (_XOPEN_XPG3): Likewise.
899 [POSIX] (_XOPEN_XPG4): Likewise.
900 [POSIX] (_XOPEN_UNIX): Likewise.
901 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
902 [POSIX] (_POSIX_BARRIERS): Likewise.
903 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
904 [POSIX] (_POSIX_CPUTIME): Likewise.
905 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
906 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
907 [POSIX] (_POSIX_SHELL): Likewise.
908 [POSIX] (_POSIX_SPAWN): Likewise.
909 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
910 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
911 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
912 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
913 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
914 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
915 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
916 [POSIX] (_XBS5_LP64_OFF64): Likewise.
917 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
918 [POSIX] (_POSIX_TIMEOUTS): Likewise.
919 [POSIX] (_POSIX2_PBS): Likewise.
920 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
921 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
922 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
923 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
924 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
925 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
926 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
927 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
928 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
929 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
930 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
931 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
932 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
933 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
934 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
935 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
936 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
937 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
938 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
939 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
940 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
941 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
942 [POSIX] (_SC_2_C_BIND): Likewise.
943 [POSIX] (_SC_2_C_VERSION): Likewise.
944 [POSIX] (_SC_2_PBS): Likewise.
945 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
946 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
947 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
948 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
949 [POSIX] (_SC_2_PBS_TRACK): Likewise.
950 [POSIX] (_SC_ATEXIT_MAX): Likewise.
951 [POSIX] (_SC_BARRIERS): Likewise.
952 [POSIX] (_SC_BASE): Likewise.
953 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
954 [POSIX] (_SC_DEVICE_IO): Likewise.
955 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
956 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
957 [POSIX] (_SC_FD_MGMT): Likewise.
958 [POSIX] (_SC_FIFO): Likewise.
959 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
960 [POSIX] (_SC_FILE_LOCKING): Likewise.
961 [POSIX] (_SC_FILE_SYSTEM): Likewise.
962 [POSIX] (_SC_IOV_MAX): Likewise.
963 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
964 [POSIX] (_SC_NETWORKING): Likewise.
965 [POSIX] (_SC_PAGE_SIZE): Likewise.
966 [POSIX] (_SC_PASS_MAX): Likewise.
967 [POSIX] (_SC_PIPE): Likewise.
968 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
969 [POSIX] (_SC_REGEXP): Likewise.
970 [POSIX] (_SC_SHELL): Likewise.
971 [POSIX] (_SC_SIGNALS): Likewise.
972 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
973 [POSIX] (_SC_SPIN_LOCKS): Likewise.
974 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
975 [POSIX] (_SC_USER_GROUPS): Likewise.
976 [POSIX] (_SC_USER_GROUPS_R): Likewise.
977 [POSIX] (_SC_STREAMS): Likewise.
978 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
979 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
980 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
981 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
982 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
983 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
984 [POSIX] (_PC_FILESIZEBITS): Likewise.
985 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
986 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
987 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
988 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
989 [POSIX] (uid_t): Likewise.
990 [POSIX] (gid_t): Likewise.
991 [POSIX] (off_t): Likewise.
992 [POSIX] (pid_t): Likewise.
993 [POSIX] (cuserid): Allow.
994 (_SC_2_CHAR_TERM): Require constant.
995 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
996 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
997 variable.
998
5e2aa9a4
RM
9992015-05-20 Roland McGrath <roland@hack.frob.com>
1000
7cea6212
RM
1001 * sysdeps/nacl/pthread-pids.h: New file.
1002 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1003 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1004
1005 * nptl/pthread-pids.h: New file.
1006 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1007 * nptl/nptl-init.c: Include <pthread-pids.h>.
1008 (__pthread_initialize_minimal_internal):
1009 Call __pthread_initialize_pids instead of set_tid_address syscall.
1010
5e2aa9a4
RM
1011 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1012 * sysdeps/posix/usleep.c: ... here.
1013
96dffc26
AZ
10142015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1015
1016 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1017 call_pselect6 object.
1018 [$(subdir) = io]: Remove call_sync_file_range object.
1019 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1020 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1021 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1022 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1023
5be91118
WD
10242015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1025
1026 * math/s_cproj.c: Add include "math_private.h".
1027 * math/s_cprojf.c: Likewise.
1028 * math/s_cprojl.c: Likewise.
1029
526af541
JM
10302015-05-19 Joseph Myers <joseph@codesourcery.com>
1031
3ce2232e
JM
1032 [BZ #18244]
1033 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1034 high mantissa bit when testing whether P is a NaN.
1035 * math/libm-test.inc (remainder_test_data): Add more tests.
1036 (remquo_test_data): Likewise.
1037
526af541
JM
1038 [BZ #18049]
1039 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1040 below -32, return the argument, with underflow if subnormal.
1041 * math/auto-libm-test-in: Add more tests of atanh.
1042 * math/auto-libm-test-out: Regenerated.
1043
88ed594f
RM
10442015-05-19 Roland McGrath <roland@hack.frob.com>
1045
1046 [BZ #18434]
1047 * nptl/tst-sem15.c: New file.
1048 * nptl/Makefile (tests): Add it.
1049 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1050 s/<</>>/ to fix typo in EOVERFLOW check.
1051 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1052
654055e0
SP
10532015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1054
1055 * manual/strings.texi (envz_remove): Fix typo in safety
1056 annotations.
1057
eb286115
SE
10582015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1059 Steve Ellcey <sellcey@imgtec.com>
1060
1061 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1062 in order to avoid strict alias warnings.
1063 (iruserok_af): Ditto for ra.
1064
265cbed8
JL
10652015-05-19 James Lemke <jwlemke@codesourcery.com>
1066
1067 [BZ #17581]
1068 * malloc/hooks.c
1069 (magicbyte): Convert to a function and avoid returning 0x01.
1070 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1071 (mem2chunk_check): Fix unsigned comparisons to zero.
1072 Hoist defs of sz and magic.
1073
1c5df816
RH
10742015-05-19 Richard Henderson <rth@redhat.com>
1075
85bae5a1
RH
1076 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1077
1c5df816
RH
1078 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1079
920d7012
SP
10802015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1081
fff94fa2
SP
1082 [BZ #16159]
1083 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1084 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1085 (reused_arena): Find a non-corrupt arena.
1086 (heap_trim): Pass arena to unlink.
1087 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1088 malloc_printerr.
1089 (top_check): Likewise.
1090 (free_check): Likewise.
1091 (realloc_check): Likewise.
1092 * malloc/malloc.c (malloc_printerr): Add arena argument.
1093 (unlink): Likewise.
1094 (munmap_chunk): Adjust.
1095 (ARENA_CORRUPTION_BIT): New macro.
1096 (arena_is_corrupt): Likewise.
1097 (set_arena_corrupt): Likewise.
1098 (sysmalloc): Use mmap if there are no usable arenas.
1099 (_int_malloc): Likewise.
1100 (__libc_malloc): Don't fail if arena_get returns NULL.
1101 (_mid_memalign): Likewise.
1102 (__libc_calloc): Likewise.
1103 (__libc_realloc): Adjust for additional argument to
1104 malloc_printerr.
1105 (_int_free): Likewise.
1106 (malloc_consolidate): Likewise.
1107 (_int_realloc): Likewise.
1108 (_int_memalign): Don't touch corrupt arenas.
1109 * malloc/tst-malloc-backtrace.c: New test case.
1110
99db95db
SP
1111 * Makefile (summarize-tests): Fix return value on success.
1112
920d7012
SP
1113 * manual/string.texi (Envz Functions): Add envz_remove.
1114
46f894d8
RM
11152015-05-18 Roland McGrath <roland@hack.frob.com>
1116
1117 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1118 (invalid_name): New function, broken out of ...
1119 (__opendirat): ... here. Call it.
1120 (need_isdir_precheck): New function, broken out of ...
1121 (__opendirat): ... here. Call it.
1122 Use __fxstatat64, not __xstatat64.
1123 (opendir_oflags): New function, broken out of ...
1124 (__opendirat): ... here. Call it.
1125 (opendir_tail): New function, broken out of ...
1126 (__opendirat): ... here. Call it.
1127 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1128 opendir_tail, rather than punting to __opendirat.
1129 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1130
eefe64b9
SP
11312015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1132
1133 * .gitignore: Ignore generated *.pyc.
1134
330fadfc
AS
11352015-05-18 Arjun Shankar <arjun.is@lostca.se>
1136
1137 * include/stdio.h: Define __need_wint_t.
1138 * test-skeleton.c: Avoid `for' loop initial declaration.
1139 * nptl/tst-initializers1.c: Use test-skeleton.c.
1140
b40a4e1a
AZ
11412015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1142
1143 [BZ #18418]
1144 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1145
ff069f02
JM
11462015-05-15 Joseph Myers <joseph@codesourcery.com>
1147
8020a808
JM
1148 [BZ #16352]
1149 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1150 (__ieee754_atanh): Force underflow exception for results with
1151 small absolute value.
1152 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1153 (__ieee754_atanhf): Force underflow exception for results with
1154 small absolute value.
1155 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1156 (__ieee754_atanh): Force underflow exception for results with
1157 small absolute value.
1158 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1159 (__ieee754_atanhf): Force underflow exception for results with
1160 small absolute value.
1161 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1162 (__ieee754_atanhl): Force underflow exception for results with
1163 small absolute value.
1164 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1165 (__ieee754_atanhl): Force underflow exception for results with
1166 small absolute value.
1167 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1168 (__ieee754_atanhl): Force underflow exception for results with
1169 small absolute value.
1170 * math/auto-libm-test-in: Do not allow missing underflow
1171 exceptions from atanh.
1172 * math/auto-libm-test-out: Regenerated.
1173
5a608ccc
JM
1174 [BZ #18221]
1175 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1176 2**-28 as threshold for returning x or +/- 1/x.
1177 * math/auto-libm-test-in: Add more tests of tan.
1178 * math/auto-libm-test-out: Regenerated.
1179
ff069f02
JM
1180 [BZ #18220]
1181 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1182 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1183 * math/auto-libm-test-in: Add another test of lgamma.
1184 * math/auto-libm-test-out: Regenerated.
1185
0e9be4db
WD
11862015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1187
1188 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1189 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1190 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1191 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1192 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1193 (ADD2A): Use fabs. (SUB2A): Use fabs.
1194 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1195 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1197 (log1): Use fabs. (my_log2): Use fabs.
1198 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1199 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1200 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1201 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1203 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1204 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1205 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1206 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1207 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1208 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1209
fbc68f03
JM
12102015-05-15 Joseph Myers <joseph@codesourcery.com>
1211
1212 [BZ #18217]
1213 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1214 as threshold for returning 1 - x.
1215 * math/auto-libm-test-in: Add more tests of erfc.
1216 * math/auto-libm-test-out: Regenerated.
1217
0b7a5f92
JM
12182015-05-14 Joseph Myers <joseph@codesourcery.com>
1219
9a71f1fc
JM
1220 [BZ #18196]
1221 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1222 threshold for large arguments.
1223 * math/auto-libm-test-in: Add another test of atan.
1224 * math/auto-libm-test-out: Regenerated.
1225
0b7a5f92
JM
1226 [BZ #16339]
1227 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1228 (__log1p): Force underflow exception for results with small
1229 absolute value.
1230 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1231 (__log1pf): Force underflow exception for results with small
1232 absolute value.
1233 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1234 (__log1p): Force underflow exception for results with small
1235 absolute value.
1236 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1237 (__log1pf): Force underflow exception for results with small
1238 absolute value.
1239 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1240 (__log1pl): Force underflow exception for results with small
1241 absolute value.
1242 * math/auto-libm-test-in: Do not allow missing underflow
1243 exceptions from log1p.
1244 * math/auto-libm-test-out: Regenerated.
1245
95b07fbc
AZ
12462015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1247 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1248
b2fb2524 1249 [BZ #16704]
95b07fbc
AZ
1250 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1251
ee971601
AS
12522015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1253
5695d46f
AS
1254 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1255 (libmvec): New variable.
1256 * configure.ac: Added option for mathvec build.
1257 * configure: Regenerated.
1258 * mathvec/Depend: New file.
1259 * mathvec/Makefile: New file.
1260 * shlib-versions: Added libmvec.
1261 * math/Makefile: Added rule for libm.so installation.
1262
202d48da
AS
1263 * bits/math-vector.h: New file.
1264 * bits/libm-simd-decl-stubs.h: New header.
1265 * math/Makefile (headers): Added new header
1266 libm-simd-decl-stubs.h.
1267 * math/math.h (__MATHCALL_VEC): New macro.
1268
58c50f06
AS
1269 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1270 for conditions in testing functions.
1271 * math/Makefile: Added call of libm-have-vector-test.sh.
1272 * math/libm-test.inc (HAVE_VECTOR): New macros.
1273
a6cdcd75
AS
1274 * math/libm-test.inc: START refactored.
1275 * math/test-double.c (TEST_MATHVEC): Add define.
1276 * math/test-float.c: Likewise.
1277 * math/test-idouble.c: Likewise.
1278 * math/test-ifloat.c: Likewise.
1279 * math/test-ildoubl.c: Likewise.
1280 * math/test-ldouble.c: Likewise.
1281 * sysdeps/generic/math-tests-arch.h
1282 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1283 architecture check.
1284
ee971601
AS
1285 * math/test-double.c (FUNC_TEST): New macro.
1286 * math/test-float.c: Likewise.
1287 * math/test-idouble.c: Likewise.
1288 * math/test-ifloat.c: Likewise.
1289 * math/test-ildoubl.c: Likewise.
1290 * math/test-ldouble.c: Likewise.
1291 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1292
b88a18e1
RM
12932015-05-13 Roland McGrath <roland@hack.frob.com>
1294
9e4ec74f
RM
1295 * sysdeps/nacl/fdopendir.c: New file.
1296
95341673 1297 * dirent/scandir-tail.c: New file.
d2ee815a
RM
1298 * dirent/scandir64-tail.c: New file.
1299 * dirent/Makefile (routines): Add them.
95341673 1300 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
d2ee815a
RM
1301 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1302 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1303 [!SCANDIR] (SCANDIR_TAIL): New macro.
1304 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1305 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1306 (SCANDIRAT): Macro removed.
1307 (SCANDIR_TAIL): New macro.
1308 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1309 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1310 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1311 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1312 (READDIR): Macro removed.
1313 (SCANDIR_TAIL): New macro.
1314 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1315 (SCANDIR_TAIL): New macro.
1316
83c10893
RM
1317 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1318 * dirent/scandir-cancel.c: ... to this new file.
1319 * dirent/Makefile (routines): Add it.
1320 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1321 * sysdeps/unix/sysv/linux/i386/scandir64.c
1322 (SKIP_SCANDIR_CANCEL): Macro removed.
1323 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1324
b88a18e1
RM
1325 * dirent/tst-scandir.c: New file.
1326 * dirent/tst-scandir64.c: New file.
1327 * dirent/Makefile (tests): Add them.
1328
d9efd775
L
13292015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1330
1331 [BZ #18409]
1332 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1333
265a9b73
SN
13342015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1335
1336 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1337 list.
1338
60ccaf75
LH
13392015-05-13 Leonhard Holz <leonhard.holz@web.de>
1340
1341 * benchtests/bench-strcoll.c: New benchmark.
1342 * benchtests/Makefile: Generate locales and run benchmark.
1343 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1344 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1345 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1346 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1347 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1348 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1349 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1350 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1351 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1352 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1353 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1354 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1355 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1356 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1357 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1358 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1359 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1360 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1361 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1362 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1363 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1364 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1365 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1366 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1367
0f4840be
OB
13682015-05-12 Ondřej Bílka <neleai@seznam.cz>
1369
1370 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1371 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1372
7327b333
RM
13732015-05-12 Roland McGrath <roland@hack.frob.com>
1374
1375 * posix/uname-values.h: New file.
1376 * posix/uname.c: Include that instead of <config-name.h>.
1377 * sysdeps/nacl/uname-values.h: New file.
1378 * sysdeps/arm/nacl/uname-values.h: New file.
1379
8e65ea4d
JM
13802015-05-12 Joseph Myers <joseph@codesourcery.com>
1381
1382 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1383 splitting into fields.
1384
a964c6e4 13852015-05-12 Leonhard Holz <leonhard.holz@web.de>
f13c2a8d
LH
1386
1387 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1388 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1389 * locale/localeinfo.h: Add enum collation_encoding_type.
1390 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1391 * programs/ld-collate.c (collate_output): Add encoding type info.
1392 * string/strcoll_l.c (STRDIFF): New function.
1393 * (STRCOLL): Use STRDIFF to skip over equal prefix.
1394 * wcsmbs/wcscoll_l.c: Define STRDIFF.
1395
34cb304e
JM
13962015-05-11 Joseph Myers <joseph@codesourcery.com>
1397
1398 [BZ #18397]
1399 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1400 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1401 <fpu_control.h> instead of <math/fpu_control.c>.
1402 * sysdeps/mips/mips32/fpu/Makefile: New file.
1403
b13b96ca
AS
14042015-05-11 Andreas Schwab <schwab@suse.de>
1405
1406 [BZ #18007]
1407 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1408 nss_endgrent.
1409 (_nss_compat_endgrent): Call nss_endgrent.
1410 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1411 nss_endpwent.
1412 (_nss_compat_endpwent): Call nss_endpwent.
1413 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1414 needent, call nss_setspent only if non-zero.
1415 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1416 (internal_endspent): Don't call nss_endspent.
1417 (_nss_compat_endspent): Call nss_endspent.
1418 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1419 Remove. All uses removed.
1420 (internal_setent): Remove parameter stayopen, add parameter
1421 stream. Use it instead of global variable.
1422 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1423 (internal_endent, internal_getent): Add parameter stream. Use it
1424 instead of global variable.
1425 (CONCAT(_nss_files_end,ENTNAME))
1426 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1427 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1428 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1429 uses removed.
1430 (internal_setent, internal_endent): Add parameter stream. Use it
1431 instead of global variable.
1432 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1433 stream.
1434 (get_next_alias): Add parameter stream.
1435 (_nss_files_getaliasent_r): Pass global stream.
1436 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1437 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1438 (_nss_files_gethostbyname4_r): Pass local stream to
1439 internal_setent, internal_getent and internal_endent. Remove
1440 locking.
1441
e1b6cb04
SL
14422015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1443
1444 * tst-strfmon1.c (tests): Update expected currency symbol.
1445
c4c977c6
RM
14462015-05-08 Roland McGrath <roland@hack.frob.com>
1447
1448 * sysdeps/nacl/gethostname.c: New file.
1449
14f36098
JM
14502015-05-08 Joseph Myers <joseph@codesourcery.com>
1451
1452 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1453 and sinh.
1454 * math/auto-libm-test-out: Regenerated.
1455 * sysdeps/i386/fpu/libm-test-ulps: Update.
1456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1457
c92d40c0
CD
14582015-05-08 Carlos O'Donell <carlos@redhat.com>
1459
1460 [BZ #18125]
1461 * stdlib/tst-setcontext3.c: New file.
1462 * stdlib/tst-setcontext3.sh: New file.
1463 * stdlib/Makefile (tests): Add tst-setcontext3.
1464 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1465 to verify test program created output file.
1466 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1467 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1468 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1469 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1470
48276b67
RM
14712015-05-06 Roland McGrath <roland@hack.frob.com>
1472
b5fe8ec8
RM
1473 [BZ #18383]
1474 * elf/tst-tlsalign.c: New file.
1475 * elf/tst-tlsalign-static.c: New file.
1476 * elf/tst-tlsalign-lib.c: New file.
1477 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1478 (tests-static): Add tst-tlsalign-static.
1479 (modules-names): Add tst-tlsalign-lib.
1480 (test-xfail-tst-tlsalign): New variable.
1481 (test-xfail-tst-tlsalign-static): New variable.
1482
48276b67
RM
1483 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1484 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1485
471dffa1
JM
14862015-05-06 Joseph Myers <joseph@codesourcery.com>
1487
1488 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1489 csqrt, erfc, sin and sincos.
1490 * math/auto-libm-test-out: Regenerated.
1491 * sysdeps/i386/fpu/libm-test-ulps: Update.
1492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1493
eda361c8
WD
14942015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1495
1496 * sysdeps/aarch64/libm-test-ulps: Update.
1497
31450d9a
JM
14982015-05-05 Joseph Myers <joseph@codesourcery.com>
1499
1500 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1501 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1502 * math/auto-libm-test-out: Regenerated.
1503 * sysdeps/i386/fpu/libm-test-ulps: Update.
1504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1505
a6ab6ccd
DM
15062015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1507
1508 [BZ #18265]
1509 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1510 (wcsncpy): Likewise.
1511
d0ccd0d9
FW
15122015-05-05 Florian Weimer <fweimer@redhat.com>
1513
1514 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1515 Assume __ASSUME_FALLOCATE is always true.
1516 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1517 (__posix_fallocate64_l64): Likweise.
1518 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1519 (posix_fallocate): Likewise.
1520 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1521 (__posix_fallocate64_l64): Likewise.
1522 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1523 [!__ASSUME_FALLOCATE]: Add comment.
1524
4bd40bcf
FW
15252015-05-05 Florian Weimer <fweimer@redhat.com>
1526
1527 * sysdeps/unix/sysv/linux/i386/Makefile
1528 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1529 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1530 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1531 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1532 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1533 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1534 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1535
305392ea
JM
15362015-05-02 Joseph Myers <joseph@codesourcery.com>
1537
1538 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1539 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1540 tgamma.
1541 * math/auto-libm-test-out: Regenerated.
1542 * sysdeps/i386/fpu/libm-test-ulps: Update.
1543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1544
a0d31f36
JM
15452015-05-01 Joseph Myers <joseph@codesourcery.com>
1546
51e15247
JM
1547 * math/auto-libm-test-in: Add more tests of tgamma.
1548 * math/auto-libm-test-out: Regenerated.
1549 * sysdeps/i386/fpu/libm-test-ulps: Update.
1550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1551
5ffb9a53
JM
1552 * math/auto-libm-test-in: Add more tests of tanh.
1553 * math/auto-libm-test-out: Regenerated.
1554 * sysdeps/i386/fpu/libm-test-ulps: Update.
1555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1556
0957e15d
JM
1557 * math/auto-libm-test-in: Add more tests of tan.
1558 * math/auto-libm-test-out: Regenerated.
1559 * sysdeps/i386/fpu/libm-test-ulps: Update.
1560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1561
827bb585
JM
1562 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1563 * math/auto-libm-test-out: Regenerated.
1564 * sysdeps/i386/fpu/libm-test-ulps: Update.
1565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1566
86793ae7
JM
1567 * math/auto-libm-test-in: Add another test of pow.
1568 * math/auto-libm-test-out: Regenerated.
1569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1570
038e4be9
JM
1571 * math/auto-libm-test-in: Add more tests of lgamma.
1572 * math/auto-libm-test-out: Regenerated.
1573 * sysdeps/i386/fpu/libm-test-ulps: Update.
1574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1575
a0d31f36
JM
1576 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1577 log1p.
1578 * math/auto-libm-test-out: Regenerated.
1579 * sysdeps/i386/fpu/libm-test-ulps: Update.
1580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1581
b4336ba4
MW
15822015-05-01 Mark Wielaard <mjw@redhat.com>
1583
1584 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1585 Elf64_Chdr structs and ELFCOMPRESS constants.
1586
c5a3a509
JM
15872015-05-01 Joseph Myers <joseph@codesourcery.com>
1588
e1483b36
JM
1589 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1590 expm1.
1591 * math/auto-libm-test-out: Regenerated.
1592 * sysdeps/i386/fpu/libm-test-ulps: Update.
1593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1594
c5a3a509
JM
1595 * math/auto-libm-test-in: Add more tests of erf and erfc.
1596 * math/auto-libm-test-out: Regenerated.
1597 * sysdeps/i386/fpu/libm-test-ulps: Update.
1598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1599
44cb254f
SN
16002015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1601
1602 * config.h.in (HAVE_AARCH64_BE): Add.
1603
0833cecd
JM
16042015-04-30 Joseph Myers <joseph@codesourcery.com>
1605
9862ab1f
JM
1606 * math/auto-libm-test-in: Add more tests of csqrt.
1607 * math/auto-libm-test-out: Regenerated.
1608 * sysdeps/i386/fpu/libm-test-ulps: Update.
1609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1610
094fca83
JM
1611 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1612 * math/auto-libm-test-out: Regenerated.
1613 * sysdeps/i386/fpu/libm-test-ulps: Update.
1614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1615
0833cecd
JM
1616 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1617
314647f7
RM
16182015-04-29 Roland McGrath <roland@hack.frob.com>
1619
45c2c564
RM
1620 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1621 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1622
3600cf1e
RM
1623 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1624 (euidaccess, eaccess): Define as weak aliases.
1625
314647f7
RM
1626 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1627 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1628 but __suseconds_t is often 'long int' so some sources assume that
1629 type is being used (e.g. they use %ld to print tv_usec).
1630
03d2730b
FW
16312015-04-29 Florian Weimer <fweimer@redhat.com>
1632
1633 [BZ #18007]
1634 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1635 (CVE-2014-8121)
1636 * nss/tst-nss-getpwent.c: New file.
1637 * nss/Makefile (tests): Add new test.
1638
7d0b2575
JM
16392015-04-28 Joseph Myers <joseph@codesourcery.com>
1640
1641 [BZ #18346]
1642 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1643 exponents less than 48 as cases where high part of mantissa needs
1644 examining to determine whether argument is integral.
1645 * math/libm-test.inc (round_test_data): Add more tests.
1646
fb4041ae
MW
16472015-04-28 Mark Wielaard <mjw@redhat.com>
1648
1649 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1650
3f2e21e9
DM
16512015-04-27 David S. Miller <davem@davemloft.net>
1652
1653 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1654 __tls_get_addr.
1655 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1656
5cffc05e
L
16572015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1658
1659 [BZ#18333]
1660 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1661
cc8dcf96
FW
16622015-04-27 Florian Weimer <fweimer@redhat.com>
1663
1664 [BZ#18333]
1665 * time/tzset.c (parse_tzname): Return error on memory allocation
1666 failure.
1667 * test-skeleton.c (struct temp_name_list): Change type of name
1668 member to non-const.
1669 (add_temp_file): Create a copy of the file name.
1670 (delete_temp_files): Deallocate memory.
1671 (create_temp_file): Add comment.
1672
2dd6ee79
FW
16732015-04-24 Florian Weimer <fweimer@redhat.com>
1674
1675 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1676 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1677
c25fec6f
RM
16782015-04-24 Roland McGrath <roland@hack.frob.com>
1679
1680 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1681 * sysdeps/arm/configure: Regenerated.
1682
42261ad7
FW
16832015-04-24 Florian Weimer <fweimer@redhat.com>
1684
1685 [BZ #17715]
1686 * time/tzfile.c (__tzfile_read): Check for large values of
1687 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1688 * time/tzset.c (__tzstring_len): New function, based on the old
1689 __tzstring function.
1690 (__tzstring): Call __tzstring_len.
1691 (parse_tzname): New helper function extracted from
1692 __tzset_parse_tz. Call __tzstring_len, without making a copy of
1693 the input string.
1694 (parse_offset): New helper function extracted from
1695 __tzset_parse_tz. Replace switch with fallthrough with
1696 initialization before sscanf.
1697 (parse_rule): Likewise.
1698 (__tzset_parse_tz): Rewrite using the new helper functions. Use
1699 new-style function definition.
1700 * timezone/Makefile (tests): Add tst-tzset.
1701 (tst-tzset.out): Dependencies on time zone files.
1702 (tst-tzset-ENV): Set TZDIR.
1703 (testdata/XT%): Copy crafted time zone files.
1704 * timezone/README: Mention crafted time zone files.
1705 * timezone/testdata/XT1, timezone/testdata/XT2,
1706 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1707 files.
1708 * timezone/tst-tzset.c: New test.
1709
ed159672
FW
17102015-04-24 Florian Weimer <fweimer@redhat.com>
1711
1712 * Makeconfig (+gccwarn): Remove -Winline.
1713
8666ab5c
SL
17142015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1715
1716 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1717
f7fba805
SL
17182015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1719
1720 * NEWS: Mention sysconf() cache information support for s390.
1721 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1722
92f28979
WD
17232015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
1724
1725 * math/k_casinh.c (__kernel_casinh): Use __copysign.
1726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1727 (__nearbyint): Likewise.
1728 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1729 (copysignl): Likewise.
1730
2959eda9
AS
17312015-04-21 Arjun Shankar <arjun.is@lostca.se>
1732
1733 [BZ #18287]
1734 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1735 based on padding. (CVE-2015-1781)
1736
7bf8fb10
AZ
17372015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1738
1739 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1740 libc-vdso.h.
1741 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1742 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1743 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1744 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1745 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1746 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1747 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1748 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1749 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1750 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1751 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1752 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1753 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1754 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1755 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1756 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1757 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1758 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1759 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1760 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1761 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1762 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1763 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1764
03c1e456
PE
17652015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1766
1767 * stdlib/setenv.c (__add_to_environ):
1768 Dump core quickly if setenv (..., NULL, ...) is called.
1769 This time, do it the right way, and pacify GCC with a pragma.
1770
328c44c3
RM
17712015-04-17 Roland McGrath <roland@hack.frob.com>
1772
2bd2cad9
RM
1773 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1774 IMAP->l_prev cannot be null, and #if out the code for the contrary
1775 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1776 believe that NS (&_dl_ns[NSID]) could point outside the array.
1777
328c44c3
RM
1778 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1779 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1780 before using NSID as an index.
1781
aa4980fc
DM
17822015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
1783
1784 [BZ #17825]
1785 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1786 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1787 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1788
d1e44df1
RM
17892015-04-17 Roland McGrath <roland@hack.frob.com>
1790
1791 Add preliminary port to Google Native Client on ARM.
1792 * abi-tags (.*-.*-nacl.*): New entry.
1793 * sysdeps/arm/nacl: New directory.
1794 * sysdeps/nacl: New directory.
1795
f7092599
DM
17962015-04-16 David S. Miller <davem@davemloft.net>
1797
1798 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1799 lowlevellock-futex.h
1800
da6989f9
CM
18012015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
1802
1803 * sysdeps/tile/configure.ac: New file.
1804 * sysdeps/tile/configure: Regenerated.
1805
fb78612a
AZ
18062015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1807
1808 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
1809 conditionals for weak_alias and libc_hidden_weak.
1810 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1811 libc_hidden_weak and weak_alias.
1812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1813 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1814 and weak_alias for static one.
1815
a8b6a3a6
DM
18162015-04-15 David S. Miller <davem@davemloft.net>
1817
1818 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1819
920a0395
SL
18202015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1821
1822 [BZ #18206]
1823 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1824 Use signed comparision instead of substraction to avoid
1825 overflow bug.
1826 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1827 Take the sign of ret.
1828 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1829 Do not expect precise return values. Only the sign matters.
1830 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1831 * wcsmbs/test-wcsncmp.c: New File.
1832 * string/test-strncmp.c: Add wcsncmp support.
1833
de8aadd5
SL
18342015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1835
1836 [BZ #6792]
1837 * math/w_log1p.c: New file.
1838 * math/w_log1pf.c: Likewise.
1839 * math/w_log1pl.c: Likewise.
1840 * math/Makefile (libm-calls): Add w_log1p.
1841 * math/s_log1pl.c (log1pl): Remove weak_alias.
1842 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1843 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1844 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1845 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1846 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1847 [NO_LONG_DOUBLE] (log1pl): Likewise.
1848 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1849 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1850 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1851 (log1p): Remove long_double_symbol.
1852 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1853 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1854 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1855 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1856 remove weak_alias for corresponding log1p function.
1857 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1858 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1859 * sysdeps/ia64/fpu/w_log1p.c: New file.
1860 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1861 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1862 * math/libm-test.inc (log1p_test_data): Add errno expectations.
1863
5556d30c
JM
18642015-04-10 Joseph Myers <joseph@codesourcery.com>
1865
1866 [BZ #18247]
1867 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
1868 decimal exponent by 1.
1869 * stdlib/tst-strtod-round-data: Add more tests.
1870 * stdlib/tst-strtod-round.c (tests): Regenerated.
1871
b3c66c53
JM
18722015-04-09 Joseph Myers <joseph@codesourcery.com>
1873
1874 * math/auto-libm-test-in: Add more tests of clog and clog10.
1875 * math/auto-libm-test-out: Regenerated.
1876 * sysdeps/i386/fpu/libm-test-ulps: Update.
1877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1878
b0b88abc
RM
18792015-04-09 Roland McGrath <roland@hack.frob.com>
1880
8a257e2c
RM
1881 * Makeconfig (module-cppflags): Exclude all .v.i files.
1882 (skip-module-cppflags): Variable removed.
1883
05439291
RM
1884 * configure.ac (libc_config_ok): Initialize before reading
1885 preconfigure scripts, not after.
1886 * configure: Regenerated.
1887
b0b88abc
RM
1888 * test-skeleton.c (TIMEOUT): Move #define to top level.
1889 (main): Grok environment variable TEST_DIRECT. If set, print
1890 test expectation details into that file and then behave as if
1891 given --direct.
1892
2902af16
FW
18932015-04-09 Florian Weimer <fweimer@redhat.com>
1894
1895 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1896 warning on 32-bit.
1897
23ebf743
DM
18982015-04-08 David S. Miller <davem@davemloft.net>
1899
1900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1901
024bcc51
JM
19022015-04-08 Joseph Myers <joseph@codesourcery.com>
1903
787d22bc
JM
1904 * math/auto-libm-test-in: Add more tests of atanh.
1905 * math/auto-libm-test-out: Regenerated.
1906 * sysdeps/i386/fpu/libm-test-ulps: Update.
1907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1908
024bcc51
JM
1909 * math/auto-libm-test-in: Add more tests of atan.
1910 * math/auto-libm-test-out: Regenerated.
1911 * sysdeps/i386/fpu/libm-test-ulps: Update.
1912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1913
7b8399f4
FW
19142015-04-08 Florian Weimer <fweimer@redhat.com>
1915
1916 * elf/pldd.c (main): Rewrite to use struct
1917 scratch_buffer instead of extend_alloca.
1918 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
1919 * grp/initgroups.c: Include <scratch_buffer.h> instead of
1920 <alloca.h>.
1921 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1922 scratch_buffer instead of extend_alloca.
1923 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1924 grp/compat-initgroups.c.
794a74af
FW
1925 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1926 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 1927 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 1928 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 1929
ae63c7eb
JM
19302015-04-08 Joseph Myers <joseph@codesourcery.com>
1931
da0cf658
JM
1932 * math/auto-libm-test-in: Add more tests of cbrt.
1933 * math/auto-libm-test-out: Regenerated.
1934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1935
80352c01
JM
1936 * math/auto-libm-test-in: Add more tests of cabs.
1937 * math/auto-libm-test-out: Regenerated.
1938 * sysdeps/i386/fpu/libm-test-ulps: Update.
1939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1940
8431838d
JM
1941 [BZ #18210]
1942 [BZ #18211]
1943 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1944 (__ieee754_atan2): Set FE_TONEAREST mode for internal
1945 computations.
1946 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1947 clog10.
1948 * math/auto-libm-test-out: Regenerated.
1949 * sysdeps/i386/fpu/libm-test-ulps: Update.
1950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1951
ae63c7eb
JM
1952 [BZ #18197]
1953 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1954 (atan): Set FE_TONEAREST mode for internal computations.
1955 * math/auto-libm-test-in: Add more tests of atan.
1956 * math/auto-libm-test-out: Regenerated.
1957
d5856d06
JC
19582015-04-07 James Cowgill <james410@cowgill.org.uk>
1959
1960 [BZ #17930]
1961 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1962
72301304
FW
19632015-04-07 Florian Weimer <fweimer@redhat.com>
1964
1965 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1966
cfcfd461
FW
19672015-04-07 Florian Weimer <fweimer@redhat.com>
1968
1969 * include/scratch_buffer.h: New file.
1970 * malloc/scratch_buffer_grow.c: Likewise.
1971 * malloc/scratch_buffer_grow_preserve.c: Likewise.
1972 * malloc/scratch_buffer_set_array_size.c: Likewise.
1973 * malloc/tst-scratch_buffer.c: Likewise.
1974 * malloc/Makefile (routines): Add scratch_buffer_grow.
1975 (tests): Add test case.
1976 * malloc/Versions (GLIBC_PRIVATE): Export
1977 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1978 __libc_scratch_buffer_set_array_size.
1979
cc47c824
RH
19802015-04-06 Richard Henderson <rth@redhat.com>
1981
1982 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 1983 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 1984
9e8c0381
RH
1985 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1986 unsigned int before printing.
1987
9781a370
OB
19882015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1989
1990 [BZ #17596]
1991 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1992 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1993
37d60d97
FW
19942015-04-02 Florian Weimer <fweimer@redhat.com>
1995
1996 * include/libc-internal.h (libc_max_align_t): Define.
1997
b763f6ae
AS
19982015-04-02 Andreas Schwab <schwab@suse.de>
1999
2000 [BZ #16850]
2001 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2002
c26efef9
MG
20032015-04-02 Mel Gorman <mgorman@suse.de>
2004
2005 [BZ #17195]
2006 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2007 as well as the main arena.
2008
a3d9ab50
L
20092015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 [BZ #18185]
2012 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2013 sharing L2 cache to 2 for Silvermont/Knights Landing.
2014
83569fb8
L
20152015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2016
2017 [BZ #17711]
2018 * config.make.in (have-protected-data): New.
2019 * configure.ac: Check linker support for protected data symbol.
2020 * configure: Regenerated.
2021 * elf/Makefile (modules-names): Add tst-protected1moda and
2022 tst-protected1modb if $(have-protected-data) is yes.
2023 (tests): Add tst-protected1a and tst-protected1b if
2024 $(have-protected-data) is yes.
2025 ($(objpfx)tst-protected1a): New.
2026 ($(objpfx)tst-protected1b): Likewise.
2027 (tst-protected1modb.so-no-z-defs): Likewise.
2028 * elf/tst-protected1a.c: New file.
2029 * elf/tst-protected1b.c: Likewise.
2030 * elf/tst-protected1mod.h: Likewise.
2031 * elf/tst-protected1moda.c: Likewise.
2032 * elf/tst-protected1modb.c: Likewise.
2033
62da1e3b
L
20342015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2035
2036 [BZ #17711]
2037 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2038 indicates it is called from do_lookup_x on relocation against
2039 protected data, skip the data definion in the executable from
2040 copy reloc.
2041 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2042 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2043 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2044 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2045 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2046 otherwise to 0.
2047 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2048 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2049 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2050 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2051 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2052 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2053
675ddb71
MG
20542015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2055
2056 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2057 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2058
4d611e12
MG
20592015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2060
2061 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2062 THREAD_SETMEM_NC.
2063 * sysdeps/x86_64/nptl/tls.h: Ditto.
2064
7285eb53
RM
20652015-03-27 Roland McGrath <roland@hack.frob.com>
2066
2067 * dlfcn/tststatic.c (main): Converted to ...
2068 (do_test): ... this.
2069 (TEST_FUNCTION): New macro.
2070 Include test-skeleton.c.
2071
19a6a3ac
AM
20722015-03-26 Alan Modra <amodra@gmail.com>
2073
2074 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2075 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2076 zero for undefined weak.
2077 (elf_machine_plt_conflict): Similarly.
2078
a9fe4c5a
JM
20792015-03-25 Joseph Myers <joseph@codesourcery.com>
2080
efd5b641
JM
2081 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2082 atanh.
2083 * math/auto-libm-test-out: Regenerated.
2084 * sysdeps/i386/fpu/libm-test-ulps: Update.
2085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2086
e9b10151
JM
2087 * math/auto-libm-test-in: Add another test of asin.
2088 * math/auto-libm-test-out: Regenerated.
2089 * sysdeps/i386/fpu/libm-test-ulps: Update.
2090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2091
9fa55373
JM
2092 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2093 Remove macro.
2094 (LLL_EBX_REG): Likewise.
2095 (LLL_ENTER_KERNEL): Likewise.
2096
38755f14
JM
2097 * math/auto-libm-test-in: Add more tests of asin.
2098 * math/auto-libm-test-out: Regenerated.
2099 * sysdeps/i386/fpu/libm-test-ulps: Update.
2100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2101
a9fe4c5a
JM
2102 [BZ #18138]
2103 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2104 libc_do_syscall_args): New structure.
2105 (INTERNAL_SYSCALL_MAIN_0): New macro.
2106 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2107 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2108 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2109 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2110 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2111 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2112 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2113 Replace conditional definitions by conditional definitions of ....
2114 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2115 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2116 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2117 (libpthread-sysdep_routines): Add libc-do-syscall.
2118 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2119 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2120 to __NR_futex not 240.
2121
afcd9480
AM
21222015-03-25 Alan Modra <amodra@gmail.com>
2123
2124 * NEWS: Advertise TLS optimization.
2125 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2126 (DT_PPC_NUM): Increment.
2127 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2128 (CHECK_STATIC_TLS): Use here.
2129 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2130 TLS descriptors.
2131 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2132 * sysdeps/powerpc/dl-tls.c: New file.
2133 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2134 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2135 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2136 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2140
da9f3334
AM
21412015-03-25 Alan Modra <amodra@gmail.com>
2142
2143 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2144 for overlapping .opd entries" to "support...".
2145 * sysdeps/powerpc/powerpc64/configure: Regenerate
2146
bc899ea0
JM
21472015-03-25 Joseph Myers <joseph@codesourcery.com>
2148
8d643971
JM
2149 * math/auto-libm-test-in: Add more tests of acos.
2150 * math/auto-libm-test-out: Regenerated.
2151 * sysdeps/i386/fpu/libm-test-ulps: Update.
2152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2153
bc899ea0
JM
2154 * math/auto-libm-test-in: Add more tests of expm1.
2155 * math/auto-libm-test-out: Regenerated.
2156 * sysdeps/i386/fpu/libm-test-ulps: Update.
2157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2158
7c84a504
JM
21592015-03-24 Joseph Myers <joseph@codesourcery.com>
2160
239ed6f3
JM
2161 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2162 * math/auto-libm-test-out: Regenerated.
2163 * sysdeps/i386/fpu/libm-test-ulps: Update.
2164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2165
a737e826
JM
2166 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2168
7c84a504
JM
2169 * math/auto-libm-test-in: Add more tests of log2.
2170 * math/auto-libm-test-out: Regenerated.
2171 * sysdeps/i386/fpu/libm-test-ulps: Update.
2172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2173
7e9c7b9b
RM
21742015-03-23 Roland McGrath <roland@hack.frob.com>
2175
2176 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2177 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2178 _IO_IS_APPENDING bit in READ_WRITE instead.
2179
98734cc5
FW
21802015-03-23 Florian Weimer <fweimer@redhat.com>
2181
2182 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2183 (__determine_cpumask_size): Replace extend_alloca with a
2184 variable-length array. Do not treat res == 0 as an error.
2185
2b028564
FW
21862015-03-23 Florian Weimer <fweimer@redhat.com>
2187
2188 [BZ #18100]
2189 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2190 and integer overflow.
2191 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2192 (main): Add integer overflow tests.
2193 * manual/pattern.texi (Calling Wordexp): Document additional use
2194 for WRDE_SYNTAX.
2195
59261ad3
AM
21962015-03-23 Alan Modra <amodra@gmail.com>
2197
2198 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2199 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2200 and false branch of conditional.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2202 Likewise.
2203
d583531a
ST
22042015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2205
2206 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2207 libc-modules.h
868df0f9
ST
2208 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2209 unused declaration of _hurd_intr_rpc_msg_in_trap.
2210 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2211 defined instead of whether it is non-zero.
2212 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2213 input constraint instead of both input and output constraint. Use ecx
2214 clobber instead of %ecx.
2215 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2216 mutex_unlock): Use a statement expression instead of an expression list.
2217 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2218 type to vm_size_t instead of vm_address_t.
2219 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2220 defined instead of whether it is non-zero.
2221 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2222 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2223 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2224 comparisons with mapaddr.
2225 * nscd/nscd-client.h: Include <time.h>.
2226 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2227 9th parameter to __vm_region instead of int.
661a7dba 2228 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
2229 * scripts/check-local-headers.sh (exclude): Add device/,
2230 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2231 cthreads.h.
d583531a 2232
298e5d56
RM
22332015-03-19 Roland McGrath <roland@hack.frob.com>
2234
2235 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2236 to account for alignment padding.
2237 * sysdeps/arm/memmove.S: Likewise.
2238
becb26b8
CM
22392015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2240
2241 * sysdeps/unix/sysv/linux/generic/README: New file.
2242
c2f5813a
JM
22432015-03-18 Joseph Myers <joseph@codesourcery.com>
2244
2245 [BZ #18138]
2246 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2247 (futex_abstimed_wait)
2248 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2249 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2250 of lll_futex_timed_wait.
2251
ed6b0fe7
BH
22522015-03-18 Brad Hubbard <bhubbard@redhat.com>
2253
2254 [BZ #17542]
2255 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2256
f8aeae34
AO
22572015-03-17 Alexandre Oliva <aoliva@redhat.com>
2258
2259 [BZ #17090]
2260 [BZ #17620]
2261 [BZ #17621]
2262 [BZ #17628]
2263 * NEWS: Update.
2264 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2265 entries with Static TLS too. Skip entries past the end of the
2266 allocated DTV, from Alan Modra.
2267 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2268 Static TLS DTV entry set up from...
2269 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2270 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2271 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2272 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2273 for Static TLS.
2274 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2275 that the slot we find is associated with the given map before
2276 using its generation count.
2277 * nptl_db/db_info.c: Include ldsodefs.h.
2278 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2279 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2280 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2281 (link_map::l_tls_offset): New struct field.
2282 (dtv_t::counter): Likewise.
2283 (rtld_global): New struct.
2284 (_rtld_global): New rtld variable.
2285 (dl_tls_dtv_slotinfo_list): New rtld global field.
2286 (dtv_slotinfo_list): New struct.
2287 (dtv_slotinfo): Likewise.
2288 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2289 (td_lookup): Rename to...
2290 (td_mod_lookup): ... this. Use new mod parameter instead of
2291 LIBPTHREAD_SO.
2292 * nptl_db/td_thr_tlsbase.c: Include link.h.
2293 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2294 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2295 addresses even if the DTV is out of date or missing them.
2296 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2297 index zero-length arrays.
2298 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2299 (td_lookup): Make it a macro implemented in terms of...
2300 (td_mod_lookup): ... this declaration.
2301 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2302 (DB_MAIN_VARIABLE): Likewise.
2303
b97eb2bd
L
23042015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2305
2306 [BZ #18134]
2307 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2308
cb219290
PE
23092015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2310
2311 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2312
a3905fd9
AS
23132015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2314
2315 [BZ #18128]
2316 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2317 (atomic_add, atomic_increment_and_test)
2318 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2319
2ecccaed
PE
23202015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2321
2322 * stdlib/setenv.c (__add_to_environ):
2323 Dump core quickly if setenv (..., NULL, ...) is called.
2324
cdaf79d0
RM
23252015-03-13 Roland McGrath <roland@hack.frob.com>
2326
2327 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2328 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2329 all the necessary asm magic in one place.
2330 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2331 using those.
2332
cf9313e7
CD
23332015-03-13 Carlos O'Donell <carlos@redhat.com>
2334
2335 [BZ #14906]
2336 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2337 traced file mtime. Use consistent log message.
2338 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2339 (register_traced_file): Call install_watches. Always set mtime.
2340 (invalidate_cache): Iterate over all trace files. Call install_watches.
2341 (inotify_check_files): Don't inline. Handle watching parent
2342 directories and configuration file movement in and out.
2343 (handle_inotify_events): New function.
2344 (main_loop_poll): Call handle_inotify_events.
2345 (main_loop_epoll): Likewise.
2346 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2347 (struct traced_file): Use array of inotify fds. Add parent directory,
2348 and basename.
2349 (struct database_dyn): Remove unused file_mtime.
2350 (init_traced_file): New inline function.
2351 (define_traced_file): New macro.
2352 * nss/nss_db/db-init.c: Use define_traced_file.
2353 (_nss_db_init): Use init_traced_file.
2354 * nss/nss_files/files-init.c: Use define_traced_file.
2355 (_nss_files_init): Use init_traced_file.
2356
7d67a196
JM
23572015-03-12 Joseph Myers <joseph@codesourcery.com>
2358
2359 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2360 [_LIBC]: Do not include <stdlib.h>.
2361 [!_LIBC] (abort): Remove declaration.
2362 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2363 _FP_STATIC_ASSERT instead of conditionally calling abort.
2364 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2365 (_FP_EXTEND_CNAN): Likewise.
2366 (FP_TRUNC): Likewise.
2367 (__FP_CLZ): Likewise.
2368 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2369
af85ebcd
YS
23702015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
2371
2372 * manual/string.texi (XPG basename): Fix prototype.
2373
2e807f29
SL
23742015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2375
2376 [BZ #18080]
2377 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2378 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2379 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2380 (__setcontext): Likewise.
2381 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2382 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2383 Call rt_sigprocmask syscall one time to set new signal mask
2384 and retrieve the current signal mask instead of two calls.
2385 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2386 (__swapcontext): Likewise.
2387 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2388 * stdlib/tst-setcontext2.c: New file.
2389
1b2bebe6
SL
23902015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2391
2392 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2393
6a1cf708
AJ
23942015-03-11 Aurelien Jarno <aurelien@aurel32.net>
2395
2396 [BZ #18093]
2397 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2398 the wrong size.
2399
a2d4cf72
PP
24002015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2401
2402 [BZ #18043]
2403 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2404
5ca10a0c
AZ
24052015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2406
2407 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2408 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2409 Remove define.
2410 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2411 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2412 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2413 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2414 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2415 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2416 define.
2417 * nptl_db/td_symbol_list.c (td_lookup): Remove
2418 HAVE_ASM_GLOBAL_DOT_NAME code.
2419 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2420 HAVE_ASM_GLOBAL_DOT_NAME check.
2421 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2422 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2423 (DOT_LABEL): Remove define.
2424 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2425 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2426 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2427 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2428 (__TLS_GET_ADDR): Likewise.
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2430 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2431
e4363cfb
CD
24322015-03-11 Carlos O'Donell <carlos@redhat.com>
2433
2434 [BZ #18111]
2435 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2436 (_FPU_SETCW): Initialize cw from fpsr before storing.
2437 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2438 (fesetexceptflag): Rewrite using fpu_control.h.
2439 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2440
fae1aa8d
JDA
24412015-03-11 John David Anglin <danglin@gcc.gnu.org>
2442
2443 [BZ #18110]
2444 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2445 asms.
2446 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2447
068a6274
JM
24482015-03-11 Joseph Myers <joseph@codesourcery.com>
2449
2450 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2451 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2452 abort.
2453 (_FP_FMA): Likewise.
2454 (_FP_DIV): Likewise.
2455
d3821ab0
RM
24562015-03-10 Roland McGrath <roland@hack.frob.com>
2457
44a6213c
RM
2458 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2459 with 0 in that case.
2460 * Makefile (summarize-tests): New canned sequence, factored out of
2461 commands for targets tests and xtests. Display summary lines that
2462 don't start with PASS: or XFAIL: rather than ones that do start with
2463 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2464 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2465 do start with ERROR: or FAIL:.
2466 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2467 (except for [$(build-shared) = yes]).
2468 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2469 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2470 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2471 * nptl/Makefile: Revert 2015-03-04 changes.
2472 [$(CXX) empty] (tests-unsupported): New variable.
2473 * debug/Makefile: Likewise.
2474
d3821ab0
RM
2475 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2476 gnulib file. Replace __attribute with __attribute__ throughout.
2477
85ca85ae
CD
24782015-03-10 Carlos O'Donell <carlos@redhat.com>
2479
2480 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2481
6411f81d
JM
24822015-03-10 Joseph Myers <joseph@codesourcery.com>
2483
2484 [BZ #18104]
2485 * math/auto-libm-test-in: Add another test of pow.
2486 * math/auto-libm-test-out: Regenerated.
2487
d421868b
AZ
24882015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2489
2490 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2491 $(config-cflags-nofma).
2492
a2f8be9c
JM
24932015-03-10 Joseph Myers <joseph@codesourcery.com>
2494
2495 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2496 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2497 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2498 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2499 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2500 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2501 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2502 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2503 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2504 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2505 Add comment on closing #endif.
2506
01d032e0
PP
25072015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2508
2509 * posix/wordexp.c (CHAR_IN_SET): New macro.
2510 (parse_param): Use it.
2511
d439bc56
AZ
25122015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2513
2514 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2515
5f85a4bf
PP
25162015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2517
2518 [BZ #18043]
2519 * posix/wordexp.c (parse_param): Fix buffer overflow.
2520 * posix/wordexp-test.c (test_case): Add test case.
2521
f8ba70e9
PP
25222015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2523
2524 [BZ #18042]
2525 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2526 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2527
36103ba2
PP
25282015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2529
2530 [BZ #18043]
2531 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2532 (do_bz18043): Delete.
2533 (at_page_end): New.
2534 (testit): Refactor to have words at the edge of unreadable page.
2535
18d26750
PP
25362015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2537
2538 [BZ #16734]
2539 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2540 Cleanup read-only streams as well.
2541 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2542
9f95dc5d
ST
25432015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2544
2545 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2546 <bits/libc-lockP.h>
2547
b838844b
JM
25482015-03-07 Joseph Myers <joseph@codesourcery.com>
2549
2550 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2551 on [__KERNEL__].
2552 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2553 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2554 * soft-fp/op-common.h (_FP_DECL): Likewise.
2555
e0ed2fb4
L
25562015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2557
2558 * elf/ifuncdep2.c (global): Replace
2559 __attribute__((visibility("protected"))) with
2560 asm (".protected global").
2561 * elf/ifuncmod1.c (global): Likewise.
2562 * elf/ifuncmod5.c (global): Likewise.
2563
fa9dda64
JM
25642015-03-06 Joseph Myers <joseph@codesourcery.com>
2565
2566 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2567 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2568
4acc27ed
RM
25692015-03-06 Roland McGrath <roland@hack.frob.com>
2570
2571 * manual/install.texi (Configuring and compiling):
2572 Document test-wrapper-env-only.
2573 * INSTALL: Regenerated.
2574
895c30cb
PP
25752015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2576
2577 [BZ #18043]
2578 * posix/wordexp.c (parse_param): Fix buffer overflow.
2579 * posix/wordexp-test.c (do_bz18043): Add test case.
2580
5df56c7e
VB
25812015-03-06 Vincent Bernat <vincent@bernat.im>
2582
2583 * time/tst-strptime2.c (do_test): Ensure failing tests are
2584 reported correctly.
2585 * time/tst-strptime3.c (do_test): Likewise.
2586
1cdf2ea1
ST
25872015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2588
2589 Fix aio_error thread-safety.
1cdf2ea1
ST
2590 * sysdeps/pthread/aio_error.c: New file
2591 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2592 synchronization.
2593
d176a41a
FW
25942015-03-06 Florian Weimer <fweimer@redhat.com>
2595
2596 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2597 (group_number, vfprintf): Use it.
1597b744
FW
2598 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2599 (JUMP, REF): Use it.
2600 (WORK_BUFFER_SIZE): New enum constant.
2601 (process_arg, vfprintf): Use it.
d176a41a 2602
7e7af349
RJ
26032015-03-06 Rical Jasan <ricaljasan@pacific.net>
2604
2605 * manual/errno.texi (Error Messages): Complete example function
2606 by adding missing #define.
2607 (program_invocation_name): Add statement indicating GNU
2608 extension and reference which header file declares the variable.
2609 (program_invocation_short_name): Likewise.
2610
4ca8ddfb
MF
26112015-03-06 Mike Frysinger <vapier@gentoo.org>
2612
2613 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2614 compatibility note.
2615
9162c01d
RM
26162015-03-05 Roland McGrath <roland@hack.frob.com>
2617
2618 * Makeconfig (test-wrapper-env-only): New variable.
2619 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2620 then use that with $(test-wrapper-env-only) rather than using
2621 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2622
209826bc
L
26232015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 [BZ #18082]
2626 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2627 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2628 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2629 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2630 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2631 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2632 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2633 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2634 Likewise.
2635 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2636 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2637 Likewise.
2638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2639 Likewise.
2640 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2641 Likewise.
2642 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2643 Likewise.
2644 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2645 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2646 Likewise.
2647 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2648 Likewise.
2649 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2650 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2651
2cfe32bc
RM
26522015-03-04 Roland McGrath <roland@hack.frob.com>
2653
8bff5aab
RM
2654 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2655 (ETH_ALEN): New macro.
2656 (struct ether_addr): Use it for length of ether_addr_octet.
2657
2752f338
RM
2658 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2659 (setdb): Don't call __nss_configure_lookup for "rpc".
2660 (do_test): Don't call test_rpc.
2661 (output_rpcent, test_rpc): Functions moved ...
2662 * sunrpc/test-rpcent.c: ... to this new file.
2663 * sunrpc/Makefile (tests): Add it.
2664
2cfe32bc
RM
2665 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2666 __xpg_sigpause.
2667 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2668 * nptl/tst-signal6.c: Likewise.
2669 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2670 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2671
e4693aa7
RM
2672 * configure.ac (libc_cv_cxx_link_ok): New check.
2673 Reset CXX to empty if it fails to link.
2674 * configure: Regenerated.
2675 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2676 bug-atexit3-lib only if $(CXX) is nonempty.
2677 * nptl/Makefile (tests): Likewise for tst-cancel24.
2678 (tests, tests-static): Likewise for tst-cancel24-static.
2679 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2680 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
2681 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2682 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 2683
8e2e833a
AS
26842015-03-04 Andreas Schwab <schwab@suse.de>
2685
2686 [BZ #17631]
2687 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2688 for non-GCC compilers.
2689 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2690 Likewise.
2691
85b29045
AZ
26922015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2693
2694 [BZ #17776]
2695 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2696 integer before bitwise and assembly operations.
2697 (feclearexcept): Likewise.
2698 * math/test-fenvinline.c: New file.
2699 * math/Makefile: Add test-fenvinline test.
2700
a0af371c
AM
27012015-03-03 Alan Modra <amodra@gmail.com>
2702
2703 [BZ #16512]
2704 * scripts/localplt.awk: Strip off symbol version.
2705 * NEWS: Mention bug fix.
2706
47465629
RM
27072015-03-02 Roland McGrath <roland@hack.frob.com>
2708
2709 * sysdeps/pthread/timer_routines.c
2710 (timer_free_list, thread_free_list, thread_active_list): Make static.
2711
6d08b022
JM
27122015-03-02 Joseph Myers <joseph@codesourcery.com>
2713
2714 [BZ #17779]
2715 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2716 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2717 Undefine.
2718 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2719 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2720 Likewise.
2721 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2722 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2723 Likewise.
2724
c2c6d39f
PP
27252015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2726
2727 [BZ #18036]
2728 * posix/fnmatch_loop.c (END): Detect invalid pattern.
2729 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2730
e8b6be00
AS
27312015-03-02 Andreas Schwab <schwab@suse.de>
2732
2733 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2734 variable name.
2735
1a2d98af
FW
27362015-03-02 Florian Weimer <fweimer@redhat.com>
2737
2738 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2739 Return error status.
2740
e7f07af5
AO
27412015-02-27 Alexandre Oliva <aoliva@redhat.com>
2742
2743 [BZ #15969]
2744 * locale/findlocale.c (_nl_find_locale): Introduce const
2745 version of loc_name and drop unsafe type casts.
2746
c7b19ca9
RM
27472015-02-27 Roland McGrath <roland@hack.frob.com>
2748
2749 * dlfcn/tststatic2.c (main): Converted to ...
2750 (do_test): ... this.
2751 (TEST_FUNCTION): New macro.
2752 Include test-skeleton.c.
2753
ef4ad06f
L
27542015-02-27 H.J. Lu <hongjiu.lu@intel.com>
2755
2756 [BZ #17711]
2757 * elf/Makefile (tests): Add vismain only if PIE is enabled.
2758 (tests-pie): Add vismain.
2759 (CFLAGS-vismain.c): New.
2760 * elf/vismain.c: Add comments for PIE requirement.
2761
2ca725c5
JM
27622015-02-27 Joseph Myers <joseph@codesourcery.com>
2763
2764 [BZ #18046]
2765 [BZ #18047]
2766 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2767 0x1p-56L as threshold for just returning the argument.
2768 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2769 0x1p-32L as threshold for just returning the argument.
2770 * math/auto-libm-test-in: Add more tests of atanh.
2771 * math/auto-libm-test-out: Regenerated.
2772 * sysdeps/i386/fpu/libm-test-ulps: Update.
2773 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2774
af96be34
WD
27752015-02-27 Wilco Dijkstra wdijkstr@arm.com
2776
2777 * string/bcopy.c (bcopy): Call memmove for performance.
2778
ddcf6798
WD
27792015-02-27 Wilco Dijkstra wdijkstr@arm.com
2780
2781 * string/bzero.c (__bzero): Call memset for performance.
2782
49f476f4
JDA
27832015-02-27 John David Anglin <dave.anglin@bell.net>
2784
b42e14ff 2785 [BZ #18068]
49f476f4
JDA
2786 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2787 to 00100000.
2788
f8ab5d38
JM
27892015-02-27 Joseph Myers <joseph@codesourcery.com>
2790
2791 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2792
380bd0fd
JM
27932015-02-26 Joseph Myers <joseph@codesourcery.com>
2794
31331a07
JM
2795 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2796 (__kernel_standard): Use CSTR macro when setting exc.name.
2797 * sysdeps/ieee754/Makefile [$(subdir) = math]
2798 (CFLAGS-k_standard.c): Remove variable.
2799
09220e66
JM
2800 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2801 setting p and q from "else if" to "else".
2802 (qzero): Likewise.
2803 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2804 (qone): Likewise.
2805 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2806 (qzerof): Likewise.
2807 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2808 (qonef): Likewise.
2809 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2810 (qzero): Likewise.
2811 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2812 (qone): Likewise.
2813
1d9ab20c
JM
2814 [BZ #18038]
2815 [BZ #18039]
2816 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2817 return pi/2 for arguments below 0x1p-113L.
2818 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2819 return pi/2 for arguments below 0x1p-106L.
2820 * math/auto-libm-test-in: Add more tests of acos.
2821 * math/auto-libm-test-out: Regenerated.
2822
ec0ce0d3
JM
2823 [BZ #16351]
2824 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2825 (MO): New macro.
2826 (__ieee754_asin): Force underflow exception for results with small
2827 absolute value.
2828 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2829 (MO): New macro.
2830 (__ieee754_asinf): Force underflow exception for results with
2831 small absolute value.
2832 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2833 (__ieee754_asin): Force underflow exception for results with small
2834 absolute value.
2835 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2836 (__ieee754_asinf): Force underflow exception for results with
2837 small absolute value.
2838 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2839 (__ieee754_asinl): Force underflow exception for results with
2840 small absolute value.
2841 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2842 (__ieee754_asinl): Force underflow exception for results with
2843 small absolute value.
2844 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2845 (__ieee754_asinl): Force underflow exception for results with
2846 small absolute value.
2847 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2848 Include <math.h>.
2849 * math/auto-libm-test-in: Do not mark underflow exceptions as
2850 possibly missing for bug 16351.
2851 * math/auto-libm-test-out: Regenerated.
2852
380bd0fd
JM
2853 [BZ #18030]
2854 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2855 of power of 2 down when low part has opposite sign.
2856 * math/libm-test.inc (logb_test_data): Add more tests.
2857
4a28f4d5
AS
28582015-02-26 Andreas Schwab <schwab@suse.de>
2859
2860 [BZ #18032]
2861 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2862 over collating symbol inside a bracket expression. Minor cleanup.
2863 * posix/tst-fnmatch3.c (do_test): Add test case.
2864
524ae9ea
JM
28652015-02-26 Joseph Myers <joseph@codesourcery.com>
2866
2867 [BZ #18029]
2868 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
2869 Adjust exponent of power of 2 down when low part has opposite
2870 sign.
2871 * math/libm-test.inc (ilogb_test_data): Add more tests.
2872
23d43090
AO
28732015-02-26 Alexandre Oliva <aoliva@redhat.com>
2874
2875 [BZ #15969]
2876 * locale/findlocale.c (_nl_find_locale): Fix constness error in
2877 the previous change.
0d822a01
AO
2878
2879 [BZ #15969]
2880 * locale/findlocale.c (_nl_find_locale): Retry archive search
2881 after alias expansion.
2882
d19df6ac
RM
28832015-02-25 Roland McGrath <roland@hack.frob.com>
2884
ca681b7b
RM
2885 * iconv/tst-iconv3.c (main): Converted to ...
2886 (do_test): ... this.
2887 (TEST_FUNCTION): New macro.
2888 Include test-skeleton.c.
2889
fd1f2f1c
RM
2890 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2891 (convert): Make function static.
2892 (test_unalign): Likewise. Add const to argument pointee types.
2893 (main): Replace with static function do_test.
2894 Print "Succeeded." only if RET is zero.
2895 (TEST_FUNCTION): New macro.
2896 Include test-skeleton.c.
2897
d19df6ac
RM
2898 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2899 returns a null pointer.
2900
115e0de7
AZ
29012015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2902
2903 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2904 to __memcpy_ppc only for static builds.
2905
137cef7d
JM
29062015-02-25 Joseph Myers <joseph@codesourcery.com>
2907
2908 [BZ #18020]
2909 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2910 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2911 * math/auto-libm-test-in: Add more tests of asinh.
2912 * math/auto-libm-test-out: Regenerated.
2913 * sysdeps/i386/fpu/libm-test-ulps: Update.
2914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2915
cb43bb0d
CW
29162015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
2917
2918 [BZ #15850]
2919 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2920 and ip6_mtuinfo definitions here.
2921 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2922 in this define too. Update comment.
2923
9be1052b
BS
29242015-02-24 Benno Schulenberg <bensberg@justemail.net>
2925
2926 * elf/sprof.c (load_shobj): Tweak error message to match others.
2927
6807b1db
KE
29282015-02-24 Kevin Easton <kevin@guarana.org>
2929
2930 [BZ #16145] (partial fix)
2931 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2932 to reduce lock contention.
2933
b433df00
ML
29342015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
2935
2936 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2937 (struct timex): Update time comment.
2938 (ADJ_SETOFFSET): Define.
2939
440169d6
JM
29402015-02-24 Joseph Myers <joseph@codesourcery.com>
2941
2942 [BZ #18019]
2943 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2944 2**56 not 2**28 as threshold for log (2x) formula.
2945 * math/auto-libm-test-in: Add more tests of acosh.
2946 * math/auto-libm-test-out: Regenerated.
2947 * sysdeps/i386/fpu/libm-test-ulps: Update.
2948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2949
ba7d2c54
MF
29502015-02-24 Mike Frysinger <vapier@gentoo.org>
2951
2952 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2953 parenthesis around the buf assignment.
2954 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2955
9438b237
JM
29562015-02-24 Joseph Myers <joseph@codesourcery.com>
2957
2958 [BZ #16783]
2959 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2960 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2961 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2962 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2963 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2964 * math/libm-test.inc (scalb_test_data): Add more tests.
2965
6909d276
PP
29662015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2967
2968 [BZ #17916]
2969 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2970 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2971
65f6f938
ER
29722015-02-24 Eric Rannaud <e@nanocritical.com>
2973
2974 [BZ #17523]
2975 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2976 * io/bits/fcntl2.h (open): Use it.
2977 (openat): Likewise.
2978 * io/open.c (__libc_open): Likewise.
2979 * io/open64.c (__libc_open64): Likewise.
2980 * io/open64_2.c (__open64_2): Likewise.
2981 * io/open_2.c (__open_2): Likewise.
2982 * io/openat.c (__openat): Likewise.
2983 * io/openat64.c (__openat64): Likewise.
2984 * io/openat64_2.c (__openat64_2): Likewise.
2985 * io/openat_2.c (__openat_2): Likewise.
2986 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2987 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2988 * sysdeps/posix/open64.c (__libc_open64): Likewise.
2989 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2990 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2991 (__open_nocancel): Likewise.
2992 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2993 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2994 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2995
3e3002ff
SP
29962015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2997
2998 [BZ #14841]
2999 * resolv/gethnamaddr.c (getanswer): Skip logging if
3000 RES_USE_DNSSEC is set.
3001 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3002
9813dd58
MF
30032015-02-24 Mike Frysinger <vapier@gentoo.org>
3004
3005 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3006
7b1ec6a0
AO
30072015-02-23 Alexandre Oliva <aoliva@redhat.com>
3008
3009 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3010 201304L, for Unicode 7.
3011
d49499c1
L
30122015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 [BZ #17836]
3015 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3016 shared library. Add gmon-start.os otherwise.
3017 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3018 $(objpfx)gmon-start.os if builing shared library.
3019 ($(objpfx)g$(static-start-installed-name)): Likewise.
3020
51225803
AS
30212015-02-23 Andreas Schwab <schwab@suse.de>
3022
3023 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3024
bdf1ff05
PP
30252015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3026
3027 [BZ #17269]
3028 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3029 (enlarge_userbuf): Likewise.
3030
95296112
CLT
30312015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3032
3033 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3034 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3035 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3036 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3037
e4a399dc
JM
30382015-02-20 Joseph Myers <joseph@codesourcery.com>
3039
3040 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3041 expression inside statement expression.
3042
7133957f
SL
30432015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3044
3045 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3046 <sysdeps/nptl/lowlevellock.h> and remove macros and
3047 functions that are now defined there.
3048 (SYS_futex): Remove.
3049 (lll_compare_and_swap): Remove.
3050 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3051
40176158
JM
30522015-02-19 Joseph Myers <joseph@codesourcery.com>
3053
3054 [BZ #17999]
3055 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3056 instead of scandirat.
3057 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3058 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3059 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3060 __scandirat.
3061 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3062 (__scandirat): Declare. Use libc_hidden_proto.
3063 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3064 Remove variable.
3065 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3066
4629c866
JM
30672015-02-18 Joseph Myers <joseph@codesourcery.com>
3068
3069 [BZ #15319]
3070 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3071 (MO): New macro.
3072 (__ieee754_atan2): For results with small absolute value, force
3073 underflow exception and remove excess range and precision from
3074 return value.
3075 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3076 (MO): New macro.
3077 (__ieee754_atan2f): For results with small absolute value, force
3078 underflow exception and remove excess range and precision from
3079 return value.
3080 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3081 (MO): New macro.
3082 (__atan): For results with small absolute value, force underflow
3083 exception and remove excess range and precision from return value.
3084 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3085 (MO): New macro.
3086 (__atanf): For results with small absolute value, force underflow
3087 exception and remove excess range and precision from return value.
3088 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3089 <math.h>.
3090 (__ieee754_atan2): Force underflow exception for results with
3091 small absolute value.
3092 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3093 <math_private.h>.
3094 (atan): Force underflow exception for results with small absolute
3095 value.
3096 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3097 (__atanf): Force underflow exception for results with small
3098 absolute value.
3099 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3100 <math.h>.
3101 (__atanl): Force underflow exception for results with small
3102 absolute value.
3103 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3104 (__atanl): Force underflow exception for results with small
3105 absolute value.
3106 * sysdeps/x86/fpu/bits/mathinline.h
3107 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3108 (__ieee754_atan2): Only define inline for long double.
3109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3110 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3111 * math/auto-libm-test-in: Do not mark underflow exceptions as
3112 possibly missing for bug 15319. Add more tests of atan2.
3113 * math/auto-libm-test-out: Regenerated.
3114 * math/libm-test.inc (casin_test_data): Do not mark underflow
3115 exceptions as possibly missing for bug 15319.
3116 (casinh_test_data): Likewise.
3117 * sysdeps/i386/fpu/libm-test-ulps: Update.
3118
9ee16d8b
SE
31192015-02-18 Steve Ellcey <sellcey@imgtec.com>
3120
3121 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3122 * sysdeps/mips/bits/endian.h: Fix comments.
3123
4ffb1771
JM
31242015-02-18 Joseph Myers <joseph@codesourcery.com>
3125
3126 [BZ #17996]
3127 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3128 (hdestroy_r): Likewise.
3129 (hsearch_r): Likewise.
3130 (__hcreate_r): Declare and use libc_hidden_proto.
3131 (__hdestroy_r): Likewise.
3132 (__hsearch_r): Likewise.
3133 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3134 (hcreate): Call __hcreate_r instead of hcreate_r.
3135 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3136 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3137 as weak alias of __hcreate_r.
3138 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3139 __hdestroy_r.
3140 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3141 __hsearch_r.
3142 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3143 Remove variable.
3144 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3145 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3146 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3147 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3148
94c5a52a
SP
31492015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3150
3151 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3152 arena_lock into a single arena_get.
3153
8a35c3fe
CD
31542015-02-17 Carlos O'Donell <carlos@redhat.com>
3155
3156 * dl-reloc.c: Inlucde libc-internal.h.
3157 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3158 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3159 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3160 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3161 (grow_heap): Likewise.
3162 * malloc/malloc.c: Include libc-internal.h.
3163 (do_check_malloc): Call powerof2.
3164 (sysmalloc): Use pagesize. Call ALIGN_UP.
3165 (systrim): Use pagesize.
3166 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3167 (__libc_valloc): Use pagesize.
3168 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3169
1a2325c0
JM
31702015-02-17 Joseph Myers <joseph@codesourcery.com>
3171
3172 [BZ #17991]
3173 * include/sys/resource.h (__getrlimit64): Declare. Use
3174 libc_hidden_proto.
3175 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3176 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3177 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3178 getrlimit64.
3179 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3180 __getrlimit64.
3181 [!getrlimit64] (getrlimit64): Define as weak alias of
3182 __getrlimit64. Use libc_hidden_weak.
3183 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3184 using __getrlimit64 not __new_getrlimit64.
3185 (__GI_getrlimit64): Likewise.
3186 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3187 Likewise.
3188 (__GI_getrlimit64): Likewise.
3189 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3191 (getrlimit): Add __getrlimit64 alias.
3192 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3193 Likewise.
3194 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3195 Remove variable.
3196 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3197 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3198
8ae4bb5a
PP
31992015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3200
3201 * libio/fileops.c: Add missing sys/mman.h
3202 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3203
18a218b7
JM
32042015-02-17 Joseph Myers <joseph@codesourcery.com>
3205
3206 * manual/math.texi (Errors in Math Functions): Clarify goals
3207 regarding inexact and underflow exceptions.
3208
e72ad0ef
SE
32092015-02-17 Steve Ellcey <sellcey@imgtec.com>
3210
3211 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3212 * sysdeps/mips/memset.S: Ditto.
3213
2caa4099
SE
32142015-02-17 Steve Ellcey <sellcey@imgtec.com>
3215
3216 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3217
f20bfc9b
SL
32182015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3219
3220 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3221 (__v1longjmp): Remove versioned symbol.
3222 (__v1siglongjmp): Remove alias and versioned symbol.
3223 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3224 (__v2siglongjmp): Likewise.
3225
71c06b69
TR
32262015-02-16 Torvald Riegel <triegel@redhat.com>
3227
3228 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3229
a9a05adb
MF
32302015-02-16 Mike Frysinger <vapier@gentoo.org>
3231
3232 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3233
ce8fc784
JM
32342015-02-16 Joseph Myers <joseph@codesourcery.com>
3235
3236 [BZ #17987]
3237 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3238 zero result does not depend on the sign resulting from
3239 subtraction.
3240 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3241 Likewise.
3242 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3243 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3244 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3246 * math/libm-test.inc (remquo_test_data): Add more tests.
3247
0d7036bd
PE
32482015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3249
3250 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3251 Problem reported by J William Piggott.
3252
86c56b16
JM
32532015-02-16 Joseph Myers <joseph@codesourcery.com>
3254
a820f9b3
JM
3255 [BZ #17978]
3256 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3257 products 4 * y and 2 * y where those would overflow.
3258 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3259 Likewise.
3260 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3261 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3262 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3263 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3264 * math/libm-test.inc (remquo_test_data): Add more tests.
3265
be802953
JM
3266 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3267
e5e72fe9
JM
3268 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3269 [defined _COMPILING_NEWLIB].
3270 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3271 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3272
86c56b16
JM
3273 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3274 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3275
35264d14
TR
32762015-02-16 Torvald Riegel <triegel@redhat.com>
3277
3278 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3279 acquired.
3280
6f49e32a
MF
32812015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3282
3283 [BZ #17792]
3284 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3285 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3286 HOST_STACK_END_ADDR): Likewise.
3287
e525154e
SE
32882015-02-13 Steve Ellcey <sellcey@imgtec.com>
3289
3290 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3291 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3292 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3293
4ab770b7
RM
32942015-02-13 Roland McGrath <roland@hack.frob.com>
3295
3296 * sysdeps/generic/c++-types.data: New file.
3297 * sysdeps/generic/ld.abilist: New file.
3298 * sysdeps/generic/libBrokenLocale.abilist: New file.
3299 * sysdeps/generic/libanl.abilist: New file.
3300 * sysdeps/generic/libc.abilist: New file.
3301 * sysdeps/generic/libcrypt.abilist: New file.
3302 * sysdeps/generic/libdl.abilist: New file.
3303 * sysdeps/generic/libm.abilist: New file.
3304 * sysdeps/generic/libpthread.abilist: New file.
3305 * sysdeps/generic/libresolv.abilist: New file.
3306 * sysdeps/generic/librt.abilist: New file.
3307
d9afe48d
JM
33082015-02-13 Joseph Myers <joseph@codesourcery.com>
3309
3310 [BZ #17569]
3311 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3312 Compute absolute value of x as modified by fmod, not original
3313 value of x.
3314 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3315 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3316 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3317 RUN_TEST_ffI_f1_mod8.
3318 (remquo_test_data): Add more tests.
3319
3846188b
RM
33202015-02-13 Roland McGrath <roland@hack.frob.com>
3321
3322 * sysdeps/init_array/pt-crti.S: New file.
3323
95c26233
JM
33242015-02-13 Joseph Myers <joseph@codesourcery.com>
3325
3326 [BZ #17967]
3327 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3328 __builtin_fmaf instead of relying on contraction of a * b + c.
3329
3f293d61
WP
33302015-02-12 J William Piggott <elseifthen@gmx.com>
3331
3332 [BZ #17969]
3333 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3334 node.
3335
e8bd5286
JM
33362015-02-12 Joseph Myers <joseph@codesourcery.com>
3337
3338 [BZ #17964]
3339 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3340 __builtin_fma instead of relying on contraction of a * b + c.
3341
04f5a636
RM
33422015-02-12 Roland McGrath <roland@hack.frob.com>
3343
96a15749
RM
3344 * Makeconfig (ASFLAGS): Add -Werror=undef.
3345 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3346 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3347 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3348
04f5a636
RM
3349 * Makeconfig (after-link): New variable.
3350 (+link-pie, +link-pie-tests): Use it.
3351 (+link-static, +link-static-tests): Likewise.
3352 (+link, +link-tests): Likewise.
3353 * Makerules (build-module, build-module-asneeded): Likewise.
3354 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3355 Likewise.
3356 * elf/Makefile ($(objpfx)ld.so): Likewise.
3357
87a629c5
RS
33582015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3359
3360 [BZ #17965]
3361 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3362 both struct timeval and struct timespec.
3363
03d95bd4
JM
33642015-02-12 Joseph Myers <joseph@codesourcery.com>
3365
3366 [BZ #16560]
3367 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3368 and redefine.
3369 (__ieee754_exp2l): Do not multiply small fractional parts by
3370 M_LN2l.
3371 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3372 small argument.
3373 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3374 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3375 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3376 * math/auto-libm-test-in: Add more tests of exp2.
3377 * math/auto-libm-test-out: Regenerated.
3378
98408b95
RS
33792015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3380
3381 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3382 unaligned path.
3383
6f741503
AZ
33842015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3385
3386 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3387 little endian.
3388
2868e070
AS
33892015-02-12 Andreas Schwab <schwab@suse.de>
3390
3391 [BZ #15790]
3392 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3393 Filter out elision flags from value returned in kind.
3394 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3395 * nptl/tst-pthread-mutexattr.c: New file.
3396
ebf27d12
ST
33972015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3398
3399 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3400 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3401 into gnu-gnu, and update comment to refer to abi-tags.
3402
d435569c
JM
34032015-02-11 Joseph Myers <joseph@codesourcery.com>
3404
3405 [BZ #15467]
3406 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3407 (__sincos): Set errno to EDOM for infinite argument.
3408 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3409 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3410 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3411 (__sincosl): Set errno to EDOM for infinite argument.
3412 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3413 (__sincosl): Set errno to EDOM for infinite argument.
3414 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3415 (__sincosl): Set errno to EDOM for infinite argument.
3416 * math/libm-test.inc (sincos_test_data): Test errno setting.
3417
d35273f2
LH
34182015-02-11 Leonhard Holz <leonhard.holz@web.de>
3419
3420 * string/strxfrm_l.c: Remove #define STRCMP.
3421 * string/strcoll_l.c: Remove #define STRLEN.
3422 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3423 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3424
306bc0d1
JM
34252015-02-10 Joseph Myers <joseph@codesourcery.com>
3426
3427 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3428 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3429 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3430 * sysdeps/mips/mips64/Makefile: ... here.
3431 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3432 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3433 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3434 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3435 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3436 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3437 * sysdeps/mips/mips64/n64/Implies: Likewise.
3438
92b67e8d
RM
34392015-02-10 Roland McGrath <roland@hack.frob.com>
3440
3441 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3442 <sys/time.h>, <string.h>, and <errno.h>.
3443 (dest_offset, dest_address, value, zero): Remove unused variables.
3444 (ldouble): Remove typedef.
3445 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3446 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3447 1). Fix code style.
3448 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3449 (check): Function removed.
3450 (CHECK): New macro.
3451 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3452 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3453 Don't call set_sigaction_FP and remove_sigaction_FP here.
3454 (ldouble_test): Just use 'long double' as macro argument, no need for
3455 the 'ldouble' typedef.
3456 (do_test): Set up SIGFPE handler at start, using plain signal rather
3457 than sigaction. Fix code style.
3458
132a1328
EF
34592015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3460
3461 [BZ #17949]
3462 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3463 jump label.
3464
3001e54c
AZ
34652015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3466
bc0cdc49
AZ
3467 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3468 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3469
83658961
AZ
3470 * sysdeps/powerpc/configure.ac: Remove file.
3471 * sysdeps/powerpc/configure: Likewise.
3472
10169938
AZ
3473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3474 [sysdep_routines]: Remove wordcopy-power6 object.
3475 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3476 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3477 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3478 (__memmove_ppc32): Likewise.
3479 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3480 file.
3481 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3482 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3483 Remove preprocessor.
3484
8548a53d
AZ
3485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3486 [sysdep_routines]: Remove wide chars objects.
3487 [wcsmbs]: New rule for wide char objects.
3488
b2692114
AZ
3489 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3490 Remove wordcopy-power6 obejct.
3491 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3492 Use local call for wordcopy and memcpy symbols.
3493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3495 implementation for loader.
3496 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3497
18e270aa
AZ
3498 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3499 Remove wordcopy-power7 object.
3500 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3501 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3502 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3503 (_wordcopy_fwd_dest_aligned): Likewise.
3504 (_wordcopy_bwd_aligned): Likewise.
3505 (_wordcopy_bwd_dest_aligned): Likewise.
3506
6f0993a6
AZ
3507 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3508 Rewrite to call __memmove_ppc instead of include default
3509 implementation.
3510
3001e54c
AZ
3511 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3512 Remove wide chars objects.
3513 [wcsmbs]: New rule for wide char objects.
3514
59b61c82
AS
35152015-02-09 Andreas Schwab <schwab@suse.de>
3516
3517 [BZ #17912]
3518 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3519 in terms of __O_DIRECTORY.
3520
ebd7aede
ST
35212015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3522
3523 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
3524 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3525 call PTR_MANGLE.
3526 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3527 PTR_DEMANGLE.
ebd7aede 3528
3999d26e
PE
35292015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3530
3531 Add ersatz _Static_assert on older C hosts
3532 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3533 pre-C11 C platform that is not known to support _Static_assert.
3534
e9a5bc1c
ST
35352015-02-07 Richard Braun <rbraun@sceen.net>
3536
3537 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3538 sigstate.
e86c5b64 3539 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 3540
e2049d17
ST
35412015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3542
3543 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3544 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
3545 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3546 instead of int.
3547 * misc/fchflags.c (fchflags): Likewise.
3548 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3549 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3550 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3551 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3552 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3553 Declare macros.
3554 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
3555 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3556 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
3557 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3558 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3559 45.
a9a002fb
ST
3560 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3561 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
3562 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3563 MACH_RCV_TIMED_OUT.
f96ec27a
ST
3564 * hurd/hurd/signal.h (_hurd_self_sigstate,
3565 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3566 Explicit casts from void *.
4fc81a77 3567 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 3568 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 3569
f05826f0
ST
3570 [BZ #4719]
3571 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3572 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3573 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3574 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3575 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3576 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3577
a5eb23de
ST
3578 [BZ #17944]
3579 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3580 duplicates ADDR->sun_path with sockaddr LEN limitation.
3581 * sysdeps/mach/hurd/connect.c: Include <string.h>
3582 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3583 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3584 * sysdeps/mach/hurd/sendto.c: Likewise.
3585 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3586 implementing it by hand.
3587
ac9e0e5e
RM
35882015-02-06 Roland McGrath <roland@hack.frob.com>
3589
f8d1bb4c
RM
3590 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3591 Use sfi_breg on ldr.
3592 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3593 Likewise.
3594
022f4812
RM
3595 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3596 it's defined.
3597 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3598 Test SIGSETXID only if it's defined.
3599
1ac074e6
RM
3600 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3601
f50ad78b
RM
3602 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3603 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3604
9e7265f4
RM
3605 * nptl/tst-align2.c: Moved ...
3606 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3607 * nptl/Makefile (tests): Remove tst-align2.
3608 * sysdeps/unix/sysv/linux/Makefile
3609 [$(subdir) = nptl] (tests): Add tst-align-clone.
3610 * nptl/tst-getpid1.c: Moved ...
3611 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3612 * nptl/tst-getpid2.c: Moved ...
3613 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3614 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3615 * sysdeps/unix/sysv/linux/Makefile
3616 [$(subdir) = nptl] (tests): ... here.
3617 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3618 * sysdeps/unix/sysv/linux/Makefile
3619 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3620
62ad2abc
RM
3621 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3622 Drop trailing \n from perror argument. Use return rather than exit.
3623
cfa69b0b
RM
3624 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3625 on [SA_SIGINFO].
3626 * nptl/tst-cancel21.c (do_test): Likewise.
3627 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3628 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3629 [!SA_SIGINFO]: Make it a stub test.
3630
82727806
RM
3631 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3632 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3633
da3a1594
RM
3634 * posix/tst-getlogin.c: Move to ...
3635 * login/tst-getlogin.c: ... here.
3636 * posix/Makefile (tests): Move tst-getlogin to ...
3637 * login/Makefile (tests): ... here.
3638
b65c0ff9
RM
3639 * libio/tst-atime.c (do_test): Move local variables SV and E
3640 inside [ST_NOATIME] conditional.
3641
56606ab3
RM
3642 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3643
ebf7d6ee
RM
3644 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3645
ca0e0675
RM
3646 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3647 (wait_code): New function replaces macro.
3648 Call nanosleep rather than syscall.
3649
8c28bbc6
RM
3650 * nptl/pt-system.c: Rewritten. Put everything under
3651 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3652 Use IFUNC to redirect when possible.
3653
ec2a88b3
RM
3654 * nptl/pt-longjmp.c: Rewritten. Put everything under
3655 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3656 Use IFUNC to redirect when possible.
3657
beff1d13
RM
3658 * nptl/pt-fork.c: Rewritten. Put everything under
3659 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3660 Use IFUNC to redirect when possible.
3661 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3662
ea02c6b8
RM
3663 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3664 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3665 unconditionally nowadays. This included the only reference to
3666 __vdso_clock_gettime that appears outside libc proper.
3667 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3668 Remove version set (containing only __vdso_clock_gettime).
3669 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3670 Add attribute_hidden.
3671 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3672 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3673 libc_hidden_data_def.
3674 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3675 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3676
a1309c2b
RM
3677 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3678 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3679 setrpcent, and getrpcport to ...
3680 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3681 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3682 getrpcbynumber_r, and getrpcent_r to ...
3683 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3684 * inet/getrpcbyname.c: Moved ...
3685 * sunrpc/getrpcbyname.c: ... here.
3686 * inet/getrpcbyname_r.c: Moved ...
3687 * sunrpc/getrpcbyname_r.c: ... here.
3688 * inet/getrpcbynumber.c: Moved ...
3689 * sunrpc/getrpcbynumber.c: ... here.
3690 * inet/getrpcbynumber_r.c: Moved ...
3691 * sunrpc/getrpcbynumber_r.c: ... here.
3692 * inet/getrpcent.c: Moved ...
3693 * sunrpc/getrpcent.c: ... here.
3694 * inet/getrpcent_r.c: Moved ...
3695 * sunrpc/getrpcent_r.c: ... here.
3696 * inet/Makefile (routines): Move those to ...
3697 * sunrpc/Makefile (routines): ... here.
3698 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3699 the $(subdirs) list.
3700 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
3701 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3702 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3703 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3704
ac9e0e5e
RM
3705 * elf/Makefile (routines): Include $(all-dl-routines), not just
3706 $(dl-routines).
3707 (rtld-routines): Likewise. Use = rather than :=.
3708 * sysdeps/aarch64/Makefile [$(subdir) = elf]
3709 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3710 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3711 * sysdeps/arm/Makefile: Likewise.
3712 * sysdeps/i386/Makefile: Likewise.
3713 * sysdeps/x86_64/Makefile: Likewise.
3714 * sysdeps/hppa/Makefile [$(subdir) = elf]
3715 (sysdep_routines, sysdep-rtld-routines): Don't add
3716 $(sysdep-dl-routines) to these.
3717 * sysdeps/ia64/Makefile: Likewise.
3718 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3719 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3720 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3721 Don't add dl-static to these; sysdep-dl-routines alone is enough.
3722 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3723 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3724 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3725 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3726 * sysdeps/powerpc/Makefile [$(subdir) = elf]
3727 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3728 these; sysdep-dl-routines alone is enough.
3729
639e42eb
JM
37302015-02-06 Joseph Myers <joseph@codesourcery.com>
3731
1c7a4a51
JM
3732 [BZ #17932]
3733 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3734 where multiplication results in zero and third argument is finite
3735 and nonzero.
3736 * math/auto-libm-test-in: Add more tests of fma.
3737 * math/auto-libm-test-out: Regenerated.
3738
61f006c1
JM
3739 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3740 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3741 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3742 (_FP_CMP_EQ): Likewise.
3743 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3744
639e42eb
JM
3745 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3746 extra argument CHECK_NAN. Redefine as wrapper around
3747 _FP_EXTEND_CNAN.
3748
3c0c543b
CD
37492015-02-06 Carlos O'Donell <carlos@systemhalted.org>
3750
4e42b5b8
CD
3751 * version.h (RELEASE): Set to "stable".
3752 (VERSION): Set to "2.21"
3753 * include/features.h (__GLIBC_MINOR__): Set to 21.
3754
3c0c543b
CD
3755 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3756
5bd80bfe 37572015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 3758 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
3759
3760 [BZ #16618]
3761 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3762 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3763 size in bytes. Store needed elements in wpmax. Use needed size
3764 in bytes for extend_alloca.
3765
3f823f48
CD
37662015-02-05 Carlos O'Donell <carlos@systemhalted.org>
3767
04cb913d
CD
3768 * manual/install.texi: Latest tested versions are GCC 4.9.2,
3769 binutls 2.25, and texinfo 5.2.
3770 * INSTALL: Regenerate.
3771 * sysdeps/nios2/configure: Regenerate.
3772 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3773 * manual/contrib.texi: Update.
3774 * po/be.po: Update.
3775 * po/bg.po: Update.
3776 * po/ca.po: Update.
3777 * po/cs.po: Update.
3778 * po/da.po: Update.
3779 * po/de.po: Update.
3780 * po/el.po: Update.
3781 * po/eo.po: Update.
3782 * po/es.po: Update.
3783 * po/fi.po: Update.
3784 * po/fr.po: Update.
3785 * po/gl.po: Update.
3786 * po/hr.po: Update.
3787 * po/hu.po: Update.
3788 * po/ia.po: Update.
3789 * po/id.po: Update.
3790 * po/it.po: Update.
3791 * po/ja.po: Update.
3792 * po/ko.po: Update.
3793 * po/lt.po: Update.
3794 * po/nb.po: Update.
3795 * po/nl.po: Update.
3796 * po/pl.po: Update.
3797 * po/pt_BR.po: Update.
3798 * po/ru.po: Update.
3799 * po/rw.po: Update.
3800 * po/sk.po: Update.
3801 * po/sl.po: Update.
3802 * po/sv.po: Update.
3803 * po/tr.po: Update.
3804 * po/uk.po: Update.
3805 * po/vi.po: Update.
3806 * po/zh_CN.po: Update.
3807 * po/zh_TW.po: Update.
3808
3f823f48
CD
3809 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3810 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3811 * sysdeps/hppa/dl-irel.h: Remove #warning.
3812 * sysdeps/hppa/entry.h: Provide prototype for
3813 __canonicalize_funcptr_for_compare and cast argument.
3814 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3815 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3816 * sysdeps/hppa/sotruss-lib.c: New file.
3817 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3818 (atomic_compare_and_exchange_val_acq): Use __typeof__.
3819 (atomic_compare_and_exchange_bool_acq): Likewise.
3820 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3821 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3822
3823 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3824 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3825 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3826
34c56048
CLT
38272015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3828
3829 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3830 called function in non-PIC case.
3831
d4abeca5
DM
38322015-01-31 David S. Miller <davem@davemloft.net>
3833
edac0a60
DM
3834 * sysdeps/sparc/sparc32/bits/atomic.h
3835 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3836 unlock not after it.
3837 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3838 volatile register usage warnings from the compiler.
3839
d4abeca5
DM
3840 * sysdeps/sparc/nptl/sem_init.c: Delete.
3841 * sysdeps/sparc/nptl/sem_post.c: Delete.
3842 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3843 * sysdeps/sparc/nptl/sem_wait.c: Delete.
3844 * sysdeps/sparc/sparc32/sem_init.c: New file.
3845 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3846 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3847 padding explicitly initialized.
3848 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3849 padding for in-semaphore spinlock.
3850 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3851 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3852 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3853 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3854 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3855 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3856 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3857 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3858 version.
3859 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3860 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3861
5f3d0b78
L
38622015-01-30 H.J. Lu <hongjiu.lu@intel.com>
3863
3864 [BZ #17801]
3865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3866 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
3867 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
3868 New.
3869 (index_AVX_Fast_Unaligned_Load): Likewise.
3870 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3871 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3872 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3873 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3874 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3875 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3876 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3877 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3878 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3879
b658fdd8
AS
38802015-01-29 Andreas Schwab <schwab@suse.de>
3881
3882 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3883
3cb26316
SP
38842015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3885
3886 [BZ #17892]
3887 * nscd/nscd_stat.c (send_stats): Initialize DATA.
3888
527de9e4
MS
38892015-01-28 Martin Sebor <msebor@redhat.com>
3890
3891 * math/README.libm-test: Clarify. Add "How to read the test output."
3892
06991eb8
CM
38932015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
3894
3895 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3896 Define to 0.
3897
df341342
JM
38982015-01-28 Joseph Myers <joseph@codesourcery.com>
3899
3900 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3901 (__HAVE_64B_ATOMICS): Define to 0.
3902
08cee2a4
AZ
39032015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3904
d4d0ecb2
AZ
3905 [BZ #17885]
3906 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3907 value to set as new flag.
3908
08cee2a4
AZ
3909 [BZ #16576]
3910 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3911 and use _ARCH_PPCSQ instead.
3912 (__ieee754_sqrt): Likewise.
3913 (__ieee754_sqrtf): Likewise.
3914 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3915 _ARCH_PPCSQ is defined.
3916 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3917 fsqrt instruction.
3918 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3919 _ARCH_PPCSQ is defined.
3920 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3921 fsqrts instruction.
3922 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3923
5fe8e359
AK
39242015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3925
3926 * iconv/loop.c: Suppress array out of bound warning caused by GCC
3927 bug (GCC BZ #64739).
3928
24bb7432
AS
39292015-01-25 Andreas Schwab <schwab@linux-m68k.org>
3930
fa20da31
AS
3931 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3932 Mark _retval as used.
3933 (lll_futex_wake_unlock): Likewise.
3934 (lll_futex_timed_wait_requeue_pi): Likewise.
3935
45819cbc
AS
3936 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3937 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3938 register variables.
3939
403cc231
AS
3940 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3941 libm_hidden_def.
3942
24bb7432
AS
3943 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3944 (__bswap_64): Mark as __always_inline.
3945
9317ea65
B
39462015-01-25 Bram <bug_rh@spam.wizbit.be>
3947
3948 [BZ #15378]
3949 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3950 when none of the search directories exist.
3951
0e87343e
AZ
39522015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3953
bea58013
AZ
3954 [BZ #17869]
3955 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3956 power8 in .machine directive.
3957
0e87343e
AZ
3958 [BZ #17868]
3959 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3960 set dependency from opd value.
3961
ede0236c
L
39622015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3963
3964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
3965 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3966 architecture.
ede0236c 3967
22971c35
L
39682015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3969
3970 [BZ #17870]
3971 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3972 with uint64_t.
3973 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3974 (uint64_t) 1.
e0da28a1 3975 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
3976 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3977 Replace 1UL with (uint64_t) 1.
3978 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3979 int with uint64_t.
3980
da5bf245
RM
39812015-01-23 Roland McGrath <roland@hack.frob.com>
3982
2ec2d703
RM
3983 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3984 (if_freenameindex): Likewise.
3985
da5bf245
RM
3986 * resource/getrlimit64.c: Add missing libc_hidden_def.
3987
d7423856
JM
39882015-01-22 Joseph Myers <joseph@codesourcery.com>
3989
3990 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3991 __label__.
3992 (_FP_FMA): Likewise.
3993 (_FP_TO_INT_ROUND): Likewise.
3994 (_FP_FROM_INT): Likewise.
3995
6b2ba95b
AZ
39962015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3997
3998 [BZ #16418]
3999 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4000 Make code racy and cancel safe.
4001
ccdb048d
CD
40022015-01-21 Carlos O'Donell <carlos@redhat.com>
4003
191220b3
CD
4004 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4005 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4006 attribution.
4007
0897c551
CD
4008 * pwd/tst-getpw.c: Rewrite.
4009
ccdb048d
CD
4010 [BZ #17702]
4011 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4012 (modules-names): Add moddummy1 and moddummy2.
4013 ($(objpfx)tst-rec-dlopen): Define.
4014 * dlfcn/moddummy1.c: New file.
4015 * dlfcn/moddummy2.c: New file.
4016 * dlfcn/tst-rec-dlopen.c: New file.
4017 * elf/dl-cache.c (_dl_load_cache_lookup):
4018 Return char*. Copy result with alloca/strcpy/strdup.
4019 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4020 returns char*. Free cached. If not saving realname
4021 free cached.
4022 * elf/dl-open.c (dl_open_worker): Do not assert that
4023 _r_debug->r_state is RT_CONSISTENT.
4024 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4025 returns char*.
4026
042e1521
CD
40272015-01-21 Torvald Riegel <triegel@redhat.com>
4028 Carlos O'Donell <carlos@redhat.com>
4029
4030 [BZ #12674]
4031 * nptl/sem_waitcommon.c: New file.
4032 * nptl/sem_wait.c: Include sem_waitcommon.c.
4033 (__sem_wait_cleanup, do_futex_wait): Remove.
4034 (__new_sem_wait): Adapt.
4035 (__new_sem_trywait): New function.
4036 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4037 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4038 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4039 (sem_timedwait): Adapt.
4040 * nptl/sem_post.c (__new_sem_post): Adapt.
4041 (futex_wake): New function.
4042 (__old_sem_post): Add release MO fence.
4043 * nptl/sem_open.c (sem_open): Adapt.
4044 * nptl/sem_init.c (__new_sem_init): Adapt.
4045 (futex_private_if_supported): New function.
4046 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4047 (__old_sem_getvalue): Add using previous code.
4048 * sysdeps/nptl/internaltypes.h: Adapt.
4049 * nptl/tst-sem13.c (do_test): Adapt.
4050 * nptl/tst-sem11.c (main): Adapt.
4051 * nptl/sem_trywait.c: Remove.
4052 * nptl/DESIGN-sem.txt: Remove.
4053 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4054 (gen-as-const-headers): Remove structsem.sym.
4055 * nptl/structsem.sym: Remove.
4056 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4057 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4058 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4059 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4060 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4061 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4062 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4063 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4064 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4065 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4066 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4067 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4068 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4069 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4070 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4071 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4072 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4073 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4074 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4075 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4076 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4077 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4078
fe0e85af
CD
40792015-01-20 Carlos O'Donell <carlos@redhat.com>
4080
a8db092e
CD
4081 * INSTALL: Regenerated.
4082
fe0e85af
CD
4083 * po/libc.pot: Regenerated.
4084
522e6ee3
CLT
40852015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4086 Sandra Loosemore <sandra@codesourcery.com>
4087 Andrew Jenner <andrew@codesourcery.com>
4088 Joseph Myers <joseph@codesourcery.com>
4089 Nathan Sidwell <nathan@codesourcery.com>
4090
4091 * NEWS: Mention new Nios II port.
4092 * sysdeps/nios2/Implies: New file.
4093 * sysdeps/nios2/Makefile: New file.
4094 * sysdeps/nios2/Subdirs: New file.
4095 * sysdeps/nios2/Versions: New file.
4096 * sysdeps/nios2/__longjmp.S: New file.
4097 * sysdeps/nios2/abort-instr.h: New file.
4098 * sysdeps/nios2/backtrace.c: New file.
4099 * sysdeps/nios2/bits/endian.h: New file.
4100 * sysdeps/nios2/bits/fenv.h: New file.
4101 * sysdeps/nios2/bits/link.h: New file.
4102 * sysdeps/nios2/bits/setjmp.h: New file.
4103 * sysdeps/nios2/bsd-_setjmp.S: New file.
4104 * sysdeps/nios2/bsd-setjmp.S: New file.
4105 * sysdeps/nios2/configure: New generated file.
4106 * sysdeps/nios2/configure.ac: New file.
4107 * sysdeps/nios2/crti.S: New file.
4108 * sysdeps/nios2/crtn.S: New file.
4109 * sysdeps/nios2/dl-init.c: New file.
4110 * sysdeps/nios2/dl-machine.h: New file.
4111 * sysdeps/nios2/dl-sysdep.h: New file.
4112 * sysdeps/nios2/dl-tls.h: New file.
4113 * sysdeps/nios2/dl-trampoline.S: New file.
4114 * sysdeps/nios2/gccframe.h: New file.
4115 * sysdeps/nios2/gmp-mparam.h: New file.
4116 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4117 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4118 * sysdeps/nios2/ldsodefs.h: New file.
4119 * sysdeps/nios2/libc-tls.c: New file.
4120 * sysdeps/nios2/libm-test-ulps: New file.
4121 * sysdeps/nios2/machine-gmon.h: New file.
4122 * sysdeps/nios2/math-tests.h: New file.
4123 * sysdeps/nios2/math_private.h: New file.
4124 * sysdeps/nios2/memusage.h: New file.
4125 * sysdeps/nios2/nptl/Makefile: New file.
4126 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4127 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4128 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4129 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4130 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4131 * sysdeps/nios2/nptl/tls.h: New file.
4132 * sysdeps/nios2/preconfigure: New file.
4133 * sysdeps/nios2/s_fma.c: New file.
4134 * sysdeps/nios2/s_fmaf.c: New file.
4135 * sysdeps/nios2/setjmp.S: New file.
4136 * sysdeps/nios2/sfp-machine.h: New file.
4137 * sysdeps/nios2/sotruss-lib.c: New file.
4138 * sysdeps/nios2/stackguard-macros.h: New file.
4139 * sysdeps/nios2/stackinfo.h: New file.
4140 * sysdeps/nios2/start.S: New file.
4141 * sysdeps/nios2/sysdep.h: New file.
4142 * sysdeps/nios2/tls-macros.h: New file.
4143 * sysdeps/nios2/tst-audit.h: New file.
4144 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4145 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4146 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4147 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4148 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4149 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4150 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4151 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4152 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4153 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4154 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4155 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4156 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4157 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4158 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4159 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4160 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4161 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4162 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4163 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4164 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4165 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4166 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4167 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4168 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4169 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4170 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4171 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4172 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4173 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4174 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4175 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4176 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4177 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4178 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4179 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4180 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4181 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4182 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4183 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4184 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4185 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4186 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4187 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4188
026eb207
SL
41892015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4190
4191 [BZ #17844]
4192 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4193 (getutent): Use weak_alias in non SHARED case
4194 and default_symbol_version in SHARED case.
4195 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4196 (getutent_r, pututline): Likewise.
4197 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4198 (getutid): Likewise.
4199 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4200 (getutid_r): Likewise.
4201 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4202 (getutline): Likewise.
4203 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4204 (getutline_r): Likewise.
4205 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4206 (updwtmp): Likewise.
4207
1d532483
SL
42082015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4209
4210 [BZ #17848]
4211 * sysdeps/s390/s390-32/memcmp.S
4212 (memcmp_g5): Rename to __memcmp_g5.
4213 * sysdeps/s390/s390-32/memcpy.S
4214 (memcpy_g5): Rename to __memcpy_g5.
4215 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4216 (memcpy_mvcle) Rename to __memcpy_mvcle.
4217 * sysdeps/s390/s390-32/memset.S
4218 (memset_g5): Rename to __memset_g5.
4219 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4220 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4221 and use prefixed functions.
4222 * sysdeps/s390/s390-32/multiarch/memcmp.S
4223 (memcmp_z196): Rename to __memcmp_z196.
4224 (memcmp_z10): Rename to __memcmp_z10.
4225 (memcmp): Set alias to __memcmp_g5.
4226 (bcmp): Set alias to __memcmp_g5.
4227 * sysdeps/s390/s390-32/multiarch/memcpy.S
4228 (memcpy_z196): Rename to __memcpy_z196.
4229 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4230 (memcpy_z10): Rename to __memcpy_z10.
4231 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4232 (memcpy): Set alias to __memcpy_g5.
4233 * sysdeps/s390/s390-32/multiarch/memset.S
4234 (memset_z196): Rename to __memset_z196.
4235 Jump to __memset_mvcle instead of memset_mvcle.
4236 (memset_z10): Rename to __memset_z10.
4237 Jump to __memset_mvcle instead of memset_mvcle.
4238 (memset_mvcle) Rename to __memset_mvcle.
4239 (memset): Set alias to __memset_g5.
4240 * sysdeps/s390/s390-64/memcmp.S
4241 (memcmp_z900): Rename to __memcmp_z900.
4242 * sysdeps/s390/s390-64/memcpy.S
4243 (memcpy_z900): Rename to __memcpy_z900.
4244 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4245 (memcpy_mvcle) Rename to __memcpy_mvcle.
4246 * sysdeps/s390/s390-64/memset.S
4247 (memset_z900): Rename to __memset_z900.
4248 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4249 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4250 and use prefixed functions.
4251 * sysdeps/s390/s390-64/multiarch/memcmp.S
4252 (memcmp_z196): Rename to __memcmp_z196.
4253 (memcmp_z10): Rename to __memcmp_z10.
4254 (memcmp): Set alias to __memcmp_z900.
4255 (bcmp): Set alias to __memcmp_z900.
4256 * sysdeps/s390/s390-64/multiarch/memcpy.S
4257 (memcpy_z196): Rename to __memcpy_z196.
4258 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4259 (memcpy_z10): Rename to __memcpy_z10.
4260 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4261 (memcpy): Set alias to __memcpy_z900.
4262 * sysdeps/s390/s390-64/multiarch/memset.S
4263 (memset_z196): Rename to __memset_z196.
4264 Jump to __memset_mvcle instead of memset_mvcle.
4265 (memset_z10): Rename to __memset_z10.
4266 Jump to __memset_mvcle instead of memset_mvcle.
4267 (memset_mvcle) Rename to __memset_mvcle.
4268 (memset): Set alias to __memset_z900.
4269
53fbd169
JM
42702015-01-14 Joseph Myers <joseph@codesourcery.com>
4271
4272 [BZ #17748]
4273 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4274 __fesetenv instead of fesetenv.
4275
d639a363
SP
42762015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4277
4278 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4279 macro.
4280
d3b00f46
AZ
42812015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4282
ce6615c9
AZ
4283 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4284 regression on LE.
4285
d3b00f46
AZ
4286 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4287 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4288 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4289 strncmp-power8 object.
4290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4291 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4292 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4293 * NEWS: Update.
4294
72607db0
RS
42952015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4296 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4297
4298 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4299 trailing byte check.
4300
54dc5461
DM
43012015-01-13 David S. Miller <davem@davemloft.net>
4302
4303 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4304
1c6e6f23
RM
43052015-01-13 Roland McGrath <roland@hack.frob.com>
4306
4307 * login/logout.c (logout): Use memset rather than bzero.
4308 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4309 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4310 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4311 (_gethtbyaddr): Likewise.
4312 * locale/programs/simple-hash.c (bcopy): Macro removed.
4313
96d6fd6c
AZ
43142015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4315
8bedcb5f
AZ
4316 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4317 Add strcmp-power8 object.
4318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4319 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4320 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4321 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4322 __strcmp_power8 implementation.
4323 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4324 * NEWS: Update.
4325
f06a4faf
AZ
4326 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4327 Add strncpy-power8 and stpncpy-power8 objects.
4328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4329 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4330 implementations.
4331 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4332 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4333 __stpncpy_power8 implementation.
4334 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4335 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4336 __strncpy_power8 implementation.
4337 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4338 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4339 * NEWS: Update.
4340
9f2f36e5
AZ
4341 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4342 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4343 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4344
96d6fd6c 4345 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
4346 strncat-power8 object.
4347 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4348 __strcat_power8 implementation.
4349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4350 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4351 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4352 optimized strcat for power8.
4353
4354 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
4355 strcpy-power8 and stpcpy-power8 objects.
4356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4357 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4358 implementations.
4359 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4360 multiarch stpcpy implementation for POWER8.
4361 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4362 multiarch strcpy implementation for POWER8.
4363 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4364 __strcpy_power8 function.
4365 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4366 stpcpy for POWER8.
4367 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4368 strcpy for POWER8.
4369 * NEWS: Update.
4370
0f9e5854
LH
43712015-01-13 Leonhard Holz <leonhard.holz@web.de>
4372
4373 [BZ #16009]
4374 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4375 weights and rules. Use do_xfrm_cached if data fits in cache,
4376 do_xfrm otherwise. Moved former main loop to...
4377 * (do_xfrm_cached): New function.
4378 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4379 find_idx, find_position and stack_push.
4380 * (find_idx): New function.
4381 * (find_position): Likewise.
4382 * localedata/sort-test.sh: Added test run for do_xfrm.
4383 * localedata/xfrm-test.c (main): Added command line option
4384 -nocache to run the test with strings that are too large for
4385 the STRXFRM cache.
4386
c60ec0e0
TR
43872015-01-13 Torvald Riegel <triegel@redhat.com>
4388
4389 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4390 variable to lll_futex_wake call, not the value itself.
4391
34e93d6c
JM
43922015-01-12 Joseph Myers <joseph@codesourcery.com>
4393
5a9e4c09
JM
4394 [BZ #17803]
4395 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4396 twom64. Adjust value to 0x1p-64L.
4397 (__scalblnl): Only return standard underflowing result for K <=
4398 -64 not K <= -63; adjust exponent for underflowing result by 64
4399 not 63.
4400 * math/libm-test.inc (scalbn_test_data): Add more tests.
4401 (scalbln_test_data): Likewise.
4402
34e93d6c
JM
4403 [BZ #17834]
4404 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4405 0x1p63L.
4406 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4407 not HX.
4408 * math/libm-test.inc (scalbn_test_data): Add more tests.
4409 (scalbln_test_data): Likewise.
4410
ca677d3c
AZ
44112015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4412 Stefani Seibold <stefani@seibold.net>
4413
4414 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4415 (sysdep_routines): Add dl-vdso here, ...
4416 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4417 (sysdep_routines): ... not here.
4418 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4419 fallback when vDSO is not presented.
4420 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4421 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4422 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4423 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4424 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4425 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4426 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4427 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4428 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4429 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4430 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4431 fallback configurable symbol when vDSO is not available.
4432 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4433 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4434 be able to redefine fallback symbol when vDSO is not available.
4435 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4436 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4437
49a9f6ab 44382015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 4439
56cf2763
AZ
4440 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4441 (TLS_INIT_TP): Add tm_capable initialization.
4442 (TLS_DEFINE_INIT_TP): Likewise.
4443 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4444 TCB.
4445 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4446 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4447 calculation.
4448 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4449 transactoion is lock elision is built and TCB tm_capable is set.
4450 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4452 (INTERNAL_SYSCALL_NCS): Likewise.
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4454 (INTERNAL_SYSCALL_NCS): Likewise.
4455 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4456
4b45943a
AZ
4457 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4458 for powerpc.
4459 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4460 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4461 and remove it for 32 bits case.
4462 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4463 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4464 initialization.
4465 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4466 Disable lock elision with rdlocks if elision is not available.
4467
8d2c0a59
AZ
4468 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4469 (sysdep_routines): Add lock elision objects.
4470 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4471 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4472 [pthread_mutex_t] (__elision): Add field.
4473 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4474 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4475 elision definitions for powerpc.
4476 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4477 implementation of lock elision for powerpc.
4478 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4479 implementation of timed lock elision for powerpc.
4480 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4481 implementation of trylock with lock elision for powerpc.
4482 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4483 implementaion of unlock for lock elision for powerpc.
4484 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4485 automatic enable lock elision for mutexes.
4486 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4487 transaction execution definitions for powerpc.
4488 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4489 definitions.
4490 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4491 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4492 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4493 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4494 * NEWS: Update.
4495
bc0ed9f7
RM
44962015-01-09 Roland McGrath <roland@hack.frob.com>
4497
4498 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4499 for #include of <shm-directory.h>.
4500
585d9c18
CLT
45012015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4502
4503 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4504 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4505
aee6626c
MF
45062015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4507
4508 [BZ #17791]
4509 * NEWS: Mention bug fix.
4510 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4511 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4512 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4513
9e560f48
TR
45142015-01-09 Torvald Riegel <triegel@redhat.com>
4515
4516 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4517
e1cfbd0c
TR
45182015-01-09 Torvald Riegel <triegel@redhat.com>
4519
4520 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4521
cf71e44f
DH
45222015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4523
4524 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4525 pointer and cast to uintptr_t.
4526
b360ee62
DH
45272015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4528
4529 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4530 removed.
4531 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4532
caff764e
DH
45332015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4534
4535 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4536 of 0.
4537
59ff172f
RM
45382015-01-08 Roland McGrath <roland@hack.frob.com>
4539
c97d27f1
RM
4540 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4541 <nptl/pthreadP.h> instead.
4542 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4543
08734ccd
RM
4544 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4545 already defined.
4546 [__SIGRTMIN] (init): Function removed.
4547 [__SIGRTMIN] (initialized): Variable removed.
4548 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4549 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4550 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4551 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4552 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4553 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4554 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4555 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4556 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4557 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4558 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4559 * sysdeps/nptl/allocrtsig.c: New file.
4560 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4561 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4562 * sysdeps/generic/testrtsig.h: File removed.
4563
7b052e33
RM
4564 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4565 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4566
cc40d25e
RM
4567 * nptl/nptl-init.c (pthread_functions): Conditionalize
4568 .ptr__nptl_setxid initialization on [SIGSETXID].
4569
9287adf0
RM
4570 * sysdeps/nptl/sys/procfs.h: New file.
4571 * nptl_db/Makefile (headers): Add it.
4572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4573
59ff172f
RM
4574 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4575 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4576 * nptl/pthread_attr_setaffinity.c: Include it.
4577 * nptl/pthread_setattr_default_np.c: Likewise.
4578 * nptl/check-cpuset.h: New file.
4579
b9205857
RH
45802015-01-08 Richard Henderson <rth@redhat.com>
4581
4582 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4583 (CFLAGS-tst-execstack-prog.c): Likewise.
4584 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4585
1a0a8d15
CLT
45862015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4587 Sandra Loosemore <sandra@codesourcery.com>
4588 Andrew Jenner <andrew@codesourcery.com>
4589 Joseph Myers <joseph@codesourcery.com>
4590 Nathan Sidwell <nathan@codesourcery.com>
4591
4592 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4593 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4594 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4595 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4596 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4597 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4598 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
4599 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4600 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4601 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4602 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4603 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4604 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
4605 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4606 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4607 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4608 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4609
dd6e8af6
AZ
46102015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4611
4612 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4613 timespec struct member in syscall macro.
4614 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4615 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4616 first timeval struct member in syscall macro.
4617 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4618
8116321f
JM
46192015-01-07 Joseph Myers <joseph@codesourcery.com>
4620
4621 [BZ #17748]
4622 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4623 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4624 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4625 __feupdateenv and define as weak alias of __feupdateenv. Use
4626 libm_hidden_weak.
4627 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4628 libm_hidden_def.
4629 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4630 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4631 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4632 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4633 libm_hidden_def.
4634 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4635 __feupdateenv and define as weak alias of __feupdateenv. Use
4636 libm_hidden_weak.
4637 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4638 libm_hidden_def.
4639 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4640 __feupdateenv and define as weak alias of __feupdateenv. Use
4641 libm_hidden_weak.
4642 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4643 libm_hidden_def.
4644 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4645 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4646 (__feupdateenv): Likewise.
4647 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4648 __feupdateenv and define as weak alias of __feupdateenv. Use
4649 libm_hidden_weak.
4650 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4651 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4652 libm_hidden_def.
4653 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4654 function.
4655 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4656 libm_hidden_def.
4657 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4658 __feupdateenv instead of feupdateenv.
4659 (default_libc_feupdateenv_test): Likewise.
4660 (libc_feresetround_ctx): Likewise.
4661
882dfe18
AZ
46622015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4663
4664 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4665 prototype.
4666
39a12f8d
CM
46672015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4668
4669 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4670 COLL_SYM in a couple of places to avoid uninitialized variable
4671 wanings on tilegx gcc 4.8.2.
4672
dc400d7b
RE
46732015-01-07 Richard Earnshaw <rearnsha@arm.com>
4674
4675 * sysdeps/aarch64/strcpy.S: New file.
4676 * sysdeps/aarch64/stpcpy.S: New file.
4677 * NEWS: Updated.
4678
ec582ca0
RE
46792015-01-07 Richard Earnshaw <rearnsha@arm.com>
4680
4681 * sysdeps/aarch64/strrchr.S: New file.
4682 * NEWS: Updated.
4683
d5b1c5ed
EB
46842015-01-07 Eric Biggers <ebiggers3@gmail.com>
4685
4686 [BZ #17658]
4687 * stdlib/setenv.c: Fix memory leak when setting large,
4688 duplicate string.
4689
fb87ee96
VN
46902015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
4691
60f046a8 4692 [BZ #17273]
fb87ee96
VN
4693 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4694 and tabs from buffer before parsing fstab entry.
4695 * misc/tst-mntent.c (main): Add test for mount entry with
4696 trailing spaces and tabs.
4697
cd42798a
JM
46982015-01-06 Joseph Myers <joseph@codesourcery.com>
4699
01238691
JM
4700 [BZ #17748]
4701 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
4702 * math/fesetround.c (fesetround): Rename to __fesetround and
4703 define as weak alias of __fesetround. Use libm_hidden_weak.
4704 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4705 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4706 * sysdeps/arm/fesetround.c (fesetround): Likewise.
4707 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4708 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4709 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4710 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4711 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4712 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4713 __fesetround_inline.
4714 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4715 __fesetround_inline instead of __fesetround.
4716 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4717 __fesetround and define as weak alias of __fesetround. Use
4718 libm_hidden_weak. Call __fesetround_inline instead of
4719 __fesetround.
4720 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4721 __fesetround and define as weak alias of __fesetround. Use
4722 libm_hidden_weak.
4723 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4724 Likewise.
4725 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4726 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4727 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4728 * sysdeps/tile/math_private.h (__fesetround): New inline function.
4729 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4730 __fesetround and define as weak alias of __fesetround. Use
4731 libm_hidden_weak.
4732 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4733 __fesetround instead of fesetround.
4734 (default_libc_feholdexcept_setround): Likewise.
4735 (libc_feholdsetround_ctx): Likewise.
4736 (libc_feholdsetround_noex_ctx): Likewise.
4737
cd42798a
JM
4738 [BZ #17748]
4739 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4740 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4741 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4742 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4743 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4744 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4745 define as weak alias of __fesetenv. Use libm_hidden_weak.
4746 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4747 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4748 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4749 define as weak alias of __fesetenv. Use libm_hidden_weak.
4750 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4751 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4752 define as weak alias of __fesetenv. Use libm_hidden_weak.
4753 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4754 libm_hidden_def.
4755 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4756 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4757 Likewise.
4758 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4759 define as weak alias of __fesetenv. Use libm_hidden_weak.
4760 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4761 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4762 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4763 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4764 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4765 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4766 __fesetenv instead of fesetenv.
4767 (libc_feresetround_noex_ctx): Likewise.
4768 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4769 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4770 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4771 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4772 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4773 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4774 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4775 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4776 (__feupdateenv): Likewise.
4777 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4778 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4779 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4780 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4781
38949026
AJ
47822015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4783
1cf98e27 4784 [BZ #17806]
38949026
AJ
4785 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4786 addresses have been freed.
4787
5fe55e9c
AJ
47882015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4789
4790 * resolv/res_init.c (__res_vinit): Improve comments about nserv
4791 and nservall.
4792
dc8ab018
OB
47932015-01-06 Ondřej Bílka <neleai@seznam.cz>
4794
4795 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4796 Clean up check_pf allocation pattern. addresses
4797
14bb4e57
AZ
47982015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4799
4800 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4801 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4802 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4803 * nptl/pthread_exit.c (__pthread_exit): Likewise.
4804 * nptl/pthread_join.c (pthread_join): Likewise.
4805 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4806 * sysdeps/posix/waitid.c (__waitid): Likewise.
4807 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4808 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4809 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4810 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4811 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4812 Likewise.
4813 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4814 (__libc_pread64): Likewise.
4815 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4816 (__libc_pwrite): Likewise.
4817 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4818 (__libc_pwrite64): Likewsie.
4819 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4820 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4821 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4822 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4823 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4824 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4825 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4827 Likewise.
4828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4829 (__libc_pread64): Likewise.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4831 Likewise.
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4833 (__libc_pwrite64): Likewise.
4834 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4835 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4836 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4837 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4838 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4839 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4840 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4841 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4842 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4843 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4844 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4845 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4846 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4847 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4848 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4849 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4850 Likewise.
4851
10a5e112
AS
48522015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4853
4854 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4855 (CFLAGS-test-double.c): Likewise.
4856 (CFLAGS-test-ldouble.c): Likewise.
4857 (CPPFLAGS-test-ifloat.c): Likewise.
4858 (CPPFLAGS-test-idouble.c): Likewise.
4859 (CPPFLAGS-test-ildoubl.c): Likewise.
4860 (CFLAGS-test-test-fenv.c): Remove variable.
4861 (CFLAGS-test-misc.c): Likewise.
4862
57ada0e7
L
48632015-01-06 H.J. Lu <hongjiu.lu@intel.com>
4864
4865 [BZ #17797]
4866 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
4867 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
4868 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
4869 CLOCKS_PER_SEC == 1000000.
4870 * time/clocktest.c (main): Replace %ld with %jd and cast to
4871 intmax_t.
4872
46abb64d
RM
48732015-01-05 Roland McGrath <roland@hack.frob.com>
4874
4875 * sysdeps/generic/unwind-resume.h: New file.
4876 * sysdeps/gnu/unwind-resume.c: Include it.
4877 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4878 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4879 argument list.
4880 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4881 global rather than static.
4882 (_Unwind_Resume): Update user.
4883 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4884 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
4885 rather than static. Add __attribute__ ((cold)).
4886 (_Unwind_Resume, __gcc_personality_v0): Update callers.
4887 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4888 * sysdeps/arm/arm-unwind-resume.S: New file.
4889 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4890 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4891 * sysdeps/arm/Makefile [$(subdir) = csu]
4892 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4893 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4894 Add rt-arm-unwind-resume.
4895 [$(subdir) = nptl]
4896 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4897 Add pt-arm-unwind-resume.
4898 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4899 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4900
ef9faf13
JM
49012015-01-05 Joseph Myers <joseph@codesourcery.com>
4902
4903 [BZ #17748]
4904 * include/fenv.h (__feholdexcept): Declare. Use
4905 libm_hidden_proto.
4906 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4907 define as weak alias of __feholdexcept. Use libm_hidden_weak.
4908 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4909 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4910 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4911 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4912 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4913 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4914 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4915 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4916 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4917 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4918 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4919 (feholdexcept): Likewise.
4920 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4921 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4922 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4923 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4924 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4925 __feholdexcept instead of feholdexcept.
4926 (default_libc_feholdexcept_setround): Likewise.
4927
295a453e
SE
49282015-01-05 Steve Ellcey <sellcey@imgtec.com>
4929
4930 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4931 to avoid using stl/str to align destination.
4932
882c4b9f
SE
49332015-01-05 Steve Ellcey <sellcey@imgtec.com>
4934
4935 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4936
ac4c11f5
JM
49372015-01-05 Joseph Myers <joseph@codesourcery.com>
4938
4939 [BZ #17796]
4940 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4941 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4942 Define as weak alias not strong alias.
4943
03403e30
SE
49442015-01-05 Steve Ellcey <sellcey@imgtec.com>
4945
4946 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4947 bltzal with addiupc.
4948 (RTLD_START): Ditto.
4949
1dca195e
CM
49502015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
4951
00b8b9ba
SP
4952 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4953 for __vdso_* functions in declarations.
4954 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4955 definitions.
4956 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4957 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 4958
1dca195e
CM
4959 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4960 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4961 function with cast from llround().
4962 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4963 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4964 Define.
4965
a287953a
JM
49662015-01-05 Joseph Myers <joseph@codesourcery.com>
4967
ab70da77
JM
4968 [BZ #17793]
4969 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4970 Define as weak alias not strong alias.
4971
b8986484
JM
4972 [BZ #17635]
4973 * ctype/ctype-c99.c: New file. isblank implementation moved from
4974 ...
4975 * ctype/ctype-extn.c: ... here.
4976 (__isblank_l): Move to ...
4977 * ctype/ctype-c99_l.c: ... here. New file.
4978 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4979 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4980 Remove variable.
4981 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4982 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4983 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4984 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4985 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4986
a287953a
JM
4987 [BZ #17777]
4988 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4989 (posix_fadvise64): Define as weak alias not strong alias.
4990 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4991 (posix_fallocate64): Likewise.
4992 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4993 Remove variable.
4994 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4995 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4996 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4997 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4998 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4999
b1efe3bb
MF
50002015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5001
5002 [BZ #16191]
5003 * NEWS: Mention bug fix.
5004 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5005 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5006 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5007 (HOST_STACK_END_ADDR): Likewise.
5008
9706dc5f
JM
50092015-01-02 Joseph Myers <joseph@codesourcery.com>
5010
b93c2205
JM
5011 [BZ #17748]
5012 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5013 * math/fegetround.c (fegetround): Rename to __fegetround and
5014 define as weak alias of __fegetround. Use libm_hidden_weak.
5015 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5016 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5017 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5018 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5019 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5020 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5021 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5022 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5023 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5024 Undefine after rather than before function definition; use
5025 parentheses around function name in definition.
5026 (__fegetround): Also undefine macro after function definition.
5027 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5028 __fegetround and define as weak alias of __fegetround. Use
5029 libm_hidden_weak. Do not undefine as macro.
5030 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5031 Likewise.
5032 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5033 __fegetround and define as weak alias of __fegetround. Use
5034 libm_hidden_weak.
5035 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5036 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5037 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5038 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5039 __fegetround and define as weak alias of __fegetround. Use
5040 libm_hidden_weak.
5041 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5042 __fegetround instead of fegetround.
5043
253a59cc
JM
5044 [BZ #17782]
5045 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5046 Condition macro definition on [__USE_MISC].
5047
27dae011
JM
5048 [BZ #17781]
5049 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5050 (struct sigaction): Change type of sa_flags field to int.
5051
172019c0
JM
5052 [BZ #17780]
5053 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5054 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5055 __glibc_reserved0.
5056
522ad1d6
JM
5057 * nptl/version.c (banner): Use single year in copyright notice.
5058
9706dc5f
JM
5059 * NEWS: Update copyright dates.
5060 * catgets/gencat.c (print_version): Likewise.
5061 * csu/version.c (banner): Likewise.
5062 * debug/catchsegv.sh: Likewise.
5063 * debug/pcprofiledump.c (print_version): Likewise.
5064 * debug/xtrace.sh (do_version): Likewise.
5065 * elf/ldconfig.c (print_version): Likewise.
5066 * elf/ldd.bash.in: Likewise.
5067 * elf/pldd.c (print_version): Likewise.
5068 * elf/sotruss.sh: Likewise.
5069 * elf/sprof.c (print_version): Likewise.
5070 * iconv/iconv_prog.c (print_version): Likewise.
5071 * iconv/iconvconfig.c (print_version): Likewise.
5072 * locale/programs/locale.c (print_version): Likewise.
5073 * locale/programs/localedef.c (print_version): Likewise.
5074 * login/programs/pt_chown.c (print_version): Likewise.
5075 * malloc/memusage.sh (do_version): Likewise.
5076 * malloc/memusagestat.c (print_version): Likewise.
5077 * malloc/mtrace.pl: Likewise.
5078 * manual/libc.texinfo: Likewise.
5079 * nptl/version.c (banner): Likewise.
5080 * nscd/nscd.c (print_version): Likewise.
5081 * nss/getent.c (print_version): Likewise.
5082 * nss/makedb.c (print_version): Likewise.
5083 * posix/getconf.c (main): Likewise.
5084 * scripts/test-installation.pl: Likewise.
5085 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5086
b8607aac
WN
50872015-01-02 Will Newton <will.newton@linaro.org>
5088
5089 * sysdeps/arm/armv7/configure: Removed.
5090 * sysdeps/arm/armv7/configure.ac: Likewise.
5091
b168057a
JM
50922015-01-02 Joseph Myers <joseph@codesourcery.com>
5093
5094 * All files with FSF copyright notices: Update copyright dates
5095 using scripts/update-copyrights.
5096 * intl/plural.c: Regenerated.
5097 * locale/programs/charmap-kw.h: Likewise.
5098 * locale/programs/locfile-kw.h: Likewise.
5099
b217c15f
SP
51002015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5101
5102 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5103
73a268c7
JM
51042014-12-31 Joseph Myers <joseph@codesourcery.com>
5105
5106 [BZ #17748]
5107 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5108 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5109 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5110 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5111 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5112 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5113 define as weak alias of __fegetenv. Use libm_hidden_weak.
5114 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5115 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5116 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5117 define as weak alias of __fegetenv. Use libm_hidden_weak.
5118 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5119 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5120 define as weak alias of __fegetenv. Use libm_hidden_weak.
5121 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5122 libm_hidden_def.
5123 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5124 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5125 Likewise.
5126 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5127 define as weak alias of __fegetenv. Use libm_hidden_weak.
5128 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5129 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5130 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5131 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5132 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5133 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5134 __fegetenv instead of fegetenv.
5135 (libc_feholdsetround_noex_ctx): Likewise.
5136
0bd95672
MF
51372014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5138
5139 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5140 (Elf_MIPS_ABIFlags_v0): New structure.
5141 (EF_MIPS_FP64): Define.
5142 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5143 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5144 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5145 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5146 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5147 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5148 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5149 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5150 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5151 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5152 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5153 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5154 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5155 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5156 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5157 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5158 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5159 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5160 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5161 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5162 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5163 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5164 field.
5165 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5166 EF_MIPS_FP64.
5167 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5168 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5169 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5170 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5171 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5172 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5173 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5174 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5175 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5176 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5177 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5178 record the current FP ABI extension.
5179 (mips-mode-switch): Define to show if kernel headers support mode
5180 switching.
5181 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5182 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5183 supported SYSV ABI version to 3.
5184 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5185 feature.
5186
f59ad976
RS
51872014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5188 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5189
5190 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5191 path.
5192 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5193
4a3d3999
JM
51942014-12-31 Joseph Myers <joseph@codesourcery.com>
5195
5196 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5197 __fegetround and redefine to call __fegetround. Remove condition
5198 on [!__NO_MATH_INLINES].
5199 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5200 function.
5201 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5202 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5203 Remove macro.
5204 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5205 instead of <fenv_libc.h>.
5206 (__llrintl): Call fegetround instead of __fegetround.
5207 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5208 instead of <fenv_libc.h>.
5209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5210 (__lrintl): Call fegetround instead of __fegetround.
5211 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5212 instead of <fenv_libc.h>.
5213 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5214 (__rintl): Call fegetround instead of __fegetround.
5215
195f3afc
SP
52162014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5217
5218 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5219 arrays.
5220
7062bd42
L
52212014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5222
5223 [BZ #17775]
5224 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5225 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5226 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5227
07256e18
AS
52282014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5229
5230 * sysdeps/i386/tls-macros.h: Include <features.h>.
5231 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5232 (TLS_IE): Likewise.
5233 (TLS_LD): Likewise.
5234 (TLS_GD): Likewise.
5235 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5236 define for GCC >= 5.0.
5237
1ff950ad
CM
52382014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5239
5240 * math/test-fenv.c (test_single_exception, set_single_exc,
5241 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5242 feexcp_mask_test, feenable_test, fe_single_test): Add
5243 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5244 case where they are not used.
5245 * math/libm-test.inc: Likewise.
5246 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5247 unused in the absence of FP rounding/exception support.
5248 * stdio-common/tst-printf-round.c: Likewise.
5249 * stdlib/tst-strtod-round.c: Likewise.
5250 * stdlib/tst-strtod-underflow.c: Likewise.
5251
0747f818
JM
52522014-12-30 Joseph Myers <joseph@codesourcery.com>
5253
5254 [BZ #17723]
5255 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5256 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5257 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5258 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5259 libm_hidden_weak.
5260 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5261 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5262 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5263 libm_hidden_def.
5264 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5265 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5266 libm_hidden_weak.
5267 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5268 Likewise.
5269 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5270 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5271 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5272 libm_hidden_weak.
5273 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5274 libm_hidden_def.
5275 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5276 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5277 (__feraiseexcept): Likewise.
5278 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5279 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5280 libm_hidden_weak.
5281 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5282 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5283 libm_hidden_def.
5284 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5285 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5286 Use libm_hidden_def.
5287 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5288 libm_hidden_def.
5289 (feraiseexcept): Define as weak not strong alias. Use
5290 libm_hidden_weak.
5291 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5292 New inline function. Factored out of ...
5293 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5294 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5295 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5296 feraiseexcept.
5297 * math/w_acos.c (__acos): Likewise.
5298 * math/w_asin.c (__asin): Likewise.
5299 * math/w_ilogb.c (__ilogb): Likewise.
5300 * math/w_j0.c (y0): Likewise.
5301 * math/w_j1.c (y1): Likewise.
5302 * math/w_jn.c (yn): Likewise.
5303 * math/w_log.c (__log): Likewise.
5304 * math/w_log10.c (__log10): Likewise.
5305 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5306 * sysdeps/aarch64/fpu/math_private.h
5307 (libc_feupdateenv_test_aarch64): Likewise.
5308 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5309 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5310 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5311 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5312 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5313 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5314 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5315 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5316 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5317 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5318
8d2b2763
L
53192014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5320
5321 [BZ #17732]
5322 * io/test-utime.c (main): Replace %ld with %jd and cast to
5323 intmax_t.
41fad830 5324 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
5325 * nptl/tst-mutex5.c: Include <stdint.h>.
5326 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
5327 * posix/tst-regex.c (run_test): Likewise.
5328 (run_test_backwards): Likewise.
5d619de4
L
5329 * rt/tst-clock.c: Include <stdint.h>.
5330 (clock_test): Replace %ld with %jd and cast to intmax_t.
5331 * rt/tst-cpuclock1.c: Include <stdint.h>.
5332 (do_test): Replace %lu with %ju and cast to uintmax_t.
5333 * rt/tst-cpuclock2.c: Include <stdint.h>.
5334 (do_test): Replace %lu with %ju and cast to uintmax_t.
5335 * rt/tst-mqueue1.c: Include <stdint.h>.
5336 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5337 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5338 intmax_t.
5339 * rt/tst-mqueue4.c (do_test): Likewise.
5340 * rt/tst-timer4.c: Include <stdint.h>.
5341 (check_ts): Replace %ld with %jd and cast to intmax_t.
5342 (do_test): Likewise.
ad86fbc3
L
5343 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5344 and cast to intmax_t.
37f46900 5345 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
5346 * time/clocktest.c (main): Likewise.
5347 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 5348 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 5349
8b4416d8
AS
53502014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5351 H.J. Lu <hongjiu.lu@intel.com>
5352
5353 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5354 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5355 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5356 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5357 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5358 version if bit_Fast_Unaligned_Load is set.
5359 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5360 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5361 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5362 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5363 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5364 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5366 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5367 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5368 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5369 to 4.
5370 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5371 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5372 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5373 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5374
e47b8d3b
CM
53752014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
5376
6d6d7fde
CM
5377 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5378 instead of #if to avoid a Wundef warning.
5379 * stdlib/tst-limits.c (do_test): Likewise.
5380
cd2c37c9
CM
5381 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5382 parallel other exception macros.
5383 (fegetenv): Convert from macro to extern inline so that it applies
5384 retroactively to inline functions already seen by the compiler.
5385 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5386
e47b8d3b
CM
5387 * posix/Makefile (before-compile): Use $(objpfx) for
5388 posix-conf-vars-def.h.
5389
4a6aca7b
SP
53902014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5391
7910c2ae
SP
5392 * posix/getconf.c (main): Use size_t for type of I.
5393 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5394 NSPEC.
5395
50cbbaa9
SP
5396 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5397 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5398 * posix/posix-envs.def: Likewise.
5399 * sysdeps/posix/sysconf.c: Likewise.
5400 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5401 (specs): Remove array.
5402 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5403 array.
5404
3b566046
SP
5405 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5406 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5407 (__sysconf): Use CONF_IS_* macros.
5408
4a6aca7b
SP
5409 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5410 ($(objpfx)posix-conf-vars-def.h): New target.
5411 * posix/posix-conf-vars.list: New file.
5412 * posix/posix-conf-vars.h: New file.
5413 * posix/confstr.c: Include posix-conf-vars.h.
5414 (confstr): Use CONF_IS_* macros.
5415 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5416 CONF_IS_* macros.
5417 * scripts/gen-posix-conf-vars.awk: New file.
5418
7c1395a7
CM
54192014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5420
0025b4cc
CM
5421 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5422 fegetround): Add no-op macros to avoid linknamespace issues.
5423
d8aaf74b
CM
5424 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5425 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5426
5d24aa60
CM
5427 * sysdeps/unix/sysv/linux/tile/sysdep.h
5428 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5429 assembly-specific section to avoid a redefinition warning.
5430
7c1395a7
CM
5431 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5432 long before casting to pointer to avoid a cast warning.
5433
3c87c616
CM
54342014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5435
5436 * sysdeps/tile/tilegx/Implies: New file.
5437
f559d8cf
RE
54382014-12-23 Richard Earnshaw <rearnsha@arm.com>
5439
5440 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5441
7d81e8d6
FW
54422014-12-23 Florian Weimer <fweimer@redhat.com>
5443
5444 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5445
90aa3d09
JM
54462014-12-22 Joseph Myers <joseph@codesourcery.com>
5447
5448 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5449 not define.
5450 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5451 <kernel-features.h>.
5452 (__utimes) [__NR_utimes]: Make code unconditional.
5453 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5454 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5455 (__ASSUME_UTIMES): Do not undefine.
5456 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5457 (__ASSUME_UTIMES): Likewise.
5458 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5459 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5460 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5461 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5462
4c0c0e2a
SE
54632014-12-22 Steve Ellcey <sellcey@imgtec.com>
5464
5465 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5466
0dacd7a3
CM
54672014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5468
b638f96a
CM
5469 [BZ #17747]
5470 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5471 alias to weak alias for j0l, y0l.
5472 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5473 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5474
0dacd7a3
CM
5475 [BZ #17746]
5476 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5477 conversion.
5478
528479c4
SE
54792014-12-22 Steve Ellcey <sellcey@imgtec.com>
5480
5481 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5482 to zero if not already defined.
5483
f56f9124
JM
54842014-12-22 Joseph Myers <joseph@codesourcery.com>
5485
5486 [BZ #17724]
5487 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5488 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5489 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5490 (char *) casts added.
5491 * sysdeps/ieee754/k_standardf.c: New file.
5492 * sysdeps/ieee754/k_standardl.c: Likewise.
5493 * math/Makefile (libm-support): Remove k_standard.
5494 (libm-calls): Add k_standard.
5495
8622d556
WD
54962014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5497
5498 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5499 Optimize to avoid an unnecessary FPCR read.
5500
f3806bdb
WD
55012014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5502
5503 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5504 Optimize to reduce FPCR/FPSR accesses.
5505
9b47df58
WD
55062014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5507
5508 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5509 Call libc_fetestexcept_aarch64.
5510
97be3cac
WD
55112014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5512
5513 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5514 Call libc_fesetround_aarch64.
5515
935ab817
JM
55162014-12-22 Joseph Myers <joseph@codesourcery.com>
5517
5518 [BZ #17733]
5519 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5520 (__bind): Do not define as weak alias.
5521 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5522 define.
5523 (__getsockname): Do not define as weak alias.
5524
cc8623f1
WN
55252014-12-22 Will Newton <will.newton@linaro.org>
5526
5527 * manual/install.texi: Document that we require bison 2.7
5528 or above.
5529 * INSTALL: Regenerate.
5530 * configure.ac: Use AC_CHECK_PROG_VER instead of
5531 AC_PATH_PROG when checking for bison and check for
5532 version 2.7 or above.
5533 * configure: Regenerate.
5534
a19ca65a
CM
55352014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5536
92901170 5537 [BZ #17745]
e969965a
CM
5538 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5539 * sysdeps/tile/ffsll.c (ffsll): To here.
5540
a19ca65a
CM
5541 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5542
050f7298
L
55432014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5544
5545 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5546 if not defined.
5547 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5548 definition.
5549 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5550 hidden ___tls_get_addr.
5551 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5552 hidden __tls_get_addr.
5553 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5554 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5555 Likewise.
5556
6df5547e
AS
55572014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5558
5559 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5560 _dl_init call.
5561
7432d613
L
55622014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5563
5564 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5565 from "call _dl_init@PLT".
5566 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 5567
98fe149e
AK
55682014-12-21 Anders Kaseorg <andersk@mit.edu>
5569
5570 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5571 guarantees.
5572
d12455f5
CM
55732014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5574
5575 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5576
95dee05f
CM
55772014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5578
92901170 5579 [BZ #17744]
95dee05f
CM
5580 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5581 strnlen.
5582
2ef4b74a
SE
55832014-12-19 Steve Ellcey <sellcey@imgtec.com>
5584
5585 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5586 of multu on MIPSr6.
5587 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5588 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5589 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5590 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5591 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5592
55932014-12-19 Steve Ellcey <sellcey@imgtec.com>
5594
5595 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5596 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5597 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5598 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 5599 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
5600 mips32r6/mips64r6.
5601 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5602
3eb38795
OB
56032014-12-19 Ondřej Bílka <neleai@seznam.cz>
5604
5605 * string/strncat.c (STRNCAT): Simplify implementation.
5606
6d4188dd
DM
56072014-12-19 David S. Miller <davem@davemloft.net>
5608
0d4ba8be
DM
5609 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5610 access the quad as both a long double and as a series of 4 words.
5611
6d4188dd
DM
5612 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5613 link_map->l_info array access.
5614
4ef91cdc
CM
56152014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5616
804c54f7
CM
5617 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5618
4ef91cdc
CM
5619 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5620 * math/atest-exp2.c (TIMEOUT): Likewise.
5621 * math/atest-sincos.c (TIMEOUT): Likewise.
5622
afd176d6
L
56232014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5624
5625 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5626 -Wno-error with -fno-builtin-lround.
5627
a4a43a90
TR
56282014-12-19 Torvald Riegel <triegel@redhat.com>
5629
5630 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5631 Contains futex constants and functions moved over from ...
5632 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5633 <lowlevellock-futex.h>.
5634 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5635 (lll_timedwait_tid): Add comments and parentheses around macro
5636 arguments.
5637
76f71081
TR
56382014-12-19 Torvald Riegel <triegel@redhat.com>
5639
5640 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5641 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5642 (__lll_private_flag): Remove.
5643 (lll_futex_wait): Likewise.
5644 (lll_futex_timed_wait): Likewise.
5645 (lll_futex_wake): Likewise.
5646 (lll_futex_requeue): Likewise.
5647 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5648 (__lll_timedwait_tid): Spell out argument names.
5649 (lll_timedwait_tid): Add comments and parentheses around macro
5650 arguments.
5651 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5652 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5653
6b814909
TR
56542014-12-19 Torvald Riegel <triegel@redhat.com>
5655
5656 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5657 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5658 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5659 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5660 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5661 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5662 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5663 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5664 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5665 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5666 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5667 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5668 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5669 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5670 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5671 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5672 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5673 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5674 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5675
9cd4d4ab
L
56762014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5677
5678 * sysdeps/x86_64/x32/Makefile: New file.
5679
c9c1a2d0
L
56802014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5681
5682 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5683 1L with (mp_limb_t) 1.
5684
af102d95
RM
56852014-12-17 Roland McGrath <roland@hack.frob.com>
5686
dd690454
RM
5687 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5688 * nptl/libc_pthread_init.c: ... here.
5689 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5690 * nptl/register-atfork.c: ... here.
5691
74eb826c
RM
5692 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5693 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5694 Use assert_perror to check its return value.
5695 (__gai_create_helper_thread): Likewise.
5696
c9ce306b
RM
5697 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5698
af102d95
RM
5699 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5700
8ac5a76a
JM
57012014-12-17 Joseph Myers <joseph@codesourcery.com>
5702
ea41469b
JM
5703 [BZ #17725]
5704 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5705 __profil_counter.
5706 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5707 Likewise.
5708 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5709 Likewise.
5710 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5711 Likewise.
5712 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5713 (profil_counter): Likewise.
5714 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5715 (profil_counter): Likewise.
5716 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5717 Likewise.
5718 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5719 Likewise.
5720 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5721 (profil_counter): Likewise.
5722 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5723 Likewise.
5724 [!__profil_counter] (profil_counter): Define as weak alias of
5725 __profil_counter.
5726 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5727 (profil_counter): Rename to __profil_counter.
5728 [!__profil_counter] (profil_counter): Define as weak alias of
5729 __profil_counter.
5730 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5731 (profil_counter): Rename to __profil_counter.
5732 [!__profil_counter] (profil_counter): Define as weak alias of
5733 __profil_counter.
5734 * sysdeps/posix/profil.c: Update comment referring to
5735 profil_counter.
5736 (__profil): Use __profil_counter instead of profil_counter.
5737 * sysdeps/posix/sprofil.c (profil_counter): Rename to
5738 __profil_counter. Use __profil_counter_ushort and
5739 __profil_counter_uint in definitions.
5740 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5741 instead of profil_counter_uint and profil_counter_ushort.
5742
8ac5a76a
JM
5743 [BZ #17722]
5744 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5745 define as weak alias of __inet_makeaddr.
5746 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5747 as weak alias of __inet_addr.
5748 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5749 as weak alias of __inet_pton. Use libc_hidden_weak.
5750 * include/arpa/inet.h (__inet_pton): Declare. Use
5751 libc_hidden_proto.
5752 (inet_makeaddr): Don't use libc_hidden_proto.
5753 (__inet_makeaddr): Declare. Use libc_hidden_proto.
5754 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5755 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
5756 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5757 Remove variable.
5758 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5759 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5760
66ce3cb1
SE
57612014-12-17 Steve Ellcey <sellcey@imgtec.com>
5762
5763 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5764
d22ce01b
SL
57652014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5766
5767 * stdio-common/bug-vfprintf-nargs.c (do_test):
5768 Cast value to intptr_t to avoid format warning
5769 for usage with PRIdPTR printing macro.
5770
eca2772b
SL
57712014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5772
5773 * libio/tst-widetext.c (do_test):
5774 Use format type %td instead of %Zd for ptrdiff_t
5775 in order to avoid format warning.
5776
bdf079da
AS
57772014-12-17 Andreas Schwab <schwab@suse.de>
5778
5779 * nscd/mem.c (gc): Add size_t cast to match printf format.
5780
3eb5d2fc
RM
57812014-12-16 Roland McGrath <roland@hack.frob.com>
5782
5783 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5784 (init): Apply PTR_MANGLE to pointers before storing them.
5785 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5786 before using them.
5787
d003ada2
JM
57882014-12-16 Joseph Myers <joseph@codesourcery.com>
5789
380292ba
JM
5790 [BZ #17719]
5791 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5792 define as weak alias of __memrchr.
5793 (__memrchr): Do not define as strong alias of memrchr.
5794 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5795 Remove variable.
5796 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5797 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5798 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5799
9a44d530
JM
5800 [BZ #17717]
5801 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5802 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
5803 (if_indextoname): Rename to __if_indextoname and define as weak
5804 alias of __if_indextoname. Use libc_hidden_weak.
5805 (if_freenameindex): Rename to __if_freenameindex and define as
5806 weak alias of __if_freenameindex.
5807 (if_nameindex): Rename to __if_nameindex and define as weak alias
5808 of __if_nameindex.
5809 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5810 __if_nametoindex and define as weak alias of __if_nametoindex.
5811 Use libc_hidden_weak.
5812 (if_freenameindex): Rename to __if_freenameindex and define as
5813 weak alias of __if_freenameindex.
5814 (if_nameindex): Rename to __if_nameindex and define as weak alias
5815 of __if_nameindex.
5816 (if_indextoname): Rename to __if_indextoname and define as weak
5817 alias of __if_indextoname. Use libc_hidden_weak.
5818 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5819 __if_nametoindex and define as weak alias of __if_nametoindex.
5820 Use libc_hidden_weak.
5821 (if_freenameindex): Rename to __if_freenameindex and define as
5822 weak alias of __if_freenameindex. Use libc_hidden_weak.
5823 (if_nameindex_netlink): Use __if_freenameindex instead of
5824 if_freenameindex.
5825 (if_nameindex): Rename to __if_nameindex and define as weak alias
5826 of __if_nameindex. Use libc_hidden_weak.
5827 (if_indextoname): Rename to __if_indextoname and define as weak
5828 alias of __if_indextoname. Use libc_hidden_weak.
5829 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5830 libc_hidden_proto.
5831 [!_ISOMAC] (__if_freenameindex): Likewise.
5832 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5833 if_nametoindex.
5834 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5835 variable.
5836 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5837 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5838 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5839 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5840 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5841 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5842 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5843
d003ada2
JM
5844 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5845 Remove variable.
5846 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5847 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5848
a0d424ef
SP
58492014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5850
0cd85520
SP
5851 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5852 subscript above bounds'
5853
a0d424ef
SP
5854 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5855 bounds.
5856
0e426475
AS
58572014-12-16 Arjun Shankar <arjun.is@lostca.se>
5858
8b460906
AS
5859 * libio/tst-fopenloc.c: Use test-skeleton.c.
5860
fa13e15b
AS
5861 * stdlib/tst-bsearch.c: Use test-skeleton.c.
5862 (entry): Rename to ITEM.
5863 (do_test, comp): Adjust.
5864
0e426475
AS
5865 * stdio-common/tst-fseek.c: Use test-skeleton.c.
5866
4f646bce
TR
58672014-12-16 Torvald Riegel <triegel@redhat.com>
5868
5869 * string/tester.c: Include <libc-internal.h>.
5870 (test_memset): Ignore -Wmemset-transposed-args.
5871
a07c4427
TR
58722014-12-16 Torvald Riegel <triegel@redhat.com>
5873
5874 * misc/tst-mntent2.c (do_test): Fix warning.
5875
1469f466
TR
58762014-12-16 Torvald Riegel <triegel@redhat.com>
5877
5878 * elf/tst-unique4lib.cc(a): Mark as used.
5879
11e3417a
FW
58802014-12-16 Florian Weimer <fweimer@redhat.com>
5881
5882 [BZ #17630]
5883 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5884 names.
5885
ae61fc7b
AM
58862014-12-16 Allan McRae <allan@archlinux.org>
5887
5888 * stdio-common/Makefile (tests): Re-add bug26.
5889
363a9899
OB
58902014-12-15 Ondřej Bílka <neleai@seznam.cz>
5891
5892 [BZ #17657]
5893 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5894 static array.
5895
d52c62df
TR
58962014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
5897
5898 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5899 (__lll_lock_wait): Likewise.
5900 (__lll_timedlock_wait): Likewise.
5901 (__lll_timedwait_tid): Likewise.
5902 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5903 (__lll_robust_timedlock_wait): Likewise.
5904 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5905 (lll_cond_trylock): Likewise.
5906 (__lll_lock): Likewise.
5907 (__lll_robust_lock): Likewise.
5908 (__lll_cond_lock): Likewise.
5909 (lll_robust_cond_lock): Likewise.
5910 (__lll_timedlock): Likewise.
5911 (__lll_robust_timedlock): Likewise.
5912 (__lll_unlock): Likewise.
5913 (__lll_robust_unlock): Likewise.
5914 (lll_wait_tid): Likewise.
5915 (lll_timedwait_tid): Likewise.
5916
045a6bcd
TR
59172014-12-15 Torvald Riegel <triegel@redhat.com>
5918
5919 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5920
7f786dc1
TR
59212014-12-15 Torvald Riegel <triegel@redhat.com>
5922
5923 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5924
e7e21cba
AZ
59252014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5926
5927 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5928 * stdio-common/tst-sprintf.c: Likewise.
5929
bc89c0fc
TR
59302014-12-15 Torvald Riegel <triegel@redhat.com>
5931
5932 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5933
a5357b7c
JL
59342014-12-15 Jeff Law <law@redhat.com>
5935
5936 [BZ #16617]
5937 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5938 on the heap. (CVE-2012-3406)
5939 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5940 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
5941 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5942
3a12c70f
WN
59432014-12-15 Will Newton <will.newton@linaro.org>
5944
5945 * manual/install.texi: Bump required version of texinfo
5946 to 4.7 from 4.5.
5947 * INSTALL: Regenerated.
5948 * configure.ac: Check for makeinfo version 4.7 and above.
5949 * configure: Regenerated.
5950
e4f639e4
RM
59512014-12-12 Roland McGrath <roland@hack.frob.com>
5952
5953 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5954 PREFIX, string constant to insert between directory and name.
5955 * sysdeps/posix/shm_open.c: Update caller.
5956 * sysdeps/posix/shm_unlink.c: Likewise.
5957 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5958 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5959 (SEM_SHM_PREFIX): New macro.
5960 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5961 [$(have-thread-library) = no].
5962 * nptl/Makefile (libpthread-routines): Add shm-directory.
5963 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5964 * sysdeps/nptl/shm-directory.h: New file.
5965 * sysdeps/posix/shm-directory.c
5966 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5967 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5968 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5969 INTERNAL_SYSCALL.
5970 (__where_is_shmfs): Function removed.
5971 (mountpoint, defaultmount, defaultdir, __namedsem_once):
5972 Variables removed.
5973 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5974 Use SHM_GET_NAME.
5975 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
5976
5977 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5978 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5979 unconditional for use inside libpthread.
5980 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5981
439c43f6
RM
59822014-12-12 Roland McGrath <roland@hack.frob.com>
5983
c76d1ff5
RM
5984 * nptl/pthread_getaffinity.c: New file.
5985 * nptl/pthread_setaffinity.c: New file.
5986 * nptl/pthread_getname.c: New file.
5987 * nptl/pthread_setname.c: New file.
5988
439c43f6
RM
5989 * nptl/pthread_create.c (START_THREAD_DEFN)
5990 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5991
48e435cd
SL
59922014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5993 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5994
5995 * resolv/res_send.c (send_vc): Disable warning resplen may
5996 be used uninitialized.
5997
9d9c0019
SL
59982014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5999
6000 * nptl/tst-mutex6.c
6001 (ATTR_NULL): New define checks ATTR against NULL.
6002 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6003 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6004
9173840b
JL
60052014-12-11 James Lemke <jwlemke@codesourcery.com>
6006
6007 [BZ #17581]
6008 * malloc/hooks.c
6009 (mem2mem_check): Revert my previous change.
6010 (malloc_check_get_size): Revert my previous change.
6011 (mem2chunk_check): Revert my previous change.
6012
78e21c5d
RM
60132014-12-11 Roland McGrath <roland@hack.frob.com>
6014
6015 * sysdeps/posix/shm-directory.c: New file.
6016 * sysdeps/posix/shm-directory.h: New file.
6017 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6018 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6019 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6020 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6021 Transmute EPERM to EACCES.
6022 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6023 from ...
6024 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6025 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6026
f82c43af
KK
60272014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6028
6029 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6030 pointer and cast to uintptr_t.
6031 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6032 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6033 Add cast to avoid warning.
6034 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6035
fc00cf7b
JM
60362014-12-11 Joseph Myers <joseph@codesourcery.com>
6037
6038 * nptl/semaphore.h: Move to ...
6039 * sysdeps/pthread/semaphore.h: ... here.
6040 * Makefile (installed-headers): Change nptl/semaphore.h to
6041 sysdeps/pthread/semaphore.h.
6042
1c4053db
RM
60432014-12-11 Roland McGrath <roland@hack.frob.com>
6044
73b0c1a1
RM
6045 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6046 generated error format strings.
6047
1c4053db
RM
6048 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6049 -Wformat-extra-args warnings for scanf formats.
6050 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6051 test of zero-length format (duh).
6052 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6053 corner-case scanf format test.
6054 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6055 generated fprintf format string.
6056 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6057 corner-case sprintf format tests.
6058 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6059 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6060 -Wformat-extra-args warnings throughout.
6061 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6062 (CFLAGS-scanf4.c): Likewise.
6063 (CFLAGS-scanf7.c): Likewise.
6064 (CFLAGS-tst-sprintf.c): Likewise.
6065 (CFLAGS-tst-printf.c): Likewise.
6066 (CFLAGS-tst-printfsz.c): Likewise.
6067
47d51f4f
JM
60682014-12-11 Joseph Myers <joseph@codesourcery.com>
6069
a1edbf3c
JM
6070 * include/cpio.h: New file.
6071 * include/fmtmsg.h: Likewise.
6072
47d51f4f
JM
6073 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6074 corresponding format argument to size_t.
6075 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6076 arguments.
6077 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6078 corresponding format argument to size_t.
6079 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6080 arguments.
6081 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6082 corresponding format argument to size_t.
6083 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6084 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6085 (CFLAGS-tst-mbswcs2.c): Likewise.
6086 (CFLAGS-tst-mbswcs3.c): Likewise.
6087 (CFLAGS-tst-mbswcs4.c): Likewise.
6088 (CFLAGS-tst-mbswcs5.c): Likewise.
6089 (CFLAGS-tst-trans.c): Likewise
6090
e9813cfb
RM
60912014-12-11 Roland McGrath <roland@hack.frob.com>
6092
6093 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6094 rather than assuming they won't contain any '%'s.
6095
f627ca82
CM
60962014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6097
6098 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6099 inhibit_loop_to_libcall to avoid recursive calls.
6100 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6101 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6102
7f296942
AZ
61032014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6104
6105 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6106 prototype.
6107
d0276e18
SE
61082014-12-11 Steve Ellcey <sellcey@imgtec.com>
6109
6110 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6111 integer value instead of boolean.
6112
fc56e970
SE
61132014-12-11 Steve Ellcey <sellcey@imgtec.com>
6114
6115 * malloc/malloc.c: Fix powerof2 check.
6116
40e53917
SL
61172014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6118
6119 * locale/programs/locfile.h (maybe_swap_uint32):
6120 Remove inline and add unused attribute.
6121
1ea166df
SL
61222014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6123
9d9c0019 6124 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
6125 Truncating assembler expression to a .long expression.
6126
acf869f4
AS
61272014-12-11 Andreas Schwab <schwab@suse.de>
6128
6129 * elf/rtld.c (struct map_args): Constify str member.
6130 (do_preload): Constify fname argument.
6131
9d969099
AZ
61322014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6133
6134 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6135 constants definition.
6136
da5bcaa4
AS
61372014-12-11 Andreas Schwab <schwab@suse.de>
6138
b0a3c164
AS
6139 [BZ #16657]
6140 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6141 FORCE_ELISION instead of DO_ELISION.
6142 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6143 Remove.
6144 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6145 Likewise.
6146
da5bcaa4
AS
6147 * iconvdata/gconv-modules: Remove duplicate entry.
6148
6d248857
WN
61492014-12-11 Will Newton <will.newton@linaro.org>
6150
6151 Merge gettext 0.19.3 into intl/.
6152
6153 This involves a number of cosmetic changes to comments
6154 and ANSI function definitions and prototypes throughout
6155 all the files. The gettext copyright header is used but
6156 with the date ranges taken from the glibc copy.
6157
6158 * NEWS: Add gettext merge to 2.21.
6159 * intl/bindtextdom.c: Switch to gettext copyright.
6160 Use ANSI definitions and prototypes.
6161 Use gl_* locking primitives rather than __libc_* ones.
6162 Use __builtin_expect rather than __glibc_likely/unlikely.
6163 * intl/dcgettext.c: Switch to gettext copyright.
6164 Use ANSI definitions and prototypes.
6165 * intl/dcigettext.c: Switch to gettext copyright.
6166 Use ANSI definitions and prototypes.
6167 (INTDIV0_RAISES_SIGFPE): New define.
6168 Use gl_* locking primitives rather than __libc_* ones.
6169 Include eval-plural.h instead of plural-eval.c.
6170 Use __builtin_expect rather than __glibc_likely/unlikely.
6171 * intl/dcngettext.c: Switch to gettext copyright.
6172 Use ANSI definitions and prototypes.
6173 * intl/dgettext.c: Likewise.
6174 * intl/dngettext.c: Likewise.
6175 * intl/plural-eval.c: Renamed to...
6176 * intl/eval-plural.h: ...this.
6177 * intl/explodename.c: Switch to gettext copyright.
6178 Use ANSI definitions and prototypes.
6179 (_nl_explode_name): Use strchr instead of __rawmemchr.
6180 * intl/finddomain.c: Switch to gettext copyright.
6181 Use ANSI definitions and prototypes.
6182 Use gl_* locking primitives rather than __libc_* ones.
6183 (_nl_find_domain): Use malloc rather than alloca for
6184 allocation of temporary locale name.
6185 * intl/gettext.c: Switch to gettext copyright.
6186 Use ANSI definitions and prototypes.
6187 * intl/gettextP.h: Switch to gettext copyright.
6188 Use ANSI definitions and prototypes.
6189 Use gl_* locking primitives rather than __libc_* ones.
6190 * intl/gmo.h: Switch to gettext copyright.
6191 (struct sysdep_string): Move struct segment_pair outside of
6192 struct definition.
6193 * intl/hash-string.c: Use ANSI definitions and prototypes.
6194 * intl/hash-string.h: Switch to gettext copyright.
6195 Use ANSI definitions and prototypes.
6196 * intl/l10nflist.c: Switch to gettext copyright.
6197 Use ANSI definitions and prototypes.
6198 (_nl_normalize_codeset): Avoid integer overflow.
6199 * intl/loadinfo.h: Switch to gettext copyright.
6200 Use ANSI definitions and prototypes.
6201 (LIBINTL_DLL_EXPORTED): New define.
6202 (PATH_SEPARATOR): New define.
6203 * intl/loadmsgcat.c: Switch to gettext copyright.
6204 * intl/localealias.c: Switch to gettext copyright.
6205 Use ANSI definitions and prototypes.
6206 (_nl_expand_alias): Use PATH_SEPARATOR.
6207 * intl/ngettext.c: Switch to gettext copyright.
6208 Use ANSI definitions and prototypes.
6209 * intl/plural-exp.c: Likewise.
6210 * intl/plural-exp.h: Switch to gettext copyright.
6211 Use ANSI definitions and prototypes.
6212 (struct expression): Move definition of enum operator outside
6213 of struct definition.
6214 * intl/plural.c: Regenerate.
6215 * intl/plural.y: Switch to gettext copyright.
6216 Use ANSI definitions and prototypes.
6217 Port to bison 3.0.
6218 * intl/textdomain.c: Switch to gettext copyright.
6219 Use ANSI definitions and prototypes.
6220 Use gl_* locking primitives rather than __libc_* ones.
6221
48c43298
SE
62222014-12-10 Steve Ellcey <sellcey@imgtec.com>
6223
6224 * debug/warning-nop.c: Add used atrribute.
6225
2b89bce9
JM
62262014-12-10 Joseph Myers <joseph@codesourcery.com>
6227
c153ac9f
JM
6228 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6229
2b89bce9
JM
6230 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6231 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6232 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6233
2cfbdb9a
JM
62342014-12-10 Joseph Myers <joseph@codesourcery.com>
6235 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6236
6237 [BZ #17634]
6238 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6239 Undefine after defining function. Define as weak alias of
6240 __wcschr. Use libc_hidden_weak.
6241 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6242 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6243 (libc_hidden_def): Also define __GI___wcschr alias.
6244 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6245 __wcschr and define as weak alias of __wcschr.
6246 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6247 __wcschr.
6248 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6249 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6250 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6251 libc_hidden_weak. Do not use libc_hidden_def.
6252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6253 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6254 __GI___wcschr alias.
6255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6256 [IS_IN (libc)] (wcschr): Define as macro expanding to
6257 __redirect_wcschr.
6258 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6259 [IS_IN (libc)] (__wcschr_power6): Likewise.
6260 [IS_IN (libc)] (__wcschr_power7): Likewise.
6261 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6262 instead of wcschr.
6263 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6264 __libc_wcschr.
6265 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6266 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6267 __wcschr and define as weak alias of __wcschr. Use
6268 libc_hidden_builtin_def.
6269 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6270 as weak alias of __wcschr. Use libc_hidden_weak.
6271 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6272 wcschr.
6273 * time/era.c (_nl_init_era_entries): Likewise.
6274 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6275 variable.
6276 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6277 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6278
1b8bf351
JM
62792014-12-10 Joseph Myers <joseph@codesourcery.com>
6280
6281 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6282 format for long int variable.
6283
f5f46d51
AK
62842014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6285
6286 [BZ #10672]
07008f7d 6287 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
6288 qsort stable.
6289
217a74a8
AS
62902014-12-10 Andreas Schwab <schwab@suse.de>
6291
6292 [BZ #12847]
6293 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6294 user-controlled locks.
6295
aa76a5c7
RE
62962014-12-10 Richard Earnshaw <rearnsha@arm.com>
6297
6298 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6299 register.
6300
2084e7ca
JM
63012014-12-10 Joseph Myers <joseph@codesourcery.com>
6302
a4ecc9eb
JM
6303 * configure.ac (--disable-werror): New configure option.
6304 (enable_werror): New AC_SUBST.
6305 * configure: Regenerated.
6306 * config.make.in (enable-werror): New variable.
6307 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6308 -Wno-error=undef.
6309 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6310 * manual/install.texi (Configuring and compiling): Document
6311 --disable-werror.
6312 * INSTALL: Regenerated.
6313 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6314 (CFLAGS-tst-chk2.c): Likewise.
6315 (CFLAGS-tst-chk3.c): Likewise.
6316 (CFLAGS-tst-chk4.cc): Likewise.
6317 (CFLAGS-tst-chk5.cc): Likewise.
6318 (CFLAGS-tst-chk6.cc): Likewise.
6319 (CFLAGS-tst-lfschk1.c): Likewise.
6320 (CFLAGS-tst-lfschk2.c): Likewise.
6321 (CFLAGS-tst-lfschk3.c): Likewise.
6322 (CFLAGS-tst-lfschk4.cc): Likewise.
6323 (CFLAGS-tst-lfschk5.cc): Likewise.
6324 (CFLAGS-tst-lfschk6.cc): Likewise.
6325
0f88636c
JM
6326 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6327 (main): Disable -Wdeprecated-declarations around calls to
6328 register_printf_function.
6329
c81e9deb
JM
6330 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6331 (do_test): Disable -Wdiv-by-zero around some calls to
6332 fwrite_unlocked and fread_unlocked.
6333
2084e7ca
JM
6334 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6335 (DIAG_POP_NEEDS_COMMENT): Likewise.
6336 (_DIAG_STR1): Likewise.
6337 (_DIAG_STR): Likewise.
6338 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6339 * stdio-common/bug21.c: Include <libc-internal.h>.
6340 (do_test): Disable -Wformat around call to sscanf.
6341 * stdio-common/scanf14.c: Include <libc-internal.h>.
6342 (main): Disable -Wformat around some calls to scanf functions.
6343
df7ecc6b
TR
63442014-12-09 Torvald Riegel <triegel@redhat.com>
6345
6346 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6347
2aa3862e
AZ
63482014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6349
6350 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6351 stack variable alignment.
6352
c5c2b7c3
JM
63532014-12-06 Joseph Myers <joseph@codesourcery.com>
6354
6355 [BZ #17682]
6356 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6357 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6358 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6359 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6360 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6361 __getrlimit instead of getrlimit.
6362 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6363 __gettimeofday instead of gettimeofday.
6364 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6365 Likewise.
6366 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6367 Likewise.
6368 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6369 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6370 Remove variable.
6371 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6372 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6373
9752c3cd
AZ
63742014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6375
6376 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6377 for wide-character tests.
6378
4bee4cd9
RM
63792014-12-04 Roland McGrath <roland@hack.frob.com>
6380
6381 * io/openat64.c: #include <libc-internal.h>
6382 (__openat64): Prototypify. Use ignore_value on MODE.
6383 * io/openat.c: Likewise.
6384 * misc/reboot.c: #include <libc-internal.h>
6385 (reboot): Prototypify. Use ignore_value on HOWTO.
6386 * misc/ptrace.c: #include <libc-internal.h>
6387 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
6388
84dbedb6
JM
63892014-12-04 Joseph Myers <joseph@codesourcery.com>
6390
6391 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6392 XPG4, UNIX98 and XOPEN2K.
6393 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6394 Remove variable.
6395 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6396
b7a3e1c4 63972014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 6398
af50dfc1 6399 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
6400 * libio/iofopen.c: Likewise.
6401 * libio/wfileops.c: Likewise.
6402
fe8b4d98
SP
6403 [BZ #17653]
6404 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6405 offset on EOF.
6406 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6407 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6408 (fgets_func): Function pointer to fgets and fgetws.
6409 (do_ftell_test): Add test to verify ftell value after read
6410 EOF.
6411 (do_test): Set fgets_func.
6412
61b4f792
SP
6413 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6414 O_TRUNC flag for w and w+ modes.
6415 (do_rewind_test): Likewise.
6416 (do_ftell_test): Likewise.
6417 (do_write_test): Likewise.
6418
be349d70
SP
6419 [BZ #17647]
6420 * libio/fileops.c (do_ftell): Seek only when there are
6421 unflushed writes.
6422 * libio/wfileops.c (do_ftell_wide): Likewise.
6423 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6424 test case.
6425 (do_one_test): Call it.
6426
e3d6dba5
JM
64272014-12-03 Joseph Myers <joseph@codesourcery.com>
6428
6429 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6430 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6431 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6432 Remove variable.
6433 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6434 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6435 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6436
7f994279
JM
64372014-12-02 Joseph Myers <joseph@codesourcery.com>
6438
28a91e8f
JM
6439 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6440 Remove variable.
6441 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6442
7f994279
JM
6443 [BZ #17668]
6444 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6445 as weak alias of __getifaddrs. Use libc_hidden_weak.
6446 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6447 __freeifaddrs. Use libc_hidden_weak.
6448 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6449 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6450 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6451 __freeifaddrs. Use libc_hidden_weak.
6452 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6453 __getifaddrs and define as weak alias of __getifaddrs. Use
6454 libc_hidden_weak.
6455 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6456 __freeifaddrs. Use libc_hidden_weak.
6457 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6458 Remove variable.
6459 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6460 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6461
bbe4c142
PJ
64622014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6463
6464 [BZ #17601]
6465 * sysdeps/mips/start.S (__start): Use indirect jump to call
6466 __libc_start_main.
6467
66cadc05
JM
64682014-12-02 Joseph Myers <joseph@codesourcery.com>
6469
909e16d9
JM
6470 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6471
4e0b9016
JM
6472 * nptl/tst-mutex1.c: Include <stdbool.h>.
6473 [!ATTR] (ATTR_NULL): New macro.
6474 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6475 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6476 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6477
b1aff6a4
JM
6478 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6479 to char *.
6480
266865c0
JM
6481 [BZ #17665]
6482 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6483 Change conditional to [__USE_MISC].
6484
84e5e756
JM
6485 [BZ #17664]
6486 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6487 fgets_unlocked.
6488 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6489 __fgets_unlocked.
6490 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6491 fgets_unlocked.
6492 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6493 Remove variable.
6494 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6495 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6496 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6497 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6498 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6499 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6500 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6501 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6502 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6503
66cadc05
JM
6504 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6505
2e8a2de2 65062014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
6507
6508 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6509 Remove strpbrk objects.
6510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6511 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6512 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6513 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6514 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6515 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6516
bb2542e0
AZ
6517 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6518 Remove strcspn objects.
6519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6520 (__libc_ifunc_impl_list): Remove strcspn implementation.
6521 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6522 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6523 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6524 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
6525
6526 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6527 Remove strspn objetcs.
6528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6529 (__libc_ifunc_impl_list): Remove strspn implementation.
6530 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6531 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6532 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6533 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6534
08f1e1d2
JL
65352014-12-01 James Lemke <jwlemke@codesourcery.com>
6536
6537 [BZ #17581]
6538 * malloc/hooks.c
6539 (mem2mem_check): Add a terminator to the chain of checking blocks.
6540 (malloc_check_get_size): Use it here.
6541 (mem2chunk_check): Ditto.
6542
a8a7d7d2
RS
65432014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6544
6545 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6546 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6547
97114a38
CD
65482014-11-29 Carlos O'Donell <carlos@redhat.com>
6549
c8dc1727
CD
6550 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6551
6d03458e
CD
6552 * nptl/nptl-init.c: Include libc-internal.h.
6553 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6554
97114a38
CD
6555 * elf/ldconfig.c (search_dir): Expand comment.
6556
0e7e69ba
JM
65572014-11-29 Joseph Myers <joseph@codesourcery.com>
6558
6559 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6560 variable.
6561 (linknamespace-symlist-stdlibs-tests): Likewise.
6562 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6563 instead of $(objpfx)symlist-stdlibs.
6564 (linknamespace-libs-isoc): New variable.
6565 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6566 (linknamespace-libs-ISO): New variable.
6567 (linknamespace-libs-ISO99): Likewise.
6568 (linknamespace-libs-ISO11): Likewise.
6569 (linknamespace-libs-XPG3): Likewise.
6570 (linknamespace-libs-XPG4): Likewise.
6571 (linknamespace-libs-POSIX): Likewise.
6572 (linknamespace-libs-UNIX98): Likewise.
6573 (linknamespace-libs-XOPEN2K): Likewise.
6574 (linknamespace-libs-POSIX2008): Likewise.
6575 (linknamespace-libs-XOPEN2K8): Likewise.
6576 ($(objpfx)symlist-stdlibs): Replace by
6577 $(linknamespace-symlist-stdlibs-tests). Use
6578 $(linknamespace-libs-$*) as set of libraries.
6579 ($(linknamespace-header-tests)): Update dependencies. Use
6580 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6581 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6582 * conform/linknamespace.pl: Remove comment about considering
6583 definitions of symbols from irrelevant libraries.
6584
d8dd0080
L
65852014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6586
6587 [BZ #13862]
6588 * elf/dl-tls.c: Include <atomic.h>.
6589 (oom): Remove #ifdef SHARED/#endif.
6590 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6591 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6592 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6593 big enough.
6594 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6595 * nptl/Makefile (tests): Add tst-stack4.
6596 (modules-names): Add tst-stack4mod.
6597 ($(objpfx)tst-stack4): New.
6598 (tst-stack4mod.sos): Likewise.
6599 ($(objpfx)tst-stack4.out): Likewise.
6600 ($(tst-stack4mod.sos)): Likewise.
6601 (clean): Likewise.
6602 * nptl/tst-stack4.c: New file.
6603 * nptl/tst-stack4mod.c: Likewise.
6604
167da422
B
66052014-11-27 J. Brown <jb999@gmx.de>
6606
6607 * sysdeps/x86/bits/string.h: Add recent CPUs.
6608
9114625b
JM
66092014-11-27 Joseph Myers <joseph@codesourcery.com>
6610
6b5189eb
JM
6611 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6612 sigblock.
6613
49051f8e
JM
6614 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6615 feof.
6616
9114625b
JM
6617 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6618 variable.
6619
e7300fef
SL
66202014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6621
6622 * nscd/connections.c: Include libc-internal.h because of macro
6623 usage ignore_value.
6624
1721f0a4
SP
66252014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6626
6627 * string/bits/string3.h (__warn_memset_zero_len): Don't
6628 declare for gcc newer than 5.0.
6629 (memset): Don't test for zero-length __LEN for gcc newer than
6630 5.0.
6631
be970916
JM
66322014-11-27 Joseph Myers <joseph@codesourcery.com>
6633
d88548f4
JM
6634 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6635 size_t for %zu format.
6636
be970916
JM
6637 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6638 difference, not %ju.
6639
3b20fd5c
JM
66402014-11-26 Joseph Myers <joseph@codesourcery.com>
6641
8915eace
JM
6642 * include/libc-internal.h (ignore_value): New macro.
6643 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6644 with ignore_value.
6645
f1a5a0e3
JM
6646 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6647 definition.
6648
59ef1715
JM
6649 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6650 pthread_cleanup_push to void *.
6651
a6f3079b
JM
6652 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6653 Undefine.
6654
706688aa
JM
6655 [BZ #16619]
6656 [BZ #16740]
6657 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6658 instead of 1L << 52.
6659
12da14a5
JM
6660 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6661 * libio/bug-rewind2.c (do_test): Likewise.
6662
bd5dadac
JM
6663 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6664 * debug/test-strcpy_chk-ifunc.c: Likewise.
6665 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6666 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6667 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6668 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6669 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6670 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6671 * Rules [$(multi-arch) = no] (tests): Do not filter out
6672 $(tests-ifunc).
6673 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6674 * debug/Makefile (tests-ifunc): Remove variable.
6675 (tests): Do not add $(tests-ifunc).
6676 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6677 (tests): Do not add $(tests-ifunc).
6678 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6679 [TEST_IFUNC]: Remove conditionals.
6680 * string/test-string.h (TEST_IFUNC): Remove macro.
6681 [TEST_IFUNC]: Remove conditionals.
6682
3b20fd5c
JM
6683 * string/test-strchr.c [!WIDE] (L): New macro.
6684 [WIDE] (L): Likewise.
6685 (check1): Use CHAR instead of char. Use L on string and character
6686 constants.
6687
704f7947
AZ
66882014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6689
6690 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6691 tests.
6692 * sysdeps/powerpc/bits/atomic.h
6693 (__arch_atomic_exchange_and_add_32_acq): Add definition.
6694 (__arch_atomic_exchange_and_add_32_rel): Likewise.
6695 (atomic_exchange_and_add_acq): Likewise.
6696 (atomic_exchange_and_add_rel): Likewise.
6697 * sysdeps/powerpc/powerpc32/bits/atomic.h
6698 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6699 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6700 * sysdeps/powerpc/powerpc64/bits/atomic.h
6701 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6702 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6703
cdcb42d7
TR
67042014-11-26 Torvald Riegel <triegel@redhat.com>
6705
6706 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6707 Change synchronization of __sched_fifo_min_prio and
6708 __sched_fifo_max_prio.
6709 * nptl/pthread_mutexattr_getprioceiling.c
6710 (pthread_mutexattr_getprioceiling): Likewise.
6711 * nptl/pthread_mutexattr_setprioceiling.c
6712 (pthread_mutexattr_setprioceiling): Likewise.
6713 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6714 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6715 Likewise.
6716
c82f5c0c
JM
67172014-11-26 Joseph Myers <joseph@codesourcery.com>
6718
6719 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6720 void.
6721
439e1ad6
JM
67222014-11-25 Joseph Myers <joseph@codesourcery.com>
6723
6724 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6725 third argument const.
6726
b1eda10e
PE
67272014-11-25 Paul Eggert <eggert@cs.ucla.edu>
6728
6729 fnmatch: work around GCC compiler warning bug with uninit var
6730 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6731 This works around a bug with x86-64 GCC 4.9.2 and earlier
6732 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6733 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6734 used uninitialized in this function [-Wmaybe-uninitialized]".
6735
bde2667a
JM
67362014-11-25 Joseph Myers <joseph@codesourcery.com>
6737
6738 * posix/bug-regex31.c (main): Return RES not 0.
6739
5fbb5691
AB
67402014-11-25 Anton Blanchard <anton@samba.org>
6741
6742 * sysdeps/powerpc/bits/atomic.h
6743 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6744
467fec0b
BM
67452014-11-24 Sterling Augustine <saugustine@google.com>
6746
6747 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6748
e9ff8efb
RC
67492014-11-24 Ryan Cumming <etaoins@gmail.com>
6750
6751 [BZ #17608]
6752 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6753
9744496f
JM
67542014-11-24 Joseph Myers <joseph@codesourcery.com>
6755
6756 [BZ #17633]
6757 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6758 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6759 variable.
6760 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6761 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6762
6423d475
WD
67632014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6764
6765 * string/strncpy.c (strncpy): Improve performance by using memset.
6766
67672014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
6768
6769 * string/strcpy.c (strcpy):
6770 Improve performance by using strlen and memcpy.
6771
5d178c37
LH
67722014-11-24 Leonhard Holz <leonhard.holz@web.de>
6773
6774 * string/strcoll_l.c (get_next_seq): __always_inline.
6775 * string/strcoll_l.c (do_compare): __always_inline.
6776
279bc5b3
SP
67772014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6778
7a9ebfa1
SP
6779 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6780 defined.
6781 * include/mqueue.h: Likewise.
6782 * include/stdlib.h: Likewise.
6783
4f41c682
SP
6784 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6785 (get_null_defines): Adjust.
6786 * sunrpc/Makefile: Adjust comment.
6787 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6788 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6789 (CFLAGS-interp.c): Likewise.
6790 (CFLAGS-ldconfig.c): Likewise.
6791 (CPPFLAGS-.os): Likewise.
6792 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6793 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6794 * extra-modules.mk (extra-modules.mk): Likewise.
6795 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6796 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6797 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6798 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6799 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6800 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6801 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6802 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6803 * iconvdata/Makefile (CPPFLAGS): Likewise.
6804 (cpp-srcs-left): Add libof for all iconvdata routines.
6805 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6806 * include/assert.h: Likewise.
6807 * include/ctype.h: Likewise.
6808 * include/errno.h: Likewise.
6809 * include/libc-symbols.h: Likewise.
6810 * include/math.h: Likewise.
6811 * include/netdb.h: Likewise.
6812 * include/resolv.h: Likewise.
6813 * include/stdio.h: Likewise.
6814 * include/stdlib.h: Likewise.
6815 * include/string.h: Likewise.
6816 * include/sys/stat.h: Likewise.
6817 * include/wctype.h: Likewise.
6818 * intl/l10nflist.c: Likewise.
6819 * libidn/idn-stub.c: Likewise.
6820 * libio/libioP.h: Likewise.
6821 * nptl/libc_multiple_threads.c: Likewise.
6822 * nptl/pthreadP.h: Likewise.
6823 * posix/regex_internal.h: Likewise.
6824 * resolv/res_hconf.c: Likewise.
6825 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6826 * sysdeps/arm/memmove.S: Likewise.
6827 * sysdeps/arm/sysdep.h: Likewise.
6828 * sysdeps/generic/_itoa.h: Likewise.
6829 * sysdeps/generic/symbol-hacks.h: Likewise.
6830 * sysdeps/gnu/errlist.awk: Likewise.
6831 * sysdeps/gnu/errlist.c: Likewise.
6832 * sysdeps/i386/i586/memcpy.S: Likewise.
6833 * sysdeps/i386/i586/memset.S: Likewise.
6834 * sysdeps/i386/i686/memcpy.S: Likewise.
6835 * sysdeps/i386/i686/memmove.S: Likewise.
6836 * sysdeps/i386/i686/mempcpy.S: Likewise.
6837 * sysdeps/i386/i686/memset.S: Likewise.
6838 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6839 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6840 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6841 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6842 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6843 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6844 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6845 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6846 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6847 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6848 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6849 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6850 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6851 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6852 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6853 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6854 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6855 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6856 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6857 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6858 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6859 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6860 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6861 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6862 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6863 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6864 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
6865 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6866 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6874 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6876 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6877 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6878 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6879 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6880 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6881 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6882 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6883 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6884 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6885 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6886 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6887 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6888 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6889 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6890 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6891 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6892 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6893 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6894 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6895 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6896 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6897 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6898 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6899 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6900 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6901 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6902 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6903 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6904 * sysdeps/posix/closedir.c: Likewise.
6905 * sysdeps/posix/opendir.c: Likewise.
6906 * sysdeps/posix/readdir.c: Likewise.
6907 * sysdeps/posix/rewinddir.c: Likewise.
6908 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6909 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6910 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6911 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6912 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6914 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6916 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6918 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6920 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6921 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6922 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6923 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6924 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6925 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6928 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6930 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6932 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6934 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6941 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6944 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6945 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6946 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6947 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6948 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6949 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6950 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6951 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6952 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6953 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6954 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6955 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6956 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6957 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6958 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6959 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6960 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6961 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6962 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6963 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6964 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6965 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6966 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6967 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6968 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6969 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6970 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6971 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6972 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6973 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6974 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6975 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6976 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6977 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6978 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6979 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6980 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6981 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6982 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6983 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6984 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6985 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6986 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6987 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6988 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6989 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6990 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6991 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6992 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6993 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6994 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6995 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6996 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6997 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6998 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6999 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7000 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7001 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7002 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7004 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7006 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7007 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7008 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7009 * sysdeps/unix/alpha/sysdep.S: Likewise.
7010 * sysdeps/unix/alpha/sysdep.h: Likewise.
7011 * sysdeps/unix/make-syscalls.sh: Likewise.
7012 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7013 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7014 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7015 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7016 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7017 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7018 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7019 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7020 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7021 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7022 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7023 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7024 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7025 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7026 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7027 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7028 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7029 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7030 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7031 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7032 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7033 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7034 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7035 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7036 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7037 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7038 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7041 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7042 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7043 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7045 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7046 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7047 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7048 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7049 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7050 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7051 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7052 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7053 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7054 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7055 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7056 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7059 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7061 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7062 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7063 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7064 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7065 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7066 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7067 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7068 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7070 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7071 * sysdeps/x86_64/memcpy.S: Likewise.
7072 * sysdeps/x86_64/memmove.c: Likewise.
7073 * sysdeps/x86_64/memset.S: Likewise.
7074 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7075 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7076 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7077 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7078 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7079 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7080 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7081 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7082 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7083 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7084 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7085 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7086 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7087 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7088 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7089 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7091 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7093 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7094 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7095 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7098 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7099 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7100 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7101 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7102 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7103 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7104 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7105 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7106 * sysdeps/x86_64/strcmp.S: Likewise.
7107
76ca86a5
SP
7108 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7109
a3848485
SP
7110 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7111 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7112 * elf/rtld-Rules: Likewise.
7113 * elf/setup-vdso.h: Likewise.
7114 * include/assert.h: Likewise.
7115 * include/bits/stdlib-float.h: Likewise.
7116 * include/errno.h: Likewise.
7117 * include/sys/stat.h: Likewise.
7118 * include/unistd.h: Likewise.
7119 * sysdeps/aarch64/setjmp.S: Likewise.
7120 * sysdeps/alpha/setjmp.S: Likewise.
7121 * sysdeps/arm/__longjmp.S: Likewise.
7122 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7123 * sysdeps/arm/setjmp.S: Likewise.
7124 * sysdeps/arm/sysdep.h: Likewise.
7125 * sysdeps/generic/_itoa.h: Likewise.
7126 * sysdeps/generic/dl-sysdep.h: Likewise.
7127 * sysdeps/generic/ldsodefs.h: Likewise.
7128 * sysdeps/i386/dl-tls.h: Likewise.
7129 * sysdeps/i386/setjmp.S: Likewise.
7130 * sysdeps/m68k/setjmp.c: Likewise.
7131 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7132 * sysdeps/mach/hurd/opendir.c: Likewise.
7133 * sysdeps/posix/getcwd.c: Likewise.
7134 * sysdeps/posix/opendir.c: Likewise.
7135 * sysdeps/posix/profil.c: Likewise.
7136 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7137 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7138 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7140 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7141 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7142 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7143 * sysdeps/s390/dl-tls.h: Likewise.
7144 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7145 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7146 * sysdeps/sh/sh3/setjmp.S: Likewise.
7147 * sysdeps/sh/sh4/setjmp.S: Likewise.
7148 * sysdeps/unix/alpha/sysdep.h: Likewise.
7149 * sysdeps/unix/arm/sysdep.S: Likewise.
7150 * sysdeps/unix/i386/sysdep.S: Likewise.
7151 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7152 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7153 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7154 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7155 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7156 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7157 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7158 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7159 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7160 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7161 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7162 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7163 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7166 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7167 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7168 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7169 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7170 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7171 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7174 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7175 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7176 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7178 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7179 * sysdeps/x86_64/setjmp.S: Likewise.
7180
a109996e
SP
7181 * include/math.h: Use IS_IN instead of IS_IN_libm.
7182 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7183 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7186 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7194 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7196 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7197 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7202 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7203 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7204 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7205 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7206 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7207 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7209 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7210 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7211 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7212 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7213 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7214 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7216 Likewise.
7217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7218 Likewise.
7219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7220 Likewise.
7221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7222 Likewise.
7223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7224 Likewise.
7225 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7226 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7227 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7228 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7229 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7230 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7236 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7237 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7238 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7239 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7240 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7241 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7242 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7243 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7244 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7245 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7246 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7247 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7248 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7249 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7251 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7252
ce9f10f7
SP
7253 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7254 * nptl/pthreadP.h: Likewise.
7255 * nptl_db/structs.def: Likewise.
7256 * sysdeps/arm/sysdep.h: Likewise.
7257 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7258 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7259 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7260 * sysdeps/unix/alpha/sysdep.h: Likewise.
7261 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7262 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7263 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7264 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7265 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7266 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7267 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7268 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7269 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7270 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7271 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7272 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7273 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7274 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7279 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7282 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7283 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7284 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7285 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7286 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7287
016afc75
SP
7288 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7289 * nptl/pthreadP.h: Likewise.
7290 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7291 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7292 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7293 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7294 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7295 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7296 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7297 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7298 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7299 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7300 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7301 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7303 Likewise.
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7305 Likewise.
7306 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7307 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7308 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7311 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7312 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7313 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7314
9b42a0b3
SP
7315 * dlfcn/dladdr.c: Use IS_IN.
7316 * dlfcn/dladdr1.c: Likewise.
7317 * dlfcn/dlclose.c: Likewise.
7318 * dlfcn/dlerror.c: Likewise.
7319 * dlfcn/dlinfo.c: Likewise.
7320 * dlfcn/dlmopen.c: Likewise.
7321 * dlfcn/dlopen.c: Likewise.
7322 * dlfcn/dlsym.c: Likewise.
7323 * dlfcn/dlvsym.c: Likewise.
7324
85f36372
SP
7325 * include/ifaddrs.h: Use IS_IN.
7326 * inet/check_pf.c: Likewise.
7327 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7328 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7329
fb6784e3
SP
7330 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7331 IS_IN_ldconfig.
7332 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7333 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7334
2886d2d1
SP
7335 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7336 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7337 IS_IN (libc).
7338
9a484857
SP
7339 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7340
a10178bd
SP
7341 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7342 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7343 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7344 * include/libc-symbols.h (IS_IN_LIB): New macro.
7345 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7346 * include/netdb.h: Likewise.
7347 * include/stap-probe.h: Remove all uses of IN_LIB.
7348
279bc5b3
SP
7349 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7350 instead of IN_MODULE.
7351 * include/libc-symbols.h (IN_MODULE): Define using
7352 MODULE_NAME.
7353 (PASTE_NAME, PASTE_NAME1): New macros.
7354 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7355 of IN_LIB.
7356 (STAP_PROBE_ASM): Likewise.
7357
e0cfa510
ST
73582014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7359
7360 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7361 __mach_init in dlopened libc.
7362
34d97d87
MF
73632014-11-22 Mike Frysinger <vapier@gentoo.org>
7364
7365 * sysdeps/arm/preconfigure.ac: Delete EABI check.
7366 * sysdeps/arm/preconfigure: Regenerate.
7367
33cd1f74
RM
73682014-11-21 Roland McGrath <roland@hack.frob.com>
7369
7370 * nptl/pthread_create.c (__pthread_create_2_1): Set
7371 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7372 when copying values from IATTR into PD.
7373
8c230039
WN
73742014-11-21 Will Newton <will.newton@linaro.org>
7375 Andrew Pinski <andrew.pinski@caviumnetworks.com>
7376
6d3db89b
AP
7377 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7378 Refactor inline-asm. Also add comment.
7379
01194ba1
WN
7380 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7381 ElfW macro instead of hardcoded Elf64 types.
7382 (la_aarch64_gnu_pltenter): Likewise.
7383 * sysdeps/aarch64/dl-machine.h
7384 (elf_machine_runtime_setup): Use ElfW(Addr).
7385
8c230039
WN
7386 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7387 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7388 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7389 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7390 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7391 (R_AARCH64_TLS_DTPMOD64): Rename to ..
7392 (R_AARCH64_TLS_DTPMOD): This.
7393 (R_AARCH64_TLS_DTPREL64): Rename to ...
7394 (R_AARCH64_TLS_DTPREL): This.
7395 (R_AARCH64_TLS_TPREL64): Rename to ...
7396 (R_AARCH64_TLS_TPREL): This.
7397 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7398 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7399 R_AARCH64_TLS_TPREL64.
7400 (elf_machine_rela): Likewise.
7401
0d79fa53
TR
74022014-11-21 Torvald Riegel <triegel@redhat.com>
7403
7404 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7405 by setting it to 0. 64b atomics are not supported currently.
7406
b59d114b
AO
74072014-11-21 Alexandre Oliva <aoliva@redhat.com>
7408
7409 [BZ #16469]
7410 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7411 search domain names.
7412
f3d945d5
AO
74132014-11-21 Alexandre Oliva <aoliva@redhat.com>
7414
7415 [BZ #16469]
7416 * NEWS: Update.
7417 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7418 trailing dot.
7419 * posix/tst-getaddrinfo5.c: New.
7420 * posix/Makefile (tests): Add it.
7421
49698902
AO
74222014-11-21 Alexandre Oliva <aoliva@redhat.com>
7423
7424 [BZ #14498]
7425 * NEWS: Fixed.
7426 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7427 after parsing line but before break_if_match.
7428 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7429 if there is a protocol mismatch.
7430
81959214
MS
74312014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7432
7433 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7434 because the potential race is on the user-supplied stream.
7435
7729e0e9
AO
74362014-11-21 Alexandre Oliva <aoliva@redhat.com>
7437
7438 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7439 string literal if not passed a buffer.
7440 * manual/job.texi (ctermid): Update reasoning, note deviation
7441 from posix, suggest mtasurace when not passed a buffer, for
7442 future non-preliminary safety notes.
7443
a4ea5e28
AO
74442014-11-21 Alexandre Oliva <aoliva@redhat.com>
7445
7446 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7447 of not passing it a buffer.
7448 Reported by Peng Haitao.
7449
a2b581cb
AO
74502014-11-21 Alexandre Oliva <aoliva@redhat.com>
7451
7452 * manual/Makefile ($(objpfx)stamp-summary): Require
7453 check-safety.sh to pass.
7454 * manual/check-safety.sh: Wish for verification that every
7455 @deftypefn and @deftypefun is followed by a @safety remark.
7456
f214ff74
RM
74572014-11-20 Roland McGrath <roland@hack.frob.com>
7458
7f0dfae0
RM
7459 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7460
2f531bbb
RM
7461 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7462 PTHREAD_CANCEL_ASYNCHRONOUS.
7463 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7464 send SIGCANCEL.
7465
f214ff74
RM
7466 * nptl/default-sched.h: New file.
7467 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7468 * nptl/pthread_create.c: Include it.
7469 (__pthread_create_2_1): Use collect_default_sched instead of making
7470 Linux syscalls here directly.
7471
e37c91d4
TR
74722014-11-20 Torvald Riegel <triegel@redhat.com>
7473
7474 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7475 __pthread_once): Use C11 atomics.
7476
1eccfecd
TR
74772014-11-20 Torvald Riegel <triegel@redhat.com>
7478
7479 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7480
ff871426
TR
74812014-11-20 Torvald Riegel <triegel@redhat.com>
7482
7483 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7484 atomic_thread_fence_acquire, atomic_thread_fence_release,
7485 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7486 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7487 atomic_compare_exchange_weak_relaxed,
7488 atomic_compare_exchange_weak_acquire,
7489 atomic_compare_exchange_weak_release,
7490 atomic_exchange_acquire, atomic_exchange_release,
7491 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7492 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7493 atomic_fetch_and_acquire,
7494 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7495
1ea339b6
TR
74962014-11-20 Torvald Riegel <triegel@redhat.com>
7497
7498 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7499 USE_ATOMIC_COMPILER_BUILTINS): Define.
7500 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7501 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7502 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7503 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7504 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7505 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7506 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7507 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7508 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7509 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7510 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7511 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7512 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7513 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7514 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7515 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7516 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7517 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7518 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7519 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7520 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7521 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7522 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7523 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7524 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7525 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7526 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7527 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7528 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7529 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7530 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7531 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7532 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7533 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7534 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7535 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7536 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7537 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7538 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7539 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7540
cbd463e2
RM
75412014-11-19 Roland McGrath <roland@hack.frob.com>
7542
d960211f
RM
7543 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7544 the sched_priority value here. It was already checked when the user
7545 called pthread_attr_setschedparam.
7546
cbd463e2
RM
7547 * nptl/tst-bad-schedattr.c: New file.
7548 * nptl/Makefile (tests): Add it.
7549
a39208bd
CD
75502014-11-19 Carlos O'Donell <carlos@redhat.com>
7551 Florian Weimer <fweimer@redhat.com>
7552 Joseph Myers <joseph@codesourcery.com>
7553 Adam Conrad <adconrad@0c3.net>
7554 Andreas Schwab <schwab@suse.de>
7555 Brooks <bmoses@google.com>
7556
7557 [BZ #17625]
7558 * wordexp-test.c (__dso_handle): Add prototype.
7559 (__register_atfork): Likewise.
7560 (__app_register_atfork): New function.
7561 (registered_forks): New global.
7562 (register_fork): New function.
7563 (test_case): Add 3 new tests for WRDE_CMDSUB.
7564 (main): Call __app_register_atfork.
7565 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7566 fork count is non-zero fail the test.
7567 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7568 is set.
7569 (parse_dollars): Remove check for WRDE_NOCMD.
7570 (parse_dquote): Likewise.
7571
9cd47470
SP
75722014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7573
130ac68c
SP
7574 * Makeconfig (built-modules): List non-library modules to be
7575 built.
7576 (module-cppflags): Include libc-modules.h for
7577 everything except shlib-versions.v.i.
7578 (CPPFLAGS): Use it.
7579 (before-compile): Add libc-modules.h.
7580 ($(common-objpfx)libc-modules.h,
7581 $(common-objpfx)libc-modules.stmp): New targets.
7582 (common-generated): Add libc-modules.h and libc-modules.stmp.
7583 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7584 * include/libc-symbols.h: Don't include libc-modules.h.
7585 * include/libc-modules.h: Remove file.
7586 * scripts/gen-libc-modules.awk: New script to generate
7587 libc-modules.h.
7588 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7589 Depend on libc-modules.stmp.
7590
286663c3
SP
7591 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7592
9cd47470
SP
7593 * Makeconfig (in-module): Get value of libof set for the
7594 translation unit.
7595 (CPPFLAGS): Use $(in-module).
7596 * Makerules: Don't suffix routine names for nonlib.
7597 * include/libc-modules.h: New file.
7598 * include/libc-symbols.h: Include libc-modules.h
7599 (IS_IN): New macro to replace IS_IN_* macros.
7600 * elf/Makefile: Set libof-* for each routine.
7601 * elf/rtld-Rules: Likewise.
7602 * extra-modules.mk: Likewise.
7603 * iconv/Makefile: Likewise.
7604 * iconvdata/Makefile: Likewise.
7605 * locale/Makefile: Likewise.
7606 * malloc/Makefile: Likewise.
7607 * nss/Makefile: Likewise.
7608 * sysdeps/gnu/Makefile: Likewise.
7609 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7610 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7611 * sysdeps/s390/s390-64/Makefile: Likewise.
7612 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7613 CPPFLAGS for nscd instead of nonlib.
7614
32fed10f
RM
76152014-11-18 Roland McGrath <roland@hack.frob.com>
7616
d71035bd
RM
7617 * nptl/createthread.c: New file.
7618
6540b991
RM
7619 * nptl/createthread.c: Moved ...
7620 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7621
32fed10f
RM
7622 * nptl/createthread.c: Add proper top-line comment.
7623 (do_clone): Folded into ...
7624 (create_thread): ... here. Take new arguments STOPPED_START and
7625 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7626 increment __nptl_threads, do event-reporting logic, do
7627 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7628 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7629 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7630 just send SIGCANCEL.
7631 * nptl/pthread_create.c: Forward-declare create_thread before
7632 including createthread.c.
7633 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7634 declaration, and new macro START_THREAD_SELF to replace argument.
7635 Remove return statement.
7636 (report_thread_creation): New function.
7637 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7638 synchronization logic, and __nptl_nthreads increment here, around
7639 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7640 PD->parent_cancelhandling here, before create_thread. When
7641 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7642 __deallocate_stack, and ENOMEM translation here.
7643
107a5bf0
JM
76442014-11-18 Joseph Myers <joseph@codesourcery.com>
7645
7646 [BZ #17616]
7647 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7648 (mptwo): Rename to __mptwo.
7649 (__inv): Use __mptwo instead of mptwo.
7650 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7651 (mptwo): Rename to __mptwo.
7652 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7653 of mpone and __mptwo instead of mptwo.
7654 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7655 instead of mpone.
7656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7657 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7658 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7659 of mpone and __mptwo instead of mptwo.
7660 (__mpranred): Use __mpone instead of mpone.
7661 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7662 variable.
7663 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7664 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7665 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7666 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7667 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7668 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7669 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7670 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7671 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7672 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7673 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7674 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7675 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7676 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7677 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7678 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7679 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7680 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7681 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7682
3b679ab3
TV
76832014-11-18 Tom de Vries <tom@codesoucery.com>
7684
7685 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7686 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
7687
76882014-11-17 Richard Henderson <rth@redhat.com>
7689
7690 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7691 (_FP_PACK_RAW_2): Remove.
7692 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7693 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7694 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7695 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7696 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7697 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7698 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7699 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7700 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7701 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7702 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7703 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7704 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7705 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7706 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7707 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7708
0781a777
RM
77092014-11-14 Roland McGrath <roland@hack.frob.com>
7710
7711 * signal/signal.h [__USE_MISC]
7712 (struct sigvec): Remove type.
7713 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7714 (sigvec): Remove declaration.
7715 * sysdeps/posix/sigvec.c: Moved ...
7716 * signal/sigvec.c: ... here, replacing old file.
7717 (struct sigvec): New type, copied from old signal.h definition.
7718 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7719 (__sigvec): Convert definition to prototype.
7720 (sigvec): Replace weak_alias with compat_symbol.
7721 * signal/Versions (libc: GLIBC_2.21): New version set.
7722 * include/signal.h: Remove __sigvec declaration.
7723 * sysdeps/unix/bsd/sigvec.c: Remove file.
7724 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7725 * manual/signal.texi (BSD Handler): Remove subsection.
7726 Move siginterrupt up to ...
7727 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
7728 (Blocking in BSD): Fold subsection into its parent.
7729 * NEWS: Mention sigvec removal.
7730
a4733812
JM
77312014-11-14 Joseph Myers <joseph@codesourcery.com>
7732
5ae4fe60
JM
7733 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7734 (DLA_FMS): Make definition conditional only on [__FMA4__].
7735 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7736 definition.
7737
6a0dd472
JM
7738 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7739 Make definition conditional only on [PROF].
7740 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7741 definition.
7742 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7743 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7744
a4733812
JM
7745 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7746 !__GNUC__].
7747 * include/signal.h (__sigpause): Move declaration above call to
7748 libc_hidden_proto.
7749 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7750 variable.
7751 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7752 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7753
cf7246dd
DM
77542014-11-14 David S. Miller <davem@davemloft.net>
7755
7756 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7757 Define before including <string/memcpy.c> and <string/mempcpy.c>.
7758
c1b0aadc
JM
77592014-11-14 Joseph Myers <joseph@codesourcery.com>
7760
4863355a
JM
7761 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7762 * configure: Regenerated.
7763 * manual/install.texi (Tools for Compilation): Document a
7764 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7765 compiler verified to work.
7766 * INSTALL: Regenerated.
7767
c1b0aadc
JM
7768 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7769 redeclare with asm name.
7770 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7771 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7772 including <string.h>.
7773 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7774 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7775 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7776 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7777 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7778 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7779 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7780
2a1cfd94
JM
77812014-11-13 Joseph Myers <joseph@codesourcery.com>
7782
bf438382
JM
7783 * stdlib/strtol.c (__strtol): Use prototype definition.
7784
2a1cfd94
JM
7785 [BZ #17594]
7786 * stdlib/strtol.c (SYM__): New macro.
7787 (SYM__1): Likewise.
7788 (__strtol): Likewise.
7789 (strtol): Rename to __strtol and define as weak alias of
7790 __strtol. Use libc_hidden_weak.
7791
20ed0d26
SL
77922014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7793
7794 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7795 Use numbered labels in inline assembly.
7796
53244a4e
SL
77972014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7798
7799 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7800 Add setjmp LIBC_PROBE.
7801 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7802 Likewise.
7803 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7804 Add longjmp, longjmp_target LIBC_PROBE.
7805 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7806 Likewise.
7807
47df8251
SL
78082014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7809
7810 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7811 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7812 to get rid of unused variable warning.
7813
618cebef
SL
78142014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7815
7816 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7817 Check for unwind_backtrace == NULL only in SHARED case.
7818 (__backchain_backtrace): Compile only in SHARED case.
7819 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7820 Likewise.
7821 (__backchain_backtrace): Declare as static.
7822
c6aab2cb
RM
78232014-11-12 Roland McGrath <roland@hack.frob.com>
7824
7825 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7826 (__libc_multiple_threads_ptr): Variable moved ...
7827 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7828
5a6fa4d7
JM
78292014-11-12 Joseph Myers <joseph@codesourcery.com>
7830
24f4f825
JM
7831 * conform/GlibcConform.pm: New file.
7832 * conform/conformtest.pl: Use GlibcConform module.
7833 * conform/linknamespace.pl: New file.
7834 * conform/list-header-symbols.pl: Likewise.
7835 * conform/Makefile (linknamespace-symlists-base): New variable.
7836 (linknamespace-symlists-tests): Likewise.
7837 (linknamespace-header-base): Likewise.
7838 (linknamespace-header-tests): Likewise.
7839 (tests-special): Add new tests.
7840 ($(linknamespace-symlists-tests)): New rule.
7841 (linknamespace-libs): New variable.
7842 ($(objpfx)symlist-stdlibs): New rule.
7843 ($(linknamespace-header-tests)): Likewise.
7844 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7845 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7846 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7847 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7848 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7849 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7850 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7851 (test-xfail-ISO/math.h/linknamespace): Likewise.
7852 (test-xfail-ISO/signal.h/linknamespace): Likewise.
7853 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7854 (test-xfail-ISO/time.h/linknamespace): Likewise.
7855 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7856 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7857 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7858 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7859 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7860 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7861 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7862 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7863 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7864 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7865 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7866 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7867 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7868 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
7869 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
7870 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7871 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7872 (test-xfail-XPG3/search.h/linknamespace): Likewise.
7873 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7874 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7875 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7876 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7877 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7878 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7879 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7880 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7881 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7882 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7883 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7884 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7885 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7886 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7887 (test-xfail-XPG4/search.h/linknamespace): Likewise.
7888 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7889 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7890 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7891 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7892 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7893 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7894 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7895 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7896 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7897 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7898 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7899 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7900 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7901 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7902 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7903 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7904 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7905 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7906 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7907 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7908 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7909 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7910 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7911 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7912 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7913 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7914 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7915 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7916 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7917 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7918 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7919 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7920 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7921 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7922 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7923 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7924 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7925 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7926 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7927 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7928 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7929 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7930 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7931 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7932 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7933 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7934 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7935 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7936 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7937 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7938 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7939 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7940 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7941 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7942 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7943 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7944 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7945 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7946 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7947 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7948 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7949 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7950 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7951 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7952 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7953 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7954 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7955 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7956 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7957 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7958 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7959 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7960 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7961 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7962 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7963 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7964 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7965 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7966 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7967 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7968 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7969 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7970 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7971 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7972 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7973 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7974 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7975 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7976 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7977 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7978 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7979 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7980 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7981 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7982 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7983 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7984 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7985 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7986 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7987 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7988 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7989 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7990 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7991 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7992 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7993 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7994 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7995 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7996 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7997 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7998 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7999 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8000 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8001 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8002 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8003 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8004 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8005
cc67478e
JM
8006 [BZ #17589]
8007 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8008 of fgets_unlocked.
8009
9975e3d3
JM
8010 [BZ #17585]
8011 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8012 (memmem): Rename to __memmem and define as weak alias of
8013 __memmem. Use libc_hidden_weak.
8014 (__memmem): Use libc_hidden_def.
8015 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8016 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8017 memmem.
8018
c4eae752
JM
8019 [BZ #17582]
8020 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8021 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8022 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8023 and define as weak alias of __fgets_unlocked. Use
8024 libc_hidden_weak.
8025 (__fgets_unlocked): Use libc_hidden_def.
8026 * include/stdio.h (__fgets_unlocked): Declare. Use
8027 libc_hidden_proto.
8028 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8029 __fgets_unlocked instead of fgets_unlocked.
8030 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8031 (GET_NPROCS_CONF_PARSER): Likewise.
8032 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8033 (GET_NPROCS_CONF_PARSER): Likewise.
8034
01cad84e
JM
8035 [BZ #17574]
8036 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8037 weak alias of __wmemset. Use libc_hidden_weak.
8038 (__wmemset): Use libc_hidden_def.
8039 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8040 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8041 of wmemset.
8042
939da411
JM
8043 [BZ #17573]
8044 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8045 with asm name __mempcpy.
8046 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8047
293d9a41
JM
8048 [BZ #17572]
8049 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8050 and define as weak alias of __rawmemchr.
8051 (__rawmemchr): Do not define as strong alias of rawmemchr.
8052
bef8fd60
JM
8053 [BZ #17571]
8054 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8055 alias of __qsort_r.
8056 (qsort): Call __qsort_r instead of qsort_r.
8057 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8058 (__qsort_r): Declare. Call libc_hidden_proto.
8059 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8060 instead of qsort_r.
8061 * nscd/gai.c (__qsort_r): Define to qsort_r.
8062 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8063 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8064 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8065
c52ff39e
JM
8066 [BZ #17570]
8067 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8068 define as weak alias of __malloc_info.
8069
2f5c1b00
JM
8070 [BZ #17584]
8071 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8072 as weak alias of __rewinddir. Don't use libc_hidden_def.
8073 (__rewinddir): Use libc_hidden_def.
8074 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8075 as weak alias of __rewinddir. Don't use libc_hidden_def.
8076 (__rewinddir): Use libc_hidden_def.
8077 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8078 weak alias of __rewinddir. Don't use libc_hidden_def.
8079 (__rewinddir): Use libc_hidden_def.
8080 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8081 (__rewinddir): Use libc_hidden_proto.
8082 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8083 rewinddir.
8084 (__getcwd): Use __rewinddir instead of rewinddir.
8085
5a6fa4d7
JM
8086 [BZ #17583]
8087 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8088 alias of __fileno. Use libc_hidden_weak.
8089 (__fileno): Use libc_hidden_def.
8090 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8091 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8092 alias of __ftello.
8093 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8094 __ftello.
8095 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8096 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8097 libc_hidden_def.
8098 (fread_unlocked): Don't use libc_hidden_ver.
8099 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8100 and define as weak alias of __fread_unlocked. Don't use
8101 libc_hidden_def.
8102 (__fread_unlocked): Use libc_hidden_def.
8103 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8104 (ftello): Don't use libc_hidden_proto.
8105 (__ftello): Declare. Use libc_hidden_proto.
8106 (fread_unlocked): Don't use libc_hidden_proto.
8107 (__fread_unlocked): Declare. Use libc_hidden_proto.
8108 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8109 and __ftello instead of fileno, fread_unlocked and ftello.
8110
2581b98e
SP
81112012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8112
8113 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8114 GOT12.
8115 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8116 Likewise.
8117 (_dl_start_user): Likewise.
8118 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8119
533bb7c2
SP
81202014-11-12 Carlos O'Donell <carlos@redhat.com>
8121 Siddhesh Poyarekar <siddhesh@redhat.com>
8122
8123 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8124 Move argv and envp down instead of moving argc up.
8125 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8126
fffa1cf8
LH
81272014-11-12 Leonhard Holz <leonhard.holz@web.de>
8128
8129 [BZ #17506]
8130 * test-skeleton.c (main): Return successful if one of
8131 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8132 * string/tst-strcoll-overflow.c: Define expected status.
8133
fb89b46d
TU
81342014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8135
8136 [BZ #17475]
8137 * locale/iso-639.def: Define Bhili and Tulu language codes.
8138
5c40c3ba
AH
81392014-11-11 Alan Hayward <alan.hayward@arm.com>
8140
8141 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8142
b17fe01b 81432014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
8144
8145 [BZ #17555]
8146 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8147
bd805071
AS
81482014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8149
8150 * configure.ac: Updated check of minimal required version to
8151 2.22.
8152 * manual/install.texi (Tools for Compilation): Updated version
8153 number.
8154 * configure: Regenerated.
8155 * INSTALL: Likewise.
8156
1400983e
AS
81572014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8158
8159 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8160 __tls_get_addr.
8161
2c46a66a
JM
81622014-11-07 Joseph Myers <joseph@codesourcery.com>
8163
8164 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8165 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8166 (__waitpid): Don't define as alias. Use libc_hidden_def not
8167 libc_hidden_weak.
8168 (waitpid): Define as alias of __waitpid.
8169 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8170 __waitpid.
8171 (__waitpid): Don't define as alias. Use libc_hidden_def not
8172 libc_hidden_weak.
8173 (waitpid): Define as alias of __waitpid.
8174 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8175 __libc_waitpid alias.
8176 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8177 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8178 Likewise.
8179 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8180 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8181 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8182 alias.
8183 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8184 __waitpid.
8185 (__waitpid): Don't define as alias. Use libc_hidden_def not
8186 libc_hidden_weak.
8187 (waitpid): Define as alias of __waitpid.
8188
da53d6db
CD
81892014-11-06 Carlos O'Donell <carlos@redhat.com>
8190
a2887bdb
CD
8191 * manual/llio.texi: Add comment that write safety has been
8192 fixed in Linux.
8193
da53d6db
CD
8194 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8195 (localplt-build-dso): Add elf/ld.so.
8196 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8197 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8198 and free for ld.so.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8200 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8202 Likewise.
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8204 Likewise.
8205 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8206 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8207 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8208 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8209 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8210 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8211 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8212 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8213 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8214 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8215 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8216
9cf27b8d
JM
82172014-11-05 Joseph Myers <joseph@codesourcery.com>
8218
8219 [BZ #14132]
8220 * include/libc-symbols.h (INTUSE): Remove macro.
8221 (INTDEF): Likewise.
8222 (INTVARDEF): Likewise.
8223 (_INTVARDEF): Likewise.
8224 (INTDEF2): Likewise.
8225 (INTVARDEF2): Likewise.
8226 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8227 rtld_hidden_def instead of INTVARDEF.
8228 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8229 (_dl_starting_up_internal): Remove declaration.
8230 (_dl_starting_up): Use rtld_hidden_proto.
8231 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8232 declaration.
8233 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8234 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8235 _dl_starting_up.
8236 * elf/dl-writev.h (_dl_writev): Likewise.
8237 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8238 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8239 _dl_starting_up_internal.
8240
af83568d
AZ
82412014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8242
8243 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8244 test-skeleton.c.
8245
b01ee67c
WN
82462014-11-05 Will Newton <will.newton@linaro.org>
8247
8248 * benchtests/Makefile: (bench-malloc): Add malloc thread
8249 scalability benchmark.
8250 * benchtests/bench-malloc-threads.c: New file.
8251
be9d4ccc
RE
82522014-11-05 Richard Earnshaw <rearnsha@arm.com>
8253
8254 * sysdeps/aarch64/strchrnul.S: New file.
8255
7110166d
AZ
82562014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8257
8258 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8259 definition.
8260 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8261 Likwise.
8262 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8263 Likewise.
8264 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8265 Likewise.
8266 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8267 Likewise.
8268 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8269 Likewise.
8270
82712014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
8272
8273 * catgets/test-gencat.c: Use test-skeleton.c.
8274 * catgets/tst-catgets.c: Likewise.
8275 * csu/tst-empty.c: Likewise.
8276 * elf/tst-audit2.c: Likewise.
8277 * elf/tst-global1.c: Likewise.
8278 * elf/tst-pathopt.c: Likewise.
8279 * elf/tst-piemod1.c: Likewise.
8280 * elf/tst-tls10.c: Likewise.
8281 * elf/tst-tls11.c: Likewise.
8282 * elf/tst-tls12.c: Likewise.
8283 * gnulib/tst-gcc.c: Likewise.
8284 * iconvdata/tst-e2big.c: Likewise.
8285 * iconvdata/tst-loading.c: Likewise.
8286 * iconv/tst-iconv1.c: Likewise.
8287 * iconv/tst-iconv2.c: Likewise.
8288 * inet/test-inet6_opt.c: Likewise.
8289 * inet/tst-gethnm.c: Likewise.
8290 * inet/tst-network.c: Likewise.
8291 * inet/tst-ntoa.c: Likewise.
8292 * intl/tst-codeset.c: Likewise.
8293 * intl/tst-gettext2.c: Likewise.
8294 * intl/tst-gettext3.c: Likewise.
8295 * intl/tst-ngettext.c: Likewise.
8296 * intl/tst-translit.c: Likewise.
8297 * io/test-stat.c: Likewise.
8298 * libio/test-fmemopen.c: Likewise.
8299 * libio/tst-freopen.c: Likewise.
8300 * libio/tst-sscanf.c: Likewise.
8301 * libio/tst-ungetwc1.c: Likewise.
8302 * libio/tst-ungetwc2.c: Likewise.
8303 * libio/tst-widetext.c: Likewise.
8304 * localedata/tst-ctype.c: Likewise.
8305 * localedata/tst-digits.c: Likewise.
8306 * localedata/tst-leaks.c: Likewise.
8307 * localedata/tst-mbswcs1.c: Likewise.
8308 * localedata/tst-mbswcs2.c: Likewise.
8309 * localedata/tst-mbswcs3.c: Likewise.
8310 * localedata/tst-mbswcs4.c: Likewise.
8311 * localedata/tst-mbswcs5.c: Likewise.
8312 * localedata/tst-setlocale.c: Likewise.
8313 * localedata/tst-trans.c: Likewise.
8314 * localedata/tst-wctype.c: Likewise.
8315 * localedata/tst-xlocale1.c: Likewise.
8316 * login/tst-grantpt.c: Likewise.
8317 * malloc/tst-calloc.c: Likewise.
8318 * malloc/tst-malloc.c: Likewise.
8319 * malloc/tst-mallocstate.c: Likewise.
8320 * malloc/tst-mcheck.c: Likewise.
8321 * malloc/tst-mtrace.c: Likewise.
8322 * malloc/tst-obstack.c: Likewise.
8323 * math/atest-exp2.c: Likewise.
8324 * math/atest-exp.c: Likewise.
8325 * math/atest-sincos.c: Likewise.
8326 * math/test-matherr.c: Likewise.
8327 * math/test-misc.c: Likewise.
8328 * math/test-powl.c: Likewise.
8329 * math/tst-definitions.c: Likewise.
8330 * misc/tst-dirname.c: Likewise.
8331 * misc/tst-efgcvt.c: Likewise.
8332 * misc/tst-fdset.c: Likewise.
8333 * misc/tst-hsearch.c: Likewise.
8334 * misc/tst-mntent2.c: Likewise.
8335 * nptl/tst-sem7.c: Likewise.
8336 * nptl/tst-sem8.c: Likewise.
8337 * nptl/tst-sem9.c: Likewise.
8338 * nss/test-netdb.c: Likewise.
8339 * posix/tst-fnmatch.c: Likewise.
8340 * posix/tst-getlogin.c: Likewise.
8341 * posix/tst-gnuglob.c: Likewise.
8342 * posix/tst-mmap.c: Likewise.
8343 * pwd/tst-getpw.c: Likewise.
8344 * resolv/tst-inet_ntop.c: Likewise.
8345 * rt/tst-timer.c: Likewise.
8346 * stdio-common/test-fseek.c: Likewise.
8347 * stdio-common/test-popen.c: Likewise.
8348 * stdio-common/test-vfprintf.c: Likewise.
8349 * stdio-common/tst-cookie.c: Likewise.
8350 * stdio-common/tst-fileno.c: Likewise.
8351 * stdio-common/tst-gets.c: Likewise.
8352 * stdio-common/tst-obprintf.c: Likewise.
8353 * stdio-common/tst-perror.c: Likewise.
8354 * stdio-common/tst-sprintf2.c: Likewise.
8355 * stdio-common/tst-sprintf3.c: Likewise.
8356 * stdio-common/tst-sprintf.c: Likewise.
8357 * stdio-common/tst-swprintf.c: Likewise.
8358 * stdio-common/tst-tmpnam.c: Likewise.
8359 * stdio-common/tst-unbputc.c: Likewise.
8360 * stdio-common/tst-wc-printf.c: Likewise.
8361 * stdlib/tst-environ.c: Likewise.
8362 * stdlib/tst-fmtmsg.c: Likewise.
8363 * stdlib/tst-limits.c: Likewise.
8364 * stdlib/tst-rand48-2.c: Likewise.
8365 * stdlib/tst-rand48.c: Likewise.
8366 * stdlib/tst-random2.c: Likewise.
8367 * stdlib/tst-random.c: Likewise.
8368 * stdlib/tst-strtol.c: Likewise.
8369 * stdlib/tst-strtoll.c: Likewise.
8370 * stdlib/tst-tls-atexit.c: Likewise.
8371 * stdlib/tst-xpg-basename.c: Likewise.
8372 * string/test-ffs.c: Likewise.
8373 * string/tst-bswap.c: Likewise.
8374 * string/tst-inlcall.c: Likewise.
8375 * string/tst-strtok.c: Likewise.
8376 * string/tst-strxfrm.c: Likewise.
8377 * sysdeps/x86_64/tst-audit10.c: Likewise.
8378 * sysdeps/x86_64/tst-audit3.c: Likewise.
8379 * sysdeps/x86_64/tst-audit4.c: Likewise.
8380 * sysdeps/x86_64/tst-audit5.c: Likewise.
8381 * time/tst-ftime_l.c: Likewise.
8382 * time/tst-getdate.c: Likewise.
8383 * time/tst-mktime3.c: Likewise.
8384 * time/tst-mktime.c: Likewise.
8385 * time/tst-posixtz.c: Likewise.
8386 * time/tst-strptime2.c: Likewise.
8387 * time/tst-strptime3.c: Likewise.
8388 * wcsmbs/tst-btowc.c: Likewise.
8389 * wcsmbs/tst-mbrtowc.c: Likewise.
8390 * wcsmbs/tst-mbsrtowcs.c: Likewise.
8391 * wcsmbs/tst-wchar-h.c: Likewise.
8392 * wcsmbs/tst-wcpncpy.c: Likewise.
8393 * wcsmbs/tst-wcrtomb.c: Likewise.
8394 * wcsmbs/tst-wcsnlen.c: Likewise.
8395 * wcsmbs/tst-wcstof.c: Likewise.
8396
2004e7fb
JM
83972014-11-04 Joseph Myers <joseph@codesourcery.com>
8398
ab97ee8f
JM
8399 [BZ #14132]
8400 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8401 INTDEF.
8402 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8403 declaration.
8404 (_dl_mcount): Use rtld_hidden_proto.
8405 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8406 _dl_mcount.
8407 * elf/rtld.c (_rtld_global_ro): Likewise.
8408
c5684fdb
JM
8409 [BZ #14132]
8410 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8411 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8412 of _dl_init_internal.
8413 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8414 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8415 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8416 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8417 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8418 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8419 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8420 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8421 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8422 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8423 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8424 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8425 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8426 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8427 * sysdeps/tile/dl-start.S (_start): Likewise.
8428 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8429 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8430
4243cbea
JM
8431 [BZ #14132]
8432 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8433 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8434 (rtld_progname): Make macro definition unconditional.
8435 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8436 INTDEF.
8437 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8438 (dl_main): Likewise.
8439 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8440 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8441 instead of _dl_argv_internal.
8442 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8443 __GI__dl_argv instead of INTUSE(_dl_argv).
8444 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8445 __GI__dl_argv instead of _dl_argv_internal.
8446
2004e7fb
JM
8447 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8448 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8449 macro.
8450 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8451 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8452 New macro.
8453 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8454 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8455 macro.
8456 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8457 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8458
97827bfc
AS
84592014-11-04 Andreas Schwab <schwab@suse.de>
8460
8461 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8462
5e4df284
AZ
84632014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8464
8465 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8466 mtvsrd instruction in binary form.
8467
04b76b5a
AS
84682014-11-03 Andreas Schwab <schwab@suse.de>
8469
8470 [BZ #17522]
8471 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8472 for less than MB_LEN_MAX use a local buffer of that size.
8473 * libio/tst-fputws.c: New file.
8474 * libio/Makefile (tests): Add tst-fputws.
8475
4c6da7da
JM
84762014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8477
8478 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8479 the size of the fpu_fr.fpu_dregs[] array.
8480
1679ba8e
JM
84812014-11-01 Joseph Myers <joseph@codesourcery.com>
8482
8483 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8484 (__nanosleep): Do not define as alias.
8485 (nanosleep): Define as alias of __nanosleep.
8486 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8487 __libc_nanosleep name.
8488
2626c183
JM
84892014-10-31 Joseph Myers <joseph@codesourcery.com>
8490
8491 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8492 install.texi in comment.
8493
7f981fc2
TR
84942014-10-31 Torvald Riegel <triegel@redhat.com>
8495
8496 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8497 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8498 ... add here and use lwsync or sync ...
8499 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8500 ... and add here using lwsync.
8501
d6f373d2
MF
85022014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8503
8504 * elf/dl-machine-reject-phdr.h: New file.
8505 * elf/dl-load.c: #include that.
8506 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8507 if that returned true.
8508
67c37987
RM
85092014-10-31 Roland McGrath <roland@hack.frob.com>
8510
8511 [BZ #17496]
8512 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8513 gen-as-const-headers chunk. Add a big scare comment after the last
8514 safe place to touch before-compile.
8515
94a42455 85162014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 8517
f3f5d895
JM
8518 * manual/install.texi (Tools for Compilation): Update autoconf
8519 version requirements.
8520 * INSTALL: Regenerated.
8521
f62ff286
JM
8522 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8523 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8524 (__libc_pselect): Likewise.
94a42455
JM
8525
8526 [BZ #14138]
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8531
ff9dbdc0
TR
85322014-10-31 Torvald Riegel <triegel@redhat.com>
8533
8534 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8535 correct barrier instruction.
8536 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8537 Likewise.
8538 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8539 Likewise.
8540
b4f66884
RM
85412014-10-30 Roland McGrath <roland@hack.frob.com>
8542
8543 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8544 after defining inlines. Instead, just use parens to defeat macro
8545 expansion of __isctype in its declaration.
8546
e19c95fd
JM
85472014-10-30 Joseph Myers <joseph@codesourcery.com>
8548
8549 * include/sys/uio.h (__libc_readv): Remove declaration.
8550 (__libc_writev): Likewise.
8551 * misc/readv.c (__libc_readv): Rename to __readv.
8552 (__readv): Do not define as alias.
8553 (readv): Define as alias of __readv.
8554 * misc/writev.c (__libc_writev): Rename to __writev.
8555 (__writev): Do not define as alias.
8556 (writev): Define as alias of __writev.
8557 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8558 (__readv): Do not define as alias.
8559 (readv): Define unconditionally as alias of __readv.
8560 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8561 (__writev): Do not define as alias.
8562 (writev): Define unconditionally as alias of __writev.
8563 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8564 name.
8565 (writev): Do not define __libc_writev name.
8566
65b00b6c
RM
85672014-10-30 Roland McGrath <roland@hack.frob.com>
8568
8569 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8570 (convert_charseq): New function, broken out of ...
8571 (use_from_charmap): ... here. Call it.
8572 (use_to_charmap): Use convert_charseq and free instead of duplicating
8573 its code with a variable-length stack struct.
8574
d4e157aa
JM
85752014-10-30 Joseph Myers <joseph@codesourcery.com>
8576
8577 * include/fcntl.h (__libc_creat): Remove declaration.
8578 * io/creat.c (__libc_creat): Rename to creat.
8579 (creat): Do not define as alias.
8580 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8581 of creat instead of __libc_creat.
8582 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8583 to creat.
8584 (creat): Do not define as alias.
8585 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8586 __libc_creat.
8587 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8588 __libc_creat name.
8589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8590 Likewise.
8591
0c6891a0
CD
85922014-10-29 Carlos O'Donell <carlos@redhat.com>
8593
8594 * manual/llio.texi: Add comments discussing why write() may be
8595 considered MT-unsafe on Linux.
8596
cc00cece
CD
85972014-10-28 Carlos O'Donell <carlos@redhat.com>
8598
8599 * dl-load.c (local_strdup): Remove.
8600 (expand_dynamic_string_token): Use __strdup.
8601 (decompose_rpath): Likewise.
8602 (_dl_map_object): Likewise.
8603
51e623f2
JM
86042014-10-28 Joseph Myers <joseph@codesourcery.com>
8605
8606 [BZ #14132]
8607 * sysdeps/generic/unwind-dw2-fde.c
8608 (__register_frame_info_bases_internal): Do not declare.
8609 (__register_frame_info_table_bases_internal): Likewise.
8610 (__deregister_frame_info_bases_internal): Likewise.
8611 (__register_frame_info_bases): Declare and use hidden_proto before
8612 definition. Use hidden_def instead of INTDEF.
8613 (__register_frame_info_table_bases): Likewise.
8614 (__deregister_frame_info_bases): Likewise.
8615 (__register_frame_info): Do not use INTUSE.
8616 (__register_frame): Likewise.
8617 (__register_frame_info_table): Likewise.
8618 (__register_frame_table): Likewise.
8619 (__deregister_frame_info): Likewise.
8620 (__deregister_frame): Likewise.
8621
03d41216
GC
86222014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8623
8624 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8625 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8626 not undefine.
8627 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8628 Likewise.
8629 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8630 Likewise.
8631
a4b3624d
JM
86322014-10-27 Joseph Myers <joseph@codesourcery.com>
8633
8634 [BZ #14138]
8635 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8636 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8637 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8638 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8639 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8640 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8641 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8642 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8643 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8644 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8645 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8646 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8647 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8648 syscall.
8649 (setfsuid): Likewise.
8650 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8651 (setfsuid): Likewise.
8652 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8653 (setfsuid): Likewise.
8654 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8655 Likewise.
8656 (setfsuid): Likewise.
8657 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8658 (setfsuid): Likewise.
8659 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8660 Likewise.
8661 (setfsuid): Likewise.
8662
3574f2fd
AS
86632014-10-27 Andreas Schwab <schwab@suse.de>
8664
8665 [BZ #17501]
8666 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8667 check for Slow_SSE4_2 feature bit.
8668 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8669 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8670 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8671 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8672
70996a37
RM
86732014-10-24 Roland McGrath <roland@hack.frob.com>
8674
461a7b1e
RM
8675 * configure.ac: Validate compiler version with a empirical test of
8676 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8677 $CC -v output.
8678 * configure: Regenerated.
8679
70996a37
RM
8680 * inet/htons.c (htons): Prototypify.
8681 * inet/htonl.c (htonl): Likewise.
8682
e80514b5
WD
86832014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8684
8685 * string/strncat.c (strncat): Improve performance by using strlen.
8686
6e46de42
WD
86872014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8688
8689 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8690
6a9ad2fa
WD
86912014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8692
8693 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8694 Call libc_fetestexcept_aarch64.
8695
1c8810ed
WD
86962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8697
8698 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8699 Call libc_feholdexcept_aarch64.
8700
8b1af712
WD
87012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8702
8703 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8704 Call get_rounding_mode.
8705
a7b00c11
WD
87062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8707
8708 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8709 Simplify logic.
8710
3a84f1a6
WD
87112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8712
8713 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8714 Simplify logic.
8715
48eb7a94
JM
87162014-10-24 Joseph Myers <joseph@codesourcery.com>
8717
c8bc4038
JM
8718 [BZ #14138]
8719 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8720 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8721 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8722 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8723 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8724 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8725 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8726 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8727 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8728 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8729 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8730 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8731 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8732 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8733 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8734 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8735 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8736 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8737 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8738 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8739 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8740 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8741 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8742 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8743 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8744 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8745 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8746 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8747 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8748 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8749 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8750 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8751 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8752 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8753 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8754 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8755 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8756 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8757 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8758 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8759 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8760 syscall.
8761 (geteuid): Likewise.
8762 (getgid): Likewise.
8763 (getuid): Likewise.
8764 (getresgid): Likewise.
8765 (getresuid): Likewise.
8766 (getgroups): Likewise.
8767 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8768 (geteuid): Likewise.
8769 (getgid): Likewise.
8770 (getuid): Likewise.
8771 (getresgid): Likewise.
8772 (getresuid): Likewise.
8773 (getgroups): Likewise.
8774 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8775 (geteuid): Likewise.
8776 (getgid): Likewise.
8777 (getuid): Likewise.
8778 (getresgid): Likewise.
8779 (getresuid): Likewise.
8780 (getgroups): Likewise.
8781 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8782 Likewise.
8783 (geteuid): Likewise.
8784 (getgid): Likewise.
8785 (getuid): Likewise.
8786 (getresgid): Likewise.
8787 (getresuid): Likewise.
8788 (getgroups): Likewise.
8789 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8790 (geteuid): Likewise.
8791 (getgid): Likewise.
8792 (getuid): Likewise.
8793 (getresgid): Likewise.
8794 (getresuid): Likewise.
8795 (getgroups): Likewise.
8796 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8797 Likewise.
8798 (geteuid): Likewise.
8799 (getgid): Likewise.
8800 (getuid): Likewise.
8801 (getgroups): Likewise.
8802
48eb7a94
JM
8803 [BZ #14138]
8804 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8805 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8806 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8807 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8808 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8809 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8810 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8811 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8812 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8813 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8814 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8815 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8816 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8817 __chown.
8818 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8819 (lchown): Likewise.
8820 (fchown): Likewise.
8821 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8822 Likewise.
8823 (lchown): Likewise.
8824 (fchown): Likewise.
8825 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8826 (lchown): Likewise.
8827 (fchown): Likewise.
8828 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8829 Likewise.
8830 (lchown): Likewise.
8831 (fchown): Likewise.
8832
ea9a7c8b
WD
88332014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8834
8835 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8836 Simplify logic.
8837
e226de33
WD
88382014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8839
8840 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8841 Cleanup logic.
8842
6e3d8ed3
WD
88432014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8844
8845 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8846 Remove unused include.
8847
eb04247d
WD
88482014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8849
8850 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8851 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8852 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8853 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8854
13d84554
CD
88552014-10-23 Carlos O'Donell <carlos@systemhalted.org>
8856 Helge Deller <deller@gmx.de>
8857
8858 [BZ #17508]
8859 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8860 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8861 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8862
15f9c5df
JM
88632014-10-23 Joseph Myers <joseph@codesourcery.com>
8864
8865 [BZ #14132]
8866 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
8867 Remove macro definition.
8868 (__ashrdi3_v_glibc20): Likewise.
8869 (__lshrdi3_v_glibc20): Likewise.
8870 (__cmpdi2_v_glibc20): Likewise.
8871 (__ucmpdi2_v_glibc20): Likewise.
8872 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8873 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8874 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8875 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8876 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8877 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8878
c6dfed24
RM
88792014-10-22 Roland McGrath <roland@hack.frob.com>
8880
8881 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8882 old GNU extension [0] syntax.
8883 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8884 alloca rather than an array member with variable length.
8885 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8886 * nscd/nscd.c (invalidate_db): New function, broken out of ...
8887 (parse_opt): ... here. Likewise use alloca there.
8888 Validate the -i argument before checking for rootness.
8889 (send_shutdown): New function, broken out of ...
8890 (parse_opt): ... here.
8891
8c2b1ed8
RM
88922014-10-22 Roland McGrath <roland@hack.frob.com>
8893
8894 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8895 macro to get at the _rt_local_ro field.
8896 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8897 ([PIC] case) or _dl_hwcap ([!PIC] case).
8898 * sysdeps/arm/setjmp.S: Likewise.
8899
8900 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8901 * sysdeps/arm/configure.ac: New check to define it.
8902 * sysdeps/arm/configure: Regenerated.
8903 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8904 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8905 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8906 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8907 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8908 Use move/movt pair instead of a load.
8909 (LDST_GLOBAL): Macro removed.
8910 (LDR_GLOBAL): New macro replaces it.
8911 (LDR_HIDDEN): New macro.
8912 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8913 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8914
8915 * setjmp/tst-setjmp-static.c: New file.
8916 * setjmp/Makefile (tests): Add it.
8917 (tests-static): New variable.
8918
b5af9297
MR
89192014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
8920
8921 [BZ #17485]
8922 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8923
a13d0d74
JM
89242014-10-21 Joseph Myers <joseph@codesourcery.com>
8925
8926 [BZ #14132]
8927 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8928
f05e73f6
RM
89292014-10-21 Roland McGrath <roland@hack.frob.com>
8930
8931 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8932
6ab1d1ea
RM
89332014-10-20 Roland McGrath <roland@hack.frob.com>
8934
8935 * io/fts.c (dirent_not_directory): New function.
8936 (fts_build): Call it.
8937
ab49e763
RM
89382014-10-20 Roland McGrath <roland@hack.frob.com>
8939
e436eb79
RM
8940 * nptl/version.c (__nptl_main): Use normal __write rather than
8941 INTERNAL_SYSCALL.
8942 (banner): Update copyright years.
8943
6af246cf
RM
8944 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8945 gettimeofday.
8946 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8947 * nptl/pthread_cond_timedwait.c: Likewise.
8948 * nptl/pthread_mutex_timedlock.c: Likewise.
8949 * nptl/sem_timedwait.c: Likewise.
8950
ab49e763
RM
8951 * sysdeps/nptl/bits/libc-lock.h
8952 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8953 (__libc_lock_init_recursive): Return void, not 0.
8954 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8955 (__libc_rwlock_init): Likewise.
8956 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8957
f50277c1
TR
89582014-10-20 Torvald Riegel <triegel@redhat.com>
8959
8960 [BZ #15215]
8961 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8962 (__pthread_once_slow): ... here.
8963 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8964 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8965
63668b70
TR
89662014-10-20 Torvald Riegel <triegel@redhat.com>
8967
8968 [BZ #15215]
8969 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8970 __PTHREAD_ONCE_FORK_GEN_INCR): New.
8971 * sysdeps/nptl/fork.c (__libc_fork): Use them.
8972 * nptl/pthread_once.c (__pthread_once): Likewise.
8973 Update comments.
8974
42b7f5d4
JM
89752014-10-20 Joseph Myers <joseph@codesourcery.com>
8976
8977 [BZ #14138]
8978 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8979 name.
8980 (writev): Use __libc_writev as strong name.
8981 * sysdeps/unix/sysv/linux/readv.c: Remove file.
8982 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8983
b0643088
RM
89842014-10-17 Roland McGrath <roland@hack.frob.com>
8985
114c4e09
RM
8986 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8987
674b8978
RM
8988 * sysdeps/i386/nptl/tls.h
8989 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8990 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8991 New macros.
8992 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8993 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8994 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8995 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8996 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8997 Call CHECK_THREAD_SYSINFO instead of doing an assert.
8998
184ee940
RM
8999 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9000 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9001 on [__NR_futex].
9002 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9003 broken out of ...
9004 (__pthread_mutex_init): ... here. Call it.
9005 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9006 Conditionalize PI cases on [__NR_futex].
9007 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9008 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9009 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9010
327ae257
RM
9011 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9012 conditional on [SIGSETXID].
9013 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9014 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9015 is defined. Likewise for SIGSETXID.
9016 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9017 Conditionalize definitions on [SIGSETXID].
9018 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9019 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9020 unblocking on [SIGCANCEL].
9021
b0643088
RM
9022 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9023 [__NR_set_robust_list].
9024
33cc770b
SP
90252014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9026
9027 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9028 (do_compare): Likewise.
9029
0742aef6
LH
90302014-10-17 Leonhard Holz <leonhard.holz@web.de>
9031
9032 [BZ #15884]
9033 * string/strcoll_l.c: Don't include stdio.h.
9034 (coll_seq): Remove members idxarr and rulearr.
9035 (get_next_seq_cached): Remove function.
9036 (get_next_seq): Likewise.
9037 (get_next_seq_nocache): Rename to get_next_seq.
9038 (do_compare): Remove function.
9039 (do_compare_nocache): Rename to do_compare.
9040 (STRCOLL): Remove weight and rules cache.
9041
ee54ce44
RM
90422014-10-16 Roland McGrath <roland@hack.frob.com>
9043
9044 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9045 * sysdeps/arm/sfp-machine.h: ... to here.
9046 * sysdeps/arm/Implies: Remove arm/soft-fp.
9047
a75d3b02
JM
90482014-10-14 Joseph Myers <joseph@codesourcery.com>
9049
9050 * conform/data/sys/utsname.h-data (*_t): Allow.
9051 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9052 [POSIX] (WEXITED): Do not expect constant.
9053 [POSIX] (WSTOPPED): Likewise.
9054 [POSIX] (WNOHANG): Likewise.
9055 [POSIX] (WNOWAIT): Likewise.
9056 [POSIX] (siginfo_t): Do not expect type or elements.
9057 [POSIX] (pid_t): Do not expect type.
9058 [POSIX] (signal.h): Do not allow header.
9059 [POSIX] (sys/resource.h): Likewise.
9060 [POSIX] (si_*): Do not allow pattern.
9061 [POSIX] (W*): Likewise.
9062 [POSIX] (P_*): Likewise.
9063 [POSIX] (BUS_*): Likewise.
9064 [POSIX] (CLD_*): Likewise.
9065 [POSIX] (FPE_*): Likewise.
9066 [POSIX] (ILL_*): Likewise.
9067 [POSIX] (POLL_*): Likewise.
9068 [POSIX] (SEGV_*): Likewise.
9069 [POSIX] (SI_*): Likewise.
9070 [POSIX] (TRAP_*): Likewise.
9071 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9072 variable.
9073
fda389c8
SP
90742014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9075
9076 [BZ #12926]
9077 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9078 infinite loop when __recvmsg returns 0.
9079
6bc6bd3b
JM
90802014-10-10 Joseph Myers <joseph@codesourcery.com>
9081
fcb32af1
JM
9082 * CANCEL-FCT-WAIVE: Remove file.
9083 * CANCEL-FILE-WAIVE: Likewise.
9084
6bc6bd3b
JM
9085 [BZ #14132]
9086 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9087 instead of INTVARDEF.
9088 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9089 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9090 rtld_hidden_data_def instead of INTVARDEF.
9091 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9092 * elf/dl-deps.c (expand_dst): Likewise.
9093 * elf/dl-load.c (_dl_dst_count): Likewise.
9094 (_dl_dst_substitute): Likewise.
9095 (decompose_rpath): Likewise.
9096 (_dl_init_paths): Likewise.
9097 (open_path): Likewise.
9098 (_dl_map_object): Likewise.
9099 * elf/rtld.c (dl_main): Likewise.
9100 (process_dl_audit): Likewise.
9101 (process_envvars): Likewise.
9102 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9103 Remove declaration.
9104 (__libc_enable_secure): Use rtld_hidden_proto.
9105
b8c80a7e
KS
91062014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9107
9108 * elf/dl-load.c
9109 (add_path): New function broken out of _dl_rtld_di_serinfo.
9110 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9111
ff12c11f
JM
91122014-10-09 Joseph Myers <joseph@codesourcery.com>
9113
5c0508a3
JM
9114 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9115 parentheses around macro arguments.
9116 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9117 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9118 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9119 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9120 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9121 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9122 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9123 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9124 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9125 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9126 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9127 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9128 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9129 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9130 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9131 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9132 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9133 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9134 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9135 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9136 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9137 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9138 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9139 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9140 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9141 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9142 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9143 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9144 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9145 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9146 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9147 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9148 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9149 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9150 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9151 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9152 Likewise.
9153 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9154 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9155 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9156 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9157 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9158 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9159 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9160 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9161 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9162 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9163 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9164 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9165 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9166 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9167 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9168 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9169 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9170 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9171 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9172 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9173 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9174 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9175 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9176 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9177 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9178 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9179 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9180 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9181 (_FP_FRAC_SRS_1): Likewise.
9182 (_FP_FRAC_CLZ_1): Likewise.
9183 (_FP_MUL_MEAT_1_imm): Likewise.
9184 (_FP_MUL_MEAT_1_wide): Likewise.
9185 (_FP_MUL_MEAT_1_hard): Likewise.
9186 (_FP_SQRT_MEAT_1): Likewise.
9187 (_FP_FRAC_ASSEMBLE_1): Likewise.
9188 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9189 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9190 (__FP_CLZ_2): Likewise.
9191 (_FP_MUL_MEAT_2_wide): Likewise.
9192 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9193 (_FP_MUL_MEAT_2_gmp): Likewise.
9194 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9195 (_FP_SQRT_MEAT_2): Likewise.
9196 (_FP_FRAC_ASSEMBLE_2): Likewise.
9197 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9198 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9199 (_FP_FRAC_CLZ_4): Likewise.
9200 (_FP_MUL_MEAT_4_wide): Likewise.
9201 (_FP_MUL_MEAT_4_gmp): Likewise.
9202 (_FP_SQRT_MEAT_4): Likewise.
9203 (_FP_FRAC_ASSEMBLE_4): Likewise.
9204 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9205 * soft-fp/op-common.h (_FP_CMP): Likewise.
9206 (_FP_CMP_EQ): Likewise.
9207 (_FP_CMP_UNORD): Likewise.
9208 (_FP_TO_INT): Likewise.
9209 (_FP_FROM_INT): Likewise.
9210 [!__FP_CLZ] (__FP_CLZ): Likewise.
9211 (_FP_DIV_HELP_imm): Likewise.
9212 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9213 Likewise.
9214 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9215 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9216 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9217 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9218 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9219 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9220 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9221 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9222 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9223 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9224 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9225 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9226 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9227 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9228 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9229 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9230 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9231 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9232 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9233 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9234 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9235 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9236 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9237 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9238 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9239 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9240 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9241 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9242 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9243 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9244 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9245 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9246 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9247 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9248 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9249 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9250 (FP_UNPACK_RAW_SP): Likewise.
9251 (FP_PACK_RAW_S): Likewise.
9252 (FP_PACK_RAW_SP): Likewise.
9253 (FP_UNPACK_S): Likewise.
9254 (FP_UNPACK_SP): Likewise.
9255 (FP_UNPACK_SEMIRAW_S): Likewise.
9256 (FP_UNPACK_SEMIRAW_SP): Likewise.
9257 (FP_PACK_S): Likewise.
9258 (FP_PACK_SP): Likewise.
9259 (FP_PACK_SEMIRAW_S): Likewise.
9260 (FP_PACK_SEMIRAW_SP): Likewise.
9261 (_FP_SQRT_MEAT_S): Likewise.
9262 (FP_CMP_S): Likewise.
9263 (FP_CMP_EQ_S): Likewise.
9264 (FP_CMP_UNORD_S): Likewise.
9265 (FP_TO_INT_S): Likewise.
9266 (FP_FROM_INT_S): Likewise.
9267
a736ec37
JM
9268 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9269
ff12c11f
JM
9270 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9271 (FP_EX_INVALID_IMZ): Likewise.
9272 (FP_EX_INVALID_IMZ_FMA): Likewise.
9273 (FP_EX_INVALID_ISI): Likewise.
9274 (FP_EX_INVALID_ZDZ): Likewise.
9275 (FP_EX_INVALID_IDI): Likewise.
9276 (FP_EX_INVALID_SQRT): Likewise.
9277 (FP_EX_INVALID_CVI): Likewise.
9278 (FP_EX_INVALID_VC): Likewise.
9279 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9280 "invalid" exceptions.
9281 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9282 (_FP_ADD_INTERNAL): Likewise.
9283 (_FP_MUL): Likewise.
9284 (_FP_FMA): Likewise.
9285 (_FP_DIV): Likewise.
9286 (_FP_CMP_CHECK_NAN): Likewise.
9287 (_FP_SQRT): Likewise.
9288 (_FP_TO_INT): Likewise.
9289 (FP_EXTEND): Likewise.
9290
b6dcfe8c
AM
92912014-10-09 Allan McRae <allan@archlinux.org>
9292
9293 * po/fr.po: Update French translation from translation project.
9294
2d6a47ba
JM
92952014-10-09 Joseph Myers <joseph@codesourcery.com>
9296
cb831245
JM
9297 [BZ #14132]
9298 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9299 of INTDEF.
9300 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9301 (__cxa_atexit): Use libc_hidden_proto.
9302 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9303
5deeb190
JM
9304 [BZ #14132]
9305 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9306 declaration.
9307 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9308 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9309 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9310 [!_ISOMAC] (__iswctype_internal): Likewise.
9311 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9312 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9313 alias.
9314 (fcntl): Remove __fcntl_internal alias.
9315 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9316 __connect_internal alias.
9317 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9318 Likewise.
9319
454ac701
JM
9320 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9321 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9322 FP_DENORM_ZERO.
9323 (_FP_CHECK_FLUSH_ZERO): New macro.
9324 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9325 (_FP_CMP): Likewise.
9326 (_FP_CMP_EQ): Likewise.
9327 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9328 FP_DENORM_ZERO.
9329 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9330 (FP_TRUNC): Likewise.
9331
0022e688
JM
9332 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9333 treated as invalid conversion, not as normal exponent.
9334
73e28d9c
JM
9335 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9336 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9337 (_FP_CMP_EQ): Likewise.
9338 (_FP_CMP_UNORD): Likewise.
9339 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9340 (FP_CMP_EQ_D): Likewise.
9341 (FP_CMP_UNORD_D): Likewise.
9342 * soft-fp/extended.h (FP_CMP_E): Likewise.
9343 (FP_CMP_EQ_E): Likewise.
9344 (FP_CMP_UNORD_E): Likewise.
9345 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9346 (FP_CMP_EQ_Q): Likewise.
9347 (FP_CMP_UNORD_Q): Likewise.
9348 * soft-fp/single.h (FP_CMP_S): Likewise.
9349 (FP_CMP_EQ_S): Likewise.
9350 (FP_CMP_UNORD_S): Likewise.
9351 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9352 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9353 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9354 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9355 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9356 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9357 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9358 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9359 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9360 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9361 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9362 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9363 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9364 to FP_CMP_Q.
9365 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9366 FP_CMP_Q.
9367 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9368 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9369 FP_CMP_EQ_Q.
9370 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9371 FP_CMP_Q.
9372 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9373 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9374 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9375 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9376 FP_CMP_EQ_Q.
9377 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9378 FP_CMP_Q.
9379 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9380 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9381 FP_CMP_EQ_Q.
9382 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9383 FP_CMP_Q.
9384 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9385 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9386 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9387 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9388 FP_CMP_EQ_Q.
9389
43059f42
JM
9390 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9391 a subnormal result, set the underflow exception if trapping on
9392 underflow is enabled.
9393 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9394 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9395 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9396 redefine to 0.
9397 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9398 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9399 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9400 * soft-fp/extendxftf2.c (__extendxftf2): Use
9401 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9402
2d6a47ba
JM
9403 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9404 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9405 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9406 FP_HANDLE_EXCEPTIONS.
9407 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9408 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9409 FP_HANDLE_EXCEPTIONS.
9410 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9411 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9412 FP_HANDLE_EXCEPTIONS.
9413 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9414 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9415 FP_HANDLE_EXCEPTIONS.
9416
620f462e
JM
94172014-10-08 Joseph Myers <joseph@codesourcery.com>
9418
9419 [BZ #14132]
9420 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9421 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9422 use INTUSE.
9423 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9424 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9425 Remove alias.
9426 (__adjtimex): Define using libc_hidden_ver.
9427 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9428 Remove declaration.
9429 (ntp_gettime): Call __adjtimex directly.
9430 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9431 Remove declaration.
9432 (ntp_gettimex): Call __adjtimex directly.
9433 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9434 __adjtimex_internal alias.
9435
c763c5d2
RM
94362014-10-08 Roland McGrath <roland@hack.frob.com>
9437
9438 [BZ #17460]
9439 * nscd/nscd.c (more_help): Rewrite list of tables collection
9440 using xstrdup and asprintf.
9441
9442 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9443
7b8fb2b8
RM
94442014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9445 Roland McGrath <roland@hack.frob.com>
9446
9447 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9448 (do_lookup_unique): ... local function 'enter' here; update callers.
9449
abb280f7
JM
94502014-10-06 Joseph Myers <joseph@codesourcery.com>
9451
f7b42517
JM
9452 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9453 compat_symbol calls on [SHARED].
9454 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9455 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9456 Remove.
9457 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9458 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9459 (oldsetrlimit): Remove.
9460 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9462 (lchown): New syscall entry.
9463 (oldsetrlimit): Remove.
9464 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9465 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9466 (oldsetrlimit): Remove.
9467 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9468
abb280f7
JM
9469 [BZ #14138]
9470 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9471 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9472 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9473 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9474 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9475 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9476 (fchown): Likewise.
9477 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9478 (fchown): Likewise.
9479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9480 Likewise.
9481
47d46237
AZ
94822014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9483
9484 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9485 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9486 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9487 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9488 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9489 Likewise.
9490 (__old_sem_post): Likewise.
9491
94922014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 9493
845a7343
CM
9494 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9495 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9496 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9497 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9498 Use INLINE_VSYSCALL macro.
9499 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9500 __vdso_clock_gettime.
9501 * sysdeps/unix/sysv/linux/tile/init-first.c
9502 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9503 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9504 __vdso_clock_gettime.
9505
83d641ef
CM
9506 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9507 to set up frame more cleanly.
9508
d9cd52e6
CM
9509 * sysdeps/tile/memcmp.c: New file.
9510
4b68ea11
CM
9511 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9512
c86f7b80
CM
9513 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9514 * sysdeps/tile/tilegx/strcasestr.c: New file.
9515 * sysdeps/tile/tilegx/strnlen.c: New file.
9516 * sysdeps/tile/tilegx/strstr.c: New file.
9517
1c4c1a6f
CM
9518 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9519
99d86ea3
AS
95202014-10-06 Arjun Shankar <arjun.is@lostca.se>
9521
9522 * nptl/tst-setuid3.c: Write errors to stdout.
9523
06210a44
KS
95242014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9525
9526 * elf/dl-deps.c
9527 (preload): New functions broken out of _dl_map_object_deps.
9528 (_dl_map_object_deps): Remove a nested function. Update call sites.
9529
6268f532
JM
95302014-10-01 Joseph Myers <joseph@codesourcery.com>
9531
9532 [BZ #14138]
9533 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9534 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9535
b925285f
SE
95362014-10-01 Steve Ellcey <sellcey@mips.com>
9537
9538 * sysdeps/mips/strcmp.S: New.
9539
754a15c6
JM
95402014-09-30 Joseph Myers <joseph@codesourcery.com>
9541
9542 [BZ #14138]
9543 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9544 (linkat): Likewise.
9545 (mkdirat): Likewise.
9546 (readlinkat): Likewise.
9547 (renameat): Likewise.
9548 (symlinkat): Likewise.
9549 (unlinkat): Likewise.
9550 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9551 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9552 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9553 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9554 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9555 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9556 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9557
85bb81c9
WN
95582014-09-30 Will Newton <will.newton@linaro.org>
9559
dc6fe23b
WN
9560 * math/math.h: Define long double math functions if
9561 _LIBC_TEST is defined.
9562 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9563
85bb81c9
WN
9564 * localedata/Makefile: Move assignment to tests-special
9565 into an ifdef testing run-built-tests.
9566 * timezone/Makefile: Likewise.
9567
b7e02da4
JM
95682014-09-29 Joseph Myers <joseph@codesourcery.com>
9569
9570 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9571 with $(BASH) not $(SHELL).
9572
62058ce6
CD
95732014-09-29 Carlos O'Donell <carlos@redhat.com>
9574 Matthew LeGendre <legendre1@llnl.gov>
9575
9576 [BZ #17411]
9577 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9578 l_reloc_result.
9579
8e257a29
KS
95802014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9581
9582 * stdio-common/printf_fp.c
9583 (hack_digit): New function, broken out of ...
9584 (__printf_fp): ... local function here. Update call sites.
9585 hack_digit now takes an additional parameter that is a pointer
9586 to a struct of the referenced locals. Those locals moved inside
9587 the struct and references updated.
9588
f4a58f0d
L
95892014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9590
9591 * aclocal.m4: Require autoconf 2.69.
9592 * configure: Regenerated.
9593 * sysdeps/aarch64/configure: Likewise.
9594 * sysdeps/alpha/configure: Likewise.
9595 * sysdeps/arm/armv7/configure: Likewise.
9596 * sysdeps/arm/configure: Likewise.
9597 * sysdeps/ia64/configure: Likewise.
9598 * sysdeps/mach/configure: Likewise.
9599 * sysdeps/mips/configure: Likewise.
9600 * sysdeps/s390/configure: Likewise.
9601 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9603
9604 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9605 file.
9606 * sysdeps/ia64/configure.ac: Likewise.
9607
93ae1eba
JM
96082014-09-26 Joseph Myers <joseph@codesourcery.com>
9609
1810d3ab
JM
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9611 specify symbol version for ld.so. Do not include entry for
9612 libpthread.
9613 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9614 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9615 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9616
93ae1eba
JM
9617 [BZ #14171]
9618 * Makeconfig [$(build-shared) = yes]
9619 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9620 makefiles.
9621 [$(build-shared) = yes && $(soversions.mk-done) = t]
9622 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9623 [$(build-shared) = yes && $(soversions.mk-done) = t]
9624 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9625 to Makerules.
9626 [$(build-shared) = yes && $(soversions.mk-done) = t]
9627 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9628 here.
9629 [$(build-shared) = yes && $(soversions.mk-done) = t]
9630 (common-generated): Don't append gnu/lib-names.h and
9631 gnu/lib-names.stmp here.
9632 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9633 (lib-names-h-abi): New variable.
9634 [$(build-shared) = yes && $(soversions.mk-done) = t]
9635 (lib-names-stmp-abi): Likewise.
9636 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9637 abi-variants] (before-compile): Append
9638 $(common-objpfx)$(lib-names-h-abi).
9639 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9640 abi-variants] (common-generated): Append gnu/lib-names.h.
9641 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9642 abi-variants] (install-others-nosubdir): Depend on
9643 $(inst_includedir)/$(lib-names-h-abi).
9644 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9645 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9646 [$(build-shared) = yes && $(soversions.mk-done) = t]
9647 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9648 [$(build-shared) = yes && $(soversions.mk-done) = t]
9649 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9650 [$(build-shared) = yes && $(soversions.mk-done) = t]
9651 (common-generated): Append $(lib-names-h-abi) and
9652 $(lib-names-stmp-abi).
9653 * scripts/lib-names.awk: Do not handle multi being set.
9654 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9655 Remove variable.
9656 (abi-lp64_be-ld-soname): Likewise.
9657 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9658 Likewise.
9659 (abi-hard-ld-soname): Likewise.
9660 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9661 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9662 Remove variable.
9663 (abi-o32_hard-ld-soname): Likewise.
9664 (abi-o32_soft_2008-ld-soname): Likewise.
9665 (abi-o32_hard_2008-ld-soname): Likewise.
9666 (abi-n32_soft-ld-soname): Likewise.
9667 (abi-n32_hard-ld-soname): Likewise.
9668 (abi-n32_soft_2008-ld-soname): Likewise.
9669 (abi-n32_hard_2008-ld-soname): Likewise.
9670 (abi-n64_soft-ld-soname): Likewise.
9671 (abi-n64_hard-ld-soname): Likewise.
9672 (abi-n64_soft_2008-ld-soname): Likewise.
9673 (abi-n64_hard_2008-ld-soname): Likewise.
9674 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9675 Likewise.
9676 (abi-64-v2-ld-soname): Likewise.
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9678 ld.so entries.
9679 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9680 variable.
9681 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9682 entry.
9683 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9684 variable.
9685 (abi-64-ld-soname): Likewise.
9686 (abi-x32-ld-soname): Likewise.
9687 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9688 entry.
9689 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9690
68870f12
JM
96912014-09-23 Joseph Myers <joseph@codesourcery.com>
9692
9693 [BZ #14138]
9694 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9695 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9696 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9697 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9698 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9699 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9700 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9701 syscall entry for GLIBC_2.2 symbol version.
9702 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9703 Likewise.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9705 (setrlimit): Likewise.
9706 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9707 Likewise.
9708
ea58f202
WN
97092014-09-23 Will Newton <will.newton@linaro.org>
9710
9711 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9712 _LINUX_ARM_SYSDEP_H include guard too.
9713 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9714 define.
9715
69eb9a18
RV
97162014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9717
9718 * sysdeps/unix/sysv/linux/eventfd.c:
9719 Make first argument unsigned.
9720 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9721 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9722
20e5a5f7
OB
97232014-09-20 Ondřej Bílka <neleai@seznam.cz>
9724
9725 * socket/recvmmsg.c (recvmmsg): Drop const argument.
9726 * socket/sys/socket.h: Likewise
9727 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9728
d3c827e7
AK
97292014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9730
9731 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9732
fe1cc35a
AS
97332014-09-17 Arjun Shankar <arjun.is@lostca.se>
9734
9735 * time/tst-ftime.c: New test.
9736 * time/Makefile (tests): Add tst-ftime.
9737
4e8afe69
JM
97382014-09-17 Joseph Myers <joseph@codesourcery.com>
9739
c4fe3ea7
JM
9740 * soft-fp/extended.h: Fix comment formatting.
9741 * soft-fp/op-1.h: Likewise.
9742 * soft-fp/op-2.h: Likewise.
9743 * soft-fp/op-4.h: Likewise.
9744 * soft-fp/op-8.h: Likewise.
9745 * soft-fp/op-common.h: Likewise.
9746 * soft-fp/soft-fp.h: Likewise.
9747
4e8afe69
JM
9748 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9749
af296fcd
JM
97502014-09-16 Joseph Myers <joseph@codesourcery.com>
9751
9752 [BZ #6652]
9753 * Makeconfig (soversions-default-setname): Remove variable.
9754 ($(common-objpfx)soversions.i): Don't pass default_setname to
9755 soversions.awk.
9756 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9757 oldest_abi to abi-versions.awk.
9758 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9759 * config.make.in (oldest-abi): Remove variable.
9760 * configure.ac (--enable-oldest-abi): Remove configure option.
9761 * configure: Regenerated.
9762 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9763 text.
9764 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9765 * scripts/soversions.awk: Do not handle default_setname variable.
9766 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9767 variable.
9768 * sysdeps/mach/hurd/configure: Regenerated.
9769 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9770 variable.
9771 * sysdeps/unix/sysv/linux/configure: Regenerated.
9772
545583d6
SP
97732014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9774
d330b980
SP
9775 * elf/Makefile (CFLAGS-interp.c): Remove.
9776 ($(elf-objpfx)runtime-linker.h): Generate header with linker
9777 path string.
9778 * elf/interp.c: Include generated runtime-linker.h
9779
02657da2
SP
9780 * Makerules (lib%.so): Don't include $(+interp) in
9781 prerequisites.
9782 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9783 * dlfcn/eval.c: Remove file.
9784
653b1080
SP
9785 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9786 macros.
9787
602f80ec
SP
9788 [BZ #17266]
9789 * misc/sys/cdefs.h: Define __extern_always_inline for clang
9790 4.2 and newer.
9791
545583d6
SP
9792 [BZ #17370]
9793 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9794
884ddc50
SP
97952014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9796 Jakub Jelinek <jakub@redhat.com>
9797
9798 [BZ #17266]
9799 * libio/stdio.h: Check definition of __fortify_function
9800 instead of __extern_always_inline to include bits/stdio2.h.
9801 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9802 check if __extern_always_inline is defined.
9803 [__USE_MISC || __USE_XOPEN]: Likewise.
9804 [__USE_ISOC99] Likewise.
9805 * misc/sys/cdefs.h (__fortify_function): Define only if
9806 __extern_always_inline is defined.
9807 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9808 __extern_always_inline and __extern_inline only for g++-4.3
9809 and newer or a compatible gcc.
9810
a7b87268
AS
98112014-09-15 Andreas Schwab <schwab@linux-m68k.org>
9812
9813 [BZ #17371]
9814 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9815 last change to handle zero prefix length.
9816
3f41521d
SP
98172014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9818
61fe374a
SP
9819 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9820 _SC_REGEX_VERSION.
9821
3f41521d
SP
9822 * posix/getconf.c (vars): Add _POSIX_IPV6 and
9823 _POSIX_RAW_SOCKETS.
9824
d8f879ee
AM
98252014-09-13 Allan McRae <allan@archlinux.org>
9826
9827 * po/ru.po: Update Russian translation from translation project.
9828
c079afb7
RM
98292014-09-12 Roland McGrath <roland@hack.frob.com>
9830
a62b3c15
RM
9831 * locale/programs/locale.c (show_locale_vars): Inline local function
9832 into its sole call site. Clean up some style nits.
9833 (print_item): New function, broken out of ...
9834 (show_info): ... local function here. Clean up style nits.
9835
d7e49b19
RM
9836 * locale/programs/ld-ctype.c (set_one_default): New function, broken
9837 out of ...
9838 (set_class_defaults): ... local function set_default here.
9839 Define set_default as a macro locally to pass constant parameters.
9840 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9841 rather than a shared local.
9842
c079afb7
RM
9843 * stdlib/rpmatch.c (try): New function, broken out of ...
9844 (rpmatch): ... local function here. Also, prototypify definition.
9845
0bd72468
JM
98462014-09-12 Joseph Myers <joseph@codesourcery.com>
9847
ba90e050
JM
9848 * scripts/soversions.awk: Do not handle configuration names.
9849 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9850 vendor and os variables to soversions.awk.
9851 * configure.ac: Do not modify gnu-* host_os.
9852 * configure: Regenerated
9853 * shlib-versions: Remove first column with configuration names.
9854 * nptl/shlib-versions: Likewise.
9855 * nptl_db/shlib-versions: Likewise.
9856 * sysdeps/hppa/shlib-versions: Likewise.
9857 * sysdeps/m68k/shlib-versions: Likewise.
9858 * sysdeps/mach/hurd/shlib-versions: Likewise.
9859 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9860 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9861 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9862 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9863 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
9864 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
9865 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
9866 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
9867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9868 Likewise.
9869 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9870 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9871 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9872 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9873 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9874 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9875 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9876 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9877
73a39112
JM
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9879 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9881 Regenerated.
9882 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9884 Condition symbol version definitions on [HAVE_ELFV2_ABI].
9885
c729e7c1
JM
9886 * shlib-versions: Remove OS-specific entries. Moved to files in
9887 sysdeps.
9888 * sysdeps/mach/hurd/shlib-versions: New file.
9889 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9890
dc932a24
JM
9891 * nptl/shlib-versions: Remove architecture-specific entries.
9892 Moved to files in sysdeps.
9893 * shlib-versions: Likewise.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9895 file.
9896 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9897 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9898 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9899 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9900
0bd72468
JM
9901 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9902 (UDP_NO_CHECK6_RX): Likewise.
9903
920238e0
SP
99042014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9905
9906 * sysdeps/posix/sysconf.c (__sysconf): Spell
9907 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9908
ba7b4d29
FW
99092014-08-12 Florian Weimer <fweimer@redhat.com>
9910
9911 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9912 loading.
9913 * iconv/Versions (__gconv_transliterate): Export for use from
9914 gconv modules.
9915 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9916 (struct __gconv_trans_data, __gconv_trans_fct,
9917 __gconv_trans_context_fct, __gconv_trans_query_fct,
9918 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9919 definitions.
9920 (struct __gconv_step_data): Remove __trans member.
9921 (__gconv_transliterate): Declaration moved from gconv_int.h. No
9922 longer hidden. Remove unused trans_data argument.
9923 * iconv/gconv_int.h (struct trans_struct): Remove definition.
9924 (__gconv_translit_find): Remove declaration.
9925 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
9926 prototype.
9927 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9928 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9929 trans_data argument. Add hidden definition.
9930 (__gconv_translit_find): Remove.
9931 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9932 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9933 * iconv/skeleton.c: Remove transliteration initialization.
9934 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9935 __gconv_step_data initialization.
9936 * libio/iofwide.c (__libio_translit_): Remove.
9937 (_IO_fwide): Adjust struct __gconv_step_data initialization.
9938 * wcsmbs/btowc.c (__btowc): Likewise.
9939 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9940 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9941 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9942 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9943 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9944 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9945 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9946 * wcsmbs/wctob.c (wctob): Likewise.
9947
5379aebd
SP
99482014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9949
9950 [BZ #16194]
9951 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9952 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
9953 register usage.
9954 * sysdeps/x86/Makefile: Adjust.
9955
8c0ab919
RM
99562014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9957 Roland McGrath <roland@hack.frob.com>
9958
9959 * locale/weight.h: Add include guard.
9960 (findidx): Make static rather than auto; take new parameters
9961 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9962 * locale/weightwc.h: Likewise.
9963 * posix/fnmatch_loop.c
9964 (FCT): Change type of EXTRA from int32_t to wint_t.
9965 Don't include either header inside the function.
9966 Call FINDIDX rather than findidx, and pass new arguments.
9967 #undef FINDIDX at the end of the file.
9968 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9969 FINDIDX before including fnmatch_loop.c for the non-wide version.
9970 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9971 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9972 for the wide version.
9973 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9974 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9975 Pass new arguments to findidx.
9976 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9977 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9978 Don't #include it inside the function. Pass new arguments to findidx.
9979 * posix/regex_internal.h
9980 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9981 (re_string_elem_size_at): Don't #include it inside the function.
9982 Pass new arguments to findidx.
9983 * string/strcoll_l.c: #include WEIGHT_H at top level.
9984 (get_next_seq): Don't #include it inside the function.
9985 Pass new arguments to findidx.
9986 (get_next_seq_nocache): Likewise.
9987 * string/strxfrm_l.c: #include WEIGHT_H at top level.
9988 (STRXFRM): Don't #include it inside the function.
9989 Pass new arguments to findidx.
9990
52ffbdf2
FW
99912014-09-11 Florian Weimer <fweimer@redhat.com>
9992
9993 [BZ #17344]
9994 * malloc/malloc.c (unlink): Turn asserts into a call to
9995 malloc_printerr.
9996
984c0ea9
TL
99972014-09-11 Tim Lammens <tim.lammens@gmail.com>
9998
9999 [BZ #17370]
10000 * libio/wfileops (do_ftell_wide): Free OUT.
10001
3daee107
CM
100022014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10003
10004 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10005
58b930ae
SP
100062014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10007
10008 [BZ #17363]
10009 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10010 group if the current group is empty.
10011
3b473fec
AZ
100122014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10013
71ae8647
AZ
10014 * benchtests/bench-memset.c (test_main): Add more test from size
10015 from 32 to 512 bytes.
10016 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10017 Add POWER8 memset object.
10018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10019 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10020 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10021 implementation.
10022 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10023 Likewise.
10024 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10025 multiarch POWER8 memset optimization.
10026 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10027 POWER8 memset optimization.
10028
3b473fec
AZ
10029 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10030 Remove bzero multiarch objects.
10031 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10032 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10033 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10034 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10035 Remove define.
10036 [__bzero]: Redefine to specific name.
10037 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10038 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10039 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10040 define.
10041 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10042 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10043
e6fb9587
FW
100442014-09-10 Florian Weimer <fweimer@redhat.com>
10045
10046 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10047 warnings into errors.
10048
10049 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10050 __cxa_thread_atexit_impl prototype.
10051
9d3a350b
SE
100522014-09-09 Steve Ellcey <sellcey@mips.com>
10053
10054 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10055 Fix capitalization of error message.
10056
0febba23
SE
100572014-09-09 Steve Ellcey <sellcey@mips.com>
10058
10059 * sysdeps/mips/preconfigure: Modify ABI tests.
10060
645a0e9c
CD
100612014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10062
10063 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10064
d83f0734
CD
100652014-09-07 Roland McGrath <roland@hack.frob.com>
10066 Carlos O'Donell <carlos@systemhalted.org>
10067
10068 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10069 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10070 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10071 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10072 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10073 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10074 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10075 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10076 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10077 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10078 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10079 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10080 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10081 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10082 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10083 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10084 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10085 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10086 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10087 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10088 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10089 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10090 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10091 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10092 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10093 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10094 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10095 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10096 Deconditionalize the code that was previously under [RESET_PID].
10097 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10098 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10099 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10100 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10101 include sysdep.h.
10102
21c83793
AM
101032014-09-08 Allan McRae <allan@archlinux.org>
10104
10105 * version.h (RELEASE): Set to "development".
10106 (VERSION): Set to "2.20.90"
10107
1cd9b65c
AM
101082014-09-07 Allan McRae <allan@archlinux.org
10109
b8079dd0
AM
10110 * version.h (RELEASE): Set to "stable".
10111 (VERSION): Set to "2.20"
10112 * include/features.h (__GLIBC_MINOR__): Set to 20.
10113
c46303ef
AM
10114 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10115 Liebler.
10116
1cd9b65c
AM
10117 * po/ko.po: Update Korean translation from translation project.
10118
8622092d
CM
101192014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10120
10121 [BZ #17354]
10122 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10123 macro for handling signed relocations.
10124
41488498
FW
101252014-09-03 Florian Weimer <fweimer@redhat.com>
10126
10127 [BZ #17325]
10128 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10129 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10130 assert.
10131 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10132 * iconvdata/ibm935.c (BODY): Likewise.
10133 * iconvdata/ibm937.c (BODY): Likewise.
10134 * iconvdata/ibm939.c (BODY): Likewise.
10135 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10136 assert.
10137 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10138 script.
10139 * iconvdata/run-iconv-test.sh: New test loop for checking for
10140 decoder crashers.
10141
a78b712d
KR
101422014-09-02 Khem Raj <raj.khem@gmail.com>
10143
10144 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10145 libm_hidden_ver.
10146
cb08abc6
AM
101472014-09-01 Allan McRae <allan@archlinux.org>
10148
2c31e102
AM
10149 * po/eo.po: Update Esperanto translation from translation project.
10150
cb08abc6
AM
10151 * po/ca.po: Update Catalan translation from translation project.
10152
17a62de1
ST
101532014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10154
10155 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10156 __proc_dostop call.
10157
9570bc53
MW
101582014-08-27 Mark Wielaard <mjw@redhat.com>
10159
10160 [BZ #17319]
10161 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10162 to call set_thread_area instead of hand written asm.
10163 (__NR_set_thread_area): Removed define.
10164 (TLS_FLAG_WRITABLE): Likewise.
10165 (__ASSUME_SET_THREAD_AREA): Remove check.
10166 (TLS_EBX_ARG): Remove define.
10167 (TLS_LOAD_EBX): Likewise.
10168
b0f955c9
ST
101692014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10170
10171 Simplify atomicity of socket creation in bind.
10172
10173 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10174 looking up the name after linking the file.
10175
529bf515
AM
101762014-08-27 Allan McRae <allan@archlinux.org>
10177
10178 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10179
a1a6a401
FW
101802014-08-26 Florian Weimer <fweimer@redhat.com>
10181
10182 [BZ #17187]
10183 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10184 trans_compare, open_translit, __gconv_translit_find):
10185 Remove module loading code.
10186
686ab290
AM
101872014-08-26 Allan McRae <allan@archlinux.org>
10188
e4e7cfd2
AM
10189 * po/vi.po: Update Vietnamese translation from translation project.
10190
6aa09f71
AM
10191 * po/uk.po: Update Ukrainian translation from translation project.
10192
edc0660e
AM
10193 * po/fr.po: Update French translation from translation project.
10194
7eea72ac
AM
10195 * po/ru.po: Update Russian translation from translation project.
10196
93c49eff
AM
10197 * po/pl.po: Update Polish translation from translation project.
10198
46acaf63
AM
10199 * po/cs.po: Update Czech translation from translation project.
10200
a9f5ce98
AM
10201 * po/de.po: Update German translation from translation project.
10202
373f2b78
AM
10203 * po/bg.po: Update Bulgarian translation from translation project.
10204
e7548bd8
AM
10205 * po/sv.po: Update Sweedish translation from translation project.
10206
c526bf4d
AM
10207 * po/nl.po: Update Dutch translation from translation project.
10208
686ab290
AM
10209 * po/es.po: Update Spanish translation from translation project.
10210
eb72478a
SP
102112014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10212
dd763fdb
SP
10213 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10214
318c7a58
SP
10215 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10216 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10217 (CPPFLAGS-iconvconfig): Likewise.
10218 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10219
eb72478a
SP
10220 * include/libc-symbols.h: Remove unnecessary check for
10221 NOT_IN_libc.
10222 * nptl/pthreadP.h: Likewise.
10223 * sysdeps/aarch64/setjmp.S: Likewise.
10224 * sysdeps/alpha/setjmp.S: Likewise.
10225 * sysdeps/arm/sysdep.h: Likewise.
10226 * sysdeps/i386/setjmp.S: Likewise.
10227 * sysdeps/m68k/setjmp.c: Likewise.
10228 * sysdeps/posix/getcwd.c: Likewise.
10229 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10230 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10231 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10232 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10233 * sysdeps/sh/sh3/setjmp.S: Likewise.
10234 * sysdeps/sh/sh4/setjmp.S: Likewise.
10235 * sysdeps/unix/alpha/sysdep.h: Likewise.
10236 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10237 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10238 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10239 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10244 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10245 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10246 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10247 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10249 * sysdeps/x86_64/setjmp.S: Likewise.
10250
d44a052c
JM
102512014-08-13 Joseph Myers <joseph@codesourcery.com>
10252
10253 [BZ #17263]
10254 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10255 <stdint.h>.
10256 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10257 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10258
508ce3ac
SP
102592014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10260
e44c8b0e
SP
10261 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10262
508ce3ac
SP
10263 [BZ #17262]
10264 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10265 and __x86_64__ when disabling x87 inline functions.
10266
b4acef1f
L
102672014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10268
10269 [BZ #17259]
10270 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10271 asm statement with __cpuid_count.
10272
61b1ef6e
MF
102732014-08-12 Mike Frysinger <vapier@gentoo.org>
10274
10275 * configure.ac: Change __ehdr_start code to dereference the struct.
10276 Run readelf on the output to look for relocations.
10277 * configure: Regenerated.
10278
898c62f4
JM
102792014-08-12 Joseph Myers <joseph@codesourcery.com>
10280
10281 [BZ #17261]
10282 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10283 value to 0.
10284 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10285
9a8a5720
RM
102862014-08-12 Roland McGrath <roland@hack.frob.com>
10287
10288 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10289
4e75751c
BO
102902014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10291
10292 [BZ #16892]
10293 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10294 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10295
bb2ce416
SA
102962014-08-12 Sean Anderson <seanga2@gmail.com>
10297
10298 * malloc/malloc.c: Fix typo in comment.
10299
7950a4ee
AM
103002014-08-09 Allan McRae <allan@archlinux.org>
10301
10302 * Regenerate libc.po.
10303
f469c49f
MF
103042014-08-08 Mike Frysinger <vapier@gentoo.org>
10305
10306 * intl/tst-gettext2.sh: Check every lang file for creation.
10307
656b84c2
WD
103082014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10309
10310 * sysdeps/aarch64/fpu/math_private.h
10311 (libc_feholdsetround_noex_aarch64_ctx): New function.
10312
538e9e45
W
103132014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10314
10315 * sysdeps/arm/armv6/strcpy.S (strcpy):
10316 Fix performance issue in misaligned cases.
10317
d4795e4a
AZ
103182014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10319
10320 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10321 Move definition from termios.h.
10322 (struct termio): Likewise.
10323 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10324 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10325 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10326 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10327 Likewise.
10328 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10329 Move definition to ioctl-types.h
10330 (struct termio): Likewise.
10331 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10332 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10333 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10334 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10335 Likewise.
10336
64accb62
RH
103372014-08-05 Richard Henderson <rth@redhat.com>
10338
27bb6dc0
RH
10339 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10340 exceptions.
10341 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10342 Add fraiseexcpt.
10343 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10344 Use __feraiseexcept.
10345 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10346 Protect libm symbols with IS_IN_libm.
10347
64accb62
RH
10348 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10349
e5292691
BO
103502014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10351
10352 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10353
5b4bd2d4
WN
103542014-08-04 Will Newton <will.newton@linaro.org>
10355
10356 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10357 file.
10358
fcadaeef
MF
103592014-08-04 Mike Frysinger <vapier@gentoo.org>
10360
10361 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10362 variants for each function.
10363
43a94c64
RM
103642014-08-04 Roland McGrath <roland@hack.frob.com>
10365
10366 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10367 appended ...
10368 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10369 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10370 appended ...
10371 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10372 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10373 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10374 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10375 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10376 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10377 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10378 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10379 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10380 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10381 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10382 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10383 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10384 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10385 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10387 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10388 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10389 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10391 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10392 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10393 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10394 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10395 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10396 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10397 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10398 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10399 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10400 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10401 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10402 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10403 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10404 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10405 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10406 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10407 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10408 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10409 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10410 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10411 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10412 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10413 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10414 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10415 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10416 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10417 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10418 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10419 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10420 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10421 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10422 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10423 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10424 Update #include.
10425 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10426 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10427
8f3c1fa4
RM
104282014-08-04 Roland McGrath <roland@hack.frob.com>
10429
10430 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10431 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10432 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10433 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10434 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10435 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10436
ca08746f
RM
104372014-08-04 Roland McGrath <roland@hack.frob.com>
10438
10439 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10440 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10441 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10442 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10443
9c925ff9
RM
104442014-08-04 Roland McGrath <roland@hack.frob.com>
10445
10446 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10447 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10448 (__libc_vfork): Define function under this name.
10449 (__vfork): Define as an alias.
10450 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10451 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10452
e641054c
RM
104532014-08-04 Roland McGrath <roland@hack.frob.com>
10454
10455 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10456 that was previously under [RESET_PID].
10457 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10458
dacdc867
AS
104592014-08-04 Andreas Schwab <schwab@suse.de>
10460
10461 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10462
41f725ff
MF
104632014-08-03 Mike Frysinger <vapier@gentoo.org>
10464
10465 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10466 (main): Likewise.
10467
277cfb31
RM
104682014-08-01 Roland McGrath <roland@hack.frob.com>
10469
10470 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10471
4896f049
RH
104722014-08-01 Richard Henderon <rth@redhat.com>
10473
10474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10475 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10476 typo in exact zero test.
10477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10478 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10480
6f64e7d7
RM
104812014-08-01 Roland McGrath <roland@hack.frob.com>
10482
10483 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10484 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10485 * sysdeps/arm/sysdep.h: ... here.
10486 [!__ASSEMBLER__]: Include <stdint.h>.
10487
3f3dd810
SP
104882014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10489
a476ac4b
SP
10490 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10491 (HAVE_WCTYPE_H): Likewise.
10492 (HAVE_ISWCTYPE): Likewise.
10493 (ENABLE_NLS): Likewise.
10494 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10495 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10496
78dd658a
SP
10497 * posix/regex_internal.c: Check if DEBUG is defined and is
10498 set.
10499
3f3dd810
SP
10500 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10501 (HAVE_MBSRTOWCS): Likewise.
10502 * posix/fnmatch.c: Include string.h unconditionally.
10503
95ee7fb1
SL
105042014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10505
10506 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10507 reversal.
10508
23fe486b
RM
105092014-07-31 Roland McGrath <roland@hack.frob.com>
10510
f61a113f
RM
10511 * sysdeps/generic/safe-fatal.h: New file.
10512 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10513 * nptl/forward.c: Include it.
10514 (__pthread_unwind): Use __safe_fatal as default action, rather
10515 than a bogus use of INTERNAL_SYSCALL that could never work.
10516
9fe7e787
RM
10517 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10518 * configure.ac (libc_cv_builtin_trap): New test.
10519 * configure: Regenerated.
10520 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10521 (ABORT_INSTRUCTION): Define using __builtin_trap.
10522
23fe486b
RM
10523 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10524 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10525 * sysdeps/nptl/nptl-signals.h: New file.
10526 * nptl/pthreadP.h: Include <nptl-signals.h>.
10527
f349489e
SL
105282014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10529
10530 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10531 (ONE_DIRECTION): Define.
10532 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10533 (ONE_DIRECTION): Define.
10534 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10535 (ONE_DIRECTION): Define.
10536
2f438e20
SL
105372014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10538
10539 * sysdeps/s390/Makefile: Delete file.
10540 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10541 * sysdeps/s390/__longjmp.c: Delete file.
10542 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10543 Remove fields __flags and __reserved.
10544 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10545 and add versioning.
10546 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10547 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10548 * sysdeps/s390/rtld-setjmp.S: Likewise.
10549 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10550 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10551 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10552 * sysdeps/s390/s390-32/setjmp.S: ... here.
10553 Add versioning.
10554 (__sigsetjmp): Remove setting __flags field.
10555 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10556 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10557 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10558 * sysdeps/s390/s390-64/setjmp.S: ... here.
10559 Add versioning.
10560 (__sigsetjmp): Remove setting __flags field.
10561 * sysdeps/s390/setjmp.S: Delete file.
10562 * sysdeps/s390/sigjmp.c: Likewise.
10563 * sysdeps/s390/v1-longjmp.c: Likewise.
10564 * sysdeps/s390/v1-setjmp.h: Likewise.
10565 * sysdeps/s390/v1-sigjmp.c: Likewise.
10566 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10567 Remove v1-longjmp_chk.
10568 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10569 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10570 Include debug/longjmp_chk.c and add versioning.
10571 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10572 Include nptl/pt-longjmp.c and add versioning.
10573 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10574 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10575 Include __longjmp.c.
10576 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10577 Move to ...
10578 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10579 (__getcontext): Remove setting __flags field.
10580 Add versioning.
10581 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10582 Don't restore upper high grps.
10583 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10584 Likewise.
10585 (__swapcontext): Remove setting uc_flags field.
10586 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10587 Delete file.
10588 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10589 Include __longjmp.c.
10590 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10591 Move to ...
10592 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10593 (__getcontext): Remove setting __flags field.
10594 Add versioning.
10595 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10596 (__swapcontext): Remove setting uc_flags field.
10597 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10598 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10599 Remove fields uc_high_gprs and __reserved.
10600 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10601 New file with reverted content.
10602 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10603 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10604 Regenerated.
10605 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10606 Regenerated.
10607
6c9578a2
AS
106082014-07-31 Andreas Schwab <schwab@suse.de>
10609
10610 * config.h.in (HAVE_IFUNC): Define to 0.
10611 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10612 definedness.
10613
05f3633d
LM
106142014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10615
10616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10617 memmove-avx-unaligned, memcpy-avx-unaligned and
10618 mempcpy-avx-unaligned.
10619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10620 Add tests for AVX memcpy functions.
10621 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10622 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10623 memcpy_chk.
10624 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10625 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10626 memmove_chk.
10627 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10628 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10629 mempcpy_chk.
10630 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10631 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10632 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10633
a53fbd8e
AZ
106342013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10635
10636 [BZ #17213]
10637 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10638 powerpc64le.
10639
0961f7e1
JL
106402014-07-29 Jeff Layton <jlayton@poochiereds.net>
10641
10642 [BZ #16839]
10643 * manual/llio.texi: Add section about open file description locks.
10644 * manual/examples/ofdlocks.c: Example of open file description
10645 lock usage.
10646 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10647 F_OFD_SETLK, and F_OFD_SETLKW.
10648
cc5fb300
AM
106492014-07-23 Allan McRae <allan@archlinux.org>
10650
10651 * po/es.po: Update Spanish translation from translation project.
10652
23329dca
AS
106532014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10654
10655 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10656
9c82da17
MR
106572014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10658
10659 [BZ #17078]
10660 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10661 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10662 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10663
29c4f53e
JM
106642014-07-17 Joseph Myers <joseph@codesourcery.com>
10665
831b9896
JM
10666 [BZ #17088]
10667 * math/fesetenv.c (__fesetenv)
10668 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10669 * math/feupdateenv.c (__feupdateenv)
10670 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10671
b21c2d50
JM
10672 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10673 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10674 (__ASSUME_SOCKETCALL): Do not define.
10675
067764ef
JM
10676 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10677 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10678 (__ASSUME_SOCKETCALL): Do not define.
10679 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10680 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10681 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10682 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10683 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10684 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10685 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10686 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10687
642530c1
JM
10688 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10689 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10690 (__ASSUME_SOCKETCALL): Do not define.
10691 (__ASSUME_IPC64): Define unconditionally.
10692 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10693 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10694 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10695 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10696 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10697 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10698 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10699 Likewise.
10700
03f77315
JM
10701 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10702 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10703 (__ASSUME_SOCKETCALL): Do not define.
10704 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10705 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10706 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10707 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10708 (__ASSUME_REQUEUE_PI): Define unconditionally.
10709 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10710 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10711 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10712 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10713 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10714 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10715
083b1f7c
JM
10716 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10717 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10718 (__ASSUME_SOCKETCALL): Do not define.
10719 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10720 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10721 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10722 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10723 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10724 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10725
5be44ea6
JM
10726 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10727 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10728 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10729 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10730 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10731 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10732 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10733 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10734 (__ASSUME_GETCPU_SYSCALL): Likewise.
10735
d95ffd4c
JM
10736 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10737 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
10738 cases for individual architectures.
10739 * sysdeps/gnu/configure: Regenerated.
10740 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10741 LIBC_SLIBDIR_RTLDDIR.
10742 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10743 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10744 LIBC_SLIBDIR_RTLDDIR.
10745 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10747 LIBC_SLIBDIR_RTLDDIR.
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10749 Regenerated.
10750 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10751 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10752 file.
10753 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10754 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10755 file.
10756 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10757 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10758 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10759 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10760
29c4f53e
JM
10761 * sysdeps/aarch64/shlib-versions: Move to ...
10762 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10763 * sysdeps/alpha/shlib-versions: Move to ...
10764 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10765 * sysdeps/arm/shlib-versions: Move to ...
10766 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10767 * sysdeps/hppa/shlib-versions: Move all contents except for
10768 libgcc_s entry to ...
10769 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
10770 entry from ...
10771 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
10772 * sysdeps/ia64/shlib-versions: Move to ...
10773 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
10774 entry from ...
10775 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
10776 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10777 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10778 * sysdeps/microblaze/shlib-versions: Move to ...
10779 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10780 * sysdeps/mips/shlib-versions: Move to ...
10781 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
10782 entry from ...
10783 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
10784 * sysdeps/tile/shlib-versions: Move to ...
10785 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10786 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10787 from ...
10788 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
10789 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10790 entry from ...
10791 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
10792
32bead5b
WN
107932014-07-17 Will Newton <will.newton@linaro.org>
10794
57977c4b
WN
10795 * sysdeps/arm/bits/atomic.h
10796 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10797 (__arch_compare_and_exchange_bool_16_int): Likewise.
10798 (__arch_compare_and_exchange_bool_64_int): Likewise.
10799
32bead5b
WN
10800 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10801 into an #else block.
10802
37fccd41
RM
108032014-07-16 Roland McGrath <roland@hack.frob.com>
10804
10805 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10806 just Linux configurations. Test empirically that the compiler sets
10807 __ARM_EABI__, rather than using the tuple to decide.
10808 * sysdeps/arm/preconfigure: Regenerated.
10809 * sysdeps/unix/sysv/linux/arm/configure: File removed.
10810 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10811 contents appended ...
10812 * sysdeps/arm/configure.ac: ... here.
10813 * sysdeps/arm/configure: Regenerated.
10814
b365f3ec
RM
108152014-07-15 Roland McGrath <roland@hack.frob.com>
10816
8badf496
RM
10817 * nptl/pthread_kill.c: New file.
10818 * nptl/pthread_sigmask.c: New file.
10819 * nptl/pthread_sigqueue.c: New file.
10820
3df6f22e
RM
10821 * sysdeps/nptl/lowlevellock.h: New file.
10822 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10823 * sysdeps/nptl/lowlevellock-futex.h: New file.
10824
b365f3ec
RM
10825 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10826 Remove dead declarations.
10827
f2fef657
L
108282014-07-14 H.J. Lu <hongjiu.lu@intel.com>
10829
10830 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10831 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10832 config-cflags-avx2.
10833 * sysdeps/x86_64/configure.ac: Likewise.
10834 * sysdeps/i386/configure: Regenerated.
10835 * sysdeps/x86_64/configure: Likewise.
10836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10837 memset-avx2 only if config-cflags-avx2 is yes.
10838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10839 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10840 defined.
10841 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10842 only if HAVE_AVX2_SUPPORT is defined.
10843 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10844
f6c44d47
AM
108452014-07-14 Alan Modra <amodra@gmail.com>
10846
10847 [BZ #17153]
10848 * elf/elf.h (DT_PPC64_NUM): Correct value.
10849 * NEWS: Add to fixed bug list.
10850
7ee03f00
JM
108512014-07-13 Jim Meyering <meyering@fb.com>
10852
10853 [BZ 17150]
10854 regex: don't deref NULL upon heap allocation failure
10855 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10856 failure in one more place.
10857 To trigger the segfault, configure grep -with-included-regex,
10858 build it, and run these commands:
10859 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10860
9d39d517
AS
108612014-07-13 Andreas Schwab <schwab@linux-m68k.org>
10862
10863 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10864
a75b89b7
RH
108652014-07-11 Richard Henderson <rth@redhat.com>
10866
10867 * sysdeps/aarch64/libm-test-ulps: Update.
10868
771eb141
FW
108692014-07-10 Florian Weimer <fweimer@redhat.com>
10870
10871 [BZ #17135]
10872 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10873 * nptl/allocatestack.c (__nptl_setxid_error): New function.
10874 (__nptl_setxid): Initialize error member. Call
10875 __nptl_setxid_error.
10876 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10877 * nptl/descr.h (struct xid_command): Add error member.
10878 * nptl/tst-setuid3.c: New file.
10879 * nptl/Makefile (tests): Add it.
10880
bc1da176
AZ
108812014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10882
10883 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10884 New define.
10885 (__lll_trylock): Use __lll_base_trylock.
10886 (__lll_cond_trylock): Likewise.
10887
887865fc
RM
108882014-07-10 Roland McGrath <roland@hack.frob.com>
10889
c0c6bac9
RM
10890 * nptl/pthread_create.c (start_thread): Use atomic_or and
10891 lll_futex_wake directly rather than lll_robust_dead.
10892 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10893 (lll_robust_dead): Macro removed.
6a42be57 10894 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
10895 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10896 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10897 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10898 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10899 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10900 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10901 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10902 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10903 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10904 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10905 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10906 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10907 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10908 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10909
887865fc
RM
10910 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10911 Use atomic_compare_and_exchange_val_acq directly rather than
10912 lll_robust_trylock.
10913 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10914 (__lll_robust_trylock, lll_robust_trylock): Removed.
10915 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10916 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10917 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10918 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10919 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10920 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10921 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10922 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10923 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10924 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10925 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10926 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10927 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10928 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10929
58536726
FW
109302014-07-02 Florian Weimer <fweimer@redhat.com>
10931
10932 * manual/locale.texi (Locale Names): New section documenting
10933 locale name syntax. Adjust menu and node chaining accordingly.
10934 (Choosing Locale): Reference Locale Names, Locale Categories.
10935 Mention setting LC_ALL=C. Reflect that name syntax is now
10936 documented.
10937 (Locale Categories): New section title. Reference Locale Names.
10938 LC_ALL is an environment variable, but not a category.
10939 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10940 description, now in Locale Name. Reference that section. Locale
10941 name syntax is now documented.
10942
4e8f95a0
FW
109432014-07-02 Florian Weimer <fweimer@redhat.com>
10944
10945 [BZ #17137]
10946 * locale/findlocale.c (name_present, valid_locale_name): New
10947 functions.
10948 (_nl_find_locale): Use the loc_name variable to store name
10949 candidates. Call name_present and valid_locale_name to check and
10950 validate locale names. Return an error if the locale is invalid.
10951
d1836456
FW
109522014-07-02 Florian Weimer <fweimer@redhat.com>
10953
10954 * locale/setlocale.c (setlocale): Use strdup for allocating
10955 composite name copy.
10956
d69b7f5a
SP
109572014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10958
888c679b
SP
10959 Sync up with gnulib.
10960 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10961 [!_LIBC && ENABLE_NLS]: Include gettext.h.
10962 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10963 and _GL_ARG_NONNULL.
10964 [USE_UNLOCKED_IO]: Include unlocked-io.h.
10965 [!_LIBC]: Include code for Windows and Cygwin.
10966 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10967 Include prototype for int strerror_r.
10968 [!_LIBC] (is_open): New function.
10969 (flush_stdout): New function.
10970 (print_errno_message): Use it.
10971 (error): Likewise.
10972 (error_at_line): Likewise.
10973 (error_tail) Add function attribute macros. Use
10974 __builtin_expect.
10975
180e0e4b
SP
10976 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10977
d22f1fe2
SP
10978 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10979
12f2254b
SP
10980 * io/ftw.c: Include sys/param.h unconditionally.
10981
c3c7c360
SP
10982 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10983
d62aa75a
SP
10984 [BZ #17125]
10985 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10986 libc_freeres_ptr.
10987 (freecache): New function to free CACHE on exit.
10988
d69b7f5a
SP
10989 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10990 initialization.
10991
5efe06a1
DM
109922014-07-09 David S. Miller <davem@davemloft.net>
10993
10994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10995
7000d82e
DM
10996 * sysdeps/sparc/nptl/internaltypes.h: Delete.
10997 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10998 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10999 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11000 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11001 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11002 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11003 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11004 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11005 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11006 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11007 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11008 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11009
c213442d
AS
110102014-07-09 Andreas Schwab <schwab@suse.de>
11011
4a2552c3
AS
11012 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11013 output.
11014 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11015 (do_test): Likewise.
11016
c213442d
AS
11017 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11018
82374e65
WN
110192014-07-09 Will Newton <will.newton@linaro.org>
11020
11021 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11022 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11023 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11024 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11025 * sysdeps/hppa/start.S (_start): Likewise.
11026
6680738a
SP
110272014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11028
6ee3eab4
SP
11029 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11030
6680738a
SP
11031 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11032 defined.
11033
80b5c505
SP
110342014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11035
e35c53e3
SP
11036 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11037 after checking that it is non-NULL.
11038
80b5c505
SP
11039 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11040
91f4b564
AZ
110412014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11042
27b75f56
AZ
11043 * sysdeps/powerpc/memmove.c: Remove file.
11044 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11045 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11046 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11047 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11048 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11049 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11050 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11051 string memmove instead of removed powerpc one.
11052
e7f95bb5
AZ
11053 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11054 [weak_alias]: Fix compiler warning due trailing data.
11055 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11056 [weak_alias]: Likewise.
11057 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11058 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11059
91f4b564
AZ
11060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11061 (__libc_ifunc_impl_list): Add memmove functions.
11062
7c33f1e5
SP
110632014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11064
11065 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11066 Remove code.
11067 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11068 Likewise
11069 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11070 Likewise
11071 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11072 Likewise
11073 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11074 Likewise
11075 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11076 Likewise
11077 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11078 Likewise
11079 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11080 Likewise
11081 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11082 Likewise
11083 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11084 Likewise
11085 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11086 Likewise
11087 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11088 Likewise
11089 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11090 Likewise
11091 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11092 Likewise
11093 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11094 Likewise
11095 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11096 Likewise
11097 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11098 Likewise
11099
3f17b03b
AZ
111002014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11101
87868c24
AZ
11102 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11103 to avoid alignment traps in non-cacheable memory.
11104 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11105
07aedd78
AZ
11106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11107 multiarch objects.
11108 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11109 file: multiarch power7 memmove.
11110 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11111 multiarch default memmove.
11112 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11113 multiarch memove for powerpc32/power4.
11114
17762f66
AZ
11115 * string/bcopy.c: Use full path to include memmove.c.
11116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11117 multiarch objects.
11118 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11119 bcopy for powerpc64.
11120 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11121 bcopy for powerpc64.
11122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11123 and memmove implementations.
11124 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11125 optimized multiarch memmove for POWER7/powerpc64.
11126 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11127 default multiarch memmove for powerpc64.
11128 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11129 multiarch for powerpc64.
11130 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11131 for POWER7/powerpc64.
11132 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11133 memmove for POWER7/powerpc64.
11134
d6f68bbe
AZ
11135 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11136 glibc default one.
11137
3f17b03b
AZ
11138 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11139 __ELF_NATIVE_CLASS equal to 64.
11140
08192659
RM
111412014-07-07 Roland McGrath <roland@hack.frob.com>
11142
f4c4021b
RM
11143 * sysdeps/nptl/lowlevellock.h: File removed.
11144
f083450f
RM
11145 * NEWS: NPTL is no longer an add-on!
11146 * nptl/internaltypes.h: Moved ...
11147 * sysdeps/nptl/internaltypes.h: ... here.
11148 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11149 * sysdeps/nptl/fork.c: Likewise.
11150 * sysdeps/nptl/gai_misc.h: Likewise.
11151 * sysdeps/nptl/librt-cancellation.c: Likewise.
11152 * sysdeps/nptl/jmp-unwind.c: Likewise.
11153 * sysdeps/nptl/setxid.h: Likewise.
11154 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11155 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11156 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11157 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11158 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11159 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11160 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11161 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11162 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11163 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11164 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11165 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11166 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11167 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11168 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11169 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11170 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11171 * nptl/Makeconfig: Moved ...
11172 * sysdeps/nptl/Makeconfig: ... here.
11173 * nptl/configure: File removed.
11174 * nptl/ANNOUNCE: File removed.
11175 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11176 * sysdeps/unix/sysv/linux/configure: Regenerated.
11177
08192659
RM
11178 * nptl/Makefile (routines): Add libc_pthread_init,
11179 libc_multiple_threads, register-atfork and unregister-atfork.
11180 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11181 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11182 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11183 pthread-pi-defines.sym, structsem.sym.
11184 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11185 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11186 [$(subdir) = nptl] (tests): Add tst-setgetname.
11187 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11188 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11189 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11190 [!LIBC_SIGACTION]: Remove aliases.
11191 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11192 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11193 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11194 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11195 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11196 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11197 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11198 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11199 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11200 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11201 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11202 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11203 __libc_allocate_rtsig_private.
11204 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11205 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11206 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11207 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11208 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11209 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11210 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11211 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11212 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11213 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11214 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11215 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11216 * nptl/internaltypes.h: ... here.
11217 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11218 * sysdeps/nptl/jmp-unwind.c: ... here.
11219 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11220 * nptl/libc-lowlevellock.c: ... here.
11221 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11222 * nptl/libc_multiple_threads.c: ... here.
11223 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11224 * nptl/libc_pthread_init.c: ... here.
11225 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11226 * nptl/lowlevelbarrier.sym: ... here.
11227 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11228 * nptl/lowlevelcond.sym: ... here.
11229 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11230 * nptl/lowlevellock.c: ... here.
11231 * nptl/lowlevellock.h: Moved ...
11232 * sysdeps/nptl/lowlevellock.h: ... here.
11233 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11234 * nptl/lowlevelrobustlock.c: ... here.
11235 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11236 * nptl/lowlevelrobustlock.sym: ... here.
11237 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11238 * nptl/lowlevelrwlock.sym: ... here.
11239 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11240 * nptl/pt-fork.c: ... here.
11241 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11242 * nptl/pthread-pi-defines.sym: ... here.
11243 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11244 * nptl/pthread_attr_getaffinity.c: ... here.
11245 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11246 * nptl/pthread_attr_setaffinity.c: ... here.
11247 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11248 * nptl/pthread_mutex_cond_lock.c: ... here.
11249 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11250 Update #include.
11251 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11252 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11253 * nptl/pthread_once.c: ... here, replacing old file.
11254 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11255 * nptl/pthread_yield.c: ... here.
11256 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11257 * nptl/register-atfork.c: ... here.
11258 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11259 * nptl/sem_post.c: ... here.
11260 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11261 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11262 * nptl/sem_timedwait.c: ... here.
11263 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11264 * nptl/sem_trywait.c: ... here.
11265 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11266 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11267 * nptl/sem_wait.c: ... here.
11268 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11269 * nptl/structsem.sym: ... here.
11270 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11271 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11272 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11273 * nptl/unregister-atfork.c: ... here.
11274 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11275 * nptl/unwindbuf.sym: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11277 * sysdeps/nptl/fork.c: ... here.
11278 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11279 * sysdeps/nptl/fork.h: ... here.
11280 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11281 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11282 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11283 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11284 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11285 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11286 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11287 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11288 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11289 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11290 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11291 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11292 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11293 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11294 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11295 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11296 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11297 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11298 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11299 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11300 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11301 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11302 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11303 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11304 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11305 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11306 * sysdeps/unix/sysv/linux/raise.c: ... here.
11307 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11308 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11309 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11310 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11311 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11312 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11313 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11314 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11315 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11316 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11317 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11318 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11319 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11320 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11321 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11322
96baf6ff
SP
113232014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11324
11325 * sysdeps/generic/memcopy.h: Add comment for
11326 MEMCPY_OK_FOR_FWD_MEMMOVE.
11327
6b7b14b2
WN
113282014-07-04 Will Newton <will.newton@linaro.org>
11329
1570a72b
WN
11330 * string/memchr.c: Merge from gnulib.
11331 [_LIBC]: Remove conditionals.
11332 (__ptr_t): Remove define.
11333 (LONG_MAX_32_BITS): Likewise.
11334 (LONG_MAX): Likewise.
11335 (MEMCHR): Use ANSI prototype and optimize algorithm.
11336
6b7b14b2
WN
11337 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11338
38851324
SP
113392014-07-03 Roland McGrath <roland@hack.frob.com>
11340
3d9eb57c
RM
11341 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11342 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11343
78b984ae
RM
11344 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11345 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11346 in a bare environment with no <stdlib.h> installed.
11347 * sysdeps/nptl/configure: Regenerated.
11348
2d5976a5
RM
11349 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11350
c1f5acd4
RM
11351 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11352 AC_EGREP_CPP for kernel header checks, so they only succeed if
11353 including <linux/version.h> actually works right.
11354 * sysdeps/unix/sysv/linux/configure: Regenerated.
11355
4d614fe5
RM
11356 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11357 value so it's not diagnosed as unused.
11358
38851324
SP
11359 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11360 thing) with "ifeq ($(subdir),rt)".
11361
b3ec00e5
RH
113622014-07-03 Richard Henderson <rth@redhat.com>
11363
69862e25
RH
11364 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11365 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11366 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11367
d5e16ade
RH
11368 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11369 (math_force_eval): New.
11370
ca7b945c
RH
11371 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11372 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11373
cd1175a3
RH
11374 * sysdeps/alpha/fpu/s_round.c: Remove file.
11375 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11376
b3ec00e5
RH
11377 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11378 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11379 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11380 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11381 (_dl_start, print_statistics): Likewise.
11382 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11383 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11384
11385 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11386 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11387 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11388 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11389 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11390 (HP_SMALL_TIMING_AVAIL): Define.
11391 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11392 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11393 (HP_SMALL_TIMING_AVAIL): Define.
11394 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11395 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11396
11397 * sysdeps/aarch64/hp-timing.h: New file.
11398
11399 * sysdeps/generic/hp-timing.h: Remove dead comment.
11400 * sysdeps/generic/hp-timing-common.h: New file.
11401 * sysdeps/alpha/hp-timing.h: Include it.
11402 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11403 * sysdeps/i386/i686/hp-timing.h: Likewise.
11404 * sysdeps/ia64/hp-timing.h: Likewise.
11405 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11406 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11407 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11408 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11409 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11410 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11411 (hp_timing_t): New.
11412
11413 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11414 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11415 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11416 * elf/rtld.c (_dl_start_final): Likewise.
11417 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11418 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11419 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11420 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11421 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11422 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11423 (HP_TIMING_DIFF_INIT): Remove.
11424 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11425 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11426 (HP_TIMING_DIFF_INIT): Remove.
11427 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11428 * sysdeps/i386/i686/hp-timing.c: Remove file.
11429 * sysdeps/x86_64/hp-timing.c: Remove file.
11430 * sysdeps/ia64/hp-timing.c: Remove file.
11431 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11432 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11433 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11434 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11435
11436 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11437 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11438 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11439 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11440 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11441 (HP_TIMING_ACCUM): Remove.
11442 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11443 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11444 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11445
11446 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11447 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11448 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11449 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11450 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11451 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11452 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11453 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11454
11455 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11456
225f410f
MR
114572014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11458
11459 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11460
3247f285
SP
114612014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11462
11463 Sync up with gettext.
11464 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11465 [_MSC_VER]: Include malloc.h
11466 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11467 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11468 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11469 TEMP_FAILURE_RETRY. Cast return of alloca.
11470 [!_LIBC] Call gl_rwlock_init.
11471 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11472
d12704c7
SP
114732014-07-02 Roland McGrath <roland@hack.frob.com>
11474
11475 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11476 before checking its value.
11477
99f8dc92
SP
114782014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11479
05fdac77
SP
11480 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11481
99f8dc92
SP
11482 * debug/memcpy_chk.c: Don't include pagecopy.h.
11483 * debug/mempcpy_chk.c: Likewise.
11484 * string/memcpy.c: Likewise.
11485 * string/memmove.c: Likewise.
11486 * sysdeps/powerpc/memmove.c: Likewise.
11487 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11488 definition of PAGE_COPY_FWD_MAYBE here...
11489 * sysdeps/generic/pagecopy.h: ... from here.
11490 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11491
bc8ea385
VR
114922014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11493 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11494
11495 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11497 optimizations.
11498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11499 (__libc_ifunc_impl_list): Likewise.
11500 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11501 multiarch strcat for PPC64.
11502 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11503 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11504
fe5f34e4
RM
115052014-07-02 Roland McGrath <roland@hack.frob.com>
11506
11507 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11508
256aa665
SP
115092014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11510
d4eb8195
SP
11511 * intl/loadmsgcat.c: Remove declaration of
11512 get_sysdep_segment_value.
11513 (get_sysdep_segment_value): Use ISO C style.
11514 (_nl_load_domain): Use ISO C style. Get rid of redundant
11515 semicolon. Fix typo and formatting in comment.
11516 (_nl_unload_domain): Use ISO C style.
11517
256aa665
SP
11518 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11519
b100f9aa
WN
115202014-07-02 Will Newton <will.newton@linaro.org>
11521
11522 * malloc/obstack.c: Merge from gnulib master.
11523 [HAVE_CONFIG_H]: Remove conditional code.
11524 [!_LIBC]: Include config.h.
11525 [!ELIDE_CODE]: Don't include inttypes.h, include
11526 stdint.h unconditionally.
11527 (print_and_abort): Mark as _Noreturn.
11528 (_obstack_allocated_p): Mark as __attribute_pure__.
11529 (obstack_free): Rename to __obstack_free.
11530 [!__attribute__]: Remove conditional code.
11531 * malloc/obstack.h: Merge from gnulib master.
11532 [__cplusplus]: Move conditional down.
11533 [!__attribute_pure__]: Define __attribute_pure__ here
11534 if it is not already defined.
11535 (_obstack_memory_used): Mark as __attribute_pure__.
11536 [!__obstack_free]: Define as obstack_free.
11537 [__GNUC__]: Remove check for ancient NeXT gcc.
11538
c4c41244
PE
115392014-07-02 Will Newton <will.newton@linaro.org>
11540 Paul Eggert <eggert@cs.ucla.edu>
11541
11542 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11543
e1e041c4
SP
115442014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11545
11546 * resolv/gethnamaddr.c: Add comment warning that the file is
11547 not maintained.
11548
ccf431ff
CD
115492014-07-01 Carlos O'Donell <carlos@redhat.com>
11550
d34570a6
CD
11551 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11552 entries.
11553
ccf431ff
CD
11554 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11555 entry for aio_cancel and aio_cancel64.
11556 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11557 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11558 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11559 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11560 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11561 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11562 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11563 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11564 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11565 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11566 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11567 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11568 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11569
ca06321d
RM
115702014-07-01 Roland McGrath <roland@hack.frob.com>
11571
11572 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11573 * nptl/pthread_mutex_lock.c: Likewise.
11574 * nptl/pthread_mutex_timedlock.c: Likewise.
11575 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11576
a1ac3184
RH
115772014-07-01 Richard henderson <rth@redhat.com>
11578
631021e0
RH
11579 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11580 (__isnan, __isnanl): Remove.
11581 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11582
a1ac3184
RH
11583 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11584
0c1d731f
SL
115852014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11586
11587 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11588
76985d3e
SP
115892014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11590
11591 * resolv/nss_dns/dns-host.c (getanswer_r)
11592 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11593
b0cb3096
JM
115942014-07-01 Joseph Myers <joseph@codesourcery.com>
11595
11596 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11597 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11598 undefine.
11599 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11600 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11601
4d76cb39
RM
116022014-07-01 Roland McGrath <roland@hack.frob.com>
11603
11604 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11605 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11606
11607 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11608 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11609
11610 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11611 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11612 ... here.
11613 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11614 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11615
11616 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11617 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11618 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11619 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11620
11621 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11622 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11623 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11624 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11625 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11626 Moved ...
11627 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11628 ... here.
11629 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11630 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11631 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11632 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11633 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11634 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11635 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11636 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11637 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11638 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11639 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11640 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11641 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11642 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11643 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11644 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11645 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11646 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11647 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11648 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11649 ... here.
11650 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11651 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11652 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11653 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11654 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11655 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11656 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11657 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11658
0cdcad17
DH
116592014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11660
11661 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11662 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11663 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11664 Add sysdep.
11665
9b71d0e3
AZ
116662014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11667
11668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11669
665390c2
JM
116702014-06-30 Joseph Myers <joseph@codesourcery.com>
11671
ae05a9d7
JM
11672 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11673 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11674
a7672a2f
JM
11675 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11676
665390c2
JM
11677 * sysdeps/arm/libm-test-ulps: Regenerated.
11678
d7a05d07
MR
116792014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11680 Roland McGrath <roland@hack.frob.com>
11681
11682 * test-skeleton.c (signal_handler): Kill the whole process group
11683 before killing the child individually.
11684 (main): Report any failure on `setpgid'.
11685
46f1d8a6
RM
116862014-06-30 Roland McGrath <roland@hack.frob.com>
11687
11688 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11689 from _TLS_H to _ARM_NPTL_TLS_H.
11690 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11691 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11692
9c37ec0b
JM
116932014-06-30 Joseph Myers <joseph@codesourcery.com>
11694
ce9c5b3e
JM
11695 [BZ #16539]
11696 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11697 (__expm1l): Return argument unchanged when small but not
11698 subnormal.
11699
3a6e9887
JM
11700 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11701 include macro name.
11702 (_FP_UNPACK_RAW_1_P): Likewise.
11703 (_FP_PACK_RAW_1): Likewise.
11704 (_FP_PACK_RAW_1_P): Likewise.
11705 (_FP_MUL_MEAT_1_wide): Likewise.
11706 (_FP_MUL_MEAT_DW_1_hard): Likewise.
11707 (_FP_MUL_MEAT_1_hard): Likewise.
11708 (_FP_DIV_MEAT_1_imm): Likewise.
11709 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11710 (_FP_DIV_MEAT_1_udiv): Likewise.
11711 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11712 (_FP_UNPACK_RAW_2): Likewise.
11713 (_FP_UNPACK_RAW_2_P): Likewise.
11714 (_FP_PACK_RAW_2): Likewise.
11715 (_FP_PACK_RAW_2_P): Likewise.
11716 (_FP_MUL_MEAT_DW_2_wide): Likewise.
11717 (_FP_MUL_MEAT_2_wide): Likewise.
11718 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11719 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11720 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11721 (_FP_MUL_MEAT_2_gmp): Likewise.
11722 (_FP_DIV_MEAT_2_udiv): Likewise.
11723 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11724 (_FP_FRAC_SRL_4): Likewise.
11725 (_FP_FRAC_SRST_4): Likewise.
11726 (_FP_FRAC_SRS_4): Likewise.
11727 (_FP_UNPACK_RAW_4): Likewise.
11728 (_FP_UNPACK_RAW_4_P): Likewise.
11729 (_FP_PACK_RAW_4): Likewise.
11730 (_FP_PACK_RAW_4_P): Likewise.
11731 (_FP_MUL_MEAT_DW_4_wide): Likewise.
11732 (_FP_MUL_MEAT_4_wide): Likewise.
11733 (_FP_MUL_MEAT_4_gmp): Likewise.
11734 (umul_ppppmnnn): Likewise.
11735 (_FP_DIV_MEAT_4_udiv): Likewise.
11736 (__FP_FRAC_ADD_4): Likewise.
11737 (__FP_FRAC_SUB_3): Likewise.
11738 (__FP_FRAC_SUB_4): Likewise.
11739 (__FP_FRAC_DEC_3): Likewise.
11740 (__FP_FRAC_DEC_4): Likewise.
11741 (__FP_FRAC_ADDI_4): Likewise.
11742 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11743 (_FP_FRAC_SRL_8): Likewise.
11744 (_FP_FRAC_SRS_8): Likewise.
11745
9c37ec0b
JM
11746 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11747 include macro name.
11748 (FP_UNPACK_RAW_EP): Likewise.
11749 (FP_PACK_RAW_E): Likewise.
11750 (FP_PACK_RAW_EP): Likewise.
11751 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11752 (_FP_ISSIGNAN): Likewise.
11753 (_FP_ADD_INTERNAL): Likewise.
11754 (_FP_FMA): Likewise.
11755 (_FP_CMP): Likewise.
11756 (_FP_SQRT): Likewise.
11757 (_FP_TO_INT): Likewise.
11758 (_FP_FROM_INT): Likewise.
11759 (FP_EXTEND): Likewise.
11760 (_FP_DIV_MEAT_N_loop): Likewise.
11761
2125f674
MR
117622014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11763
11764 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11765 throughout.
11766
edea4028
JM
117672014-06-29 Joseph Myers <joseph@codesourcery.com>
11768
11769 [BZ #17097]
11770 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11771 result with correct sign in case of exponents that produce
11772 overflow except for X very close to 1.
11773
dd0ba018
PE
117742014-06-28 Paul Eggert <eggert@cs.ucla.edu>
11775
11776 mktime: merge #if/#ifdef usage from glibc
11777 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11778 as that works with both Glibc's and Gnulib's style.
11779 See thread starting at Siddhesh Poyarekar's bug report at:
11780 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11781
64df73c2
SP
117822014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11783
11784 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11785 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11786 * sysdeps/tile/tilegx/memmove.c: Remove file.
11787
f1eafb41
JM
117882014-06-27 Joseph Myers <joseph@codesourcery.com>
11789
11790 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11791 abi-name definition.
11792 * scripts/soversions.awk: Do not handle or generate ABI lines.
11793 * shlib-versions: Remove ABI entries.
11794 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11795 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11796
58eb0862
RM
117972014-06-27 Roland McGrath <roland@hack.frob.com>
11798
37caf178
RM
11799 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11800 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11801 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11802 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11803 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11804 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11805 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11806 Moved ...
11807 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11808 ... here.
11809 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11810 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11811 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11812 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11813 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11814 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11815 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11816 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11817 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11818 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11819 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11820 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11821 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11822 Moved ...
11823 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11825 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11827 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11829 Moved ...
11830 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11832 Moved ...
11833 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11835 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11837 Moved ...
11838 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11839 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11840 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11841 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11842 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11843 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11844 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11846 Moved ...
11847 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11848 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11849 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11850 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11851 Moved ...
11852 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11853 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11854 Moved ...
11855 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11856 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11857 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11858 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11859 Moved ...
11860 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11861 ... here.
11862 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11863 Identical file removed.
11864 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
11865 Moved ...
11866 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
11867 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
11868 Identical file removed.
11869 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
11870 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11871 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11872 Moved ...
11873 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11874 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11875 Identical file removed.
11876 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11877 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11878 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11879 Identical file removed.
11880 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11881 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11882 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11883 Identical file removed.
11884 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11885 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11886 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11887 Identical file removed.
11888 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11889 Moved ...
11890 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11891 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11892 Identical file removed.
11893 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11894 Moved ...
11895 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11896 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11897 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11898 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11899 Identical file removed.
11900 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11901 Moved ...
11902 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11903 ... here.
11904 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11905 Identical file removed.
11906 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11907 Moved ...
11908 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11909 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11910 Identical file removed.
11911 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11912 Moved ...
11913 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11914 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11915 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11916 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11917 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11918 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11919 Moved ...
11920 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11921 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11922 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11923
58eb0862
RM
11924 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11925 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11926 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11927 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11928 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11929
6f12d062
AS
119302014-06-27 Arjun Shankar <arjun.is@lostca.se>
11931
11932 [BZ #17092]
11933 * nscd/nscd.c (monitor_child): Return exit status of child
11934 instead of return value from wait syscall.
11935
be254932
JM
119362014-06-27 Joseph Myers <joseph@codesourcery.com>
11937
cb403c34
JM
11938 * configure.ac (libc_commonpagesize): Remove variable.
11939 (libc_relro_required): Likewise.
11940 (libc_cv_z_relro): Remove configure test.
11941 * configure: Regenerated.
11942 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11943 variable.
11944 (libc_relro_required): Likewise.
11945 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11946 (libc_relro_required): Likewise.
11947 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11948 (libc_relro_required): Likewise.
11949 * sysdeps/arm/preconfigure: Regenerated.
11950 * sysdeps/ia64/preconfigure: Remove file.
11951 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11952 variable.
11953 (libc_relro_required): Likewise.
11954
be254932
JM
11955 [BZ #16561]
11956 [BZ #16562]
11957 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11958 (__ieee754_yn): Set FE_TONEAREST mode internally and then
11959 recompute overflowing results in original rounding mode.
11960 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11961 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11962 recompute overflowing results in original rounding mode.
11963 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11964 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11965 recompute overflowing results in original rounding mode.
11966 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11967 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11968 recompute overflowing results in original rounding mode.
11969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11970 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11971 recompute overflowing results in original rounding mode.
11972 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11973 (libc_feholdsetround_ctx): New macro.
11974 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11975 * sysdeps/i386/fpu/libm-test-ulps: Update.
11976 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11977
b351d85a
JM
119782014-06-26 Joseph Myers <joseph@codesourcery.com>
11979
11980 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11981 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11982 corresponding .cpsetup call.
11983
3cb4de47
RM
119842014-06-26 Roland McGrath <roland@hack.frob.com>
11985
11986 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11987 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11988 * sysdeps/arm/Makefile [$(subdir) = csu]
11989 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11990 (static-only-routines): Add aeabi_read_tp here.
11991 (shared-only-routines): Add libc-aeabi_read_tp here.
11992 (CFLAGS-libc-start.c): Add -fexceptions here.
11993 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11994 (sysdep_routines, static-only-routines, shared-only-routines):
11995 Don't add to these here.
11996 (CFLAGS-libc-start.c): Likewise.
11997
11998 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11999 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12000 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12001 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12002 * sysdeps/arm/Makefile [$(subdir) = rt]
12003 (librt-sysdep_routines, librt-shared-only-routines):
12004 Append rt-aeabi_unwind_cpp_pr1 here.
12005 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12006 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12007 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12008 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12009 Append nptl-aeabi_unwind_cpp_pr1 here.
12010 (tests): Filter out tst-cleanupx4 here.
12011 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12012 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12013 Don't do those here.
12014
354426bb
JM
120152014-06-26 Joseph Myers <joseph@codesourcery.com>
12016
12017 * scripts/list-sources.sh: Do not handle ports specially.
12018
28b0a8c9
RM
120192014-06-26 Roland McGrath <roland@hack.frob.com>
12020
a3dd035d
RM
12021 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12022 * sysdeps/arm/feupdateenv.c: Likewise.
12023
28b0a8c9
RM
12024 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12025
e66a8203
JM
120262014-06-26 Joseph Myers <joseph@codesourcery.com>
12027
12028 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12029 trailing whitespace removed.
12030 * scripts/config.guess: Update to version 2014-03-23.
12031 * scripts/config.sub: Update to version 2014-05-01
12032 * scripts/install-sh: Update to version 2013-12-25.23.
12033 * scripts/move-if-change: Update from gnulib.
12034
74171115
SP
120352014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12036
b97c9ce5
SP
12037 * debug/memmove_chk.c: Remove pagecopy.h include.
12038
4000f892
SP
120392014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12040
74171115
SP
12041 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12042 identical to gnulib mktime.
12043
a8779c28
JM
120442014-06-26 Joseph Myers <joseph@codesourcery.com>
12045
e64708de
JM
12046 * configure.ac: Do not test for machine being rs6000. Do not test
12047 for powerpc*-*soft.
12048 * configure: Regenerated.
12049
6a9350c8 12050 [BZ #11505]
a8779c28
JM
12051 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12052 test.
12053 * configure: Regenerated.
12054 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12055 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12056 Remove configure test.
12057 * sysdeps/arm/configure: Regenerated.
12058 * sysdeps/nptl/configure.ac: Do not check
12059 libc_cv_asm_cfi_directives.
12060 * sysdeps/nptl/configure: Regenerated.
12061 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12062 * sysdeps/x86_64/nptl/configure: Remove generated file.
12063 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12064 unconditional.
12065 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12066
2aac0a86
SP
120672014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12068
059bf913
SP
12069 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12070 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12071 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12072 it is defined.
12073
4cf5b6d0
SP
12074 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12075 instead of whether it is defined.
12076 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12077 * sysdeps/hppa/dl-machine.h: Likewise.
12078 * sysdeps/ia64/dl-machine.h: Likewise.
12079 * sysdeps/m68k/dl-machine.h: Likewise.
12080 * sysdeps/microblaze/dl-machine.h: Likewise.
12081 * sysdeps/mips/dl-machine.: Likewise.
12082 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12083 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12084 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12085 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12086 * sysdeps/sh/dl-machine.h: Likewise.
12087 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12088 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12089 * sysdeps/tile/dl-machine.h: Likewise.
12090 * sysdeps/x86_64/dl-machine.h: Likewise.
12091
2aac0a86
SP
12092 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12093 code.
12094 (verify_persistent_db): Likewise.
12095
6ad2df0b
RM
120962014-06-26 Roland McGrath <roland@hack.frob.com>
12097
d8a483f3
RM
12098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12099 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12101 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12103 Moved ...
12104 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12105 ... here.
12106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12107 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12109 Identical file removed.
12110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12111 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12113 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12115 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12117 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12119 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12121 Moved ...
12122 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12124 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12126 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12128 Moved ...
12129 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12131 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12133 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12135 Identical file removed.
12136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12137 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12139 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12141 Moved ...
12142 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12143 ... here.
12144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12147 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12149 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12151 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12153 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12155 Moved ...
12156 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12158 Moved ...
12159 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12161 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12163 Moved ...
12164 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12166 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12167
52ae23b4
RM
12168 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12169 folded into ...
12170 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12171 * sysdeps/unix/sysv/linux/s390/Versions
12172 (libpthread: GLIBC_2.19): New version set.
12173 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12174 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12175 (librt: GLIBC_2.3.3): New version set.
12176 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12177 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12178 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12179 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12180 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12181 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12182 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12183 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12184 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12185 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12186 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12187 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12188 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12189 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12190 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12191 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12192 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12193 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12194 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12195 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12196 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12197 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12198 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12199 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12200 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12201 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12202 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12203 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12204 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12205 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12206 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12207 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12210 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12212 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12213 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12214 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12215 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12216 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12218 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12220 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12221
39507e4a
RM
12222 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12223 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12224 (__libc_vfork): Define the function under this name.
12225 [!NOT_IN_libc] (__vfork): Make this an alias.
12226 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12228 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12229 (__libc_vfork): Define the function under this name.
12230 [!NOT_IN_libc] (__vfork): Make this an alias.
12231 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12232 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12233 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12234 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12235 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12236 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12237
e549ee56
RM
12238 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12239 code that was previously under [RESET_PID].
12240 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12241 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12242 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12243
6ad2df0b
RM
12244 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12245 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12246 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12247 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12248 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12249 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12250 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12251 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12252 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12253 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12254 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12255 Moved ...
12256 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12257 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12258 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12259 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12260 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12262 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12263 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12264 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12265 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12266 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12267 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12268 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12269 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12270 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12271 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12272 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12273 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12274 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12275 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12276 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12277 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12278 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12279 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12280 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12281 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12282 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12283 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12284 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12285
7c1c1d8e
RM
122862014-06-25 Roland McGrath <roland@hack.frob.com>
12287
12288 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12289 that was previously under [RESET_PID].
12290 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12291
3e239be6
JM
122922014-06-25 Joseph Myers <joseph@codesourcery.com>
12293
74385da5
JM
12294 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12295 not undefine and redefine.
12296 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12297 [O_CLOEXEC]: Make code unconditional.
12298 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12299 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12300 <kernel-features.h>.
12301 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12302 conditional variable definition.
12303 (shm_open) [O_CLOEXEC]: Make code unconditional.
12304 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12305 code.
12306
c2570a0b
JM
12307 * configure.ac (USE_REGPARMS): Don't define here.
12308 * configure: Regenerated.
12309 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12310 * sysdeps/i386/configure: Regenerated.
12311
11b076bb
JM
12312 * nptl/createthread.c: Don't include kernel-features.h.
12313 * nptl/pthread_cancel.c: Likewise.
12314 * nptl/pthread_condattr_setclock.c: Likewise.
12315 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12316 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12317 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12318 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12319 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12320 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12321 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12322 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12324 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12325 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12326 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12327 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12328 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12329 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12330 * nscd/gai.c: Likewise.
12331 * nss/nss_db/db-open.c: Likewise.
12332 * sysdeps/generic/ldsodefs.h: Likewise.
12333 * sysdeps/sh/nptl/tls.h: Likewise.
12334 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12335 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12336 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12337 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12338 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12339 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12340 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12341 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12342 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12343 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12344 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12345 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12346 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12347 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12348 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12349 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12350 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12351 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12352 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12353 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12354 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12355 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12356 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12357 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12358 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12359 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12360 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12361 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12362 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12363 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12364 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12365 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12366 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12367 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12368 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12369 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12370 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12371 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12372 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12373 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12374 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12375 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12376 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12377 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12378 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12379 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12380 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12381 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12382 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12383 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12384 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12385 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12386 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12387 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12388 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12389 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12390 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12391 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12414 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12415 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12416 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12417 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12418 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12419 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12420 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12421 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12422 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12423 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12424 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12425 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12426 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12427 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12428 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12429 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12430 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12432 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12433 * sysdeps/unix/sysv/linux/system.c: Likewise.
12434 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12435 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12436 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12437 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12438 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12439 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12440 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12441
92072d57
JM
12442 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12443 * configure: Regenerated.
12444 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12445
3e239be6
JM
12446 * configure.ac (base_machine): Do not set specially for particular
12447 machines here.
12448 * configure: Regenerated.
12449 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12450 settings from configure.ac.
12451 * sysdeps/i386/preconfigure: New file.
12452 * sysdeps/s390/preconfigure: Likewise.
12453 * sysdeps/sh/preconfigure: Likewise.
12454 * sysdeps/sparc/preconfigure: Likewise.
12455
06d50baa
RM
124562014-06-25 Roland McGrath <roland@hack.frob.com>
12457
74836003
RM
12458 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12459 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12460 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12461 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12462 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12463 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12464 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12465 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12466 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12467 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12468 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12469 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12470 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12471 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12472 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12473 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12474 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12475 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12476 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12477
12478 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12479 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12480 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12481 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12482 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12483 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12484 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12485 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12486 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12487 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12488 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12489 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12490 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12491 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12492 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12493 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12494 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12495 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12496 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12497 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12498 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12499 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12500 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12501 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12502 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12503 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12504 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12505 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12506 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12507 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12508 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12509 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12510 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12511 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12512 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12513 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12514 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12515 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12516
06d50baa
RM
12517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12518 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12520 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12522 Moved ...
12523 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12524 ... here.
12525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12526 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12528 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12530 Moved ...
12531 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12533 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12535 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12537 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12539 Moved ...
12540 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12542 Moved ...
12543 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12545 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12547 Moved ...
12548 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12550 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12552 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12554 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12556 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12558 Moved ...
12559 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12560 ... here.
12561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12562 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12564 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12566 Moved ...
12567 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12569 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12571 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12573 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12575 Moved ...
12576 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12578 Moved ...
12579 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12581 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12583 Moved ...
12584 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12586 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12588 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12589
a4ccbc9b
JM
125902014-06-25 Joseph Myers <joseph@codesourcery.com>
12591
0828edbf
JM
12592 * timezone/checktab.awk: Update from tzcode 2014e.
12593 * timezone/private.h: Likewise.
12594 * timezone/tzfile.h: Likewise.
12595 * timezone/zdump.c: Likewise.
12596 * timezone/zic.c: Likewise.
12597
a4ccbc9b
JM
12598 * sysdeps/unix/sysv/linux/kernel-features.h
12599 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12601 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12602 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12603 Remove conditional code.
12604
9aea0cb8
WN
126052014-06-25 Will Newton <will.newton@linaro.org>
12606
12607 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12608 (_dl_arm_cap_flags): Add HWCAP2 values.
12609 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12610 (_DL_HWCAP_COUNT): Increase to 37.
12611 (_DL_HWCAP_LAST): New define.
12612 (_DL_HWCAP2_LAST): New define.
12613 (_dl_procinfo): Add support for printing
12614 AT_HWCAP2 entries.
12615 (_dl_string_hwcap): Use _dl_hwcap_string.
12616
6eaa65ce
AZ
126172014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12618
12619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12620
0f5b7185
JM
126212014-06-25 Joseph Myers <joseph@codesourcery.com>
12622
cfd2ea50
JM
12623 * README: Do not mention ports directory.
12624
cecf2ed4
JM
12625 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12626 Remove macro.
12627 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12628 <kernel-features.h>.
12629 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12630 conditional variable definition.
12631 (__futimes): Update comment.
12632 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12633 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12634
a638de82
JM
12635 [BZ #16560]
12636 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12637 arguments close to 0.
12638 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12639 Likewise.
12640 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12641 Likewise.
12642 * math/auto-libm-test-in: Add more tests of exp10.
12643 * math/auto-libm-test-out: Regenerated.
12644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12645
0f5b7185
JM
12646 * sysdeps/unix/sysv/linux/kernel-features.h
12647 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12648 * sysdeps/unix/sysv/linux/readv.c: Do not include
12649 <kernel-features.h>.
12650 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12651 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12652 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12653 unconditional.
12654 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12655 conditional code.
12656 * sysdeps/unix/sysv/linux/writev.c: Do not include
12657 <kernel-features.h>.
12658 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12659 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12660 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12661 unconditional.
12662 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12663 conditional code.
12664
c7aec4be
WN
126652014-06-25 Will Newton <will.newton@linaro.org>
12666
12667 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12668 comment changes throughout the file. Remove checks
12669 for HAVE_*_H definitions that are not required.
12670 (__gen_tempname): Call abort if an unknown kind value is
12671 passed.
12672
c5241f95
AS
126732014-06-25 Andreas Schwab <schwab@suse.de>
12674
12675 [BZ #17086]
12676 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12677 scalbln, scalblnf, scalblnl in libc.
12678
911422da
SP
126792014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12680
12681 [BZ #17086]
12682 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12683 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12684 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12685
0d749bbe
RM
126862014-06-24 Roland McGrath <roland@hack.frob.com>
12687
12688 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12689 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12690 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12691 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12692 Update #include.
12693 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12694 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12695 Update #include.
12696 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12697 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12698 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12699 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12700 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12701 * sysdeps/x86/bits/pthreadtypes.h: ... here.
12702 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12703 * sysdeps/x86/bits/semaphore.h: ... here.
12704 * sysdeps/x86/nptl/elide.h: Moved ...
12705 * sysdeps/x86/elide.h: ... here.
12706 * sysdeps/x86_64/nptl/Implies: File removed.
12707 * sysdeps/i386/nptl/Implies: File removed.
12708
0ea5d373
JM
127092014-06-24 Joseph Myers <joseph@codesourcery.com>
12710
4060283d
JM
12711 [BZ #16539]
12712 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12713 return the argument for normal arguments with exponent below -64.
12714 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12715 Likewise.
12716 * math/auto-libm-test-in: Add another test of expm1.
12717 * math/auto-libm-test-out: Regenerated.
12718
e7dd3c8c
JM
12719 [BZ #16287]
12720 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12721 calling __erfcl for arguments at least 16.
12722 * math/auto-libm-test-in: Add more tests of erf.
12723 * math/auto-libm-test-out: Regenerated.
12724
0ea5d373
JM
12725 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12726 individual architectures.
12727 * sysdeps/unix/sysv/linux/configure: Regenerated.
12728 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12729 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12730 * sysdeps/unix/sysv/linux/powerpc/configure.ac
12731 (ldd_rewrite_script): Define variable.
12732 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12734 file.
12735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12736 generated file.
12737 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12738 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12739 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12740 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12741 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12742 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12743 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12744 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12745
2307e126
SP
127462014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12747
12748 [BZ #17084]
12749 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12750 Rename member __data.d to __data.__elision_data.
12751
c0a4ed77
W
127522014-06-24 Wilco <wdijkstr@arm.com>
12753
12754 * NEWS: Add 16918 to fixed bug list.
12755
b8c00573
W
127562014-06-24 Wilco <wdijkstr@arm.com>
12757
12758 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12759
b5570d92
W
127602014-06-24 Wilco <wdijkstr@arm.com>
12761
12762 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12763 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12764 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12765 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12766 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12767 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12768 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12769 Use _FPU_MASK_RM.
12770
947bdca2
W
127712014-06-24 Wilco <wdijkstr@arm.com>
12772
12773 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12774
00f669ed
W
127752014-06-24 Wilco <wdijkstr@arm.com>
12776
12777 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12778 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12779 * sysdeps/arm/fesetround.c (fesetround): Remove space.
12780 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12781
db59bad3
W
127822014-06-24 Wilco <wdijkstr@arm.com>
12783
12784 [BZ #16918]
12785 * sysdeps/arm/feupdateenv.c (feupdateenv):
12786 Rewrite to reduce FPSCR accesses and fix return value.
12787
001f7b77
W
127882014-06-24 Wilco <wdijkstr@arm.com>
12789
12790 * sysdeps/arm/fclrexcpt.c (feclearexcept):
12791 Optimize to avoid unnecessary FPSCR writes.
12792 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12793 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12794 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12795 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12796
4841e6a6
W
127972014-06-24 Wilco <wdijkstr@arm.com>
12798
12799 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12800 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12801 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12802 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12803 Call libc_fetestexcept_vfp.
12804 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12805 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12806 __SOFTFP__ ifdef so that they can be built for softfp.
12807
0813022c
SP
128082014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12809
08e5862f
SP
12810 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12811 argument type signed char.
12812
0813022c
SP
12813 * Makerules (check-abi): Dump diff of symlist if the test
12814 fails.
12815
3fc7236a
RM
128162014-06-23 Roland McGrath <roland@hack.frob.com>
12817
aba8ef95
RM
12818 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12819 using abort.
12820
3fc7236a
RM
12821 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12822 Remove unused variable ST.
12823
4da6db51
JM
128242014-06-23 Joseph Myers <joseph@codesourcery.com>
12825
4648909d
JM
12826 [BZ #16354]
12827 [BZ #17061]
12828 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12829 small arguments before calling __expm1.
12830 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12831 small arguments before calling __expm1f.
12832 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12833 small arguments before calling __expm1l.
12834 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12835 Likewise.
12836 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12837 * math/auto-libm-test-in: Add more cosh tests. Do not allow
12838 spurious underflow for some cosh tests.
12839 * math/auto-libm-test-out: Regenerated.
12840 * sysdeps/i386/fpu/libm-test-ulps: Update.
12841
46a3d3c7
JM
12842 [BZ #17050]
12843 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12844 (__ieee754_y1): Set errno if return value overflows.
12845 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12846 (__ieee754_y1f): Set errno if return value overflows.
12847 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12848 (__ieee754_y1l): Set errno if return value overflows.
12849 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12850 (__ieee754_y1l): Set errno if return value overflows.
12851 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12852 * math/auto-libm-test-out: Regenerated.
12853
863893ec
JM
12854 * math/gen-auto-libm-tests.c: Document use of
12855 ignore-zero-inf-sign.
12856 (input_flag_type): Add value flag_ignore_zero_inf_sign.
12857 (input_flags): Add ignore-zero-inf-sign.
12858 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12859 * math/gen-libm-test.pl (generate_testfile): Handle
12860 ignore-zero-inf-sign.
12861 * math/auto-libm-test-in: Mark some cpow tests with
12862 ignore-zero-inf-sign and some with xfail-rounding.
12863 * math/auto-libm-test-out: Regenerated.
12864 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
12865 * sysdeps/i386/fpu/libm-test-ulps: Update.
12866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12867
4da6db51
JM
12868 [BZ #16315]
12869 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
12870 overflowing or underflowing operations take place with sign of
12871 result.
12872 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12873 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12874 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12875 (__ieee754_pow): Recompute overflowing and underflowing results in
12876 original rounding mode.
12877 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12878 (__powl_helper): Allow negative argument X and scale negated value
12879 as needed. Avoid passing value outside [-1, 1] to f2xm1.
12880 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12881 overflowing or underflowing operations take place with sign of
12882 result.
12883 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12884 Include <math.h>.
12885 * math/auto-libm-test-in: Add more tests of pow.
12886 * math/auto-libm-test-out: Regenerated.
12887 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12888 (pow_tonearest_test_data): Remove.
12889 (pow_test_tonearest): Likewise.
12890 (pow_towardzero_test_data): Likewise.
12891 (pow_test_towardzero): Likewise.
12892 (pow_downward_test_data): Likewise.
12893 (pow_test_downward): Likewise.
12894 (pow_upward_test_data): Likewise.
12895 (pow_test_upward): Likewise.
12896 (main): Don't call removed functions.
12897 * sysdeps/i386/fpu/libm-test-ulps: Update.
12898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12899
5686b236
RM
129002014-06-23 Roland McGrath <roland@hack.frob.com>
12901
12902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12903 Moved ...
12904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12906 Moved ...
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12909 Moved ...
12910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12912 Moved ...
12913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12915 File removed.
12916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12917 File removed.
12918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12919 File removed.
12920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12921 File removed.
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12923 File removed.
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12925 File removed.
12926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12927 File removed.
12928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12929 File removed.
12930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12931 File removed.
12932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12933 File removed.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12935 File removed.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12937 File removed.
12938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12939 Moved ...
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12942 Moved ...
12943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12944 ... here.
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12946 Moved ...
12947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12949 Moved ...
12950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12952 Moved ...
12953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12955 Moved ...
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12958 Moved ...
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12961 Moved ...
12962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12964 Moved ...
12965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12968 ... here.
12969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12970 Moved ...
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12973 Moved ...
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12975 ... here.
12976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12977 Moved ...
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12979 ... here.
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12981 Moved ...
12982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12983 ... here.
12984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12985 Moved ...
12986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12988 Moved ...
12989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12993 Moved ...
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12995 ... here.
12996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12997 Moved ...
12998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12999 ... here.
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13001 Moved ...
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13004 Moved ...
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13007 Moved ...
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13010 Moved ...
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13013 Moved ...
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13015 ... here.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13017 Moved ...
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13020 Moved ...
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13023 Moved ...
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13026 Moved ...
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13031 Moved ...
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13034 Moved ...
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13037 Moved ...
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13039 ... here.
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13041 Moved ...
13042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13043 ... here.
13044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13045 Moved ...
13046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13047 ... here.
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13049 Moved ...
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13052 Moved ...
13053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13055 Moved ...
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13058 Moved ...
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13060 ... here.
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13062 Moved ...
13063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13064 ... here.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13066 Moved ...
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13068 ... here.
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13070 Moved ...
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13073 Moved ...
13074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13075
e6d90d67
WD
130762014-06-23 Will Newton <will.newton@linaro.org>
13077 Wilco <wdijkstr@arm.com>
13078
13079 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13080 implementation. Include get-rounding-mode.h.
13081 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13082 [!libc_feholdsetround_noex_ctx]: Define
13083 libc_feholdsetround_noex_ctx.
13084 [!libc_feholdsetround_noexf_ctx]: Define
13085 libc_feholdsetround_noexf_ctx.
13086 [!libc_feholdsetround_noexl_ctx]: Define
13087 libc_feholdsetround_noexl_ctx.
13088 (libc_feholdsetround_ctx): New function.
13089 (libc_feresetround_ctx): New function.
13090 (libc_feholdsetround_noex_ctx): New function.
13091 (libc_feresetround_noex_ctx): New function.
13092
d42df555
RM
130932014-06-23 Roland McGrath <roland@hack.frob.com>
13094
88a46474
RM
13095 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13096 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13097 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13098 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13099 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13100 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13101
15bed472
RM
13102 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13103 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13104 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13105 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13106 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13107 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13108 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13109 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13110 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13111 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13113 Moved ...
13114 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13115 ... here.
13116 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13117 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13118 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13119 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13120 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13121 Moved ...
13122 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13123 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13124 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13125 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13126 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13127 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13128 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13129 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13130 Moved ...
13131 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13132 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13133 Moved ...
13134 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13135 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13136 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13137 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13138 Moved ...
13139 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13140 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13141 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13142 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13143 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13144 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13145 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13146 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13147 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13148 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13149 Moved ...
13150 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13151 ... here.
13152 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13153 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13155 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13156 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13157 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13158 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13159 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13160 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13161 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13162 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13163 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13164 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13165 Moved ...
13166 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13167 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13168 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13169 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13170 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13171 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13172 Moved ...
13173 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13174 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13175 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13176 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13177 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13178
d42df555
RM
13179 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13180 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13181 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13182 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13183 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13184 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13185 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13186 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13188 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13189 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13190 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13191 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13192 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13193 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13194 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13195 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13196 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13197 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13198 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13199 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13200 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13201 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13202 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13203 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13204 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13205 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13206 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13207
76e5216e
JM
132082014-06-23 Joseph Myers <joseph@codesourcery.com>
13209
13210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13211 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13212 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13213 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13214 (IPV6_PMTUDISC_INTERFACE): Likewise.
13215 (IPV6_PMTUDISC_OMIT): Likewise.
13216
7a81cbcc
AS
132172014-06-23 Andreas Schwab <schwab@suse.de>
13218
13219 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13220 Remove unused errout label.
13221
db224009
AZ
132222014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13223
13224 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13225 macro: hardware supports Vector Crypto instructions.
13226
f393b4aa
WN
132272014-06-23 Will Newton <will.newton@linaro.org>
13228
cc7d0447
WN
13229 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13230 rather than __builtin_expect.
13231
d6d06225
WN
13232 * elf/dl-lookup.c (undefined_msg): Remove variable.
13233 (_dl_lookup_symbol_x): Replace undefined_msg with string
13234 literal.
13235
f393b4aa
WN
13236 * elf/dl-lookup.c (do_lookup_unique): New function.
13237 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13238 to a separate function.
13239
ac60763e
AS
132402014-06-23 Andreas Schwab <schwab@suse.de>
13241
13242 [BZ #17079]
13243 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13244 before reading the next line.
13245
c5c13355
WN
132462014-06-23 Will Newton <will.newton@linaro.org>
13247
13248 * test-skeleton.c (signal_handler): Use printf and %m
13249 rather than perror. Use printf rather than fprintf to
13250 stderr. Use puts rather than fputs to stderr.
13251 (main): Likewise.
13252
bd3675f9
LC
132532014-06-22 Ludovic Courtès <ludo@gnu.org>
13254
13255 * nscd/nscd.c (thread_info_t): Remove typedef.
13256 (thread_info): Remove variable.
13257
d03efb2f
AM
132582014-06-21 Allan McRae <allan@archlinux.org>
13259
13260 * NEWS: Mention CVE-2014-4043.
13261
bc4a86fa
RM
132622014-06-20 Roland McGrath <roland@hack.frob.com>
13263
dc9a54f8
RM
13264 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13265 * nptl/smp.h: ... here.
13266
bd7022c4
RM
13267 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13268
26ffd5e6
RM
13269 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13270 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13271 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13272 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13273
93a6d082
RM
13274 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13275 * nptl/stack-aliasing.h: New file.
13276 * sysdeps/i386/i686/stack-aliasing.h: New file.
13277 * sysdeps/i386/i686/nptl/Makefile: File removed.
13278 * sysdeps/x86_64/stack-aliasing.h: New file.
13279 * sysdeps/x86_64/nptl/Makefile
13280 (CFLAGS-pthread_create.c): Variable removed.
13281
bc4a86fa
RM
13282 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13283 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13284 old file.
13285 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13286 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13287 old file.
13288
2272ffc1
JM
132892014-06-21 Joseph Myers <joseph@codesourcery.com>
13290
13291 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13292 (__ASSUME_SIGFRAME_V2): Remove macro.
13293 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13294 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13295 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13296 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13297 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13298 Declare as function. Remove conditional macro definitions.
13299 (__default_rt_sa_restorer): Likewise.
13300 (__default_sa_restorer_v1): Remove declaration.
13301 (__default_sa_restorer_v2): Likewise.
13302 (__default_rt_sa_restorer_v1): Likewise.
13303 (__default_rt_sa_restorer_v2): Likewise.
13304 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13305 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13306 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13307
4b88139b
RM
133082014-06-20 Roland McGrath <roland@hack.frob.com>
13309
13310 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13311 (libpthread-routines): Add sysdep.
13312 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13313 * sysdeps/unix/sysv/linux/sparc/Versions
13314 (libpthread: GLIBC_2.3.3): New version set.
13315 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13316 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13317 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13318 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13319 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13320 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13321 Moved ...
13322 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13323 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13324 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13325 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13326 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13327 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13328 * sysdeps/sparc/nptl/sem_init.c: ... here.
13329 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13330 * sysdeps/sparc/nptl/sem_post.c: ... here.
13331 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13332 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13333 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13334 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13335 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13336 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13337 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13338 (libpthread-routines): Add cpu_relax.
13339 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13340 File removed.
13341 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13342 (librt: GLIBC_2.3.3): New version set.
13343 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13344 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13345 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13346 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13349 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13351 Moved ...
13352 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13354 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13356 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13358 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13360 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13362 Moved ...
13363 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13364 Update #include.
13365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13366 Moved ...
13367 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13368 Update #include.
13369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13370 Moved ...
13371 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13372 Update #include.
13373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13374 Moved ...
13375 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13376 Update #include.
13377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13378 Moved ...
13379 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13380 Update #include.
13381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13382 Moved ...
13383 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13384 Update #include.
13385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13386 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13392 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13394 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13396 Moved ...
13397 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13399 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13401 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13402
d7109027
JM
134032014-06-20 Joseph Myers <joseph@codesourcery.com>
13404
9bc6103d
JM
13405 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13406 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13407 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13408 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13409 * nscd/nscd.c: Likewise.
13410 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13411 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13412 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13413 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13414
d7109027
JM
13415 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13416 <kernel-features.h>.
13417 (init_mq_netlink): Remove conditional have_sock_cloexec
13418 definitions. Remove code conditional on have_sock_cloexec < 0.
13419 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13420 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13421 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13422 <kernel-features.h>.
13423 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13424 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13425
d92d8f8a
L
134262014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13427
13428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13429 Add tests for memset_chk and memset.
13430
13431 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13432 with AVX2_Usable.
13433
4e6d2347
MR
134342014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13435
257ce712
MR
13436 [BZ #16046]
13437 * elf/tst-dl-iter-static.c: New file.
13438 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13439
4e6d2347
MR
13440 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13441 error.
13442
a2a76afe
JM
134432014-06-20 Joseph Myers <joseph@codesourcery.com>
13444
7fd00f99
JM
13445 * sysdeps/unix/sysv/linux/kernel-features.h
13446 (__ASSUME_F_GETOWN_EX): Remove macro.
13447 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13448 <kernel-features.h>.
13449 (miss_F_GETOWN_EX): Remove variable or macro.
13450 (do_fcntl): Do not check miss_F_GETOWN_EX.
13451 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13452
4a103975
JM
13453 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13454 Remove macro.
13455 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13456 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13457 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13458
a2a76afe
JM
13459 * sysdeps/unix/sysv/linux/kernel-features.h
13460 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13461 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13462 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13463 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13464
90e5dd48
MR
134652014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13466
13467 [BZ #17075]
13468 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13469 Fix calculation of the symbol's value.
13470 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13471 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13472 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13473 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13474 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13475 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13476 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13477 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13478 (modules-names): Add `tst-armtlsdescmod',
13479 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13480 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13481 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13482 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13483 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13484 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13485 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13486 ($(objpfx)tst-armtlsdescloc): New dependency.
13487 ($(objpfx)tst-armtlsdescextnow): Likewise.
13488 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13489 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13490 TLS scheme support.
13491 * sysdeps/arm/configure: Regenerate.
13492
809fdf0d
JM
134932014-06-20 Joseph Myers <joseph@codesourcery.com>
13494
13495 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13496 (__atfct_seterrno_2): Likewise.
13497 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13498 <kernel-features.h>.
13499 (__ASSUME_ATFCTS): Do not undefine and redefine.
13500 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13501 (__have_atfcts): Remove conditional definition.
13502 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13503 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13504 unreachable if [__ASSUME_ATFCTS].
13505 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13506 not undefine and redefine.
13507 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13508 <kernel-features.h>.
13509 (faccessat) [__NR_faccessat]: Make code unconditional.
13510 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13511 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13512 <kernel-features.h>.
13513 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13514 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13515 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13516 <kernel-features.h>.
13517 (fchownat) [__NR_fchownat]: Make code unconditional.
13518 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13519 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13520 <kernel-features.h>.
13521 (futimesat) [__NR_futimesat]: Make code unconditional.
13522 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13523 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13524 <kernel-features.h>.
13525 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13526 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13527 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13528 <kernel-features.h>.
13529 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13530 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13531 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13532 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13533 <kernel-features.h>.
13534 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13535 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13536 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13537 <kernel-features.h>.
13538 (linkat) [__NR_linkat]: Make code unconditional.
13539 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13540 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13541 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13542 <kernel-features.h>.
13543 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13544 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13545 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13546 <kernel-features.h>.
13547 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13548 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13549 * sysdeps/unix/sysv/linux/openat.c: Do not include
13550 <kernel-features.h>.
13551 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13552 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13553 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13554 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13555 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13556 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13557 <kernel-features.h>.
13558 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13559 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13560 result of INLINE_SYSCALL directly, not via int variable.
13561 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13562 <kernel-features.h>.
13563 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13564 (renameat) [__NR_renameat]: Make code unconditional.
13565 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13566 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13567 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13568 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13569 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13570 (__ASSUME_ATFCTS): Do not undefine and redefine.
13571 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13572 <kernel-features.h>.
13573 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13574 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13575 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13576 <kernel-features.h>.
13577 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13578 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13579 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13580 (__ASSUME_ATFCTS): Do not undefine and redefine.
13581 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13582 <kernel-features.h>.
13583 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13584 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13585 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13586 <kernel-features.h>.
13587 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13588 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13589
224c6c51
L
135902014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13591
13592 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13593
aa6ec754
AS
135942014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13595
13596 [BZ #17069]
13597 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13598 constructed tree before returning error.
13599 * posix/bug-regexp36.c: Expand test case.
13600
d8c2869d
SL
136012014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13602
3ef6b850
SL
13603 [BZ #6803]
13604 * math/libm-test.inc (scalbln_test_date):
13605 Add errno expectations.
13606 * math/w_scalblnf.c: New File.
13607 Add wrapper which checks for setting errno to ERANGE.
13608 Add weak_alias for corresponding scalbln function.
13609 * math/w_scalbln.c: Likewise.
13610 * math/w_scalblnl.c: Likewise.
13611 * math/Makefile (libm-calls): Add w_scalbln.
13612 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13613 Remove weak_alias for corresponding scalbln function.
13614 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13618 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13619 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13620 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13621 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13622 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13623 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13624 Remove long_double_symbol for scalblnl function in libm, libc.
13625 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13626 Add wrapper which checks for setting errno to ERANGE.
13627 Add long_double_symbol for scalblnl function in libm, libc.
13628 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13629 Remove long_double_symbol for scalblnl in libm.
13630 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13631 Add wrapper which checks for setting errno to ERANGE.
13632 Add long_double_symbol for scalblnl function in libm.
13633 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13634 Do not use wrapper because of own implementation.
13635
c8daec5c
L
136362014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13637
13638 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13639 3 bytes for __pad1 for x32.
13640 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13641
5c74e47c
LM
136422014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13643 H.J. Lu <hongjiu.lu@intel.com>
13644
13645 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13646 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13647 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13648 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13649 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13650
4d43ef1e
AS
136512014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13652
13653 [BZ #17069]
13654 * posix/regcomp.c (parse_expression): Deallocate partially
13655 constructed tree before returning error.
13656 * posix/Makefile.c (tests): Add bug-regex36.
13657 (generated): Add bug-regex36.mtrace.
13658 (tests-special): Add $(objpfx)bug-regex36-mem.out
13659 (bug-regex36-ENV): New variable.
13660 ($(objpfx)bug-regex36-mem.out): New rule.
13661 * posix/bug-regex36.c: New file.
13662
51a7380b
WN
136632014-06-19 Will Newton <will.newton@linaro.org>
13664
13665 * malloc/malloc.c (systrim): If extra is zero then return
13666 early.
13667
91b84fe5
SP
136682014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13669
13670 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13671
f940b965
RE
136722014-06-19 Richard Earnshaw <rearnsha@arm.com>
13673
13674 * sysdeps/aarch64/strchr.S: New file.
13675
4ba7a00f
JM
136762014-06-18 Joseph Myers <joseph@codesourcery.com>
13677
13678 [BZ #17022]
13679 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13680 from arguments -2 or below.
13681 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13682 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13683
b3a9f56b
AS
136842014-06-18 Andreas Schwab <schwab@suse.de>
13685
13686 [BZ #17062]
13687 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13688 of a bracket expr not to run off the end of the string.
13689 * posix/Makefile (tests): Add tst-fnmatch3.
13690 * posix/tst-fnmatch3.c: New file.
13691
85d89278
JM
136922014-06-18 Joseph Myers <joseph@codesourcery.com>
13693
13694 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13695 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13696 [$(cross-compiling) = no]: Likewise.
13697 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13698 [$(cross-compiling) = no]: Likewise.
13699
754c5a08
RS
137002014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13701
13702 [BZ #17031]
13703 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13704 double, adjusted for any remainder from the high double.
13705 * math/libm-test.inc (nearbyint): Add tests.
13706 (rint): Likewise.
13707
556f529d
AZ
137082014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13709
13710 * nptl/sysdeps/powerpc/Makefile: Moved ...
13711 * sysdeps/powerpc/nptl/Makefile: ... here.
13712 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13713 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13714 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13715 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13716 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13717 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13718 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13719 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13720 * nptl/sysdeps/powerpc/tls.h: Moved ...
13721 * sysdeps/powerpc/nptl/tls.h: ... here.
13722
91c03c53
JM
137232014-06-16 Joseph Myers <joseph@codesourcery.com>
13724
13725 [BZ #16681]
13726 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13727 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13728 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13729 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13730 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13731 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13732 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13733 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13734 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13735
a76e63c5
AS
137362014-06-17 Andreas Schwab <schwab@linux-m68k.org>
13737
13738 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13739
f2f6d82f
AS
137402014-06-16 Andreas Schwab <schwab@linux-m68k.org>
13741
ea8a15f6
AS
13742 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13743 defined operator.
13744
f2f6d82f
AS
13745 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13746 $TIMEOUTFACTOR.
13747
a7291117
FW
137482014-06-16 Florian Weimer <fweimer@redhat.com>
13749
13750 [BZ #17058]
13751 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13752 non-executed part of the test.
13753
3d7c00e3
AS
137542014-06-16 Andreas Schwab <schwab@suse.de>
13755
13756 * string/bits/string2.h (strdup, strndup): Update feature guard.
13757
6957fb31
DM
137582014-06-14 David S. Miller <davem@davemloft.net>
13759
13760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13761
11b9e55b
AS
137622014-06-14 Andreas Schwab <schwab@linux-m68k.org>
13763
1d2a0492
AS
13764 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13765 that was previously under [RESET_PID].
13766 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13767
11b9e55b
AS
13768 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13769 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13770 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13771 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13772 (__libc_vfork): New strong alias.
13773 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13774
0f6901d0
AK
137752014-06-14 Andi Kleen <ak@linux.intel.com>
13776
13777 * sysdeps/generic/elide.h: New file.
13778
38bbbb9f
SL
137792014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13780
13781 * Makefile (installed-headers): Adjust path of pthread.h header.
13782
45193bb8
RM
137832014-06-13 Roland McGrath <roland@hack.frob.com>
13784
9a25fd1e
RM
13785 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13786 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13787 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13788 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13789
4004f7e4
RM
13790 * nptl/sysdeps/s390/Makefile: Moved ...
13791 * sysdeps/s390/nptl/Makefile: ... here.
13792 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13793 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13794 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13795 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13796 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13797 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13798 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13799 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13800 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13801 * sysdeps/s390/nptl/pthreaddef.h: ... here.
13802 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13803 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13804 * nptl/sysdeps/s390/tls.h: Moved ...
13805 * sysdeps/s390/nptl/tls.h: ... here.
13806
45193bb8
RM
13807 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13808 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13809
f6fdf533
DM
138102014-06-13 David S. Miller <davem@davemloft.net>
13811
13812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13815 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13819 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13820 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13821 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13822 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13823 Remove RESET_PID cpp guards.
13824 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13825 Remove RESET_PID cpp guards.
13826 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13827
f5d71e14
AS
138282014-06-13 Andreas Schwab <schwab@linux-m68k.org>
13829
13830 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13831 __sp to uintptr_t.
13832
b7aa8caa
AK
138332014-06-13 Andi Kleen <ak@linux.intel.com>
13834
4b266200
AZ
13835 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13836 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13837 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13838 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13839 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13840 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13841 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13842 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13843 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13844 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13845 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13846 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13847 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13848 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13849 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13850 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13851 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13852 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13853 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13854 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
13855
13856 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
13857 (pthread_rwlock_rdlock): Add elision.
13858 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13859 (pthread_rwlock_wrlock): Add elision.
13860 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13861 (pthread_rwlock_trywrlock): Add elision.
13862 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13863 (pthread_rwlock_tryrdlock): Add elision.
13864 * nptl/pthread_rwlock_unlock.c: Include elide.h.
13865 (pthread_rwlock_tryrdlock): Add elision unlock.
13866 * nptl/sysdeps/pthread/pthread.h:
13867 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
13868 (PTHREAD_RWLOCK_INITIALIZER,
13869 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
13870 Handle new elision field.
13871 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13872 * sysdeps/arm/nptl/bits/pthreadtypes.h
13873 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13874 * sysdeps/sh/nptl/bits/pthreadtypes.h
13875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13876 * sysdeps/tile/nptl/bits/pthreadtypes.h
13877 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13878 * sysdeps/a/nptl/bits/pthreadtypes.h
13879 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13880 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13881 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13882 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13883 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13884 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13885 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13886 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13887 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13888 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13889 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13890 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13891 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13892 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13893 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13894 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13895 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13896 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13897 (elision_init): Set try_xbegin to zero when no RTM.
13898 * sysdeps/x86/nptl/bits/pthreadtypes.h
13899 (pthread_rwlock_t): Change __pad1 to __rwelision.
13900 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 13901
a832bdd3
AK
139022014-06-13 Andi Kleen <ak@linux.intel.com>
13903
13904 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13905 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13906 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13907 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13908
995a46bb
MI
139092014-06-13 Meador Inge <meadori@codesourcery.com>
13910
13911 [BZ #16996]
03ed7738 13912 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
13913 that the cached result has been set before returning it.
13914
45262aee
RM
139152014-06-12 Roland McGrath <roland@hack.frob.com>
13916
febf6cc5
RM
13917 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13918 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13919 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13920 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13921 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13922 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13923
e2682246
RM
13924 * nptl/sysdeps/sparc/Makefile: Moved ...
13925 * sysdeps/sparc/nptl/Makefile: ... here.
13926 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13927 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13928 * nptl/sysdeps/sparc/tls.h: Moved ...
13929 * sysdeps/sparc/nptl/tls.h: ... here.
13930 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13931 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13932 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13933 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13934 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13935 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13936 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13937 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13938 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13939 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13940 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13941 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13942 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13943 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13944 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13945 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13946 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13947 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13948 Update #include.
13949 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13950 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13951 Update #include.
13952 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13953 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13954 Update #include.
13955 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13956 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13957 Update #include.
13958
b0725f43
RM
13959 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13960
b14368b8
RM
13961 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13962 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13963
c5620eb3
RM
13964 * sysdeps/pthread/posix-timer.h: Include <list.h>.
13965 (struct list_links): Type removed.
13966 (struct thread_node, struct timer_node): Replace struct list_links
13967 with struct list_head.
13968 (list_unlink_ip): Likewise.
13969 * sysdeps/pthread/timer_routines.c
13970 (timer_free_list, thread_free_list, thread_active_list): Likewise.
13971 (list_append, list_insbefore): Likewise.
13972 (list_init): Function removed.
13973 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
13974 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13975 * sysdeps/pthread/Makefile: ... here, new file.
13976
13977 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13978 * sysdeps/nptl/Implies: ... here.
13979 * sysdeps/unix/sysv/linux/Implies: Add nptl.
13980 * nptl/sysdeps/pthread/list.h: Moved ...
13981 * include/list.h: ... here.
13982 * nptl/sysdeps/pthread/createthread.c: Moved ...
13983 * nptl/createthread.c: ... here.
13984 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13985 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13986 * nptl/pt-longjmp.c: ... here.
13987 * nptl/sysdeps/pthread/Makefile: Moved ...
13988 * sysdeps/nptl/Makefile: ... here.
13989 * nptl/sysdeps/pthread/Subdirs: Moved ...
13990 * sysdeps/nptl/Subdirs: ... here.
13991 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13992 * sysdeps/nptl/aio_misc.h: ... here.
13993 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13994 * sysdeps/nptl/bits/libc-lock.h: ... here.
13995 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13996 * sysdeps/nptl/bits/libc-lockP.h: ... here.
13997 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13998 * sysdeps/nptl/bits/stdio-lock.h: ... here.
13999 * nptl/sysdeps/pthread/configure: Moved ...
14000 * sysdeps/nptl/configure: ... here.
14001 * nptl/sysdeps/pthread/configure.ac: Moved ...
14002 * sysdeps/nptl/configure.ac: ... here.
14003 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14004 * sysdeps/nptl/gai_misc.h: ... here.
14005 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14006 * sysdeps/nptl/librt-cancellation.c: ... here.
14007 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14008 * sysdeps/nptl/malloc-machine.h: ... here.
14009 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14010 * sysdeps/nptl/pthread-functions.h: ... here.
14011 * nptl/sysdeps/pthread/pthread.h: Moved ...
14012 * sysdeps/nptl/pthread.h: ... here.
14013 * nptl/sysdeps/pthread/setxid.h: Moved ...
14014 * sysdeps/nptl/setxid.h: ... here.
14015 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14016 * sysdeps/nptl/sigfillset.c: ... here.
14017 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14018 * sysdeps/nptl/tcb-offsets.h: ... here.
14019 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14020 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14021 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14022 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14023 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14024 * sysdeps/pthread/allocalim.h: ... here.
14025 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14026 * sysdeps/pthread/bits/sigthread.h: ... here.
14027 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14028 * sysdeps/pthread/flockfile.c: ... here.
14029 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14030 * sysdeps/pthread/ftrylockfile.c: ... here.
14031 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14032 * sysdeps/pthread/funlockfile.c: ... here.
14033 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14034 * sysdeps/pthread/posix-timer.h: ... here.
14035 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14036 * sysdeps/pthread/timer_create.c: ... here.
14037 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14038 * sysdeps/pthread/timer_delete.c: ... here.
14039 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14040 * sysdeps/pthread/timer_getoverr.c: ... here.
14041 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14042 * sysdeps/pthread/timer_gettime.c: ... here.
14043 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14044 * sysdeps/pthread/timer_routines.c: ... here.
14045 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14046 * sysdeps/pthread/timer_settime.c: ... here.
14047 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14048 * sysdeps/pthread/tst-timer.c: ... here.
14049 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14050 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14051
e876b090
RM
14052 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14053 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14054
f6b07b3d
RM
14055 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14056 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14057 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14058 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14059 Update #include target.
14060 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14061 * sysdeps/i386/i686/nptl/Makefile: ... here.
14062 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14063 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14064 Update #include target.
14065 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14066 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14067 * nptl/sysdeps/i386/Makefile: Moved ...
14068 * sysdeps/i386/nptl/Makefile: ... here.
14069 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14070 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14071 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14072 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14073 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14074 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14075 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14076 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14077 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14078 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14079 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14080 * nptl/sysdeps/i386/tls.h: Moved ...
14081 * sysdeps/i386/nptl/tls.h: ... here.
14082
45262aee
RM
14083 * sysdeps/sh/Makefile [$(subdir) = csu]
14084 (gen-as-const-headers): Add tcb-offsets.sym.
14085 * nptl/sysdeps/sh/Makefile: File removed.
14086 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14087 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14088 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14089 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14090 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14091 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14092 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14093 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14094 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14095 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14096 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14097 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14098 * nptl/sysdeps/sh/tls.h: Moved ...
14099 * sysdeps/sh/nptl/tls.h: ... here.
14100 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14101 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14102 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14103 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14104 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14105 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14106 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14107 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14108 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14109 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14110 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14111 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14112 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14113 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14114 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14115 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14116 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14117 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14118 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14119 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14120 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14121 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14122 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14123 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14124 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14125 Moved ...
14126 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14127 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14128 Moved ...
14129 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14130 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14131 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14132 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14133 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14134 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14135 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14136 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14137 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14138 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14139 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14140 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14141 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14142 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14143 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14144 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14145 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14146 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14147 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14148
35a5e3e3
SL
141492014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14150
14151 * posix/spawn_faction_addopen.c: Include string.h.
14152
14642b85
RM
141532014-06-11 Roland McGrath <roland@hack.frob.com>
14154
14155 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14156 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14157 * nptl/sysdeps/x86_64/Makefile: Moved ...
14158 * sysdeps/x86_64/nptl/Makefile: ... here.
14159 * nptl/sysdeps/x86_64/configure: Moved ...
14160 * sysdeps/x86_64/nptl/configure: ... here.
14161 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14162 * sysdeps/x86_64/nptl/configure.ac: ... here.
14163 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14164 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14165 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14166 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14167 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14168 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14169 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14170 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14171 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14172 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14173 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14174 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14175 * nptl/sysdeps/x86_64/tls.h: Moved ...
14176 * sysdeps/x86_64/nptl/tls.h: ... here.
14177 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14178 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14179 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14180 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14181
14182 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14183
31c44fea
AZ
141842014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14185
14186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14187
e81a4f9a
JM
141882014-06-11 Joseph Myers <joseph@codesourcery.com>
14189
14190 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14191 type.
14192 [POSIX] (off_t): Likewise.
14193 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14194 [POSIX] (S_ISBLK): Require macro.
14195 [POSIX] (S_ISCHR): Likewise.
14196 [POSIX] (S_ISDIR): Likewise.
14197 [POSIX] (S_ISFIFO): Likewise.
14198 [POSIX] (S_ISREG): Likewise.
14199 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14200 optional-macro.
14201 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14202 type.
14203 [POSIX] (time_t): Likewise.
14204 [POSIX] (timer_t): Likewise.
14205
89e435f3
FW
142062014-06-11 Florian Weimer <fweimer@redhat.com>
14207
14208 [BZ #17048]
14209 * posix/spawn_int.h (struct __spawn_action): Make the path string
14210 non-const to support deallocation.
14211 * posix/spawn_faction_addopen.c
14212 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14213 * posix/spawn_faction_destroy.c
14214 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14215 path in all spawn_do_open actions.
14216 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14217 posix_spawn_file_actions_addopen.
14218
c3a2ebe1
CM
142192014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14220
14221 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14222 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14223 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14224 conditional code always true.
14225 (__libc_vfork): New alias.
14226
9503784a
RM
142272014-06-11 Roland McGrath <roland@hack.frob.com>
14228
c9cab3d2
RM
14229 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14230 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14231
d3996c79
RM
14232 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14233
ba5ec611
RM
14234 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14235 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14236
f12b4814
RM
14237 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14238 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14239
9503784a
RM
14240 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14241 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14242
e23d3d26
VR
142432014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14244
14245 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14246 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14247 multiarch strcmp for PPC64.
14248 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14249 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14251 multiarch optimizations.
14252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14253 (__libc_ifunc_impl_list): Likewise.
14254
42b1161e
SP
142552014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14256
14257 * benchtests/scripts/validate_benchout.py: New script.
14258 * benchtests/Makefile (bench-func): Call it.
14259 * benchtests/scripts/benchout.schema.json: New file.
14260
2d0fc4dc
CM
142612014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14262
4a594c34
AZ
14263 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14264 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14265 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14266 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14267 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14268 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14269 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14270 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14271 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14272 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14273 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14274 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14275 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14276 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14277 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14278 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 14280 Moved ...
4a594c34 14281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 14282 ... here.
4a594c34 14283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 14284 Moved ...
4a594c34
AZ
14285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 14287 Moved ...
4a594c34 14288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 14289 ... here.
4a594c34 14290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 14291 Moved ...
4a594c34 14292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 14293 ... here.
4a594c34 14294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 14295 Moved ...
4a594c34
AZ
14296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 14298 Moved ...
4a594c34 14299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 14300 ... here.
4a594c34 14301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 14302 Moved ...
4a594c34 14303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 14304 ... here.
4a594c34 14305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 14306 Moved ...
4a594c34
AZ
14307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 14309 Moved ...
4a594c34 14310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 14311 ... here.
4a594c34 14312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 14313 Moved ...
4a594c34 14314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 14315 ... here.
4a594c34 14316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 14317 Moved ...
4a594c34 14318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 14319 ... here.
4a594c34 14320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 14321 Moved ...
4a594c34
AZ
14322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 14324 Moved ...
4a594c34 14325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 14326 ... here.
4a594c34 14327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 14328 Moved ...
4a594c34 14329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 14330 ... here.
4a594c34 14331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 14332 Moved ...
4a594c34 14333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 14334 ... here.
4a594c34 14335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 14336 Moved ...
4a594c34
AZ
14337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 14339 Moved ...
4a594c34 14340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 14341 ... here.
4a594c34 14342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 14343 Moved ...
4a594c34 14344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 14345 ... here.
4a594c34 14346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 14347 Moved ...
4a594c34
AZ
14348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 14350 Moved ...
4a594c34 14351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 14352 ... here.
4a594c34 14353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 14354 Moved ...
4a594c34
AZ
14355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 14357 Moved ...
4a594c34
AZ
14358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 14360 Moved ...
4a594c34 14361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 14362 ... here.
4a594c34 14363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 14364 Moved ...
4a594c34 14365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 14366 ... here.
4a594c34 14367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 14368 Moved ...
4a594c34 14369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 14370 ... here.
4a594c34 14371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 14372 Moved ...
4a594c34
AZ
14373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 14375 Moved ...
4a594c34 14376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 14377 ... here.
4a594c34 14378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 14379 Moved ...
4a594c34 14380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 14381 ... here.
4a594c34
AZ
14382 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14383 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14384 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14385 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14386 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 14387 Moved ...
4a594c34 14388 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 14389 ... here.
4a594c34
AZ
14390 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14391 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14392 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14393 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14394 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14395 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14396 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14397 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14398 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14399 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14400 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14401 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14402 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 14403 Moved ...
4a594c34
AZ
14404 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14405 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 14406 Moved ...
4a594c34
AZ
14407 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14408 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14409 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14410 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 14411 Moved ...
4a594c34
AZ
14412 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14413 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14414 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14415 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14416 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14417 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14418 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 14419
0570cfed
W
144202014-06-10 Wilco <wdijkstr@arm.com>
14421
14422 * math/test-fenv-return.c: New file.
14423 * math/Makefile: Add new test test-fenv-return.
14424
f8ba1b56
JM
144252014-06-10 Joseph Myers <joseph@codesourcery.com>
14426
14427 [BZ #17042]
14428 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14429 when x - 1 is zero.
14430 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14431 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14432 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14433 0.0L for an argument of 1.0L.
14434 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14435 Likewise.
14436 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14437 value when x - 1 is zero.
14438 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14439 * sysdeps/i386/fpu/libm-test-ulps: Update.
14440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14441
2c3520d9
BO
144422014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14443
14444 [BZ #15119]
14445 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14446
acaa4d24
RM
144472014-06-09 Roland McGrath <roland@hack.frob.com>
14448
14449 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14450 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14451
962b744d
RM
144522014-06-09 Roland McGrath <roland@hack.frob.com>
14453
d752f0cc
RM
14454 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14455 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14456
34eda6d1
RM
14457 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14458 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14459
50f0a637
RM
14460 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14461 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14462
08f41f04
RM
14463 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14464 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14465
962b744d
RM
14466 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14467 if not already defined.
14468 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14469 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14470 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14471 (TLS_INIT_TP): Use it.
14472 (TLS_DEFINE_INIT_TP): New macro.
14473 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14474
09f19b05
JM
144752014-06-09 Joseph Myers <joseph@codesourcery.com>
14476
14477 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14478 constant.
14479 [POSIX] (IXANY): Likewise.
14480 [POSIX] (OLCUC): Likewise.
14481 [POSIX || POSIX2008] (CBAUD): Do not allow.
14482 [POSIX || POSIX2008] (DEFECHO): Likewise.
14483 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14484 [POSIX || POSIX2008] (ECHOKE): Likewise.
14485 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14486 [POSIX || POSIX2008] (EXTA): Likewise.
14487 [POSIX || POSIX2008] (EXTB): Likewise.
14488 [POSIX || POSIX2008] (FLUSHO): Likewise.
14489 [POSIX || POSIX2008] (LOBLK): Likewise.
14490 [POSIX || POSIX2008] (PENDIN): Likewise.
14491 [POSIX || POSIX2008] (SWTCH): Likewise.
14492 [POSIX || POSIX2008] (VDISCARD): Likewise.
14493 [POSIX || POSIX2008] (VDSUSP): Likewise.
14494 [POSIX || POSIX2008] (VLNEXT): Likewise.
14495 [POSIX || POSIX2008] (VREPRINT): Likewise.
14496 [POSIX || POSIX2008] (VSTATUS): Likewise.
14497 [POSIX || POSIX2008] (VWERASE): Likewise.
14498 (B*): Change to B[0123456789]*.
14499 * conform/data/time.h-data [POSIX || UNIX98]
14500 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14501 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14502 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14503 [POSIX] (tm_*): Do not allow.
14504
686554bf
JM
145052014-06-07 Joseph Myers <joseph@codesourcery.com>
14506
14507 * Makefile (install): Don't set LANGUAGE.
14508 * Makefile.in (install): Likewise.
14509 * assert/Makefile (test-assert-ENV): Remove variable.
14510 (test-assert-perr-ENV): Likewise.
14511 * elf/Makefile (neededtest4-ENV): Likewise.
14512 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14513 [$(cross-compiling) = no]: Don't set LANGUAGE.
14514 * io/ftwtest-sh (LANG): Remove variable.
14515 * libio/Makefile (tst-widetext-ENV): Likewise.
14516 * manual/install.texi (Running make install): Don't refer to
14517 environment settings for make install.
14518 * INSTALL: Regenerated.
14519 * nptl/tst-tls6.sh: Don't set LANG.
14520 * posix/globtest.sh (LANG): Remove variable.
14521 * string/Makefile (tester-ENV): Likewise.
14522 (inl-tester-ENV): Likewise.
14523 (noinl-tester-ENV): Likewise.
14524 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14525 [$(cross-compiling) = no]: Don't set LANGUAGE.
14526 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14527 without explicit environment settings.
14528
68e6b6b1
RM
145292014-06-06 Roland McGrath <roland@hack.frob.com>
14530
14531 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14532 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14533 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14534 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14535
4d3ae034
CM
145362014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14537
14538 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14539 other files in the crypt directory.
14540 * crypt/crypt.c: Remove duplicate includes.
14541 * crypt/crypt-entry.c: Likewise.
14542 * crypt/crypt_util.c: Likewise.
14543
8540f6d2
JM
145442014-06-06 Joseph Myers <joseph@codesourcery.com>
14545
14546 * Makeconfig (run-program-env): New variable.
14547 (run-program-prefix-before-env): Likewise.
14548 (run-program-prefix-after-env): Likewise.
14549 (run-program-prefix): Define in terms of new variables.
14550 (built-program-cmd-before-env): New variable.
14551 (built-program-cmd-after-env): Likewise.
14552 (built-program-cmd): Define in terms of new variables.
14553 (test-program-prefix-before-env): New variable.
14554 (test-program-prefix-after-env): Likewise.
14555 (test-program-prefix): Define in terms of new variables.
14556 (test-program-cmd-before-env): New variable.
14557 (test-program-cmd-after-env): Likewise.
14558 (test-program-cmd): Define in terms of new variables.
14559 * Rules (make-test-out): Use $(run-program-env).
14560 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14561 (help): Do not mention environment variables. Mention
14562 --timeoutfactor option.
14563 (timeoutfactor): New variable.
14564 (blacklist_exports): Remove function.
14565 (exports): Remove variable.
14566 (command): Do not include ${exports}.
14567 * manual/install.texi (Configuring and compiling): Do not mention
14568 test wrappers preserving environment variables. Mention that last
14569 assignment to a variable must take precedence.
14570 * INSTALL: Regenerated.
14571 * benchtests/Makefile (run-bench): Use $(run-program-env).
14572 * catgets/Makefile ($(objpfx)test1.cat): Use
14573 $(built-program-cmd-before-env), $(run-program-env) and
14574 $(built-program-cmd-after-env).
14575 ($(objpfx)test2.cat): Do not specify environment variables
14576 explicitly.
14577 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14578 $(run-program-env) and $(built-program-cmd-after-env).
14579 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14580 $(run-program-env) and $(test-program-cmd-after-env).
14581 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14582 explicitly.
14583 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14584 run_program_env and test_program_cmd_after_env arguments.
14585 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14586 * elf/tst-pathopt.sh: Use run_program_env argument.
14587 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14588 $(test-wrapper-env) and $(run-program-env).
14589 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14590 run_program_env arguments.
14591 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14592 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14593 $(test-program-prefix-before-env), $(run-program-env) and
14594 $(test-program-prefix-after-env).
14595 ($(objpfx)tst-gettext2.out): Likewise.
14596 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14597 run_program_env and test_program_prefix_after_env arguments.
14598 * intl/tst-gettext2.sh: Likewise.
14599 * intl/tst-gettext4.sh: Do not set environment variables
14600 explicitly.
14601 * intl/tst-gettext6.sh: Likewise.
14602 * intl/tst-translit.sh: Likewise.
14603 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14604 $(test-program-prefix-before-env), $(run-program-env) and
14605 $(test-program-prefix-after-env).
14606 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14607 run_program_env and test_program_prefix_after_env arguments.
14608 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14609 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14610 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14611 explicitly with each use of ${test_wrapper_env}.
14612 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14613 $(test-program-prefix-before-env), $(run-program-env) and
14614 $(test-program-prefix-after-env).
14615 * posix/tst-getconf.sh: Do not set environment variables
14616 explicitly.
14617 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14618 run_program_env and test_program_prefix_after_env arguments.
14619 * stdio-common/tst-printf.sh: Do not set environment variables
14620 explicitly.
14621 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14622 $(test-program-prefix-before-env), $(run-program-env) and
14623 $(test-program-prefix-after-env).
14624 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14625 run_program_env and test_program_prefix_after_env arguments.
14626 Split $test calls into $test_pre and $test.
14627 * timezone/Makefile (build-testdata): Use
14628 $(built-program-cmd-before-env), $(run-program-env) and
14629 $(built-program-cmd-after-env).
14630
ed36bfa1
AZ
146312014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14632
14633 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14634 strlen for non SHARED builds.
14635
fc75bf46
SP
146362014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14637
14638 * nptl/allocatestack.c (check_list): Inlined function...
14639 (__reclaim_stacks): ... here.
14640
d89b3d80
OB
146412014-06-05 Ondřej Bílka <neleai@seznam.cz>
14642
14643 [BZ #15698]
14644 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14645 memory overrun.
14646
2bf18041
JM
146472014-06-05 Joseph Myers <joseph@codesourcery.com>
14648
14649 * Rules (make-test-out): Include
14650 LOCPATH=$(common-objpfx)localedata in default environment.
14651 * debug/Makefile (tst-chk1-ENV): Remove variable.
14652 (tst-chk2-ENV): Likewise.
14653 (tst-chk3-ENV): Likewise.
14654 (tst-chk4-ENV): Likewise.
14655 (tst-chk5-ENV): Likewise.
14656 (tst-chk6-ENV): Likewise.
14657 (tst-lfschk1-ENV): Likewise.
14658 (tst-lfschk2-ENV): Likewise.
14659 (tst-lfschk3-ENV): Likewise.
14660 (tst-lfschk4-ENV): Likewise.
14661 (tst-lfschk5-ENV): Likewise.
14662 (tst-lfschk6-ENV): Likewise.
14663 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14664 (tst-iconv7-ENV): Likewise.
14665 * intl/Makefile (LOCPATH-ENV): Likewise.
14666 (tst-codeset-ENV): Likewise.
14667 (tst-gettext3-ENV): Likewise.
14668 (tst-gettext5-ENV): Likewise.
14669 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14670 (tst-fopenloc-ENV): Likewise.
14671 (tst-fgetws-ENV): Remove variable.
14672 (tst-ungetwc1-ENV): Likewise.
14673 (tst-ungetwc2-ENV): Likewise.
14674 (bug-ungetwc2-ENV): Likewise.
14675 (tst-swscanf-ENV): Likewise.
14676 (bug-ftell-ENV): Likewise.
14677 (tst-fgetwc-ENV): Likewise.
14678 (tst-fseek-ENV): Likewise.
14679 (tst-ftell-partial-wide-ENV): Likewise.
14680 (tst-ftell-active-handler-ENV): Likewise.
14681 (tst-ftell-append-ENV): Likewise.
14682 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14683 (tst-regexloc-ENV): Likewise.
14684 (bug-regex1-ENV): Likewise.
14685 (tst-regex-ENV): Likewise.
14686 (tst-regex2-ENV): Likewise.
14687 (bug-regex5-ENV): Likewise.
14688 (bug-regex6-ENV): Likewise.
14689 (bug-regex17-ENV): Likewise.
14690 (bug-regex18-ENV): Likewise.
14691 (bug-regex19-ENV): Likewise.
14692 (bug-regex20-ENV): Likewise.
14693 (bug-regex22-ENV): Likewise.
14694 (bug-regex23-ENV): Likewise.
14695 (bug-regex25-ENV): Likewise.
14696 (bug-regex26-ENV): Likewise.
14697 (bug-regex30-ENV): Likewise.
14698 (bug-regex32-ENV): Likewise.
14699 (bug-regex33-ENV): Likewise.
14700 (bug-regex34-ENV): Likewise.
14701 (bug-regex35-ENV): Likewise.
14702 (tst-rxspencer-ENV): Likewise.
14703 (tst-rxspencer-no-utf8-ENV): Likewise.
14704 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14705 (tst-sscanf-ENV): Likewise.
14706 (tst-swprintf-ENV): Likewise.
14707 (tst-swscanf-ENV): Likewise.
14708 (test-vfprintf-ENV): Likewise.
14709 (scanf13-ENV): Likewise.
14710 (bug14-ENV): Likewise.
14711 (tst-grouping-ENV): Likewise.
14712 * stdlib/Makefile (tst-strtod-ENV): Likewise.
14713 (tst-strtod3-ENV): Likewise.
14714 (tst-strtod4-ENV): Likewise.
14715 (tst-strtod5-ENV): Likewise.
14716 (testmb2-ENV): Likewise./
14717 * string/Makefile (tst-strxfrm-ENV): Likewise.
14718 (tst-strxfrm2-ENV): Likewise.
14719 (bug-strcoll1-ENV): Likewise.
14720 (test-strcasecmp-ENV): Likewise.
14721 (test-strncasecmp-ENV): Likewise.
14722 * time/Makefile (tst-strptime-ENV): Likewise.
14723 (tst-ftime_l-ENV): Likewise.
14724 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14725 (tst-mbrtowc-ENV): Likewise.
14726 (tst-wcrtomb-ENV): Likewise.
14727 (tst-mbrtowc2-ENV): Likewise.
14728 (tst-c16c32-1-ENV): Likewise.
14729 (tst-mbsnrtowcs-ENV): Likewise.
14730
cd1fb604
OB
147312014-06-05 Ondřej Bílka <neleai@seznam.cz>
14732
14733 * manual/resource.texi (How to get information about the memory
14734 subsystem?): Fix typo.
14735 Reported by Peon de la Parra Ivan <peon@keba.com>
14736
b42eca7d
GY
147372014-06-03 Guo Yixuan <culu.gyx@gmail.com>
14738
14739 [BZ #16882]
14740 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14741 (pthread_spin_lock): Branch out of spin loop to proper location.
14742 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14743 (pthread_spin_lock): Likewise.
14744
902b71f9
DM
14745 * nptl/tst-spin4.c: New test.
14746 * nptl/Makefile (tests): Add tst-spin4.
14747
f9d2d032
AS
147482014-06-03 Andreas Schwab <schwab@suse.de>
14749
14750 [BZ #15946]
14751 * resolv/res_send.c (send_dg): Reload file descriptor after
14752 calling reopen.
14753
cf7bfd28
SL
147542014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
14755
14756 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14757
111cc714
RH
147582014-06-03 Richard Henderson <rth@redhat.com>
14759
89b4bd6b
RH
14760 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14761 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14762 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14763 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
14764 in the SAVE_PID block.
14765 (__libc_vfork): New alias.
71840409 14766 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 14767
111cc714
RH
14768 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14769 child in registers, not on the stack. Remove RESET_PID conditionals.
14770 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14771
ccc39911
MS
147722014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
14773
14774 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14775
693096cc
W
147762014-06-03 Wilco <wdijkstr@arm.com>
14777
14778 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14779 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14780 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14781 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14782 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14783 Likewise.
14784
0b4366bc
W
147852014-06-03 Wilco <wdijkstr@arm.com>
14786
14787 * sysdeps/aarch64/fpu/math_private.h
14788 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14789 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14790 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14791 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14792 Fix declarations.
14793
8747cd03
KS
147942014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14795
14796 * crypt/crypt-private.h: Include ufc-crypt.h.
14797 (__b64_from_24bit): Declare extern.
14798 * crypt/crypt_util.c(__b64_from_24bit): New function.
14799 (b64t): New static const variable.
14800 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14801 (b64t): Remove variable.
14802 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14803 * crypt/sha256-crypt.c: Include crypt-private.h.
14804 (b64t): Remove variable.
14805 (__sha256_crypt_r): Remove b64_from_24bit and replace
14806 with __b64_from_24bit.
14807 * crypt/sha512-crypt.c: Likewise.
14808
d936d379
RM
148092014-06-02 Roland McGrath <roland@hack.frob.com>
14810
14811 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14812 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14813 Label the code __libc_vfork rather than __vfork.
14814 [!NOT_IN_libc] (vfork): Define as weak alias.
14815 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14816 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14817 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14818
9fa76613
SP
148192014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14820
14821 * malloc/malloc.c (malloc_info): Fix format specifier for
14822 n_mmaps.
14823
a88dadbe
W
148242014-06-02 Wilco <wdijkstr@arm.com>
14825
14826 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14827 FPCR write.
14828
c95b3011
W
148292014-06-02 Wilco <wdijkstr@arm.com>
14830
14831 [BZ #17009]
14832 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14833 Rewrite to reduce FPCR/FPSR accesses.
14834
6b4d7a90
DM
148352014-06-01 David S. Miller <davem@davemloft.net>
14836
14837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14838
30f3d07c
DM
148392014-05-31 David S. Miller <davem@davemloft.net>
14840
14841 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14842 to occur in round to nearest mode when |x| >= 2.0
14843
74f31c18
RH
148442014-05-30 Richard Henderson <rth@twiddle.net>
14845
f0712b54
RH
14846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14847 (PSEUDO_RET_NOERRNO): Remove.
14848 (ret): Don't redefine.
14849 (ret_NOERRNO): Define in terms of ret.
14850 (ret_ERRVAL): Likewise.
14851
74f31c18
RH
14852 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14853 use of PSEUDO_RET; perform the error check directly.
14854
30477995
MM
148552014-05-30 Marko Myllynen <myllynen@redhat.com>
14856
14857 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14858 with __int128_t.
14859
62a58816
SP
148602014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14861
14862 * malloc/malloc (malloc_info): Fix formatting.
14863
4d653a59
SP
148642014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14865 Roland McGrath <roland@hack.frob.com>
14866
14867 * malloc/malloc (malloc_info): Also print mmapped statistics.
14868
5190c17f
RM
148692014-05-30 Roland McGrath <roland@hack.frob.com>
14870
14871 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14872 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14873
987c0269
OB
148742014-05-30 Ondřej Bílka <neleai@seznam.cz>
14875
14876 * malloc/malloc.c (malloc_info): Inline mi_arena.
14877
af4e8ef9
RH
148782014-05-29 Richard Henderson <rth@twiddle.net>
14879
1670e207
RH
14880 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14881 Remove comma before expanding ASM_ARGS_##nr.
14882 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14883 Make _x0 a strict output; make _x8 a strict input; adjust expansion
14884 of ASM_ARGS_##nr.
14885 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14886 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14887 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14888 (ASM_ARGS_1): Add leading comma.
14889
11a28aee
RH
14890 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14891 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14892 to __errno_location.
14893 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14894 Remove the expected plt for __errno_location.
14895
a17e5ffb 14896 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 14897 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
14898 call to __read_tp.
14899
b5be4597
RH
14900 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14901 Always allocate 64 bytes of stack frame. Use ldp/stp to create
14902 it and break it down.
14903 (DOCARGS_0, DOCARGS_1): Do nothing.
14904 (DOCARGS_2): Update to store into the new stack frame.
14905 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14906 (UNDOCARGS_1): Update to restore from the new stack frame.
14907 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14908 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14909
645d44ab
RH
14910 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14911 (SINGLE_THREAD_P): New parameter for result regno.
14912 (PSEUDO): Update to match; use cbz instead of beq.
14913
a8b4f04a
RH
14914 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14915 Use ENTRY to define the _nocancel entry point. Share the syscall
14916 and syscall error check paths with the cancel path.
14917 (PSEUDO_END): New.
14918
af4e8ef9
RH
14919 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14920 whitespace; tabs before and after asm mnemonics.
14921
26b0d2e1
EW
149222014-05-29 Eric Wong <normalperson@yhbt.net>
14923
14924 [BZ #15132]
14925 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14926 Call fstat64 or stat64 internally, depending on arguments passed.
14927 Replace stat buffer argument with file descriptor argument.
14928 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14929 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14930 Pass fd to __internal_statvfs instead of calling fstat64.
14931 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14932 Pass fd to __internal_statvfs64 instead of calling fstat64.
14933 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14934 Pass -1 to __internal_statvfs instead of calling stat64.
14935 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14936 Pass -1 to __internal_statvfs64 instead of calling stat64.
14937
1efe2bd9
RM
149382014-05-28 Roland McGrath <roland@hack.frob.com>
14939
0d3b7a19
RM
14940 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14941 that was previously under [RESET_PID].
14942 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14943
1efe2bd9
RM
14944 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14945 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14946
a6bea3ca
RM
149472014-05-27 Roland McGrath <roland@hack.frob.com>
14948
30b6629e
RM
14949 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14950
a6bea3ca
RM
14951 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14952 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14953
3dfb9a5c
OB
149542014-05-27 Ondřej Bílka <neleai@seznam.cz>
14955
14956 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14957
774f9285
AS
149582014-05-27 Andreas Schwab <schwab@suse.de>
14959
14960 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14961 TLS_INIT_TP macro.
14962 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14963 * elf/rtld.c (init_tls, dl_main): Likewise.
14964 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14965 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14966 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14967 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14968 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14969 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14970 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14971 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14972 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14973 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14974 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14975 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14976 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14977 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14978 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14979 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14980 * sysdeps/generic/tls.h: Update description.
14981
36ffe739
WN
149822014-05-27 Will Newton <will.newton@linaro.org>
14983
14984 [BZ #16990]
14985 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14986 and restore r2 rather than just restoring.
14987
2482ae43
SP
149882014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14989
14990 [BZ #16724]
14991 * libio/tst-ftell-append.c: New test case.
14992 * libio/Makefile (tests): Add test case.
14993 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14994 append mode.
14995 * libio/wfileops.c (do_ftell_wide): Likewise.
14996
3d1024e8
AZ
149972014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14998
bab90016
AZ
14999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15000
c7a8d667
AZ
15001 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15002 ...
15003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15005 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15006 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15007 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15008 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15009 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15010 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15011 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15012 Moved ...
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15014 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15015 Moved ...
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15017 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15018 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15019 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15020 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15021 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15022 ...
15023 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15024 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15025 Moved ...
15026 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15027 here.
15028 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15029 ...
15030 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15031 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15032 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15033
daee7851
AZ
15034 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15035 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15036 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15037 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15038
50a40819
AZ
15039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15040 merge into ...
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15043 ...
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15045 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15046 ...
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15048 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15049 Moved ...
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15051 here.
15052 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15053 Moved ...
15054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15055 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15056 Moved ...
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15058
8464c2a1
AZ
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15060 conditional [RESET_PID].
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15062 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15063 removed.
15064 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15065 removed.
15066
3d1024e8
AZ
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15068 <tcb-offsets.h>.
15069 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15070 (__libc_vfork): New strong alias.
15071 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15072 removed.
15073 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15074 Removed.
15075
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15077 <tcb-offsets.h>.
15078 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15079 (__libc_vfork): New strong alias.
15080 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15081 removed.
15082 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15083 removed.
15084
fdfd175d
CD
150852014-05-26 Carlos O'Donell <carlos@redhat.com>
15086
15087 * malloc/malloc.c (mi_arena): New function.
15088 (malloc_info): Remove nested function mi_arena. Call non-nosted
15089 function mi_arena.
15090
d298c416
AZ
150912014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15092
15093 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15094 by insrwi.
15095 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15096 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15097 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15098 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15099 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15100 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15102
b60ea6ff
AS
151032014-05-26 Andreas Schwab <schwab@suse.de>
15104
15105 [BZ #16984]
15106 * locale/programs/repertoire.c (repertoire_read): Add slash
15107 between I18NPATH element and file name.
15108 * locale/programs/locfile.c (locfile_read): Likewise.
15109
67365926
SL
151102014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15111
15112 * nptl/pthread_mutexattr_settype.c
15113 (__pthread_mutexattr_settype):
15114 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15115
f8bdf1f0
SL
151162014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15117
15118 * nptl/tst-mutex5 (do_test):
15119 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15120
15eaf6ff
SP
151212014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15122
15123 * benchtests/README: Document 'init' directive.
15124 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15125 BENCH_INIT.
15126 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15127 (parse_file): Recognize 'init' directive.
15128
75f11331
KM
151292014-05-26 Kyle McMartin <kyle@redhat.com>
15130
15131 [BZ #16796]
15132 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15133 alignment of struct pthread.
15134
c3ec475c
SP
151352014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15136
15137 [BZ #16878]
15138 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15139 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15140 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15141 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15142
82aab97c
RH
151432014-05-25 Richard Henderson <rth@twiddle.net>
15144
aa2f176d
RH
15145 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15146 (SINGLE_THREAD_P_PIC): Remove.
15147 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15148 (SINGLE_THREAD_P_PIC): Remove.
15149
ca3cfa40
RH
15150 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15151 branch to syscall error ...
15152 (PSEUDO): ... here.
15153 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15154 from __local_syscall_error to .Lsyscall_error.
15155 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15156 (SYSCALL_ERROR): Update label name.
15157
6e6c2d01
RH
15158 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15159 Do not use DOARGS/UNDOARGS.
15160 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15161 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15162 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15163 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15164 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15165
c69abcee
RH
15166 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15167 block comment.
15168
82aab97c
RH
15169 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15170 define if !NOT_IN_libc.
15171 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15172 define with non-default symbol versions.
15173
8820e3ac
RH
151742014-05-23 Richard Henderson <rth@twiddle.net>
15175
900e445f
RH
15176 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15177 (vfork, __vfork): Define via compat_symbol.
15178
8820e3ac
RH
15179 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15180 [!HAVE_IFUNC] (vfork_compat): Remove.
15181 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15182
e59252a5
JM
151832014-05-23 Joseph Myers <joseph@codesourcery.com>
15184
15185 [BZ #16978]
15186 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15187 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15188 variable.
15189
132c7f5f
RH
151902014-05-23 Richard Henderson <rth@twiddle.net>
15191
bc89e962
RH
15192 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15193 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15194 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15195 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15196
15197 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15198 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15199 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15200 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15201 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15202 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15203 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15204 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15205 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15206 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15207 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15208 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15209 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15210 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15211 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15212 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15213 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15214 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15215 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15216 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15217 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15218 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15219 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15220 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15221 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15222 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15223 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15224 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15225 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15226 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15227 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15228 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15229 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15230 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15231 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15232 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15233 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15234 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15235 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15236 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15237 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15238 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15239 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15240 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15241 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15242 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15243 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15244 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15245 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15246 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15247 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15248 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15249 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15250 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15251 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15252 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15253
e2fa4bc2
RH
15254 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15255 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15256 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15257 before exiting on error.
15258 (__libc_vfork): New strong alias.
15259 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15260 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15261
279b24e2
RH
15262 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15263 that was previously under [RESET_PID].
15264 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15265
132c7f5f
RH
15266 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15267
b72592e7
JM
152682014-05-23 Joseph Myers <joseph@codesourcery.com>
15269
15270 [BZ #16977]
15271 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15272 value when x - 1 is zero.
15273 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15274 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15275 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15276 0.0L for an argument of 1.0L.
15277 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15278 Likewise.
15279 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15280 value when x - 1 is zero.
15281 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15282 * sysdeps/i386/fpu/libm-test-ulps: Update.
15283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15284
2302d679
RV
152852014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15286
15287 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15288 alphasort and versionsort.
15289
32999d63
AZ
152902014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15291
15292 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15293 macro.
15294 [copysignf]: Likewise.
15295
019324d0
SP
152962014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15297
15298 * crypt/md5-crypt.c: Fix formatting.
15299
34fff5c2
KS
153002014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15301
15302 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15303 (b64_from_24bit): New function.
15304
3d2badac
AZ
153052014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15306
15307 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15308 libc_hidden_builtin_def to ifunc.
15309 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15310 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15311
f7bb179f 153122014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
15313
15314 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15315 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15316
4134b50d
JM
153172014-05-21 Joseph Myers <joseph@codesourcery.com>
15318
bb7d0337
JM
15319 * nscd/Depend (linuxthreads): Remove.
15320 (nptl): Add.
15321 * resolv/Depend (linuxthreads): Remove.
15322 * rt/Depend (linuxthreads): Remove.
15323
4134b50d
JM
15324 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15325 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15326 $(common-objpfx)elf/.
15327 (link-libc-before-gnulib): Likewise.
15328 (elfobjdir): Remove variable.
15329 * Makefile (install): Use $(elf-objpfx) instead of
15330 $(common-objpfx)elf/.
15331 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15332 $(elfobjdir)/.
15333 (link-libc-deps): Likewise.
15334 ($(common-objpfx)libc.so): Likewise.
15335 ($(common-objpfx)linkobj/libc.so): Likewise.
15336 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15337 instead of $(common-objpfx)elf/.
15338 (symbolic-link-list): Likewise.
15339 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15340 [$(cross-compiling) = no]: Likewise.
15341 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15342 $(elfobjdir)/.
15343 (static-gnulib-arch): Likewise.
15344 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15345 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15346 $(common-objpfx)elf/.
15347
3612eb8f
RH
153482014-05-21 Richard Henderson <rth@redhat.com>
15349
a6b3657b
RH
15350 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15351 (SINGLE_THREAD_P): Use the correct width load. Fold
15352 into the ldr offset.
15353
3612eb8f
RH
15354 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15355 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15356
175cef41
JM
153572014-05-20 Joseph Myers <joseph@codesourcery.com>
15358
15359 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15360 (libgcc_s_resume): Use __attribute_used__.
15361 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15362 Likewise.
15363
e13bccd3
AZ
153642014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15365
15366 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15367 optimization when used with float constants.
15368
7c112a38
AZ
15369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15370
ae75a883
AJ
153712014-05-20 Aurelien Jarno <aurelien@aurel32.net>
15372
15373 [BZ #16915]
15374 * locale/nl_langinfo_l.c: Make direct reference to every
15375 _nl_current_CATEGORY symbol.
15376 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15377 (tests-static): Add tst-langinfo-static.
15378 (tests-special): Add tst-langinfo-static.out.
15379 ($(objpfx)tst-langinfo.out): Redirect output.
15380 ($(objpfx)tst-langinfo-static.out): New.
15381 * localedata/tst-langinfo.sh: Send output to stdout.
15382 * localedata/tst-langinfo-static.c: New file.
15383
4406c41c
AJ
15384 [BZ #16965]
15385 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15386 when the shift amount is modulo the limb size.
15387
4c0a1e63
RH
153882014-05-20 Richard Henderson <rth@redhat.com>
15389
de9d8f20
RH
15390 [BZ #16967]
15391 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15392 Change type of sa_flags from unsigned int to int.
15393
4c0a1e63
RH
15394 [BZ #16966]
15395 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
15396
15397 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15398
a60339aa
WN
153992014-05-20 Will Newton <will.newton@linaro.org>
15400
15401 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15402 Test the return value of the system call in the nocancel case.
15403
7d05a816
YR
154042014-05-20 Will Newton <will.newton@linaro.org>
15405 Yvan Roux <yvan.roux@linaro.org>
15406
15407 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15408 #include of asm/ptrace.h.
15409 (PTRACE_GET_THREAD_AREA): Remove #undef.
15410 (PTRACE_GETHBPREGS): Likewise.
15411 (PTRACE_SETHBPREGS): Likewise.
15412 (struct user_regs_struct): New structure.
15413 (struct user_fpsimd_struct): New structure.
15414 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15415 #include of asm/ptrace.h and second #include of sys/user.h.
15416 (PTRACE_GET_THREAD_AREA): Remove #undef.
15417 (PTRACE_GETHBPREGS): Likewise.
15418 (PTRACE_SETHBPREGS): Likewise.
15419 (ELF_NGREG): Use new struct user_regs_struct.
15420 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15421
af121e37
AZ
154222014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15423
15424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15426
834caf06
JM
154272014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15428
15429 [BZ #16958]
15430 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15431 membar to avoid block loads/stores to overlap previous stores.
15432
e184a918
RH
154332014-05-17 Richard Henderson <rth@redhat.com>
15434
15435 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15436 Create the __##syscall_name##_nocancel entry point.
15437 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15438 Remove; let the sysdep-cancel.h code create it.
15439
f56c7a6a
DM
154402014-05-17 David S. Miller <davem@davemloft.net>
15441
15442 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15443 Protect with __USE_GNU.
15444 (TIOCSET_TEMPT): Likewise.
15445 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15446 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15447 these are already provided in bits/ioctl-types.h
15448
f75616b2
RM
154492014-05-16 Roland McGrath <roland@hack.frob.com>
15450
3edeca86
RM
15451 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15452 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15453
f75616b2
RM
15454 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15455 Use wait4 regardless of [__NR_waitpid].
15456
deb0f7f6
MR
154572014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15458
15459 PR libgcc/60166
15460 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15461 (_FP_NANSIGN_Q): Set the quiet bit.
15462
79520f4b
JM
154632014-05-16 Joseph Myers <joseph@codesourcery.com>
15464
15465 * benchtests/Makefile
15466 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15467 not $(common-objpfx)math/libm.so.
15468 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15469 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15470 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15471 $(common-objpfx)dlfcn/libdl.so.
15472 ($(objpfx)tst-audit8): Depend on $(libm), not
15473 $(common-objpfx)math/libm.so.
15474 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15475 not $(common-objpfx)dlfcn/libdl.so.
15476 * math/Makefile
15477 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15478 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15479 [$(build-shared) = yes].
15480 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15481 $(common-objpfx)nptl/libpthread.so.
15482 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15483 $(common-objpfx)math/libm.so$(libm.so-version) or
15484 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15485 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15486 $(common-objpfx)dlfcn/libdl.so.
15487 * setjmp/Makefile (link-libm): Remove variable.
15488 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15489 * stdio-common/Makefile (link-libm): Remove variable.
15490 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15491 * stdlib/Makefile (link-libm): Remove variable.
15492 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15493 ($(objpfx)tst-strtod-round): Likewise.
15494 ($(objpfx)tst-tininess): Likewise.
15495 ($(objpfx)tst-strtod-underflow): Likewise.
15496 ($(objpfx)tst-strtod6): Likewise.
15497 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15498 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15499 $(common-objpfx)dlfcn/libdl.so.
15500
026b0fe4
AZ
155012014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15502
15503 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15504 BSD terminal modes definitions.
15505
def4bcb2
RM
155062014-05-16 Roland McGrath <roland@hack.frob.com>
15507
fe39b021
RM
15508 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15509 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15510
1d1fc46e 15511 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
15512 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15513 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15514 Don't do #include_next.
15515 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15516 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15517 Don't do #include_next.
15518 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15519 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15520 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15521 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15522
c72399fb
AM
155232014-05-16 Allan McRae <allan@archlinux.org>
15524
d51d659d
AM
15525 * po/sv.po: Update Swedish translation from translation project.
15526
c72399fb
AM
15527 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15528 in sed expression.
15529
d0583c40
AJ
155302014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15531
15532 [BZ #16917]
15533 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15534 errno if the TIOCGPTN ioctl fails with an error different than
15535 EINVAL.
15536 * login/tst-ptsname.c: New file.
15537 * login/Makefile (tests): Add tst-ptsname.
15538
d16e6ec7
AJ
15539 [BZ #16943]
15540 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15541 and prlimit64.
15542
cf26a0cb
SP
155432014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15544
15545 [BZ #16849]
15546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15547 herrno to return EAI_AGAIN.
15548
5675da1e
RM
155492014-05-14 Roland McGrath <roland@hack.frob.com>
15550
a5d87b3d
RM
15551 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15552 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15553 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15554 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15555 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15556 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15557 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15558 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15560 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15561 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15562 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15563 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15564 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15565 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15566 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15567 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15568 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15569 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15570 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15571 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15572 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15573 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15574 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15575 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15576 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15577 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15578 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15579 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15580 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15582 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15584 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15586 Moved ...
15587 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15589 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15591 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15593 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15595 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15597 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15599 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15601 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15603 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15605 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15607 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15609 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15611 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15613 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15615 Moved ...
15616 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15618 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15620 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15622 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15624 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15626 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15628 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15630 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15632 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15634 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15636 Moved ...
15637 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15639 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15640
039890a6
RM
15641 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15642 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15643 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15644 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15645 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15646 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15647 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15648 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15649 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15650 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15651 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15652 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15653 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15654 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15655 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15656 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15657 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15658 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15659 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15660 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15661 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15662 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15663 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15664 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15665 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15666 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15667 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15668 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15669 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15670 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15671 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15672
65c89320
RM
15673 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15674 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15675
348f8e8c
RM
15676 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15677 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15678 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15679 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15680 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15681 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15682 Moved ...
15683 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15684 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15685 Moved ...
15686 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15687 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15688 Moved ...
15689 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15690 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15691 Moved ...
15692 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15693 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15694 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15695 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15696 Moved ...
15697 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15698 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15699 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15700 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15701 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15702 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15703 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15704 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15705 Moved ...
15706 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15707 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15708 Moved ...
15709 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15710 ... here.
15711 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15712 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15713 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15714 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15715 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15716 Moved ...
15717 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15718 ... here.
15719 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15720 Moved ...
15721 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15722 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15723 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15724 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15725 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15726 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15727 Moved ...
15728 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15729 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15730 Moved ...
15731 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15732 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15733 Moved ...
15734 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15735 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15736 Moved ...
15737 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15738 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15739 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15740 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15741 Moved ...
15742 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15743 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15744 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15745 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15746 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15747 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15748 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15749 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15750 Moved ...
15751 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15752 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15753 Moved ...
15754 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15755 ... here.
15756 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15757 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15758 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15759 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15760 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15761 Moved ...
15762 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15763 ... here.
15764 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15765 Moved ...
15766 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15767 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15768 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15769 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15770 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15771 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15772 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15773 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15774 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15775 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15776 Moved ...
15777 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15778 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15779 Moved ...
15780 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15781 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15782 Moved ...
15783 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15784 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15785 Moved ...
15786 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15787 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15788 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15789 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15790 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15791 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15792 Moved ...
15793 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15794 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15795 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15796 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15797 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15798 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15799 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15800 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15801 Moved ...
15802 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15803 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15804 Moved ...
15805 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15806 ... here.
15807 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15808 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15809 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15810 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15811 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15812 Moved ...
15813 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15814 ... here.
15815 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15816 Moved ...
15817 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15818 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15819 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15820 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15821 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15822 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15823 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15824 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15825 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15826 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15827 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15828
5085af05
RM
15829 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15830 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15831
708f0813
RM
15832 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15833 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15834
c96067bc
RM
15835 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15836 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15837 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15838 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15839 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15840 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15841 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15842 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15843 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15844 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15845 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15846 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15847 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15848 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15849 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15850 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15851 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15852 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15853 Moved ...
15854 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15855 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15856 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15857 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15858 Moved ...
15859 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15860 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15861 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15862 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15863 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
15864 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
15865 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
15866 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
15867 Moved ...
15868 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
15869 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15870 Moved ...
15871 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15872 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15873 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15874 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15875 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15876 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15877 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15878 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15879 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15880 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15881 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15882 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15883 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15884 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15885 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15886 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15887 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15888
ec136444
RM
15889 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15890 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15891 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15892 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15893 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15894
2fbdf533
RM
15895 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15896 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15897 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15898 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15899 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15900 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15901 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15902 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15903 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15904 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15905
4c68138b
RM
15906 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15907 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15908
4eaae765
RM
15909 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15910 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
15911 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15912 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15913 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15914 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15915 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15916 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15917 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15918 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15919 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15920 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15921 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15922 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15923 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15924 Update #include.
15925 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15926 Likewise.
15927 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15928 Likewise.
15929 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15930 Likewise.
15931 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15932 Likewise.
15933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15934 Likewise.
15935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15936 Likewise.
15937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15938 Likewise.
15939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15940 Likewise.
15941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15942 Likewise.
4ef6befa
RM
15943 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15944 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15945 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15946 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15947 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
15948 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15949 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15950 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15951 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15952 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15953 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15954 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15955 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15956 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
15957 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 15958
941d7dfd
RM
15959 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15960 that was previously under [RESET_PID].
15961 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15962 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15963 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15964
1b731c35
RM
15965 * sysdeps/i386/nptl/Implies: New file.
15966 * sysdeps/x86_64/nptl/Implies: New file.
15967 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15968 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15969 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15970 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15971
e2787137
RM
15972 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15973 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15974 (__libc_vfork): New strong alias.
15975 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15976 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15977
15978 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15979 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15980 (__libc_vfork): New strong alias.
15981 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15982 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15983
5675da1e
RM
15984 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15985 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15986 (__libc_vfork): New strong alias.
15987 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15988 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15989 * nptl/pt-vfork.c: New file.
15990 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15991 (libpthread: GLIBC_2.20): New version set (empty).
15992
4f02e2b8
WN
159932014-05-14 Will Newton <will.newton@linaro.org>
15994
15995 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15996 rather than #if.
15997
0bf061d3
JM
159982014-05-14 Joseph Myers <joseph@codesourcery.com>
15999
1a84c3d6
JM
16000 [BZ #16564]
16001 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16002 arguments with exponent 65 or above.
16003 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16004 arguments 0x1p113L or above.
16005 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16006 to arguments 0x1p107L or above.
16007 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16008 positive arguments with exponent 65 or above.
16009 * math/auto-libm-test-in: Add more tests of log1p.
16010 * math/auto-libm-test-out: Regenerated.
16011
01dbacd2
JM
16012 [BZ #16928]
16013 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16014 non-finite arguments is +0.
16015 * math/s_cacosf.c (__cacosf): Likewise.
16016 * math/s_cacosl.c (__cacosl): Likewise.
16017 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16018 * sysdeps/i386/fpu/libm-test-ulps: Update.
16019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16020
913d03c8
JM
16021 [BZ #16927]
16022 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16023 value.
16024 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16025 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16026 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16027 for explicit high bit of mantissa when testing for argument equal
16028 to 1.
16029 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16030 * sysdeps/i386/fpu/libm-test-ulps: Update.
16031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16032
0bf061d3
JM
16033 [BZ #16516]
16034 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16035 (__erf): Scale by 16 instead of 8 in potentially underflowing
16036 case. Ensure exception if result actually underflows.
16037 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16038 (__erff): Scale by 16 instead of 8 in potentially underflowing
16039 case. Ensure exception if result actually underflows.
16040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16041 (efx8): Remove variable.
16042 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16043 case. Ensure exception if result actually underflows.
16044 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16045 (efx8): Remove variable.
16046 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16047 case. Ensure exception if result actually underflows.
16048 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16049 (efx8): Remove variable.
16050 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16051 case. Ensure exception if result actually underflows.
16052 * math/auto-libm-test-in: Add more tests of erf.
16053 * math/auto-libm-test-out: Regenerated.
16054
73ba67cb
AS
160552014-05-14 Andreas Schwab <schwab@suse.de>
16056
3d8c8bff
AS
16057 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16058 Remove code conditionalized on USE___THREAD.
16059
73ba67cb
AS
16060 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16061 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16062 not definedness.
16063
5c521ecd
JM
160642014-05-14 Joseph Myers <joseph@codesourcery.com>
16065
5e7698c6
JM
16066 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16067 Define unconditionally.
16068 (__ASSUME_O_CLOEXEC): Likewise.
16069 (__ASSUME_SOCK_CLOEXEC): Likewise.
16070 (__ASSUME_IN_NONBLOCK): Likewise.
16071 (__ASSUME_PIPE2): Likewise.
16072 (__ASSUME_EVENTFD2): Likewise.
16073 (__ASSUME_SIGNALFD4): Likewise.
16074 (__ASSUME_DUP3): Likewise.
16075 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16076 (__ASSUME_DUP3): Do not define.
16077 (__ASSUME_EVENTFD2): Likewise.
16078 (__ASSUME_IN_NONBLOCK): Likewise.
16079 (__ASSUME_O_CLOEXEC): Likewise.
16080 (__ASSUME_PIPE2): Likewise.
16081 (__ASSUME_SIGNALFD4): Likewise.
16082 (__ASSUME_SOCK_CLOEXEC): Likewise.
16083 (__ASSUME_UTIMES): Undefine.
16084 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16085 (__ASSUME_UTIMES): Do not define.
16086 (__ASSUME_O_CLOEXEC): Likewise.
16087 (__ASSUME_SOCK_CLOEXEC): Likewise.
16088 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16089 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16090 0x020621].
16091 (__ASSUME_PIPE2): Likewise.
16092 (__ASSUME_EVENTFD2): Likewise.
16093 (__ASSUME_SIGNALFD4): Likewise.
16094 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16095 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16096 Do not define.
16097 (__ASSUME_EVENTFD2): Likewise.
16098 (__ASSUME_SIGNALFD4): Likewise.
16099 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16100 (__ASSUME_32BITUIDS): Likewise.
16101 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16102 (__ASSUME_IPC64): Likewise.
16103 (__ASSUME_ST_INO_64_BIT): Likewise.
16104 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16105 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16106 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16107 (__ASSUME_UTIMES): Do not define.
16108 (__ASSUME_PSELECT): Likewise.
16109 (__ASSUME_PPOLL): Likewise.
16110 (__ASSUME_O_CLOEXEC): Likewise.
16111 (__ASSUME_SOCK_CLOEXEC): Likewise.
16112 (__ASSUME_IN_NONBLOCK): Likewise.
16113 (__ASSUME_PIPE2): Likewise.
16114 (__ASSUME_EVENTFD2): Likewise.
16115 (__ASSUME_SIGNALFD4): Likewise.
16116 (__ASSUME_DUP3): Likewise.
16117 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16118 (__ASSUME_UTIMES): Likewise.
16119 (__ASSUME_O_CLOEXEC): Likewise.
16120 (__ASSUME_SOCK_CLOEXEC): Likewise.
16121 (__ASSUME_IN_NONBLOCK): Likewise.
16122 (__ASSUME_PIPE2): Likewise.
16123 (__ASSUME_EVENTFD2): Likewise.
16124 (__ASSUME_SIGNALFD4): Likewise.
16125 (__ASSUME_DUP3): Likewise.
16126 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16127 (__ASSUME_UTIMES): Likewise.
16128 (__ASSUME_O_CLOEXEC): Likewise.
16129 (__ASSUME_SOCK_CLOEXEC): Likewise.
16130 (__ASSUME_IN_NONBLOCK): Likewise.
16131 (__ASSUME_PIPE2): Likewise.
16132 (__ASSUME_EVENTFD2): Likewise.
16133 (__ASSUME_SIGNALFD4): Likewise.
16134 (__ASSUME_DUP3): Likewise.
16135 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16136 Likewise.
16137 (__ASSUME_UTIMES): Likewise.
16138 (__ASSUME_EVENTFD2): Likewise.
16139 (__ASSUME_SIGNALFD4): Likewise.
16140 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16141 (__ASSUME_O_CLOEXEC): Likewise.
16142 (__ASSUME_SOCK_CLOEXEC): Likewise.
16143 (__ASSUME_IN_NONBLOCK): Likewise.
16144 (__ASSUME_PIPE2): Likewise.
16145 (__ASSUME_EVENTFD2): Likewise.
16146 (__ASSUME_SIGNALFD4): Likewise.
16147 (__ASSUME_DUP3): Likewise.
16148 (__ASSUME_UTIMES): Undefine.
16149
5c521ecd
JM
16150 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16151 feclearexcept. Remove symbol versioning code.
16152 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16153 symbol versioning code.
16154 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16155 symbol versioning code.
16156 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16157 feupdateenv. Remove symbol versioning code.
16158 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16159 fegetexceptflag. Remove symbol versioning code.
16160 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16161 fesetexceptflag. Remove symbol versioning code.
16162 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16163 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16164 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16165 (__posix_fadvise64_l32): Remove prototype.
16166 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16167 code.
16168
5da9dfad
RM
161692014-05-13 Roland McGrath <roland@hack.frob.com>
16170
16171 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16172 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16173 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16174 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16175
893b4f37
SK
161762014-05-13 Sami Kerola <kerolasa@iki.fi>
16177
16178 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16179 current working directory
16180
e0db6517
RM
161812014-05-13 Roland McGrath <roland@hack.frob.com>
16182
58aa195d
RM
16183 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16184 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16185 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16186 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16187 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16188 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16189 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16190 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16191 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16192 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16193 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16194 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16195 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16196 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16197 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16198 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16199 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16200 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16201 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16202 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16203 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16204 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16205 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16206 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16207 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16208 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16209 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16210 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16211 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16212 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16213 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16214 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16215 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16216 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16217 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16218 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16219 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16220 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16221 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16222 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16223 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16224 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16225
8c6d01f0
RM
16226 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16227 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16228
16229 * sysdeps/unix/sysv/linux/arm/Makefile
16230 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16231 Add rt-aeabi_unwind_cpp_pr1.
16232 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16233 Add nptl-aeabi_unwind_cpp_pr1.
16234 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16235 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16236 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16237 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16238 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16239 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16240
16241 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16242 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16243 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16244 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16245
bba6da4e
RM
16246 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16247 Deconditionalize the code that was previously under [RESET_PID].
16248 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16249
e0db6517
RM
16250 * sysdeps/generic/exit-thread.h: New file.
16251 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16252 * include/unistd.h (__exit_thread): Remove declaration.
16253 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16254 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16255 * csu/libc-start.c: Include <exit-thread.h>.
16256 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16257 * nptl/pthread_create.c: Include <exit-thread.h>.
16258 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16259 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16260 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16261 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16262 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16263 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16264 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16265 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16266 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16267 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16268 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16269 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16270 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16271 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16272 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16273 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16274 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16275
01eb16fd
AS
162762014-05-13 Andreas Schwab <schwab@suse.de>
16277
16278 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16279
637461d9
JM
162802014-05-12 Joseph Myers <joseph@codesourcery.com>
16281
16282 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16283 (__ASSUME_UTIMES): Do not condition on kernel version.
16284 (__ASSUME_PSELECT): Define unconditionally.
16285 (__ASSUME_PPOLL): Likewise.
16286 (__ASSUME_ATFCTS): Likewise.
16287 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16288 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16289 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16290 (__ASSUME_UTIMENSAT): Define unconditionally.
16291 (__ASSUME_PRIVATE_FUTEX): Likewise.
16292 (__ASSUME_FALLOCATE): Likewise.
16293 (__ASSUME_O_CLOEXEC): Likewise.
16294 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16295 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16296 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16297 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16298 (__ASSUME_IN_NONBLOCK): Likewise.
16299 (__ASSUME_PIPE2): Likewise.
16300 (__ASSUME_EVENTFD2): Likewise.
16301 (__ASSUME_SIGNALFD4): Likewise.
16302 (__ASSUME_DUP3): Likewise.
16303 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16304 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16305 (__ASSUME_AT_RANDOM): Likewise.
16306 (__ASSUME_PREADV): Likewise.
16307 (__ASSUME_PWRITEV): Likewise.
16308 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16309 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16310 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16311 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16312 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16313 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16314 (__ASSUME_O_CLOEXEC): Define unconditionally.
16315 (__ASSUME_PSELECT): Do not undefine conditionally.
16316 (__ASSUME_PPOLL): Likewise.
16317 (__ASSUME_ATFCTS): Likewise.
16318 (__ASSUME_SET_ROBUST_LIST): Likewise.
16319 (__ASSUME_UTIMENSAT): Likewise.
16320 (__ASSUME_FDATASYNC): Define unconditionally.
16321 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16322 (__ASSUME_SIGFRAME_V2): Likewise.
16323 )__ASSUME_EVENTFD2): Likewise.
16324 (__ASSUME_SIGNALFD4): Likewise.
16325 (__ASSUME_PSELECT): Do not undefine conditionally.
16326 (__ASSUME_PPOLL): Likewise.
16327 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16328 (__ASSUME_PSELECT): Define unconditionally.
16329 (__ASSUME_PPOLL): Likewise.
16330 (__ASSUME_O_CLOEXEC): Likewise.
16331 (__ASSUME_SOCK_CLOEXEC): Likewise.
16332 (__ASSUME_IN_NONBLOCK): Likewise.
16333 (__ASSUME_PIPE2): Likewise.
16334 (__ASSUME_EVENTFD2): Likewise.
16335 (__ASSUME_SIGNALFD4): Likewise.
16336 (__ASSUME_DUP3): Likewise.
16337 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16338 (__ASSUME_O_CLOEXEC): Likewise.
16339 (__ASSUME_SOCK_CLOEXEC): Likewise.
16340 (__ASSUME_IN_NONBLOCK): Likewise.
16341 (__ASSUME_PIPE2): Likewise.
16342 (__ASSUME_EVENTFD2): Likewise.
16343 (__ASSUME_SIGNALFD4): Likewise.
16344 (__ASSUME_DUP3): Likewise.
16345 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16346 (__ASSUME_EVENTFD2): Likewise.
16347 (__ASSUME_SIGNALFD4): Likewise.
16348 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16349
315eb1d8
AS
163502014-05-12 Andreas Schwab <schwab@suse.de>
16351
16352 [BZ #16932]
16353 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16354 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16355 than maximum RPC packet size.
16356 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16357 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16358 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16359 (_nss_nis_getservbyport_r): Likewise.
16360
91df99f7
WN
163612014-05-12 Will Newton <will.newton@linaro.org>
16362
16363 * malloc/Makefile (tests): Add tst-mallopt.
16364 * malloc/tst-mallopt.c: New file.
16365
0a982a29
RM
163662014-05-09 Roland McGrath <roland@hack.frob.com>
16367
16368 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16369 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16370
0ded08a5
AZ
163712014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16372
16373 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16374 (tst-tlsmod6.so): Likewise.
16375
55d4d550
RM
163762014-05-09 Roland McGrath <roland@hack.frob.com>
16377
16378 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16379
77d08aca
JM
163802014-05-09 Joseph Myers <joseph@codesourcery.com>
16381
16382 [BZ #16064]
16383 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16384 and <dl-procinfo.h>.
16385 (__fegetenv): Save SSE state in envp->__eip if supported.
16386 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16387 envp->__eip if supported.
16388 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16389 and <dl-procinfo.h>.
16390 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16391 __data_offset and __data_selector in environment to 0. Set SSE
16392 state if supported.
16393 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16394 test-fenv-sse.
16395 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16396 -mfpmath=sse.
16397 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16398
28162f4d
WN
163992014-05-09 Will Newton <will.newton@linaro.org>
16400
16401 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16402 and libc_relro_required for ARM.
16403 * sysdeps/arm/preconfigure: Regenerate.
16404
5a414ff7
DV
164052014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16406 Stefan Liebler <stli@linux.vnet.ibm.com>
16407
16408 * config.make.in (enable-lock-elision): New Makefile variable.
16409 * configure.ac: Likewise.
16410 * configure: Regenerate.
16411 * sysdeps/s390/configure.ac:
16412 Add check for gcc transactions support.
16413 * sysdeps/s390/configure: Regenerate.
16414 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16415 Build elision files if enabled.
16416 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16417 Add lock elision support for s390.
16418 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16419 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16420 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16421 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16422 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16423 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16424 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16425 Likewise.
16426 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16427 Likewise.
16428 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16429 Likewise.
16430 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16431 Likewise.
16432 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16433 (__lll_timedlock_elision, __lll_lock_elision)
16434 (__lll_unlock_elision, __lll_trylock_elision)
16435 (lll_timedlock_elision, lll_lock_elision)
16436 (lll_unlock_elision, lll_trylock_elision): Add.
16437 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16438 (pthread_mutex_t): Add lock elision support for s390.
16439
1a2f40e5
W
164402014-05-14 Wilco <wdijkstr@arm.com>
16441
16442 * sysdeps/arm/fclrexcpt.c: Cleanup.
16443 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16444 * sysdeps/arm/feenablxcpt.c: Cleanup.
16445 * sysdeps/arm/fegetenv.c: Cleanup.
16446 * sysdeps/arm/fegetexcept.c: Cleanup.
16447 * sysdeps/arm/fegetround.c: Cleanup.
16448 * sysdeps/arm/feholdexcpt.c: Cleanup.
16449 * sysdeps/arm/fesetenv.c: Cleanup.
16450 * sysdeps/arm/fesetround.c: Cleanup.
16451 * sysdeps/arm/feupdateenv.c: Cleanup.
16452 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16453 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16454 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16455 * sysdeps/arm/ftestexcept.c: Cleanup.
16456 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16457 * sysdeps/arm/setfpucw.c: Cleanup.
16458
f63c86fe
WN
164592014-05-09 Will Newton <will.newton@linaro.org>
16460
16461 * sysdeps/arm/armv7/strcmp.S: New file.
16462 * NEWS: Mention addition of ARMv7 optimized strcmp.
16463
7a1a51b5
RM
164642014-05-08 Roland McGrath <roland@hack.frob.com>
16465
95afbbe5
RM
16466 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16467 look for %.ac rather than %.in.
16468
16469 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16470 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16471 * sysdeps/mach/hurd/configure: Regenerated.
16472 * sysdeps/unix/sysv/linux/configure: Regenerated.
16473
7a1a51b5
RM
16474 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16475
5057ad3b
SE
164762014-05-07 Steve Ellcey <sellcey@mips.com>
16477
16478 [BZ# 16922]
16479 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16480 (LONG_SUB): Ditto.
16481 (PTR_SUB): Ditto.
16482
8dc97517
AS
164832014-05-07 Andreas Schwab <schwab@suse.de>
16484
16485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16486 when skipping over non-matching result from nscd.
16487
ce0c5b8f
OB
164882014-05-07 Ondřej Bílka <neleai@seznam.cz>
16489
16490 [BZ #16876]
16491 * nptl/sockperf.c (client): Check socket return value.
8dc97517 16492
a1189263
OB
16493 [BZ #16877]
16494 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16495 nscd security class.
ce0c5b8f 16496
0f58d252
RM
164972014-05-06 Roland McGrath <roland@hack.frob.com>
16498
16499 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16500 * sysdeps/arm/unwind.h: ... here.
16501
83df9ad0
AJ
165022014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16503
ce0c5b8f
OB
16504 [BZ# 16916]
16505 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16506 Define.
83df9ad0 16507
f360f94a
VR
165082014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16509
16510 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16511 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16512 multiarch strncpy for PPC64.
16513 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16514 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16516 multiarch optimizations.
16517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16518 (__libc_ifunc_impl_list): Likewise.
16519 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16520 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16521 multiarch stpncpy for PPC64.
16522 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16523 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16524
978a41c3
AS
165252014-05-06 Andreas Schwab <schwab@suse.de>
16526
16527 [BZ #16912]
16528 * gmon/mcount.c (_MCOUNT_DECL): Use
16529 atomic_compare_and_exchange_bool_acq instead of
16530 catomic_compare_and_exchange_bool_acq.
16531
eb1ed03d
RM
165322014-05-05 Roland McGrath <roland@hack.frob.com>
16533
fe658845
RM
16534 * elf/Makefile (others, install-bin): Remove pldd.
16535 (pldd-modules): Variable removed.
16536 ($(objpfx)pldd): Target removed.
16537 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16538 (others, install-bin): Append pldd here.
16539 ($(objpfx)pldd): New target.
16540
eb1ed03d
RM
16541 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16542 to 0, so the first #if test emitted later doesn't see it undefined.
16543 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16544 * sysdeps/gnu/errlist.c: Regenerated.
16545
19c4bec0
AZ
165462014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16547
16548 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16549 [libc_hidden_builtin_def]: Define to empty value.
16550 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16551 [libc_hidden_builtin_def]: Likewise.
16552 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16553 [libc_hidden_builtin_def]: Likewise.
16554 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16555 [libc_hidden_builtin_def]: Likewise.
16556 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16557 __redirect_memcpy and define ifunc as default hidden symbol.
16558 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16559 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16560
7776e669
AC
165612014-05-04 Adam Conrad <adconrad@0c3.net>
16562
16563 * locale/iso-4217.def: Reintroduce XDR currency.
16564
d69aeb12
AM
165652014-05-04 Allan McRae <allan@archlinux.org>
16566
16567 * po/eo.po: Update Esperanto translation from translation project.
16568
8f1df5cf
CD
165692014-05-02 Carlos O'Donell <carlos@redhat.com>
16570
16571 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16572 and FEATURE_INDEX_MAX to 1.
16573 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16574
13e402e7
SE
165752014-05-01 Steve Ellcey <sellcey@mips.com>
16576
16577 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16578 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16579 * iconvdata/big5.c (ONE_DIRECTION): Define.
16580 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16581 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16582 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16583 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16584 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16585 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16586 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16587 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16588 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16589 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16590 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16591 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16592 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16593 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16594 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16595 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16596 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16597 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16598 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16599 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16600 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16601 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16602 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16603 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16604 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16605 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16606 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16607 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16608 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16609 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16610 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16611 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16612 * iconvdata/johab.c (ONE_DIRECTION): Define.
16613 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16614 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16615 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16616 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16617 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16618 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16619 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16620 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16621 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16622 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16623
c727f032
RM
166242014-05-01 Roland McGrath <roland@hack.frob.com>
16625
8f2f08d0
RM
16626 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16627 (_IO_JUMPS_OFFSET): Define to 0.
16628
c727f032
RM
16629 * nptl/sysdeps/pthread/bits/libc-lock.h
16630 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16631 (__libc_lock_define_initialized_recursive): Always define using
16632 initializer. Modern compilers treat uninitialized (implicit zero) and
16633 explicit zero initializers the same (i.e. put the datum in bss).
16634
a849e800
AS
166352014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16636
16637 * nscd/nscd-client.h: Include <string.h>.
16638
5331255b
DM
166392014-05-01 David S. Miller <davem@davemloft.net>
16640
16641 [BZ #16885]
16642 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16643 multiple zero bytes exist at the end of a string.
16644 Reported by Aurelien Jarno <aurelien@aurel32.net>
16645
16646 * string/test-strcmp.c (check): Add explicit test for situations where
16647 there are multiple zero bytes after the first.
16648
4fdfe821
AS
166492014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16650
16651 [BZ #16890]
16652 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16653 when compiling wprintf.
16654 * stdio-common/tstdiomisc.c (t3): New function.
16655 (main): Call it.
16656
0cdddc25
SE
166572014-05-01 Steve Ellcey <sellcey@mips.com>
16658
16659 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16660 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16661 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16662 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16663
6426d77e
SE
166642014-05-01 Steve Ellcey <sellcey@mips.com>
16665
16666 * stdlib/longlong.h: Updated from GCC.
16667
6d96f5e4
WN
166682014-05-01 Will Newton <will.newton@linaro.org>
16669 Bernard Ogden <bernie.ogden@linaro.org>
16670
7470db0c
WN
16671 * NEWS: Update fixed bug list.
16672
6d96f5e4
WN
16673 [BZ #15119]
16674 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16675
211d653c
DM
166762014-04-30 David S. Miller <davem@davemloft.net>
16677
4fa262fa
DM
16678 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16679 (libc_feholdexcept_setround_sparc_ctx): New function.
16680 (libc_fesetenv_sparc_ctx): Likewise.
16681 (libc_feupdateenv_sparc_ctx): Likewise.
16682 (libc_feholdsetround_sparc_ctx): Likewise.
16683 (libc_feholdexcept_setround_ctx): Define.
16684 (libc_feholdexcept_setroundf_ctx): Likewise.
16685 (libc_feholdexcept_setroundl_ctx): Likewise.
16686 (libc_fesetenv_ctx): Likewise.
16687 (libc_fesetenvf_ctx): Likewise.
16688 (libc_fesetenvl_ctx): Likewise.
16689 (libc_feupdateenv_ctx): Likewise.
16690 (libc_feupdateenvf_ctx): Likewise.
16691 (libc_feupdateenvl_ctx): Likewise.
16692 (libc_feresetround_ctx): Likewise.
16693 (libc_feresetroundf_ctx): Likewise.
16694 (libc_feresetroundl_ctx): Likewise.
16695 (libc_feholdsetround_ctx): Likewise.
16696 (libc_feholdsetroundf_ctx): Likewise.
16697 (libc_feholdsetroundl_ctx): Likewise.
16698
1d3d93ef
DM
16699 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16700 with __USE_GNU instead of XOPEN cpp guards.
16701
8aa583c3
DM
16702 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16703 0.
16704
211d653c
DM
16705 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16706 with XOPEN cpp guards.
16707
60c8f1f6
JB
167082014-04-30 Julian Brown <julian@codesourcery.com>
16709
16710 [BZ #16888]
16711 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16712 handling.
16713
9a461d46
JM
167142014-04-30 Joseph Myers <joseph@codesourcery.com>
16715
d0f5b3f8
JM
16716 [BZ #9894]
16717 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16718 Change to 2.6.32.
16719 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16720 * sysdeps/unix/sysv/linux/configure: Regenerated.
16721 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16722 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16723 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16724 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16725 * README: Update reference to required Linux kernel version.
16726 * manual/install.texi (Linux): Update reference to required Linux
16727 kernel headers version.
16728 * INSTALL: Regenerated.
16729
9a461d46
JM
16730 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16731 header inclusion.
16732 [POSIX] (limits.h): Likewise.
16733 [POSIX] (math.h): Likewise.
16734 [POSIX] (sys/wait.h): Likewise.
16735 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16736 function.
16737 [POSIX] (stddef.h): Do not allow header inclusion.
16738
1775babf
AZ
167392014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16740
57f41c40 16741 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 16742
8f630cca
YY
167432014-04-30 Yang Yingliang <yangyingliang@huawei.com>
16744
16745 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16746 Return immediately after lll_futex_wake.
16747
1cdeb237
SP
167482014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16749
bc8f194c
SP
16750 [BZ #16791]
16751 * nscd/nscd-client.h (datahead_init_common): Initialize entire
16752 structure.
16753 (datahead_init_pos): Call datahead_init_common early.
16754 (datahead_init_neg): Likewise.
16755
1cdeb237
SP
16756 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16757 datahead_init_neg): New functions.
16758 * nscd/aicache.c (addhstaiX): Use them.
16759 * nscd/grpcache.c (cache_addgr): Likewise.
16760 * nscd/hstcache.c (cache_addhst): Likewise.
16761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16762 * nscd/netgroupcache.c (do_notfound): Likewise.
16763 (addgetnetgrentX): Likewise.
16764 (addinnetgrX): Likewise.
16765 * nscd/pwdcache.c (cache_addpw): Likewise.
16766 * nscd/servicescache.c (cache_addserv): Likewise.
16767
16b293a7
SP
167682014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16769 Atsushi Onoe <atsushi@onoe.org>
16770
16771 [BZ #14308]
16772 [BZ #12994]
16773 [BZ #13651]
16774 * resolv/res_query.c (__libc_res_nsearch): Return if at least
16775 one response is valid.
16776 * resolv/res_send.c (send_dg): Check for validity of other
16777 response if the current response is a referral.
16778
a28a9b94
SE
167792014-04-29 Steve Ellcey <sellcey@mips.com>
16780
16781 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16782
2ca180e9
SL
167832014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
16784
16785 [BZ #16823]
16786 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16787 Always divide by positive zero when computing -Inf result.
16788 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16789 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16790
18f2945a
AZ
167912014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16792
16793 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16794 FPSCR if value do not change.
16795 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16796 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16797 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16798 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16799 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16800 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16801 function.
16802
5abebba4
CD
168032014-05-29 Carlos O'Donell <carlos@systemhalted.org>
16804
16805 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16806 * sysdeps/unix/sysv/linux/hppa: Move directory from
16807 ports/systeps/unix/sysv/linux/hppa.
16808 * README: Update listing for hppa-*-linux-gnu.
16809
f7ed60c2
OB
168102014-04-28 Ondřej Bílka <neleai@seznam.cz>
16811
fff763a5
OB
16812 [BZ #16754]
16813 * manual/stdio.texi (Hook functions): Fix types of stream hook
16814 functions.
f7ed60c2
OB
16815 [BZ #16854]
16816 * socket/sys/socket.h: Fix typo in comment.
16817
df639d73
WD
168182014-04-28 Wilco <wdijkstr@arm.com>
16819
f7ed60c2 16820 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
16821 * sysdeps/arm/math_private.h: New file.
16822 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16823
48332d82
L
168242014-04-25 H.J. Lu <hongjiu.lu@intel.com>
16825
16826 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16827 with __int128_t.
16828 (La_x86_64_retval): Likewise.
16829
e5e0d9a4
IB
168302014-04-24 Ian Bolton <ian.bolton@arm.com>
16831
16832 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16833 fpsr if value didn't change.
16834 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16835 to fpcr if value didn't change.
16836 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16837 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16838 fpsr or fpcr if value didn't change.
16839 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16840 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16841 fpcr if value didn't change.
16842 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16843 to fpsr if value didn't change.
16844
bacc75f7
SP
168452014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16846
16847 * nptl/tst-sem3.c: Use test-skeleton.c
16848 (main): Rename to do_test. Use return instead of
16849 exit.
16850 * nptl/tst-sem4.c: Use test-skeleton.c
16851 (main): Rename to do_test.
16852
a059d359
DM
168532014-04-22 David S. Miller <davem@davemloft.net>
16854
16855 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16856 (struct sigaction): New struct member __glibc_reserved0, change
16857 type of sa_flags to int.
16858
ea6c92f3
YZ
168592014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
16860
16861 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16862 (COUNT_LEADING_ZEROS_0): Define for AArch64.
16863
766c4a36
SP
168642014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16865
16866 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
16867 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
16868
140cc7ab
VK
168692014-04-22 Will Newton <will.newton@linaro.org>
16870 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
16871
16872 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16873 (__longjmp): Add longjmp and longjmp_target SystemTap
16874 probes.
16875 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16876 (__sigsetjmp): Add setjmp SystemTap probe.
16877
c54e5cf7
CD
168782014-04-17 Carlos O'Donell <carlos@redhat.com>
16879
16880 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16881 match manual order.
16882
75ffb047
AZ
168832014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16884
16885 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16886
2cd925f7
AZ
16887 * sysdeps/powerpc/fpu/fenv_private.h
16888 (libc_feholdexcept_setroundl_ctx): Define to
16889 libc_feholdexcept_setround_ppc_ctx.
16890 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16891 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16892 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16893 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16894
39e6cd8d
IB
168952014-04-17 Ian Bolton <ian.bolton@arm.com>
16896
16897 * sysdeps/aarch64/math-tests.h: New file.
16898
f9281df9
SY
168992014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
16900
16901 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16902 New.
16903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16904 Check and set bit_AVX2_Usable.
16905 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16906 macro.
16907 (bit_AVX2): Likewise.
16908 (index_AVX2_Usable): Likewise.
16909 (CPUID_AVX2): Likewise.
16910 (HAS_AVX2): Likewise.
16911
37d35007
WN
169122014-04-17 Will Newton <will.newton@linaro.org>
16913
7c677662
WN
16914 * manual/setjmp.texi (System V contexts): Add note that
16915 calling setcontext on a context created by a call to a
16916 signal handler is undefined. Update text to note that
16917 setcontext from a signal handler is possible but not
16918 recommended.
16919
37d35007 16920 [BZ #16629]
e04a4e9d
WN
16921 * stdlib/tst-setcontext.c: Include signal.h.
16922 (main): Check that the signal stack before and
16923 after swapcontext is the same.
16924
37d35007
WN
16925 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16926 Re-implement to restore registers in user code and avoid
16927 rt_sigreturn system call.
16928
423a7160
W
169292014-04-17 Wilco <wdijkstr@arm.com>
16930
16931 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16932 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16933 * math/test-fenv.c: Skip exception trap tests on targets which only
16934 support non-stop mode.
16935
bc93ab29
IB
169362014-04-17 Ian Bolton <ian.bolton@arm.com>
16937 Wilco Dijkstra <wilco.dijkstra@arm.com>
16938
16939 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16940 (libc_feholdsetround_aarch64_ctx)
16941 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16942 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16943 (libc_feresetround_ctx, libc_feresetroundf_ctx)
16944 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16945 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16946 (libc_feresetround_noexl_ctx): Define.
16947
95fc5fa3
RH
169482014-04-16 Richard Henderson <rth@redhat.com>
16949
ddb04724
RH
16950 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16951
d77c0899
RH
16952 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16953 unwind tables.
16954
a3df56fc
RH
16955 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16956 const from the non-libc, non-ldso copy.
16957
95fc5fa3
RH
16958 * sysdeps/alpha/libm-test-ulps: Regenerate.
16959
7e0b6763
IB
169602014-04-16 Ian Bolton <ian.bolton@arm.com>
16961 Wilco Dijkstra <wilco.dijkstra@arm.com>
16962
16963 * sysdeps/aarch64/fpu/math_private.h: New file.
16964
a9ea2e0c
MS
169652014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
16966
16967 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16968
ea8ba7cd
IZ
169692014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
16970
7e54fd04 16971 [BZ #16275]
ea8ba7cd
IZ
16972 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16973 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16974 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16975 Intel MPX bound registers before _dl_profile_fixup.
16976 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16977 registers after _dl_profile_fixup. Save and restore bound
16978 registers bnd0/bnd1 when calling _dl_call_pltexit.
16979 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16980 (LR_BND_OFFSET): Likewise.
16981 (LRV_BND0_OFFSET): Likewise.
16982 (LRV_BND1_OFFSET): Likewise.
16983
9f2a4fbc
ST
169842014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16985
16986 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16987 to...
16988 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
16989 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16990 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16991 fields.
9f2a4fbc 16992
fd15a59b
ST
169932014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16994
16995 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16996
f19dfa0a
SL
169972014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16998
16999 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17000
4fa8bc3b
SL
170012014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17002
17003 [BZ #14770]
17004 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17005 * sysdeps/s390/configure: Regenerate.
17006
8ea587db
SL
17007 [BZ #16824]
17008 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17009 Set round-to-nearest internally to reduce error accumulation.
17010
aa5f0ff1
AM
170112014-04-16 Alan Modra <amodra@gmail.com>
17012
17013 [BZ #16740]
17014 [BZ #16619]
17015 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17016 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 17017 * NEWS: Update fixed bug list.
aa5f0ff1 17018
bb9c256f
SP
170192014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17020
17021 * benchtests/Makefile: Depend on libraries in build directory.
17022 (bench-math): Separate out math tests.
17023 (bench-pthread): Separate out pthread tests.
17024 (bench): Include math and pthread tests.
17025
f737dfd0
CD
170262014-04-14 Carlos O'Donell <carlos@redhat.com>
17027
17028 [BZ #16831]
17029 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17030 _dl_debug_initialize.
17031
0699f766
CD
17032 * configure.ac: Remove SELinux header check.
17033 * configure: Regenerate.
17034 * nscd/selinux.c (perms): Array of const char* to permission names.
17035 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17036 default policy. Call string_to_security_class and string_to_av_perm to
17037 translate strings. Enforce default policy and call avs_has_perm with
17038 results of translated strings.
17039
809bd45f
DM
170402014-04-13 David S. Miller <davem@davemloft.net>
17041
17042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17043
89e691f2
AM
170442014-04-12 Allan McRae <allan@archlinux.org>
17045
17046 [BZ #16838]
17047 * manual/string.texi (Collation Functions): Fix qsort argument
17048 order in example.
17049 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17050
9c9daaeb
CM
170512014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17052
17053 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17054 Make the test a no-op if there are no exceptions defined.
17055
95561fb9
PP
170562014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17057
fe8d072c 17058 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
17059 enable-hardcoded-path-in-tests
17060
970c602a
WN
170612014-04-11 Will Newton <will.newton@linaro.org>
17062
17063 * benchtests/Makefile (extra-objs): Add json-lib.o.
17064 (bench-func): Tidy up JSON output.
17065 * benchtests/bench-skeleton.c: Include json-lib.h.
17066 (main): Use JSON library functions to do output of
17067 benchmark results.
17068 * benchtests/bench-timing-type.c (main): Output the
17069 timing type simply, leaving formatting to the user.
17070 * benchtests/json-lib.c: New file.
17071 * benchtests/json-lib.h: Likewise.
17072
36875b06
TR
170732014-04-11 Torvald Riegel <triegel@redhat.com>
17074
17075 [BZ #15215]
17076 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17077 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17078 memory barriers. Add comments.
17079 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17080 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17081 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17082 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17083 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17084 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17085
579db35a
SL
170862014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17087
17088 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17089 * sysdeps/s390/s390-64/configure.ac: ... this ...
17090 * sysdeps/s390/configure.ac: ... to here.
17091 * sysdeps/s390/s390-32/configure: Delete file.
17092 * sysdeps/s390/s390-64/configure: Delete file.
17093 * sysdeps/s390/configure: Regenerate.
17094
c12e9f37
JAPH
170952014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17096
17097 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17098
439bda32
WN
170992014-04-11 Will Newton <will.newton@linaro.org>
17100
17101 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17102 to zero if it is not defined elsewhere. (mtrim): Test
17103 the value of MALLOC_DEBUG with #if rather than #ifdef.
17104
6a5d6ea1
TR
171052014-04-10 Torvald Riegel <triegel@redhat.com>
17106
17107 * benchtests/pthread_once-inputs: New file.
17108 * benchtests/pthread_once-source.c: New file.
17109 * benchtests/README: Update documentation.
17110
a4c75cfd
IZ
171112014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17112 H.J. Lu <hongjiu.lu@intel.com>
17113
7e54fd04 17114 [BZ #16275]
a4c75cfd
IZ
17115 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17116 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17117 * sysdeps/x86_64/configure: Regenerated.
17118 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17119 macro.
17120 (REGISTER_SAVE_RAX): Likewise.
17121 (REGISTER_SAVE_RCX): Likewise.
17122 (REGISTER_SAVE_RDX): Likewise.
17123 (REGISTER_SAVE_RSI): Likewise.
17124 (REGISTER_SAVE_RDI): Likewise.
17125 (REGISTER_SAVE_R8): Likewise.
17126 (REGISTER_SAVE_R9): Likewise.
17127 (REGISTER_SAVE_BND0): Likewise.
17128 (REGISTER_SAVE_BND1): Likewise.
17129 (REGISTER_SAVE_BND2): Likewise.
17130 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17131 bound registers when calling _dl_fixup.
17132
27822ce6
AZ
171332014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17134
17135 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
17136 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17137 of its definition.
27822ce6
AZ
17138 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17139 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17140 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17141 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17142 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17143 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17144 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17145
a88ddc90
PTB
171462014-04-09 Peter Brett <peter@peter-b.co.uk>
17147
17148 [BZ #15514]
17149 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17150 pathconf(_PC_NAME_MAX).
17151
01f8eac2
AZ
171522014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17153
17154 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17155 Remove macro usage.
17156 (__PTHREAD_SPINS): Move definition to ...
17157 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17158 (__PTHREAD_SPINS): ... here.
17159 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17160 (__PTHREAD_SPIN): Likewise.
17161 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17162 (__PTHREAD_SPIN): Likewise.
17163 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17164 (__PTHREAD_SPIN): Likewise.
17165 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17166 (__PTHREAD_SPIN): Likewise.
17167 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17168 (__PTHREAD_SPIN): Likewise.
17169 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17170 (__PTHREAD_SPIN): Likewise.
17171 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17172 (__PTHREAD_SPIN): Likewise.
17173 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17174 (__PTHREAD_SPIN): Likewise.
17175 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17176 (__PTHREAD_SPIN): Likewise.
17177 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17178 (__PTHREAD_SPIN): Likewise.
17179 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17180 (__PTHREAD_SPIN): Likewise.
17181 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17182 (__PTHREAD_SPIN): Likewise.
17183
de21c33c
AZ
17184 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17185 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17186 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17187 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17188 imply folder.
17189 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17190 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17191 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17192 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17193 correct imply path.
17194 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17195 strlen symbol for non multi-arch builds.
17196 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17197 missing hidden_def and weak_alias.
17198
862c472e
CD
171992014-04-08 Carlos O'Donell <carlos@redhat.com>
17200
17201 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17202
8667f90e
WN
172032014-04-07 Will Newton <will.newton@linaro.org>
17204
17205 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17206 and contents. [!_LIBC] Remove #ifndef and contents.
17207 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17208 * string/memccpy.c (__memccpy): Use ANSI prototype.
17209 * string/memfrob.c (memfrob): Likewise.
17210 * string/strcoll.c (STRCOLL): Likewise.
17211 * string/strlen.c (strlen): Likewise.
17212 * string/strtok.c (STRTOK): Likewise.
17213 * string/strcat.c: Remove unused #include of memcopy.h.
17214 (strcat): Use ANSI prototype.
17215 * string/strchr.c: Remove unused #include of memcopy.h.
17216 (strchr): Use ANSI prototype.
17217 * string/strcmp.c: Remove unused #include of memcopy.h.
17218 (strcmp): Use ANSI prototype.
17219 * string/strcpy.c: Remove unused #include of memcopy.h.
17220 (strcpy): Use ANSI prototype.
17221
7ffa9423
AZ
172222014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17223
17224 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17225 * config.make.in (config-extra-cppflags): Set it from
17226 libc_extra_cppflags.
17227 * configure.ac (libc_extra_cflags): Make it accumulate over
17228 configure fragments.
17229 (libc_extra_cppflags): New flag.
17230 * configure. Regenerate.
17231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
17232 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17233 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
17234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17235
8bd70862
AZ
17236 [BZ #16815]
17237 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17238 result for FE_DOWNWARD rounding mode.
17239 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17240 Likewise.
17241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17242
d42f3448
CM
172432014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17244
17245 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17246 in function argument name.
17247
1c21d115
DS
172482014-04-03 David Svoboda <svoboda@cert.org>
17249
17250 [BZ #5666]
17251 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17252 explicitly.
17253
fcccd512
RM
172542014-04-03 Roland McGrath <roland@hack.frob.com>
17255
17256 * elf/dl-unmap-segments.h: New file.
17257 * sysdeps/generic/ldsodefs.h
17258 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17259 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17260 * elf/dl-fptr.c: Likewise.
17261 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17262 * sysdeps/aarch64/tlsdesc.c: Likewise.
17263 * sysdeps/arm/tlsdesc.c: Likewise.
17264 * sysdeps/i386/tlsdesc.c: Likewise.
17265 * sysdeps/tile/dl-runtime.c: Likewise.
17266 * sysdeps/x86_64/tlsdesc.c: Likewise.
17267 * elf/dl-load.h: New file.
17268 * elf/dl-load.c: Include it.
17269 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17270 Macros moved to dl-load.h.
17271 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17272 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17273 Use _dl_unmap_segments in place of __munmap.
17274 Break out segment-mapping loop into ...
17275 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17276
f6488e2b
WN
172772014-04-03 Will Newton <will.newton@linaro.org>
17278
17279 * elf/dl-lookup.c (do_lookup_x): Remove comment
17280 referring to nested function and move variable
17281 declarations down to before first use.
17282
6f05bafe
JM
172832014-04-02 Joseph Myers <joseph@codesourcery.com>
17284
a84e78c8
JM
17285 [BZ #16799]
17286 [BZ #16800]
17287 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17288 with 0 numerator.
17289 * math/s_catanf.c (__catanf): Likewise.
17290 * math/s_catanh.c (__catanh): Likewise.
17291 * math/s_catanhf.c (__catanhf): Likewise.
17292 * math/s_catanhl.c (__catanhl): Likewise.
17293 * math/s_catanl.c (__catanl): Likewise.
17294 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17295 by positive zero when computing -Inf result.
17296 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17297 (catanh_test): Likewise.
17298 * sysdeps/i386/fpu/libm-test-ulps: Update.
17299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17300
6f05bafe
JM
17301 [BZ #16789]
17302 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17303 instead of using underflowing value in computing result.
17304 * math/s_clog10.c (__clog10): Likewise.
17305 * math/s_clog10f.c (__clog10f): Likewise.
17306 * math/s_clog10l.c (__clog10l): Likewise.
17307 * math/s_clogf.c (__clogf): Likewise.
17308 * math/s_clogl.c (__clogl): Likewise.
17309 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17310 (clog10_test): Likewise.
17311 * sysdeps/i386/fpu/libm-test-ulps: Update.
17312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17313
b0abbc21
AM
173142014-04-02 Alan Modra <amodra@gmail.com>
17315
17316 [BZ #16739]
17317 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17318 output when value is near a power of two. Use int64_t for lx and
17319 remove casts. Use decimal rather than hex exponent constants.
17320 Don't use long double multiplication when double will suffice.
17321 * math/libm-test.inc (nextafter_test_data): Add tests.
17322 * NEWS: Add 16739 and 16786 to bug list.
17323
af6b1797
AM
17324 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17325
483818d7
AM
17326 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17327
f6c55796
WN
173282014-04-01 Will Newton <will.newton@linaro.org>
17329
17330 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17331 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17332
13f7fe35
FW
173332014-04-01 Florian Weimer <fweimer@redhat.com>
17334
17335 [BZ #13347]
17336 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17337 * nptl/tst-setuid2.c: New file.
17338 * nptl/Makefile (xtests): Add tst-setuid2.
17339
c859b32e
AM
173402014-04-01 Alan Modra <amodra@gmail.com>
17341
17342 [BZ #16786]
17343 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17344
54fa2475
JM
173452014-03-31 Joseph Myers <joseph@codesourcery.com>
17346
8795b4a4
JM
17347 [BZ #6803]
17348 [BZ #6804]
17349 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17350 set errno as appropriate.
17351 * math/w_scalbf.c (__scalbf): Likewise.
17352 * math/w_scalbl.c (__scalbl): Likewise.
17353 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17354 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17355 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17356 Add more NaN tests.
17357
54fa2475
JM
17358 [BZ #16349]
17359 * math/w_atan2.c: Include <errno.h>.
17360 (__atan2): Set errno for result underflowing to zero.
17361 * math/w_atan2f.c: Include <errno.h>.
17362 (__atan2f): Set errno for result underflowing to zero.
17363 * math/w_atan2l.c: Include <errno.h>.
17364 (__atan2l): Set errno for result underflowing to zero.
17365 * math/auto-libm-test-in: Don't allow missing errno for some atan2
17366 tests.
17367 * math/auto-libm-test-out: Regenerated.
17368
757d9dd5
AZ
173692014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17370
17371 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17372 Encode instruction correctly in little endian.
17373 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17374 Likewise.
17375 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17376 Likewise.
17377 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17378 Likewise.
17379 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17380 Likewise.
17381
d7a68734
JM
173822014-03-31 Joseph Myers <joseph@codesourcery.com>
17383
47c5adeb
JM
17384 [BZ #9894]
17385 * sysdeps/unix/sysv/linux/kernel-features.h
17386 [__sparc__ && !__arch64__ && !__sparc_v9__]
17387 (__ASSUME_SET_ROBUST_LIST): Do not define.
17388 [__sparc__ && !__arch64__ && !__sparc_v9__]
17389 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17390 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17391 Likewise.
17392 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17393 (__ASSUME_FUTEX_LOCK_PI): Undefine.
17394 (__ASSUME_REQUEUE_PI): Likewise.
17395 (__ASSUME_SET_ROBUST_LIST): Likewise.
17396 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17397 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17398 Undefine.
17399 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17400 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17401 Likewise.
17402 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17403 Likewise.
17404 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17405 Likewise.
17406 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17407 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17408 Undefine.
17409 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17410 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17411 Likewise.
17412
d7a68734
JM
17413 [BZ #16648]
17414 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17416 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17417
c760f5c2
WN
174182014-03-31 Will Newton <will.newton@linaro.org>
17419
17420 * benchtests/Makefile (bench): Add ffs and ffsll to list
17421 of tests.
17422 * benchtests/ffs-inputs: New file.
17423 * benchtests/ffsll-inputs: Likewise.
17424
ea6029b1
JM
174252014-03-29 Joseph Myers <joseph@codesourcery.com>
17426
17427 [BZ #16770]
17428 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17429 too large before casting to int.
17430 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17431 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17432 * math/libm-test.inc (scalb_test_data): Add more tests.
17433
cf806aff
SP
174342014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17435
56737508
SP
17436 * benchtests/Makefile (DETAILED_OPT): New make option.
17437 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17438 set.
17439 * benchtests/bench-skeleton.c: Include stdbool.h.
17440 (main): Store and print timings per input.
17441 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17442 member to each argument value.
17443 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17444 (_print_arg_data): Initialize per-input timing to 0.
17445
cb5e4aad
SP
17446 * benchtests/Makefile (timing-type): New binary.
17447 (bench-clean): Also remove bench-timing-type.
17448 (bench): New target for timing-type.
17449 (bench-func): Print output in JSON format.
17450 * benchtests/bench-skeleton.c (main): Print output in JSON
17451 format.
17452 * benchtests/bench-timing-type.c: New file.
17453 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17454 (TIMING_PRINT_STATS): Remove.
17455 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17456 name separately.
17457
cf806aff
SP
17458 * benchtests/bench-modf.c: Remove.
17459 * benchtests/modf-inputs: New inputs file.
17460
289e0779
JM
174612014-03-28 Joseph Myers <joseph@codesourcery.com>
17462
17463 [BZ #16362]
17464 * math/s_clog10.c (M_PI_LOG10E): New macro.
17465 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17466 imaginary parts are 0.
17467 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17468 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17469 imaginary parts are 0.
17470 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17471 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17472 imaginary parts are 0.
17473 * math/libm-test.inc (clog10_test_data): Update expected results
17474 for when real and imaginary parts are 0.
17475
277ae3f1
PP
174762014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17477
17478 * elf/dl-load.c: Finish conversion of __builtin_expect into
17479 __glibc_{un}likely.
17480
03a7091f
JM
174812014-03-27 Joseph Myers <joseph@codesourcery.com>
17482
17483 [BZ #16348]
17484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17485 1+x for argument with exponent below -67.
17486 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17487 Likewise.
17488 * math/auto-libm-test-in: Add more tests of exp.
17489 * math/auto-libm-test-out: Regenerated.
17490
ea7d8b95
SP
174912014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17492
dd3022d7
SP
17493 [BZ #16759]
17494 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17495 (nscd_getnetgrent): Use it.
17496
ea7d8b95
SP
17497 [BZ #16760]
17498 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17499 of stpcpy.
17500
df5b85da
AK
175012014-03-27 Andi Kleen <ak@linux.intel.com>
17502
57f41c40
AS
17503 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17504 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17505 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17506 (lll_robust_unlock): Remove out of line section. Use cfi
17507 intrinsics.
df5b85da 17508 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
17509 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17510 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17511 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17512 (lll_robust_unlock): Remove out of line section. Use cfi
17513 intrinsics.
df5b85da
AK
17514 (LLL_STUB_UNWIND_INFO*): Remove.
17515
fbd6b5a4
SP
175162014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17517
17518 [BZ #16758]
17519 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17520 blank values.
17521
1b26b855
PP
175222014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17523
17524 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17525
9be36fb8
JM
175262014-03-26 Joseph Myers <joseph@codesourcery.com>
17527
17528 [BZ #16198]
17529 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17530 fnstenv.
17531 * math/test-fenv-preserve.c: New file.
17532 * math/Makefile (tests): Add test-fenv-preserve.
17533
60a2f3c1
WN
175342014-03-26 Will Newton <will.newton@linaro.org>
17535
17536 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17537
a5e5f1e2
RM
175382014-03-25 Roland McGrath <roland@hack.frob.com>
17539
17540 * scripts/versionlist.awk: Partition the version sets and emit all
17541 GLIBC_* (sorted) before all others (sorted).
17542
00f4012a
JM
175432014-03-25 Joseph Myers <joseph@codesourcery.com>
17544
17545 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17546 GLIBC_2.2.5 version.
17547
7bc5a741
AZ
175482014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17549
17550 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17551 calls.
17552
7578473b
AZ
17553 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17554 previous change.
17555
f3f1dab3
AZ
17556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17557
6da36183
AS
175582014-03-25 Andreas Schwab <schwab@suse.de>
17559
17560 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17561 label to be used after in6ailist is initialized.
17562
f3f1dab3 175632014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 17564
7578473b 17565 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
17566 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17567
046651c1
JM
175682014-03-25 Joseph Myers <joseph@codesourcery.com>
17569
17570 [BZ #16357]
17571 [BZ #16599]
17572 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17573 min_plus_half.
17574 (fp_formats): Update initializers.
17575 (init_fp_formats): Initialize new field.
17576 (output_for_one_input_case): Allow underflow for results up to
17577 min_plus_half.
17578 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17579 * math/auto-libm-test-in: Don't mark some underflows from asin and
17580 atanh as spurious.
17581 * math/auto-libm-test-out: Regenerated.
17582 * sysdeps/i386/fpu/libm-test-ulps: Update.
17583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17584
003e49ed
AS
175852014-03-25 Andreas Schwab <schwab@suse.de>
17586
17587 * libio/Makefile (tst-ftell-partial-wide-ENV)
17588 (tst-ftell-active-handler-ENV): Define.
17589
de031874
SL
175902014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17591
17592 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17593
55a81e3b
PP
175942014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17595
17596 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17597
f3426898
JM
175982014-03-24 Joseph Myers <joseph@codesourcery.com>
17599
17600 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17601 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17602 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17603
a42faf59
PP
176042014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17605
17606 [BZ #16634]
a42faf59 17607 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
17608 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17609 (open_path): Change from boolean 'secure' to complete flag 'mode'
17610 (_dl_map_object): Adjust.
a42faf59
PP
17611 * elf/Makefile (tests): Add tst-dlopen-aout.
17612 * elf/tst-dlopen-aout.c: New test.
17613
50936127
SL
176142014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17615
17616 [BZ #16714]
17617 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17618 (struct stat): Rename member pad0 to __glibc_reserved0.
17619
26011b5c
SL
17620 [BZ #16712]
17621 * sysdeps/s390/s390-32/bits/wordsize.h
17622 (__WORDSIZE32_SIZE_ULONG): New define.
17623 * sysdeps/s390/s390-64/bits/wordsize.h
17624 (__WORDSIZE32_SIZE_ULONG): Likewise.
17625 * sysdeps/generic/stdint.h (SIZE_MAX):
17626 Define as UL if __WORDSIZE32_SIZE_ULONG.
17627
a2d86bf1
SL
17628 [BZ #16713]
17629 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17630 (__glibc_reserved0): New variable.
17631 (sa_flags): Change type to int.
17632
78b6eebc
SL
17633 * posix/Makefile (before-compile): Use += before-compile instead
17634 of a :=.
17635
f1399b5a
SL
17636 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17637 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17638
a071766e
AS
176392014-03-20 Andreas Schwab <schwab@suse.de>
17640
17641 [BZ #16743]
17642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17643 non-matching result from nscd.
17644
27c673b8
SP
176452014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17646
17647 * scripts/bench.py: Moved to ...
17648 * benchtests/scripts/bench.py: ... here.
17649 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17650
44152e4b
AS
176512014-03-24 Andreas Schwab <schwab@suse.de>
17652
17653 [BZ #16002]
17654 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17655 alloca_account and account alloca use for struct in6ailist.
17656
b376a11a
JM
176572014-03-24 Joseph Myers <joseph@codesourcery.com>
17658
17659 [BZ #16284]
17660 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17661 rounding mode to recompute results that overflow to infinity or
17662 underflow to zero.
17663 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17664 bug 16284.
17665 * math/auto-libm-test-out: Regenerated.
17666 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17667 (ccosh_test): Likewise.
17668 (csin_test_data): Use plus_oflow.
17669 (csin_test): Use ALL_RM_TEST.
17670 (csinh_test_data): Use plus_oflow.
17671 (csinh_test): Use ALL_RM_TEST.
17672 * sysdeps/i386/fpu/libm-test-ulps: Update.
17673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17674
f7be7376
JM
176752014-03-21 Joseph Myers <joseph@codesourcery.com>
17676
1ca2d03e
JM
17677 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17678 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17679 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17680
f7be7376
JM
17681 [BZ #16731]
17682 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17683 when x - 1 is zero.
17684 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17685 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17686 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17687 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17688 argument is 1.
17689 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17690 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17691 zero.
17692 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17693 * sysdeps/i386/fpu/libm-test-ulps: Update.
17694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17695
fdf4534d
SP
176962014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17697
df26ea53
SP
17698 * scripts/bench.pl: Remove file.
17699 * scripts/bench.py: New benchmark script.
17700 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17701 * benchtests/README: Mention python dependency.
17702 * scripts/pylintrc: New file.
17703 * scripts/pylint: New file.
17704
fdf4534d
SP
17705 * bits/mathdef.h: Use #ifdef instead of #if.
17706 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17707 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17708 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17709 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17710 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17711 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17712
6f23d093
AZ
177132014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17714 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17715
17716 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17718 and strpbrk-ppc64 objects.
17719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17720 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17721 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17722 multiarch strpbrk for POWER7.
17723 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17724 multiarch strpbrk for PPC64.
17725 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17726 ifunc selector.
17727 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17728 strpbrk for POWER7.
17729
8c92dfff
JM
177302014-03-20 Joseph Myers <joseph@codesourcery.com>
17731
17732 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17733 (atan_test): Likewise.
17734 (atanh_test_data): Use NO_TEST_INLINE for two tests.
17735 (atanh_test): Use ALL_RM_TEST.
17736 (atan2_test_data): Likewise.
17737 (cabs_test): Likewise.
17738 (cacosh_test): Likewise.
17739 (carg_test): Likewise.
17740 (casin_test): Likewise.
17741 (casinh_test): Likewise.
17742 (cbrt_test): Likewise.
17743 (csqrt_test): Likewise.
17744 (erf_test): Likewise.
17745 (erfc_test): Likewise.
17746 (pow10_test): Likewise.
17747 (exp2_test): Likewise.
17748 (hypot_test): Likewise.
17749 (j0_test): Likewise.
17750 (j1_test): Likewise.
17751 (lgamma_test): Likewise.
17752 (gamma_test): Likewise.
17753 (sincos_test): Likewise.
17754 (tanh_test): Likewise.
17755 (y0_test): Likewise.
17756 (y1_test): Likewise.
17757 * sysdeps/i386/fpu/libm-test-ulps: Update.
17758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17759
6eaf95cb
AZ
177602014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17761
a387428c
SP
17762 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
17764 and strcspn-ppc64 objects.
17765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17766 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17767 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17768 multiarch strcspn for POWER7.
17769 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17770 multiarch strcspn for PPC64.
17771 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17772 ifunc selector.
17773 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17774 strcspn for POWER7.
17775
ae3a5dff
JM
177762014-03-20 Joseph Myers <joseph@codesourcery.com>
17777
17778 * math/gen-libm-test.pl (generate_testfile): Expect only function
17779 name as argument to AUTO_TESTS_* and pass results for all rounding
17780 modes to parse_args.
17781 (parse_auto_input): Separate inputs of automatic tests from
17782 outputs before storing in %auto_tests.
17783 * math/libm-test.inc (acos_test_data): Update call to
17784 AUTO_TESTS_f_f.
17785 (acos_test): Use ALL_RM_TEST.
17786 (acos_tonearest_test_data): Remove.
17787 (acos_test_tonearest): Likewise.
17788 (acos_towardzero_test_data): Likewise.
17789 (acos_test_towardzero): Likewise.
17790 (acos_downward_test_data): Likewise.
17791 (acos_test_downward): Likewise.
17792 (acos_upward_test_data): Likewise.
17793 (acos_test_upward): Likewise.
17794 (acosh_test_data): Update call to AUTO_TESTS_f_f.
17795 (asin_test_data): Likewise.
17796 (asin_test): Use ALL_RM_TEST.
17797 (asin_tonearest_test_data): Remove.
17798 (asin_test_tonearest): Likewise.
17799 (asin_towardzero_test_data): Likewise.
17800 (asin_test_towardzero): Likewise.
17801 (asin_downward_test_data): Likewise.
17802 (asin_test_downward): Likewise.
17803 (asin_upward_test_data): Likewise.
17804 (asin_test_upward): Likewise.
17805 (asinh_test_data): Update call to AUTO_TESTS_f_f.
17806 (atan_test_data): Likewise.
17807 (atanh_test_data): Likewise.
17808 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17809 (cabs_test_data): Update call to AUTO_TESTS_c_f.
17810 (carg_test_data): Likewise.
17811 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17812 (ccos_test_data): Update call to AUTO_TESTS_c_c.
17813 (ccosh_test_data): Likewise.
17814 (cexp_test_data): Likewise.
17815 (clog_test_data): Likewise.
17816 (clog10_test_data): Likewise.
17817 (cos_test_data): Update call to AUTO_TESTS_f_f.
17818 (cos_test): Use ALL_RM_TEST.
17819 (cos_tonearest_test_data): Remove.
17820 (cos_test_tonearest): Likewise.
17821 (cos_towardzero_test_data): Likewise.
17822 (cos_test_towardzero): Likewise.
17823 (cos_downward_test_data): Likewise.
17824 (cos_test_downward): Likewise.
17825 (cos_upward_test_data): Likewise.
17826 (cos_test_upward): Likewise.
17827 (cosh_test_data): Update call to AUTO_TESTS_f_f.
17828 (cosh_test): Use ALL_RM_TEST.
17829 (cosh_tonearest_test_data): Remove.
17830 (cosh_test_tonearest): Likewise.
17831 (cosh_towardzero_test_data): Likewise.
17832 (cosh_test_towardzero): Likewise.
17833 (cosh_downward_test_data): Likewise.
17834 (cosh_test_downward): Likewise.
17835 (cosh_upward_test_data): Likewise.
17836 (cosh_test_upward): Likewise.
17837 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17838 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17839 (ctan_test_data): Likewise.
17840 (ctan_test): Use ALL_RM_TEST.
17841 (ctan_tonearest_test_data): Remove.
17842 (ctan_test_tonearest): Likewise.
17843 (ctan_towardzero_test_data): Likewise.
17844 (ctan_test_towardzero): Likewise.
17845 (ctan_downward_test_data): Likewise.
17846 (ctan_test_downward): Likewise.
17847 (ctan_upward_test_data): Likewise.
17848 (ctan_test_upward): Likewise.
17849 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17850 (ctanh_test): Use ALL_RM_TEST.
17851 (ctanh_tonearest_test_data): Remove.
17852 (ctanh_test_tonearest): Likewise.
17853 (ctanh_towardzero_test_data): Likewise.
17854 (ctanh_test_towardzero): Likewise.
17855 (ctanh_downward_test_data): Likewise.
17856 (ctanh_test_downward): Likewise.
17857 (ctanh_upward_test_data): Likewise.
17858 (ctanh_test_upward): Likewise.
17859 (erf_test_data): Update call to AUTO_TESTS_f_f.
17860 (erfc_test_data): Likewise.
17861 (exp_test_data): Likewise.
17862 (exp_test): Use ALL_RM_TEST.
17863 (exp_tonearest_test_data): Remove.
17864 (exp_test_tonearest): Likewise.
17865 (exp_towardzero_test_data): Likewise.
17866 (exp_test_towardzero): Likewise.
17867 (exp_downward_test_data): Likewise.
17868 (exp_test_downward): Likewise.
17869 (exp_upward_test_data): Likewise.
17870 (exp_test_upward): Likewise.
17871 (exp10_test_data): Update call to AUTO_TESTS_f_f.
17872 (exp10_test): Use ALL_RM_TEST.
17873 (exp10_tonearest_test_data): Remove.
17874 (exp10_test_tonearest): Likewise.
17875 (exp10_towardzero_test_data): Likewise.
17876 (exp10_test_towardzero): Likewise.
17877 (exp10_downward_test_data): Likewise.
17878 (exp10_test_downward): Likewise.
17879 (exp10_upward_test_data): Likewise.
17880 (exp10_test_upward): Likewise.
17881 (exp2_test_data): Update call to AUTO_TESTS_f_f.
17882 (expm1_test_data): Likewise.
17883 (expm1_test): Use ALL_RM_TEST.
17884 (expm1_tonearest_test_data): Remove.
17885 (expm1_test_tonearest): Likewise.
17886 (expm1_towardzero_test_data): Likewise.
17887 (expm1_test_towardzero): Likewise.
17888 (expm1_downward_test_data): Likewise.
17889 (expm1_test_downward): Likewise.
17890 (expm1_upward_test_data): Likewise.
17891 (expm1_test_upward): Likewise.
17892 (fma_test_data): Update call to AUTO_TESTS_fff_f.
17893 (fma_test): Use ALL_RM_TEST.
17894 (fma_towardzero_test_data): Remove.
17895 (fma_test_towardzero): Likewise.
17896 (fma_downward_test_data): Likewise.
17897 (fma_test_downward): Likewise.
17898 (fma_upward_test_data): Likewise.
17899 (fma_test_upward): Likewise.
17900 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17901 (j0_test_data): Update call to AUTO_TESTS_f_f.
17902 (j1_test_data): Likewise.
17903 (jn_test_data): Update call to AUTO_TESTS_if_f.
17904 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17905 (log_test_data): Update call to AUTO_TESTS_f_f.
17906 (log10_test_data): Likewise.
17907 (log1p_test_data): Likewise.
17908 (log2_test_data): Likewise.
17909 (pow_test_data): Update call to AUTO_TESTS_ff_f.
17910 (pow_tonearest_test_data): Likewise.
17911 (sin_test_data): Update call to AUTO_TESTS_f_f.
17912 (sin_test): Use ALL_RM_TEST.
17913 (sin_tonearest_test_data): Remove.
17914 (sin_test_tonearest): Likewise.
17915 (sin_towardzero_test_data): Likewise.
17916 (sin_test_towardzero): Likewise.
17917 (sin_downward_test_data): Likewise.
17918 (sin_test_downward): Likewise.
17919 (sin_upward_test_data): Likewise.
17920 (sin_test_upward): Likewise.
17921 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17922 (sinh_test_data): Update call to AUTO_TESTS_f_f.
17923 (sinh_test): Use ALL_RM_TEST.
17924 (sinh_tonearest_test_data): Remove.
17925 (sinh_test_tonearest): Likewise.
17926 (sinh_towardzero_test_data): Likewise.
17927 (sinh_test_towardzero): Likewise.
17928 (sinh_downward_test_data): Likewise.
17929 (sinh_test_downward): Likewise.
17930 (sinh_upward_test_data): Likewise.
17931 (sinh_test_upward): Likewise.
17932 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17933 (sqrt_test): Use ALL_RM_TEST.
17934 (sqrt_tonearest_test_data): Remove.
17935 (sqrt_test_tonearest): Likewise.
17936 (sqrt_towardzero_test_data): Likewise.
17937 (sqrt_test_towardzero): Likewise.
17938 (sqrt_downward_test_data): Likewise.
17939 (sqrt_test_downward): Likewise.
17940 (sqrt_upward_test_data): Likewise.
17941 (sqrt_test_upward): Likewise.
17942 (tan_test_data): Update call to AUTO_TESTS_f_f.
17943 (tan_test): Use ALL_RM_TEST.
17944 (tan_tonearest_test_data): Remove.
17945 (tan_test_tonearest): Likewise.
17946 (tan_towardzero_test_data): Likewise.
17947 (tan_test_towardzero): Likewise.
17948 (tan_downward_test_data): Likewise.
17949 (tan_test_downward): Likewise.
17950 (tan_upward_test_data): Likewise.
17951 (tan_test_upward): Likewise.
17952 (tanh_test_data): Update call to AUTO_TESTS_f_f.
17953 (tgamma_test_data): Likewise.
17954 (y0_test_data): Likewise.
17955 (y1_test_data): Likewise.
17956 (yn_test_data): Update call to AUTO_TESTS_if_f.
17957 (main): Do not call removed functions.
17958
d71aeee8
JM
179592014-03-19 Joseph Myers <joseph@codesourcery.com>
17960
17961 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17962 (ldexp_test_data): Remove.
17963 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
17964 scalbn_test_data.
17965 (scalb_test): Use ALL_RM_TEST.
17966
baaf1ded
AS
179672014-03-19 Andreas Schwab <schwab@suse.de>
17968
17969 * nscd/nscd.service: Also invalidate netgroup cache on reload.
17970
b1115e91
JM
179712014-03-19 Joseph Myers <joseph@codesourcery.com>
17972
17973 [BZ #16649]
17974 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17975 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17976 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17977 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17978 (__ASSUME_PREADV): Undefine.
17979 (__ASSUME_PWRITEV): Likewise.
17980
0283ecca
RM
179812014-03-18 Roland McGrath <roland@hack.frob.com>
17982
7d375303
RM
17983 * bits/mman-linux.h: Add comment about non-Linux use.
17984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17985 bits/mman-linux.h resting place.
17986
0283ecca
RM
17987 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17988 * bits/mman-linux.h: ... here.
17989
aebe1003
AZ
179902014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17991
17992 * conform/conformtest.pl: Add standard definition when calling C
17993 preprocessor on data files.
17994 (checknamespace): Remove unused variable.
17995
b29b6bb8
JM
179962014-03-18 Joseph Myers <joseph@codesourcery.com>
17997
17998 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17999 minus_oflow, plus_uflow and minus_uflow in expected results.
18000 * math/libm-test.inc (scalbn_test_data): Add more tests of
18001 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18002 minus_uflow.
18003 (scalbn_test): Use ALL_RM_TEST.
18004 (scalbln_test_data): Add more tests of negative arguments. Use
18005 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18006 (scalbln_test): Use ALL_RM_TEST.
18007
c8f8fa15
RM
180082014-03-18 Roland McGrath <roland@hack.frob.com>
18009
18010 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18011
fede7a5f
WN
180122014-03-18 Will Newton <will.newton@linaro.org>
18013
18014 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18015 inaccurate comment.
18016
80cf0a58
JM
180172014-03-18 Joseph Myers <joseph@codesourcery.com>
18018
18019 * Makerules [!subdir] (check-abi): Exit with error status if a
18020 test failed.
18021
b3620862
JM
180222014-03-17 Joseph Myers <joseph@codesourcery.com>
18023
18024 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18025 for rint. Include results for all rounding modes.
18026 (nearbyint_test): Use ALL_RM_TEST.
18027 (rint_test_data): Include all tests used for nearbyint.
18028
788bba36
WN
180292014-03-17 Will Newton <will.newton@linaro.org>
18030
04ec140a
WN
18031 * nptl/sysdeps/pthread/pthread.h: Revert previous
18032 change.
18033
7579d8d5
WN
18034 * sysdeps/generic/ldsodefs.h: Revert previous
18035 change.
18036
c15cf13a
WN
18037 * libio/genops.c: Revert previous change.
18038 * libio/libioP.h: Likewise.
18039 * stdio-common/vfprintf.c: Likewise.
18040
d0ac1324
WN
18041 * sysdeps/generic/math_private.h: Revert previous
18042 change.
18043
9290130a
WN
18044 * sysdeps/generic/math_private.h: Check whether
18045 HAVE_RM_CTX is defined with #ifdef rather
18046 than #if.
18047
afb466fc
WN
18048 * argp/argp-fmtstream.h: Check whether
18049 __STRICT_ANSI__ is defined with #ifdef rather
18050 than #if.
18051 * argp/argp.h: Likewise.
18052
f7efd7c3
WN
18053 * libio/genops.c: Check whether
18054 _IO_JUMPS_OFFSET is defined with #ifdef rather
18055 than #if.
18056 * libio/libioP.h: Likewise.
18057 * stdio-common/vfprintf.c: Likewise.
18058
53f1bed3
WN
18059 * sysdeps/generic/ldsodefs.h: Check whether
18060 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18061 than #if.
18062
788bba36
WN
18063 * nptl/sysdeps/pthread/pthread.h: Check
18064 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18065 its value.
18066
fcd89ebe
SP
180672014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18068
ae42bbc5
SP
18069 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18070 setting O_APPEND.
18071 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18072 test case.
18073
ea33158c
SP
18074 [BZ #16680]
18075 * libio/fileops.c (_IO_file_open): Seek to end of file but
18076 don't cache the offset.
18077 (get_file_offset): Remove function.
18078 (do_ftell): Use cached offset when available.
18079 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18080 don't cache the offset.
18081 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18082 case.
18083 (do_one_test): Call it.
18084 (do_ftell_test): Fix up expected old offset for a+ mode.
18085 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18086 available.
18087
b1dbb426
SP
18088 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18089 up test status with function return status.
18090 (do_write_test): Likewise.
18091 (do_append_test): Likewise.
18092
fcd89ebe
SP
18093 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18094 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18095 Remove.
18096
9962a2d3
JM
180972014-03-17 Joseph Myers <joseph@codesourcery.com>
18098
18099 * math/gen-libm-test.pl (parse_args): Handle results specified for
18100 each rounding mode separately.
18101 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18102 tests and results from lrint_tonearest_test_data,
18103 lrint_towardzero_test_data, lrint_downward_test_data and
18104 lrint_upward_test_data.
18105 (lrint_test): Use ALL_RM_TEST.
18106 (lrint_tonearest_test_data): Remove.
18107 (lrint_test_tonearest): Likewise.
18108 (lrint_towardzero_test_data): Likewise.
18109 (lrint_test_towardzero): Likewise.
18110 (lrint_downward_test_data): Likewise.
18111 (lrint_test_downward): Likewise.
18112 (lrint_upward_test_data): Likewise.
18113 (lrint_test_upward): Likewise.
18114 (llrint_test_data): Merge in per-rounding-mode tests and results
18115 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18116 llrint_downward_test_data and llrint_upward_test_data.
18117 (llrint_test): Use ALL_RM_TEST.
18118 (llrint_tonearest_test_data): Remove.
18119 (llrint_test_tonearest): Likewise.
18120 (llrint_towardzero_test_data): Likewise.
18121 (llrint_test_towardzero): Likewise.
18122 (llrint_downward_test_data): Likewise.
18123 (llrint_test_downward): Likewise.
18124 (llrint_upward_test_data): Likewise.
18125 (llrint_test_upward): Likewise.
18126 (rint_test_data): Merge in per-rounding-mode tests and results
18127 from rint_tonearest_test_data, rint_towardzero_test_data,
18128 rint_downward_test_data and rint_upward_test_data. Add
18129 per-rounding-mode results for tests not in those arrays.
18130 (rint_test): Use ALL_RM_TEST.
18131 (rint_tonearest_test_data): Remove.
18132 (rint_test_tonearest): Likewise.
18133 (rint_towardzero_test_data): Likewise.
18134 (rint_test_towardzero): Likewise.
18135 (rint_downward_test_data): Likewise.
18136 (rint_test_downward): Likewise.
18137 (rint_upward_test_data): Likewise.
18138 (rint_test_upward): Likewise.
18139 (main): Don't call removed functions.
18140
5006148e
RM
181412014-03-14 Roland McGrath <roland@hack.frob.com>
18142
18143 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18144 "Compiled on ..." crapola. It is anti-useful.
18145
d6fe5e58
JM
181462014-03-14 Joseph Myers <joseph@codesourcery.com>
18147
18148 * scripts/evaluate-test.sh: Handle fourth argument to determine
18149 whether test run should stop on failure.
18150 * Makeconfig (stop-on-test-failure): New variable.
18151 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18152 $(stop-on-test-failure).
18153 * Makefile (tests): Give a summary of results from testing and
18154 exit with failure status if they include an ERROR or FAIL.
18155 (xtests): Likewise.
18156 * manual/install.texi (Configuring and compiling): Mention
18157 stop-on-test-failure=y.
18158 * INSTALL: Regenerated.
18159
498a2233
RM
181602014-03-14 Roland McGrath <roland@hack.frob.com>
18161
22dbc19d
RM
18162 * scripts/versionlist.awk: New file.
18163 * Makerules [$(build-shared) = yes]
18164 (postclean-generated): Add Versions.def, not Versions.def.v and
18165 Versions.def.v.i.
18166 ($(common-objpfx)Versions.def.v.i): Target removed.
18167 ($(common-objpfx)Versions.def): New target.
18168 ($(common-objpfx)Versions.all): Depend on that rather that
18169 $(common-objpfx)Versions.def.v.
18170 * Versions.def: File removed.
18171
498a2233
RM
18172 * Makeconfig (+gccwarn): Add -Wundef.
18173 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18174 a dl-sysdep.h breaking its contract.
18175 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18176 * include/stackinfo.h: New file.
18177 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18178 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18179 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18180 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18181 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18182 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18183 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18184 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18185 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18186 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18187 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18188 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18189 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18190 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18191 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18192
c7de5025
AZ
181932014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18194
18195 [BZ #16707]
18196 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18197 implementation.
18198 * math/libm-test.inc (round_test_data): Add more tests.
18199
98fb27a3
AZ
18200 [BZ #16706]
18201 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18202 implementation.
18203 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18204
374f7f61
AZ
18205 [BZ #16701]
18206 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18207 implementation.
18208 * math/libm-test.inc (ceil_test_data): Add more tests.
18209
4655c291
AZ
18210 * math/libm-test.inc (trunc_test_data): Add more tests related to
18211 BZ#16414.
18212
d7329d4b
RM
182132014-03-14 Roland McGrath <roland@hack.frob.com>
18214
18215 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18216 with #if rather than #ifdef.
18217 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18218
aa4de9ce
L
182192014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18220
18221 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18222 first. Disable AVX-512 GCC support if assembler doesn't support
18223 it.
18224 * sysdeps/x86_64/configure: Regenerated.
18225
2e03fae7
CD
182262014-03-13 Carlos O'Donell <carlos@redhat.com>
18227
18228 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18229 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18230 (__old_pthread_attr_setstack): Likewise.
18231 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18232 [!_STACK_GROWS_DOWN]: Likewise.
18233
43ca83ec
MF
182342014-03-13 Mike Frysinger <vapier@gentoo.org>
18235
18236 * config.make.in (have-bash2): Delete.
18237 * configure.ac (libc_cv_have_bash2): Delete.
18238 * configure: Regenerate.
18239 * elf/Makefile (common-ldd-rewrite): Rename to ...
18240 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18241 (sh-ldd-rewrite): Delete.
18242 (bash-ldd-rewrite): Delete.
18243 (have-bash2): Delete checks.
57f41c40
AS
18244 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18245 ldd-rewrite.
c66e48b4
MF
18246
18247 * config.make.in (have-ksh): Delete.
18248 (KSH): Delete.
18249 * configure.ac (libc_cv_have_ksh): Delete.
18250 * configure: Regenerate.
18251
b93834ef
MF
18252 * elf/Makefile: Delete $(have-ksh) check.
18253 ($(objpfx)sotruss): Change KSH to BASH.
18254 * elf/sotruss.ksh: Rename to ...
18255 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18256 function style to match POSIX. Drop ksh vim mode setting.
18257
f3a4632a
MF
18258 * manual/time.texi (Specifying the Time Zone with TZ): Change
18259 Tuesday to Thursday.
18260
5896c8bd
MF
18261 * debug/tst-longjmp_chk2.c: Update header comment.
18262 (stackoverflow_handler): Add comment. Call assert on pass value.
18263
2d63a517
IZ
182642014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18265
7e54fd04 18266 [BZ #16194]
2d63a517
IZ
18267 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18268 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18269 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18270 (La_x86_64_vector): Add zmm.
18271 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18272 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18273 ($(objpfx)tst-audit10): New target.
18274 ($(objpfx)tst-audit10.out): Likewise.
18275 (tst-audit10-ENV): New.
18276 (AVX512-CFLAGS): Likewise.
18277 (CFLAGS-tst-audit10.c): Likewise.
18278 (CFLAGS-tst-auditmod10a.c): Likewise.
18279 (CFLAGS-tst-auditmod10b.c): Likewise.
18280 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18281 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18282 * sysdeps/x86_64/configure: Regenerated.
18283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18284 AVX-512 zmm register support.
18285 (_dl_x86_64_save_sse): Likewise.
18286 (_dl_x86_64_restore_sse): Likewise.
18287 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18288 size vector registers.
18289 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18290 (ZMM_SIZE): Likewise.
18291 * sysdeps/x86_64/tst-audit10.c: New file.
18292 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18293 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18294
44c4e5d5
RM
182952014-03-13 Roland McGrath <roland@hack.frob.com>
18296
18297 * configure.ac (HAVE_EHDR_START): New check.
18298 * configure: Regenerated.
18299 * config.h.in (HAVE_EHDR_START): New #undef.
18300 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18301 assuming the lowest-addressed segment maps the start of the file.
18302
acd6e389
JM
183032014-03-13 Joseph Myers <joseph@codesourcery.com>
18304
18305 * INSTALL: Regenerated.
18306
6f918f36
WN
183072014-03-13 Will Newton <will.newton@linaro.org>
18308
18309 * manual/setjmp.texi (System V contexts): Improve
18310 clarity and grammar of documentation.
18311
798212a0
PP
183122014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18313
18314 [BZ #16381]
798212a0 18315 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 18316 (tests-pie): Add tst-pie2.
798212a0
PP
18317 * elf/tst-pie2.c: New file.
18318 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18319 for ET_EXEC.
18320 * elf/rtld.c (map_doit): Load executable as lt_executable.
18321 (dl_main): Likewise.
18322
abe6d90c
JM
183232014-03-12 Joseph Myers <joseph@codesourcery.com>
18324
18325 [BZ #16642]
18326 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18327 (__ASSUME_PSELECT): Undefine.
18328
dd3946c6
AZ
183292014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18330
18331 [BZ #16689]
18332 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18333 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18334 static build.
18335 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18336 selector for static builds.
18337
c44496df
SP
183382014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18339
18340 [BZ #16695]
18341 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18342 key in the buffer.
18343
27c7220a
AZ
183442014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18345
57f41c40
AS
18346 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18347 IFUNC selector for static builds.
27c7220a 18348
600fa361
JM
183492014-03-11 Joseph Myers <joseph@codesourcery.com>
18350
76c96cf7
JM
18351 * sysdeps/mips/math_private.h [__mips_hard_float]
18352 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18353 libc_feresetround_mips_ctx.
18354 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18355 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18356 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18357
600fa361
JM
18358 [BZ #16677]
18359 * math/s_nextafter.c (__nextafter): Do not return value from
18360 overflowing computation.
18361 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18362 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18363 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18364 Likewise.
18365 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18366 Likewise.
18367 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18368 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18369
d7706c32
RM
183702014-03-11 Roland McGrath <roland@hack.frob.com>
18371
18372 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18373 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18374 Move sfi_sp use from the load-multiple (that no longer sets sp) to
18375 the new mov targetting sp.
18376
4facea47
AZ
183772014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18378
18379 [BZ #16683]
18380 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18381 Define it for static builds as well.
18382 (NO_BZERO_IMPL): Likewise.
18383
e65caf1f
VR
183842014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18385
18386 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18387 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18388 multiarch strspn for PPC64.
18389 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18390 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18392 (__libc_ifunc_impl_list): Likewise.
18393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18394 multiarch optimizations
18395 * string/strspn.c (strspn): Using macro to redefine symbol name.
18396
ba9cc071
AZ
183972014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18398 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18399
18400 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18401 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18402 multiarch strncat for PPC64.
18403 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18404 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18406 (__libc_ifunc_impl_list): Likewise.
18407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18408 multiarch optimizations
18409
8b4ff974
SP
184102014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18411
18412 [BZ #16639]
18413 * nscd/nscd.service: Make service type forking.
18414
54b46a4b
AZ
184152014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18416
18417 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18418 sign in non default rounding modes.
18419 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18420
e9996ef7
JM
184212014-03-08 Joseph Myers <joseph@codesourcery.com>
18422
18423 * math/libm-test.inc (ALL_RM_TEST): New macro.
18424 (ceil_test): Use ALL_RM_TEST.
18425 (cimag_test): Likewise.
18426 (conj_test): Likewise.
18427 (copysign_test): Likewise.
18428 (cproj_test): Likewise.
18429 (creal_test): Likewise.
18430 (fabs_test): Likewise.
18431 (floor_test): Likewise.
18432 (fmax_test): Likewise.
18433 (fmin_test): Likewise.
18434 (fmod_test): Likewise.
18435 (fpclassify_test): Likewise.
18436 (frexp_test): Likewise.
18437 (ilogb_test): Likewise.
18438 (isfinite_test): Likewise.
18439 (finite_test): Likewise.
18440 (isgreater_test): Likewise.
18441 (isgreaterequal_test): Likewise.
18442 (isinf_test): Likewise.
18443 (isless_test): Likewise.
18444 (islessequal_test): Likewise.
18445 (islessgreater_test): Likewise.
18446 (isnan_test): Likewise.
18447 (isnormal_test): Likewise.
18448 (issignaling_test): Likewise.
18449 (isunordered_test): Likewise.
18450 (logb_test): Likewise.
18451 (logb_downward_test_data): Remove.
18452 (logb_test_downward): Likewise.
18453 (lround_test): Use ALL_RM_TEST.
18454 (llround_test): Likewise.
18455 (modf_test): Likewise.
18456 (nexttoward_test): Likewise.
18457 (remainder_test): Likewise.
18458 (drem_test): Likewise.
18459 (remainder_tonearest_test_data): Likewise.
18460 (remainder_test_tonearest): Likewise.
18461 (drem_test_tonearest): Likewise.
18462 (remainder_towardzero_test_data): Likewise.
18463 (remainder_test_towardzero): Likewise.
18464 (drem_test_towardzero): Likewise.
18465 (remainder_downward_test_data): Likewise.
18466 (remainder_test_downward): Likewise.
18467 (drem_test_downward): Likewise.
18468 (remainder_upward_test_data): Likewise.
18469 (remainder_test_upward): Likewise.
18470 (drem_test_upward): Likewise.
18471 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18472 (round_test): Use ALL_RM_TEST.
18473 (signbit_test): Likewise.
18474 (trunc_test): Likewise.
18475 (significand_test): Likewise.
18476 (main): Don't call removed functions.
18477
bc61d27c
JM
184782014-03-07 Joseph Myers <joseph@codesourcery.com>
18479
5c780849
JM
18480 [BZ #16674]
18481 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18482 || __USE_XOPEN2K8].
18483 (ILL_ILLOPN): Likewise.
18484 (ILL_ILLADR): Likewise.
18485 (ILL_ILLTRP): Likewise.
18486 (ILL_PRVOPC): Likewise.
18487 (ILL_PRVREG): Likewise.
18488 (ILL_COPROC): Likewise.
18489 (ILL_BADSTK): Likewise.
18490 (FPE_INTDIV): Likewise.
18491 (FPE_INTOVF): Likewise.
18492 (FPE_FLTDIV): Likewise.
18493 (FPE_FLTOVF): Likewise.
18494 (FPE_FLTUND): Likewise.
18495 (FPE_FLTRES): Likewise.
18496 (FPE_FLTINV): Likewise.
18497 (FPE_FLTSUB): Likewise.
18498 (SEGV_MAPERR): Likewise.
18499 (SEGV_ACCERR): Likewise.
18500 (BUS_ADRALN): Likewise.
18501 (BUS_ADRERR): Likewise.
18502 (BUS_OBJERR): Likewise.
18503 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18504 (TRAP_TRACE): Likewise.
18505 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18506 __USE_XOPEN2K8].
18507 (CLD_KILLED): Likewise.
18508 (CLD_DUMPED): Likewise.
18509 (CLD_TRAPPED): Likewise.
18510 (CLD_STOPPED): Likewise.
18511 (CLD_CONTINUED): Likewise.
18512 (POLL_IN): Likewise.
18513 (POLL_OUT): Likewise.
18514 (POLL_MSG): Likewise.
18515 (POLL_ERR): Likewise.
18516 (POLL_PRI): Likewise.
18517 (POLL_HUP): Likewise.
18518 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18519 Likewise.
18520 (ILL_ILLOPN): Likewise.
18521 (ILL_ILLADR): Likewise.
18522 (ILL_ILLTRP): Likewise.
18523 (ILL_PRVOPC): Likewise.
18524 (ILL_PRVREG): Likewise.
18525 (ILL_COPROC): Likewise.
18526 (ILL_BADSTK): Likewise.
18527 (FPE_INTDIV): Likewise.
18528 (FPE_INTOVF): Likewise.
18529 (FPE_FLTDIV): Likewise.
18530 (FPE_FLTOVF): Likewise.
18531 (FPE_FLTUND): Likewise.
18532 (FPE_FLTRES): Likewise.
18533 (FPE_FLTINV): Likewise.
18534 (FPE_FLTSUB): Likewise.
18535 (SEGV_MAPERR): Likewise.
18536 (SEGV_ACCERR): Likewise.
18537 (BUS_ADRALN): Likewise.
18538 (BUS_ADRERR): Likewise.
18539 (BUS_OBJERR): Likewise.
18540 (BUS_MCEERR_AR): Likewise.
18541 (BUS_MCEERR_AO): Likewise.
18542 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18543 (TRAP_TRACE): Likewise.
18544 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18545 __USE_XOPEN2K8].
18546 (CLD_KILLED): Likewise.
18547 (CLD_DUMPED): Likewise.
18548 (CLD_TRAPPED): Likewise.
18549 (CLD_STOPPED): Likewise.
18550 (CLD_CONTINUED): Likewise.
18551 (POLL_IN): Likewise.
18552 (POLL_OUT): Likewise.
18553 (POLL_MSG): Likewise.
18554 (POLL_ERR): Likewise.
18555 (POLL_PRI): Likewise.
18556 (POLL_HUP): Likewise.
18557 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18558 (ILL_ILLOPN): Likewise.
18559 (ILL_ILLADR): Likewise.
18560 (ILL_ILLTRP): Likewise.
18561 (ILL_PRVOPC): Likewise.
18562 (ILL_PRVREG): Likewise.
18563 (ILL_COPROC): Likewise.
18564 (ILL_BADSTK): Likewise.
18565 (FPE_INTDIV): Likewise.
18566 (FPE_INTOVF): Likewise.
18567 (FPE_FLTDIV): Likewise.
18568 (FPE_FLTOVF): Likewise.
18569 (FPE_FLTUND): Likewise.
18570 (FPE_FLTRES): Likewise.
18571 (FPE_FLTINV): Likewise.
18572 (FPE_FLTSUB): Likewise.
18573 (SEGV_MAPERR): Likewise.
18574 (SEGV_ACCERR): Likewise.
18575 (BUS_ADRALN): Likewise.
18576 (BUS_ADRERR): Likewise.
18577 (BUS_OBJERR): Likewise.
18578 (BUS_MCEERR_AR): Likewise.
18579 (BUS_MCEERR_AO): Likewise.
18580 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18581 (TRAP_TRACE): Likewise.
18582 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18583 __USE_XOPEN2K8].
18584 (CLD_KILLED): Likewise.
18585 (CLD_DUMPED): Likewise.
18586 (CLD_TRAPPED): Likewise.
18587 (CLD_STOPPED): Likewise.
18588 (CLD_CONTINUED): Likewise.
18589 (POLL_IN): Likewise.
18590 (POLL_OUT): Likewise.
18591 (POLL_MSG): Likewise.
18592 (POLL_ERR): Likewise.
18593 (POLL_PRI): Likewise.
18594 (POLL_HUP): Likewise.
18595 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18596 Likewise.
18597 (ILL_ILLOPN): Likewise.
18598 (ILL_ILLADR): Likewise.
18599 (ILL_ILLTRP): Likewise.
18600 (ILL_PRVOPC): Likewise.
18601 (ILL_PRVREG): Likewise.
18602 (ILL_COPROC): Likewise.
18603 (ILL_BADSTK): Likewise.
18604 (ILL_BADIADDR): Likewise.
18605 (ILL_BREAK): Likewise.
18606 (FPE_INTDIV): Likewise.
18607 (FPE_INTOVF): Likewise.
18608 (FPE_FLTDIV): Likewise.
18609 (FPE_FLTOVF): Likewise.
18610 (FPE_FLTUND): Likewise.
18611 (FPE_FLTRES): Likewise.
18612 (FPE_FLTINV): Likewise.
18613 (FPE_FLTSUB): Likewise.
18614 (FPE_DECOVF): Likewise.
18615 (FPE_DECDIV): Likewise.
18616 (FPE_DECERR): Likewise.
18617 (FPE_INVASC): Likewise.
18618 (FPE_INVDEC): Likewise.
18619 (SEGV_MAPERR): Likewise.
18620 (SEGV_ACCERR): Likewise.
18621 (SEGV_PSTKOVF): Likewise.
18622 (BUS_ADRALN): Likewise.
18623 (BUS_ADRERR): Likewise.
18624 (BUS_OBJERR): Likewise.
18625 (BUS_MCEERR_AR): Likewise.
18626 (BUS_MCEERR_AO): Likewise.
18627 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18628 (TRAP_TRACE): Likewise.
18629 (TRAP_BRANCH): Likewise.
18630 (TRAP_HWBKPT): Likewise.
18631 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18632 __USE_XOPEN2K8].
18633 (CLD_KILLED): Likewise.
18634 (CLD_DUMPED): Likewise.
18635 (CLD_TRAPPED): Likewise.
18636 (CLD_STOPPED): Likewise.
18637 (CLD_CONTINUED): Likewise.
18638 (POLL_IN): Likewise.
18639 (POLL_OUT): Likewise.
18640 (POLL_MSG): Likewise.
18641 (POLL_ERR): Likewise.
18642 (POLL_PRI): Likewise.
18643 (POLL_HUP): Likewise.
18644 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18645 (ILL_ILLOPN): Likewise.
18646 (ILL_ILLADR): Likewise.
18647 (ILL_ILLTRP): Likewise.
18648 (ILL_PRVOPC): Likewise.
18649 (ILL_PRVREG): Likewise.
18650 (ILL_COPROC): Likewise.
18651 (ILL_BADSTK): Likewise.
18652 (FPE_INTDIV): Likewise.
18653 (FPE_INTOVF): Likewise.
18654 (FPE_FLTDIV): Likewise.
18655 (FPE_FLTOVF): Likewise.
18656 (FPE_FLTUND): Likewise.
18657 (FPE_FLTRES): Likewise.
18658 (FPE_FLTINV): Likewise.
18659 (FPE_FLTSUB): Likewise.
18660 (SEGV_MAPERR): Likewise.
18661 (SEGV_ACCERR): Likewise.
18662 (BUS_ADRALN): Likewise.
18663 (BUS_ADRERR): Likewise.
18664 (BUS_OBJERR): Likewise.
18665 (BUS_MCEERR_AR): Likewise.
18666 (BUS_MCEERR_AO): Likewise.
18667 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18668 (TRAP_TRACE): Likewise.
18669 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18670 __USE_XOPEN2K8].
18671 (CLD_KILLED): Likewise.
18672 (CLD_DUMPED): Likewise.
18673 (CLD_TRAPPED): Likewise.
18674 (CLD_STOPPED): Likewise.
18675 (CLD_CONTINUED): Likewise.
18676 (POLL_IN): Likewise.
18677 (POLL_OUT): Likewise.
18678 (POLL_MSG): Likewise.
18679 (POLL_ERR): Likewise.
18680 (POLL_PRI): Likewise.
18681 (POLL_HUP): Likewise.
18682 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18683 (ILL_ILLOPN): Likewise.
18684 (ILL_ILLADR): Likewise.
18685 (ILL_ILLTRP): Likewise.
18686 (ILL_PRVOPC): Likewise.
18687 (ILL_PRVREG): Likewise.
18688 (ILL_COPROC): Likewise.
18689 (ILL_BADSTK): Likewise.
18690 (FPE_INTDIV): Likewise.
18691 (FPE_INTOVF): Likewise.
18692 (FPE_FLTDIV): Likewise.
18693 (FPE_FLTOVF): Likewise.
18694 (FPE_FLTUND): Likewise.
18695 (FPE_FLTRES): Likewise.
18696 (FPE_FLTINV): Likewise.
18697 (FPE_FLTSUB): Likewise.
18698 (SEGV_MAPERR): Likewise.
18699 (SEGV_ACCERR): Likewise.
18700 (BUS_ADRALN): Likewise.
18701 (BUS_ADRERR): Likewise.
18702 (BUS_OBJERR): Likewise.
18703 (BUS_MCEERR_AR): Likewise.
18704 (BUS_MCEERR_AO): Likewise.
18705 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18706 (TRAP_TRACE): Likewise.
18707 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18708 __USE_XOPEN2K8].
18709 (CLD_KILLED): Likewise.
18710 (CLD_DUMPED): Likewise.
18711 (CLD_TRAPPED): Likewise.
18712 (CLD_STOPPED): Likewise.
18713 (CLD_CONTINUED): Likewise.
18714 (POLL_IN): Likewise.
18715 (POLL_OUT): Likewise.
18716 (POLL_MSG): Likewise.
18717 (POLL_ERR): Likewise.
18718 (POLL_PRI): Likewise.
18719 (POLL_HUP): Likewise.
18720 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18721 (ILL_ILLOPN): Likewise.
18722 (ILL_ILLADR): Likewise.
18723 (ILL_ILLTRP): Likewise.
18724 (ILL_PRVOPC): Likewise.
18725 (ILL_PRVREG): Likewise.
18726 (ILL_COPROC): Likewise.
18727 (ILL_BADSTK): Likewise.
18728 (FPE_INTDIV): Likewise.
18729 (FPE_INTOVF): Likewise.
18730 (FPE_FLTDIV): Likewise.
18731 (FPE_FLTOVF): Likewise.
18732 (FPE_FLTUND): Likewise.
18733 (FPE_FLTRES): Likewise.
18734 (FPE_FLTINV): Likewise.
18735 (FPE_FLTSUB): Likewise.
18736 (SEGV_MAPERR): Likewise.
18737 (SEGV_ACCERR): Likewise.
18738 (BUS_ADRALN): Likewise.
18739 (BUS_ADRERR): Likewise.
18740 (BUS_OBJERR): Likewise.
18741 (BUS_MCEERR_AR): Likewise.
18742 (BUS_MCEERR_AO): Likewise.
18743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18744 (TRAP_TRACE): Likewise.
18745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18746 __USE_XOPEN2K8].
18747 (CLD_KILLED): Likewise.
18748 (CLD_DUMPED): Likewise.
18749 (CLD_TRAPPED): Likewise.
18750 (CLD_STOPPED): Likewise.
18751 (CLD_CONTINUED): Likewise.
18752 (POLL_IN): Likewise.
18753 (POLL_OUT): Likewise.
18754 (POLL_MSG): Likewise.
18755 (POLL_ERR): Likewise.
18756 (POLL_PRI): Likewise.
18757 (POLL_HUP): Likewise.
18758 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18759 (ILL_ILLOPN): Likewise.
18760 (ILL_ILLADR): Likewise.
18761 (ILL_ILLTRP): Likewise.
18762 (ILL_PRVOPC): Likewise.
18763 (ILL_PRVREG): Likewise.
18764 (ILL_COPROC): Likewise.
18765 (ILL_BADSTK): Likewise.
18766 (ILL_DBLFLT): Likewise.
18767 (ILL_HARDWALL): Likewise.
18768 (FPE_INTDIV): Likewise.
18769 (FPE_INTOVF): Likewise.
18770 (FPE_FLTDIV): Likewise.
18771 (FPE_FLTOVF): Likewise.
18772 (FPE_FLTUND): Likewise.
18773 (FPE_FLTRES): Likewise.
18774 (FPE_FLTINV): Likewise.
18775 (FPE_FLTSUB): Likewise.
18776 (SEGV_MAPERR): Likewise.
18777 (SEGV_ACCERR): Likewise.
18778 (BUS_ADRALN): Likewise.
18779 (BUS_ADRERR): Likewise.
18780 (BUS_OBJERR): Likewise.
18781 (BUS_MCEERR_AR): Likewise.
18782 (BUS_MCEERR_AO): Likewise.
18783 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18784 (TRAP_TRACE): Likewise.
18785 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18786 __USE_XOPEN2K8].
18787 (CLD_KILLED): Likewise.
18788 (CLD_DUMPED): Likewise.
18789 (CLD_TRAPPED): Likewise.
18790 (CLD_STOPPED): Likewise.
18791 (CLD_CONTINUED): Likewise.
18792 (POLL_IN): Likewise.
18793 (POLL_OUT): Likewise.
18794 (POLL_MSG): Likewise.
18795 (POLL_ERR): Likewise.
18796 (POLL_PRI): Likewise.
18797 (POLL_HUP): Likewise.
18798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18799 (ILL_ILLOPN): Likewise.
18800 (ILL_ILLADR): Likewise.
18801 (ILL_ILLTRP): Likewise.
18802 (ILL_PRVOPC): Likewise.
18803 (ILL_PRVREG): Likewise.
18804 (ILL_COPROC): Likewise.
18805 (ILL_BADSTK): Likewise.
18806 (FPE_INTDIV): Likewise.
18807 (FPE_INTOVF): Likewise.
18808 (FPE_FLTDIV): Likewise.
18809 (FPE_FLTOVF): Likewise.
18810 (FPE_FLTUND): Likewise.
18811 (FPE_FLTRES): Likewise.
18812 (FPE_FLTINV): Likewise.
18813 (FPE_FLTSUB): Likewise.
18814 (SEGV_MAPERR): Likewise.
18815 (SEGV_ACCERR): Likewise.
18816 (BUS_ADRALN): Likewise.
18817 (BUS_ADRERR): Likewise.
18818 (BUS_OBJERR): Likewise.
18819 (BUS_MCEERR_AR): Likewise.
18820 (BUS_MCEERR_AO): Likewise.
18821 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18822 (TRAP_TRACE): Likewise.
18823 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18824 __USE_XOPEN2K8].
18825 (CLD_KILLED): Likewise.
18826 (CLD_DUMPED): Likewise.
18827 (CLD_TRAPPED): Likewise.
18828 (CLD_STOPPED): Likewise.
18829 (CLD_CONTINUED): Likewise.
18830 (POLL_IN): Likewise.
18831 (POLL_OUT): Likewise.
18832 (POLL_MSG): Likewise.
18833 (POLL_ERR): Likewise.
18834 (POLL_PRI): Likewise.
18835 (POLL_HUP): Likewise.
18836 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18837 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18838
bc61d27c
JM
18839 [BZ #16670]
18840 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18841 before #include of <time.h>.
18842 [!__USE_XOPEN2K] (__need_timespec): Likewise.
18843 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18844 (test-xfail-UNIX98/sched.h/conform): Likewise.
18845
302949e2
MS
188462014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
18847
18848 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18849 error absence of trapping exception support.
18850 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18851
a00f522a
JM
188522014-03-07 Joseph Myers <joseph@codesourcery.com>
18853
6f99f280
JM
18854 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18855 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18856 * timezone/Makefile (testdata): Move definition above include of
18857 Rules.
18858 (test-zones): New variable.
18859 (tests-special): Add zone files.
18860 (build-testdata): Use $(evaluate-test).
18861
0b20a9e8
JM
18862 * elf/Makefile (tests-special): Rename tests to end with .out.
18863 ($(objpfx)noload-mem): Likewise.
18864 ($(objpfx)tst-leaks1-mem): Likewise.
18865 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
18866 * iconv/Makefile (xtests-special): Change test-iconvconfig to
18867 $(objpfx)test-iconvconfig.out.
18868 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
18869 set -e inside subshell and redirect output to file.
18870 * iconvdata/Makefile (generated): Rename tests to end with .out.
18871 Correct type.
18872 (tests-special): Rename tests to end with .out.
18873 ($(objpfx)mtrace-tst-loading): Likewise.
18874 * intl/Makefile (generated): Likewise.
18875 (tests-special): Likewise.
18876 ($(objpfx)mtrace-tst-gettext): Likewise.
18877 * misc/Makefile (generated): Likewise.
18878 (tests-special): Likewise.
18879 ($(objpfx)tst-error1-mem): Likewise.
18880 * nptl/Makefile (tests-special): Likewise.
18881 ($(objpfx)tst-stack3-mem): Likewise.
18882 (generated): Likewise.
18883 * posix/Makefile (generated): Likewise.
18884 (tests-special): Likewise.
18885 (xtests-special): Likewise.
18886 ($(objpfx)tst-fnmatch-mem): Likewise.
18887 ($(objpfx)bug-regex2-mem): Likewise.
18888 ($(objpfx)bug-regex14-mem): Likewise.
18889 ($(objpfx)bug-regex21-mem): Likewise.
18890 ($(objpfx)bug-regex31-mem): Likewise.
18891 ($(objpfx)tst-vfork3-mem): Likewise.
18892 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18893 ($(objpfx)tst-pcre-mem): Likewise.
18894 ($(objpfx)tst-boost-mem): Likewise.
18895 ($(objpfx)bug-ga2-mem): Likewise.
18896 ($(objpfx)bug-glob2-mem): Likewise.
18897 * resolv/Makefile (generate): Likewise.
18898 (tests-special): Likewise.
18899 (xtests-special): Likewise.
18900 (generated): Likewise.
18901 ($(objpfx)mtrace-tst-leaks): Likewise.
18902 ($(objpfx)mtrace-tst-leaks2): Likewise.
18903
265d52ab
JM
18904 * scripts/merge-test-results.sh: New file.
18905 * Makefile (tests-special-notdir): New variable.
18906 (tests): Run merge-test-results.sh.
18907 (xtests): Likewise.
18908 * Rules (tests-special-notdir): New variable.
18909 (xtests-special-notdir): Likewise.
18910 (tests): Run merge-test-results.sh
18911 (xtests): Likewise.
18912
54ee292d
JM
18913 * Makeconfig (test-xfail-name): New variable.
18914 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18915 compute variable name for expected failures.
18916 * conform/Makefile (conformtest-headers-data): New variable.
18917 (conformtest-standards): Likewise.
18918 (conformtest-headers-ISO): Likewise.
18919 (conformtest-headers-ISO99): Likewise.
18920 (conformtest-headers-ISO11): Likewise.
18921 (conformtest-headers-POSIX): Likewise.
18922 (conformtest-headers-XPG3): Likewise.
18923 (conformtest-headers-XPG4): Likewise.
18924 (conformtest-headers-UNIX98): Likewise.
18925 (conformtest-headers-XOPEN2K): Likewise.
18926 (conformtest-headers-POSIX2008): Likewise.
18927 (conformtest-headers-XOPEN2K8): Likewise.
18928 (conformtest-header-list-base): Likewise.
18929 (conformtest-header-list-tests): Likewise.
18930 (conformtest-header-base): Likewise.
18931 (conformtest-header-tests): Likewise.
18932 (tests-special): Add $(conformtest-header-list-tests). If
18933 [$(fast-check) && !$(cross-compiling)], add
18934 $(conformtest-header-tests) instead of
18935 $(objpfx)run-conformtest.out.
18936 (generated): Add $(conformtest-header-list-base). If
18937 [$(fast-check) && !$(cross-compiling)], add
18938 $(conformtest-header-base). Remove previous setting.
18939 ($(conformtest-header-list-tests)): New target.
18940 (test-xfail-run-conformtest): Remove variable.
18941 ($(objpfx)run-conformtest.out): Remove target.
18942 (test-xfail-ISO11/complex.h/conform): New variable.
18943 (test-xfail-ISO11/stdalign.h/conform): Likewise.
18944 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18945 (test-xfail-XPG3/varargs.h/conform): Likewise.
18946 (test-xfail-XPG4/varargs.h/conform): Likewise.
18947 (test-xfail-UNIX98/varargs.h/conform): Likewise.
18948 (test-xfail-XPG4/ndbm.h/conform): Likewise.
18949 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18950 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18951 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18952 (test-xfail-XPG3/fcntl.h/conform): Likewise.
18953 (test-xfail-XPG3/ftw.h/conform): Likewise.
18954 (test-xfail-XPG3/grp.h/conform): Likewise.
18955 (test-xfail-XPG3/langinfo.h/conform): Likewise.
18956 (test-xfail-XPG3/limits.h/conform): Likewise.
18957 (test-xfail-XPG3/pwd.h/conform): Likewise.
18958 (test-xfail-XPG3/search.h/conform): Likewise.
18959 (test-xfail-XPG3/signal.h/conform): Likewise.
18960 (test-xfail-XPG3/stdio.h/conform): Likewise.
18961 (test-xfail-XPG3/stdlib.h/conform): Likewise.
18962 (test-xfail-XPG3/string.h/conform): Likewise.
18963 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18964 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18965 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18966 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18967 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18968 (test-xfail-XPG3/sys/types.h/conform): Likewise.
18969 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18970 (test-xfail-XPG3/termios.h/conform): Likewise.
18971 (test-xfail-XPG3/time.h/conform): Likewise.
18972 (test-xfail-XPG3/unistd.h/conform): Likewise.
18973 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18974 (test-xfail-XPG4/fcntl.h/conform): Likewise.
18975 (test-xfail-XPG4/langinfo.h/conform): Likewise.
18976 (test-xfail-XPG4/netdb.h/conform): Likewise.
18977 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18978 (test-xfail-XPG4/signal.h/conform): Likewise.
18979 (test-xfail-XPG4/stdio.h/conform): Likewise.
18980 (test-xfail-XPG4/stdlib.h/conform): Likewise.
18981 (test-xfail-XPG4/stropts.h/conform): Likewise.
18982 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18983 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18984 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18985 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18986 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18987 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18988 (test-xfail-XPG4/sys/time.h/conform): Likewise.
18989 (test-xfail-XPG4/sys/types.h/conform): Likewise.
18990 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18991 (test-xfail-XPG4/termios.h/conform): Likewise.
18992 (test-xfail-XPG4/ucontext.h/conform): Likewise.
18993 (test-xfail-XPG4/unistd.h/conform): Likewise.
18994 (test-xfail-XPG4/utmpx.h/conform): Likewise.
18995 (test-xfail-POSIX/sched.h/conform): Likewise.
18996 (test-xfail-POSIX/signal.h/conform): Likewise.
18997 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18998 (test-xfail-POSIX/tar.h/conform): Likewise.
18999 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19000 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19001 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19002 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19003 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19004 (test-xfail-UNIX98/sched.h/conform): Likewise.
19005 (test-xfail-UNIX98/signal.h/conform): Likewise.
19006 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19007 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19008 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19009 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19010 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19011 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19012 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19013 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19014 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19015 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19016 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19017 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19018 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19019 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19020 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19021 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19022 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19023 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19024 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19025 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19026 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19027 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19028 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19029 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19030 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19031 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19032 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19033 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19034 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19035 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19036 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19037 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19038 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19039 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19040 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19041 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19042 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19043 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19044 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19045 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19046 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19047 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19048 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19049 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19050 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19051 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19052 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19053 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19054 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19055 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19056 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19057 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19058 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19059 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19060 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19061 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19062 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19063 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19064 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19065 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19066 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19067 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19068 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19069 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19070 (conformtest-cc-flags): Likewise.
19071 ($(conformtest-header-tests): New target.
19072 * conform/check-header-lists.sh: New file.
19073 * conform/run-conformtest.sh: Remove.
19074
a00f522a
JM
19075 * conform/conformtest.pl: Allow ' and \ in values given for
19076 constants.
19077 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19078 inclusion.
19079 [POSIX] (sys/types.h): Likewise.
19080 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19081 inclusion.
19082 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19083 inclusion.
19084 * conform/data/signal.h-data (SIGIO): Remove expectation.
19085 [XPG3] (SIGBUS): Do not expect.
19086 [POSIX || XPG3] (SIGPOLL): Likewise.
19087 [POSIX || XPG3] (SIGPROF): Likewise.
19088 [POSIX || XPG3] (SIGSYS): Likewise.
19089 [XPG3] (SIGTRAP): Likewise.
19090 [POSIX || XPG3] (SIGURG): Likewise.
19091 [POSIX || XPG3] (SIGVTALRM): Likewise.
19092 [POSIX || XPG3] (SIGXCPU): Likewise.
19093 [POSIX || XPG3] (SIGXFSZ): Likewise.
19094 [POSIX] (SA_SIGINFO): Expect.
19095 [XPG3] (siginfo_t): Do not expect type or contents.
19096 [POSIX] (si_pid): Do not expect element.
19097 [POSIX] (si_uid): Likewise.
19098 [POSIX] (si_addr): Likewise.
19099 [POSIX] (si_status): Likewise.
19100 [POSIX] (si_band): Likewise.
19101 [XPG4] (si_value): Likewise.
19102 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19103 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19104 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19105 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19106 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19107 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19108 [POSIX || XPG3] (ILL_COPROC): Likewise.
19109 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19110 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19111 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19112 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19113 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19114 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19115 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19116 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19117 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19118 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19119 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19120 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19121 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19122 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19123 [POSIX || XPG3] (CLD_EXITED): Likewise.
19124 [POSIX || XPG3] (CLD_KILLED): Likewise.
19125 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19126 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19127 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19128 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19129 [POSIX || XPG3] (POLL_IN): Likewise.
19130 [POSIX || XPG3] (POLL_OUT): Likewise.
19131 [POSIX || XPG3] (POLL_MSG): Likewise.
19132 [POSIX || XPG3] (POLL_ERR): Likewise.
19133 [POSIX || XPG3] (POLL_PRI): Likewise.
19134 [POSIX || XPG3] (POLL_HUP): Likewise.
19135 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19136 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19137 (SIG*): Do not allow.
19138 [XPG3] (si_*): Likewise.
19139 [XPG3] (SI_*): Likewise.
19140 [XPG3 || XPG4] (sigev_*): Likewise.
19141 [XPG3 || XPG4] (SIGEV_*): Likewise.
19142 [XPG3 || XPG4] (sival_*): Likewise.
19143 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19144 [POSIX || XPG3] (BUS_*): Likewise.
19145 [POSIX || XPG3] (CLD_*): Likewise.
19146 [POSIX || XPG3] (FPE_*): Likewise.
19147 [POSIX || XPG3] (ILL_*): Likewise.
19148 [POSIX || XPG3] (POLL_*): Likewise.
19149 [POSIX || XPG3] (SEGV_*): Likewise.
19150 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19151 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19152 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19153 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19154 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19155 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19156 Specify type and value.
19157 (TVERSLEN): Likewise.
19158 (REGTYPE): Likewise.
19159 (AREGTYPE): Likewise.
19160 (LNKTYPE): Likewise.
19161 (SYMTYPE): Likewise.
19162 (CHRTYPE): Likewise.
19163 (BLKTYPE): Likewise.
19164 (DIRTYPE): Likewise.
19165 (FIFOTYPE): Likewise.
19166 (CONTTYPE): Likewise.
19167 (TSUID): Likewise.
19168 (TSGID): Likewise.
19169 (TSVTX): Likewise.
19170 (TUREAD): Likewise.
19171 (TUWRITE): Likewise.
19172 (TUEXEC): Likewise.
19173 (TGREAD): Likewise.
19174 (TGWRITE): Likewise.
19175 (TGEXEC): Likewise.
19176 (TOREAD): Likewise.
19177 (TOWRITE): Likewise.
19178 (TOEXEC): Likewise.
19179 [POSIX] (TSVTX): Expect constant.
19180
aa97dee1
JM
191812014-03-06 Joseph Myers <joseph@codesourcery.com>
19182
f214606a
JM
19183 * Makefile (tests): Change dependencies to ....
19184 (tests-special): ... additions to this variable.
19185 (tests): Depend on $(tests-special).
19186 * Makerules (check-abi-list): New variable.
19187 (check-abi): Depend on $(check-abi-list).
19188 [$(subdir) = elf] (tests-special): Add
19189 $(objpfx)check-abi-libc.out.
19190 [$(build-shared) = yes && subdir] (tests-special): Add
19191 $(check-abi-list).
19192 [$(build-shared) = yes && subdir] (tests): Do not depend on
19193 check-abi.
19194 * Rules (tests): Depend on $(tests-special).
19195 (xtests): Depend on $(xtests-special).
19196 * catgets/Makefile (tests): Change dependencies to ....
19197 (tests-special): ... additions to this variable.
19198 * conform/Makefile (tests): Change dependencies to ....
19199 (tests-special): ... additions to this variable.
19200 * elf/Makefile (tests): Change dependencies to ....
19201 (tests-special): ... additions to this variable.
19202 * grp/Makefile (tests): Change dependencies to ....
19203 (tests-special): ... additions to this variable.
19204 * iconv/Makefile (xtests): Change dependencies to ....
19205 (xtests-special): ... additions to this variable.
19206 * iconvdata/Makefile (tests): Change dependencies to ....
19207 (tests-special): ... additions to this variable.
19208 * intl/Makefile (tests): Change dependencies to ....
19209 (tests-special): ... additions to this variable. Also add
19210 $(objpfx)tst-gettext.out.
19211 * io/Makefile (tests): Change dependencies to ....
19212 (tests-special): ... additions to this variable.
19213 * libio/Makefile (tests): Change dependencies to ....
19214 (tests-special): ... additions to this variable.
19215 * malloc/Makefile (tests): Change dependencies to ....
19216 (tests-special): ... additions to this variable.
19217 * misc/Makefile (tests): Change dependencies to ....
19218 (tests-special): ... additions to this variable.
19219 * nptl/Makefile (tests): Change dependencies to ....
19220 (tests-special): ... additions to this variable.
19221 * nptl_db/Makefile (tests): Change dependencies to ....
19222 (tests-special): ... additions to this variable.
19223 * posix/Makefile (tests): Change dependencies to ....
19224 (tests-special): ... additions to this variable.
19225 (xtests): Change dependencies to ....
19226 (xtests-special): ... additions to this variable.
19227 * resolv/Makefile (tests): Change dependencies to ....
19228 (tests-special): ... additions to this variable.
19229 (xtests): Change dependencies to ....
19230 (xtests-special): ... additions to this variable.
19231 * stdio-common/Makefile (tests): Change dependencies to ....
19232 (tests-special): ... additions to this variable.
19233 (do-tst-unbputc): Remove target.
19234 (do-tst-printf): Likewise.
19235 * stdlib/Makefile (tests): Change dependencies to ....
19236 (tests-special): ... additions to this variable.
19237 * string/Makefile (tests): Change dependencies to ....
19238 (tests-special): ... additions to this variable.
19239 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19240 (tests-special): ... additions to this variable.
19241
81700b53
JM
19242 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19243 whole file.
19244 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19245 whole file.
19246 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19247 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19248
2ea18461
JM
19249 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19250 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19251 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19252 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19253 * conform/data/libgen.h-data [XPG3]: Likewise.
19254 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19255 * conform/data/ndbm.h-data [XPG3]: Likewise.
19256 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19257 * conform/data/netdb.h-data [XPG3]: Likewise.
19258 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19259 * conform/data/poll.h-data [XPG3]: Likewise.
19260 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19261 * conform/data/strings.h-data [XPG3]: Likewise.
19262 * conform/data/stropts.h-data [XPG3]: Likewise.
19263 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19264 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19265 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19266 Likewise.
19267 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19268 * conform/data/sys/time.h-data [XPG3]: Likewise.
19269 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19270 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19271 * conform/data/sys/un.h-data [XPG3]: Likewise.
19272 * conform/data/syslog.h-data [XPG3]: Likewise.
19273 * conform/data/ucontext.h-data [XPG3]: Likewise.
19274 * conform/data/utmpx.h-data [XPG3]: Likewise.
19275 * conform/data/varargs.h-data [UNIX98]: Enable file.
19276
355bc986
JM
19277 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19278
215db402
JM
19279 * math/libm-test.inc (struct test_f_f_data): Move expected results
19280 into structure for each rounding mode.
19281 (struct test_ff_f_data): Likewise.
19282 (struct test_ff_f_data_nexttoward): Likewise.
19283 (struct test_fi_f_data): Likewise.
19284 (struct test_fl_f_data): Likewise.
19285 (struct test_if_f_data): Likewise.
19286 (struct test_fff_f_data): Likewise.
19287 (struct test_c_f_data): Likewise.
19288 (struct test_f_f1_data): Likewise.
19289 (struct test_fF_f1_data): Likewise.
19290 (struct test_ffI_f1_data): Likewise.
19291 (struct test_c_c_data): Likewise.
19292 (struct test_cc_c_data): Likewise.
19293 (struct test_f_i_data): Likewise.
19294 (struct test_ff_i_data): Likewise.
19295 (struct test_f_l_data): Likewise.
19296 (struct test_f_L_data): Likewise.
19297 (struct test_fFF_11_data): Likewise.
19298 (RM_): New macro.
19299 (RM_FE_DOWNWARD): Likewise.
19300 (RM_FE_TONEAREST): Likewise.
19301 (RM_FE_TOWARDZERO): Likewise.
19302 (RM_FE_UPWARD): Likewise.
19303 (RUN_TEST_LOOP_f_f): Update references to expected results.
19304 (RUN_TEST_LOOP_2_f): Likewise.
19305 (RUN_TEST_LOOP_fff_f): Likewise.
19306 (RUN_TEST_LOOP_c_f): Likewise.
19307 (RUN_TEST_LOOP_f_f1): Likewise.
19308 (RUN_TEST_LOOP_fF_f1): Likewise.
19309 (RUN_TEST_LOOP_fI_f1): Likewise.
19310 (RUN_TEST_LOOP_ffI_f1): Likewise.
19311 (RUN_TEST_LOOP_c_c): Likewise.
19312 (RUN_TEST_LOOP_cc_c): Likewise.
19313 (RUN_TEST_LOOP_f_i): Likewise.
19314 (RUN_TEST_LOOP_f_i_tg): Likewise.
19315 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19316 (RUN_TEST_LOOP_f_b): Likewise.
19317 (RUN_TEST_LOOP_f_b_tg): Likewise.
19318 (RUN_TEST_LOOP_f_l): Likewise.
19319 (RUN_TEST_LOOP_f_L): Likewise.
19320 (RUN_TEST_LOOP_fFF_11): Likewise.
19321 * math/gen-libm-test.pl (parse_args): Output four copies of
19322 expected results for each test.
19323
67737b8f
JM
19324 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19325 (__ASSUME_UTIMES): Remove.
19326 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19327 (__ASSUME_UTIMES): Likewise.
19328
aa97dee1
JM
19329 * math/gen-auto-libm-tests.c: Update comment on output format.
19330 (output_for_one_input_case): Generate before-rounding and
19331 after-rounding information as conditions on output flags not
19332 floating-point format.
19333 * math/auto-libm-test-out: Regenerated.
19334 * math/gen-libm-test.pl (cond_value): New function.
19335 (or_cond_value): Use cond_value.
19336 (generate_testfile): Handle conditional exceptions.
19337
e6b6a857
JM
193382014-03-05 Joseph Myers <joseph@codesourcery.com>
19339
2f0a0f44
JM
19340 * math/libm-test.inc (max_valid_error): New variable.
19341 (init_max_error): Take new argument specifying whether function
19342 results are exactly determined. Set max_valid_error and bound
19343 other variables for errors based on this argument.
19344 (set_max_error): Do not record results above max_valid_error.
19345 (check_float_internal): Only accept errors of up to 0.5ulps if
19346 also at most max_valid_error.
19347 (START): Take new argument EXACT and pass it to init_max_error.
19348 (acos_test): Update call to START.
19349 (acos_test_tonearest): Likewise.
19350 (acos_test_towardzero): Likewise.
19351 (acos_test_downward): Likewise.
19352 (acos_test_upward): Likewise.
19353 (acosh_test): Likewise.
19354 (asin_test): Likewise.
19355 (asin_test_tonearest): Likewise.
19356 (asin_test_towardzero): Likewise.
19357 (asin_test_downward): Likewise.
19358 (asin_test_upward): Likewise.
19359 (asinh_test): Likewise.
19360 (atan_test): Likewise.
19361 (atanh_test): Likewise.
19362 (atan2_test): Likewise.
19363 (cabs_test): Likewise.
19364 (cacos_test): Likewise.
19365 (cacosh_test): Likewise.
19366 (carg_test): Likewise.
19367 (casin_test): Likewise.
19368 (casinh_test): Likewise.
19369 (catan_test): Likewise.
19370 (catanh_test): Likewise.
19371 (cbrt_test): Likewise.
19372 (ccos_test): Likewise.
19373 (ccosh_test): Likewise.
19374 (ceil_test): Likewise.
19375 (cexp_test): Likewise.
19376 (cimag_test): Likewise.
19377 (clog_test): Likewise.
19378 (clog10_test): Likewise.
19379 (conj_test): Likewise.
19380 (copysign_test): Likewise.
19381 (cos_test): Likewise.
19382 (cos_test_tonearest): Likewise.
19383 (cos_test_towardzero): Likewise.
19384 (cos_test_downward): Likewise.
19385 (cos_test_upward): Likewise.
19386 (cosh_test): Likewise.
19387 (cosh_test_tonearest): Likewise.
19388 (cosh_test_towardzero): Likewise.
19389 (cosh_test_downward): Likewise.
19390 (cosh_test_upward): Likewise.
19391 (cpow_test): Likewise.
19392 (cproj_test): Likewise.
19393 (creal_test): Likewise.
19394 (csin_test): Likewise.
19395 (csinh_test): Likewise.
19396 (csqrt_test): Likewise.
19397 (ctan_test): Likewise.
19398 (ctan_test_tonearest): Likewise.
19399 (ctan_test_towardzero): Likewise.
19400 (ctan_test_downward): Likewise.
19401 (ctan_test_upward): Likewise.
19402 (ctanh_test): Likewise.
19403 (ctanh_test_tonearest): Likewise.
19404 (ctanh_test_towardzero): Likewise.
19405 (ctanh_test_downward): Likewise.
19406 (ctanh_test_upward): Likewise.
19407 (erf_test): Likewise.
19408 (erfc_test): Likewise.
19409 (exp_test): Likewise.
19410 (exp_test_tonearest): Likewise.
19411 (exp_test_towardzero): Likewise.
19412 (exp_test_downward): Likewise.
19413 (exp_test_upward): Likewise.
19414 (exp10_test): Likewise.
19415 (exp10_test_tonearest): Likewise.
19416 (exp10_test_towardzero): Likewise.
19417 (exp10_test_downward): Likewise.
19418 (exp10_test_upward): Likewise.
19419 (pow10_test): Likewise.
19420 (exp2_test): Likewise.
19421 (expm1_test): Likewise.
19422 (expm1_test_tonearest): Likewise.
19423 (expm1_test_towardzero): Likewise.
19424 (expm1_test_downward): Likewise.
19425 (expm1_test_upward): Likewise.
19426 (fabs_test): Likewise.
19427 (fdim_test): Likewise.
19428 (floor_test): Likewise.
19429 (fma_test): Likewise.
19430 (fma_test_towardzero): Likewise.
19431 (fma_test_downward): Likewise.
19432 (fma_test_upward): Likewise.
19433 (fmax_test): Likewise.
19434 (fmin_test): Likewise.
19435 (fmod_test): Likewise.
19436 (fpclassify_test): Likewise.
19437 (frexp_test): Likewise.
19438 (hypot_test): Likewise.
19439 (ilogb_test): Likewise.
19440 (isfinite_test): Likewise.
19441 (finite_test): Likewise.
19442 (isgreater_test): Likewise.
19443 (isgreaterequal_test): Likewise.
19444 (isinf_test): Likewise.
19445 (isless_test): Likewise.
19446 (islessequal_test): Likewise.
19447 (islessgreater_test): Likewise.
19448 (isnan_test): Likewise.
19449 (isnormal_test): Likewise.
19450 (issignaling_test): Likewise.
19451 (isunordered_test): Likewise.
19452 (j0_test): Likewise.
19453 (j1_test): Likewise.
19454 (jn_test): Likewise.
19455 (ldexp_test): Likewise.
19456 (lgamma_test): Likewise.
19457 (gamma_test): Likewise.
19458 (lrint_test): Likewise.
19459 (lrint_test_tonearest): Likewise.
19460 (lrint_test_towardzero): Likewise.
19461 (lrint_test_downward): Likewise.
19462 (lrint_test_upward): Likewise.
19463 (llrint_test): Likewise.
19464 (llrint_test_tonearest): Likewise.
19465 (llrint_test_towardzero): Likewise.
19466 (llrint_test_downward): Likewise.
19467 (llrint_test_upward): Likewise.
19468 (log_test): Likewise.
19469 (log10_test): Likewise.
19470 (log1p_test): Likewise.
19471 (log2_test): Likewise.
19472 (logb_test): Likewise.
19473 (logb_test_downward): Likewise.
19474 (lround_test): Likewise.
19475 (llround_test): Likewise.
19476 (modf_test): Likewise.
19477 (nearbyint_test): Likewise.
19478 (nextafter_test): Likewise.
19479 (nexttoward_test): Likewise.
19480 (pow_test): Likewise.
19481 (pow_test_tonearest): Likewise.
19482 (pow_test_towardzero): Likewise.
19483 (pow_test_downward): Likewise.
19484 (pow_test_upward): Likewise.
19485 (remainder_test): Likewise.
19486 (drem_test): Likewise.
19487 (remainder_test_tonearest): Likewise.
19488 (drem_test_tonearest): Likewise.
19489 (remainder_test_towardzero): Likewise.
19490 (drem_test_towardzero): Likewise.
19491 (remainder_test_downward): Likewise.
19492 (drem_test_downward): Likewise.
19493 (remainder_test_upward): Likewise.
19494 (drem_test_upward): Likewise.
19495 (remquo_test): Likewise.
19496 (rint_test): Likewise.
19497 (rint_test_tonearest): Likewise.
19498 (rint_test_towardzero): Likewise.
19499 (rint_test_downward): Likewise.
19500 (rint_test_upward): Likewise.
19501 (round_test): Likewise.
19502 (scalb_test): Likewise.
19503 (scalbn_test): Likewise.
19504 (scalbln_test): Likewise.
19505 (signbit_test): Likewise.
19506 (sin_test): Likewise.
19507 (sin_test_tonearest): Likewise.
19508 (sin_test_towardzero): Likewise.
19509 (sin_test_downward): Likewise.
19510 (sin_test_upward): Likewise.
19511 (sincos_test): Likewise.
19512 (sinh_test): Likewise.
19513 (sinh_test_tonearest): Likewise.
19514 (sinh_test_towardzero): Likewise.
19515 (sinh_test_downward): Likewise.
19516 (sinh_test_upward): Likewise.
19517 (sqrt_test): Likewise.
19518 (sqrt_test_tonearest): Likewise.
19519 (sqrt_test_towardzero): Likewise.
19520 (sqrt_test_downward): Likewise.
19521 (sqrt_test_upward): Likewise.
19522 (tan_test): Likewise.
19523 (tan_test_tonearest): Likewise.
19524 (tan_test_towardzero): Likewise.
19525 (tan_test_downward): Likewise.
19526 (tan_test_upward): Likewise.
19527 (tanh_test): Likewise.
19528 (tgamma_test): Likewise.
19529 (trunc_test): Likewise.
19530 (y0_test): Likewise.
19531 (y1_test): Likewise.
19532 (yn_test): Likewise.
19533 (significand_test): Likewise.
19534
e6b6a857
JM
19535 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19536 individual tests in comment.
19537 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19538 (prev_max_error): New variable.
19539 (prev_real_max_error): Likewise.
19540 (prev_imag_max_error): Likewise.
19541 (compare_ulp_data): Don't refer to test names in comment.
19542 (find_test_ulps): Remove function.
19543 (find_function_ulps): Likewise.
19544 (find_complex_function_ulps): Likewise.
19545 (init_max_error): Take function name as argument. Look up ulps
19546 for that function.
19547 (print_ulps): Remove function.
19548 (print_max_error): Use prev_max_error instead of calling
19549 find_function_ulps.
19550 (print_complex_max_error): Use prev_real_max_error and
19551 prev_imag_max_error instead of calling find_complex_function_ulps.
19552 (check_float_internal): Take max_ulp parameter instead of calling
19553 find_test_ulps. Don't call print_ulps.
19554 (check_float): Update call to check_float_internal.
19555 (check_complex): Update calls to check_float_internal.
19556 (START): Pass argument to init_max_error.
19557 * math/gen-libm-test.pl (%results): Don't include "kind"
19558 information.
19559 (parse_ulps): Don't handle ulps of individual tests.
19560 (print_ulps_file): Likewise.
19561 (output_ulps): Likewise.
19562 * math/README.libm-test: Update.
19563 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19564 individual tests.
19565 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19566 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19567 * sysdeps/arm/libm-test-ulps: Likewise.
19568 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19569 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19570 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19571 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19572 * sysdeps/microblaze/libm-test-ulps: Likewise.
19573 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19574 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19575 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19576 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19577 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19578 * sysdeps/sh/libm-test-ulps: Likewise.
19579 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19580 * sysdeps/tile/libm-test-ulps: Likewise.
19581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19582
45adef3c
JM
195832014-03-04 Joseph Myers <joseph@codesourcery.com>
19584
19585 * math/libm-test.inc (print_complex_max_error): Check separately
19586 whether real and imaginary errors are within allowed range and
19587 pass 0 to print_complex_function_ulps instead of value within
19588 allowed range.
19589
000232b9
SP
195902014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19591
d4b17258
SP
19592 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19593 formatting.
19594 (get_handles_fopen): Likewise.
19595 (do_write_test): Likewise.
19596
091eff71
SP
19597 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19598
fa3cd248
SP
19599 * libio/fileops.c (do_ftell): Use cached offset when
19600 available.
19601 * libio/iofwide.c (do_ftell_wide): Likewise.
19602 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19603 _IO_file_attach.
19604 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19605
000232b9
SP
19606 [BZ #16532]
19607 * libio/libioP.h (get_file_offset): New function.
19608 * libio/fileops.c (get_file_offset): Likewise.
19609 (do_ftell): Likewise.
19610 (_IO_new_file_seekoff): Split out ftell logic.
19611 * libio/wfileops.c (do_ftell_wide): Likewise.
19612 (_IO_wfile_seekoff): Split out ftell logic.
19613 * libio/tst-ftell-active-handler.c: New test case.
19614 * libio/Makefile (tests): Add it.
19615
116f4d1a
RM
196162014-03-03 Roland McGrath <roland@hack.frob.com>
19617
19618 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19619 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19620
532a6035
SP
196212014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19622
19623 [BZ #16639]
19624 * nscd/connections.c (nscd_init): Call do_exit.
19625 (start_threads): Call do_exit and notify_parent.
19626 (begin_drop_privileges): Call do_exit.
19627 (finish_drop_privileges): Likewise.
19628 * nscd/selinux.c (preserve_capabilities): Likewise.
19629 (install_real_capabilities): Likewise.
19630 (nscd_selinux_enabled): Likewise.
19631 (avc_create_thread): Likewise.
19632 (avc_alloc_lock): Likewise.
19633 (nscd_avc_init): Likewise.
19634 * nscd/nscd.c (parent_fd): New static variable.
19635 (main): Create a pipe between parent and child processes.
19636 Skip closing parent_fd.
19637 (monitor_child): New function.
19638 (do_exit): Likewise.
19639 (notify_parent): Likewise.
19640 * nscd/nscd.h (notify_parent): Likewise.
19641 (do_exit): Likewise.
19642
d6285c9f
CD
196432014-03-03 Carlos O'Donell <carlos@redhat.com>
19644
19645 * malloc/malloc.c (__libc_calloc): Revert last change.
19646
2b85d2a0
AZ
196472014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19648
19649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19650
c7debbdf
RS
196512014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19652
19653 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19655 implementation.
19656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19657 (__libc_ifunc_impl_list): Likewise.
19658 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19659 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19660 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19661 * string/strrchr.c: Define STRRCHR.
19662
235eed86
OB
196632014-02-28 Ondřej Bílka <neleai@seznam.cz>
19664
19665 * benchtest/bench-strtok.c (simple_strtok): Delete.
19666 (strtok_string): Use as benchmark.
19667 * string/strtok (STRTOK): New macro.
19668
8e25d1e7
CD
196692014-02-28 Carlos O'Donell <carlos@redhat.com>
19670
ef563f92
CD
19671 * manual/threads.texi: Add header and standard comments to all
19672 functions.
19673
8e25d1e7
CD
19674 * elf/dl-lookup.c (check_match): New function.
19675 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19676 (do_lookup_x): Remove nested function check_match. Use non-nested
19677 function check_match.
19678
ff71cc37
RM
196792014-02-28 Roland McGrath <roland@hack.frob.com>
19680
f08e9a26
RM
19681 * csu/Makefile (generated, before-compile): Use += rather than =.
19682 * catgets/Makefile (generated, generated-dirs): Likewise.
19683 * debug/Makefile (generated): Likewise.
19684 * dlfcn/Makefile (generated): Likewise.
19685 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19686 * iconvdata/Makefile (before-compile, generated): Likewise.
19687 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19688 * libio/Makefile (generated): Likewise.
19689 * malloc/Makefile (generated): Likewise.
19690 * manual/Makefile (generated, generated-dirs): Likewise.
19691 * misc/Makefile (generated): Likewise.
19692 * posix/Makefile (generated): Likewise.
19693 * resolv/Makefile (generated): Likewise.
19694 * sunrpc/Makefile (generated, generated-dirs): Likewise.
19695 * timezone/Makefile (generated, generated-dirs): Likewise.
19696
ff71cc37
RM
19697 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19698
fe13a20c
AZ
196992014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19700
57f41c40
AS
19701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19702 power8 implementation.
19703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19704 file: POWER8 llround ifunc implementation.
19705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19706 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
19707 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19708 POWER8 llround implementation.
19709
57f41c40
AS
19710 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19711 power8 implementation.
19712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19713 file: POWER8 llrint ifunc implementation.
19714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19715 Add POWER8 implementation.
1ad8950a
AZ
19716 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19717 POWER8 llrint implementation.
19718
57f41c40
AS
19719 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19720 power8 implementation.
19721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19722 file: POWER8 finite ifunc implementation.
19723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19724 Add POWER8 implementation.
cac626d6
AZ
19725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19726 Likewise.
19727 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19728 POWER8 finite implementation.
19729 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19730
57f41c40
AS
19731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19732 power8 implementation.
19733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19734 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
19735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19736 POWER8 implementation.
19737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19738 Likewise.
57f41c40
AS
19739 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19740 isinf implementation.
4393fc11
AZ
19741 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19742
57f41c40
AS
19743 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19744 (INIT_ARCH): Add hwcap2 initialization.
19745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19746 power8 implementation.
19747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19748 file: POWER8 isnan ifunc implementation.
487972ae
AZ
19749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19750 POWER8 implementation.
19751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19752 Likewise.
57f41c40
AS
19753 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19754 isnan implementation.
487972ae
AZ
19755 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19756
7d92b787
JY
197572014-02-27 Joey Ye <joey.ye@arm.com>
19758
19759 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19760 (_FP_NANFRAC_Q): Set to zero.
19761
1cadc858
SP
197622014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19763
19764 [BZ #16623]
19765 * math/auto-libm-test-in: New test inputs.
19766 * math/auto-libm-test-out: Regenerate.
19767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19768 and DA.
19769 (__cos): Likewise.
19770 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19771
f8c17e79
JM
197722014-02-27 Joseph Myers <joseph@codesourcery.com>
19773
19774 * scripts/evaluate-test.sh: Take new argument indicating whether
19775 failure is expected.
19776 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19777 indicating whether failure is expected.
19778 * conform/Makefile (test-xfail-run-conformtest): New variable.
19779 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19780 level.
19781 * posix/Makefile (test-xfail-annexc): New variable.
19782 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19783
a5f891ac
JM
197842014-02-26 Joseph Myers <joseph@codesourcery.com>
19785
19786 * argp/Makefile: Include Makeconfig immediately after defining
19787 subdir.
19788 * assert/Makefile: Likewise.
19789 * benchtests/Makefile: Likewise.
19790 * catgets/Makefile: Likewise.
19791 * conform/Makefile: Likewise.
19792 * crypt/Makefile: Likewise.
19793 * csu/Makefile: Likewise.
19794 (all): Remove target.
19795 * ctype/Makefile: Include Makeconfig immediately after defining
19796 subdir.
19797 * debug/Makefile: Likewise.
19798 * dirent/Makefile: Likewise.
19799 * dlfcn/Makefile: Likewise.
19800 * gmon/Makefile: Likewise.
19801 * gnulib/Makefile: Likewise.
19802 * grp/Makefile: Likewise.
19803 * gshadow/Makefile: Likewise.
19804 * hesiod/Makefile: Likewise.
19805 * hurd/Makefile: Likewise.
19806 (all): Remove target.
19807 * iconvdata/Makefile: Include Makeconfig immediately after
19808 defining subdir.
19809 * inet/Makefile: Likewise.
19810 * intl/Makefile: Likewise.
19811 * io/Makefile: Likewise.
19812 * libio/Makefile: Likewise.
19813 (all): Remove target.
19814 * locale/Makefile: Include Makeconfig immediately after defining
19815 subdir.
19816 * login/Makefile: Likewise.
19817 * mach/Makefile: Likewise.
19818 (all): Remove target.
19819 * malloc/Makefile: Include Makeconfig immediately after defining
19820 subdir.
19821 (all): Remove target.
19822 * manual/Makefile: Include Makeconfig immediately after defining
19823 subdir.
19824 * math/Makefile: Likewise.
19825 * misc/Makefile: Likewise.
19826 * nis/Makefile: Likewise.
19827 * nss/Makefile: Likewise.
19828 * po/Makefile: Likewise.
19829 (all): Remove target.
19830 * posix/Makefile: Include Makeconfig immediately after defining
19831 subdir.
19832 * pwd/Makefile: Likewise.
19833 * resolv/Makefile: Likewise.
19834 * resource/Makefile: Likewise.
19835 * rt/Makefile: Likewise.
19836 * setjmp/Makefile: Likewise.
19837 * shadow/Makefile: Likewise.
19838 * signal/Makefile: Likewise.
19839 * socket/Makefile: Likewise.
19840 * soft-fp/Makefile: Likewise.
19841 * stdio-common/Makefile: Likewise.
19842 * stdlib/Makefile: Likewise.
19843 * streams/Makefile: Likewise.
19844 * string/Makefile: Likewise.
19845 * sunrpc/Makefile: Likewise.
19846 (all): Remove target.
19847 * sysvipc/Makefile: Include Makeconfig immediately after defining
19848 subdir.
19849 * termios/Makefile: Likewise.
19850 * time/Makefile: Likewise.
19851 * timezone/Makefile: Likewise.
19852 (all): Remove target.
19853 * wcsmbs/Makefile: Include Makeconfig immediately after defining
19854 subdir.
19855 * wctype/Makefile: Likewise.
19856
5b456e9d
SE
198572014-02-26 Steve Ellcey <sellcey@mips.com>
19858
19859 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19860 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19861 (libc_feholdexcept_setround_mips): Ditto.
19862 (libc_feholdsetround): New.
19863 (libc_feholdsetroundf): New.
19864 (libc_feholdsetroundl): New.
19865 (libc_feupdateenv_test_mips): New.
19866 (libc_feupdateenv_test): New.
19867 (libc_feupdateenv_testf): New.
19868 (libc_feupdateenv_testl): New.
19869 (libc_feresetround): New.
19870 (libc_feresetroundf): New.
19871 (libc_feresetroundl): New.
19872 (libc_fetestexcept_mips): New.
19873 (libc_fetestexcept): New.
19874 (libc_fetestexceptf): New.
19875 (libc_fetestexceptl): New.
19876 (HAVE_RM_CTX): New.
19877 (libc_feholdexcept_setround_mips_ctx): New.
19878 (libc_feholdexcept_setround_ctx): New.
19879 (libc_feholdexcept_setroundf_ctx): New.
19880 (libc_feholdexcept_setroundl_ctx): New.
19881 (libc_fesetenv_mips_ctx): New.
19882 (libc_fesetenv_ctx): New.
19883 (libc_fesetenv_ctxf): New.
19884 (libc_fesetenv_ctxl): New.
19885 (libc_feupdateenv_mips_ctx): New.
19886 (libc_feupdateenv_ctx): New.
19887 (libc_feupdateenvf_ctx): New.
19888 (libc_feupdateenvl_ctx): New.
19889 (libc_feholdsetround_mips_ctx): New.
19890 (libc_feholdsetround_ctx): New.
19891 (libc_feholdsetroundf_ctx): New.
19892 (libc_feholdsetroundl_ctx): New.
19893 (libc_feresetround_mips_ctx): New.
19894 (libc_feresetround_ctx): New.
19895 (libc_feresetroundf_ctx): New.
19896 (libc_feresetroundl_ctx): New.
19897
085d0e35
CD
198982014-02-26 Carlos O'Donell <carlos@redhat.com>
19899
f067bf1f
CD
19900 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19901
085d0e35
CD
19902 * manual/ipc.texi: New file.
19903 * manual/Makefile (chapters): Add ipc.
19904 * manual/job.texi: Add "Inter-Process Communication" to next.
19905 * manual/process.texi: Add "Inter-Process Communication" to prev.
19906
86e58c08
AZ
199072014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19908
19909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19910
4248f0da
OB
199112014-02-26 Ondřej Bílka <neleai@seznam.cz>
19912
19913 * malloc/malloc.c (__libc_calloc): Simplify implementation.
19914
cf822e3c
OB
19915 * manual/arith.texi: Fix spaces after sentences.
19916 * manual/charset.texi: Likewise.
19917 * manual/errno.texi: Likewise.
19918 * manual/install.texi: Likewise.
19919 * manual/llio.texi: Likewise.
19920 * manual/locale.texi: Likewise.
19921 * manual/maint.texi: Likewise.
19922 * manual/math.texi: Likewise.
19923 * manual/memory.texi: Likewise.
19924 * manual/message.texi: Likewise.
19925 * manual/probes.texi: Likewise.
19926 * manual/resource.texi: Likewise.
19927 * manual/signal.texi: Likewise.
19928 * manual/socket.texi: Likewise.
19929 * manual/stdio.texi: Likewise.
19930 * manual/string.texi: Likewise.
19931 * manual/time.texi: Likewise.
19932 * manual/users.texi: Likewise.
19933
ade40b10
CD
199342014-02-25 Carlos O'Donell <carlos@redhat.com>
19935
19936 [BZ #16632]
19937 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19938 _DEFAULT_SOURCE is defined.
19939
d0503676
CD
199402014-02-25 Ulrich Drepper <drepper@gmail.com>
19941 Carlos O'Donell <carlos@redhat.com>
19942
19943 [BZ #16613]
19944 * elf/dl-tls.c (_dl_count_modids): New function.
19945 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19946 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19947 audit library and increment generation counter.
19948 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19949 * elf/tst-audit9.c: New file.
19950 * elf/tst-auditmod9a.c: New file.
19951 * elf/tst-auditmod9b.c: New file.
19952 * elf/Makefile: Add rules to build and run tst-audit9.
19953
4cbf380c
FW
199542014-02-25 Florian Weimer <fweimer@redhat.com>
19955
19956 [BZ #15347]
19957 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19958
80a56cc3
WN
199592014-02-25 Will Newton <will.newton@linaro.org>
19960
19961 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19962 (__longjmp): Restore sp and lr before restoring callee
19963 saved registers. Add longjmp and longjmp_target
19964 SystemTap probe point.
19965 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19966 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19967 Define to zero to match jmpbuf layout.
19968 * sysdeps/arm/setjmp.S: Include stap-probe.h.
19969 (__sigsetjmp): Save sp and lr before saving callee
19970 saved registers. Add setjmp SystemTap probe point.
19971
3ea0f74e
SL
199722014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19973
19974 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19975
b04acb26
AS
199762014-02-24 Andreas Schwab <schwab@suse.de>
19977
19978 [BZ #15804]
19979 * elf/pldd.c (wait_for_ptrace_stop): New function.
19980 (main): Call it after attaching.
19981
098ad55c
RM
199822014-02-22 Roland McGrath <roland@hack.frob.com>
19983
d4ec6ae1
RM
19984 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19985 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19986 Versions files is now verboten.
19987 * hurd/Versions (libc: GLIBC_2.0):
19988 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19989 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19990 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19991 * mach/Versions: Likewise.
19992
098ad55c
RM
19993 * csu/Versions: Remove unused %include.
19994 * resolv/Versions: Likewise.
19995
acd7f096
JM
199962014-02-21 Joseph Myers <joseph@codesourcery.com>
19997
f0881698
JM
19998 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19999 ($(objpfx)check-local-headers.out): Likewise.
20000 ($(objpfx)begin-end-check.out): Likewise.
20001 * Makerules (check-abi-%.out): Likewise.
20002 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20003 ($(objpfx)test2.cat): Likewise.
20004 ($(objpfx)de/libc.cat): Likewise.
20005 ($(objpfx)test-gencat.out): Likewise.
20006 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20007 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20008 ($(objpfx)noload-mem): Likewise.
20009 ($(objpfx)tst-pathopt.out): Likewise.
20010 ($(objpfx)tst-rtld-load-self.out): Likewise.
20011 ($(objpfx)tst-array1-cmp.out): Likewise.
20012 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20013 ($(objpfx)tst-array2-cmp.out): Likewise.
20014 ($(objpfx)tst-array3-cmp.out): Likewise.
20015 ($(objpfx)tst-array4-cmp.out): Likewise.
20016 ($(objpfx)tst-array5-cmp.out): Likewise.
20017 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20018 ($(objpfx)check-textrel.out): Likewise.
20019 ($(objpfx)check-execstack.out): Likewise.
20020 ($(objpfx)check-localplt.out): Likewise.
20021 ($(objpfx)order2-cmp.out): Likewise.
20022 ($(objpfx)tst-leaks1-mem): Likewise.
20023 ($(objpfx)tst-leaks1-static-mem): Likewise.
20024 ($(objpfx)tst-initorder-cmp.out): Likewise.
20025 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20026 ($(objpfx)tst-unused-dep.out): Likewise.
20027 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20028 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20029 * iconv/Makefile (test-iconvconfig): Likewise.
20030 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20031 ($(objpfx)iconv-test.out): Likewise.
20032 ($(objpfx)tst-tables.out): Likewise.
20033 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20034 ($(objpfx)tst-gettext.out): Likewise.
20035 ($(objpfx)tst-translit.out): Likewise.
20036 ($(objpfx)tst-gettext2.out): Likewise.
20037 ($(objpfx)tst-gettext4.out): Likewise.
20038 ($(objpfx)tst-gettext6.out): Likewise.
20039 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20040 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20041 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20042 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20043 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20044 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20045 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20046 ($(objpfx)wordexp-tst.out): Likewise.
20047 ($(objpfx)annexc.out): Likewise.
20048 ($(objpfx)tst-fnmatch-mem): Likewise.
20049 ($(objpfx)bug-regex2-mem): Likewise.
20050 ($(objpfx)bug-regex14-mem): Likewise.
20051 ($(objpfx)bug-regex21-mem): Likewise.
20052 ($(objpfx)bug-regex31-mem): Likewise.
20053 ($(objpfx)tst-vfork3-mem): Likewise.
20054 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20055 ($(objpfx)tst-pcre-mem): Likewise.
20056 ($(objpfx)tst-boost-mem): Likewise.
20057 ($(objpfx)tst-getconf.out): Likewise.
20058 ($(objpfx)bug-ga2-mem): Likewise.
20059 ($(objpfx)bug-glob2-mem): Likewise.
20060 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20061 ($(objpfx)mtrace-tst-leaks2): Likewise.
20062 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20063 ($(objpfx)tst-printf.out): Likewise.
20064 ($(objpfx)tst-setvbuf1.out): Likewise.
20065 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20066 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20067 ($(objpfx)tst-fmtmsg.out): Likewise.
20068 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20069 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20070
acd7f096
JM
20071 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20072 * bits/sigaction.h [__USE_MISC]: Likewise.
20073 * bits/waitstatus.h: Update #endif comments.
20074 * ctype/ctype.h: Likewise.
20075 * dirent/dirent.h: Likewise.
20076 [__USE_MISC]: Remove redundant conditionals.
20077 * grp/grp.h: Update #endif comments.
20078 [__USE_GNU]: Remove redundant conditionals.
20079 [__USE_MISC]: Likewise.
20080 * inet/netinet/in.h [__USE_GNU]: Likewise.
20081 * io/sys/stat.h [__USE_MISC]: Likewise.
20082 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20083 * libio/bits/stdio.h: Update #endif comments.
20084 [__USE_MISC]: Remove redundant conditionals.
20085 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20086 * libio/stdio.h: Update #endif comments.
20087 [__USE_MISC]: Remove redundant conditionals.
20088 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20089 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20090 * math/math.h: Update #else and #endif comments.
20091 [__USE_MISC]: Remove redundant conditionals.
20092 * misc/sys/uio.h: Update #endif comments.
20093 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20094 * posix/glob.h [__USE_MISC]: Likewise.
20095 * posix/sys/types.h: Update #endif comments.
20096 [__USE_MISC]: Remove redundant conditionals.
20097 * posix/sys/wait.h: Update #endif comments.
20098 [__USE_MISC]: Remove redundant conditionals.
20099 * posix/unistd.h: Update #endif comments.
20100 [__USE_MISC]: Remove redundant conditionals.
20101 * pwd/pwd.h [__USE_GNU]: Likewise.
20102 [__USE_MISC]: Likewise.
20103 * resolv/netdb.h [__USE_GNU]: Likewise.
20104 * signal/signal.h: Update #endif comments.
20105 [__USE_MISC]: Remove redundant conditionals.
20106 * stdlib/stdlib.h: Update #else and #endif comments.
20107 [__USE_MISC]: Remove redundant conditionals.
20108 [__USE_GNU]: Likewise.
20109 * string/bits/string2.h [__USE_MISC]: Likewise.
20110 * string/string.h: Update #endif comments.
20111 [__USE_MISC]: Remove redundant conditionals.
20112 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20113 Likewise.
20114 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20115 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20116 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20117 Likewise.
20118 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20119 Likewise.
20120 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20121 comments.
20122 [__USE_MISC]: Remove redundant conditionals.
20123 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20124 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20125 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20126 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20127 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20128 Likewise.
20129 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20130 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20131 Likewise.
20132 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20133 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20134 Likewise.
20135 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20136 Likewise.
20137 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20138 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20139 Likewise.
20140 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20141 Likewise.
20142 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20143 * sysdeps/x86/bits/string.h: Update #endif comments.
20144 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20145 conditionals.
20146 * time/sys/time.h: Update #endif comments.
20147 * time/time.h: Likewise.
20148 [__USE_MISC]: Remove redundant conditionals.
20149
a5d82e4e
YG
201502014-02-21 Yury Gribov <y.gribov@samsung.com>
20151
20152 [BZ #16600]
20153 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20154
9a80491d
AS
201552014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20156
20157 * Versions.def (librt): Add GLIBC_2.17.
20158
105fa381
AC
201592014-02-21 Adam Conrad <adconrad@0c3.net>
20160
20161 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20162 synonym for _SYS_AUXV_H to allow direct inclusion.
20163 * sysdeps/sparc/bits/hwcap.h: Likewise.
20164 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20165 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20166 * sysdeps/sparc/sysdep.h: Likewise.
20167
b8cd1c4e
SP
201682014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20169
20170 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20171
bd939d23
RS
201722014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20173
20174 * benchtests/bench-strrchr.c: Print length instead of position.
20175
5d7b57ca
JM
201762014-02-20 Joseph Myers <joseph@codesourcery.com>
20177
bc688c10
JM
20178 [BZ #16611]
20179 * sysdeps/unix/sysv/linux/kernel-features.h
20180 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20181 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20182 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20183 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20184 Likewise.
20185 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20186 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20187 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20188 (__ASSUME_SENDMMSG): Define instead of using previous
20189 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20190 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20191 (__ASSUME_SENDMMSG_SYSCALL): Define.
20192 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20193 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20194 Likewise.
20195 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20196 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20197 Likewise.
20198 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20199 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20200 Likewise.
20201 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20202 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20203 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20204 [__ASSUME_SENDMMSG]: Change conditionals to
20205 [__ASSUME_SENDMMSG_SOCKETCALL].
20206 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20207 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20208 Define.
20209 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20210 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20211 Likewise.
20212 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20213 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20214 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20215 [!__ASSUME_SENDMMSG]: Change conditional to
20216 [!__ASSUME_SENDMMSG_SOCKETCALL].
20217 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20218 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20219 Define.
20220
0e31b18c
JM
20221 [BZ #16610]
20222 * sysdeps/unix/sysv/linux/kernel-features.h
20223 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20224 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20225 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20226 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20227 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20228 [__i386__ || __sparc__]
20229 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20230 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20231 (__ASSUME_RECVMMSG): Define instead of using previous
20232 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20233 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20234 (__ASSUME_RECVMMSG_SYSCALL): Define.
20235 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20236 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20237 Likewise.
20238 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20239 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20240 Likewise.
20241 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20242 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20243 Likewise.
20244 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20245 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20246 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20247 [__ASSUME_RECVMMSG]: Change condition to
20248 [__ASSUME_RECVMMSG_SOCKETCALL].
20249 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20250 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20251 Define.
20252 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20253 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20254 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20255 Likewise.
20256 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20257 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20258 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20259 [!__ASSUME_RECVMMSG]: Change condition to
20260 [!__ASSUME_RECVMMSG_SOCKETCALL].
20261 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20262 (__ASSUME_RECVMMSG_SYSCALL): Define.
20263
dd481ccf
JM
20264 [BZ #16609]
20265 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20266 __powerpc__ || __s390__ || __sh__ || __sparc__]
20267 (__ASSUME_SOCKETCALL): Define.
20268 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20269 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20270 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20271 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20272 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20273 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20274 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20275 (__ASSUME_ACCEPT4): Define instead of using previous
20276 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20277 __powerpc__ || __sparc__ || __s390__)] condition.
20278 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20279 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20280 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20281 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20282 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20283 [!__ASSUME_ACCEPT4]: Change condition to
20284 [!__ASSUME_ACCEPT4_SOCKETCALL].
20285 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20286 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20287 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20288 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20289 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20290 __ASSUME_ACCEPT4_SYSCALL.
20291 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20292 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20293 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20294 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20295 __ASSUME_ACCEPT4_SYSCALL.
20296 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20297 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20298 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20299 [__ASSUME_ACCEPT4]: Change condition to
20300 [__ASSUME_ACCEPT4_SOCKETCALL].
20301 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20302 (__ASSUME_SOCKETCALL): Define.
20303 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20305 (__ASSUME_SOCKETCALL): Define.
20306 (__ASSUME_ACCEPT4): Remove.
20307 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20308 Define.
20309 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20310 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20311 Likewise.
20312 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20313 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20314
5d7b57ca
JM
20315 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20316 macro.
20317 (HWCAP_ARM_LPAE): Likewise.
20318 (HWCAP_ARM_EVTSTRM): Likewise.
20319 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20320 Add vpfd32, lpae and evtstrm.
20321 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20322 Increase to 22.
20323
63689d61
JM
203242014-02-19 Joseph Myers <joseph@codesourcery.com>
20325
20326 * math/auto-libm-test-in: Add tests of clog10.
20327 * math/auto-libm-test-out: Regenerated.
20328 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20329 * sysdeps/i386/fpu/libm-test-ulps: Update.
20330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20331
ab09bf61
AS
203322014-02-18 Andreas Schwab <schwab@suse.de>
20333
20334 [BZ #16574]
20335 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20336 Store non-zero if the second buffer was newly allocated.
20337 (send_dg): Likewise.
20338 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20339 to send_vc and send_dg.
20340 (res_nsend): Pass NULL for ansp2_malloced.
20341 * resolv/res_query.c (__libc_res_nquery): Add parameter
20342 answerp2_malloced and pass it down to __libc_res_nsend.
20343 (res_nquery): Pass additional NULL to __libc_res_nquery.
20344 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20345 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20346 second answer buffer if answerp2_malloced was set.
20347 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20348 (__libc_res_nquerydomain): Add parameter
20349 answerp2_malloced and pass it down to __libc_res_nquery.
20350 (res_nquerydomain): Pass additional NULL to
20351 __libc_res_nquerydomain.
20352 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20353 additional NULL to __libc_res_nsend and __libc_res_nquery.
20354 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20355 additional NULL to __libc_res_nsearch.
20356 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20357 parameter of __libc_res_nsearch to check for separately allocated
20358 second buffer.
20359 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20360 __libc_res_nquery.
20361 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20362 additional NULL to __libc_res_nquery.
20363 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20364 __libc_res_nsearch.
20365 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20366 * include/resolv.h: Update prototypes of __libc_res_nquery,
20367 __libc_res_nsearch, __libc_res_nsend.
20368
a4fb7861
JM
203692014-02-18 Joseph Myers <joseph@codesourcery.com>
20370
c6af2d89
JM
20371 * math/auto-libm-test-in: Add tests of fma.
20372 * math/auto-libm-test-out: Regenerated.
20373 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20374 (fma_towardzero_test_data): Likewise.
20375 (fma_downward_test_data): Likewise.
20376 (fma_upward_test_data): Likewise.
20377 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20378 mpc_mode.
20379 (rounding_modes): Add values for new field.
20380 (func_calc_method): Add value mpfr_fff_f.
20381 (func_calc_desc): Add mpfr_fff_f union field.
20382 (test_function): Add field exact_args.
20383 (FUNC): Add macro argument EXACT_ARGS.
20384 (FUNC_mpfr_f_f): Update call to FUNC.
20385 (FUNC_mpfr_f_f): Likewise.
20386 (FUNC_mpfr_ff_f): Likewise.
20387 (FUNC_mpfr_if_f): Likewise.
20388 (FUNC_mpc_c_f): Likewise.
20389 (FUNC_mpc_c_c): Likewise.
20390 (test_functions): Add fma. Update calls to FUNC.
20391 (handle_input_arg): Add argument exact_args.
20392 (add_test): Update call to handle_input_arg.
20393 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
20394 (output_for_one_input_case): Update call to calc_generic_results.
20395 Recalculate exact zero results in each rounding mode.
20396
a4fb7861
JM
20397 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20398 non-negative before setting low bit.
20399 * math/auto-libm-test-in: Mark one asin test possibly having
20400 spurious underflow.
20401 * math/auto-libm-test-out: Regenerated.
20402 * sysdeps/i386/fpu/libm-test-ulps: Update.
20403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20404
ef114eaf
DH
204052014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20406
2b7f4f2c
SP
20407 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20408 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20409 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
20410 * README: Add missing listing for microblaze*-*-linux-gnu.
20411
8125aedc
AM
204122014-02-16 Ondřej Bílka <neleai@seznam.cz>
20413
20414 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20415 duplicate code
20416
c70a4b1d
MF
204172014-02-16 Mike Frysinger <vapier@gentoo.org>
20418
20419 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20420 * sysdeps/unix/sysv/linux/ia64: Move directory from
20421 ports/sysdeps/unix/sysv/linux/ia64.
20422 * README: Update listing for ia64-*-linux-gnu.
20423
591aeaf7
TD
204242014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20425 Joseph Myers <joseph@codesourcery.com>
20426
20427 * Makeconfig (test-name): New variable.
20428 (evaluate-test): Likewise.
20429 * Makerules (do-test-clean): Remove .test-result files.
20430 (common-mostlyclean): Likewise.
20431 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20432 * scripts/evaluate-test.sh: New file.
20433
6e89caf1
JM
204342014-02-14 Joseph Myers <joseph@codesourcery.com>
20435
7f98f180
JM
20436 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20437 separate $(objpfx)tst-fopenloc-cmp.out and
20438 $(objpfx)tst-fopenloc-mem.out targets.
20439 (tests): Update dependencies.
20440 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20441 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20442 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20443 (tst-rxspencer-no-utf8-ARGS): New variable.
20444 (tst-rxspencer-no-utf8-ENV): Likewise.
20445 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20446 instead of $(objpfx)tst-rxspencer-mem.
20447 ($(objpfx)tst-rxspencer-mem): Change target to
20448 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20449 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20450 * posix/tst-rxspencer-no-utf8.c: New file.
20451
6e89caf1
JM
20452 * elf/Makefile ($(objpfx)order.out): Remove rule.
20453 [$(run-built-tests) = yes] (tests): Depend on
20454 $(objpfx)order-cmp.out.
20455 ($(objpfx)order-cmp.out): New rule.
20456 [$(run-built-tests) = yes] (tests): Depend on
20457 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20458 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20459 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20460 $(objpfx)tst-array5-static-cmp.out.
20461 ($(objpfx)tst-array1.out): Remove rule.
20462 ($(objpfx)tst-array1-cmp.out): New rule.
20463 ($(objpfx)tst-array1-static.out): Remove rule.
20464 ($(objpfx)tst-array1-static-cmp.out): New rule.
20465 ($(objpfx)tst-array2.out): Remove rule.
20466 ($(objpfx)tst-array2-cmp.out): New rule.
20467 ($(objpfx)tst-array3.out): Remove rule.
20468 ($(objpfx)tst-array3-cmp.out): New rule.
20469 ($(objpfx)tst-array4.out): Remove rule.
20470 ($(objpfx)tst-array4-cmp.out): New rule.
20471 ($(objpfx)tst-array5.out): Remove rule.
20472 ($(objpfx)tst-array5-cmp.out): New rule.
20473 ($(objpfx)tst-array5-static.out): Remove rule.
20474 ($(objpfx)tst-array5-static-cmp.out): New rule.
20475 [$(run-built-tests) = yes] (tests): Depend on
20476 $(objpfx)order2-cmp.out.
20477 ($(objpfx)order2.out): Remove rule.
20478 ($(objpfx)order2-cmp.out): New rule.
20479 ($(objpfx)tst-initorder.out): Remove rule.
20480 [$(run-built-tests) = yes] (tests): Depend on
20481 $(objpfx)tst-initorder-cmp.out.
20482 ($(objpfx)tst-initorder-cmp.out): New rule.
20483 ($(objpfx)tst-initorder2.out): Remove rule.
20484 [$(run-built-tests) = yes] (tests): Depend on
20485 $(objpfx)tst-initorder2-cmp.out.
20486 ($(objpfx)tst-initorder2-cmp.out): New rule.
20487 [$(run-built-tests) = yes] (tests): Depend on
20488 $(objpfx)tst-unused-dep-cmp.out.
20489 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20490 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20491 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20492 on $(objpfx)tst-setvbuf1-cmp.out.
20493 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20494 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20495 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20496 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20497 ($(objpfx)tst-svc.out): Remove rule.
20498 ($(objpfx)tst-svc-cmp.out): New rule.
20499
ed9a38e2
JM
205002014-02-13 Joseph Myers <joseph@codesourcery.com>
20501
20502 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20503 * ctype/ctype.h [__USE_MISC]: Likewise.
20504 * dirent/dirent.h [__USE_MISC]: Likewise.
20505 * grp/grp.h [__USE_MISC]: Likewise.
20506 * io/fcntl.h [__USE_MISC]: Likewise.
20507 * io/sys/stat.h [__USE_MISC]: Likewise.
20508 * libio/stdio.h [__USE_MISC]: Likewise.
20509 * posix/unistd.h [__USE_MISC]: Likewise.
20510 * pwd/pwd.h [__USE_MISC]: Likewise.
20511 * stdlib.h [__USE_MISC]: Likewise.
20512 * string/bits/string2.h [__USE_MISC]: Likewise.
20513 * string/string.h [__USE_MISC]: Likewise.
20514 * time/time.h [__USE_MISC]: Likewise.
20515
d6680619
AS
205162014-02-13 Andreas Schwab <schwab@suse.de>
20517
20518 [BZ #16574]
20519 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20520 second answer buffer if it was separately allocated.
20521
ace614b8
JM
205222014-02-12 Joseph Myers <joseph@codesourcery.com>
20523
743151ae
JM
20524 * sysdeps/mips/math-tests.h: Include <features.h>.
20525 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20526 (ROUNDING_TESTS_long_double): Do not define.
20527 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20528 (EXCEPTION_TESTS_long_double): Likewise.
20529 * sysdeps/mips/mips64/libm-test-ulps: Update.
20530
498afc54
JM
20531 * include/features.h (__USE_BSD): Remove macro definitions.
20532 (__USE_SVID): Likewise.
20533 (_BSD_SOURCE): Likewise.
20534 (_SVID_SOURCE): Likewise.
20535 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20536 from definition of _DEFAULT_SOURCE.
20537 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20538 [_DEFAULT_SOURCE].
20539 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20540 * bits/mman.h [__USE_BSD]: Likewise.
20541 * bits/termios.h [__USE_BSD]: Likewise.
20542 * bits/waitstatus.h [__USE_BSD]: Likewise.
20543 * ctype/ctype.h [__USE_SVID]: Likewise.
20544 * dirent/dirent.h [__USE_BSD]: Likewise.
20545 * grp/grp.h [__USE_SVID]: Likewise.
20546 [__USE_BSD]: Likewise.
20547 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20548 * io/fcntl.h [__USE_BSD]: Likewise.
20549 * io/ftw.h [__USE_BSD]: Likewise.
20550 * io/sys/stat.h [__USE_BSD]: Likewise.
20551 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20552 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20553 * libio/stdio.h [__USE_SVID]: Likewise.
20554 [__USE_BSD]: Likewise.
20555 * math/math.h [__USE_SVID]: Likewise.
20556 [__USE_BSD]: Likewise.
20557 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20558 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20559 * misc/search.h [__USE_SVID]: Likewise.
20560 * misc/sys/mman.h [__USE_BSD]: Likewise.
20561 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20562 * misc/sys/uio.h [__USE_BSD]: Likewise.
20563 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20564 * posix/glob.h [__USE_BSD]: Likewise.
20565 * posix/regex.h [__USE_BSD]: Likewise.
20566 * posix/sys/types.h [__USE_BSD]: Likewise.
20567 [__USE_SVID]: Likewise.
20568 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20569 * posix/sys/wait.h [__USE_BSD]: Likewise.
20570 [__USE_SVID]: Likewise.
20571 * posix/unistd.h [__USE_BSD]: Likewise.
20572 [__USE_SVID]: Likewise.
20573 * pwd/pwd.h [__USE_SVID]: Likewise.
20574 * resolv/netdb.h [__USE_BSD]: Likewise.
20575 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20576 * signal/signal.h [__USE_BSD]: Likewise.
20577 [__USE_SVID]: Likewise.
20578 * socket/sys/socket.h [__USE_BSD]: Likewise.
20579 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20580 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20581 [__USE_SVID]: Likewise.
20582 * string/bits/string2.h [__USE_BSD]: Likewise.
20583 [__USE_SVID]: Likewise.
20584 * string/bits/string3.h [__USE_BSD]: Likewise.
20585 * string/endian.h [__USE_BSD]: Likewise.
20586 * string/string.h [__USE_SVID]: Likewise.
20587 [__USE_BSD]: Likewise.
20588 * string/strings.h [__USE_BSD]: Likewise.
20589 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20590 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20591 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20592 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20593 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20594 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20595 Likewise.
20596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20597 Likewise.
20598 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20599 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20600 Likewise.
20601 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20602 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20603 Likewise.
20604 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20605 Likewise.
20606 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20607 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20608 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20609 Likewise.
20610 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20611 Likewise.
20612 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20613 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20614 * termios/termios.h [__USE_BSD]: Likewise.
20615 * time/sys/time.h [__USE_BSD]: Likewise.
20616 * time/time.h [__USE_BSD]: Likewise.
20617 [__USE_SVID]: Likewise.
20618
dd7b064c
JM
20619 * Makefile (subdir_targets): Remove subdir_lint.out.
20620
a2c4c199
JM
20621 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20622 (do-tst-printf): Likewise.
20623 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20624 $(objpfx)tst-printf.out.
20625
8756f740
JM
20626 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20627
1b6dd3f1
JM
20628 * Makerules (check-abi-%): Change target to
20629 $(objpfx)check-abi-%.out.
20630 (check-abi target): Update dependencies.
20631 (check-abi-pattern variable): Redirect output of diff to $@.
20632 (check-abi variable): Likewise.
20633 * elf/Makefile (check-abi): Update dependencies.
20634
ace614b8
JM
20635 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20636 unused.
20637 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20638 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20639 subnormal range.
20640 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20641 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20642 value has largest subnormal exponent.
20643 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20644 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20645 * sysdeps/aarch64/soft-fp/sfp-machine.h
20646 (_FP_TININESS_AFTER_ROUNDING): New macro.
20647 * sysdeps/alpha/soft-fp/sfp-machine.h
20648 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20649 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20650 Likewise.
20651 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20652 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20653 * sysdeps/mips/soft-fp/sfp-machine.h
20654 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20655 * sysdeps/powerpc/soft-fp/sfp-machine.h
20656 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20657 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20658 Likewise.
20659 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20660 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20661 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20662 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20663 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20664 Likewise.
20665
fbfdf9cb
DAS
206662014-02-12 Dylan Alex Simon <dylan@dylex.net>
20667
20668 [BZ #16545]
20669 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20670 model 1.
20671
68b7efaa
RH
206722014-02-12 Richard Henderson <rth@redhat.com>
20673
c70a4b1d 20674 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
20675 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20676 * sysdeps/unix/sysv/linux/alpha: Move directory from
20677 ports/sysdeps/unix/sysv/linux/alpha.
20678 * README: Update listing for alpha-*-linux-gnu.
20679
cb4a2928
JM
206802014-02-11 Joseph Myers <joseph@codesourcery.com>
20681
c941736c
JM
20682 * include/features.h: Update comment documenting feature test
20683 macros.
20684 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20685 _DEFAULT_SOURCE.
20686 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20687 (_SVID_SOURCE): Likewise.
20688 (_DEFAULT_SOURCE): Update description of default features.
20689 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20690 with _GNU_SOURCE.
20691 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20692 (S_ISVTX): Likewise.
20693 * manual/math.texi (Mathematical Constants): Likewise.
20694 * manual/signal.texi (Interrupted Primitives): Likewise.
20695 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20696 * math/test-matherr.c (_SVID_SOURCE): Do not define.
20697 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20698 Don't refer to _SVID_SOURCE in warning text.
20699
e8d8d7ec
JM
20700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20701
cb4a2928
JM
20702 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20703 already defined.
20704 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20705 * sysdeps/mips/dl-lookup.c: Remove.
20706 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20707
7e6424e3
AK
207082014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20709
20710 [BZ #16447]
20711 * math/auto-libm-test-in: Add testcase for expl.
20712 * math/auto-libm-test-out: Regenerate.
20713 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20714 calculation of unsafe.
20715 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20716
75eff3fe
MS
207172014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
20718
20719 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20720 * sysdeps/unix/sysv/linux/aarch64: Move directory from
20721 ports/sysdeps/unix/sysv/linux/aarch64.
20722 * README: Update listing for aarch64*-*-linux-gnu.
20723
d35f1e80
WN
207242014-02-11 Will Newton <will.newton@linaro.org>
20725
20726 * manual/probes.texi (Mathematical Function Probes): Use
20727 "triggered" instead of "hit".
20728
7b3436d4
WN
20729 * manual/probes.texi (Internal Probes): Add documentation
20730 of setjmp, longjmp and longjmp_target probes.
20731
b4f12ca3
WN
20732 * include/stap-probe.h: Add comment about probe argument
20733 format.
20734
c13a72b7
WN
20735 * malloc/mtrace.c (attribute_hidden): Remove unused macro
20736 definition. (tr_where, tr_freehook, tr_mallochook,
20737 tr_reallochook, tr_memalignhook): Use ANSI protoype.
20738
195b8165
DM
207392014-02-11 David S. Miller <davem@davemloft.net>
20740
20741 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20742 processing int_tests.
20743
2ad7600b
JM
207442014-02-10 Joseph Myers <joseph@codesourcery.com>
20745
20746 * sysdeps/mips: Move directory from ports/sysdeps/mips.
20747 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20748 * sysdeps/unix/sysv/linux/mips: Move directory from
20749 ports/sysdeps/unix/sysv/linux/mips.
20750 * README: Update listing for mips-*-linux-gnu and
20751 mips64-*-linux-gnu.
20752
73588a72
AS
207532014-02-10 Andreas Schwab <schwab@linux-m68k.org>
20754
20755 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20756 * sysdeps/unix/sysv/linux/m68k: Move directory from
20757 ports/sysdeps/unix/sysv/linux/m68k.
20758 * README: Update listing for m68k-*-linux-gnu.
20759
4372980f
CM
207602014-02-10 Chris Metcalf <cmetcalf@tilera.com>
20761
20762 * sysdeps/tile: Move directory from ports/sysdeps/tile.
20763 * sysdeps/unix/sysv/linux/generic: Move directory from
20764 ports/sysdeps/unix/sysv/linux/generic.
20765 * sysdeps/unix/sysv/linux/tile: Move directory from
20766 ports/sysdeps/unix/sysv/linux/tile.
20767 * README: Update listing for tile*-*-linux-gnu.
20768
a1ffb40e
OB
207692014-02-10 Ondřej Bílka <neleai@seznam.cz>
20770
57f41c40
AS
20771 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20772 __builtin_expect.
a1ffb40e
OB
20773 * benchtests/bench-memmem.c (simple_memmem): Likewise.
20774 * catgets/open_catalog.c (__open_catalog): Likewise.
20775 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20776 * debug/confstr_chk.c: Likewise.
20777 * debug/fread_chk.c (__fread_chk): Likewise.
20778 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20779 * debug/getgroups_chk.c: Likewise.
20780 * debug/mbsnrtowcs_chk.c: Likewise.
20781 * debug/mbsrtowcs_chk.c: Likewise.
20782 * debug/mbstowcs_chk.c: Likewise.
20783 * debug/memcpy_chk.c: Likewise.
20784 * debug/memmove_chk.c: Likewise.
20785 * debug/mempcpy_chk.c: Likewise.
20786 * debug/memset_chk.c: Likewise.
20787 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20788 * debug/strcat_chk.c (__strcat_chk): Likewise.
20789 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20790 * debug/strncat_chk.c (__strncat_chk): Likewise.
20791 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20792 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20793 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20794 * debug/wcpncpy_chk.c: Likewise.
20795 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20796 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20797 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20798 * debug/wcsncpy_chk.c: Likewise.
20799 * debug/wcsnrtombs_chk.c: Likewise.
20800 * debug/wcsrtombs_chk.c: Likewise.
20801 * debug/wcstombs_chk.c: Likewise.
20802 * debug/wmemcpy_chk.c: Likewise.
20803 * debug/wmemmove_chk.c: Likewise.
20804 * debug/wmempcpy_chk.c: Likewise.
20805 * debug/wmemset_chk.c: Likewise.
20806 * dirent/scandirat.c (SCANDIRAT): Likewise.
20807 * dlfcn/dladdr1.c (dladdr1): Likewise.
20808 * dlfcn/dladdr.c (dladdr): Likewise.
20809 * dlfcn/dlclose.c (dlclose_doit): Likewise.
20810 * dlfcn/dlerror.c (__dlerror): Likewise.
20811 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20812 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20813 * dlfcn/dlopen.c (dlopen_doit): Likewise.
20814 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20815 * dlfcn/dlsym.c (dlsym_doit): Likewise.
20816 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20817 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20818 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20819 Likewise.
20820 * elf/dl-conflict.c: Likewise.
20821 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20822 * elf/dl-dst.h: Likewise.
20823 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20824 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20825 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20826 * elf/dl-init.c (call_init, _dl_init): Likewise.
20827 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
20828 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20829 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20830 Likewise.
a1ffb40e
OB
20831 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20832 Likewise.
20833 * elf/dl-minimal.c (__libc_memalign): Likewise.
20834 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20835 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20836 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20837 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
20838 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20839 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
20840 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20841 * elf/dl-writev.h (_dl_writev): Likewise.
20842 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
20843 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20844 (dl_main): Likewise.
a1ffb40e
OB
20845 * elf/setup-vdso.h (setup_vdso): Likewise.
20846 * grp/compat-initgroups.c (compat_call): Likewise.
20847 * grp/fgetgrent.c (fgetgrent): Likewise.
20848 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20849 * grp/putgrent.c (putgrent): Likewise.
20850 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20851 Likewise.
20852 * hurd/hurdinit.c: Likewise.
20853 * iconvdata/8bit-gap.c (struct): Likewise.
20854 * iconvdata/ansi_x3.110.c : Likewise.
20855 * iconvdata/big5.c : Likewise.
20856 * iconvdata/big5hkscs.c : Likewise.
20857 * iconvdata/cp1255.c: Likewise.
20858 * iconvdata/cp1258.c : Likewise.
20859 * iconvdata/cp932.c : Likewise.
20860 * iconvdata/euc-cn.c: Likewise.
20861 * iconvdata/euc-jisx0213.c : Likewise.
20862 * iconvdata/euc-jp.c: Likewise.
20863 * iconvdata/euc-jp-ms.c : Likewise.
20864 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
20865 * iconvdata/gb18030.c : Likewise.
20866 * iconvdata/gbbig5.c (const): Likewise.
20867 * iconvdata/gbgbk.c: Likewise.
20868 * iconvdata/gbk.c : Likewise.
20869 * iconvdata/ibm1364.c : Likewise.
20870 * iconvdata/ibm930.c : Likewise.
20871 * iconvdata/ibm932.c: Likewise.
20872 * iconvdata/ibm933.c : Likewise.
20873 * iconvdata/ibm935.c : Likewise.
20874 * iconvdata/ibm937.c : Likewise.
20875 * iconvdata/ibm939.c : Likewise.
20876 * iconvdata/ibm943.c: Likewise.
20877 * iconvdata/iso_11548-1.c: Likewise.
20878 * iconvdata/iso-2022-cn.c : Likewise.
20879 * iconvdata/iso-2022-cn-ext.c : Likewise.
20880 * iconvdata/iso-2022-jp-3.c: Likewise.
20881 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20882 * iconvdata/iso-2022-kr.c : Likewise.
20883 * iconvdata/iso646.c (gconv_end): Likewise.
20884 * iconvdata/iso_6937-2.c : Likewise.
20885 * iconvdata/iso_6937.c : Likewise.
20886 * iconvdata/iso8859-1.c: Likewise.
20887 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20888 * iconvdata/shift_jisx0213.c : Likewise.
20889 * iconvdata/sjis.c : Likewise.
20890 * iconvdata/t.61.c : Likewise.
20891 * iconvdata/tcvn5712-1.c : Likewise.
20892 * iconvdata/tscii.c: Likewise.
20893 * iconvdata/uhc.c : Likewise.
20894 * iconvdata/unicode.c (gconv_end): Likewise.
20895 * iconvdata/utf-16.c (gconv_end): Likewise.
20896 * iconvdata/utf-32.c (gconv_end): Likewise.
20897 * iconvdata/utf-7.c (base64): Likewise.
20898 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20899 * iconv/gconv_close.c (__gconv_close): Likewise.
20900 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
20901 * iconv/gconv_simple.c (internal_ucs4_loop_single)
20902 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20903 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20904 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20905 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
20906 * iconv/iconv.c (iconv): Likewise.
20907 * iconv/iconv_close.c: Likewise.
20908 * iconv/loop.c (SINGLE): Likewise.
20909 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20910 * include/atomic.h: Likewise.
20911 * inet/inet6_option.c (option_alloc): Likewise.
20912 * intl/bindtextdom.c (set_binding_values): Likewise.
20913 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20914 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20915 * intl/localealias.c (read_alias_file): Likewise.
20916 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
20917 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20918 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
20919 * libio/fmemopen.c (fmemopen): Likewise.
20920 * libio/iofgets.c (_IO_fgets): Likewise.
20921 * libio/iofgets_u.c (fgets_unlocked): Likewise.
20922 * libio/iofgetws.c (fgetws): Likewise.
20923 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20924 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
20925 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20926 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
20927 * locale/findlocale.c (_nl_find_locale): Likewise.
20928 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20929 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20930 Likewise.
20931 * locale/setlocale.c (setlocale): Likewise.
20932 * login/programs/pt_chown.c (main): Likewise.
20933 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20934 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
20935 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20936 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
20937 * math/e_exp2l.c: Likewise.
20938 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20939 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20940 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20941 * math/s_catan.c (__catan): Likewise.
20942 * math/s_catanf.c (__catanf): Likewise.
20943 * math/s_catanh.c (__catanh): Likewise.
20944 * math/s_catanhf.c (__catanhf): Likewise.
20945 * math/s_catanhl.c (__catanhl): Likewise.
20946 * math/s_catanl.c (__catanl): Likewise.
20947 * math/s_ccosh.c (__ccosh): Likewise.
20948 * math/s_ccoshf.c (__ccoshf): Likewise.
20949 * math/s_ccoshl.c (__ccoshl): Likewise.
20950 * math/s_cexp.c (__cexp): Likewise.
20951 * math/s_cexpf.c (__cexpf): Likewise.
20952 * math/s_cexpl.c (__cexpl): Likewise.
20953 * math/s_clog10.c (__clog10): Likewise.
20954 * math/s_clog10f.c (__clog10f): Likewise.
20955 * math/s_clog10l.c (__clog10l): Likewise.
20956 * math/s_clog.c (__clog): Likewise.
20957 * math/s_clogf.c (__clogf): Likewise.
20958 * math/s_clogl.c (__clogl): Likewise.
20959 * math/s_csin.c (__csin): Likewise.
20960 * math/s_csinf.c (__csinf): Likewise.
20961 * math/s_csinh.c (__csinh): Likewise.
20962 * math/s_csinhf.c (__csinhf): Likewise.
20963 * math/s_csinhl.c (__csinhl): Likewise.
20964 * math/s_csinl.c (__csinl): Likewise.
20965 * math/s_csqrt.c (__csqrt): Likewise.
20966 * math/s_csqrtf.c (__csqrtf): Likewise.
20967 * math/s_csqrtl.c (__csqrtl): Likewise.
20968 * math/s_ctan.c (__ctan): Likewise.
20969 * math/s_ctanf.c (__ctanf): Likewise.
20970 * math/s_ctanh.c (__ctanh): Likewise.
20971 * math/s_ctanhf.c (__ctanhf): Likewise.
20972 * math/s_ctanhl.c (__ctanhl): Likewise.
20973 * math/s_ctanl.c (__ctanl): Likewise.
20974 * math/w_pow.c: Likewise.
20975 * math/w_powf.c: Likewise.
20976 * math/w_powl.c: Likewise.
20977 * math/w_scalb.c (sysv_scalb): Likewise.
20978 * math/w_scalbf.c (sysv_scalbf): Likewise.
20979 * math/w_scalbl.c (sysv_scalbl): Likewise.
20980 * misc/error.c (error_tail): Likewise.
20981 * misc/pselect.c (__pselect): Likewise.
20982 * nis/nis_callback.c (__nis_create_callback): Likewise.
20983 * nis/nis_call.c (__nisfind_server): Likewise.
20984 * nis/nis_creategroup.c (nis_creategroup): Likewise.
20985 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20986 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20987 * nis/nis_getservlist.c (nis_getservlist): Likewise.
20988 * nis/nis_lookup.c (nis_lookup): Likewise.
20989 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
20990 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20991 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 20992 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
20993 * nis/nss_compat/compat-grp.c (getgrent_next_file)
20994 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20995 * nis/nss_compat/compat-initgroups.c (add_group)
20996 (internal_getgrent_r): Likewise.
20997 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20998 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20999 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21000 (internal_getspnam_r): Likewise.
21001 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21002 (_nss_nis_getaliasbyname_r): Likewise.
21003 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21004 (_nss_nis_getntohost_r): Likewise.
21005 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21006 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21007 (_nss_nis_getgrgid_r): Likewise.
21008 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21009 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21010 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21011 (_nss_nis_gethostbyname4_r): Likewise.
21012 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21013 (initgroups_netid): Likewise.
a1ffb40e 21014 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
21015 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21016 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21017 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21018 (_nss_nis_getprotobynumber_r): Likewise.
21019 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21020 (_nss_nis_getsecretkey): Likewise.
21021 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21022 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21023 (_nss_nis_getpwuid_r): Likewise.
21024 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21025 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21026 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21027 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21028 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21029 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
21030 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21031 Likewise.
57f41c40
AS
21032 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21033 (_nss_nisplus_getntohost_r): Likewise.
21034 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21035 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21036 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21037 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 21038 Likewise.
57f41c40
AS
21039 * nis/nss_nisplus/nisplus-initgroups.c
21040 (_nss_nisplus_initgroups_dyn): Likewise.
21041 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21042 (_nss_nisplus_getnetbyaddr_r): Likewise.
21043 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21044 (_nss_nisplus_getprotobynumber_r): Likewise.
21045 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21046 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
21047 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21048 Likewise.
57f41c40
AS
21049 * nis/nss_nisplus/nisplus-service.c
21050 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21051 (_nss_nisplus_getservbyport_r): Likewise.
21052 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21053 (_nss_nisplus_getspnam_r): Likewise.
21054 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21055 Likewise.
a1ffb40e
OB
21056 * nscd/aicache.c (addhstaiX): Likewise.
21057 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
21058 * nscd/connections.c (register_traced_file, send_ro_fd)
21059 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21060 (main_loop_epoll): Likewise.
a1ffb40e
OB
21061 * nscd/grpcache.c (addgrbyX): Likewise.
21062 * nscd/hstcache.c (addhstbyX): Likewise.
21063 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21064 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
21065 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21066 (addinnetgrX): Likewise.
21067 * nscd/nscd-client.h (__nscd_acquire_maplock)
21068 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
21069 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21070 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21071 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21072 Likewise.
21073 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21074 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
21075 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21076 (__nscd_get_map_ref): Likewise.
a1ffb40e 21077 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
21078 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21079 Likewise.
a1ffb40e
OB
21080 * nscd/pwdcache.c (addpwbyX): Likewise.
21081 * nscd/selinux.c (preserve_capabilities): Likewise.
21082 * nscd/servicescache.c (addservbyX): Likewise.
21083 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21084 * posix/fnmatch.c (fnmatch): Likewise.
21085 * posix/getopt.c (_getopt_internal_r): Likewise.
21086 * posix/glob.c (glob, glob_in_dir): Likewise.
21087 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
21088 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21089 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
21090 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21091 * resolv/res_init.c: Likewise.
21092 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21093 * resolv/res_query.c (__libc_res_nquery): Likewise.
21094 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21095 Likewise.
21096 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21097 * stdio-common/perror.c (perror): Likewise.
21098 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21099 * stdio-common/tmpnam.c (tmpnam): Likewise.
21100 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21101 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
21102 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21103 Likewise.
a1ffb40e
OB
21104 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21105 * stdlib/putenv.c (putenv): Likewise.
21106 * stdlib/setenv.c (__add_to_environ): Likewise.
21107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21108 * stdlib/strtol_l.c (INTERNAL): Likewise.
21109 * string/memmem.c (memmem): Likewise.
21110 * string/strerror.c (strerror): Likewise.
21111 * string/strnlen.c (__strnlen): Likewise.
21112 * string/test-memmem.c (simple_memmem): Likewise.
21113 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21114 * sunrpc/pm_getport.c (__get_socket): Likewise.
21115 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21116 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
21117 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21118 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
21119 Likewise.
21120 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21121 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21122 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21123 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21124 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
21125 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21126 Likewise.
21127 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21128 Likewise.
a1ffb40e
OB
21129 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21130 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21131 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21132 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21133 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21135 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21136 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21137 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21138 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21139 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21140 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21141 Likewise.
21142 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21143 Likewise.
21144 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21145 Likewise.
21146 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21148 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21149 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21150 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21151 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21152 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21154 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21155 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21156 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21157 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21158 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21159 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
21161 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21162 Likewise.
a1ffb40e
OB
21163 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21164 Likewise.
21165 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21166 Likewise.
21167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21168 Likewise.
21169 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21171 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21172 Likewise.
21173 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21174 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21175 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21176 * sysdeps/posix/sleep.c: Likewise.
21177 * sysdeps/posix/tempname.c: Likewise.
21178 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21179 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21180 Likewise.
57f41c40
AS
21181 * sysdeps/powerpc/powerpc32/dl-machine.h
21182 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
21183 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21185 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21186 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21187 Likewise.
21188 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
21189 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21190 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21191 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21192 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
21193 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21194 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21195 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21196 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21197 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
21198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21199 (elf_machine_lazy_rel): Likewise.
a1ffb40e 21200 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
21201 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21202 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
21203 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21204 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21205 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21206 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21207 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21208 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21209 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21211 Likewise.
21212 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21213 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21214 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21215 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21216 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21217 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21218 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21219 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21220 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21221 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21222 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21223 Likewise.
21224 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21225 (__posix_fallocate64_l64): Likewise.
21226 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21227 (posix_fallocate): Likewise.
57f41c40
AS
21228 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21229 Likewise.
a1ffb40e 21230 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
21231 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21232 (getifaddrs_internal): Likewise.
a1ffb40e
OB
21233 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21234 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21235 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21236 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21237 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21238 (__posix_fallocate64_l64): Likewise.
21239 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21240 Likewise.
21241 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
21242 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21243 (__get_clockfreq): Likewise.
a1ffb40e
OB
21244 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21245 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21246 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21249 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21250 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21251 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21252 Likewise.
21253 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21254 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21255 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21256 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21257 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21258 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21259 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21260 Likewise.
21261 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21262 (posix_fallocate): Likewise.
21263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21264 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21265 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
21266 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21267 (elf_machine_rela, elf_machine_rela_relative)
21268 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
21269 * time/asctime.c (asctime_internal): Likewise.
21270 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21271 * time/tzset.c (__tzset_parse_tz): Likewise.
21272 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21273 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21274 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21275 * wcsmbs/wcsmbsload.h: Likewise.
21276
f3d338c9
OB
21277 [BZ #15894]
21278 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21279
57f41c40
AS
21280 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21281 (arena_get2): Remove THREAD_STATS conditionals.
21282 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21283 (__malloc_stats, int): Likewise.
bdfe308a 21284
d674667c
MF
212852014-02-08 Mike Frysinger <vapier@gentoo.org>
21286
21287 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21288 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21289
6349768c
MF
21290 * manual/setjmp.texi: Fix typos/grammar errors.
21291
0b7c7473
MF
21292 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21293 Only return early when n is <= 0. Delete unused return statement.
21294
ac8cc9e3
MF
21295 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21296 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21297 * debug/tst-longjmp_chk3.c: New file.
21298
c5bb8e23
MF
21299 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21300 (test_main): Replace code with set_fortify_handler call.
21301 * debug/test-strcpy_chk.c: Likewise.
21302 * debug/tst-chk1.c: Likewise.
21303 * debug/tst-longjmp_chk.c: Likewise.
21304 * test-skeleton.c: Include fcntl.h & paths.h
21305 (set_fortify_handler): Define.
21306
10444e42
MF
21307 * debug/tst-longjmp_chk.c: Add header comment and include
21308 ../test-skeleton.c.
21309 (do_test): Mark static.
21310 (TEST_FUNCTION): Define.
21311
1e805e8d
MF
21312 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21313 (IP_PMTUDISC_INTERFACE): Likewise.
21314 (IP_MULTICAST_IF): Likewise.
21315 (IP_MULTICAST_TTL): Likewise.
21316 (IP_MULTICAST_LOOP): Likewise.
21317 (IP_ADD_MEMBERSHIP): Likewise.
21318 (IP_DROP_MEMBERSHIP): Likewise.
21319 (IP_UNBLOCK_SOURCE): Likewise.
21320 (IP_BLOCK_SOURCE): Likewise.
21321 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21322 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21323 (IP_MSFILTER): Likewise.
21324 (MCAST_JOIN_GROUP): Likewise.
21325 (MCAST_BLOCK_SOURCE): Likewise.
21326 (MCAST_UNBLOCK_SOURCE): Likewise.
21327 (MCAST_LEAVE_GROUP): Likewise.
21328 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21329 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21330 (MCAST_MSFILTER): Likewise.
21331 (IP_MULTICAST_ALL): Likewise.
21332 (IP_UNICAST_IF): Likewise.
21333
73f79bb7
MF
21334 * timezone/Makefile: Delete $(have-ksh) check.
21335 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21336 * timezone/tzselect.ksh: Add +x mode bits.
21337
8da79b60
MF
21338 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21339 (ANON_INODE_FS_MAGIC): Likewise.
21340 (BDEVFS_MAGIC): Likewise.
21341 (BINFMTFS_MAGIC): Likewise.
21342 (BTRFS_TEST_MAGIC): Likewise.
21343 (CRAMFS_MAGIC_WEND): Likewise.
21344 (DEBUGFS_MAGIC): Likewise.
21345 (ECRYPTFS_SUPER_MAGIC): Likewise.
21346 (EXT3_SUPER_MAGIC): Likewise.
21347 (EXT4_SUPER_MAGIC): Likewise.
21348 (FUTEXFS_SUPER_MAGIC): Likewise.
21349 (HOSTFS_SUPER_MAGIC): Likewise.
21350 (HUGETLBFS_MAGIC): Likewise.
21351 (MINIX3_SUPER_MAGIC): Likewise.
21352 (MTD_INODE_FS_MAGIC): Likewise.
21353 (NILFS_SUPER_MAGIC): Likewise.
21354 (OPENPROM_SUPER_MAGIC): Likewise.
21355 (PIPEFS_MAGIC): Likewise.
21356 (PSTOREFS_MAGIC): Likewise.
21357 (QNX6_SUPER_MAGIC): Likewise.
21358 (RAMFS_MAGIC): Likewise.
21359 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21360 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21361 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21362 (SECURITYFS_MAGIC): Likewise.
21363 (SELINUX_MAGIC): Likewise.
21364 (SMACK_MAGIC): Likewise.
21365 (SOCKFS_MAGIC): Likewise.
21366 (SQUASHFS_MAGIC): Likewise.
21367 (STACK_END_MAGIC): Likewise.
21368 (TMPFS_MAGIC): Likewise.
21369 (USBDEVICE_SUPER_MAGIC): Likewise.
21370 (V9FS_MAGIC): Likewise.
21371 (XENFS_SUPER_MAGIC): Likewise.
21372 (CRAMFS_MAGIC): Fix typo in comment.
21373 (EXT2_SUPER_MAGIC): Update comment.
21374 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21375
464263cc
JM
213762014-02-08 Joseph Myers <joseph@codesourcery.com>
21377
c6bfe5c4
JM
21378 * sysdeps/arm: Move directory from ports/sysdeps/arm.
21379 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21380 * sysdeps/unix/sysv/linux/arm: Move directory from
21381 ports/sysdeps/unix/sysv/linux/arm.
21382 * README: Update listing for arm-*-linux-gnueabi.
21383
464263cc
JM
21384 * README: Remove mention of am33.
21385
32749f6c
RM
213862014-02-07 Roland McGrath <roland@hack.frob.com>
21387
21388 * bits/sigset.h (__sigemptyset): Use a statement expression rather
21389 than the comma operator, to avoid "rhs of comma has no effect"
21390 compiler warnings.
21391 (__sigfillset, __sigandset, __sigorset): Likewise.
21392 * include/signal.h (__sigemptyset): Likewise.
21393 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21394
d5b396c1
AM
213952014-02-07 Allan McRae <allan@archlinux.org>
21396
21397 * version.h (RELEASE): Set to "development".
21398 (VERSION): Set to "2.19.90"
21399 * NEWS: Add 2.20 section.
21400
3bfff2ed
CD
214012014-02-06 Carlos O'Donell <carlos@redhat.com>
21402
21403 [BZ #16529]
21404 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21405
ee7cc385
SP
214062014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21407
21408 * manual/contrib.texi: Update entry for Carlos O'Donell,
21409 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21410
f877c4f2
CD
214112014-02-05 Carlos O'Donell <carlos@rehdat.com>
21412
27e839f6
CD
21413 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21414
f877c4f2
CD
21415 * sysdeps/unix/sysv/linux/kernel-features.h
21416 [__LINUX_KERNEL_VERSION >= 0x020621]
21417 (__ASSUME_PROC_PID_TASK_COMM): Define.
21418
68159946
SP
214192014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21420
ba17cdbd
SP
21421 [BZ #16398]
21422 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21423 conversion when destination buffer does not have enough space.
21424 * libio/tst-ftell-partial-wide.c: New test case.
21425 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21426
68159946
SP
21427 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21428 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21429 Leonard and Allan McRae.
21430
2b528732
DM
214312014-02-04 David S. Miller <davem@davemloft.net>
21432
21433 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21434 32-bit.
21435
0ff82463
AZ
214362014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21437
57f41c40
AS
21438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21439 New file
c01603f7
AZ
21440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21441 New file
57f41c40
AS
21442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21443 New file.
21444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21445 New file.
c01603f7
AZ
21446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21447 New file.
57f41c40
AS
21448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21449 New file.
21450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21451 New file.
c01603f7
AZ
21452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21453 New file.
21454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21455 New file.
21456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21457 New file.
21458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21459 New file.
21460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21461 New file.
21462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21463 New file.
21464
214652014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21466
0ff82463
AZ
21467 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21468 * shlib-versions: Likewise.
21469
1695c773
AZ
214702014-02-04 Roland McGrath <roland@hack.frob.com>
21471 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21472
21473 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21474 (abilist-pattern): New variable, set to %-le.abilist.
21475
21476 * Makerules (abilist-pattern): New variable.
21477 (vpath): Use $(abilist-pattern) in place of %.abilist.
21478 (check-abi-% pattern rule): Likewise.
21479 (check-abi, update-abi): Likewise.
21480
6c0ce4b4
EW
214812014-02-04 Eric Wong <normalperson@yhbt.net>
21482
21483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21484
481e3524
CD
214852014-02-03 Carlos O'Donell <carlos@redhat.com>
21486
21487 * manual/startup.texi: Add next, previous, and top entries for
21488 the `Program Arguments' and `Environment Variables' nodes.
21489
375592d3
AO
214902014-02-03 Alexandre Oliva <aoliva@redhat.com>
21491
21492 * manual/macros.texi: Add comments before MTASC-safety macros.
21493
f54838ba
AO
21494 * manual/users.texi: Document MTASC-safety properties.
21495
57f41c40
AS
21496 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21497 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
21498 @deftypefun, and add @safety note.
21499 * manual/signal.texi: Move comments that analyze the above
21500 functions to their home place.
21501
fd3daba4
AM
215022014-02-03 Allan McRae <allan@archlinux.org>
21503
21504 * po/sl.po: Update Slovenian translation from translation project.
21505
597636d7
AO
215062014-02-02 Alexandre Oliva <aoliva@redhat.com>
21507
21508 * manual/time.texi (timegm): Add missing blank after @c.
21509 Reported by Joseph Myers <joseph@codesourcery.com>.
21510
ee196e3c
AO
215112014-02-01 Alexandre Oliva <aoliva@redhat.com>
21512
21513 * manual/check-safety.sh: New.
21514 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21515
f8d529d5
AO
21516 * manual/terminal.texi: Document MTASC-safety properties.
21517
de55fdf4
AO
21518 * manual/filesys.texi: Document MTASC-safety properties.
21519
c3299c08
AO
21520 * manual/errno.texi: Document MTASC-safety properties.
21521
06e90b14
AO
21522 * manual/intro.texi: Document safety identifiers and
21523 conditionals.
21524
1acd4371
AO
21525 * manual/string.texi (wcstok): Fix prototype.
21526 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21527
23e5b8cb
AO
21528 * manual/time.texi: Document MTASC-safety properties.
21529
11087373
AO
21530 * manual/string.texi: Document MTASC-safety properties.
21531
5da2c93d
AO
21532 * manual/threads.texi: Document MTASC-safety properties.
21533
171e9210
AO
21534 * manual/stdio.texi: Document MTASC-safety properties.
21535
d9e02532
AO
21536 * manual/syslog.texi: Document MTASC-safety properties.
21537
6af8bab7
AO
21538 * manual/sysinfo.texi: Document MTASC-safety properties.
21539
663b02d7
AO
21540 * manual/startup.texi: Document MTASC-safety properties.
21541
973f180b
AO
21542 * manual/socket.texi: Document MTASC-safety properties.
21543
8f3c25c8
AO
21544 * manual/signal.texi: Document MTASC-safety properties.
21545
542210fb
AO
215462014-01-31 Alexandre Oliva <aoliva@redhat.com>
21547
21548 * manual/setjmp.texi: Document MTASC-safety properties.
21549
433c45a2
AO
21550 * manual/search.texi: Document MTASC-safety properties.
21551
c8ce789c
AO
21552 * manual/resource.texi: Document MTASC-safety properties.
21553
19f5d29c
AO
21554 * manual/process.texi: Document MTASC-safety properties.
21555
e2dfb7f4
AO
21556 * manual/platform.texi: Document MTASC-safety properties.
21557
8c1413f5
AO
21558 * manual/pipe.texi: Document MTASC-safety properties.
21559
03483ada
AO
21560 * manual/pattern.texi: Document MTASC-safety properties.
21561
29e7e2df
AO
21562 * manual/message.texi: Document MTASC-safety properties.
21563
9f529d7c
AO
21564 [BZ #12751]
21565 * manual/memory.texi: Document MTASC-safety properties.
21566
27aaa791
AO
21567 * manual/math.texi: Document MTASC-safety properties.
21568
f2d58726
AO
21569 * manual/locale.texi: Document MTASC-safety properties.
21570
2cc3615c
AO
21571 * manual/llio.texi: Document MTASC-safety properties.
21572
d9f0ec97
AO
21573 * manual/libdl.texi: New.
21574
e7c4409a
AO
21575 * manual/lang.texi: Document MTASC-safety properties.
21576
27bdc63c
AO
21577 * manual/job.texi: Document MTASC-safety properties.
21578
a7b90ea9
AO
21579 * manual/getopt.texi: Document MTASC-safety properties.
21580
c49130e3
AO
21581 * manual/ctype.texi: Document MTASC-safety properties.
21582
0d23a5c1
MR
215832014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21584
21585 [BZ #16046]
21586 * csu/libc-tls.c (static_map): Remove variable.
21587 (__libc_setup_tls): Use main executable's link map for TLS data.
21588 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21589 casing for LM_ID_BASE and GL(dl_nns).
21590 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21591 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21592 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21593 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21594 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21595 member.
21596 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21597 l_phnum members.
21598
0037bb60
AO
215992014-01-30 Alexandre Oliva <aoliva@redhat.com>
21600
21601 * manual/debug.texi: Document MTASC-safety properties.
21602
409e00bd
L
216032014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21604
21605 [BZ #16510]
21606 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21607 of __x86_64__ when disabling x87 inline functions.
21608
86e60666
AO
216092014-01-29 Alexandre Oliva <aoliva@redhat.com>
21610
21611 * manual/charset.texi: Document MTASC-safety properties.
21612
76167637
AO
21613 * manual/crypt.texi: Document MTASC-safety properties.
21614
e567f2a0
AO
21615 * manual/conf.texi: Document MTASC-safety properties.
21616
b719dafd
AO
21617 * manual/arith.texi: Document MTASC-safety properties.
21618
4a16c662
AO
21619 * manual/argp.texi: Document MTASC-safety properties.
21620
0a57b83e
AO
21621 * manual/macros.texi: Introduce macros to document multi
21622 thread, asynchronous signal and asynchronous cancellation
21623 safety properties.
21624 * manual/intro.texi: Introduce the properties themselves.
21625
feab2397
KK
216262014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21627
21628 * sysdeps/sh/sh4/Makefile: New file.
21629
1c0d11bc
AS
216302014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21631
21632 * math/gen-libm-test.pl ($srcdir): New variable.
21633 ($auto_input): Use it.
21634
af37a8a3
SP
216352014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21636
d7b00f98
SP
21637 [BZ #16506]
21638 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21639 access beyond array bounds when parsing netgroups file.
21640
af37a8a3
SP
21641 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21642 the old buffer before realloc.
21643
0c00f062
AM
216442014-01-27 Allan McRae <allan@archlinux.org>
21645
21646 * po/fr.po: Update French translation from translation project.
21647
7d69a1b0
KK
216482014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21649
21650 * sysdeps/sh/libm-test-ulps: Regenerate.
21651
6e697ff7
DM
216522014-01-24 David S. Miller <davem@davemloft.net>
21653
21654 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21655
9cadb35c
KK
216562014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21657
21658 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21659 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21660
5d41dadf
SP
216612013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21662
21663 [BZ #16474]
21664 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21665 string pointers after reallocation.
21666
0bad441c
KK
216672014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21668
21669 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21670 __SH4A__ instead of __SH_FPU_ANY__.
21671
7007c661
KK
216722014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21673
21674 * sysdeps/sh/fpu_control.h: New file.
21675 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21676 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21677 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21678 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21679 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21680 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21681 * sysdeps/sh/sys/ucontext.h: Remove.
21682 * sysdeps/sh/sys: Remove directory.
21683
0f0c35e4
AK
216842014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21685
21686 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21687 s390/sys/ucontext.h.
21688 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21689 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21690
4959e284
L
216912014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21692
21693 [BZ #15605]
21694 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21695
d98720e0
AZ
216962014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21697
21698 [BZ#16431]
21699 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21700 Adjust the vDSO correctly for internal calls.
21701 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21702
91cbd0bc
AM
217032014-01-20 Allan McRae <allan@archlinux.org>
21704
21705 * po/ca.po: Update Catalan translation from translation project.
21706
7a02cfad
MF
217072014-01-16 Mike Frysinger <vapier@gentoo.org>
21708
21709 * sysdeps/s390/sotruss-lib.c: New file.
21710
736c304a
AZ
217112014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21712
21713 [BZ#16430]
6e077ee5 21714 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
21715 (__GI___gettimeofday): Alias for a different internal symbol to avoid
21716 local calls issues by not having a PLT stub required for IFUNC calls.
21717 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21718
94d0cea0
JM
217192014-01-16 Joseph Myers <joseph@codesourcery.com>
21720
21721 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21722 * math/test-fpucw-static.c: Likewise.
21723
980cb518
SP
217242013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21725
21726 [BZ #16453]
21727 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21728
2393fc01
AZ
217292014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21730
21731 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21732 implementation for powerpc.
21733
d359bcc2
OB
217342014-01-15 Ondřej Bílka <neleai@seznam.cz>
21735
21736 [BZ #14782]
21737 * sysdeps/posix/system.c (__libc_system): Do not enable
21738 asynchronous cancellation.
21739
7beb48cb
AK
217402014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21741
21742 [BZ #16427]
21743 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21744 handling only for numbers special also in the IEEE case.
21745
c20d5bf5
AK
217462014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21747
21748 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21749
e83bd4ee
AM
217502014-01-11 Allan McRae <allan@archlinux.org>
21751
76d0ea69
AM
21752 * po/bg.po: Update Bulgarian translation from translation project.
21753
e83bd4ee
AM
21754 * po/de.po: Update German translation from translation project.
21755
bc2ba20a
RM
217562014-01-10 Roland McGrath <roland@hack.frob.com>
21757
21758 * sysdeps/generic/gcc-compat.h: New file.
21759
649ecea2
SP
217602014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21761
21762 * benchtests/asin-inputs: Correct slow inputs.
21763 * benchtests/acos-inputs: Likewise.
21764
1b19c006
AM
217652014-01-10 Allan McRae <allan@archlinux.org>
21766
a46dab08
AM
21767 * po:sv.po: Update Swedish translation from translation project.
21768
421df74a
AM
21769 * po/vi.po: Update Vietnamese translation from translation project.
21770
d61c51a7
AM
21771 * po/eo.po: Update Esperanto translation from translation project.
21772
0339a319
AM
21773 * po/cs.po: Update Czech translation from translation project.
21774
94ad3e99
AM
21775 * po/nl.po: Update Dutch translation from translation project.
21776
e349ca71
AM
21777 * po/pl.po: Update Polish translation from translation project.
21778
ddf930c1
AM
21779 * po/ru.po: Update Russian translation from translation project.
21780
1b19c006
AM
21781 * po/uk.po: Update Ukrainian translation from translation project.
21782
9f236c49
BM
217832014-01-08 Brooks Moses <bmoses@google.com>
21784
21785 * elf/dl-load.c: Fix comment typo.
21786
cd6701cf
CD
217872014-01-08 Carlos O'Donell <carlos@redhat.com>
21788
21789 * po/header.pot: Rename to...
21790 * po/pot.header: ... this.
21791 * po/Makefile: Use pot.header.
21792
66671c84
YK
217932014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
21794 Maxim Kuvyrkov <maxim@kugelworks.com>
21795
21796 [BZ #16394]
cd6701cf
CD
21797 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21798 SRC and DEST against LEN.
66671c84 21799
38f34581
AZ
218002014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21801
21802 [BZ #16414]
21803 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21804 implementation.
21805 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21806
218072014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
21808
21809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21810
4c327f2a
JM
218112014-01-08 Joseph Myers <joseph@codesourcery.com>
21812
21813 [BZ #16408]
21814 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21815 for large positive arguments.
21816
b821f414
JM
218172014-01-07 Joseph Myers <joseph@codesourcery.com>
21818
1f0f2067
JM
21819 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21820
a5a326f6
JM
21821 * math/auto-libm-test-in: Mark various tests with
21822 xfail-rounding:ldbl-128ibm.
21823 * math/auto-libm-test-out: Regenerated.
21824
b821f414
JM
21825 [BZ #16407]
21826 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21827 Increase overflow threshold.
21828
94c8a4bc
OB
218292014-01-07 Ondřej Bílka <neleai@seznam.cz>
21830
21831 [BZ #14286]
21832 * stdio-common/vfprintf.c: Check for integer overflow.
21833
87ded0c3
AK
218342014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21835
21836 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21837 the first argument and return value of __tls_get_addr_internal.
21838
c5eebdd0
AK
218392014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21840
21841 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21842 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21843
05d138ef
AK
218442014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21845
21846 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21847 * sysdeps/s390/rtld-global-offsets.sym: New file.
21848 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21849 GLIBC_2.19 symbol.
21850 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21851 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21852 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21853 ... this.
21854 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21855 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21856 ... this.
21857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21858 Regenerate.
21859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21860 Regenerate.
21861 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21862 halfs of GPRs for high_gprs contexts.
21863 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
21864 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
21865 field.
21866 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
21867 uc_flags field.
21868 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
21869 64 bit versions:
21870 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21871 for high GPRs (uc_high_gprs) and for future extensions
21872 (__reserved).
21873 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21874 for future extensions (__reserved).
21875 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21876 64 bit versions:
21877 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21878 SC_HIGHGPRS offset definition.
21879 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21880 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21881
93a45ff1
AK
21882 * Versions.def: Add GLIBC_2.19 for libpthread.
21883 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21884 siglongjmp for libpthread with GLIBC_2.19 symver.
21885 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21886 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21887 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21888 * sysdeps/s390/__longjmp.c: New file.
21889 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21890 * sysdeps/s390/longjmp.c: New file.
21891 * sysdeps/s390/setjmp.S: New file.
21892 * sysdeps/s390/sigjmp.S: New file.
21893 * sysdeps/s390/v1-longjmp.c: New file.
21894 * sysdeps/s390/v1-setjmp.h: New file.
21895 * sysdeps/s390/v1-sigjmp.c: New file.
21896 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21897 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21898 GLIBC_2.19 version.
21899 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21900 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21901 versioned symbols for ____longjmp_chk.
21902 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21903 Likewise.
21904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21905 Regenerate.
21906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21907 Regenerate.
21908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21909 Regenerate.
21910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21911 Regenerate.
21912 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21913 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21914 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21915 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21916 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21917 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21918 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21919 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21920 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21921 * sysdeps/s390/rtld-__longjmp.c: New file.
21922 * sysdeps/s390/rtld-setjmp.S: New file.
21923
eb3fc44b
JM
219242014-01-06 Joseph Myers <joseph@codesourcery.com>
21925
21926 [BZ #16400]
21927 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21928 Return -__logl (x) for small positive arguments without evaluating
21929 a polynomial.
21930
9341dde4
MF
219312014-01-06 Mike Frysinger <vapier@gentoo.org>
21932
21933 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21934 Rename to ...
21935 (__ptrace_peeksiginfo_args): ... this.
21936 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21937 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21938 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21939
4cff0293
AM
219402014-01-06 Allan McRae <allan@archlinux.org>
21941
21942 * inet/netinet/in.h: Fix typo in comment.
21943
75595dcf
AJ
219442014-01-05 Andreas Jaeger <aj@suse.de>
21945
21946 * sysdeps/i386/fpu/libm-test-ulps: Update.
21947
79c1e109
AM
219482014-01-05 Allan McRae <allan@archlinux.org>
21949
dd804818
AM
21950 * po/libc.pot: Regenerated.
21951
79c1e109
AM
21952 * malloc/memusagestat.c: Fix gettext call formatting.
21953
0c813d1f
SK
219542014-01-04 Sami Kerola <kerolasa@iki.fi>
21955
21956 * nscd/nscd.c: Improve usage() output.
21957
20f4a8d9
MF
219582014-01-04 Mike Frysinger <vapier@gentoo.org>
21959
21960 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21961 * sysdeps/unix/sysv/linux/configure: Regenerated.
21962 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21963 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21964
22562bb2
JM
219652014-01-03 Joseph Myers <joseph@codesourcery.com>
21966
21967 [BZ #16390]
21968 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21969 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21970
d7ad2d9b
AZ
219712014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21972
21973 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21974 extra tokens at end of #undef directive.
21975 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21976 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21977 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21978
7dd009d8
JM
219792014-01-03 Joseph Myers <joseph@codesourcery.com>
21980
24db925a
JM
21981 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21982
7dd009d8
JM
21983 * math/auto-libm-test-in: Mark various tests with
21984 xfail-rounding:ldbl-128ibm.
21985 * math/auto-libm-test-out: Regenerated.
21986
396e3ecf
JM
219872014-01-02 Joseph Myers <joseph@codesourcery.com>
21988
819e5d50
JM
21989 [BZ #16386]
21990 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21991 numbers with subnormal high part when calculating exponent.
21992
90b6a1e5
JM
21993 [BZ #16385]
21994 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21995 fabs.
21996
396e3ecf
JM
21997 [BZ #16384]
21998 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
21999 M_LN2l.
22000 (__ieee754_acoshl): Use __log1pl not __log1p.
22001
6c8dbf00
OB
220022013-01-02 Ondřej Bílka <neleai@seznam.cz>
22003
57f41c40
AS
22004 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22005 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22006 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22007 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22008 (reused_arena, arena_get2): Convert to GNU style.
22009 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22010 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22011 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 22012 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
22013 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22014 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22015 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22016 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22017 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22018 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 22019 * malloc/malloc.h: Likewise.
57f41c40
AS
22020 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22021 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 22022 * malloc/mcheck.h: Likewise.
57f41c40
AS
22023 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22024 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
22025 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22026 * malloc/morecore.c (__default_morecore): Likewise.
22027 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
22028 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22029 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22030 (print_and_abort): Likewise.
6c8dbf00
OB
22031 * malloc/obstack.h: Likewise.
22032 * malloc/set-freeres.c (__libc_freeres): Likewise.
22033 * malloc/tst-mallocstate.c (main): Likewise.
22034 * malloc/tst-mtrace.c (main): Likewise.
22035 * malloc/tst-realloc.c (do_test): Likewise.
22036
d4124212
SP
220372013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22038
9a3c6a6f
SP
22039 [BZ #16366]
22040 * nscd/netgroupcache.c (do_notfound): New function.
22041 (addgetnetgrentX): Use it.
22042
d4124212
SP
22043 [BZ # 16365]
22044 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22045 NSS_STATUS_NOTFOUND.
22046
97b9a009
JM
220472014-01-01 Joseph Myers <joseph@codesourcery.com>
22048
22049 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22051
d4697bc9
AM
220522014-01-01 Allan McRae <allan@archlinux.org>
22053
ddb3687f
AM
22054 * scripts/update-copyrights: Update configure input file suffix.
22055
88726d48
AM
22056 * NEWS: Update copyright year.
22057 * catgets/gencat.c: Likewise.
22058 * csu/version.c: Likewise.
22059 * debug/catchsegv.sh: Likewise.
22060 * debug/pcprofiledump.c: Likewise.
22061 * debug/xtrace.sh: Likewise.
22062 * elf/ldconfig.c: Likewise.
22063 * elf/ldd.bash.in: Likewise.
22064 * elf/pldd.c: Likewise.
22065 * elf/sotruss.ksh: Likewise.
22066 * elf/sprof.c: Likewise.
22067 * iconv/iconv_prog.c: Likewise.
22068 * iconv/iconvconfig.c: Likewise.
22069 * locale/programs/locale.c: Likewise.
22070 * locale/programs/localedef.c: Likewise.
22071 * login/programs/pt_chown.c: Likewise.
22072 * malloc/memusage.sh: Likewise.
22073 * malloc/memusagestat.c: Likewise.
22074 * malloc/mtrace.pl: Likewise.
22075 * manual/libc.texinfo: Likewise.
22076 * nscd/nscd.c: Likewise.
22077 * nss/getent.c: Likewise.
22078 * nss/makedb.c: Likewise.
22079 * posix/getconf.c: Likewise.
22080 * scripts/test-installation.pl: Likewise.
22081
d4697bc9
AM
22082 * All files with FSF copyright notices: Update copyright dates
22083 using scripts/update-copyrights.
22084 * intl/plural.c: Regenerated.
22085 * locale/programs/charmap-kw.h: Likewise.
22086 * locale/programs/locfile-kw.h: Likewise.
22087
c8590f9d
MF
220882013-12-31 Mike Frysinger <vapier@gentoo.org>
22089
22090 * sysdeps/unix/sysv/linux/configure: Regenerated.
22091 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22092 the linux/fanotify.h header.
22093 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22094 HAVE_LINUX_FANOTIFY_H is defined.
22095
b19221b9
SP
220962013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22097
dd1d85e5
SP
22098 * benchtests/cos-inputs: New inputs.
22099 * benchtests/sin-inputs: Likewise.
22100
1acbb90f
SP
22101 * benchtests/atan-inputs: New inputs. Fix name of multiple
22102 precision fallback inputs.
22103
4c012ed3
SP
22104 * benchtests/atanh-inputs: New inputs.
22105 * benchtests/tanh-inputs: Likewise.
22106
eff98324
SP
22107 * benchtests/acosh-inputs: New inputs.
22108 * benchtests/asinh-inputs: Likewise.
22109
ce641152
SP
22110 * benchtests/cosh-inputs: New inputs.
22111 * benchtests/sinh-inputs: Likewise.
22112
b19221b9
SP
22113 * benchtests/acos-inputs: Add more inputs.
22114 * benchtests/asin-inputs: Likewise.
22115
030a4976 221162013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 22117
030a4976 22118 [BZ #16375]
9dcc8f11
VS
22119 * manual/arith.texi: Fix spelling.
22120 * manual/charset.texi: Likewise.
22121 * manual/errno.texi: Likewise.
22122 * manual/filesys.texi: Likewise.
22123 * manual/lang.texi: Likewise.
22124 * manual/llio.texi: Likewise.
22125 * manual/locale.texi: Likewise.
22126 * manual/message.texi: Likewise.
22127 * manual/resource.texi: Likewise.
22128 * manual/search.texi: Likewise.
22129 * manual/setjmp.texi: Likewise.
22130 * manual/stdio.texi: Likewise.
22131 * manual/string.texi: Likewise.
22132 * manual/sysinfo.texi: Likewise.
22133 * manual/time.texi: Likewise.
22134
11520a57
CD
221352013-12-27 Carlos O'Donell <carlos@redhat.com>
22136
22137 * po/sl.po: New file.
22138
471103ae
MF
221392013-12-27 Mike Frysinger <vapier@gentoo.org>
22140
22141 * .gitignore: Add core/.gdbinit/.gdb_history.
22142
6c9642ed
AM
221432013-12-27 Allan McRae <allan@archlinux.org>
22144
22145 [BZ #16369]
22146 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22147 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22148
3f637079
BM
221492013-12-24 Brooks Moses <bmoses@google.com>
22150
22151 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22152 all compilers that claim C++98 compliance, not just GCC.
22153 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22154 Likewise.
22155
abc26e99
MK
221562013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22157
22158 * NEWS: Restore accidentally deleted bug-fix entries.
22159
362b47fe
MK
221602013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22161 Ondřej Bílka <neleai@seznam.cz>
22162
22163 [BZ #15073]
22164 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 22165 have_lock.
362b47fe 22166
b9bcbbcb
OB
221672013-12-23 Ondřej Bílka <neleai@seznam.cz>
22168
22169 [BZ #12986]
22170 * manual/stdio.texi (String Input Conversions): Clarify that character
22171 classes are not supported.
22172
fb55fcd2
AZ
221732013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22174
22175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22176
ef7344f0
JM
221772013-12-22 Joseph Myers <joseph@codesourcery.com>
22178
4f40e4b3
JM
22179 [BZ #16337]
22180 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22181 Calculate results for small negative arguments directly rather
22182 than using reflection formula with special underflow handling.
22183
ef7344f0
JM
22184 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22185 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22186 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22187 (fchflags): Likewise.
22188 (revoke): Likewise.
22189 (setlogin): Likewise.
22190 (sigaltstack): Likewise.
22191 (wait4): Likewise.
22192 (sigblock): Remove.
22193 (sigsetmask): Likewise.
22194 (wait3): Likewise.
22195 (waitpid): Likewise.
22196 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22197 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22198 file.
22199 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22200 * sysdeps/unix/bsd/Makefile: ... here.
22201 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22202 * sysdeps/unix/bsd/Versions: ... here.
22203 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22204 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22205 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22206 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22207 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22208 * sysdeps/unix/bsd/sigblock.c: ... here.
22209 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22210 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22211 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22212 * sysdeps/unix/bsd/sigvec.c: ... here.
22213 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22214 * sysdeps/unix/bsd/tcdrain.c: ... here.
22215 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22216 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22217 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22218 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22219 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22220 * sysdeps/unix/bsd/wait.c: ... here.
22221 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22222 * sysdeps/unix/bsd/wait3.c: ... here.
22223 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22224 * sysdeps/unix/bsd/waitpid.c: ... here.
22225
5b0626b9
JM
222262013-12-21 Joseph Myers <joseph@codesourcery.com>
22227
22228 [BZ #16356]
22229 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22230 round-to-nearest for [!USE_AS_EXPM1L].
22231 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22232 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22233 more tests of exp and exp10. Expect some exp10 tests to miss
22234 exceptions or fail in directed rounding modes.
22235 * math/auto-libm-test-out: Regenerated.
22236 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22237 (exp10_test_tonearest): New function.
22238 (exp10_towardzero_test_data): New array.
22239 (exp10_test_towardzero): New function.
22240 (exp10_downward_test_data): New array.
22241 (exp10_test_downward): New function.
22242 (exp10_upward_test_data): New array.
22243 (exp10_test_upward): New function.
22244 (main): Call the new functions.
22245 * sysdeps/i386/fpu/libm-test-ulps: Update.
22246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22247
7fda5682
JM
222482013-12-20 Joseph Myers <joseph@codesourcery.com>
22249
31e3a405
JM
22250 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22251 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22252 * math/auto-libm-test-out: Regenerated.
22253 * math/libm-test.inc (acosh_test_data): Add more tests.
22254 (atanh_test_data): Likewise.
22255 (ceil_test_data): Likewise.
22256 (copysign_test_data): Likewise.
22257 * sysdeps/i386/fpu/libm-test-ulps: Update.
22258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22259
85bff96a
JM
22260 * timezone/checktab.awk: Update from tzcode 2013i.
22261 * timezone/private.h: Likewise.
22262 * timezone/scheck.c: Likewise.
22263 * timezone/tzfile.h: Likewise.
22264 * timezone/tzselect.ksh: Likewise.
22265 * timezone/zdump.c: Likewise.
22266 * timezone/zic.c: Likewise.
22267
b7867a3b
JM
22268 * math/auto-libm-test-in: Add tests of cpow.
22269 * math/auto-libm-test-out: Regenerated.
22270 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 22271 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
22272 mpc_cc_c.
22273 (func_calc_desc): Add mpc_cc_c union field.
22274 (test_functions): Add cpow.
22275 (special_fill_2pi): New function.
22276 (special_real_inputs): Add 2pi.
22277 (calc_generic_results): Handle mpc_cc_c.
22278 * sysdeps/i386/fpu/libm-test-ulps: Update.
22279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22280
7fda5682
JM
22281 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22282 csqrt, ctan and ctanh.
22283 * math/auto-libm-test-out: Regenerated.
22284 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22285 (TEST_COND_x86): Likewise.
22286 (ccos_test_data): Use AUTO_TESTS_c_c.
22287 (ccosh_test_data): Likewise.
22288 (cexp_test_data): Likewise.
22289 (clog_test_data): Likewise.
22290 (csqrt_test_data): Likewise.
22291 (ctan_test_data): Likewise.
22292 (ctan_tonearest_test_data): Likewise.
22293 (ctan_towardzero_test_data): Likewise.
22294 (ctan_downward_test_data): Likewise.
22295 (ctan_upward_test_data): Likewise.
22296 (ctanh_test_data): Likewise.
22297 (ctanh_tonearest_test_data): Likewise.
22298 (ctanh_towardzero_test_data): Likewise.
22299 (ctanh_downward_test_data): Likewise.
22300 (ctanh_upward_test_data): Likewise.
22301 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22302 mpc_c_c.
22303 (func_calc_desc): Add mpc_c_c union field.
22304 (FUNC_mpc_c_c): New macro.
22305 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22306 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22307 ctanh.
22308 (special_fill_min_subnorm_p120): New function.
22309 (special_real_inputs): Add min_subnorm_p120.
22310 (calc_generic_results): Handle mpc_c_c.
22311 * sysdeps/i386/fpu/libm-test-ulps: Update.
22312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22313
5ff8d60e
SP
223142013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22315
57f41c40
AS
22316 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22317 (do_sin_slow): New functions.
22318 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22319 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 22320
84ba214c
SP
22321 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22322 Use M to change sign of result instead of X. Assume X is
22323 positive.
22324 (csloww1): Likewise.
22325 (__sin): Adjust.
22326 (__cos): Adjust.
22327
975195e4
SP
22328 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22329 arguments A and DA.
22330 (__sin): Adjust.
22331 (__cos): Likewise.
22332
5ff8d60e
SP
22333 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22334 (__cos): Likewise.
22335 (sloww1): Don't adjust sign of DX.
22336 (csloww1): Likewise.
22337 (sloww2): Use X directly and don't adjust sign of DX.
22338 (csloww2): Likewise.
22339
eb983568
JM
223402013-12-19 Joseph Myers <joseph@codesourcery.com>
22341
64a17f1a
JM
22342 * math/auto-libm-test-in: Add tests of cabs and carg.
22343 * math/auto-libm-test-out: Regenerated.
22344 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22345 (carg_test_data): Likewise.
22346 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22347 mpc_c_f.
22348 (func_calc_desc): Add mpc_c_f union field.
22349 (test_functions): Add cabs and carg.
22350 (calc_generic_results): Handle mpc_c_f.
22351
eb983568
JM
22352 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22353 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22354 as a macro and a compat symbol.
22355 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22356 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22357 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22358 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22359 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22360 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22361 not use .hidden.
22362 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22363 Likewise.
22364 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22365 Likewise.
22366 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22367 Likewise.
22368 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22369 Likewise.
22370 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22371 Likewise.
22372 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22373 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22374 from GLIBC_2.3.2.
22375
6eeb678a
AZ
223762013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22377
22378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22379
6f6fc482
JM
223802013-12-19 Joseph Myers <joseph@codesourcery.com>
22381
21fea2e2
JM
22382 * manual/texinfo.tex: Update to version 2013-11-26.10 with
22383 trailing whitespace removed.
22384 * scripts/config.guess: Update to version 2013-11-29.
22385 * scripts/config.sub: Update to version 2013-10-01.
22386
6f6fc482
JM
22387 * math/auto-libm-test-in: Add tests of sincos.
22388 * math/auto-libm-test-out: Regenerated.
22389 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22390 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22391 mpfr_f_11.
22392 (func_calc_desc): Add mpfr_f_11 union field.
22393 (test_functions): Add sincos.
22394 (calc_generic_results): Handle mpfr_f_11.
22395 * sysdeps/i386/fpu/libm-test-ulps: Update.
22396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22397
83f5c32d
AS
223982013-12-19 Andreas Schwab <schwab@suse.de>
22399
22400 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22401 CALL_MCOUNT.
22402 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22403 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22404 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22405
c688b419
JM
224062013-12-19 Joseph Myers <joseph@codesourcery.com>
22407
335ee092
JM
22408 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22409 * sysdeps/i386/fpu/libm-test-ulps: Update.
22410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22411
f88acd39
JM
22412 [BZ #16293]
22413 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22414 round-to-nearest mode when using frndint.
22415 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22416 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22417 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22418 Likewise.
22419 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22420 sinh test to fail.
22421 * math/auto-libm-test-out: Regenerated.
22422 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22423 (TEST_COND_x86): Likewise.
22424 (expm1_tonearest_test_data): New array.
22425 (expm1_test_tonearest): New function.
22426 (expm1_towardzero_test_data): New array.
22427 (expm1_test_towardzero): New function.
22428 (expm1_downward_test_data): New array.
22429 (expm1_test_downward): New function.
22430 (expm1_upward_test_data): New array.
22431 (expm1_test_upward): New function.
22432 (main): Run the new test functions.
22433 * sysdeps/i386/fpu/libm-test-ulps: Update.
22434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22435
c688b419
JM
22436 * include/features.h: Update comment documenting feature test
22437 macros. Mention _DEFAULT_SOURCE in comment.
22438 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22439 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22440 _BSD_SOURCE and _SVID_SOURCE.
22441 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22442 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22443 !_SVID_SOURCE]: Likewise.
22444 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22445 (__USE_POSIX_IMPLICITLY): Define.
22446 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22447 (_POSIX_SOURCE): Undefine and redefine.
22448 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22449 (_POSIX_C_SOURCE): Likewise.
22450 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22451 (Feature Test Macros): Update documentation of default features.
22452
9f6e964c
RS
224532013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22454
22455 * benchtests/Makefile: Add bench-strtok.
22456 * benchtests/bench-strtok.c: New file: strtok benchtest.
22457
ee0a148a
AM
224582013-12-19 Allan McRae <allan@archlinux.org>
22459
22460 * manual/install.texi: Suppress menu for plain text output.
22461 * INSTALL: Regenerated.
22462
b9ab448f
BM
224632013-12-18 Brooks Moses <bmoses@google.com>
22464
22465 [BZ #15846]
22466 * misc/getauxval.c: Include errno.h.
22467 (__getauxval): Set errno to ENOENT if the requested type is not
22468 found.
22469 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22470 don't declare with __attribute_const__.
22471 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22472 * manual/startup.texi: Document that getauxval sets errno.
22473
23776487
JM
224742013-12-18 Joseph Myers <joseph@codesourcery.com>
22475
f889953b
JM
22476 * math/auto-libm-test-in: Add tests of jn and yn.
22477 * math/auto-libm-test-out: Regenerated.
22478 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22479 (yn_test_data): Likewise.
22480 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22481 mpfr_if_f.
22482 (func_calc_desc): Add mpfr_if_f union field.
22483 (FUNC_mpfr_if_f): New macro.
22484 (test_functions): Add jn and yn.
22485 (calc_generic_results): Assert type of second input for
22486 mpfr_ff_f. Handle mpfr_if_f.
22487 (output_for_one_input_case): Disable all checking for arguments
22488 fitting floating-point types in case of an integer argument.
22489 * sysdeps/i386/fpu/libm-test-ulps: Update.
22490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22491
23776487
JM
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22493 Don't expect fegetround reference in libm.so.
22494
cb756c6d
MS
224952013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22496
22497 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22498 $(config-cflags-nofma).
22499
2dec468f
JM
225002013-12-18 Joseph Myers <joseph@codesourcery.com>
22501
5953eb3a
JM
22502 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22503 * math/auto-libm-test-out: Regenerated.
22504
2dec468f
JM
22505 [BZ #16338]
22506 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22507 to determine exponent and adjust argument to have exponent of -1.
22508 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22509 log2.
22510 * math/auto-libm-test-out: Regenerated.
22511 * sysdeps/i386/fpu/libm-test-ulps: Update.
22512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22513
4d84e6ad
OB
225142013-12-18 Ondřej Bílka <neleai@seznam.cz>
22515
22516 * manual/probes.texi: Remove cases when per-thread arenas are
22517 disabled.
22518
1818483b
AS
225192013-12-18 Andreas Schwab <schwab@suse.de>
22520
22521 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22522 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22523 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22524 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22525 * sysdeps/i386/i686/multiarch/Makefile: Update.
22526 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22527
25de95bf
JM
225282013-12-17 Joseph Myers <joseph@codesourcery.com>
22529
22530 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22531 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22532
674762d9
PE
225332013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22534
ed27ed83 22535 [BZ #15968]
0748546f
PE
22536 Support TZ transition times < 00:00:00.
22537 This is needed for version-3 tz-format files; it supports time
22538 stamps past 2037 for America/Godthab (the only entry in the tz
22539 database for which this change is relevant).
22540 * manual/time.texi (TZ Variable): Document transition times
22541 from -167:59:59 through -00:00:01.
22542 * time/tzset.c (tz_rule): Time of day is now signed.
22543 (__tzset_parse_tz): Parse negative time of day.
22544
4480e934
PE
22545 Document TZ transition times >= 25:00:00.
22546 * manual/time.texi (TZ Variable): Document transition times from
22547 25:00:00 through 167:59:59. These are already supported, and this
22548 support will help with version-3 tz-format files.
22549
69947401
PE
22550 * manual/time.texi (TZ Variable): Modernize North America example
22551 to reflect current (i.e., 2007-and-later) daylight saving rules.
22552
674762d9
PE
22553 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22554
7011c262
JM
225552013-12-17 Joseph Myers <joseph@codesourcery.com>
22556
2fc6557e
JM
22557 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22558 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22559 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22560 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22561 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22562 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22563 * sysdeps/unix/bsd/clock.c: Likewise.
22564 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22565 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22566 * sysdeps/unix/bsd/init-posix.c: Likewise.
22567 * sysdeps/unix/bsd/poll.c: Likewise.
22568 * sysdeps/unix/bsd/ptsname.c: Likewise.
22569 * sysdeps/unix/bsd/seekdir.c: Likewise.
22570 * sysdeps/unix/bsd/setegid.c: Likewise.
22571 * sysdeps/unix/bsd/seteuid.c: Likewise.
22572 * sysdeps/unix/bsd/setgid.c: Likewise.
22573 * sysdeps/unix/bsd/setrgid.c: Likewise.
22574 * sysdeps/unix/bsd/setruid.c: Likewise.
22575 * sysdeps/unix/bsd/setsid.c: Likewise.
22576 * sysdeps/unix/bsd/setuid.c: Likewise.
22577 * sysdeps/unix/bsd/sigaction.c: Likewise.
22578 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22579 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22580 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22581 * sysdeps/unix/bsd/telldir.c: Likewise.
22582 * sysdeps/unix/bsd/times.c: Likewise.
22583 * sysdeps/unix/bsd/usleep.c: Likewise.
22584
029c7b25
JM
22585 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22586 ($(objpfx)libbsd-compat.a): Remove rule.
22587
7011c262
JM
22588 * include/features.h (__FAVOR_BSD): Do not define.
22589 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22590 features conflicting with POSIX.
22591 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22592 (_BSD_SOURCE): Remove description of not being a subset of other
22593 feature test macros.
22594 * manual/job.texi (getpgrp): Do not document BSD version.
22595 (getpgid): Do not document by reference to BSD getpgrp.
22596 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22597 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22598 * signal/signal.h [__FAVOR_BSD]: Likewise.
22599 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22600 instead of making contents conditional on [__FAVOR_BSD].
22601 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22602
affb6f78
AZ
226032013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22604
22605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22606
c88769dd
JM
226072013-12-17 Joseph Myers <joseph@codesourcery.com>
22608
6432a540
JM
22609 [BZ #16314]
22610 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22611 values below 2**-450, not 2**-500.
22612 * math/auto-libm-test-in: Don't allow spurious underflow from
22613 hypot.
22614 * math/auto-libm-test-out: Regenerated.
22615
c88769dd
JM
22616 [BZ #16316]
22617 [BZ #16330]
22618 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22619 values of ha and hb and sort them after adjusting subnormal
22620 arguments.
22621 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22622 Likewise.
22623 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22624 values of ea and eb and sort them after adjusting subnormal
22625 arguments.
22626 * math/auto-libm-test-in: Do not expect some hypot tests of
22627 subnormals to fail. Add more hypot tests.
22628 * math/auto-libm-test-out: Regenerated.
22629
29618f6b
KK
226302013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22631
22632 [BZ #13304]
22633 * sysdeps/sh/s_fma.c: New file.
22634 * sysdeps/sh/s_fmaf.c: New file.
22635 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22636 version.
22637 * sysdeps/sh/Implies: Add sh/soft-fp.
22638
eacfdfbf
RM
226392013-12-16 Roland McGrath <roland@hack.frob.com>
22640
22641 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22642 level of indirection to members `objname', `errstring', `malloced'.
22643 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22644 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22645 it as the __longjmp argument (just pass 1 instead).
22646 (_dl_catch_error): Initialize C with argument pointers and address of
22647 volatile local ERRCODE rather than copying values out of C at return.
22648
ff362e5b
JM
226492013-12-16 Joseph Myers <joseph@codesourcery.com>
22650
22651 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22652 * math/auto-libm-test-out: Regenerated.
22653 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22654 (hypot_test_data): Likewise.
22655 (pow_test_data): Likewise.
22656 (pow_tonearest_test_data): Likewise.
22657 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22658 mpfr_ff_f.
22659 (func_calc_desc): Add mpfr_ff_f union field.
22660 (FUNC_mpfr_ff_f): New macro.
22661 (test_functions): Add atan2, hypot and pow.
22662 (special_fill_min): New function.
22663 (special_fill_minus_min): Likewise.
22664 (special_fill_min_subnorm): Likewise.
22665 (special_fill_minus_min_subnorm): Likewise.
22666 (special_real_inputs): Add min, -min, min_subnorm and
22667 -min_subnorm.
22668 (calc_generic_results): Handle mpfr_ff_f.
22669 * sysdeps/i386/fpu/libm-test-ulps: Update.
22670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22671
5764c27f
WN
226722013-12-16 Will Newton <will.newton@linaro.org>
22673
22674 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22675 (Aligned Memory Blocks): Add documentation for aligned_alloc
22676 and suggest it as an alternative to posix_memalign.
22677 (Hooks for Malloc): Document __memalign_hook is also called
22678 for aligned_alloc. (Summary of Malloc): Add summary for
22679 aligned alloc. Document __memalign_hook is also called
22680 for aligned_alloc.
22681
0a096e44
WN
226822013-12-16 Will Newton <will.newton@linaro.org>
22683
22684 * manual/memory.texi (Malloc Examples): Clarify default
22685 alignment documentation. Suggest posix_memalign rather
22686 than memalign or valloc.
22687 (Aligned Memory Blocks): Remove suggestion to use memalign
22688 or valloc. Remove obsolete comment about BSD.
22689 Document memalign errno values and mark the function obsolete.
22690 Document posix_memalign returned error codes. Mark valloc
22691 as obsolete. (Hooks for Malloc): __memalign_hook is also
22692 called for posix_memalign and valloc.
22693 (Summary of Malloc): Add posix_memalign to function summary.
22694 __memalign_hook is also called for posix_memalign and valloc.
22695
8d561986
SP
226962013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22697
22698 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22699 TAYLOR_SIN.
22700 (__sin): Adjust.
22701 (__cos): Likewise.
22702 (sloww): Use mynumber union. Expand ternary operator into
22703 if-else statements.
22704 (cslow): use mynumber union.
22705
73616a74
AM
227062013-12-16 Allan McRae <allan@archlinux.org>
22707
9e8ac24b
AM
22708 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22709 * configure: Regenerated.
22710
6f8e37eb
AM
22711 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22712
8894bad3
AM
22713 [BZ #14120]
22714 * configure.ac: Added --enable-maintainer-mode. Check for
22715 autoconf when enabled.
22716 * configure: Regenerated.
22717
73616a74
AM
22718 * nscd/nscd.service: New file.
22719 * nscd/nscd.tmpfiles: New file.
22720
584b18eb
OB
227212013-12-14 Ondřej Bílka <neleai@seznam.cz>
22722
22723 [BZ #12100]
22724 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22725 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22726 * sysdeps/x86_64/multiarch/strstr.c: ... here.
22727 (strstr): Add __strstr_sse2_unaligned ifunc.
22728 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22729 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22730 (strcasestr): Remove __strcasestr_sse42 ifunc.
22731 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22732 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22734
8a5c7897
KK
227352013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22736
22737 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22738 * sysdeps/sh/bits/fenv.h: ... here.
22739 * sysdeps/sh/sh4/fpu/bits: Remove directory.
22740
fd712ef3
AZ
227412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22742
22743 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22744
42fcb46c
AZ
22745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22746 hypotf multiarch implementations.
22747 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22748 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22749 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22750 multiarch hypot for PPC64.
22751 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22752 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22753 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22754 multiarch hypotf for PPC64.
22755
83efded4
AZ
22756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22757 modff multiarch implementations.
22758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22761 multiarch modf for PPC64.
22762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22765 multiarch modff for PPC64.
22766
43e246d2
AZ
22767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22768 and logl multiarch implementations.
22769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22772 multiarch logb for PPC64.
22773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22776 multiarch logb for PPC64.
22777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22780 multiarch logb for PPC64.
22781
8fdad123
AZ
22782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22783 isinff multiarch implementation.
22784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22785 file.
22786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22788 multiarch isinf for PPC64.
22789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22790 file.
22791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22792 multiarch isinff for PPC64.
22793
1481d706
AZ
22794 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22795 finitef multiarch implementation.
22796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22797 file.
22798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22800 multiarch finite for PPC64.
22801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22802 file.
22803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22804 multiarch finitef for PPC64.
22805
5ccd5fc8
AZ
22806 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22807 lrint multiarch implementation.
22808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22809 file.
22810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22812 multiarch llrint for PPC64.
22813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22814 multiarch lrint for PPC64.
22815
2568f3fa
AZ
22816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22817 copysignf multiarch implementation.
22818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22819 file.
22820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22821 file.
22822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22823 multiarch copysign for PPC64.
22824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22825 multiarch copysignf for PPC64.
22826
1cb341fd
AZ
22827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22828 multiarch implementation.
22829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22830 file.
22831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22832 file.
22833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22834 file.
22835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22836 file.
22837 multiarch llround for PPC64.
22838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22839 multiarch trunc for PPC64.
22840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22841 multiarch truncf for PPC64.
22842
59a3e194
AZ
22843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22844 multiarch implementation.
22845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22846 file.
22847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22848 file.
22849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22850 file.
22851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22852 file.
22853 multiarch llround for PPC64.
22854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22855 multiarch round for PPC64.
22856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22857 multiarch roundf for PPC64.
22858
357fd3b4
AZ
22859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22860 multiarch implementation.
22861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22862 file.
22863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
22864 file.
22865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
22866 file.
22867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
22868 file.
22869 multiarch llround for PPC64.
22870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22871 multiarch floor for PPC64.
22872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22873 multiarch floorf for PPC64.
22874
96770f12
AZ
22875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22876 multiarch implementation.
22877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22878 file.
22879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22880 file.
22881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22882 file.
22883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22884 file.
22885 multiarch llround for PPC64.
22886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22887 multiarch ceil for PPC64.
22888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22889 multiarch ceilf for PPC64.
22890
c3627f6e
AZ
22891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22892 multiarch implementation.
22893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22894 file.
22895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22896 file.
22897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22898 file.
22899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22900 multiarch llround for PPC64.
22901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22902 multiarch lround for PPC64.
22903
b2284ad7
AZ
22904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22905 multiarch implementation.
22906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22909 file.
22910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22913 multiarch isnan for PPC64.
22914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22915 multiarch isnanf for PPC64.
22916
69bbc63d
AZ
22917 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22918 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22919 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22920 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22921 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22923
c24517c9
AZ
22924 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22925 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22926 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22927 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22928
a52374e8
AZ
22929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22930 multiarch implementations.
22931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22932 (__libc_ifunc_impl_list): Likewise.
22933 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22934 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22935 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22936 multiarch stpcpy for PPC64.
22937
7f5ec113
AZ
22938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22939 multiarch implementations.
22940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22941 (__libc_ifunc_impl_list): Likewise.
22942 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22943 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22944 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22945 multiarch strcpy for PPC64.
22946
e28bcd42
AZ
22947 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22948 redefine function name.
22949 (_wordcopy_fwd_dest_aligned): Likewise.
22950 (_wordcopy_bwd_aligned): Likewise.
22951 (_wordcopy_bwd_dest_aligned): Likewise.
22952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22953 multiarch implementations.
22954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22955 (__libc_ifunc_impl_list): Likewise.
22956 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22957 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22958 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22959 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22960 multiarch wcscpy for PPC64.
22961
92cacfce
AZ
22962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22963 multiarch implementations.
22964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22965 (__libc_ifunc_impl_list): Likewise.
22966 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22967 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22968 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22969 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22970 multiarch wcscpy for PPC64.
22971
7b714620
AZ
22972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22973 multiarch implementations.
22974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22975 (__libc_ifunc_impl_list): Likewise.
22976 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22977 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22978 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22979 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22980 multiarch wcsrchr for PPC64.
22981
16fd2ae3
AZ
22982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22983 multiarch implementations.
22984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22985 (__libc_ifunc_impl_list): Likewise.
22986 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22987 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22988 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22989 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22990 multiarch wcschr for PPC64.
22991
9ee2969b
AZ
22992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22993 multiarch implementations.
22994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22995 (__libc_ifunc_impl_list): Likewise.
22996 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22997 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22998 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22999 multiarch strchrnul for PPC64.
23000
372dc060
AZ
23001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23002 implementations.
23003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23004 (__libc_ifunc_impl_list): Likewise.
23005 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23006 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23007 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23008 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23009 strchr for PPC64.
23010
24c2c3b9
AZ
23011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23012 implementations.
23013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23014 (__libc_ifunc_impl_list): Likewise.
23015 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23016 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23017 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23018 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23019 strncmp for PPC64.
23020
1c92d9a0
AZ
23021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23022 multiarch implementations.
23023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23024 (__libc_ifunc_impl_list): Likewise.
23025 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23026 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23027 strncasecmp for PPC64.
23028 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23029 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23030 multiarch strncasecmp_l for PPC64.
23031
17de3ee3
AZ
23032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23033 multiarch implementations.
23034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23035 (__libc_ifunc_impl_list): Likewise.
23036 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23037 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23038 multiarch strcasecmp for PPC64.
23039 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23040 file.
23041 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23042 multiarch strcasecmp_l for PPC64.
23043
62982bf9
AZ
23044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23045 implementations.
23046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23047 (__libc_ifunc_impl_list): Likewise.
23048 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23049 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23050 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23051 strnlen for PPC64.
23052
a65f4904
AZ
23053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23054 implementations.
23055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23056 (__libc_ifunc_impl_list): Likewise.
23057 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23058 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23059 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23060 strlen for PPC64.
23061
1fd005ad
AZ
23062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23063 implementations.
23064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23065 (__libc_ifunc_impl_list): Likewise.
23066 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23067 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23068 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23069 rawmemrchr for PPC64.
23070
cd05ba91
AZ
23071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23072 implementation.
23073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23074 (__libc_ifunc_impl_list): Likewise.
23075 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23076 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23077 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23078 memrchr for PPC64.
23079
870f8676
AZ
23080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23081 implementation.
23082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23083 (__libc_ifunc_impl_list): Likewise.
23084 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23085 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23086 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23087 memchr for PPC64.
23088
f00be62b
AZ
23089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23090 implementation.
23091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23092 (__libc_ifunc_impl_list): Likewise.
23093 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23094 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23095 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23096 mempcpy for PPC64.
23097
8a29a3d0
AZ
23098 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23099 avoid cretion of __bzero symbol.
23100 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23101 Likewise.
23102 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23103 Likewise.
23104 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23105 Likewise.
23106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23107 multiarch implementations.
23108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23109 (__libc_ifunc_impl_list): Likewise.
23110 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23111 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23112 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23113 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23114 bzero for PPC32.
23115 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23116 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23117 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23118 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23119 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23120 memset for PPC64.
23121 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23122
07253fcf
AZ
23123 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23125 implementations.
23126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23127 (__libc_ifunc_impl_list): Likewise.
23128 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23129 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23130 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23131 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23132 memcmp for PPC64.
23133
b5beafbc
AZ
23134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23135 multiarch for POWER/PPC64.
23136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23137 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23138 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23139 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23140 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23141 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23142 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23143 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23144 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23145 memcpy for PPC64.
23146
5e6a4d4b
AZ
23147 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23148 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23149 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23150 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23151 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23152 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23153 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23154 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23155 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23156 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23157 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23158 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23159 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23160 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23161 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23169
ddfab6dc
KK
231702013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23171
23172 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23173
19b5525e
SP
231742013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23175
23176 * benchtests/Makefile (bench): Add exp2 and log2.
23177 (LDLIBS-bench-exp2): Add -lm.
23178 (LDLIBS-bench-log2): Likewise.
23179 * benchtests/exp2-inputs: New inputs file.
23180 * benchtests/log2-inputs: New inputs file.
23181 * benchtests/log-inputs: Add new inputs.
23182 * benchtests/tan-inputs: Likewise.
23183
196f7f5d
SP
231842013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23185
7a74607f
SP
23186 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23187 definition...
57f41c40
AS
23188 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23189 (csloww2): ... from here.
7a74607f 23190
196f7f5d
SP
23191 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23192 instead of structures.
23193 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23194 (POLYNOMIAL): Likewise.
23195 (TAYLOR_SLOW): Likewise.
23196 (__sin): Likewise.
23197 (__cos): Likewise.
23198 (slow1): Likewise.
23199 (slow2): Likewise.
23200 (sloww): Likewise.
23201 (sloww1); Likewise.
23202 (sloww2): Likewise.
23203 (bsloww1): Likewise.
23204 (bsloww2): Likewise.
23205 (cslow2): Likewise.
23206 (csloww): Likewise.
23207 (csloww1): Likewise.
23208 (csloww2): Likewise.
23209
0dfa665c
OB
232102013-12-10 Ondřej Bílka <neleai@seznam.cz>
23211
23212 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
23213 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23214 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
23215 * malloc/hooks.c (realloc_check): Likewise.
23216
5782a80f
OB
23217 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23218 * malloc/arena.c: Remove PER_THREAD conditional.
23219 [!PER_THREAD]: Remove code.
23220 (ptmalloc_unlock_all2): Likewise.
23221 (ptmalloc_init): Likewise.
23222 (_int_new_arena): Likewise.
23223 (arena_get2): Likewise.
23224 * malloc/hooks.c (__malloc_get_state): Likewise.
23225 (__malloc_set_state): Likewise.
23226 * malloc/malloc.c: Likewise.
23227 (struct malloc_state): Likewise.
23228 (struct malloc_par): Likewise.
23229 (__libc_realloc): Likewise.
23230 (__libc_mallopt): Likewise.
23231
aeb95445
AZ
232322013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23233
23234 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23235
e8349efd
OB
232362013-12-09 Ondřej Bílka <neleai@seznam.cz>
23237
23238 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23239 macro to a function. Check for zero perturb_byte.
23240 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23241
f3eeb3fc 23242 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
23243 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23244 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
23245 force_reg by atomic_forced_read.
23246 * malloc/arena.c (ptmalloc_init): Likewise.
23247 * malloc/hooks.c (top_check): Likewise.
23248
be2f9009
AZ
232492013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23250
23251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23252
e7b914bd
MT
232532013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23254
23255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23256
9f0be4f8
JM
232572013-12-08 Joseph Myers <joseph@codesourcery.com>
23258
23259 * math/auto-libm-test-in: Add tests of lgamma.
23260 * math/auto-libm-test-out: Regenerated.
23261 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23262 (M_LOG_2_SQRT_PIl): Likewise.
23263 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23264 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23265 mpfr_f_f1.
23266 (func_calc_desc): Add mpfr_f_f1 union field.
23267 (ARGS1): New macro.
23268 (ARGS2): Likewise.
23269 (ARGS3): Likewise.
23270 (ARGS4): Likewise.
23271 (RET1): Likewise.
23272 (RET2): Likewise.
23273 (CALC): Likewise.
23274 (FUNC): Likewise.
23275 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23276 (test_functions): Add lgamma.
23277 (calc_generic_results): Handle mpfr_f_f1.
23278 * sysdeps/i386/fpu/libm-test-ulps: Update.
23279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23280
24eeafdb
AZ
232812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23282
23283 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23284 __mpn_add_n for PowerPC64/POWER7.
23285 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23286 __mpn_sub_n for PowerPC64/POWER7.
23287
4a2c0fd4
AZ
23288 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23289 __mpn_addmul_1 for PowerPC64.
23290 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23291 __mpn_submul_1 for PowerPC64.
23292 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23293 for PowerPC64.
23294 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23295 for PowerPC64.
23296
4b5b548c
FS
232972013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23298
23299 [BZ #15089]
23300 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23301
0a3ac0aa
AZ
233022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23303
23304 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23305
ccdc8438
AZ
23306 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23307 add multiarch folders.
23308 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23309 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23310 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23311 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23312 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23313 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23314 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23315 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23316 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23317 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23318 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23325
2e973d99
AZ
23326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23327 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23329 New file.
23330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23331 New file.
23332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23333 multiarch __ieee754_hypot for PowerPC32.
23334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23335 New file.
23336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23337 New file.
23338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23339 multiarch __ieee754_hypotf for PowerPC32.
23340
2d9470b2
AZ
23341 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23342 long_double_symbol only if __logbl is defined.
23343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23344 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23345 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23346 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23348 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23349 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23350 path for implementation.
23351 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23352 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23354 logb, and logbl multiarch implementations for PowerPC32.
23355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23356 file.
23357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23358 file.
23359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23360 multiarch logb for PowerPC32.
23361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23362 file.
23363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23364 file.
23365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23366 multiarch logbf for PowerPC32.
23367 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23369 file.
23370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23371 multiarch logbl implementation for PowerPC32.
23372
5212ffce
AZ
23373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23374 and modff multiarch implementations.
23375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23376 New file.
23377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23378 New file.
23379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23380 multiarch modf for PowerPC32.
23381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23382 New file.
23383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23384 New file.
23385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23386 multiarch modff for PowerPC32.
23387
79dccf31
AZ
23388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23389 and lrintf multiarch implementations.
23390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23391 New file.
23392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23393 New file.
23394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23395 multiarch lrint for PowerPC32.
23396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23397 file: multiarch lrintf for PowerPC32.
23398
deb66480
AZ
23399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23400 and lroundf multiarch implementations.
23401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23402 New file.
23403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23404 New file.
23405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23406 New file.
23407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23408 multiarch lround for PowerPC32.
23409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23410 file: multiarch lroundf for PowerPC32.
23411
264b036b
AZ
23412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23413 copysign and copysignf multiarch implementations.
23414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23415 New file.
23416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23417 New file.
23418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23419 file: multiarch copysign for PowerPC32.
23420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23421 file: multiarch copysignf for PowerPC32.
23422
d47db6c9
AZ
23423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23424 and truncf multiarch implementations.
23425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23426 New file.
23427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23428 file.
23429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23430 multiarch trunc for PowerPC32.
23431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23432 New file.
23433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23434 New file.
23435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23436 multiarch truncf for PowerPC32.
23437
ddb60b5a
AZ
23438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23439 and roundf multiarch implementations.
23440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23441 New file.
23442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23443 file.
23444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23445 multiarch round for PowerPC32.
23446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23447 New file.
23448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23449 New file.
23450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23451 multiarch roundf for PowerPC32.
23452
bedcf49b
AZ
23453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23454 and floorf multiarch implementations.
23455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23456 New file.
23457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23458 file.
23459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23460 multiarch floor for PowerPC32.
23461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23462 New file.
23463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23464 New file.
23465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23466 multiarch floorf for PowerPC32.
23467
35ae5b40
AZ
23468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23469 and ceilf multiarch implementations.
23470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23471 New file.
23472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23473 file.
23474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23475 multiarch ceil for PowerPC32.
23476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23477 New file.
23478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23479 file.
23480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23481 multiarch ceilf for PowerPC32.
23482
ae1a4cd9
AZ
23483 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23484 is defined.
23485 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23486 FINITEF is defined.
23487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23488 and finitef multiarch implementations.
23489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23490 New file.
23491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23492 file.
23493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23494 multiarch finite for PowerPC32.
23495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23496 New file.
23497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23498 file: multiarch finitef for PowerPC32.
23499
64fffd65
AZ
23500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23501 and isinff multiarch implementations.
23502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23503 file.
23504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23505 file.
23506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23507 multiarch isinf for PowerPC32.
23508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23509 New file.
23510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23511 multiarch isinff for PowerPC32.
23512
8e4e7ba2
AZ
23513 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23514 alias when __isnan is defined.
23515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23516 and isnanf multiarch implementations.
23517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23518 file.
23519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23520 file.
23521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23522 file.
23523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23524 file.
23525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23526 multiarch isnan for PowerPC32.
23527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23528 New file.
23529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23530 New file.
23531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23532 multiarch isnanf for PowerPC32.
23533
ddba588e
AZ
23534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23535 and sqrtf multiarch implementations.
23536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23537 file.
23538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23539 file.
23540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23541 multiarch sqrt for PowerPC32.
23542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23543 file.
23544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23545 file.
23546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23547 multiarch sqrtf for PowerPC32.
23548
0f96a2f0
AZ
23549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23550 and llroundf multiarch implementations.
23551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23552 New file.
23553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23554 New file.
23555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23556 New file.
23557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23558 file: multiarch llround for PowerPC32.
23559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23560 file: multiarch llroundf for PowerPC32.
23561
c9b5d79e
AZ
23562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23563 multiarch PowerPC32 fpu implementations.
23564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23565 New file.
23566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23567 New file.
23568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23569 multiarch llrint for PowerPC32.
23570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23571 New file.
23572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23573 New file.
23574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23575 file.
23576
9cbb3aab
AZ
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23578
ea5a72f8
AZ
23579 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23580 file.
23581 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23582 file.
23583 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23584 file.
23585 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23586 multiarch wordcopy for PPC32.
23587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23588 wordcopy objects.
23589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23590 (__libc_ifunc_impl_list): Likewise.
23591 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23592 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23593 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23594 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23595 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23596 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23597
93be09e7
AZ
23598 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23600 file.
23601 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23602 file.
23603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23604 file.
23605 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23606 multiarch wcscpy for PPC32.
23607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23608 multiarch objects.
23609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23610 (__libc_ifunc_impl_list): Likewise.
23611 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23612 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23613 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23614 sysdeps/powerpc/power6/wcscpy.c.
23615
bb04e529
AZ
23616 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23618 file.
23619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23620 file.
23621 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23622 file.
23623 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23624 multiarch wcsrchr for PPC32.
23625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23626 multiarch objects.
23627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23628 (__libc_ifunc_impl_list): Likewise.
23629 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23630 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23631 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23632 sysdeps/powerpc/power6/wcsrchr.c.
23633
05b5cd1c
AZ
23634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23635 file.
23636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23637 file.
23638 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23639 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23640 multiarch wcschr for PPc32.
23641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23642 multiarch objects.
23643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23644 (__libc_ifunc_impl_list): Likewise.
23645 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23646 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23647 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23648 sysdeps/powerpc/power6/wcschr.c.
23649
ba964147
AZ
23650 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23651 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23652 file.
23653 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23654 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23655 file: multiarch strchr for PPC32.
23656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23657 multiarch objects.
23658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23659 (__libc_ifunc_impl_list): Likewise.
23660
31c81aaa
AZ
23661 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23662 name.
23663 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23664 file.
23665 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23666 file.
23667 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23668 multiarch strchrnul for PPC32.
23669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23670 multiarch objects.
23671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23672 (__libc_ifunc_impl_list): Likewise.
23673
0d0607d9
AZ
23674 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23675 file.
23676 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23677 multiarch strncasecmp for PPC32.
23678 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23679 file.
23680 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23681 multiarch strncasecmp_l for PPC32.
23682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23683 strncasecmp multiarch objects.
23684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23685 (__libc_ifunc_impl_list): Likewise.
23686
4dfd5c86
AZ
23687 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23688 file.
23689 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23690 multiarch strncasecmp for PPC32.
23691 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23692 New file.
23693 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23694 multiarch strcasecmp_l for PPC32.
23695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23696 multiarch objects.
23697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23698 (__libc_ifunc_impl_list): Likewise.
23699
a19e01a3
AZ
23700 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23701 file.
23702 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23703 file.
23704 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23705 multiarch strncmp for PPC32.
23706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23707 multiarch objects.
23708 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23709 (__libc_ifunc_impl_list): Likewise.
23710
ae9cf7a2
AZ
23711 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23712 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23713 file.
23714 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23715 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23717 multiarch objects.
23718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23719 (__libc_ifunc_impl_list): Likewise.
23720
3148bb7d
AZ
23721 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23722 file.
23723 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23724 file.
23725 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23726 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23727 multiarch objects.
23728 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23729 (__libc_ifunc_impl_list): Likewise.
23730
7af8b946
AZ
23731 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23732 file.
23733 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23734 file.
23735 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23736 multiarch rawmemchr for PPC32.
23737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23738 multiarch objects.
23739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23740 (__libc_ifunc_impl_list): Likewise.
23741
03a6aa6a
AZ
23742 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23743 file.
23744 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23745 file.
23746 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23747 file: memrchr multiarch for PPC32.
23748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23749 multiarch objects.
23750 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23751 (__libc_ifunc_impl_list): Likewise.
23752
1c62e6d9
AZ
23753 * string/memchr.c (__memchr): Using macro to redefine symbol name.
23754 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23755 file.
23756 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23757 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23758 multiarch memchr for PPC32.
23759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23760 multiarch objects.
23761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23762 (__libc_ifunc_impl_list): Likewise.
23763
87da8bdb
AZ
23764 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23765 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23766 file.
23767 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23768 file.
23769 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23770 file: multiarch mempcpy for PPC32.
23771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23772 multiarch objects.
23773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23774 (__libc_ifunc_impl_list): Likewise.
23775
20ed4714
AZ
23776 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23777 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23778 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23779 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23780 multiarch bzero for PPC32.
23781 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23782 file.
23783 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23784 file.
23785 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23786 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23787 file: multiarch memset for PPC32.
23788 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23789 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23790 memset multiarch objects.
23791 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23792 (__libc_ifunc_impl_list): Likewise.
23793
ab3e3a46
AZ
23794 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23795 file.
23796 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23797 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23798 memcmp for PPC32.
23799 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23801 multiarch objects.
23802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23803 (__libc_ifunc_impl_list): Likewise.
23804
930de6f0
AZ
23805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23806 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23807 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23808 file.
23809 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23810 file.
23811 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23812 file.
23813 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23814 multiarch memcpy for PPC32.
23815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23816 multiarch objects.
23817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23818 (__libc_ifunc_impl_list): Likewise.
23819
4c628e00
AZ
23820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23821 support multiarch for POWER/PPC32.
23822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23823 Likewise.
23824 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23826 Implies file to make multiarch folder appers before the fpu and
23827 default folder for power4 configuration.
23828
f4479220
SP
238292013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23830
23831 * scripts/bench.pl: Append volatile keyword to type.
23832
8517800f
KK
238332013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23834
23835 * sysdeps/sh/sotruss-lib.c: New file.
23836 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23837
180138f1
AZ
238382013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23839
23840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23841
bbf37bdc
JM
238422013-12-05 Joseph Myers <joseph@codesourcery.com>
23843
e47cc4e0
JM
23844 [BZ #6810]
23845 * math/w_tgamma.c: Include <errno.h>.
23846 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
23847 * math/w_tgammaf.c: Include <errno.h>.
23848 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
23849 * math/w_tgammal.c: Include <errno.h>.
23850 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
23851 * math/auto-libm-test-in: Do not allow missing errno on tgamma
23852 underflow. Add more tgamma tests.
23853 * math/auto-libm-test-out: Regenerated.
23854 * sysdeps/i386/fpu/libm-test-ulps: Update.
23855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23856
bbf37bdc
JM
23857 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23858 sin, sinh, tan, tanh, tgamma, y0 and y1.
23859 * math/auto-libm-test-out: Regenerated.
23860 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23861 (TEST_COND_x86): Likewise.
23862 (M_E2l): Remove macro.
23863 (M_E3l): Likewise.
23864 (M_2_SQRT_PIl): Likewise.
23865 (M_SQRT_PIl): Likewise.
23866 (M_1_DIV_El): Likewise.
23867 (log_test_data): Use AUTO_TESTS_f_f.
23868 (log10_test_data): Likewise.
23869 (log1p_test_data): Likewise.
23870 (log2_test_data): Likewise.
23871 (sin_test_data): Likewise.
23872 (sin_tonearest_test_data): Likewise.
23873 (sin_towardzero_test_data): Likewise.
23874 (sin_downward_test_data): Likewise.
23875 (sin_upward_test_data): Likewise.
23876 (sinh_test_data): Likewise.
23877 (sinh_tonearest_test_data): Likewise.
23878 (sinh_towardzero_test_data): Likewise.
23879 (sinh_downward_test_data): Likewise.
23880 (sinh_upward_test_data): Likewise.
23881 (tan_test_data): Likewise.
23882 (tan_tonearest_test_data): Likewise.
23883 (tan_towardzero_test_data): Likewise.
23884 (tan_downward_test_data): Likewise.
23885 (tan_upward_test_data): Likewise.
23886 (tanh_test_data): Likewise.
23887 (tgamma_test_data): Likewise.
23888 (y0_test_data): Likewise.
23889 (y1_test_data): Likewise.
23890 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23891 (special_real_inputs): Add pi/4.
23892 * sysdeps/i386/fpu/libm-test-ulps: Update.
23893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23894
eb5ad6b9
AZ
238952013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23896
23897 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23898 "longjmp_target" static probes.
23899 (__longjmp): Rename to __longjmp_symbol.
23900 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23901 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23902 on which longjmp to generate.
23903 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23904 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23905 probe.
23906 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23907 (__sigjmp_save): Rename to __sigjmp_save_symbol.
23908 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23909 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23910 and __sigjmp_save_symbol based on which sigsetjmp to generated.
23911 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23913 __longjmp_symbol based on which __longjmp to generate.
23914 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23915 probe.
23916 (setjmp): Rename to setjmp_symbol.
23917 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23918 (_setjmp): Rename to _setjmp_symbol.
23919 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23920 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23921 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23922 which setjmp to generate.
23923 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23924 "longjmp_target" static probes.
23925
d136c6dc
SP
239262013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23927
9298ecba
SP
23928 * benchtests/README: Add note about output arguments.
23929 * benchtests/bench-sincos.c: Remove file.
23930 * benchtests/sincos-inputs: New file.
23931 * scripts/bench.pl: Identify output arguments and define
23932 static variables for them.
23933
232983e9
SP
23934 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23935
d136c6dc
SP
23936 [BZ #15941]
23937 * Makefile (INSTALL): Add install-plain.texi as the primary
23938 dependency.
23939 * manual/install-plain.texi: New file.
23940 * manual/install.texi: Include node directive only for
23941 non-plaintext output.
23942
699ff837
JM
239432013-12-04 Joseph Myers <joseph@codesourcery.com>
23944
ab07cea8
JM
23945 * stdlib/longlong.h: Update from GCC.
23946
699ff837
JM
23947 [BZ #6807]
23948 [BZ #15901]
23949 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23950 * math/w_j0f.c (y0f): Likewise.
23951 * math/w_j0l.c (__y0l): Likewise.
23952 * math/w_j1.c (y1): Likewise.
23953 * math/w_j1f.c (y1f): Likewise.
23954 * math/w_j1l.c (__y1l): Likewise
23955 * math/w_jn.c (yn): Likewise.
23956 * math/w_jnf.c (ynf): Likewise.
23957 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23958 Bessel function pole errors in _POSIX_ mode. Use NAN as return
23959 value for Bessel function domain errors outside _SVID_ mode.
23960 Adjust sign of return value for yn (negative integer, 0).
23961 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23962 by zero in return for negative x and set sign appropriately for
23963 negative n.
23964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23965 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23966 * math/libm-test.inc (y0_test_data): Add more tests and adjust
23967 expectations in error cases.
23968 (y1_test_data): Likewise.
23969 (yn_test_data): Likewise.
23970 * sysdeps/i386/fpu/libm-test-ulps: Update.
23971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23972
5b118558
UW
239732013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23974
23975 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23976 "64" to "64-v1". Add "64-v2".
23977 (abi-64-options): Rename to ...
23978 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
23979 (abi-64-condition): Rename to ...
23980 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
23981 (abi-64-ld-soname): Rename to ...
23982 (abi-64-v1-ld-soname): ... this.
23983 (abi-64-v2-options): Define.
23984 (abi-64-v2-condition): Likewise.
23985 (abi-64-v2-ld-soname): Likewise.
23986 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23987 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23991
61cd8fe4
UW
239922013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23993 Alan Modra <amodra@gmail.com>
23994
23995 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23996 New versions for use with the ELFv2 ABI.
23997 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23998 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
23999 declaration.
24000 (struct La_ppc64v2_retval): Likewise.
24001 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24002 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24003 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24004 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24005 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24006 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24007 Do not save or restore CR.
24008 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24009 (_dl_profile_resolve): Do no save or restore CR. Support extended
24010 return values for ELFv2 ABI. Fix location of FPR return registers.
24011 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24012 updated values for _CALL_ELF == 2.
24013 (La_regs, La_retval, int_retval): Likewise.
24014
8b8a692c
UW
240152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24016
24017 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24018 (FRAME_MIN_SIZE_PARM): Likewise.
24019 (FRAME_BACKCHAIN): Likewise.
24020 (FRAME_CR_SAVE): Likewise.
24021 (FRAME_LR_SAVE): Likewise.
24022 (FRAME_TOC_SAVE): Likewise.
24023 (FRAME_PARM_SAVE): Likewise.
24024 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24025 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24026 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24027 (call_mcount_parm_offset): New macro.
24028 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24029 (PROF): Use symbolic stack frame offsets.
24030 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24031 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24032 Redefine in terms of FRAME_MIN_SIZE.
24033 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24034 (_dl_profile_resolve): Likewise. Update comment.
24035 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24036 symbols stack frame offsets.
24037 (__sigsetjmp): Likewise.
24038 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24039 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24040 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24041 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24042
24043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24044 (FRAME_BACKCHAIN): Remove.
24045 (FRAME_CR_SAVE): Likewise.
24046 (FRAME_LR_SAVE): Likewise.
24047 (FRAME_COMPILER_DW): Likewise.
24048 (FRAME_LINKER_DW): Likewise.
24049 (FRAME_TOC_SAVE): Likewise.
24050 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
24051 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24052 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24053 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24055 (CHECK_SP): Use symbolic stack frame offsets.
24056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24057 zone" instead of caller's parameter save area for temp storage.
24058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24059 Likewise. Also, use symbolic stack frame offsets.
24060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24061 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24062 our own stack frame instead of the caller's.
24063 (__socket): Use symbolic stack frame offsets.
24064
122b66de
UW
240652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24066 Alan Modra <amodra@gmail.com>
24067
24068 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24069 Define.
57f41c40
AS
24070 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24071 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
24072 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24073 New function.
24074 (elf_machine_fixup_plt): Call it.
24075 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24076 reloc arguments.
24077 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
24078 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24079 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
24080 r2 before calling target.
24081
696caf1d
UW
240822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24083 Alan Modra <amodra@gmail.com>
24084
24085 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24086 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24087 versions of macros to support ELFv2 ABI.
24088 (LOCALENTRY): New macro.
24089 (ENTRY, EALIGN): Use it.
24090 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24091 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24092 fall through into ENTRY entry point.
24093 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24094 Only define if _CALL_ELF != 2.
24095
24096 (elf_machine_matches_host): Verify ABI version matches.
24097 (RTLD_START): Use LOCALENTRY.
24098 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24099 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24100 (PLT_ENTRY_WORDS): New macro.
24101 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24102 (elf_machine_runtime_setup): Support ELFv2 ABI.
24103 (elf_machine_fixup_plt): Likewise.
24104 (elf_machine_plt_conflict): Likewise.
24105 (resolve_ifunc): Likewise.
24106 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24107 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24108 Likewise.
24109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24110 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24112 (makecontext): Support ELFv2 ABI.
24113 * elf/elf.h (EF_PPC64_ABI): Define.
24114
d31beafa
UW
241152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24116
57f41c40
AS
24117 * sysdeps/powerpc/powerpc64/sysdep.h
24118 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24119 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24120 (ENTRY) [ASSEMBLER]: ... but instead here ...
24121 (EALIGN) [ASSEMBLER]: ... and here.
24122 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24123 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24124 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
24125 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24126 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
24127 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24128 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
24129 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24131 Use PPC64_LOAD_FUNCPTR.
24132
b525166b
UW
24133 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24134
7ec07d9a
AM
241352013-12-04 Alan Modra <amodra@gmail.com>
24136
24137 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24138 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24139 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24140 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24141
24142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24143 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24144 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24145 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24146 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24147 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24148
5162e7dd
UW
241492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24150
24151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24152 (__makecontext): Fix incorrect CFI when backtracing out of
24153 context created via makecontext.
24154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24155 (__setcontext): Fix incorrect CFI during switch to new context.
24156 (__novec_setcontext): Likewise.
24157
19e3372b
OB
241582013-12-04 Ondřej Bílka <neleai@seznam.cz>
24159
24160 [BZ #4772]
24161 * time/strptime_l.c (__strptime_internal): Allow modifiers
24162 in strptime.
24163 * time/tst-strptime.c (day_tests): Add testcase.
24164
ecaf142d
SP
241652013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24166
24167 * scripts/bench.pl: Skip over blank lines.
24168
fbf964ae
PE
241692013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24170
24171 [BZ #926]
24172 * manual/time.texi (Calendar Time): Clarify what timezone functions
24173 use.
24174
fa60a674
AZ
241752013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24176
24177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24178
d674f0ef
OB
241792013-12-04 Ondřej Bílka <neleai@seznam.cz>
24180
24181 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24182 implementation.
24183 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24184 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24185 * debug/memset_chk.c (__memset_chk): Likewise.
24186 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24187 * debug/strncpy_chk.c: Likewise.
24188
17dea188
JM
241892013-12-03 Joseph Myers <joseph@codesourcery.com>
24190
749008ff
JM
24191 [BZ #15268]
24192 [BZ #15425]
24193 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24194 (__ieee754_exp): For possibly underflowing results, check size of
24195 result and force underflow exception if required.
24196 * math/auto-libm-test-in: Add more tests of exp.
24197 * math/auto-libm-test-out: Regenerated.
24198 * sysdeps/i386/fpu/libm-test-ulps: Update.
24199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24200
17dea188
JM
24201 [BZ #16283]
24202 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24203 * math/w_exp2f.c (__exp2f): Likewise.
24204 * math/w_exp2l.c (__exp2l): Likewise.
24205 * math/auto-libm-test-in: Do not allow missing errno on exp2
24206 underflow.
24207 * math/auto-libm-test-out: Regenerated.
24208
b20de2c3
OB
242092013-12-03 Ondřej Bílka <neleai@seznam.cz>
24210
24211 [BZ #16274]
24212 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24213 handle filename validation.
24214 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24215 (do_open): Delete.
24216
d8e2dbe3
JM
242172013-12-03 Joseph Myers <joseph@codesourcery.com>
24218
34e16df5
JM
24219 [BZ #6786]
24220 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24221 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24222 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24223 <float.h>.
24224 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24226 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24227 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24228 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24229 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24230 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24231 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24232 Add more erfc tests.
24233 * math/auto-libm-test-out: Regenerated.
24234 * sysdeps/i386/fpu/libm-test-ulps: Update.
24235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24236
d8e2dbe3
JM
24237 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24238 exp2, expm1, j0 and j1.
24239 * math/auto-libm-test-out: Regenerated.
24240 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24241 (erfc_test_data): Likewise.
24242 (exp_test_data): Likewise.
24243 (exp_tonearest_test_data): Likewise.
24244 (exp_towardzero_test_data): Likewise.
24245 (exp_downward_test_data): Likewise.
24246 (exp_upward_test_data): Likewise.
24247 (exp10_test_data): Likewise.
24248 (exp2_test_data): Likewise.
24249 (expm1_test_data): Likewise.
24250 (j0_test_data): Likewise.
24251 (j1_test_data): Likewise.
24252 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24253 (input_flag_type): Add flag_xfail_rounding.
24254 (input_flags): Add xfail-rounding.
24255 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24256 (output_for_one_input_case): Handle flag_xfail_rounding.
24257 * sysdeps/i386/fpu/libm-test-ulps: Update.
24258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24259
18d14251
AJ
242602013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24261
3d2e6075 24262 [BZ #16289]
18d14251
AJ
24263 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24264 division by 0.
24265
520d437b
SP
242662013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24267
24268 [BZ #16195]
24269 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24270 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24271 (STAP_PROBE0): New macro.
24272 (STAP_PROBE1): Likewise.
24273 (STAP_PROBE2): Likewise.
24274 (STAP_PROBE3): Likewise.
24275 (STAP_PROBE4): Likewise.
24276
416e0145
OB
242772013-12-02 Ondřej Bílka <neleai@seznam.cz>
24278
24279 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24280
9d17796a
SE
242812013-12-02 Steve Ellcey <sellcey@mips.com>
24282
24283 * benchtests/Makefile (bench): Add sqrt.
24284 (LDLIBS-bench-sqrt): New.
24285 * benchtests/sqrt-input: New.
24286
f524d6a8
PS
242872013-12-02 Pavel Simerda <psimerda@redhat.com>
24288
639a0ef8
PS
24289 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24290 (GAIH_EAI): Likewise.
24291 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24292 (gaih_inet): Likewise.
24293 (getaddrinfo): Don't use GAIH_EAI.
24294
f524d6a8
PS
24295 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24296 (struct gaih): Remove definition.
24297
df3aedaf
SP
242982013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24299
24300 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24301 Use HERRNOP directly.
24302
1ab19dec
AZ
243032013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24304
b42ad38d 24305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 24306
176b0c79
JM
243072013-11-30 Joseph Myers <joseph@codesourcery.com>
24308
24309 * math/gen-auto-libm-tests.c (test_functions): Add more
24310 single-argument functions.
24311 (special_fill_pi_2): New function.
24312 (special_fill_minus_pi_2): Likewise.
24313 (special_fill_pi_6): Likewise.
24314 (special_fill_minus_pi_6): Likewise.
24315 (special_fill_pi_3): Likewise.
24316 (special_fill_2pi_3): Likewise.
24317 (special_fill_e): Likewise.
24318 (special_fill_1_e): Likewise.
24319 (special_fill_e_minus_1): Likewise.
24320 (special_real_inputs): Add more special inputs.
24321 (output_for_one_input_case): Do not require ERANGE on underflow to
24322 zero if round-to-nearest result does not underflow to zero, unless
24323 exact results required.
24324 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24325 atan, atanh, cbrt, cos and cosh.
24326 * math/auto-libm-test-out: Regenerated.
24327 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24328 (acos_tonearest_test_data): Likewise.
24329 (acos_towardzero_test_data): Likewise.
24330 (acos_downward_test_data): Likewise.
24331 (acos_upward_test_data): Likewise.
24332 (acosh_test_data): Likewise.
24333 (asin_test_data): Likewise.
24334 (asin_tonearest_test_data): Likewise.
24335 (asin_towardzero_test_data): Likewise.
24336 (asin_upward_test_data): Likewise.
24337 (asinh_test_data): Likewise.
24338 (atan_test_data): Likewise.
24339 (atanh_test_data): Likewise.
24340 (cbrt_test_data): Likewise.
24341 (cos_test_data): Likewise.
24342 (cos_tonearest_test_data): Likewise.
24343 (cos_towardzero_test_data): Likewise.
24344 (cos_downward_test_data): Likewise.
24345 (cos_upward_test_data): Likewise.
24346 (cosh_test_data): Likewise.
24347 (cosh_tonearest_test_data): Likewise.
24348 (cosh_towardzero_test_data): Likewise.
24349 (cosh_downward_test_data): Likewise.
24350 (cosh_upward_test_data): Likewise.
24351 * sysdeps/i386/fpu/libm-test-ulps: Update.
24352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24353
ffb536d0
JM
243542013-11-29 Joseph Myers <joseph@codesourcery.com>
24355
2a77a467
JM
24356 [BZ #6787]
24357 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24358 * math/w_exp10f.c (__exp10f): Likewise.
24359 * math/w_exp10l.c (__exp10l): Likewise.
24360 * math/libm-test.inc (exp10_test_data): Add more tests and expect
24361 errno settings in existing tests.
24362
ea3bc4e8
JM
24363 [BZ #14032]
24364 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24365 precision control set to double precision.
24366 * sysdeps/i386/fpu/w_sqrt.c: New file.
24367 * math/auto-libm-test-in: Add more tests.
24368 * math/auto-libm-test-out: Update.
24369
0712c9d8
JM
24370 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24371 (sqrt_test_tonearest): New function.
24372 (sqrt_towardzero_test_data): New variable.
24373 (sqrt_test_towardzero): New function.
24374 (sqrt_downward_test_data): New variable.
24375 (sqrt_test_downward): New function.
24376 (sqrt_upward_test_data): New variable.
24377 (sqrt_test_upward): New function.
24378 (main): Call the new functions.
24379
ffb536d0
JM
24380 * math/gen-auto-libm-tests.c: New file.
24381 * math/auto-libm-test-in: Likewise.
24382 * math/auto-libm-test-out: New generated file.
24383 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24384 variables.
24385 (%beautify): Add generated representations of zero.
24386 (top level): Set $auto_input and call parse_auto_input.
24387 (beautify): Remove trailing "f" from hex float constants.
24388 (parse_args): Handle XFAIL_TEST.
24389 (convert_condition): New function.
24390 (or_value): Likewise.
24391 (or_cond_value): Likewise.
24392 (generate_testfile): Handle AUTO_TESTS_* lines.
24393 (parse_auto_input): New function.
24394 * math/libm-test.inc (XFAIL_TEST): New macro.
24395 (ERRNO_UNCHANGED): Update value.
24396 (ERRNO_EDOM): Likewise.
24397 (ERRNO_ERANGE): Likewise.
24398 (IGNORE_RESULT): Likewise.
24399 (TEST_COND_flt_32): New macro.
24400 (TEST_COND_dbl_64): Likewise.
24401 (TEST_COND_ldbl_96_intel): Likewise.
24402 (TEST_COND_ldbl_96_m68k): Likewise.
24403 (TEST_COND_ldbl_128): Likewise.
24404 (TEST_COND_ldbl_128ibm): Likewise.
24405 (TEST_COND_long32): Likewise.
24406 (TEST_COND_long64): Likewise.
24407 (TEST_COND_before_rounding): Likewise.
24408 (TEST_COND_after_rounding): Likewise.
24409 (enable_test): Handle XFAIL_TEST flag.
24410 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24411 with finite results.
24412 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24413 auto-libm-test-out.
24414
acd98a8e
AK
244152013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24416 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24417
24418 [BZ #16214]
24419 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24420 __tls_get_addr_internal instead of __tls_get_offset in order to
24421 avoid GOT pointer dependency. Make rtld export
24422 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24423 __tls_get_addr since we are a __tls_get_offset platform.
24424 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24425 GOT pointer being set up before.
24426 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24427
3c1c46a6
JM
244282013-11-28 Joseph Myers <joseph@codesourcery.com>
24429
7475aef5
JM
24430 * manual/math.texi (Errors in Math Functions): Document accuracy
24431 goals.
24432
8bca7cd8
JM
24433 [BZ #15004]
24434 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24435 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24436 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24437 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24438 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24439 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24440 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24441 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24442 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24443 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24444 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24445 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24446 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24447 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24448 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24449 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24450
91a1f3fe
JM
24451 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24452 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24453 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24454 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24455 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24456 Likewise.
24457 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24458 Likewise.
24459 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24460 Likewise.
24461 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24462 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24463 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24464 atomic-feupdateenv and flt-rounds.
24465 * sysdeps/powerpc/nofpu/Versions (libc): Add
24466 __atomic_feholdexcept, __atomic_feclearexcept,
24467 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24468 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24469 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24470 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24471 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24472 here.
24473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24474 Update.
24475
c5df7609
JM
24476 * manual/arith.texi (FP Exceptions): Document that exceptions may
24477 not be raised when matherr is used.
24478 (Math Error Reporting): Document overflow in directed rounding
24479 modes. Document that errno may not be set when finite values are
24480 returned on overflow. Document intent to set errno on underflow
24481 only for underflow to zero.
24482
3c1c46a6
JM
24483 [BZ #16271]
24484 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24485 round-to-nearest then adjust result for other rounding modes.
24486 * include/fenv.h (fegetround): Use libm_hidden_proto.
24487 * math/fegetround.c (fegetround): Use libm_hidden_def.
24488 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24489 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24490 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24491 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24492 Likewise.
24493 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24494 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24495 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24496 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24497
5a4c6d53
SP
244982013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24499
24500 [BZ #16077]
24501 * nss/Versions (libnss_files): Add
24502 _nss_files_gethostbyname3_r.
24503 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24504 New function.
24505 (HOST_DB_LOOKUP): Remove macro.
24506 (_nss_files_gethostbyname_r): Implement function without the
24507 HOST_DB_LOOKUP macro.
24508 (_nss_files_gethostbyname2_r): Likewise.
24509
897b98ba
OB
245102013-11-28 Ondřej Bílka <neleai@seznam.cz>
24511
24512 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24513
6f476861
UB
245142013-11-26 Uros Bizjak <ubizjak@gmail.com>
24515
24516 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24517 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24518 warning.
24519
bd12ab55
AZ
245202013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24521
24522 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24523 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24524 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24525 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24526 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24527 __fe_nomask_env_priv and attribute_hidden.
24528 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24529 (libc_feupdateenv_test_ppc): Likewise.
24530 (libc_feresetround_ppc): Likewise.
24531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24532 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24533 compat_symbol macro.
24534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24535 (__fe_nomask_env): Likewise.
24536 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24537
52bb6543
OB
245382013-11-26 Ondřej Bílka <neleai@seznam.cz>
24539
24540 * string/Makefile: Remove ifunc tests.
24541 * string/test-string.h: Define TEST_IFUNC.
24542 * string/test-bcopy-ifunc.c: Remove.
24543 * string/test-bzero-ifunc.c: Likewise.
24544 * string/test-memccpy-ifunc.c: Likewise.
24545 * string/test-memchr-ifunc.c: Likewise.
24546 * string/test-memcmp-ifunc.c: Likewise.
24547 * string/test-memcpy-ifunc.c: Likewise.
24548 * string/test-memmem-ifunc.c: Likewise.
24549 * string/test-memmove-ifunc.c: Likewise.
24550 * string/test-mempcpy-ifunc.c: Likewise.
24551 * string/test-memrchr-ifunc.c: Likewise.
24552 * string/test-memset-ifunc.c: Likewise.
24553 * string/test-rawmemchr-ifunc.c: Likewise.
24554 * string/test-stpcpy-ifunc.c: Likewise.
24555 * string/test-stpncpy-ifunc.c: Likewise.
24556 * string/test-strcasecmp-ifunc.c: Likewise.
24557 * string/test-strcasestr-ifunc.c: Likewise.
24558 * string/test-strcat-ifunc.c: Likewise.
24559 * string/test-strchr-ifunc.c: Likewise.
24560 * string/test-strchrnul-ifunc.c: Likewise.
24561 * string/test-strcmp-ifunc.c: Likewise.
24562 * string/test-strcpy-ifunc.c: Likewise.
24563 * string/test-strcspn-ifunc.c: Likewise.
24564 * string/test-strlen-ifunc.c: Likewise.
24565 * string/test-strncasecmp-ifunc.c: Likewise.
24566 * string/test-strncat-ifunc.c: Likewise.
24567 * string/test-strncmp-ifunc.c: Likewise.
24568 * string/test-strncpy-ifunc.c: Likewise.
24569 * string/test-strnlen-ifunc.c: Likewise.
24570 * string/test-strpbrk-ifunc.c: Likewise.
24571 * string/test-strrchr-ifunc.c: Likewise.
24572 * string/test-strspn-ifunc.c: Likewise.
24573 * string/test-strstr-ifunc.c: Likewise.
24574
ab260039 245752013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
24576
24577 * benchtests/Makefile: Remove ifunc tests.
24578 * benchtests/bench-string.h: Define TEST_IFUNC.
24579 * benchtests/bench-bcopy-ifunc.c: Remove.
24580 * benchtests/bench-bzero-ifunc.c: Likewise.
24581 * benchtests/bench-memccpy-ifunc.c: Likewise.
24582 * benchtests/bench-memchr-ifunc.c: Likewise.
24583 * benchtests/bench-memcmp-ifunc.c: Likewise.
24584 * benchtests/bench-memcpy-ifunc.c: Likewise.
24585 * benchtests/bench-memmem-ifunc.c: Likewise.
24586 * benchtests/bench-memmove-ifunc.c: Likewise.
24587 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24588 * benchtests/bench-memrchr-ifunc.c: Likewise.
24589 * benchtests/bench-memset-ifunc.c: Likewise.
24590 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24591 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24592 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24593 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24594 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24595 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24596 * benchtests/bench-strcat-ifunc.c: Likewise.
24597 * benchtests/bench-strchr-ifunc.c: Likewise.
24598 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24599 * benchtests/bench-strcmp-ifunc.c: Likewise.
24600 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24601 * benchtests/bench-strcpy-ifunc.c: Likewise.
24602 * benchtests/bench-strcspn-ifunc.c: Likewise.
24603 * benchtests/bench-strlen-ifunc.c: Likewise.
24604 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24605 * benchtests/bench-strncat-ifunc.c: Likewise.
24606 * benchtests/bench-strncmp-ifunc.c: Likewise.
24607 * benchtests/bench-strncpy-ifunc.c: Likewise.
24608 * benchtests/bench-strnlen-ifunc.c: Likewise.
24609 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24610 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 24611 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
24612 * benchtests/bench-strspn-ifunc.c: Likewise.
24613 * benchtests/bench-strstr-ifunc.c: Likewise.
24614
246152013-11-26 Ondřej Bílka <neleai@seznam.cz>
24616
ab260039
OB
24617 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24618
d1d9eaf4 246192013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 24620
d1d9eaf4
OB
24621 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24622 * rt/aio.h: Likewise.
24623 * sysdeps/gnu/bits/utmp.h: Likewise.
24624 * sysdeps/gnu/bits/utmpx.h: Likewise.
24625 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24626 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24627 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24628 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24629 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24630 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24631 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24632 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24633 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24634 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24635 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24636 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24637 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24639 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24640 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24641 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24642 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24643 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24644 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24645 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24646 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24647 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24648 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24649 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24651 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24652 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24653 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24654 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24655 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24656 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24657 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24658 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24659 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24660 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24661 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24662 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24663 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24664 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24665 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24666 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24667
a7624ed9
CD
246682013-11-25 Carlos O'Donell <carlos@redhat.com>
24669
24670 [BZ #16245]
24671 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24672 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24673
63cfe52b
JM
246742013-11-25 Joseph Myers <joseph@codesourcery.com>
24675
24676 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24677 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24678 Likewise.
24679
41e8926a
AZ
246802013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24681
24682 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24683 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24684 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24685 (__fesetround): Remove define.
24686 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24687 rounding and exceptions handling.
24688 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24689 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24690 (__fe_nomask_env): Likewise.
24691 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24692 __fegetround instead of fegetround.
24693 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24694 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24695
6851bd4d
RM
246962013-11-21 Roland McGrath <roland@hack.frob.com>
24697
070906ff
RM
24698 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24699 it's there.
24700
6851bd4d
RM
24701 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24702
84ae135d
MI
247032013-11-21 Meador Inge <meadori@codesourcery.com>
24704
24705 [BZ #11157]
24706 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24707 (encrypt_r): Likewise.
24708 * malloc/obstack.h (obstack_free): Likewise.
24709 * posix/unistd.h (encrypt): Likewise.
24710
daf75146
GM
247112013-11-21 Guy Martin <gmsoft@tuxicoman.be>
24712
24713 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24714 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24715 DL_CALL_DT_FINI() that call the functions directly.
24716 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24717 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24718 * elf/dl-fini.c: Likewise.
24719
10ad46bc
OB
247202013-11-20 Ondřej Bílka <neleai@seznam.cz>
24721
24722 * malloc/hooks.c (memalign_check): Add alignment rounding.
24723 * malloc/malloc.c (_mid_memalign): New function.
24724 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24725 Implement by calling _mid_memalign.
24726 * manual/probes.texi (Memory Allocation Probes): Remove
24727 memory_valloc_retry and memory_pvalloc_retry.
24728
f3fd2628
SP
247292013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24730
4712799f
SP
24731 * locale/programs/locarchive.c (open_archive): Add const
24732 qualifier to ARCHIVEFNAME and copy default fname to
24733 DEFAULT_FNAME.
24734
0417b20f
SP
24735 [BZ #15601]
24736 * libio/tst-widetext.input: Rename Oriya to Odia.
24737 * locale/iso-639.def: Likewise.
24738
f3fd2628
SP
24739 * manual/probes.texi (Mathematical Function Probes): Add
24740 documentation for sin, cos, asin and acos probes.
24741 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24742 (__sin32): Add slowasin probe.
24743 (__cos32): Add slowacos probe.
24744 (__mpsin): Add slowsin probe.
24745 (__mpcos): Add slowcos probe.
24746
73c1ce4f
JM
247472013-11-19 Joseph Myers <joseph@codesourcery.com>
24748
24749 [BZ #15483]
24750 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24751 thread-local __sim_exceptions_thread and global
24752 __sim_exceptions_global.
24753 (__sim_disabled_exceptions): Change to thread-local
24754 __sim_disabled_exceptions_thread and global
24755 __sim_disabled_exceptions_global.
24756 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24757 and global __sim_round_mode_global.
24758 (__simulate_exceptions): Use thread-local floating-point state and
24759 set global state from it as needed.
24760 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24761 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24762 __sim_round_mode_thread.
24763 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24764 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24765 and global __sim_exceptions_global.
24766 (__sim_disabled_exceptions): Change to thread-local
24767 __sim_disabled_exceptions_thread and global
24768 __sim_disabled_exceptions_global.
24769 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24770 and global __sim_round_mode_global.
24771 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24772 (SIM_SET_GLOBAL): Likewise.
24773 * sysdeps/powerpc/soft-fp/sfp-machine.h
24774 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24775 __sim_round_mode_thread.
24776 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24777 __sim_disabled_exceptions_thread.
24778 (__sim_exceptions): Change to __sim_exceptions_thread.
24779 (__sim_disabled_exceptions): Change to
24780 __sim_disabled_exceptions_thread.
24781 (__sim_round_mode): Change to __sim_round_mode_thread.
24782 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24783 thread-local floating-point state and set global state from it as
24784 needed.
24785 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24786 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24787 (__sim_disabled_exceptions): Remove extern declaration.
24788 (feenableexcept): Use thread-local floating-point state and set
24789 global state from it as needed.
24790 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24791 extern declaration.
24792 (__sim_disabled_exceptions): Likewise.
24793 (__sim_round_mode): Likewise.
24794 (__fegetenv): Use thread-local floating-point state.
24795 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24796 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24797 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24798 floating-point state and set global state from it as needed.
24799 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24800 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24801 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24802 Likewise.
24803 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24804 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24805 Likewise.
24806 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24807 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24808 Use __sim_round_mode_thread.
24809 * math/test-fenv-tls.c: New file.
24810 * math/Makefile (tests): Add test-fenv-tls.
24811 ($(objpfx)test-fenv-tls): Depend on
24812 $(common-objpfx)nptl/libpthread.so.
24813
b5449b12
AS
248142013-11-19 Andreas Schwab <schwab@suse.de>
24815
24816 * locale/programs/locale.c (show_info): Decode wordarray elements.
24817 * locale/categories.def (LC_MONETARY): Add element for
24818 _NL_MONETARY_CRNCYSTR.
24819 * locale/C-monetary.c (conversion_rate): New variable.
24820 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24821 element.
24822
e186536b
CM
248232013-11-18 Chris Metcalf <cmetcalf@tilera.com>
24824
24825 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24826 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24827
5c349950
PP
248282013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24829
24830 * elf/Makefile (tst-auxv): New test.
24831 * elf/tst-auxv.c: New
24832 * elf/rtld.c (dl_main): Adjust AT_EXECFN
24833
699df45b
JM
248342013-11-18 Joseph Myers <joseph@codesourcery.com>
24835
24836 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24837 (hidden_proto): Caller changed.
24838 (hidden_tls_proto): New macro.
24839 (libc_hidden_tls_proto): Likewise.
24840 (rtld_hidden_tls_proto): Likewise.
24841 (libm_hidden_tls_proto): Likewise.
24842 (libresolv_hidden_tls_proto): Likewise.
24843 (librt_hidden_tls_proto): Likewise.
24844 (libdl_hidden_tls_proto): Likewise.
24845 (libnss_files_hidden_tls_proto): Likewise.
24846 (libnsl_hidden_tls_proto): Likewise.
24847 (libnss_nisplus_hidden_tls_proto): Likewise.
24848 (libutil_hidden_tls_proto): Likewise.
24849
b7589107
OB
248502013-11-18 Ondřej Bílka <neleai@seznam.cz>
24851
24852 [BZ #10253]
24853 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24854 (decompose_rpath): Defer expansion to fillin_rpath.
24855 (_dl_init_paths): Pass linkmap to fillin_rpath.
24856
250c23bd
RS
248572013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24858
24859 * benchtests/Makefile: Add strsep.
24860 * benchtests/bench-strsep.c: New file: strsep benchtest.
24861 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24862
a7931fcf
AS
248632013-11-18 Andreas Schwab <schwab@suse.de>
24864
24865 * locale/programs/locale.c (show_info) [case byte]: Check for
24866 '\377' instead of '\177'.
24867 * locale/C-monetary.c (not_available): Always use "\377".
24868 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
24869 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
24870 detect unavailable sign_posn locale elements.
24871 * locale/localeconv.c (__localeconv): For grouping and
24872 mon_grouping handle "\177" and "\377" like no grouping.
24873 (INT_ELEM): New macro. Use it to set all numeric members.
24874 * locale/programs/ld-monetary.c (monetary_read)
24875 <tok_mon_grouping>: Normalize single -1 to the empty string.
24876 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24877 Likewise.
24878
728dab0e
OB
248792013-11-07 Ondřej Bílka <neleai@seznam.cz>
24880
24881 [BZ #16055]
24882 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24883 when we match (nil).
24884 * stdio-common/tst-sscanf.c (struct test): Add testcase.
24885
66294491
JM
248862013-11-16 Joseph Myers <joseph@codesourcery.com>
24887
ce665817
JM
24888 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24889 (NO_TEST_INLINE): Update value.
24890 (ERRNO_UNCHANGED): Likewise.
24891 (ERRNO_EDOM): Likewise.
24892 (ERRNO_ERANGE): Likewise.
24893 (IGNORE_RESULT): Likewise.
24894 (check_float_internal): Check signs of NaN results if
24895 TEST_NAN_SIGN used.
24896 (check_complex): Pass TEST_NAN_SIGN flag through to second
24897 check_float_internal call.
24898 (copysign_test_data): Add tests with quiet NaNs as second
24899 argument. Use TEST_NAN_SIGN.
24900 (fabs_test_data): Add test of negative quiet NaN argument. Use
24901 TEST_NAN_SIGN.
24902 (signbit_test_data): Add tests of quiet NaN argument.
24903 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24904
ee1466a9
JM
24905 * math/gen-libm-test.pl (show_exceptions): Take extra argument
24906 $ignore_result.
24907 (parse_args): Handle function results specified as IGNORE.
24908 * math/libm-test.inc (IGNORE_RESULT): New macro.
24909 (check_float_internal): Do not check numerical result if flag
24910 IGNORE_RESULT set.
24911 (check_complex): Pass through IGNORE_RESULT to second
24912 check_float_internal call.
24913 (check_int): Do not check numerical result if flag IGNORE_RESULT
24914 set.
24915 (check_long): Likewise.
24916 (check_bool): Likewise.
24917 (check_longlong): Likewise.
24918 (lrint_test_data): Add tests of infinite and NaN arguments.
24919 (lrint_tonearest_test_data): Likewise.
24920 (lrint_towardzero_test_data): Likewise.
24921 (lrint_downward_test_data): Likewise.
24922 (lrint_upward_test_data): Likewise.
24923 (llrint_test_data): Likewise.
24924 (llrint_tonearest_test_data): Likewise.
24925 (llrint_towardzero_test_data): Likewise.
24926 (llrint_downward_test_data): Likewise.
24927 (llrint_upward_test_data): Likewise.
24928 (lround_test_data): Likewise.
24929 (llround_test_data): Likewise.
24930
14407b7e
JM
24931 * math/libm-test.inc (NO_TEST_INLINE): New macro.
24932 (ERRNO_UNCHANGED): Update value.
24933 (ERRNO_EDOM): Likewise.
24934 (ERRNO_ERANGE): Likewise.
24935 (NO_TEST_INLINE_FLOAT): New macro.
24936 (NO_TEST_INLINE_DOUBLE): Likewise.
24937 (enable_test): New function.
24938 (RUN_TEST_f_f): Check enable_test before running test.
24939 (RUN_TEST_2_f): Likewise.
24940 (RUN_TEST_fff_f): Likewise.
24941 (RUN_TEST_c_f): Likewise.
24942 (RUN_TEST_f_f1): Likewise.
24943 (RUN_TEST_fF_f1): Likewise.
24944 (RUN_TEST_fI_f1): Likewise.
24945 (RUN_TEST_ffI_f1): Likewise.
24946 (RUN_TEST_c_c): Likewise.
24947 (RUN_TEST_cc_c): Likewise.
24948 (RUN_TEST_f_i): Likewise.
24949 (RUN_TEST_f_i_tg): Likewise.
24950 (RUN_TEST_ff_i_tg): Likewise.
24951 (RUN_TEST_f_b): Likewise.
24952 (RUN_TEST_f_b_tg): Likewise.
24953 (RUN_TEST_f_l): Likewise.
24954 (RUN_TEST_f_L): Likewise.
24955 (RUN_TEST_fFF_11): Likewise.
24956 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24957 conditionals.
24958 (cosh_test_data): Likewise.
24959 (exp_test_data): Likewise.
24960 (expm1_test_data): Likewise.
24961 (hypot_test_data): Likewise.
24962 (pow_test_data): Likewise.
24963 (sinh_test_data): Likewise.
24964 (tanh_test_data): Likewise.
24965 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24966 flags argument.
24967
ca07f197
JM
24968 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24969 tests with quiet NaN input and output.
24970 (acosh_test_data): Likewise.
24971 (asin_test_data): Likewise.
24972 (asinh_test_data): Likewise.
24973 (atan_test_data): Likewise.
24974 (atanh_test_data): Likewise.
24975 (atan2_test_data): Likewise.
24976 (cbrt_test_data): Likewise.
24977 (cos_test_data): Likewise.
24978 (cosh_test_data): Likewise.
24979 (erf_test_data): Likewise.
24980 (erfc_test_data): Likewise.
24981 (exp_test_data): Likewise.
24982 (exp10_test_data): Likewise.
24983 (exp2_test_data): Likewise.
24984 (expm1_test_data): Likewise.
24985 (hypot_test_data): Likewise.
24986 (j0_test_data): Likewise.
24987 (j1_test_data): Likewise.
24988 (jn_test_data): Likewise.
24989 (lgamma_test_data): Likewise.
24990 (log_test_data): Likewise.
24991 (log10_test_data): Likewise.
24992 (log1p_test_data): Likewise.
24993 (log2_test_data): Likewise.
24994 (pow_test_data): Likewise.
24995 (scalb_test_data): Likewise.
24996 (sin_test_data): Likewise.
24997 (sincos_test_data): Likewise.
24998 (sinh_test_data): Likewise.
24999 (tan_test_data): Likewise.
25000 (tanh_test_data): Likewise.
25001 (tgamma_test_data): Likewise.
25002 (y0_test_data): Likewise.
25003 (y1_test_data): Likewise.
25004 (yn_test_data): Likewise.
25005
66294491
JM
25006 [BZ #16167]
25007 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25008 argument being NaN and avoid computations with second argument in
25009 that case.
25010 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25011 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25012 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25013
1820b143
CL
250142013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25015
25016 * locale/iso-639.def: Add Chitwani Tharu (the).
25017
714bd261
AS
250182013-11-14 Andreas Schwab <schwab@suse.de>
25019
25020 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25021 word instead of empty string.
25022
7ab44563
AZ
250232013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25024
25025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25026 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25028 (__fe_nomask_env): Likewise.
25029
e8470ea2
SE
250302013-11-13 Steve Ellcey <sellcey@mips.com>
25031
25032 * benchtests/bench-timing.h: Include time.h.
25033
17c1d9f0
L
250342013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25035
25036 [BZ #15997]
25037 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25038 to 3.4.0 for x32.
25039 * sysdeps/unix/sysv/linux/configure: Regenerated.
25040
9310c284
JM
250412013-11-13 Joseph Myers <joseph@codesourcery.com>
25042
25043 [BZ #16151]
25044 * stdlib/strtod_l.c (round_and_return): Do not consider
25045 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25046 exponent one less than half the least subnormal exponent.
25047 * stdlib/test-strtod-round-data: Add more tests.
25048 * stdlib/tst-strtod-round.c (tests): Regenerated.
25049
7a2ad8cf
AZ
250502013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25051
25052 [BZ #14143]
25053 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25054 (__fe_mask_env): Likewise.
25055 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25056 libm_hidden_proto and add function prototype.
25057 (__fe_mask_env): Add function prototype.
25058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25059 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25061 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25063 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25064
50727aa7
MS
250652013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25066
b2f386c1 25067 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
25068 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25069
a615be46
MS
250702013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25071
25072 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25073 of htab_find_slot().
25074
7ddace62
DM
250752013-11-11 David S. Miller <davem@davemloft.net>
25076
25077 [BZ #16150]
25078 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25079 symbol in the non-vis3 case in static builds.
25080 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25081 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25082 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25083 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25084
9182aa67
JK
250852013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25086
25087 [BZ #387]
25088 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25089 it is empty.
25090
450a2e2d
AZ
250912013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25092
b2f386c1
SP
25093 * benchtests/Makefile: Add bench-strtod.
25094 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 25095
8ec3f656
AS
250962013-11-11 Andreas Schwab <schwab@suse.de>
25097
25098 [BZ #16153]
25099 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25100 terminating NUL in key length.
25101
76a9b998
AZ
251022013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25103
25104 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25105 Add artificial ODP entry for vDSO symbol for PPC64.
25106 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25107 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25108
e4368156
OB
251092013-11-07 Ondřej Bílka <neleai@seznam.cz>
25110
25111 [BZ #15374]
25112 * nss/getent.c (services_keys): Recognize services starting with digit.
25113
8d6bb57c
DM
251142013-11-06 David S. Miller <davem@davemloft.net>
25115
25116 [BZ #15985]
25117 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25118 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25119
e256c421
WN
251202013-11-06 Will Newton <will.newton@linaro.org>
25121
25122 * manual/memory.texi (Malloc Examples): Remove register
25123 keyword from examples.
25124
f6e12daa 251252013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 25126
f6e12daa 25127 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 25128
9d880655
AS
251292013-11-04 Joseph Myers <joseph@codesourcery.com>
25130
fd2f9486 25131 [BZ #6981]
9d880655
AS
25132 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25133 depending on [__GCC_IEC_559 > 0].
25134 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25135 depending on [__GCC_IEC_559_COMPLEX > 0].
25136
ae129d3c
CL
251372013-11-03 Chris Leonard <cjl@sugarlabs.org>
25138
25139 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25140 to iso-639.def.
25141
4a15c2a4 251422013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
25143
25144 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25145
8b35e35d
OB
251462013-11-01 Ondřej Bílka <neleai@seznam.cz>
25147
25148 [BZ #16112]
25149 * malloc/malloc (malloc_info): Do not handle first bin as
25150 special case.
25151
1d70fd6c
CL
251522013-11-01 Chris Leonard <cjl@sugarlabs.org>
25153
25154 * locale/iso-639.def: Add Central Nahuatl (nhn).
25155
8c5c2600
BH
251562013-11-01 Bruno Haible <bruno@clisp.org>
25157
25158 [BZ #7003]
25159 * manual/math.texi (BSD Random): Specify range upper bound as
25160 in POSIX.
25161
da5579c2
CL
251622013-10-31 Chris Leonard <cjl@sugarlabs.org>
25163
25164 * locale/iso-639.def: Add Meadow Mari (mhr).
25165
5d30d853
OB
251662013-10-31 Ondřej Bílka <neleai@seznam.cz>
25167
25168 [BZ #14752], [BZ #15763]
25169 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25170 Validate name.
25171 * rt/tst_shm.c: Add test for escaping directory.
25172
a4966c61
AS
251732013-10-31 Andreas Schwab <schwab@suse.de>
25174
8a43e768 25175 [BZ #15917]
a4966c61
AS
25176 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25177 followed by 'x' as part of digit sequence.
25178 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25179
28d708c4
MAP
251802013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25181
25182 [BZ #16037]
25183 * configure.ac: allow GNU Make 4.0 and greater.
25184 * configure: Regenerated.
25185
a56ee40b
WN
251862013-10-30 Will Newton <will.newton@linaro.org>
25187
25188 [BZ #16038]
25189 * malloc/hooks.c (memalign_check): Limit alignment to the
25190 maximum representable power of two.
25191 * malloc/malloc.c (__libc_memalign): Likewise.
25192 * malloc/tst-memalign.c (do_test): Add test for very
25193 large alignment values.
25194 * malloc/tst-posix_memalign.c (do_test): Likewise.
25195
c6e4925d
OB
251962013-10-30 Ondřej Bílka <neleai@seznam.cz>
25197
25198 [BZ #11087]
25199 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25200 (munmap_chunk): Likewise.
25201 (mremap_chunk): Likewise.
25202
252032013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 25204
8a43e768 25205 [BZ #15799]
bbea82f7
OB
25206 * stdlib/div.c (div): Remove obsolete code.
25207 * stdlib/ldiv.c (ldiv): Likewise.
25208 * stdlib/lldiv.c (lldiv): Likewise.
25209
977f4b31
SP
252102013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25211
25212 [BZ #16071]
25213 * nss/nss_files/files-XXX.c (get_contents_ret): New
25214 enumerator.
25215 (get_contents): New function.
25216 (internal_getent): Use it. Expand size of LINEBUFLEN.
25217
cb8a6dbd
MF
252182013-10-30 Mike Frysinger <vapier@gentoo.org>
25219
25220 * configure.in: Moved to ...
25221 * configure.ac: ... here. Change reference to configure.in
25222 to configure.ac.
25223 * sysdeps/arm/preconfigure.ac: ... here.
25224 configure.in to configure.ac.
25225 * sysdeps/gnu/configure.in: Moved to ...
25226 * sysdeps/gnu/configure.ac: ... here.
25227 * sysdeps/i386/configure.in: Moved to ...
25228 * sysdeps/i386/configure.ac: ... here.
25229 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25230 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25231 * sysdeps/mach/configure.in: Moved to ...
25232 * sysdeps/mach/configure.ac: ... here.
25233 * sysdeps/mach/hurd/configure.in: Moved to ...
25234 * sysdeps/mach/hurd/configure.ac: ... here.
25235 * sysdeps/powerpc/configure.in: Moved to ...
25236 * sysdeps/powerpc/configure.ac: ... here.
25237 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25238 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25239 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25240 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25241 * sysdeps/s390/s390-32/configure.in: Moved to ...
25242 * sysdeps/s390/s390-32/configure.ac: ... here.
25243 * sysdeps/s390/s390-64/configure.in: Moved to ...
25244 * sysdeps/s390/s390-64/configure.ac: ... here.
25245 * sysdeps/sh/configure.in: Moved to ...
25246 * sysdeps/sh/configure.ac: ... here.
25247 * sysdeps/sparc/configure.in: Moved to ...
25248 * sysdeps/sparc/configure.ac: ... here.
25249 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25250 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25251 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25252 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25253 * sysdeps/x86_64/configure.in: Moved to ...
25254 * sysdeps/x86_64/configure.ac: ... here.
25255 * sysdeps/x86_64/preconfigure.in: Moved to ...
25256 * sysdeps/x86_64/preconfigure.ac: ... here.
25257 * aclocal.m4: Change reference to configure.in to configure.ac.
25258 * config.h.in: Likewise.
25259 * manual/install.texi: Likewise.
25260 * manual/maint.texi: Likewise.
25261 * Makefile: Likewise.
25262 * malloc/Makefile: Likewise.
25263 * nscd/Makefile: Likewise.
25264 * Makeconfig: Change reference to configure.in and
25265 preconfigure.in to configure.ac and preconfigure.ac
25266 respectively.
25267 * INSTALL: Regenerated.
25268 * configure: Likewise.
25269 * sysdeps/gnu/configure: Likewise.
25270 * sysdeps/i386/configure: Likewise.
25271 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25272 * sysdeps/mach/configure: Likewise.
25273 * sysdeps/mach/hurd/configure: Likewise.
25274 * sysdeps/powerpc/configure: Likewise.
25275 * sysdeps/powerpc/powerpc32/configure: Likewise.
25276 * sysdeps/powerpc/powerpc64/configure: Likewise.
25277 * sysdeps/s390/s390-32/configure: Likewise.
25278 * sysdeps/s390/s390-64/configure: Likewise.
25279 * sysdeps/sh/configure: Likewise.
25280 * sysdeps/sparc/configure: Likewise.
25281 * sysdeps/unix/sysv/linux/configure: Likewise.
25282 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25283 * sysdeps/x86_64/configure: Likewise.
25284 * sysdeps/x86_64/preconfigure: Likewise.
25285
36a4953a
AS
252862013-10-29 Andreas Schwab <schwab@suse.de>
25287
25288 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25289
c79a1204
SP
252902013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25291
dfa1b402
SP
25292 * benchtests/pow-inputs: Add new inputs.
25293
54f73d9c
SP
25294 * benchtests/exp-inputs: Add new inputs.
25295
c79a1204
SP
25296 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25297 conditional check for return value.
25298 (__cos32): Likewise.
25299
67beb545 253002013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
25301
25302 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25303 to provide a boost for large inputs with word alignment.
25304 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25305 implementation based on optimized PPC64 strcpy.
25306 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25307 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25308 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25309 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25310
151659f6
OB
253112013-10-25 Ondřej Bílka <neleai@seznam.cz>
25312
482a077e 25313 [BZ #2801]
151659f6
OB
25314 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25315
10b0f26b
OB
253162013-10-25 Ondřej Bílka <neleai@seznam.cz>
25317
25318 [BZ #14876]
25319 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25320 * time/tst-strptime.c (day_tests): Add testcase.
25321
ca42d35e
OB
253222013-10-25 Ondřej Bílka <neleai@seznam.cz>
25323
482a077e 25324 [BZ #14029]
ca42d35e
OB
25325 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25326
52e6d801
FB
253272013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25328
25329 [BZ #16074]
25330 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25331 MAP_FAILED on error.
25332
7cbcdb36
SP
253332013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25334
25335 [BZ #16072]
25336 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25337 heap for large requests.
25338
894f3f10
AM
253392013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25340
25341 [BZ #9954]
25342 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25343 result if the result has no associated interface.
25344 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25345 interface for all 127.X.Y.Z addresses.
25346
b85545a6
CL
253472013-10-24 Chris Leonard <cjl@sugarlabs.org>
25348
25349 * locale/iso-639.def: Add Ligurian (lij)
25350
d1f23d46
OB
253512013-10-21 Ondřej Bílka <neleai@seznam.cz>
25352
25353 [BZ #15825]
25354 * sunrpc/rpc_main.c: Document rpcgen -5.
25355
4db5b08f
MS
253562013-10-19 Michael Stahl <mstahl@redhat.com>
25357
25358 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25359
a471e96a
OB
253602013-10-19 Ondřej Bílka <neleai@seznam.cz>
25361
d1f23d46 25362 [BZ #10278]
a471e96a
OB
25363 * posix/glob.c: Match only directories when trailing slash is present.
25364 * posix/tst-gnuglob.c (my_opendir): Do not open files.
25365 (main): Add testcase.
25366
45c30c61
OB
253672013-10-19 Ondřej Bílka <neleai@seznam.cz>
25368
25369 [BZ #15670]
25370 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25371
484c12fb
CD
253722013-10-18 Carlos O'Donell <carlos@redhat.com>
25373
3d7dc513
CD
25374 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25375 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25376 AUTH_DES and cindex for FIPS 140-2.
25377 (DES Encryption): Add cindex FIPS 46-3.
25378
484c12fb
CD
25379 * locale/locarchive.h (struct locarhandle): Add fname.
25380 * locale/programs/localedef.c (main): Pass ARGV[remaining]
25381 if an optional argument was specified to --list-archive,
25382 otherwise NULL.
25383 * locale/programs/locarchive.c (show_archive_content): Take new
25384 argument fname and pass it via ah.fname to open_archive.
25385 * locale/programs/localedef.h: Update decl.
25386 (open_archive): If AH->fname is non-null, open that file
25387 rather than the default file name, and don't ignore ENOENT.
25388 (create_archive): Set AH.fname to NULL.
25389 (delete_locales_from_archive): Likewise.
25390 (add_locales_to_archive): Likewise.
25391 * locale/programs/locfile.c (write_all_categories): Likewise.
25392
3c8325fb
JM
253932013-10-18 Joseph Myers <joseph@codesourcery.com>
25394 Aldy Hernandez <aldyh@redhat.com>
25395
25396 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25397 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25398 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25399 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25400 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25401 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25402 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25403 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25404 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25405 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25406 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25407 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25408 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25409 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25410 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25411 Likewise.
25412 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25413 Likewise.
25414 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25415 Likewise.
25416 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25417 Likewise.
25418 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25419 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25420 Likewise.
25421 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25422 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25423 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25424 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25425 Likewise.
25426 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25427 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25428 * sysdeps/powerpc/preconfigure: Likewise.
25429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25430 Likewise.
25431 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25432 Replace contents of file by #include of <fenv_libc.h>.
25433 * sysdeps/powerpc/soft-fp/sfp-machine.h
25434 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25435 and <sys/prctl.h>.
25436 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25440 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25441 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25444 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25445 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25446 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25447 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25449 Allow copysignl PLT reference to be missing.
25450
5abe0682
RS
254512013-10-18 Richard Sandiford <richard@codesourcery.com>
25452 Joseph Myers <joseph@codesourcery.com
25453
25454 [BZ #15948]
25455 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25456 single character.
25457 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25458
c7738d08
SP
254592013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25460
25461 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25462 * elf/tst-tls1.c: Likewise.
25463 * elf/tst-tls10.h: Likewise.
25464 * elf/tst-tls14.c: Likewise.
25465 * elf/tst-tls2.c: Likewise.
25466 * elf/tst-tls3.c: Likewise.
25467 * elf/tst-tls4.c: Likewise.
25468 * elf/tst-tls5.c: Likewise.
25469 * elf/tst-tls6.c: Likewise.
25470 * elf/tst-tls7.c: Likewise.
25471 * elf/tst-tls8.c: Likewise.
25472 * elf/tst-tls9.c: Likewise.
25473 * elf/tst-tlsmod1.c: Likewise.
25474 * elf/tst-tlsmod13.c: Likewise.
25475 * elf/tst-tlsmod13a.c: Likewise.
25476 * elf/tst-tlsmod14a.c: Likewise.
25477 * elf/tst-tlsmod16a.c: Likewise.
25478 * elf/tst-tlsmod16b.c: Likewise.
25479 * elf/tst-tlsmod2.c: Likewise.
25480 * elf/tst-tlsmod3.c: Likewise.
25481 * elf/tst-tlsmod4.c: Likewise.
25482 * elf/tst-tlsmod5.c: Likewise.
25483 * elf/tst-tlsmod6.c: Likewise.
25484
0bfcf2c7
OB
254852013-10-18 Ondřej Bílka <neleai@seznam.cz>
25486
25487 [BZ #12486]
25488 * malloc/malloc.c: remove checks for statistics.
25489
264aad1e
OB
254902013-10-17 Ondřej Bílka <neleai@seznam.cz>
25491
25492 [BZ #15277]
25493 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25494 * inet/tst-network.c: Add testcase.
25495
b957ced8
AS
254962013-10-17 Andreas Schwab <schwab@suse.de>
25497
25498 [BZ #15218]
25499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25500 to determine canonical name.
25501
c5d5d574
OB
255022013-10-17 Ondřej Bílka <neleai@seznam.cz>
25503
25504 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25505 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25506 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25509 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25510 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25528 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25529 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25530 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25531 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25532 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25533 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25535 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25536 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25538 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25540 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25541 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25542 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25543 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25544 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25545 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25546 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25547 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25549 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25550 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25551 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25552 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25553 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25554 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25555 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25556 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25557 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25558 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25559 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25560 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25561 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25562
e5c2c2d0
JM
255632013-10-17 Joseph Myers <joseph@codesourcery.com>
25564
25565 [BZ #16041]
25566 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25567 make result into a quiet NaN.
25568
51ca9e29
JM
255692013-10-16 Joseph Myers <joseph@codesourcery.com>
25570
25571 * soft-fp/adddf3.c: Fix horizontal whitespace.
25572 * soft-fp/addsf3.c: Likewise.
25573 * soft-fp/addtf3.c: Likewise.
25574 * soft-fp/divdf3.c: Likewise.
25575 * soft-fp/divsf3.c: Likewise.
25576 * soft-fp/divtf3.c: Likewise.
25577 * soft-fp/double.h: Likewise.
25578 * soft-fp/eqdf2.c: Likewise.
25579 * soft-fp/eqsf2.c: Likewise.
25580 * soft-fp/eqtf2.c: Likewise.
25581 * soft-fp/extenddftf2.c: Likewise.
25582 * soft-fp/extended.h: Likewise.
25583 * soft-fp/extendsfdf2.c: Likewise.
25584 * soft-fp/extendsftf2.c: Likewise.
25585 * soft-fp/extendxftf2.c: Likewise.
25586 * soft-fp/fixdfdi.c: Likewise.
25587 * soft-fp/fixdfsi.c: Likewise.
25588 * soft-fp/fixdfti.c: Likewise.
25589 * soft-fp/fixsfdi.c: Likewise.
25590 * soft-fp/fixsfsi.c: Likewise.
25591 * soft-fp/fixsfti.c: Likewise.
25592 * soft-fp/fixtfdi.c: Likewise.
25593 * soft-fp/fixtfsi.c: Likewise.
25594 * soft-fp/fixtfti.c: Likewise.
25595 * soft-fp/fixunsdfdi.c: Likewise.
25596 * soft-fp/fixunsdfsi.c: Likewise.
25597 * soft-fp/fixunsdfti.c: Likewise.
25598 * soft-fp/fixunssfdi.c: Likewise.
25599 * soft-fp/fixunssfsi.c: Likewise.
25600 * soft-fp/fixunssfti.c: Likewise.
25601 * soft-fp/fixunstfdi.c: Likewise.
25602 * soft-fp/fixunstfsi.c: Likewise.
25603 * soft-fp/fixunstfti.c: Likewise.
25604 * soft-fp/floatdidf.c: Likewise.
25605 * soft-fp/floatdisf.c: Likewise.
25606 * soft-fp/floatditf.c: Likewise.
25607 * soft-fp/floatsidf.c: Likewise.
25608 * soft-fp/floatsisf.c: Likewise.
25609 * soft-fp/floatsitf.c: Likewise.
25610 * soft-fp/floattidf.c: Likewise.
25611 * soft-fp/floattisf.c: Likewise.
25612 * soft-fp/floattitf.c: Likewise.
25613 * soft-fp/floatundidf.c: Likewise.
25614 * soft-fp/floatundisf.c: Likewise.
25615 * soft-fp/floatunditf.c: Likewise.
25616 * soft-fp/floatunsidf.c: Likewise.
25617 * soft-fp/floatunsisf.c: Likewise.
25618 * soft-fp/floatunsitf.c: Likewise.
25619 * soft-fp/floatuntidf.c: Likewise.
25620 * soft-fp/floatuntisf.c: Likewise.
25621 * soft-fp/floatuntitf.c: Likewise.
25622 * soft-fp/fmadf4.c: Likewise.
25623 * soft-fp/fmasf4.c: Likewise.
25624 * soft-fp/fmatf4.c: Likewise.
25625 * soft-fp/gedf2.c: Likewise.
25626 * soft-fp/gesf2.c: Likewise.
25627 * soft-fp/getf2.c: Likewise.
25628 * soft-fp/ledf2.c: Likewise.
25629 * soft-fp/lesf2.c: Likewise.
25630 * soft-fp/letf2.c: Likewise.
25631 * soft-fp/muldf3.c: Likewise.
25632 * soft-fp/mulsf3.c: Likewise.
25633 * soft-fp/multf3.c: Likewise.
25634 * soft-fp/negdf2.c: Likewise.
25635 * soft-fp/negsf2.c: Likewise.
25636 * soft-fp/negtf2.c: Likewise.
25637 * soft-fp/op-1.h: Likewise.
25638 * soft-fp/op-2.h: Likewise.
25639 * soft-fp/op-4.h: Likewise.
25640 * soft-fp/op-8.h: Likewise.
25641 * soft-fp/op-common.h: Likewise.
25642 * soft-fp/quad.h: Likewise.
25643 * soft-fp/single.h: Likewise.
25644 * soft-fp/soft-fp.h: Likewise.
25645 * soft-fp/sqrtdf2.c: Likewise.
25646 * soft-fp/sqrtsf2.c: Likewise.
25647 * soft-fp/sqrttf2.c: Likewise.
25648 * soft-fp/subdf3.c: Likewise.
25649 * soft-fp/subsf3.c: Likewise.
25650 * soft-fp/subtf3.c: Likewise.
25651 * soft-fp/truncdfsf2.c: Likewise.
25652 * soft-fp/trunctfdf2.c: Likewise.
25653 * soft-fp/trunctfsf2.c: Likewise.
25654 * soft-fp/trunctfxf2.c: Likewise.
25655 * soft-fp/unorddf2.c: Likewise.
25656 * soft-fp/unordsf2.c: Likewise.
25657 * soft-fp/unordtf2.c: Likewise.
25658
9ebb0332
JM
256592013-10-15 Joseph Myers <joseph@codesourcery.com>
25660
25661 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25662 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25663
4b1a6d8b
OB
256642013-10-15 Ondřej Bílka <neleai@seznam.cz>
25665
25666 * elf/dl-libc.c: Clear initfini list after freeing.
25667
1e145589
JM
256682013-10-14 Joseph Myers <joseph@codesourcery.com>
25669
25670 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25671 * soft-fp/addsf3.c: Likewise.
25672 * soft-fp/addtf3.c: Likewise.
25673 * soft-fp/divdf3.c: Likewise.
25674 * soft-fp/divsf3.c: Likewise.
25675 * soft-fp/divtf3.c: Likewise.
25676 * soft-fp/double.h: Likewise.
25677 * soft-fp/eqdf2.c: Likewise.
25678 * soft-fp/eqsf2.c: Likewise.
25679 * soft-fp/eqtf2.c: Likewise.
25680 * soft-fp/extenddftf2.c: Likewise.
25681 * soft-fp/extended.h: Likewise.
25682 * soft-fp/extendsfdf2.c: Likewise.
25683 * soft-fp/extendsftf2.c: Likewise.
25684 * soft-fp/extendxftf2.c: Likewise.
25685 * soft-fp/fixdfdi.c: Likewise.
25686 * soft-fp/fixdfsi.c: Likewise.
25687 * soft-fp/fixdfti.c: Likewise.
25688 * soft-fp/fixsfdi.c: Likewise.
25689 * soft-fp/fixsfsi.c: Likewise.
25690 * soft-fp/fixsfti.c: Likewise.
25691 * soft-fp/fixtfdi.c: Likewise.
25692 * soft-fp/fixtfsi.c: Likewise.
25693 * soft-fp/fixtfti.c: Likewise.
25694 * soft-fp/fixunsdfdi.c: Likewise.
25695 * soft-fp/fixunsdfsi.c: Likewise.
25696 * soft-fp/fixunsdfti.c: Likewise.
25697 * soft-fp/fixunssfdi.c: Likewise.
25698 * soft-fp/fixunssfsi.c: Likewise.
25699 * soft-fp/fixunssfti.c: Likewise.
25700 * soft-fp/fixunstfdi.c: Likewise.
25701 * soft-fp/fixunstfsi.c: Likewise.
25702 * soft-fp/fixunstfti.c: Likewise.
25703 * soft-fp/floatdidf.c: Likewise.
25704 * soft-fp/floatdisf.c: Likewise.
25705 * soft-fp/floatditf.c: Likewise.
25706 * soft-fp/floatsidf.c: Likewise.
25707 * soft-fp/floatsisf.c: Likewise.
25708 * soft-fp/floatsitf.c: Likewise.
25709 * soft-fp/floattidf.c: Likewise.
25710 * soft-fp/floattisf.c: Likewise.
25711 * soft-fp/floattitf.c: Likewise.
25712 * soft-fp/floatundidf.c: Likewise.
25713 * soft-fp/floatundisf.c: Likewise.
25714 * soft-fp/floatunsidf.c: Likewise.
25715 * soft-fp/floatunsisf.c: Likewise.
25716 * soft-fp/floatuntidf.c: Likewise.
25717 * soft-fp/floatuntisf.c: Likewise.
25718 * soft-fp/floatuntitf.c: Likewise.
25719 * soft-fp/fmadf4.c: Likewise.
25720 * soft-fp/fmasf4.c: Likewise.
25721 * soft-fp/fmatf4.c: Likewise.
25722 * soft-fp/gedf2.c: Likewise.
25723 * soft-fp/gesf2.c: Likewise.
25724 * soft-fp/getf2.c: Likewise.
25725 * soft-fp/ledf2.c: Likewise.
25726 * soft-fp/lesf2.c: Likewise.
25727 * soft-fp/letf2.c: Likewise.
25728 * soft-fp/muldf3.c: Likewise.
25729 * soft-fp/mulsf3.c: Likewise.
25730 * soft-fp/multf3.c: Likewise.
25731 * soft-fp/negdf2.c: Likewise.
25732 * soft-fp/negsf2.c: Likewise.
25733 * soft-fp/negtf2.c: Likewise.
25734 * soft-fp/op-1.h: Likewise.
25735 * soft-fp/op-2.h: Likewise.
25736 * soft-fp/op-4.h: Likewise.
25737 * soft-fp/op-8.h: Likewise.
25738 * soft-fp/op-common.h: Likewise.
25739 * soft-fp/quad.h: Likewise.
25740 * soft-fp/single.h: Likewise.
25741 * soft-fp/soft-fp.h: Likewise.
25742 * soft-fp/sqrtdf2.c: Likewise.
25743 * soft-fp/sqrtsf2.c: Likewise.
25744 * soft-fp/sqrttf2.c: Likewise.
25745 * soft-fp/subdf3.c: Likewise.
25746 * soft-fp/subsf3.c: Likewise.
25747 * soft-fp/subtf3.c: Likewise.
25748 * soft-fp/truncdfsf2.c: Likewise.
25749 * soft-fp/trunctfdf2.c: Likewise.
25750 * soft-fp/trunctfsf2.c: Likewise.
25751 * soft-fp/trunctfxf2.c: Likewise.
25752 * soft-fp/unorddf2.c: Likewise.
25753 * soft-fp/unordsf2.c: Likewise.
25754 * soft-fp/unordtf2.c: Likewise.
25755
17c48a60
OB
257562013-10-14 Ondřej Bílka <neleai@seznam.cz>
25757
25758 [BZ #15672]
25759 * misc/error.c (error_tail): Fix possible buffer overflow.
25760
cabba934
OB
257612013-10-14 Aurelien Jarno <aurelien@aurel32.net>
25762
25763 [BZ #13028]
25764 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25765 address.
25766
94bf958a
PM
257672013-10-14 P. J. McDermott <pj@pehjota.net>
25768
25769 [BZ #832]
25770 * elf/ldd.bash.in (try_trace): New function. Delete previous code
25771 testing pipefail option.
25772
71b4dea7
JM
257732013-10-12 Joseph Myers <joseph@codesourcery.com>
25774
25775 * soft-fp/double.h: Indent preprocessor directives inside #if.
25776 * soft-fp/extended.h: Likewise.
25777 * soft-fp/op-2.h: Likewise.
25778 * soft-fp/op-4.h: Likewise.
25779 * soft-fp/op-common.h: Likewise.
25780 * soft-fp/quad.h: Likewise.
25781 * soft-fp/single.h: Likewise.
25782 * soft-fp/soft-fp.h: Likewise.
25783
55602758
YC
257842013-10-12 Yuri Chornoivan <yurchor@ukr.net>
25785
25786 * iconv/iconv_prog.c: Fix typos.
25787 * stdio-common/psiginfo-data.h: Likewise.
25788
9cd83302
RT
257892013-10-12 Reuben Thomas <rrt@sc3d.org>
25790
25791 [BZ #15764]
25792 * locale/setlocale.c: Fix typo.
25793
99fd9f47
JM
257942013-10-12 Joseph Myers <joseph@codesourcery.com>
25795
b7ea74f0
JM
25796 [BZ #16036]
25797 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25798 signaling NaN arguments.
25799 * soft-fp/unordsf2.c (__unordsf2): Likewise.
25800 * soft-fp/unordtf2.c (__unordtf2): Likewise.
25801
8a509447
JM
25802 [BZ #14910]
25803 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25804 unordered operands.
25805 * soft-fp/gesf2.c (__gesf2): Likewise.
25806 * soft-fp/getf2.c (__getf2): Likewise.
25807 * soft-fp/ledf2.c (__ledf2): Likewise.
25808 * soft-fp/lesf2.c (__lesf2): Likewise.
25809 * soft-fp/letf2.c (__letf2): Likewise.
25810
98998e9f
JM
25811 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25812 * soft-fp/eqsf2.c (__eqsf2): Likewise.
25813 * soft-fp/eqtf2.c (__eqtf2): Likewise.
25814 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25815 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25816 * soft-fp/fixdfti.c (__fixdfti): Likewise.
25817 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25818 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25819 * soft-fp/fixsfti.c (__fixsfti): Likewise.
25820 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25821 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25822 * soft-fp/fixtfti.c (__fixtfti): Likewise.
25823 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25824 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25825 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25826 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25827 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25828 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25829 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25830 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25831 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25832 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25833 * soft-fp/floatdisf.c (__floatdisf): Likewise.
25834 * soft-fp/floatsisf.c (__floatsisf): Likewise.
25835 * soft-fp/floattidf.c (__floattidf): Likewise.
25836 * soft-fp/floattisf.c (__floattisf): Likewise.
25837 * soft-fp/floattitf.c (__floattitf): Likewise.
25838 * soft-fp/floatundidf.c (__floatundidf): Likewise.
25839 * soft-fp/floatundisf.c (__floatundisf): Likewise.
25840 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25841 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25842 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25843 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25844 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25845 * soft-fp/gesf2.c (__gesf2): Likewise.
25846 * soft-fp/getf2.c (__getf2): Likewise.
25847 * soft-fp/ledf2.c (__ledf2): Likewise.
25848 * soft-fp/lesf2.c (__lesf2): Likewise.
25849 * soft-fp/letf2.c (__letf2): Likewise.
25850
8edc4a11
JM
25851 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25852 Undefine and redefine.
25853 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25854 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25855 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25856 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25857 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25858 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25859 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25860 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25861 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25862 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25863 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25864 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
25865 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25866 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
25867 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25868
8399acaf
JM
25869 [BZ #16032]
25870 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25871 without decrementing exponent if mantissa >= that for the
25872 denominator, not >.
25873 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25874 denominator, not >. Decrement exponent in < case instead of
25875 incrementing in >= case.
25876 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25877 without decrementing exponent if mantissa >= that for the
25878 denominator, not >.
25879
99fd9f47
JM
25880 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25881 computing saturated result for unsigned overflow.
25882
10e1cf6b
SP
258832013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25884 Jeff Law <law@redhat.com>
25885
25886 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25887 (atan2Mp): Add systemtap probe marker.
25888 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25889 (__ieee754_log): Add systemtap probe marker.
25890 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25891 (atanMp): Add systemtap probe marker.
25892 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25893 (tanMp): Add systemtap probe marker.
25894 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25895 (__slowexp): Add systemtap probe marker.
25896 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25897 (__slowpow): Add systemtap probe marker.
25898 * manual/probes.texi: Document probes.
25899
3d110c7c
EB
259002013-10-11 Eric Biggers <ebiggers3@gmail.com>
25901
25902 [BZ #15362]
25903 * libio/fileops.c (_IO_new_file_write): Return count of bytes
25904 written.
25905 (_IO_new_file_xsputn): Don't return EOF if nothing has been
25906 written.
25907 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25908 written to buffer but not flushed.
25909 * libio/iofwrite_u.c: Likewise.
25910 * libio/iopadn.c: Return bytes returned even if EOF was
25911 encountered.
25912 * libio/iowpadn.c: Likewise.
25913 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25914 if _IO_padn does not write the whole buffer.
25915 [!COMPILE_WPRINTF] (PAD): Likewise.
25916
75b4202a
DM
259172013-10-10 David S. Miller <davem@davemloft.net>
25918
25919 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25920 directory block.
25921
6c6352e6
JM
259222013-10-10 Joseph Myers <joseph@codesourcery.com>
25923
33b853c3
JM
25924 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
25925 instead of FSF address.
25926 * soft-fp/fixdfti.c: Likewise.
25927 * soft-fp/fixsfti.c: Likewise.
25928 * soft-fp/fixtfti.c: Likewise.
25929 * soft-fp/fixunsdfti.c: Likewise.
25930 * soft-fp/fixunssfti.c: Likewise.
25931 * soft-fp/fixunstfti.c: Likewise.
25932 * soft-fp/floattidf.c: Likewise.
25933 * soft-fp/floattisf.c: Likewise.
25934 * soft-fp/floattitf.c: Likewise.
25935 * soft-fp/floatuntidf.c: Likewise.
25936 * soft-fp/floatuntisf.c: Likewise.
25937 * soft-fp/floatuntitf.c: Likewise.
25938 * soft-fp/trunctfxf2.c: Likewise.
25939
6c6352e6
JM
25940 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
25941 * soft-fp/fixdfti.c: Likewise.
25942 * soft-fp/fixsfti.c: Likewise.
25943 * soft-fp/fixtfti.c: Likewise.
25944 * soft-fp/fixunsdfti.c: Likewise.
25945 * soft-fp/fixunssfti.c: Likewise.
25946 * soft-fp/fixunstfti.c: Likewise.
25947 * soft-fp/floattidf.c: Likewise.
25948 * soft-fp/floattisf.c: Likewise.
25949 * soft-fp/floattitf.c: Likewise.
25950 * soft-fp/floatuntidf.c: Likewise.
25951 * soft-fp/floatuntisf.c: Likewise.
25952 * soft-fp/floatuntitf.c: Likewise.
25953 * soft-fp/trunctfxf2.c: Likewise.
25954
3bf78b71
DM
259552013-10-10 David S. Miller <davem@davemloft.net>
25956
25957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25958
6f10289e
JM
259592013-10-10 Joseph Myers <joseph@codsourcery.com>
25960
bd878fc0
JM
25961 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25962 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25963 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25964 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25965 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25966 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25967 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25968
6f10289e
JM
25969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25970 for NaNs before doing comparisons on argument.
25971 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25972 Likewise.
25973
321e2684
WN
259742013-10-10 Will Newton <will.newton@linaro.org>
25975
25976 * malloc/hooks.c (memalign_check): Ensure the value of bytes
25977 passed to _int_memalign does not overflow.
25978
40fefba1
TR
259792013-10-10 Torvald Riegel <triegel@redhat.com>
25980
25981 * scripts/bench.pl: Add include-sources directive.
25982 * benchtests/README: Update documentation.
25983
2ae21ed2
JM
259842013-10-10 Joseph Myers <joseph@codesourcery.com>
25985
dcc2dd3f
JM
25986 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25987 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25988 instead of FP_INIT_ROUNDMODE.
25989 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25990 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25991
2ae21ed2
JM
25992 [BZ #16034]
25993 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
25994 copy class of input value.
25995 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
25996 not handle exceptions.
25997 * soft-fp/negsf2.c (__negsf2): Likewise.
25998 * soft-fp/negtf2.c (__negtf2): Likewise.
25999 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26000
cb8f9562
JM
260012013-10-09 Joseph Myers <joseph@codesourcery.com>
26002
26003 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26004 semicolon. From Linux kernel.
26005
5b60c59d
AB
260062013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26007
26008 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26009
b86835ca
YC
260102013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26011
26012 [BZ #156]
26013 * manual/socket.texi: Added statement about buffer
26014 for gethostbyname2_r.
26015
e7044ea7
OB
260162013-10-08 Ondřej Bílka <neleai@seznam.cz>
26017
26018 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26019 Use .p2align directive instead, throughout.
26020 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26021 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26022 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26023 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26024 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26025 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26026 * sysdeps/x86_64/strchr.S: Likewise.
26027 * sysdeps/x86_64/strrchr.S: Likewise.
26028
09544cbc
SP
260292013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26030
88576635
SP
26031 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26032
e7b2d1dd
SP
26033 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26034
09544cbc
SP
26035 * sysdeps/generic/math_private.h (__mpsin1): Remove
26036 declaration.
26037 (__mpcos1): Likewise.
26038 (__mpsin): New argument __range_reduce.
26039 (__mpcos): Likewise.
26040 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26041 (slow): Use __mpsin and __mpcos.
26042 (slow1): Likewise.
26043 (slow2): Likewise.
26044 (sloww): Likewise.
26045 (sloww1): Likewise.
26046 (sloww2): Likewise.
26047 (bsloww): Likewise.
26048 (bsloww1): Likewise.
26049 (bsloww2): Likewise.
26050 (cslow2): Likewise.
26051 (csloww): Likewise.
26052 (csloww1): Likewise.
26053 (csloww2): Likewise.
26054 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26055 range_reduce. Merge in __mpsin1.
26056 (__mpcos): Likewise.
26057 (__mpsin1): Remove.
26058 (__mpcos1): Likewise.
26059
7602d070
JM
260602013-10-07 Joseph Myers <joseph@codesourcery.com>
26061
26062 * locale/loadlocale.c (_nl_intern_locale_data): Use
26063 LOCFILE_ALIGNED_P.
26064 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26065 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26066 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26067 obstack data is appropriately aligned.
26068 (obstack_int32_grow_fast): Likewise.
26069 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26070 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26071 (add_locale_uint32_array): Likewise.
26072
a357259b
SP
260732013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26074
26075 * benchtests/Makefile: Remove ARGLIST and RET variables.
26076 ($(objpfx)bench-%.c): Pass only function name to the script.
26077 * benchtests/README: Update documentation.
26078 * benchtests/acos-inputs: Add new directives.
26079 * benchtests/acosh-inputs: Likewise.
26080 * benchtests/asin-inputs: Likewise.
26081 * benchtests/asinh-inputs: Likewise.
26082 * benchtests/atan-inputs: Likewise.
26083 * benchtests/atanh-inputs: Likewise.
26084 * benchtests/cos-inputs: Likewise.
26085 * benchtests/cosh-inputs: Likewise.
26086 * benchtests/exp-inputs: Likewise.
26087 * benchtests/log-inputs: Likewise.
26088 * benchtests/pow-inputs: Likewise.
26089 * benchtests/rint-inputs: Likewise.
26090 * benchtests/sin-inputs: Likewise.
26091 * benchtests/sinh-inputs: Likewise.
26092 * benchtests/tan-inputs: Likewise.
26093 * benchtests/tanh-inputs: Likewise.
26094 * scripts/bench.pl: Add support for new directives.
26095
9ec1b13d
AM
260962013-10-07 Alan Modra <amodra@gmail.com>
26097
26098 * README: Fix careless merge.
26099
8b7d57cd
AM
261002013-10-05 Alan Modra <amodra@gmail.com>
26101
26102 * NEWS: Mention powerpc64le support and bugs fixed.
26103 * README: Both big-endian and little-endian powerpc64 supported.
26104
7b7bab13
ST
261052013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26106
57f41c40
AS
26107 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26108 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
26109 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26110 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26111
d39baad1
RA
261122013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26113
26114 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26115 match prototype.
26116
cd78f7e7
JM
261172013-10-04 Joseph Myers <joseph@codesourcery.com>
26118
29d73d86
JM
26119 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26120 Move -mhard-float appending from
26121 ports/sysdeps/powerpc/powerpc32/Makefile.
26122 [$(with-fp) = yes] (ASFLAGS): Likewise.
26123 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26124 * sysdeps/powerpc/nofpu: Move directory from
26125 ports/sysdeps/powerpc/nofpu.
26126 * sysdeps/powerpc/soft-fp: Move directory from
26127 ports/sysdeps/powerpc/soft-fp.
26128 * sysdeps/powerpc/powerpc32/405: Move directory from
26129 ports/sysdeps/powerpc/powerpc32/405.
26130 * sysdeps/powerpc/powerpc32/440: Move directory from
26131 ports/sysdeps/powerpc/powerpc32/440.
26132 * sysdeps/powerpc/powerpc32/464: Move directory from
26133 ports/sysdeps/powerpc/powerpc32/464.
26134 * sysdeps/powerpc/powerpc32/476: Move directory from
26135 ports/sysdeps/powerpc/powerpc32/476.
26136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26137 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26139 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26141 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26143 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26145 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26146 * README: Update for powerpc-*-linux-gnu software floating point
26147 support in libc.
26148
e246b347
JM
26149 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26150 case to powerpc/powerpc32*.
26151 * sysdeps/unix/sysv/linux/configure: Regenerated.
26152
89c2003e
JM
26153 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26154 (_FPU_MASK_OM): Define as 0x04.
26155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26157 0x00c10080.
26158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26159 0x0000003c.
26160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26161
cd78f7e7
JM
26162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26163 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26164 getcontext_e500.
26165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26166 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26167 setcontext_e500.
26168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26169 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26170 and setcontext_e500.
26171
c755294d
CL
261722013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26173
26174 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26175
e16d221c
SP
261762013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26177
26178 * manual/threads.texi (Default Thread Attributes): Fix typo.
26179
215c7d43
WN
261802013-10-04 Will Newton <will.newton@linaro.org>
26181
26182 * malloc/Makefile: Add tst-memalign.
26183 * malloc/tst-memalign.c: New file.
26184
27d0461b
WN
26185 * malloc/tst-posix_memalign.c: Add comments.
26186 (do_test): Add comments and call free on all potentially
26187 allocated pointers. Add space after cast.
26188
1bc92709
WN
26189 * malloc/tst-pvalloc.c: Add comments.
26190 (do_test): Add comments and call free on all potentially
26191 allocated pointers. Remove duplicate check for NULL pointer.
26192 Add space after cast.
26193
66a9be9d
WN
26194 * malloc/tst-valloc.c: Add comments.
26195 (do_test): Add comments and call free on all potentially
26196 allocated pointers. Remove duplicate check for NULL pointer.
26197 Add space after cast.
26198
4cb81307
AM
261992013-10-04 Alan Modra <amodra@gmail.com>
26200
26201 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26202 Use stdint types in rather than __attribute__((mode())).
26203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26204
f8e3e9f3
AM
262052013-10-04 Alan Modra <amodra@gmail.com>
26206
26207 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26208 Correct handling of unaligned relocs for little-endian.
26209 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26210
8f9ebb08
AM
262112013-10-04 Alan Modra <amodra@gmail.com>
26212
26213 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26214 * configure: Regenerate.
26215 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26216 * shlib-versions: Likewise.
26217
0edf96c2
AM
262182013-10-04 Alan Modra <amodra@gmail.com>
26219
26220 * string/tester.c (test_memrchr): Increment reported test cycle.
26221
e0f7a380
AM
262222013-10-04 Alan Modra <amodra@gmail.com>
26223
26224 * string/test-memcpy.c (do_one_test): When reporting errors, print
26225 string address and don't overrun end of string.
26226
466b0393
AM
262272013-10-04 Alan Modra <amodra@gmail.com>
26228
26229 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26230 insrdi. Make better use of reg selection to speed exit slightly.
26231 Schedule entry path a little better. Remove useless "are we done"
26232 checks on entry to main loop. Handle wrapping around zero address.
26233 Correct main loop count. Handle single left-over word from main
26234 loop inline rather than by using loop_small. Remove extra word
26235 case in loop_small caused by wrong loop count. Add little-endian
26236 support.
26237 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26238 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26239 cache hint.
26240 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26241 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26242 support. Avoid rlwimi.
26243 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26244
3be87c77
AM
262452013-10-04 Alan Modra <amodra@gmail.com>
26246
26247 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 26248 insrdi. Formatting.
3be87c77
AM
26249 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26250 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26251 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26252 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26253 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26254 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26255
759cfef3
AM
262562013-10-04 Alan Modra <amodra@gmail.com>
26257
26258 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26259 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26260 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26261 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26262 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26263 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26264 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26265 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26266 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26267 use of regs. Use power7 mtocrf. Tidy function tails.
26268
fe6e95d7
AM
262692013-10-04 Alan Modra <amodra@gmail.com>
26270
26271 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26272 Formatting. Consistently use rXXX register defines or rN defines.
26273 Use early exit labels that avoid restoring unused non-volatile regs.
26274 Make cr field use more consistent with rWORDn compares. Rename
26275 regs used as shift registers for unaligned loop, using rN defines
26276 for short lifetime/multiple use regs.
26277 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26278 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26279 addi 1,1,64 to pop stack frame. Simplify return value code.
26280 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26281
664318c3
AM
262822013-10-04 Alan Modra <amodra@gmail.com>
26283
26284 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26285 support. Correct typos, formatting. Optimize tail. Use insrdi
26286 rather than rlwimi.
26287 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26288 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26289 little-endian support. Correct typos.
26290 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26291 rather than rlwimi.
26292 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26293 in loop and entry code to keep "and." results.
26294 (strchr): Add little-endian support. Comment. Move cntlzd
26295 earlier in tail.
26296 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26297
43b84013
AM
262982013-10-04 Alan Modra <amodra@gmail.com>
26299
26300 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26301 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26302 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26303 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26304
8a7413f9
AM
263052013-10-04 Alan Modra <amodra@gmail.com>
26306
26307 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26308 (rTMP): Define as r11.
26309 (strcmp): Add little-endian support. Optimise tail.
26310 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26311 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26312 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26313 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26314 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26315 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26316 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26317
33ee81de
AM
263182013-10-04 Alan Modra <amodra@gmail.com>
26319
26320 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26321 little-endian support. Remove unnecessary "are we done" tests.
26322 Handle "s" wrapping around zero and extremely large "size".
26323 Correct main loop count. Handle single left-over word from main
26324 loop inline rather than by using small_loop. Correct comments.
26325 Delete "zero" tail, use "end_max" instead.
26326 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26327
db9b4570
AM
263282013-10-04 Alan Modra <amodra@gmail.com>
26329
26330 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26331 support. Don't branch over align.
26332 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26333 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26334 support. Rearrange tmp reg use to suit. Comment.
26335 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26336
f7c399cf
AM
263372013-10-04 Alan Modra <amodra@gmail.com>
26338
26339 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26340
0b2c2ace
AM
263412013-10-04 Alan Modra <amodra@gmail.com>
26342
26343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26344 conditional form of branch and link when obtaining pc.
26345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26346
02f04a6c
AM
263472013-10-04 Alan Modra <amodra@gmail.com>
26348
26349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26350 HIWORD/LOWORD.
26351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26353
9b874b2f
AM
263542013-10-04 Alan Modra <amodra@gmail.com>
26355
26356 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26357 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26358 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26359 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26360 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26361 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26362 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26363 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26364 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26365 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26366
be1e5d31
AB
263672013-10-04 Anton Blanchard <anton@au1.ibm.com>
26368 Alistair Popple <alistair@ozlabs.au.ibm.com>
26369 Alan Modra <amodra@gmail.com>
26370
26371 [BZ #15723]
26372 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26373 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26374 _dl_hwcap access for little-endian.
26375 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
26376 destroy vmx regs when saving unaligned.
26377 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26378 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26379 destroy vmx regs when saving unaligned.
26380
fef13a78
AM
263812013-10-04 Alan Modra <amodra@gmail.com>
26382
26383 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26384 Don't use a union to pack hi/low value.
26385
76a66d51
AB
263862013-10-04 Anton Blanchard <anton@au1.ibm.com>
26387
26388 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26389 for little-endian.
26390 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26391 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26392 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26393 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26394 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26395
6a31fe7f
AM
263962013-10-04 Alan Modra <amodra@gmail.com>
26397
26398 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26399 constants to usual value for .cst8 section, and remove redundant
26400 high address load.
26401 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26402 constant for 0x1p52. Load little-endian words of double from
26403 correct stack offsets.
26404
7b88401f
AM
264052013-10-04 Alan Modra <amodra@gmail.com>
26406
26407 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26408 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26409 words of double from correct stack offsets.
26410 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26411 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26412 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26413 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26414 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26415 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26416 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26417 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26418 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26419 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26420 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26421 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26422 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26423 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26424 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26425 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26426 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26427
9c008155
AM
264282013-10-04 Alan Modra <amodra@gmail.com>
26429
26430 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26431 64-bit int/double union.
26432 (_FPU_SETCW): Likewise.
26433 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26434 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26435
da13146d
AM
264362013-10-04 Alan Modra <amodra@gmail.com>
26437
26438 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26439 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26440
603e8410
AM
264412013-10-04 Alan Modra <amodra@gmail.com>
26442
26443 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26444 use vector int constants.
26445 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26446
4a28b3ca
AB
264472013-10-04 Anton Blanchard <anton@au1.ibm.com>
26448
26449 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26450 array with long long.
26451 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26452 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26453 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26454 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26455 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26456 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26457 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26458 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26459 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26460 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26461 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26462 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26463 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26464
2ca85d2b
AB
264652013-10-04 Anton Blanchard <anton@au1.ibm.com>
26466
26467 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26468 (__signbit): Likewise. Correct for little-endian.
26469 (__signbitl): Call __signbit.
26470 (lrint): Correct for little-endian.
26471 (lrintf): Call lrint.
26472
62a728ae
AM
264732013-10-04 Alan Modra <amodra@gmail.com>
26474
26475 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26476 union 32-bit int array member with 64-bit int array.
26477 (t515, tm256): Double rather than long double.
26478 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26479
32c301df
AM
264802013-10-04 Alan Modra <amodra@gmail.com>
26481
26482 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26483 Delete.
26484 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26485 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26486 version of math_ldbl.h.
26487
650ef4bd
AM
264882013-10-04 Alan Modra <amodra@gmail.com>
26489
26490 [BZ #15734], [BZ #15735]
26491 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26492 all uses of ieee875 long double macros and unions. Simplify test
26493 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26494 ldbl_extract_mantissa value for ix,iy exponents. Properly
26495 normalize after ldbl_extract_mantissa, and don't add hidden bit
26496 already handled. Don't treat low word of ieee854 mantissa like
26497 low word of IBM long double and mask off bit when testing for
26498 zero.
26499 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26500 all uses of ieee875 long double macros and unions. Simplify tests
26501 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26502 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26503 two1022, instead use their values. Recognise that tests for large
26504 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26505 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26506 Rewrite all uses of ieee875 long double macros and unions. Simplify
26507 test for 0.0L and nan. Correct negation.
26508 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26509 ieee875 long double macros and unions. Correct output for large
26510 magnitude x. Correct absolute value calculation.
26511 (__erfcl): Likewise.
26512 * math/libm-test.inc: Add tests for errors discovered in IBM long
26513 double versions of fmodl, remainderl, erfl and erfcl.
26514
765714ca
AM
265152013-10-04 Alan Modra <amodra@gmail.com>
26516
26517 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26518 all uses of ieee854 long double macros and unions. Simplify tests
26519 for long doubles that are fully specified by the high double.
26520 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26521 Likewise.
26522 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26523 Remove dead code too.
26524 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26525 (__ieee754_ynl): Likewise.
26526 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26527 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26528 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26529 Remove dead code too.
26530 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26531 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26532 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26533 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26534 Simplify.
26535 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26536 Simplify.
26537 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26538 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26539 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26540 Comment on variable precision.
26541 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26542 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26543 Likewise.
26544 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26545 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26546 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26547 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26548 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26549
4ebd120c
AM
265502013-10-04 Alan Modra <amodra@gmail.com>
26551
26552 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26553 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26554 all uses of ieee854 long double macros and unions.
26555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26557 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26558 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26559 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26560 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26561 Likewise.
26562 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26563 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26564 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26565 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26566 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26567 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26568 Simplify sign and nan test too.
26569 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26570 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26571 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26572 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26573 Likewise.
26574 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26575 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26576 Likewise.
26577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26578 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26579 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26580 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26581 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26583
1b6adf88
AM
265842013-10-04 Alan Modra <amodra@gmail.com>
26585
26586 * stdio-common/printf_size.c (__printf_size): Don't use
26587 union ieee854_long_double in fpnum union.
26588 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26589 signbit macro to retrieve sign from long double.
26590 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26591 retrieve sign from long double.
26592 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26593 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26594 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26595 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26596 * math/test-misc.c (main): Don't use union ieee854_long_double.
26597
4cf69995
AM
265982013-10-04 Alan Modra <amodra@gmail.com>
26599
26600 [BZ #15680]
26601 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26602 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26603 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26604 calculation. Remove unnecessary test for denormal exponent.
26605 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26606 Correct handling of denormals. Avoid undefined shift behaviour.
26607 Correct normalisation of low mantissa when low double is denormal.
26608 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26609 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26610 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26611 Correct normalisation of low mantissa. Test for overflow of high
26612 mantissa and normalise.
26613 (ldbl_nearbyint): Use more readable constant for two52.
26614 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26615 (__mpn_construct_long_double): Fix test for overflow of high
26616 mantissa and correct normalisation. Avoid undefined shift.
26617
9605ca6c
AM
266182013-10-04 Alan Modra <amodra@gmail.com>
26619
26620 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26621 (union ibm_extended_long_double): Define as an array of ieee754_double.
26622 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26623 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26624 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26625 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26629 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26630 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26631 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26632 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26633
975569d0
JM
266342013-10-03 Joseph Myers <joseph@codesourcery.com>
26635
d3d23756
JM
26636 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26637 page size instead of calling getpagesize.
26638
975569d0
JM
26639 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26640 (LOCFILE_ALIGN_MASK): Likewise.
26641 (LOCFILE_ALIGN_UP): Likewise.
26642 (LOCFILE_ALIGNED_P): Likewise.
26643 * locale/programs/ld-collate.c (collate_output): Use the new
26644 macros instead of __alignof__ (int32_t).
26645 * locale/weight.h (findidx): Likewise.
26646
b1fe1f2b
OB
266472013-10-03 Ondřej Bílka <neleai@seznam.cz>
26648
26649 [BZ #431]
26650 * manual/string.texi: Fix strncat and wcsncat.
26651
5f855e35
BM
266522013-10-03 Brooks Moses <bmoses@google.com>
26653
26654 [BZ #15915]
26655 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26656 * Makerules: ...here, and adjust associated comments.
26657
3cef6009
WN
266582013-10-02 Will Newton <will.newton@linaro.org>
26659
26660 * malloc/Makefile: Add tst-pvalloc.
26661 * malloc/tst-pvalloc.c: New file.
26662
7815420b
WN
266632013-10-02 Will Newton <will.newton@linaro.org>
26664
26665 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26666 improve test coverage.
26667
4868b204
WN
266682013-10-02 Will Newton <will.newton@linaro.org>
26669
26670 * malloc/Makefile: Add tst-posix_memalign.
26671 * malloc/tst-posix_memalign.c: New file.
26672
29c793b3
EB
266732013-10-01 Eric Blake <eblake@redhat.com>
26674
26675 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26676 Use __THROWNL rather than __THROW on static functions.
26677
fd967522
PM
266782013-09-30 Petr Machata <pmachata@redhat.com>
26679
26680 * elf/elf.h (R_AARCH64_ABS16): New macro.
26681 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26682 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26683 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26684 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26685 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26686 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26687 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26688 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26689 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26690 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26691 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26692 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26693 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26694 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26695 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26696 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26697 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26698 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26699 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26700 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26701 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26702 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26703 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26704 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26705 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26706 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26707 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26708 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26709 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26710 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26711 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26712 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26713 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26714 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26715 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26716 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26717 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26718 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26719 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26720 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26721 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26722 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26723 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26724 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26725 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26726 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26727 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26728 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26729 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26730 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26731 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26732 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26733 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26734 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26735 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26736 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26737 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26738 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26739 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26740 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26741 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26742 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26743 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26744 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26745 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26746 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26747 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26748 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26749 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26750 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26751 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26752 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26753 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26754 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26755 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26756 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26757 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26758 (R_AARCH64_TLSDESC_LDR): Likewise.
26759 (R_AARCH64_TLSDESC_ADD): Likewise.
26760 (R_AARCH64_TLSDESC_CALL): Likewise.
26761
b2179107
AS
267622013-09-30 Andreas Schwab <schwab@suse.de>
26763
26764 [BZ #15048]
26765 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26766 the nss database lookup.
26767 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26769
47f28d0a
MF
267702013-09-28 Mike Frysinger <vapier@gentoo.org>
26771
26772 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26773
267742013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
26775
26776 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26777 ${Bash-specific parameter/pattern/string} parameter expansion.
26778 * sysdeps/unix/make-syscalls.sh: Likewise.
26779
f4518a17
KK
267802013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26781
26782 * sysdeps/sh/stackguard-macros.h: New file.
26783
dc1a95c7
OB
267842013-09-26 Ondřej Bílka <neleai@seznam.cz>
26785
26786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26788 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26789 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26790 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26791 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26792
5ebbff8f
AZ
267932013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26794
26795 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26796 Fix thread ID register.
26797
4fd2cf9f
JM
267982013-09-25 Joseph Myers <joseph@codesourcery.com>
26799
26800 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26801 [POSIX || UNIX98]: Require rather than permitting all symbols from
26802 <time.h>.
26803 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26804 element of struct sched_param.
26805 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26806 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26807 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26808 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26809 constant.
26810
12c22bc4
OL
268112013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
26812
26813 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26814 argument calculation.
26815
a03d8ea7
JM
268162013-09-24 Joseph Myers <joseph@codesourcery.com>
26817
26818 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26819 Expect macro.
26820 [POSIX] (pthread_attr_t): Do not require type.
26821 [POSIX] (pthread_cond_t): Likewise.
26822 [POSIX] (pthread_condattr_t): Likewise.
26823 [POSIX] (pthread_key_t): Likewise.
26824 [POSIX] (pthread_mutex_t): Likewise.
26825 [POSIX] (pthread_mutexattr_t): Likewise.
26826 [POSIX] (pthread_once_t): Likewise.
26827 [POSIX] (pthread_t): Likewise.
26828 [POSIX-based standards] (pthread_atfork): Expect function.
26829
6055173a
JM
268302013-09-24 Joseph Myers <joseph@codesourcery.com>
26831 Richard Sandiford <richard@codesourcery.com>
26832
26833 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26834 (swap_endianness_p): New extern variable.
26835 (set_big_endian): New inline function.
26836 (maybe_swap_uint32): Likewise.
26837 (maybe_swap_uint32_array): Likewise.
26838 (maybe_swap_uint32_obstack): Likewise.
26839 * locale/programs/locfile.c: Include <stdbool.h>.
26840 (swap_endianness_p): New variable.
26841 (add_locale_uint32): Call maybe_swap_uint32.
26842 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26843 (write_locale_data): Call maybe_swap_uint32_array.
26844 * locale/programs/ld-collate.c (obstack_int32_grow): Call
26845 maybe_swap_uint32.
26846 (obstack_int32_grow_fast): Likewise.
26847 (output_weightwc): Call maybe_swap_uint32_obstack.
26848 (collate_output): Likewise.
26849 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26850 (OPT_LITTLE_ENDIAN): Likewise.
26851 (options): Add --little-endian and --big-endian options.
26852 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26853 * locale/programs/locarchive.c: Include "locfile.h".
26854 (GET): New macro.
26855 (SET): Likewise.
26856 (INC): Likewise.
26857 (create_archive): Use the new macros to access fields of
26858 structures directly mapped from or written to locale archives.
26859 (oldlocrecentcmp): Likewise.
26860 (enlarge_archive): Likewise.
26861 (insert_name): Likewise.
26862 (add_alias): Likewise.
26863 (add_locale): Likewise.
26864 (delete_locales_from_archive): Likewise.
26865 (show_archive_content): Likewise.
26866 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
26867 locale data.
26868
39bf0bb4
RM
268692013-09-24 Roland McGrath <roland@hack.frob.com>
26870
26871 * manual/freemanuals.texi: Updated from (newly) canonical copy at
26872 http://www.gnu.org/doc/freemanuals.texi.
26873 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26874
f02eed10
WN
268752013-09-24 Will Newton <will.newton@linaro.org>
26876
26877 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26878 macro.
26879
a3a6c312
JM
268802013-09-23 Joseph Myers <joseph@codesourcery.com>
26881
26882 * locale/hashval.h (compute_hashval): Interpret bytes of key as
26883 unsigned char.
26884
107375ac
MR
268852013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
26886
26887 * manual/threads.texi (POSIX Threads): Fix a typo.
26888
141f3a77
SP
268892013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26890
303e567a
SP
26891 [BZ #14547]
26892 * string/tst-strcoll-overflow.c: New test case.
26893 * string/Makefile (xtests): Add tst-strcoll-overflow.
26894 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26895 cache if string sizes may cause integer overflow.
26896
141f3a77
SP
26897 [BZ #14547]
26898 * string/strcoll_l.c (coll_seq): New members rule, idx,
26899 save_idx and back_us.
26900 (get_next_seq_nocache): New function.
26901 (do_compare_nocache): New function.
26902 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26903 when malloc fails.
26904
c61b4d41
CD
269052013-09-23 Carlos O'Donell <carlos@redhat.com>
26906
0b1f8e35
CD
26907 [BZ #15754]
26908 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26909 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26910 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26911
c61b4d41
CD
26912 [BZ #15754]
26913 * elf/Makefile (tests): Add tst-ptrguard1.
26914 (tests-static): Add tst-ptrguard1-static.
26915 (tst-ptrguard1-ARGS): Define.
26916 (tst-ptrguard1-static-ARGS): Define.
26917 * elf/tst-ptrguard1.c: New file.
26918 * elf/tst-ptrguard1-static.c: New file.
26919 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26920 * sysdeps/i386/stackguard-macros.h: Likewise.
26921 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26922 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26923 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26924 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26925 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26926 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26927
269282013-09-23 Hector Marco <hecmargi@upv.es>
26929 Ismael Ripoll <iripoll@disca.upv.es>
26930 Carlos O'Donell <carlos@redhat.com>
26931
26932 [BZ #15754]
26933 * sysdeps/generic/stackguard-macros.h: Define
26934 __pointer_chk_guard_local and POINTER_CHK_GUARD.
26935 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26936 Define __pointer_chk_guard_local.
26937 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26938 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26939
f5f4e7b4
VV
269402013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
26941
26942 [BZ #15859]
26943 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26944
5bb43a43
AS
269452013-09-20 Andreas Schwab <schwab@linux-m68k.org>
26946
26947 * include/string.h (__ffs): Declare as hidden.
26948 * string/ffs.c (__ffs): Define as hidden.
26949 * sysdeps/i386/ffs.c (__ffs): Likewise.
26950 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26951 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26952 * sysdeps/s390/ffs.c (__ffs): Likewise.
26953 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26954
3ea5be54
AO
269552013-09-20 Alexandre Oliva <aoliva@redhat.com>
26956
ffb89e53
AO
26957 * NEWS: Mention malloc probes.
26958
322dea08
AO
26959 * malloc/arena.c (new_heap): New memory_heap_new probe.
26960 (grow_heap): New memory_heap_more probe.
26961 (shrink_heap): New memory_heap_less probe.
26962 (heap_trim): New memory_heap_free probe.
26963 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26964 (systrim): New memory_sbrk_less probe.
26965 * manual/probes.texi: Document them.
26966
655673f3
AO
26967 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26968 * manual/probes.texi: Document it.
26969
35fed6f1
AO
26970 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26971 (__libc_realloc): Add memory_realloc_retry probe.
26972 (__libc_memalign): Add memory_memalign_retry probe.
26973 (__libc_valloc): Add memory_valloc_retry probe.
26974 (__libc_pvalloc): Add memory_pvalloc_retry probe.
26975 (__libc_calloc): Add memory_calloc_retry probe.
26976 * manual/probes.texi: Document them.
26977
6999d38c
AO
26978 * malloc/arena.c (get_free_list): Add probe
26979 memory_arena_reuse_free_list.
26980 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26981 and memory_arena_reuse.
26982 (arena_get2) [!PER_THREAD]: Likewise.
26983 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26984 memory_arena_reuse_realloc.
26985 * manual/probes.texi: Document them.
26986
0653427f
AO
26987 * malloc/malloc.c (__libc_free): Add
26988 memory_mallopt_free_dyn_thresholds probe.
26989 (__libc_mallopt): Add multiple memory_mallopt probes.
26990 * manual/probes.texi: Document them.
26991
3ea5be54
AO
26992 * malloc/malloc.c: Include stap-probe.h.
26993 (__libc_mallopt): Add memory_mallopt probe.
26994 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26995 * manual/probes.texi: New.
26996 * manual/Makefile (chapters): Add probes.
26997 * manual/threads.texi: Set next node.
26998
e35696c3 269992013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 27000
e35696c3
CL
27001 [BZ #15963, #13985]
27002 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27003 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27004 Add `Chinese' to `nan' entry name.
27005
4aafb73c
SP
270062013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27007
27008 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27009 (POLYNOMIAL): Likewise.
27010 (TAYLOR_SINCOS): Likewise.
27011 (TAYLOR_SLOW): Likewise.
27012 (__sin): Use TAYLOR_SINCOS.
27013 (__cos): Likewise.
27014 (slow): Use TAYLOR_SLOW.
27015 (sloww): Likewise.
27016 (bsloww): Likewise.
27017 (csloww): Likewise.
27018
d84f25c7
LD
270192013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27020
27021 * stdlib/strtod_l.c: Fix buffer overrun.
27022
5eea0404
SP
270232013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27024
7849ff93
SP
27025 * benchtests/Makefile (bench): Add sincos.
27026 * benchtests/bench-sincos.c: New file.
27027
cfa3c886
SP
27028 * math/libm-test.inc (cos_test_data): New test inputs.
27029 (sin_test_data): Likewise.
27030
b348e1e3
SP
27031 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27032 macro.
27033 (__sin): Use it.
27034 (__cos): Likewise.
27035 (slow1): Likewise.
27036 (slow2): Likewise.
27037 (sloww1): Likewise.
27038 (sloww2): Likewise.
27039 (bsloww1): Likewise.
27040 (bsloww2): Likewise.
27041 (cslow2): Likewise.
27042 (csloww1): Likewise.
27043 (csloww2): Likewise.
27044
6cce25f8
SP
27045 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27046 function.
27047 (__sin): Use it.
27048 (__cos): Likewise.
27049
5eea0404
SP
27050 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27051 gotos.
27052 (__cos): Likewise.
27053
9c21573c
MR
270542013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27055
27056 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27057 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27058 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27059 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27060 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27061 * elf/cache.c (print_entry): Handle the new cache flags.
27062
24d22e65
JM
270632013-09-18 Joseph Myers <joseph@codesourcery.com>
27064 Aldy Hernandez <aldyh@redhat.com>
27065
27066 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27067 Change condition to [_SOFT_FLOAT].
27068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27080 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27083 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27084 declaration.
27085
d13ef066
JM
270862013-09-18 Joseph Myers <joseph@codesourcery.com>
27087
2e071de0
JM
27088 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27089 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27090 (__longjmp): Use LOAD_GP to load saved GPRs.
27091 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27092 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27093 (__sigsetjmp): Use SAVE_GP to save GPRs.
27094
d13ef066
JM
27095 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27096 Do not append -msoft-float.
27097 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27098
97a0650b
SP
270992013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27100
27101 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27102
11ca09e9
JM
271032013-09-17 Joseph Myers <joseph@codesourcery.com>
27104
27105 [BZ #15966]
27106 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27107 (_FPU_GETCW): Use initial "__" on variable and field names but not
27108 on macro parameter name.
27109 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27110 parentheses around reference to macro parameter.
27111
08ffcf34
RS
271122013-09-13 Richard Sandiford <richard@codesourcery.com>
27113
27114 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27115 prototype.
27116 (ctype_startup): Use uint32_t in cast and sizeof for
27117 ctype->charnames.
27118
ae7080d3
JL
271192013-09-11 Jia Liu <proljc@gmail.com>
27120
27121 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27122 __daddr_t_defined.
27123 [__FreeBSD__]: Likewise.
27124
5905e7b3
OB
271252013-09-11 Ondřej Bílka <neleai@seznam.cz>
27126
27127 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27128 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27129 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27130 (strchr): Remove __strchr_sse42 ifunc selection.
27131 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27132 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27133
b987c776
WN
271342013-09-11 Will Newton <will.newton@linaro.org>
27135
27136 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27137 parameter to RES. Remove hardcoded 1000 value.
27138 * benchtests/bench-skeleton.c (main): Pass RES parameter
27139 to TIMING_INIT and multiply result by 1000.
27140
ddf985af
AZ
271412013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27142
27143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27144
ffdd3181
AS
271452013-09-11 Andreas Schwab <schwab@suse.de>
27146
27147 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27148 if not defined.
27149 (O_TMPFILE) [__USE_GNU]: Define.
27150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27151 Define.
27152
b73ed247
WN
271532013-09-11 Will Newton <will.newton@linaro.org>
27154
27155 [BZ #15857]
27156 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27157 does not overflow.
27158
55e17aad
WN
271592013-09-11 Will Newton <will.newton@linaro.org>
27160
27161 [BZ #15856]
27162 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27163 does not overflow.
27164
1159a193
WN
271652013-09-11 Will Newton <will.newton@linaro.org>
27166
27167 [BZ #15855]
27168 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27169 does not overflow.
27170
5905e7b3 271712013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
27172
27173 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27174 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27175 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27176 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27178
cdfc721b
AM
271792013-09-10 Allan McRae <allan@archlinux.org>
27180
aa04af00
AM
27181 [BZ #15748]
27182 * manual/arith.texi (Parsing of Floats): Clarify
27183 cross-reference.
27184
cdfc721b
AM
27185 [BZ #15849]
27186 * manual/install.texi (Running make install): Mention
27187 --enable-pt-chown.
27188 * INSTALL: Regenerated.
27189
95e7cf29
MR
271902013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27191
27192 * csu/init-first.c (_init): Remove the !SHARED condition around
27193 FPU control word initialization.
27194 * elf/dl-support.c (_dl_fpu_control): New variable.
27195 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27196 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27197 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27198 * math/test-fpucw-static.c: New file.
27199 * math/test-fpucw-ieee.c: New file.
27200 * math/test-fpucw-ieee-static.c: New file.
27201 * math/Makefile (tests): Add `test-fpucw-ieee' and
27202 `$(tests-static)'.
27203 (tests-static): New variable.
27204 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27205 dependency to...
27206 [($(build-shared),yes)]
27207 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27208 ... this.
27209 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27210 New dependency.
27211
83e43bf0
AM
272122013-09-09 Allan McRae <allan@archlinux.org>
27213
a9f5ce09
AM
27214 [BZ #15939]
27215 * manual/string.texi (Collation Functions): Fix typo in
27216 strcoll example.
27217 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27218
34829bc2
AM
27219 [BZ #15893]
27220 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27221
3932737d
AM
27222 [BZ #15892]
27223 * libio/memstream.c (open_memstream): Fix memory leak.
27224 * libio/wmemstream.c (open_wmemstream): Likewise.
27225
83e43bf0
AM
27226 [BZ #15895]
27227 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27228
0c66b8e9
WN
272292013-09-09 Will Newton <will.newton@linaro.org>
27230
27231 * malloc/Makefile: Add tst-realloc to tests.
27232 * malloc/tst-realloc.c: New file.
27233
f6b00fd1
AM
272342013-09-09 Allan McRae <allan@archlinux.org>
27235
27236 [BZ #15844]
27237 * COPYING: Update from GNU website to fix FSF address.
27238 * COPYING.LIB: Likewise.
27239
eec55e16
DM
272402013-09-06 David S. Miller <davem@davemloft.net>
27241
27242 * po/zh_TW.po: Update Chinese (traditional) translation from
27243 translation project.
27244
1ecbb381
RS
272452013-09-06 Richard Sandiford <richard@codesourcery.com>
27246 Joseph Myers <joseph@codesourcery.com>
27247
27248 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27249 "localeinfo.h".
27250 (obstack_chunk_alloc): New macro.
27251 (obstack_chunk_free): Likewise.
27252 (record_offset): New function.
27253 (init_locale_data): Likewise.
27254 (align_locale_data): Likewise.
27255 (add_locale_empty): Likewise.
27256 (add_locale_raw_data): Likewise.
27257 (add_locale_raw_obstack): Likewise.
27258 (add_locale_string): Likewise.
27259 (add_locale_wstring): Likewise.
27260 (add_locale_uint32): Likewise.
27261 (add_locale_uint32_array): Likewise.
27262 (add_locale_char): Likewise.
27263 (start_locale_structure): Likewise.
27264 (end_locale_structure): Likewise.
27265 (start_locale_prelude): Likewise.
27266 (end_locale_prelude): Likewise.
27267 (write_locale_data): Take locale_file structure rather than an
27268 iovec.
27269 * locale/programs/locfile.h: Include "obstack.h".
27270 (struct locale_file): Change to store locale file contents instead
27271 of header.
27272 (init_locale_data): New prototype.
27273 (align_locale_data): Likewise.
27274 (add_locale_empty): Likewise.
27275 (add_locale_raw_data): Likewise.
27276 (add_locale_raw_obstack): Likewise.
27277 (add_locale_string): Likewise.
27278 (add_locale_wstring): Likewise.
27279 (add_locale_uint32): Likewise.
27280 (add_locale_uint32_array): Likewise.
27281 (add_locale_char): Likewise.
27282 (start_locale_structure): Likewise.
27283 (end_locale_structure): Likewise.
27284 (start_locale_prelude): Likewise.
27285 (end_locale_prelude): Likewise.
27286 (write_locale_data): Update prototype.
27287 * locale/programs/3level.h (struct TABLE): Remove result field.
27288 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27289 Use new locale_file interface.
27290 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27291 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27292 * locale/programs/ld-address.c (address_output): Use new
27293 locale_file interface.
27294 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27295 NO_ADD_LOCALE.
27296 (collate_finish): Don't call collseq_table_finalize.
27297 (collate_output): Use new locale_file interface.
27298 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27299 in file.
27300 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27301 (TABLE): Move defines earlier in file.
27302 (ELEMENT): Likewise.
27303 (DEFAULT): Likewise.
27304 (wctrans_table_add): Move macro and inline function earlier in
27305 file.
27306 (struct wctype_table): Move type earlier in file.
27307 (add_locale_wctype_table): New static prototype.
27308 (struct locale_ctype_t): Use logical types instead of struct iovec
27309 pointers for members.
27310 (ctype_output): Use new locale_file interface.
27311 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27312 new locale_file interface.
27313 (allocate_arrays): Update for use of new locale_file interface.
27314 * locale/programs/ld-identification.c (identification_output): Use
27315 new locale_file interface.
27316 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27317 * locale/programs/ld-messages.c (messages_output): Likewise.
27318 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27319 * locale/programs/ld-name.c (name_output): Likewise.
27320 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27321 * locale/programs/ld-paper.c (paper_output): Likewise.
27322 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27323 * locale/programs/ld-time.c (time_output): Likewise.
27324
e029e2e5
AZ
273252013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27326
27327 * benchtests/Makefile: Add memrchr benchmark.
27328 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27329 benchmark as memrchr.
27330 * benchtests/bench-memrchr-ifunc.c: New file.
27331 * benchtests/bench-memrchr.c: New file.
27332
bbf6e8e4
WN
273332013-09-06 Will Newton <will.newton@linaro.org>
27334
27335 * benchtests/Makefile (string-bench): Add memcpy.
27336
6c82a2f8
CD
273372013-09-05 Carlos O'Donell <carlos@redhat.com>
27338 Cong Wang <amwang@redhat.com>
27339
e732c5f0 27340 [BZ #15850]
6c82a2f8
CD
27341 * sysdeps/unix/sysv/linux/bits/in.h
27342 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27343 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27344 before __USE_KERNEL_IPV6_DEFS uses.
27345 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27346 IPPROTO_BEETPH.
27347 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27348 sockaddr_in6, or ipv6_mreq.
27349
5430fc65
AZ
273502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27351
27352 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27353 memory access for final bytes in some large inputs.
27354 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27355
4660856c
AZ
273562013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27357
27358 * string/test-memrchr.c: New file.
27359 * string/test-memrchr-ifunc.c: New file.
27360 * string/Makefile: Add new memrchr testcase.
27361
bb8ea713
MF
273622013-09-05 Mike Frysinger <vapier@gentoo.org>
27363
27364 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27365 fanotify_init returns EPERM.
27366
b92a20b5
JM
273672013-09-04 Joseph Myers <joseph@codesourcery.com>
27368
27369 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27370 errors.
27371 (top level): Treat second token from macro or constant entries for
27372 allowed headers as allowed.
27373 * include/complex.h: Condition internal declarations on
27374 [!_ISOMAC].
27375 * include/fenv.h: Condition include of <stdbool.h> and internal
27376 declarations on [!_ISOMAC].
7447ccd9
CL
27377
273782013-09-04 Chris Leonard <cjl@sugarlabs,.org>
27379
3e181dda 27380 [BZ #15923]
7447ccd9
CL
27381 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27382
3f2e46a4
JM
273832013-09-04 Joseph Myers <joseph@codesourcery.com>
27384
27385 * configure.in (--enable-versioning): Remove configure option.
27386 (libc_cv_asm_symver_directive): Remove configure test.
27387 (libc_cv_ld_version_script_option): Likewise.
27388 (VERSIONING): Remove variable and AC_SUBST.
27389 (DO_VERSIONING): Remove AC_DEFINE.
27390 * configure: Regenerated.
27391 * config.h.in (DO_VERSIONING): Remove macro.
27392 * Makerules [$(versioning) = yes]: Change conditionals to
27393 [$(build-shared) = yes].
27394 * config.make.in (versioning): Remove variable.
27395 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27396 [$(build-shared) = yes].
27397 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27398 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27399 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27400 [$(build-shared) = yes].
27401 * extra-lib.mk [$(versioning) = yes]: Likewise.
27402 * hurd/Makefile [$(versioning) = yes]: Likewise.
27403 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27404 [SHARED].
27405 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27406 [SHARED].
27407 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27408 [SHARED && !NO_HIDDEN].
27409 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27410 [SHARED].
27411 [SHARED && DO_VERSIONING]: Likewise..
27412 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27413 [$(build-shared) = yes].
27414 * manual/install.texi (--disable-versioning): Remove
27415 documentation.
27416 * INSTALL: Regenerated.
27417 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27418 to [SHARED].
27419 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27420 [$(build-shared) = yes].
27421 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27422 * sysdeps/i386/i686/multiarch/strstr-c.c
27423 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27424 [SHARED && !NO_HIDDEN].
27425 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27426 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27427 * sysdeps/powerpc/powerpc32/dl-machine.c
27428 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27429 * sysdeps/powerpc/powerpc32/sysdep.h
27430 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27431 to [SHARED && PIC && !NO_HIDDEN].
27432 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27433 conditional to [SHARED].
27434
44558701
WN
274352013-09-04 Will Newton <will.newton@linaro.org>
27436
27437 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27438 * benchtests/bench-string.h: Include bench-timing.h instead
27439 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27440 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27441 call to HP_TIMING_DIFF_INIT.
27442 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27443 instead of hp-timing.h macros.
27444 * benchtests/bench-memchr.c: Likewise.
27445 * benchtests/bench-memcmp.c: Likewise.
27446 * benchtests/bench-memcpy.c: Likewise.
27447 * benchtests/bench-memmem.c: Likewise.
27448 * benchtests/bench-memmove.c: Likewise.
27449 * benchtests/bench-memset.c: Likewise.
27450 * benchtests/bench-rawmemchr.c: Likewise.
27451 * benchtests/bench-strcasecmp.c: Likewise.
27452 * benchtests/bench-strcasestr.c: Likewise.
27453 * benchtests/bench-strcat.c: Likewise.
27454 * benchtests/bench-strchr.c: Likewise.
27455 * benchtests/bench-strcmp.c: Likewise.
27456 * benchtests/bench-strcpy.c: Likewise.
27457 * benchtests/bench-strcpy_chk.c: Likewise.
27458 * benchtests/bench-strlen.c: Likewise.
27459 * benchtests/bench-strncasecmp.c: Likewise.
27460 * benchtests/bench-strncat.c: Likewise.
27461 * benchtests/bench-strncmp.c: Likewise.
27462 * benchtests/bench-strncpy.c: Likewise.
27463 * benchtests/bench-strnlen.c: Likewise.
27464 * benchtests/bench-strpbrk.c: Likewise.
27465 * benchtests/bench-strrchr.c: Likewise.
27466 * benchtests/bench-strspn.c: Likewise.
27467 * benchtests/bench-strstr.c: Likewise.
27468
cae16d66
WN
274692013-09-04 Will Newton <will.newton@linaro.org>
27470
27471 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27472
ffa3cd7f
JM
274732013-09-03 Joseph Myers <joseph@codesourcery.com>
27474
27475 [BZ #15427]
27476 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27477 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27478 * math/libm-test.inc (lgamma_test_data): Add more tests.
27479 * sysdeps/i386/fpu/libm-test-ulps: Update.
27480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27481
8f02859f
OB
274822013-09-03 Ondřej Bílka <neleai@seznam.cz>
27483
27484 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27486 Add ifunc.
27487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27488 Add strcmp-sse2-unaligned
27489 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27490
18d43716
MF
274912013-09-02 Mike Frysinger <vapier@gentoo.org>
27492
27493 * Versions.def (libc): Add GLIBC_2.19.
27494
ac444012
MF
274952013-09-02 Mike Frysinger <vapier@gentoo.org>
27496
27497 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27498 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27499
b7835e32
JM
275002013-09-02 Joseph Myers <joseph@codesourcery.com>
27501
27502 [BZ #14155]
27503 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27504 intermediate calculations in recurrence.
27505 (__ieee754_ynf): Likewise.
27506 * math/libm-test.inc (jn_test_data): Do not allow spurious
27507 underflow exception. Add more tests.
27508 (yn_test_data): Add more tests.
27509 * sysdeps/i386/fpu/libm-test-ulps: Update.
27510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27511
8220f4f0
OB
275122013-09-02 Ondřej Bílka <neleai@seznam.cz>
27513
27514 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27515
f24a6d08
OB
275162013-08-30 Ondřej Bílka <neleai@seznam.cz>
27517
27518 * csu/init-first.c: Fix then/than typos.
27519 * locale/programs/ld-collate.c: Likewise.
27520 * locale/programs/linereader.h: Likewise.
27521 * manual/charset.texi: Likewise.
27522 * manual/filesys.texi: Likewise.
27523 * manual/stdio.texi: Likewise.
27524 * manual/string.texi: Likewise.
27525 * stdlib/fmtmsg.c: Likewise.
27526 * sysdeps/i386/stpncpy.S: Likewise.
27527 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27528 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27529 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27530 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27531
382466e0
OB
275322013-08-30 Ondřej Bílka <neleai@seznam.cz>
27533
27534 * elf/dl-open.c: Fix typos.
27535 * iconvdata/gbbig5.c: Likewise.
27536 * iconvdata/iso-2022-jp.c: Likewise.
27537 * iconv/gconv_int.h: Likewise.
27538 * iconv/loop.c: Likewise.
27539 * nis/rpcsvc/nis.h: Likewise.
27540 * resolv/ns_name.c: Likewise.
27541 * stdio-common/vfscanf.c: Likewise.
27542 * streams/stropts.h: Likewise.
27543 * sunrpc/rpc_thread.c: Likewise.
27544 * sysdeps/i386/strpbrk.S: Likewise.
27545 * sysdeps/ieee754/k_standard.c: Likewise.
27546 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27548 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27549 * sysdeps/mach/hurd/profil.c: Likewise.
27550 * sysdeps/s390/dl-procinfo.h: Likewise.
27551 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27552 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27553 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27554 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27555 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27556
0186c6e9
OB
275572013-08-30 Ondřej Bílka <neleai@seznam.cz>
27558
27559 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27561
d4e16af1
OB
275622013-08-29 Ondřej Bílka <neleai@seznam.cz>
27563
27564 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27565 aix specific files.
27566 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27567 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27568 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27569 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27570 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27571 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27572 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27573 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27574
88335980
TS
275752013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27576 Roland McGrath <roland@hack.frob.com>
27577
27578 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27579 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27580
ed479b02
ST
275812013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27582
27583 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27584 __executable_start symbol instead of _start.
27585
f1cc4c86
TS
275862013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27587
d821f07c
TS
27588 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27589 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27590 Move macros to...
27591 * sysdeps/gnu/ldsodefs.h: ... this new file.
27592
c54290cf
TS
27593 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27594 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27595 instead of ELFOSABI_LINUX.
27596
0007fc9b 27597 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
27598 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27599 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27600 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27601 Likewise.
27602 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27603 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27604 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27605 Likewise.
27606 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27607 (ibm_extended_long_double): Add ieee_nan member.
27608 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27609 (do_test): New function.
27610
f1cc4c86
TS
27611 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27612 TEST_TRUNC.
27613 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27614 functions, renamed from truncdfsf_test, trunctfsf_test,
27615 trunctfdf_test.
27616 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27617 functions.
27618 (do_test): Run all these.
27619
6f65e668
OB
276202013-08-29 Ondřej Bílka <neleai@seznam.cz>
27621
27622 * argp/argp-help.c: Fix typos.
27623 * argp/argp-parse.c: Likewise.
27624 * debug/backtracesyms.c: Likewise.
27625 * elf/elf.h: Likewise.
27626 * malloc/malloc.c: Likewise.
27627 * nis/nis_print.c: Likewise.
27628 * resolv/res_comp.c: Likewise.
27629 * stdlib/stdlib.h: Likewise.
27630 * sunrpc/clnt_tcp.c: Likewise.
27631 * sunrpc/clnt_udp.c: Likewise.
27632 * sunrpc/clnt_unix.c: Likewise.
27633 * sysdeps/unix/bsd/ptsname.c: Likewise.
27634 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27635 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27637 Likewise.
27638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27639 Likewise.
27640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27641 Likewise.
6f65e668
OB
27642 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27643
3a309239
SP
276442013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27645
27646 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27648
3b813b29
MF
276492013-08-27 Mike Frysinger <vapier@gentoo.org>
27650
27651 [BZ #15897]
27652 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27653 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27654 ($(objpfx)bug-dl-leaf): New rule.
27655 ($(objpfx)bug-dl-leaf.so): Likewise.
27656 ($(objpfx)bug-dl-leaf.out): Likewise.
27657 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27658 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27659 * dlfcn/bug-dl-leaf.c: New test.
27660 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27661 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27662 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27663 (dlclose): Likewise.
27664 (dlmopen): Likewise.
27665
8cc3269f
RM
276662013-08-27 Roland McGrath <roland@hack.frob.com>
27667
7f9d0034
RM
27668 * include/netdb.h [!_ISOMAC]:
27669 Don't include <tls.h>.
27670 (h_errno, __libc_h_errno): Move declaration and macros out of
27671 [_LIBC_REENTRANT].
27672
fb431262
RM
27673 * include/resolv.h [_RESOLV_H_]:
27674 Don't include <tls.h>.
27675 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27676 * resolv/res_libc.c: Don't include <tls.h>.
27677 (_res): Use __attribute__ ((nocommon)) in place of
27678 __attribute__ ((section (".bss"))).
27679
bd81123a
RM
27680 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27681 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27682
c4e42566
RM
27683 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27684
f890a59b
RM
27685 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27686 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27687
27688 * resolv/res_mkquery.c: Include <sys/time.h>.
27689
5d1f0a09
RM
27690 * inet/ifreq.c: Moved to ...
27691 * sysdeps/unix/ifreq.c: ... here.
27692 * inet/ifreq.c: New file, true stub version.
27693
6fcf28b3
RM
27694 * socket/sa_len.c: New file.
27695 * socket/Makefile (aux): Add it.
27696 * sysdeps/unix/sysv/linux/Makefile
27697 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27698 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27699 and #include <socket/sa_len.c>.
27700 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27701 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27702
e041fb8b
RM
27703 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27704 * bits/socket.h: ... here.
27705
8cc3269f
RM
27706 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27707 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27708 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27709
5d228a43
AS
277102013-08-27 Andreas Schwab <schwab@suse.de>
27711
45b8accc
AS
27712 [BZ #15736]
27713 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27714 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27715 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27716 * string/test-strcasecmp.c (test_main): Run tests in several
27717 locales.
27718 * string/test-strncasecmp.c (test_main): Likewise.
27719
5d228a43
AS
27720 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27721 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27722 to __strcasecmp_nonascii and __strncasecmp_nonascii.
27723 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27724 (__strncasecmp_ssse3) [PIC]: Likewise.
27725
59d112a4
RM
277262013-08-26 Roland McGrath <roland@hack.frob.com>
27727
53234cc3
RM
27728 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27729
59d112a4
RM
27730 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27731 instead of explicitly declaring xdecrypt.
27732 * nis/nss_nis/nis-publickey.c: Likewise.
27733
595aba70
SP
277342013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27735
27736 [BZ #15890]
27737 * nscd/aicache.c: Include res_hconf.h.
27738 (addhstaiX): Initialize res_hconf.
27739
ffabd393
AS
277402013-08-26 Andreas Schwab <schwab@suse.de>
27741
27742 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27743 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27744
e0a69f5c
SP
277452013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27746
27747 * nscd/aicache.c (addhstaiX): Fix indentation.
27748
8c12f01d
MF
277492013-08-25 Mike Frysinger <vapier@gentoo.org>
27750
27751 * configure.ac: Quote $build_pt_chown test.
27752 * configure: Regenerated.
27753
8fe89494
JM
277542013-08-23 Joseph Myers <joseph@codesourcery.com>
27755
27756 [BZ #15532]
27757 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27758 * math/s_cexpf.c (__cexpf): Likewise.
27759 * math/s_cexpl.c (__cexpl): Likewise.
27760 * math/libm-test.inc (cexp_test_data): Correct expected return
27761 value for NaN + i0. Add another test.
27762
75b181d6
DM
277632013-08-22 David S. Miller <davem@davemloft.net>
27764
27765 * po/ca.po: Update Catalan translation from translation project.
936241e4 27766 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 27767
acd06bb1
JM
277682013-08-21 Joseph Myers <joseph@codesourcery.com>
27769
27770 [BZ #15797]
27771 * math/s_fdim.c (__fdim): Check for infinite arguments if result
27772 is infinite, not alongside NaN test.
27773 * math/s_fdimf.c (__fdimf): Likewise.
27774 * math/s_fdiml.c (__fdiml): Likewise.
27775 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
27776 errno is unchanged.
27777
c0c3f78a
OB
277782013-08-21 Ondřej Bílka <neleai@seznam.cz>
27779
27780 * argp/argp-help.c: Fix typos.
27781 * crypt/speeds.c: Likewise.
27782 * csu/check_fds.c: Likewise.
27783 * elf/dl-load.c: Likewise.
27784 * elf/dl-open.c: Likewise.
27785 * elf/reldep3.c: Likewise.
27786 * elf/reldep.c: Likewise.
27787 * elf/sprof.c: Likewise.
27788 * iconv/iconv_charmap.c: Likewise.
27789 * iconv/skeleton.c: Likewise.
27790 * iconv/strtab.c: Likewise.
27791 * io/lockf64.c: Likewise.
27792 * libio/libioP.h: Likewise.
27793 * resolv/gai_notify.c: Likewise.
27794 * resolv/ns_name.c: Likewise.
27795 * resolv/ns_samedomain.c: Likewise.
27796 * resolv/res_send.c: Likewise.
27797 * stdlib/random.c: Likewise.
27798 * sunrpc/rpc/xdr.h: Likewise.
27799 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27800 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27801 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27802 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27803 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27804 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27805 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27806 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27807 * sysdeps/mach/hurd/check_fds.c: Likewise.
27808 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27809 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27810 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27811 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27812 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27813 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27814 * sysdeps/pthread/aio_notify.c: Likewise.
27815 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27816 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27817 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27818 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27819 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27820
46ed1038
LD
278212013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27822
27823 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27824 version if bit_Slow_SSE4_2 is set.
27825 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27826 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27827
d400dcac
AZ
278282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27829
27830 [BZ #15867]
27831 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27832 trampoline stack frame information.
27833 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27834 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27835 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27836 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27837 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27838 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27839 (_libc_vdso_platform_setup): Initialize the signal trampolines.
27840 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27841 sa_flags value.
27842 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27843 interrupting a syscall and set with option SA_SIGINFO.
27844
42c8fdd8
JM
278452013-08-20 Joseph Myers <joseph@codesourcery.com>
27846
c980f2f4
JM
27847 [BZ #15531]
27848 * math/s_cproj.c (__cproj): Only return an infinity if one part of
27849 argument is infinite.
27850 * math/s_cprojf.c (__cprojf): Likewise.
27851 * math/s_cprojl.c (__cprojl): Likewise.
27852 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27853 * math/libm-test.inc (cproj_test_data): Add more tests.
27854
0716c4fc
JM
27855 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27856
42c8fdd8
JM
27857 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27858 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27859 size. Use __ffs to determine corresponding shift.
27860
b31469d0
JM
278612013-08-20 Joseph Myers <joseph@codesourcery.com>
27862 Roland McGrath <roland@hack.frob.com>
27863
27864 * Makefile (INSTALL): Remove trailing blank lines from output of
27865 makeinfo.
27866
4e39af6e
AK
278672013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27868
27869 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
27870 Align 32 bit compat elf_greg to 8 bytes.
27871
f315524e
AA
278722013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
27873
27874 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27875
1326ba1a
SP
278762013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27877
27878 * string/strcoll_l.c (coll_seq): New structure.
27879 (get_next_seq_cached): New function.
27880 (get_next_seq): New function.
27881 (do_compare): New function.
27882 (STRCOLL): Use GNU style definition. Simplify implementation
27883 by using get_next_seq, get_next_seq_cached and do_compare.
27884
91ce4085
FW
278852013-08-16 Florian Weimer <fweimer@redhat.com>
27886
27887 [BZ #14699]
27888 CVE-2013-4237
27889 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27890 member.
27891 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27892 member.
27893 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27894 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27895 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
27896 conditional.
27897 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27898 GETDENTS_64BIT_ALIGNED.
27899 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27900 * manual/filesys.texi (Reading/Closing Directory): Document
27901 ENAMETOOLONG return value of readdir_r. Recommend readdir more
27902 strongly.
27903 * manual/conf.texi (Limits for Files): Add portability note to
27904 NAME_MAX, PATH_MAX.
27905 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27906
ca0a6bc4
AS
279072013-08-13 Andreas Schwab <schwab@suse.de>
27908
27909 [BZ #15749]
27910 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27911 of fabs.
27912 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27913 LDBL_MAX_EXP >= 16384]: Add tests for it.
27914
6c1fd795
DM
279152013-08-12 David S. Miller <davem@davemloft.net>
27916
27917 * version.h (RELEASE): Set to "development".
27918 (VERSION): Set to "2.18.90".
27919 * NEWS: Add 2.19 section.
27920
31ad488d
DM
279212013-08-03 David S. Miller <davem@davemloft.net>
27922
27923 * po/ko.po: Update Korean translation from translation project.
27924
db24e684
DM
279252013-08-01 David S. Miller <davem@davemloft.net>
27926
27927 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
27928 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27929 Bilka.
27930
f723285b
DM
279312013-07-30 David S. Miller <davem@davemloft.net>
27932
27933 * po/fr.po: Update French translation from translation project.
27934
3cbc52db
DM
279352013-07-28 David S. Miller <davem@davemloft.net>
27936
30bbc0cc
DM
27937 * po/cs.po: Update Czech translation from translation project.
27938
3cbc52db
DM
27939 * po/sv.po: Update Swedish translation from translation project.
27940
d492e6d0
DM
279412013-07-27 David S. Miller <davem@davemloft.net>
27942
f1a7f492
DM
27943 * po/eo.po: Update Esperanto translation from translation project.
27944
90e62a4a
DM
27945 * po/vi.po: Update Vietnamese translation from translation project.
27946
d492e6d0
DM
27947 * po/de.po: Update German translation from translation project.
27948
d4baa62d
DM
279492013-07-26 David S. Miller <davem@davemloft.net>
27950
641aa7b4
DM
27951 * po/bg.po: Update Bulgarian translation from translation project.
27952
d4baa62d
DM
27953 * po/nl.po: Update Dutch translation from translation project.
27954 * po/pl.po: Update Polish translation from translation project.
27955 * po/ru.po: Update Russian translation from translation project.
27956
61a9dcb9
DM
279572013-07-24 David S. Miller <davem@davemloft.net>
27958
27959 * po/libc.pot: Update.
27960
7b1f8b58
AZ
279612013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27962
27963 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27964 variable page size.
27965 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27966 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27967 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27968
a8fc7a03
AK
279692013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27970
27971 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27972
e4608715
CD
279732013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27974 Andreas Schwab <schwab@suse.de>
27975 Roland McGrath <roland@hack.frob.com>
27976 Joseph Myers <joseph@codesourcery.com>
27977 Carlos O'Donell <carlos@redhat.com>
27978
27979 [BZ #15755]
27980 * config.h.in: Define HAVE_PT_CHOWN.
27981 * config.make.in (build-pt-chown): New variable.
27982 * configure.in (--enable-pt_chown): New configure option.
27983 * configure: Regenerate.
27984 * login/Makefile: Include Makeconfig. Build pt_chown only if
27985 build-pt-chown is enabled.
27986 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27987 pt_chown to fix pty ownership.
27988 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27989 CLOSE_ALL_FDS.
27990 * manual/install.texi (Configuring and compiling): Mention
27991 --enable-pt_chown. Add @findex for grantpt.
27992 * INSTALL: Regenerate.
27993
da2d62df
DM
279942013-07-20 David S. Miller <davem@davemloft.net>
27995
27996 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27997 difference between 32-bit and 64-bit.
27998
d7e06450
CD
279992013-07-15 Carlos O'Donell <carlos@redhat.com>
28000
28001 [BZ #15711]
28002 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28003 Avoid system header dependency with -ffreestanding.
28004 ($(objpfx)bits/syscall%d): Likewise.
28005
f959cfd7
DM
280062013-07-13 David S. Miller <davem@davemloft.net>
28007
28008 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28009 underflows from atanl/atan2l due to bug 15319.
28010 (casinh_test_data): Likewise.
28011
c61f8513
DM
280122013-07-07 David S. Miller <davem@davemloft.net>
28013
28014 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28015
72c90ed0
JA
280162013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28017
28018 * sysdeps/i386/fpu/libm-test-ulps: Update.
28019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28020
52dfbe13
SP
280212013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28022
28023 * configure.in (--enable-lock-elision): Fix message text.
28024 * INSTALL: Regenerate.
28025 * configure: Regenerate.
28026
3f169543
AZ
280272013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28028
28029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28030
521c6785
AJ
280312013-07-03 Andreas Jaeger <aj@suse.de>
28032
28033 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28034 define.
28035 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28036 (ptrace_peeksiginfo_args): Add.
28037 (__ptrace_peeksiginfo_flags): Add.
28038 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28039 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28041
d2cc15cb
AM
280422013-07-03 Allan McRae <allan@archlinux.org>
28043
28044 * sysdeps/i386/fpu/libm-test-ulps: Update.
28045
3aaeeca7
DM
280462013-07-02 David S. Miller <davem@davemloft.net>
28047
28048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28049
5314ed1a
MT
280502013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28051
28052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28053
67338156
JM
280542013-07-02 Joseph Myers <joseph@codesourcery.com>
28055
28056 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28058
1717da59
AK
280592013-07-02 Andi Kleen <ak@linux.intel.com>
28060
28061 * config.h.in (ENABLE_LOCK_ELISION): Add.
28062 * configure.in (--enable-lock-elision): Add option.
28063 * manual/install.texi: Document --enable lock elision.
28064 * configure: Regenerate
28065 * INSTALL: Regenerate.
28066
1c81621c
L
280672013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28068
28069 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28070 SSE4.2 strcasecmp for libc.a.
28071 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28072
77f01ab5
JM
280732013-07-02 Joseph Myers <joseph@codesourcery.com>
28074
28075 [BZ #13304]
28076 * soft-fp/op-common.h (_FP_FMA): New macro.
28077 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28078 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28079 (_FP_MUL_MEAT_1_imm): ... here.
28080 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28081 (_FP_MUL_MEAT_1_wide): ... here.
28082 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28083 (_FP_MUL_MEAT_1_hard): ... here.
28084 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28085 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28086 (_FP_MUL_MEAT_2_wide): ... here.
28087 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28088 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28089 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28090 (_FP_MUL_MEAT_2_gmp): ... here.
28091 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28092 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28093 (_FP_MUL_MEAT_4_wide): ... here.
28094 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28095 (_FP_MUL_MEAT_4_gmp): ... here.
28096 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28097 (_FP_WFRACBITS_DW_S): Likewise.
28098 (_FP_WFRACXBITS_DW_S): Likewise.
28099 (_FP_HIGHBIT_DW_S): Likewise.
28100 (FP_FMA_S): Likewise.
28101 (_FP_FRAC_HIGH_DW_S): Likewise.
28102 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28103 (_FP_WFRACBITS_DW_D): Likewise.
28104 (_FP_WFRACXBITS_DW_D): Likewise.
28105 (_FP_HIGHBIT_DW_D): Likewise.
28106 (FP_FMA_D): Likewise.
28107 (_FP_FRAC_HIGH_DW_D): Likewise.
28108 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28109 (_FP_WFRACBITS_DW_E): Likewise.
28110 (_FP_WFRACXBITS_DW_E): Likewise.
28111 (_FP_HIGHBIT_DW_E): Likewise.
28112 (FP_FMA_E): Likewise.
28113 (_FP_FRAC_HIGH_DW_E): Likewise.
28114 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28115 (_FP_WFRACBITS_DW_Q): Likewise.
28116 (_FP_WFRACXBITS_DW_Q): Likewise.
28117 (_FP_HIGHBIT_DW_Q): Likewise.
28118 (FP_FMA_Q): Likewise.
28119 (_FP_FRAC_HIGH_DW_Q): Likewise.
28120 * soft-fp/fmasf4.c: New file.
28121 * soft-fp/fmadf4.c: Likewise.
28122 * soft-fp/fmatf4.c: Likewise.
28123
6308fd9a
LD
281242013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28125
28126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28127 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28128 Silvermont.
28129 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28130 macro.
28131 (index_Slow_SSE4_2): Likewise.
28132 (index_Prefer_PMINUB_for_stringop): Likewise.
28133 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28134 bit_Slow_SSE4_2 is set.
28135 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28136 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28137
89cd9569
RA
281382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28139
28140 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28141 rtld_global._dl_hwcap2.
28142 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28143 POWER8.
28144 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28145 POWER8 feature descriptions defined in _dl_hwcap2.
28146 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28147 string handling for POWER8 feature bits.
28148 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28149 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28150 _dl_powerpc_cap_flags.
28151 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28152 * sysdeps/powerpc/rtld-global-offsets.sym
28153 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28154 _dl_hwcap2 in the rtld_global_ro structure.
28155
1ae8bfe0
RA
281562013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28157
28158 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28159 hardware capabilities in support of AT_HWCAP2.
28160 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28161 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28162 GLRO(dl_hwcap2).
28163 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28164 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28165 explicitly the unknown a_type display mechanism is used.
28166 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28167 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28168 struct member.
28169 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28170 to macro prototype for AT_HWCAP2 support.
28171 * sysdeps/i386/dl-procinfo.h: Likewise.
28172 * sysdeps/s390/dl-procinfo.h: Likewise.
28173 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28174 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28175 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28176 return -1 for unknown a_type display fallback.
28177 * sysdeps/sparc/dl-procinfo.h: Likewise.
28178 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28179 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28180
8fbec010
JM
281812013-06-28 Joseph Myers <joseph@codesourcery.com>
28182
28183 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28184 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28185
0432680e
PY
281862013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28187
28188 [BZ #12492]
28189 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28190 mprotect making __stack_prot writable.
28191
ce61a2ad
NF
281922013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28193 Joseph Myers <joseph@codesourcery.com>
28194
28195 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28196 as being properly aligned.
28197
f91f1c0f
MR
281982013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28199
3d0f5d0c
MR
28200 * dlfcn/modstatic5.c: New file.
28201 * dlfcn/tststatic5.c: New file.
28202 * dlfcn/Makefile (tests): Add tststatic5.
28203 (tests-static): Likewise.
28204 (modules-names): Add modstatic5.
28205 (tststatic5-ENV): New variable.
28206 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28207
f91f1c0f
MR
28208 [BZ #15022]
28209 * elf/dl-support.c (_dl_main_map): New variable.
28210 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28211 (_dl_nns, _dl_load_adds): Set to 1.
28212 (_dl_initial_searchlist): Refer to _dl_main_map.
28213 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28214 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28215 call to _dl_get_origin.
28216 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28217 around call_map.
28218 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28219 * dlfcn/modstatic3.c: New file.
28220 * dlfcn/tststatic3.c: New file.
28221 * dlfcn/tststatic4.c: New file.
28222 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28223 (tests-static): Likewise.
28224 (modules-names): Add modstatic3.
28225 (tststatic3-ENV, tststatic4-ENV): New variables.
28226 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28227 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28228
cbe7d24b
JM
282292013-06-26 Joseph Myers <joseph@codesourcery.com>
28230
28231 * configure.in (CC): Require GCC version 4.4 or later.
28232 * configure: Regenerated.
28233 * manual/install.texi (Tools for Compilation): Update GCC version
28234 requirement.
28235 * INSTALL: Regenerated.
28236
11b8a0e1
LD
282372013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28238
28239 [BZ #15674]
bb5bb87c
L
28240 * string/test-memcmp.c (check2): New.
28241 (main): Call check2.
28242
11b8a0e1
LD
28243 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28244
b0037103
MR
282452013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28246
28247 [BZ #15022]
28248 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28249 over to...
28250 (dl_open_worker) [!SHARED]: ... here.
28251
c18c701d
RA
282522013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28253
28254 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28255
1d17fa5f
RH
282562013-06-25 Richard Henderson <rth@redhat.com>
28257
28258 * locale/programs/locarchive.c: Include <libc-internal.h>
28259
8fcb833a
JM
282602013-06-25 Joseph Myers <joseph@codesourcery.com>
28261
28262 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28263 trailing whitespace removed.
28264
17db6e8d
MF
282652013-06-24 Mike Frysinger <vapier@gentoo.org>
28266
28267 [BZ #10283]
17db6e8d
MF
28268 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28269 * locale/programs/locarchive.c: Include libc-mmap.h.
28270 (prepare_address_space): Take two new outputs (the mmap base and len).
28271 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28272 values.
28273 (create_archive): Declare new mmap base and len values for
28274 prepare_address_space, and store the result in ah.
28275 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28276 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28277 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28278 Declare new mmap base and len values for
28279 prepare_address_space, and store the result in new_ah.
28280 (open_archive): Declare new mmap base and len values for
28281 prepare_address_space, and store the result in ah.
28282 (close_archive): If ah->mmap_base is not NULL, use that and
28283 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28284 * sysdeps/generic/libc-mmap.h: New file.
28285
d605071e
MF
282862013-06-24 Mike Frysinger <vapier@gentoo.org>
28287
28288 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28289 (ALIGN_UP): Likewise.
28290 (PTR_ALIGN_DOWN): Likewise.
28291 (PTR_ALIGN_UP): Likewise.
28292
2f063a6e
RA
282932013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28294
28295 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28296 entry mapped to PPC_PLATFORM_POWER8.
28297 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28298 POWER8.
28299 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28300 (_dl_string_platform): Add case for exporting platform position for
28301 POWER8.
28302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28303 search path to sysdeps/powerpc/powerpc32/power8 directory.
28304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28305 search path to sysdeps/powerpc/powerpc64/power8 directory.
28306 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28307 power7 directories.
28308 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28309 power7 directories.
28310
a31ee4b3
SP
283112013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28312
a74ca98f
SP
28313 * INSTALL: Regenerate.
28314
a31ee4b3
SP
28315 * nscd/connections.c (nscd_init): Fix comment.
28316
695c378f
JM
283172013-06-22 Joseph Myers <joseph@codesourcery.com>
28318
d8412221
JM
28319 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28320
695c378f
JM
28321 [BZ #15667]
28322 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28323 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28324
d1d54715
MR
283252013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28326
28327 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28328 DL_DST_REQ_STATIC.
28329 (DL_DST_REQ_STATIC): Remove macro.
28330
8fdda7af
JM
283312013-06-21 Joseph Myers <joseph@codesourcery.com>
28332
28333 [BZ #7006]
28334 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28335 with a shift of 0 bits.
28336
f3bc5e5a
MR
283372013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28338
28339 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28340 $(tststatic-ENV).
28341
be09e8c9
KK
283422013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28343
28344 [BZ #15655]
28345 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28346
85c2e611
AZ
283472013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28348
28349 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28350 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28351 accepts -fno-tree-loop-distribute-patterns.
28352 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28353 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28354 recursive call.
28355 * string/memset.c (memset): Likewise.
28356 * string/test-memmove.c (simple_memmove): Disable loop transformation
28357 to library calls.
28358 * string/test-memset.c (simple_memset): Likewise.
28359 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28360 * benchtests/bench-memset.c (simple_memset): Likewise.
28361 * configure: Regenerated.
28362
c91e0825
JM
283632013-06-20 Joseph Myers <joseph@codesourcery.com>
28364
b8c792af
JM
28365 * math/test-misc.c (main): Ignore fesetround failure when failures
28366 of subsequent rounding tests would be ignored.
28367
c91e0825
JM
28368 [BZ #15654]
28369 * math/fedisblxcpt.c (fedisableexcept): Return 0.
28370 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28371 * math/fegetenv.c (__fegetenv): Return 0.
28372 * math/fegetexcept.c (fegetexcept): Return 0.
28373 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28374 FE_TONEAREST.
28375 * math/feholdexcpt.c (feholdexcept): Return 0.
28376 * math/fesetenv.c (__fesetenv): Return 0.
28377 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28378 argument FE_TONEAREST.
28379 * math/feupdateenv.c (__feupdateenv): Return 0.
28380 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28381
bfcacbde
RM
283822013-06-18 Roland McGrath <roland@hack.frob.com>
28383
28384 * elf/rtld-Rules (rtld-compile-command.S): New variable.
28385 (rtld-compile-command.s, rtld-compile-command.c): New variables.
28386 ($(objpfx)rtld-%.os rules): Use them.
28387
e55a9b25
AZ
283882013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28389
28390 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28391 fields.
28392
346d65b3
RM
283932013-06-17 Roland McGrath <roland@hack.frob.com>
28394
12086fb4
RM
28395 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28396 length of target pattern, then descending length of dependency pattern.
28397 * configure.in (AWK): Require gawk 3.1.2 or newer.
28398 * manual/install.texi (Tools for Compilation): Say that we do.
28399 * configure: Regenerated.
28400
346d65b3
RM
28401 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28402 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28403 * scripts/sysd-rules.awk: ... this new script.
28404 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28405 than a glob-style pattern.
28406
1a846317
JM
284072013-06-17 Joseph Myers <joseph@codesourcery.com>
28408
28409 * math/test-misc.c (main): Do not treat incorrectly rounded
28410 conversions as failure unless ROUNDING_TESTS passes.
28411
8fc75e6f
JM
284122013-06-15 Joseph Myers <joseph@codesourcery.com>
28413
3711a167
JM
28414 [BZ #15631]
28415 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28416 restore exception state around main square root computation, then
28417 check for inexactness explicitly.
28418
8fc75e6f
JM
28419 * math/libm-test.inc (fma_test_data): Add another test.
28420
61dd6208
SP
284212013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28422
adf23d2c
SP
28423 * manual/threads.texi (Non-POSIX Extensions): New document
28424 node. Document pthread_getattr_default_np and
28425 pthread_setattr_default_np.
28426
61dd6208
SP
28427 * Versions.def (libpthread): Add GLIBC_2.18.
28428 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28430 Likewise.
28431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28432 Likewise.
28433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28434 Likewise.
28435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28436 Likewise.
28437 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28438 Likewise.
28439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28440 Likewise.
28441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28442 Likewise.
28443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28444 Likewise.
28445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28446 Likewise.
28447
d086fc7b
LD
284482013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28449
28450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28451 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28452
747ef469
SP
284532013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28454 H.J. Lu <hjl.tools@gmail.com>
28455
28456 [BZ #15627]
28457 * sysdeps/x86_64/rtld-memset.c: Remove file.
28458 * sysdeps/x86_64/rtld-memset.S: New file.
28459
1b2feed2
JM
284602013-06-14 Joseph Myers <joseph@codesourcery.com>
28461
28462 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28463 (test_in_one_mode): Take arguments for whether the rounding mode
28464 is supported for each floating-point type.
28465 (do_test): Pass new arguments to test_in_one_mode using
28466 ROUNDING_TESTS.
28467
a58ad3f8
RM
284682013-06-13 Roland McGrath <roland@hack.frob.com>
28469
28470 * posix/tst-waitid.c (do_test): Distinguish different instances of
28471 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28472 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28473 before entering the kernel for waitpid.
28474
c204ab28
SP
284752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28476
28477 * NEWS: Fix note on clock function precision. Text by Roland
28478 McGrath.
28479
f4a29fba
RM
284802013-06-13 Roland McGrath <roland@hack.frob.com>
28481
28482 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28483 it into place only when and if the sanity check passes.
28484
1f24b9ad
JM
284852013-06-13 Joseph Myers <joseph@codesourcery.com>
28486
28487 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28488 output for whether conversion result is exact. Take argument
28489 indicating whether type is IBM long double.
28490 (round_for_all): Change need_exact field to ibm_ld.
28491 * stdlib/tst-strtod-round.c (struct exactness): New type.
28492 (struct test): Change bool ld_ok field to struct exactness exact.
28493 (TEST): Update all definitions for change to field.
28494 (tests): Regenerate array contents.
28495 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28496 field value. Check for IBM long double here.
28497 (do_test): Update calls to test_in_one_mode.
28498
58206c68
SP
284992013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28500
28501 [BZ #12515]
28502 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28503 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28504
2d6f4c5b 285052013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
28506
28507 [BZ #15605]
28508 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28509 generated by the compiler on loop optimizations.
28510 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28511 general definitions.
28512
94f2c076
JM
285132013-06-12 Joseph Myers <joseph@codesourcery.com>
28514
28515 * math/bug-nextafter.c: Include <math-tests.h>.
28516 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28517 the relevant type.
28518 * math/bug-nexttoward.c: Include <math-tests.h>.
28519 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28520 the relevant type.
28521 * math/test-misc.c: Include <math-tests.h>.
28522 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28523 the relevant type.
28524
e0e50a0a
AJ
285252013-06-12 Andreas Jaeger <aj@suse.de>
28526
28527 * po/ia.po: Update Interlingua translation from translation
28528 project.
28529
25061094
SP
285302013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28531
28532 * include/fenv.h: Include stdbool.h.
28533 (struct rm_ctx): New structure.
28534 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28535 Define macro.
28536 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28537 (SET_RESTORE_ROUNDF): Likewise.
28538 (SET_RESTORE_ROUNDL): Likewise.
28539 (SET_RESTORE_ROUND_NOEX): Likewise.
28540 (SET_RESTORE_ROUND_NOEXF): Likewise.
28541 (SET_RESTORE_ROUND_NOEXL): Likewise.
28542 (SET_RESTORE_ROUND_53BIT): Likewise.
28543 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28544 (libc_feresetround_noexf_ctx): Likewise.
28545 (libc_feresetround_noexl_ctx): Likewise.
28546 (libc_feholdsetround_53bit_ctx): Likewise.
28547 (libc_feresetround_53bit_ctx): Likewise.
28548 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28549 (libc_feholdexcept_setround_sse_ctx): New function.
28550 (libc_fesetenv_sse_ctx): Likewise.
28551 (libc_feupdateenv_sse_ctx): Likewise.
28552 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28553 (libc_feholdexcept_setround_387_ctx): Likewise.
28554 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28555 (libc_feholdsetround_387_prec_ctx): Likewise.
28556 (libc_feholdsetround_387_ctx): Likewise.
28557 (libc_feholdsetround_387_53bit_ctx): Likewise.
28558 (libc_feholdsetround_sse_ctx): Likewise.
28559 (libc_feresetround_sse_ctx): Likewise.
28560 (libc_feresetround_387_ctx): Likewise.
28561 (libc_feupdateenv_387_ctx): Likewise.
28562 (libc_feholdexcept_setroundf_ctx): Define macro.
28563 (libc_fesetenvf_ctx): Likewise.
28564 (libc_feupdateenvf_ctx): Likewise.
28565 (libc_feholdsetroundf_ctx): Likewise.
28566 (libc_feresetroundf_ctx): Likewise.
28567 (libc_feholdexcept_setround_ctx): Likewise.
28568 (libc_fesetenv_ctx): Likewise.
28569 (libc_feupdateenv_ctx): Likewise.
28570 (libc_feholdsetround_ctx): Likewise.
28571 (libc_feresetround_ctx): Likewise.
28572 (libc_feholdexcept_setroundl_ctx): Likewise.
28573 (libc_feupdateenvl_ctx): Likewise.
28574 (libc_feholdsetroundl_ctx): Likewise.
28575 (libc_feresetroundl_ctx): Likewise.
28576 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28577 (libc_feresetround_53bit_ctx): Likewise.
28578
59b30555
SP
285792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28580
28581 * locale/iso-639.def: Convert to UTF-8.
28582
f1d73d30
JM
285832013-06-11 Joseph Myers <joseph@codesourcery.com>
28584
28585 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28586 (EXCEPTION_TESTS_double): Likewise.
28587 (EXCEPTION_TESTS_long_double): Likewise.
28588 (EXCEPTION_TESTS): Likewise.
28589 * math/libm-test.inc (test_exceptions): Only test exceptions if
28590 EXCEPTION_TESTS (FLOAT).
28591
94aca5e7
SP
285922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28593
28594 * benchtests/Makefile (string-bench): Add strcpy_chk and
28595 stpcpy_chk.
28596 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28597 * benchtests/bench-stpcpy_chk.c: New file.
28598 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28599 * benchtests/bench-strcpy_chk.c: New file.
28600 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28601 code.
28602 (do_test): Likewise.
28603
fac0c5f2
RA
286042013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28605
28606 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28607 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28608 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28609 with tabs where appropriate.
28610 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28611 dl-procinfo.h.
28612 [PPC_PLATFORM_PPC440]: Likewise.
28613 [PPC_PLATFORM_PPC464]: Likewise.
28614 [PPC_PLATFORM_PPC476]: Likewise.
28615 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28616 ppc464, and ppc476 platform strings merging from ports/
28617 dl-procinfo.h.
28618
f22bc486
AS
286192013-06-11 Andreas Schwab <schwab@suse.de>
28620
28621 [BZ #14991]
28622 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28623 (from_ucs4_idx): Regenerate.
28624 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28625 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28626 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28627 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28628 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28629 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28630 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28631 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28632 from FROM_LOOP and TO_LOOP specific macros.
28633 (BODY): Handle combining characters.
28634 * iconvdata/BIG5HKSCS.irreversible: Update.
28635 * iconvdata/BIG5HKSCS.precomposed: New file.
28636 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28637 characters.
28638 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28639
c1f75dc3
SP
286402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28641
4eacded2
SP
28642 * include/sys/time.h: Fix indentation and add copyright header.
28643
fec799f8
SP
28644 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28645 (do_test): Likewise.
28646 * string/test-memchr.c (do_one_test): Likewise.
28647 (do_test): Likewise.
28648 * string/test-memcmp.c (do_one_test): Likewise.
28649 (do_test): Likewise.
28650 * string/test-memcpy.c (do_one_test): Likewise.
28651 (do_test): Likewise.
28652 * string/test-memmem.c (do_one_test): Likewise.
28653 (do_test): Likewise.
28654 (do_random_tests): Likewise.
28655 * string/test-memmove.c (do_one_test): Likewise.
28656 (do_test): Likewise.
28657 * string/test-memset.c (do_one_test): Likewise.
28658 (do_test): Likewise.
28659 * string/test-rawmemchr.c (do_one_test): Likewise.
28660 (do_test): Likewise.
28661 * string/test-strcasecmp.c (do_one_test): Likewise.
28662 (do_test): Likewise.
28663 * string/test-strcasestr.c (do_one_test): Likewise.
28664 (do_test): Likewise.
28665 * string/test-strcat.c (do_one_test): Likewise.
28666 (do_test): Likewise.
28667 * string/test-strchr.c (do_one_test): Likewise.
28668 (do_test): Likewise.
28669 * string/test-strcmp.c (do_one_test): Likewise.
28670 (do_test): Likewise.
28671 * string/test-strcpy.c (do_one_test): Likewise.
28672 (do_test): Likewise.
28673 * string/test-string.h: Likewise.
28674 (test_init): Likewise.
28675 * string/test-strlen.c (do_one_test): Likewise.
28676 (do_test): Likewise.
28677 * string/test-strncasecmp.c (do_one_test): Likewise.
28678 (do_test): Likewise.
28679 * string/test-strncat.c (do_one_test): Likewise.
28680 (do_test): Likewise.
28681 * string/test-strncmp.c (do_one_test): Likewise.
28682 (do_test_limit): Likewise.
28683 (do_test): Likewise.
28684 * string/test-strncpy.c (do_one_test): Likewise.
28685 (do_test): Likewise.
28686 * string/test-strnlen.c (do_one_test): Likewise.
28687 (do_test): Likewise.
28688 * string/test-strpbrk.c (do_one_test): Likewise.
28689 (do_test): Likewise.
28690 * string/test-strrchr.c (do_one_test): Likewise.
28691 (do_test): Likewise.
28692 * string/test-strspn.c (do_one_test): Likewise.
28693 (do_test): Likewise.
28694 * string/test-strstr.c (do_one_test): Likewise.
28695 (do_test): Likewise.
28696
97020474
SP
28697 * benchtests/Makefile (string-bench): Add string benchmarks.
28698 * benchtests/bench-bcopy-ifunc.c: New file.
28699 * benchtests/bench-bcopy.c: New file.
28700 * benchtests/bench-bzero-ifunc.c: New file.
28701 * benchtests/bench-bzero.c: New file.
28702 * benchtests/bench-memccpy-ifunc.c: New file.
28703 * benchtests/bench-memccpy.c: New file.
28704 * benchtests/bench-memchr-ifunc.c: New file.
28705 * benchtests/bench-memchr.c: New file.
28706 * benchtests/bench-memcmp-ifunc.c: New file.
28707 * benchtests/bench-memcmp.c: New file.
28708 * benchtests/bench-memmem-ifunc.c: New file.
28709 * benchtests/bench-memmem.c: New file.
28710 * benchtests/bench-memmove-ifunc.c: New file.
28711 * benchtests/bench-memmove.c: New file.
28712 * benchtests/bench-mempcpy-ifunc.c: New file.
28713 * benchtests/bench-mempcpy.c: New file.
28714 * benchtests/bench-memset-ifunc.c: New file.
28715 * benchtests/bench-memset.c: New file.
28716 * benchtests/bench-rawmemchr-ifunc.c: New file.
28717 * benchtests/bench-rawmemchr.c: New file.
28718 * benchtests/bench-stpcpy-ifunc.c: New file.
28719 * benchtests/bench-stpcpy.c: New file.
28720 * benchtests/bench-stpncpy-ifunc.c: New file.
28721 * benchtests/bench-stpncpy.c: New file.
28722 * benchtests/bench-strcasecmp-ifunc.c: New file.
28723 * benchtests/bench-strcasecmp.c: New file.
28724 * benchtests/bench-strcasestr-ifunc.c: New file.
28725 * benchtests/bench-strcasestr.c: New file.
28726 * benchtests/bench-strcat-ifunc.c: New file.
28727 * benchtests/bench-strcat.c: New file.
28728 * benchtests/bench-strchr-ifunc.c: New file.
28729 * benchtests/bench-strchr.c: New file.
28730 * benchtests/bench-strchrnul-ifunc.c: New file.
28731 * benchtests/bench-strchrnul.c: New file.
28732 * benchtests/bench-strcmp-ifunc.c: New file.
28733 * benchtests/bench-strcmp.c: New file.
28734 * benchtests/bench-strcpy-ifunc.c: New file.
28735 * benchtests/bench-strcpy.c: New file.
28736 * benchtests/bench-strcspn-ifunc.c: New file.
28737 * benchtests/bench-strcspn.c: New file.
28738 * benchtests/bench-strlen-ifunc.c: New file.
28739 * benchtests/bench-strlen.c: New file.
28740 * benchtests/bench-strncasecmp-ifunc.c: New file.
28741 * benchtests/bench-strncasecmp.c: New file.
28742 * benchtests/bench-strncat-ifunc.c: New file.
28743 * benchtests/bench-strncat.c: New file.
28744 * benchtests/bench-strncmp-ifunc.c: New file.
28745 * benchtests/bench-strncmp.c: New file.
28746 * benchtests/bench-strncpy-ifunc.c: New file.
28747 * benchtests/bench-strncpy.c: New file.
28748 * benchtests/bench-strnlen-ifunc.c: New file.
28749 * benchtests/bench-strnlen.c: New file.
28750 * benchtests/bench-strpbrk-ifunc.c: New file.
28751 * benchtests/bench-strpbrk.c: New file.
28752 * benchtests/bench-strrchr-ifunc.c: New file.
28753 * benchtests/bench-strrchr.c: New file.
28754 * benchtests/bench-strspn-ifunc.c: New file.
28755 * benchtests/bench-strspn.c: New file.
28756 * benchtests/bench-strstr-ifunc.c: New file.
28757 * benchtests/bench-strstr.c: New file.
28758
c1f75dc3
SP
28759 * benchtests/Makefile: Disable parallel execution of targets.
28760 (string-bench): Add memcpy.
28761 (benchset): New variable to store a list of benchmark sets.
28762 (bench-func): Renamed from bench.
28763 (bench-set): New target.
28764 (bench): Depend on bench-func and bench-set.
28765 * benchtests/README: Add section on benchmark sets.
28766 * benchtests/bench-memcpy-ifunc.c: New file.
28767 * benchtests/bench-memcpy.c: New file.
28768 * benchtests/bench-string.h: New file.
28769
50fd745b
AS
287702013-06-11 Andreas Schwab <schwab@suse.de>
28771
28772 [BZ #15577]
28773 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28774 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28775 values in the triple.
28776 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28777 terminator in the group key.
28778
3ee7e9fe
AJ
287792013-06-11 Andreas Jaeger <aj@suse.de>
28780
28781 * po/zh_TW.po: Update Chinese (traditional) translation from
28782 translation project.
28783
89fb6835
SP
287842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28785
28786 * include/time.h (__clock_gettime): Add libc_hidden_proto.
28787 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28788 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
28789 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28790 (clock_getcpuclockid): Likewise.
28791 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28792 Add weak_alias and libc_hidden_def.
28793 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28794 * rt/clock_gettime.c (clock_gettime): Rename to
28795 __clock_gettime. Add weak_alias and libc_hidden_def.
28796 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28797 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28798 __clock_nanosleep. Add weak_alias and libc_hidden_def.
28799 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28800 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28801 Likewise.
28802 * rt/clock_settime.c (clock_settime): Rename to
28803 __clock_settime. Add weak_alias and libc_hidden_def.
28804 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28805
0efa6f8b
JM
288062013-06-10 Joseph Myers <joseph@codesourcery.com>
28807
b8c61b4b
JM
28808 * mach/err_boot.sub: Remove trailing whitespace.
28809 * mach/err_ipc.sub: Likewise.
28810 * mach/err_mach.sub: Likewise.
28811
0efa6f8b
JM
28812 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28813 (ROUNDING_TESTS_double): Likewise.
28814 (ROUNDING_TESTS_long_double): Likewise.
28815 (ROUNDING_TESTS): Likewise.
28816 * math/libm-test.inc: Include <math-tests.h>.
28817 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28818 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28819 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28820 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28821
50b818bf
SP
288222013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28823
28824 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28825 of assigning.
28826
60d2f8f3
JM
288272013-06-08 Joseph Myers <joseph@codesourcery.com>
28828
4902d2c3
JM
28829 * sysdeps/gnu/errlist.awk: Do not generate space at end of
28830 otherwise empty TRANS lines.
28831 * sysdeps/gnu/errlist.c: Regenerated.
28832
60d2f8f3
JM
28833 * catgets/gencat.c (error_print): Use (void) in function
28834 definition.
28835 * crypt/crypt_util.c (__init_des): Likewise.
28836 * crypt/speeds.c (Stop): Likewise.
28837 (main): Likewise.
28838 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28839 * inet/ruserpass.c (token): Likewise.
28840 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28841 * intl/localealias.c (extend_alias_table): Likewise.
28842 * intl/plural-exp.c (init_germanic_plural): Likewise.
28843 * libio/fcloseall.c (__fcloseall): Likewise.
28844 * libio/genops.c (_IO_flush_all): Likewise.
28845 (_IO_flush_all_linebuffered): Likewise.
28846 (_IO_cleanup): Likewise.
28847 (_IO_iter_begin): Likewise.
28848 (_IO_iter_end): Likewise.
28849 (_IO_list_lock): Likewise.
28850 (_IO_list_unlock): Likewise.
28851 (_IO_list_resetlock): Likewise.
28852 * libio/getchar.c (getchar): Likewise.
28853 * libio/getchar_u.c (getchar_unlocked): Likewise.
28854 * libio/getwchar.c (getwchar): Likewise.
28855 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28856 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28857 * login/getpt.c (__getpt): Likewise.
28858 * login/tst-utmp.c (main): Likewise.
28859 * malloc/hooks.c (__malloc_check_init): Likewise.
28860 * malloc/malloc.c (__malloc_stats): Likewise.
28861 * malloc/mtrace.c (tr_break): Likewise.
28862 (mtrace): Likewise.
28863 (muntrace): Likewise.
28864 * misc/fstab.c (endfsent): Likewise.
28865 * misc/getclktck.c (__getclktck): Likewise.
28866 * misc/getdtsz.c (__getdtablesize): Likewise.
28867 * misc/gethostid.c (gethostid): Likewise.
28868 * misc/getpagesize.c (__getpagesize): Likewise.
28869 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
28870 (__get_nprocs): Likewise.
28871 (__get_phys_pages): Likewise.
28872 (__get_avphys_pages): Likewise.
28873 * misc/getttyent.c (getttyent): Likewise.
28874 (setttyent): Likewise.
28875 (endttyent): Likewise.
28876 * misc/getusershell.c (getusershell): Likewise.
28877 (endusershell): Likewise.
28878 (setusershell): Likewise.
28879 (initshells): Likewise.
28880 * misc/hsearch.c (__hdestroy): Likewise.
28881 * misc/sync.c (sync): Likewise.
28882 * misc/syslog.c (closelog_internal): Likewise.
28883 (closelog): Likewise.
28884 * misc/ttyslot.c (ttyslot): Likewise.
28885 * misc/vhangup.c (vhangup): Likewise.
28886 * posix/fork.c (__fork): Likewise.
28887 * posix/getegid.c (__getegid): Likewise.
28888 * posix/geteuid.c (__geteuid): Likewise.
28889 * posix/getgid.c (__getgid): Likewise.
28890 * posix/getpid.c (__getpid): Likewise.
28891 * posix/getppid.c (__getppid): Likewise.
28892 * posix/getuid.c (__getuid): Likewise.
28893 * posix/pause.c (pause): Likewise.
28894 * posix/setpgrp.c (setpgrp): Likewise.
28895 * posix/setsid.c (__setsid): Likewise.
28896 * posix/test-vfork.c (noop): Likewise.
28897 * resolv/gethnamaddr.c (_endhtent): Likewise.
28898 (_gethtent): Likewise.
28899 (ht_endhostent): Likewise.
28900 (gethostent): Likewise.
28901 (dns_service): Likewise.
28902 * stdlib/drand48.c (drand48): Likewise.
28903 * stdlib/lrand48.c (lrand48): Likewise.
28904 * stdlib/mrand48.c (mrand48): Likewise.
28905 * stdlib/rand.c (rand): Likewise.
28906 * stdlib/random.c (__random): Likewise.
28907 * stdlib/setenv.c (clearenv): Likewise.
28908 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28909 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28910 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28911 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28912 (__get_nprocs): Likewise.
28913 (__get_phys_pages): Likewise.
28914 (__get_avphys_pages): Likewise.
28915 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28916 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28917 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28918 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28919 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28920 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28921 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28922 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28923 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28924 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28925 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28926 * sysdeps/mach/hurd/sync.c (sync): Likewise.
28927 * sysdeps/posix/clock.c (clock): Likewise.
28928 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28929 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28930 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28931 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28932 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28934 (__get_nprocs_conf): Likewise.
28935 (__get_phys_pages): Likewise.
28936 (__get_avphys_pages): Likewise.
28937 * time/clock.c (clock): Likewise.
28938 * time/tzset.c (__tzname_max): Likewise.
28939
2e09a79a
JM
289402013-06-07 Joseph Myers <joseph@codesourcery.com>
28941
28942 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28943 (__bswap_32): Do not use "register".
28944 * crypt/crypt.c (_ufc_doit_r): Likewise.
28945 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28946 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28947 * gmon/gmon.c (__monstartup): Likewise.
28948 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28949 * hurd/hurdmalloc.c (more_memory): Likewise.
28950 (malloc): Likewise.
28951 (free): Likewise.
28952 (realloc): Likewise.
28953 (malloc_fork_prepare): Likewise.
28954 (malloc_fork_parent): Likewise.
28955 (malloc_fork_child): Likewise.
28956 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28957 (_svcauth_des): Likewise.
28958 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28959 * inet/inet_net.c (inet_network): Likewise.
28960 * inet/inet_netof.c (inet_netof): Likewise.
28961 * inet/rcmd.c (__validuser2_sa): Likewise.
28962 * io/fts.c (fts_open): Likewise.
28963 (fts_load): Likewise.
28964 (fts_close): Likewise.
28965 (fts_read): Likewise.
28966 (fts_children): Likewise.
28967 (fts_build): Likewise.
28968 (fts_stat): Likewise.
28969 (fts_sort): Likewise.
28970 (fts_alloc): Likewise.
28971 (fts_lfree): Likewise.
28972 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28973 (_IO_file_xsgetn): Likewise.
28974 (_IO_file_xsgetn_mmap): Likewise.
28975 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28976 (_IO_cookie_write): Likewise.
28977 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28978 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28979 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28980 * malloc/obstack.c (_obstack_begin): Likewise.
28981 (_obstack_begin_1): Likewise.
28982 (_obstack_newchunk): Likewise.
28983 (_obstack_allocated_p): Likewise.
28984 (obstack_free): Likewise.
28985 (_obstack_memory_used): Likewise.
28986 * misc/getttyent.c (getttynam): Likewise.
28987 (getttyent): Likewise.
28988 (skip): Likewise.
28989 (value): Likewise.
28990 * misc/getusershell.c (initshells): Likewise.
28991 * misc/syslog.c (__vsyslog_chk): Likewise.
28992 * misc/ttyslot.c (ttyslot): Likewise.
28993 * nis/nis_hash.c (__nis_hash): Likewise.
28994 * posix/fnmatch_loop.c (FCT): Likewise.
28995 * posix/getconf.c (print_all): Likewise.
28996 (main): Likewise.
28997 * posix/getopt.c (exchange): Likewise.
28998 * posix/glob.c (globfree): Likewise.
28999 (prefix_array): Likewise.
29000 (__glob_pattern_type): Likewise.
29001 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29002 (NS_GET32): Likewise.
29003 (NS_PUT16): Likewise.
29004 (NS_PUT32): Likewise.
29005 * resolv/gethnamaddr.c (getanswer): Likewise.
29006 (gethostbyname2): Likewise.
29007 (gethostbyaddr): Likewise.
29008 (_gethtent): Likewise.
29009 (_gethtbyname2): Likewise.
29010 (_gethtbyaddr): Likewise.
29011 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29012 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29013 * resolv/res_init.c (__res_vinit): Likewise.
29014 (net_mask): Likewise.
29015 * resolv/res_mkquery.c (outchar): Likewise.
29016 (PRINT): Likewise.
29017 * stdio-common/printf_fp.c (outchar): Likewise.
29018 (PRINT): Likewise.
29019 * stdio-common/printf_fphex.c (outchar): Likewise.
29020 (PRINT): Likewise.
29021 * stdio-common/printf_size.c (outchar): Likewise.
29022 (PRINT): Likewise.
29023 * stdio-common/test_rdwr.c (main): Likewise.
29024 * stdio-common/tfformat.c (matches): Likewise.
29025 * stdio-common/vfprintf.c (outchar): Likewise.
29026 (printf_unknown): Likewise.
29027 (buffered_vfprintf): Likewise.
29028 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29029 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29030 (ReadFile): Likewise.
29031 * stdlib/qsort.c (SWAP): Likewise.
29032 (_quicksort): Likewise.
29033 * stdlib/setenv.c (__add_to_environ): Likewise.
29034 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29035 * stdlib/strtol_l.c (__strtol_l): Likewise.
29036 * stdlib/tst-strtod.c (main): Likewise.
29037 * stdlib/tst-strtol.c (main): Likewise.
29038 * stdlib/tst-strtoll.c (main): Likewise.
29039 * string/bits/string2.h (__strcmp_cc): Likewise.
29040 (__strcmp_cg): Likewise.
29041 (__strcspn_c1): Likewise.
29042 (__strcspn_c2): Likewise.
29043 (__strcspn_c3): Likewise.
29044 (__strspn_c1): Likewise.
29045 (__strspn_c2): Likewise.
29046 (__strspn_c3): Likewise.
29047 (__strsep_1c): Likewise.
29048 (__strsep_2c): Likewise.
29049 (__strsep_3c): Likewise.
29050 * string/memccpy.c (__memccpy): Likewise.
29051 * string/stpcpy.c (__stpcpy): Likewise.
29052 * string/strcmp.c (strcmp): Likewise.
29053 * string/strrchr.c (strrchr): Likewise.
29054 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29055 Likewise.
29056 * sysdeps/mach/hurd/getcwd.c
29057 (_hurd_canonicalize_directory_name_internal): Likewise.
29058 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29059 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29060 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29061 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29062 Likewise, in both definitions.
29063 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29064 definitions.
29065 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29066 64] (__bswap_64): Likewise.
29067 * time/test_time.c (main): Likewise.
29068 * time/tzfile.c (__tzfile_read): Likewise.
29069 (__tzfile_compute): Likewise.
29070 * time/tzset.c (__tzset_parse_tz): Likewise.
29071 (tzset_internal): Likewise.
29072 (compute_change): Likewise.
29073 * wcsmbs/wcscat.c (__wcscat): Likewise.
29074 * wcsmbs/wcschr.c (wcschr): Likewise.
29075 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29076 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29077 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29078 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29079 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29080 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29081 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29082 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29083 * wcsmbs/wmemset.c (wmemset): Likewise.
29084
9e54314b
JM
290852013-06-06 Joseph Myers <joseph@codesourcery.com>
29086
29087 * scripts/config.guess: Update to version 2013-05-16.
29088 * scripts/config.sub: Update to version 2013-04-24.
29089 * scripts/install-sh: Update to version 2011-11-20.07.
29090 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29091 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29092
350635a5
OB
290932013-06-06 Ondřej Bílka <neleai@seznam.cz>
29094
29095 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29096 * elf/sln.c: Likewise.
29097 * hurd/hurd/ioctl.h: Likewise.
29098 * hurd/hurdmalloc.c: Likewise.
29099 * hurd/xattr.c: Likewise.
29100 * include/shlib-compat.h: Likewise.
29101 * inet/ruserpass.c: Likewise.
29102 * libio/iofgets_u.c: Likewise.
29103 * libio/iofgetws_u.c: Likewise.
29104 * locale/programs/ld-identification.c: Likewise.
29105 * locale/programs/ld-time.c: Likewise.
29106 * mach/msg-destroy.c: Likewise.
29107 * nss/nss_files/files-netgrp.c: Likewise.
29108 * resolv/res_data.c: Likewise.
29109 * soft-fp/op-1.h: Likewise.
29110 * soft-fp/op-2.h: Likewise.
29111 * soft-fp/op-4.h: Likewise.
29112 * soft-fp/op-common.h: Likewise.
29113 * stdio-common/printf_fphex.c: Likewise.
29114 * stdlib/strtod_l.c: Likewise.
29115 * sunrpc/rpc/clnt.h: Likewise.
29116 * sysdeps/generic/framestate.c: Likewise.
29117 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29118 * sysdeps/i386/bsd-setjmp.S: Likewise.
29119 * sysdeps/i386/__longjmp.S: Likewise.
29120 * sysdeps/i386/setjmp.S: Likewise.
29121 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29122 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29123 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29124 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29126 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29127 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29128 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29129 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29130 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29131 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29132 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29133 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29134 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29136 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29137 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29138 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29139 * sysdeps/ieee754/support.c: Likewise.
29140 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29141 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29142 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29143 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29144 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29145 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29146 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29147 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29148 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29149 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29150 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29151 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29152 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29153 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29154 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29155 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29156 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29158
44a988af
OB
291592013-06-05 Ondřej Bílka <neleai@seznam.cz>
29160
25506f09 29161 * posix/transbug.c: Remove executable mode.
44a988af 29162
9c84384c
JM
291632013-06-05 Joseph Myers <joseph@codesourcery.com>
29164
29165 * crypt/speeds.c: Remove trailing whitespace.
29166 * dlfcn/default.c: Likewise.
29167 * elf/ifuncdep2.c: Likewise.
29168 * elf/ifuncmain1.c: Likewise.
29169 * elf/ifuncmain1vis.c: Likewise.
29170 * elf/testobj.h: Likewise.
29171 * elf/tst-stackguard1.c: Likewise.
29172 * gmon/sys/gmon.h: Likewise.
29173 * hurd/hurdmsg.c: Likewise.
29174 * hurd/new-fd.c: Likewise.
29175 * hurd/ports-get.c: Likewise.
29176 * iconvdata/ibm1008_420.c: Likewise.
29177 * inet/tst-getni1.c: Likewise.
29178 * inet/tst-getni2.c: Likewise.
29179 * libio/ioungetc.c: Likewise.
29180 * libio/wfiledoalloc.c: Likewise.
29181 * manual/libm-err-tab.pl: Likewise.
29182 * math/w_dremf.c: Likewise.
29183 * misc/ftruncate.c: Likewise.
29184 * posix/bug-glob2.c: Likewise.
29185 * posix/tst-pcre.c: Likewise.
29186 * posix/wait4.c: Likewise.
29187 * resolv/README: Likewise.
29188 * resolv/res_debug.h: Likewise.
29189 * resolv/tst-inet_ntop.c: Likewise.
29190 * setjmp/bug269-setjmp.c: Likewise.
29191 * soft-fp/extended.h: Likewise.
29192 * soft-fp/op-1.h: Likewise.
29193 * soft-fp/op-2.h: Likewise.
29194 * soft-fp/op-4.h: Likewise.
29195 * soft-fp/op-8.h: Likewise.
29196 * soft-fp/testit.c: Likewise.
29197 * stdio-common/bug16.c: Likewise.
29198 * stdlib/random.c: Likewise.
29199 * sunrpc/rpcsvc/rquota.x: Likewise.
29200 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29201 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29202 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29203 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29204 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29205 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29206 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29207 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29208 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29209 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29210 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29227 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29229 * sysdeps/ieee754/s_lib_version.c: Likewise.
29230 * sysdeps/mach/hurd/check_fds.c: Likewise.
29231 * sysdeps/mach/hurd/getsockname.c: Likewise.
29232 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29233 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29234 * sysdeps/powerpc/bits/link.h: Likewise.
29235 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29236 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29237 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29238 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29239 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29240 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29241 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29242 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29243 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29244 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29245 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29246 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29247 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29248 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29249 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29250 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29251 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29252 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29253 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29254 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29255 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29256 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29257 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29258 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29259 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29260 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29261 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29262 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29263 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29264 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29265 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29266 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29267 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29268 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29269 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29270 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29271 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29272 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29273 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29274 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29275 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29276 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29277 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29278 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29279 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29280 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29281 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29282 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29283 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29284 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29286 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29287 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29288 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29289 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29290 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29291 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29292 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29293 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29294 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29295 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29296 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29297 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29298 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29299 * sysdeps/powerpc/sysdep.h: Likewise.
29300 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29301 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29302 * sysdeps/sh/dl-trampoline.S: Likewise.
29303 * sysdeps/sh/memset.S: Likewise.
29304 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29305 * sysdeps/sh/strlen.S: Likewise.
29306 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29307 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29308 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29309 * sysdeps/sparc/sparc32/rem.S: Likewise.
29310 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29311 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29312 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29313 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29314 * sysdeps/sparc/sparc32/urem.S: Likewise.
29315 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29316 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29317 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29318 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29319 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29320 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29321 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29322 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29323 * sysdeps/unix/bsd/times.c: Likewise.
29324 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29325 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29329 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29330 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29331 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29332 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29333 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29334 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29335 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29336 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29337 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29338 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29339 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29340 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29341 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29342 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29343 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29344 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29345 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29346 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29347 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29348 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29349 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29350 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29351 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29352 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29353 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29354 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29355 * sysdeps/x86_64/strcspn.S: Likewise.
29356
869378a5
RA
293572013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29358
29359 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29360 generated file. Regenerate properly from gen-translit.pl.
29361 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
29362 locale/C-translit.h.
29363
840e2943
AS
293642013-06-05 Andreas Schwab <schwab@suse.de>
29365
29366 [BZ #15100]
29367 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29368 week as 6 instead of -1.
29369 * time/tst-strptime.c (day_tests): Add test case.
29370
4c60cb0c
SP
293712013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29372
29373 * sysdeps/generic/math_private.h
29374 (libc_feholdexcept_setround_53bit): Replace with
29375 libc_feholdsetround_53bit.
29376 (libc_feupdateenv_53bit): Replace with
29377 libc_feresetround_53bit.
29378 (SET_RESTORE_ROUND_53BIT): Adjust.
29379
d180203e
SP
293802013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29381
96df079a
SP
29382 * string/test-strchrnul.c: Add copyright header.
29383
d180203e
SP
29384 * posix/tst-getaddrinfo4.c: Increase test timeout.
29385
8b0ccb2d
CD
293862013-06-03 Carlos O'Donell <carlos@redhat.com>
29387
29388 [BZ #15536]
29389 * math/libm-test.inc (MAX_EXP): Remove
29390 (MIN_EXP): Define.
29391 (ulp): Use MIN_EXP - MANT_DIG.
29392 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29393
3b3c4d40
CD
293942013-05-31 Carlos O'Donell <carlos@redhat.com>
29395
29396 * po/be.po: Revert last change.
29397 * po/zh_CN.po: Likewise.
29398 * po/header.pot: Likewise.
29399
fab7ce3f
JM
294002013-05-31 Joseph Myers <joseph@codesourcery.com>
29401
29402 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29403 link-libc-deps to empty as target-specific variable.
29404 * Makerules (link-libc-args): New variable.
29405 (libc-for-link): Likewise.
29406 (link-libc-deps): Likewise.
29407 (lib%.so): Depend on $(link-libc-deps). Link with
29408 $(link-libc-args).
29409 (build-module): Link with $(link-libc-args).
29410 (build-module-asneeded): Likewise.
29411 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29412 list of objects.
29413 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29414 target-specific variable.
29415 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29416 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29417 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29418 libc.
29419 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29420 libc and ld.so.
29421 ($(objpfx)libpcprofile.so): Likewise.
29422 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29423 libc_nonshared.a.
29424 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29425 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29426 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29427 $(link-libc-deps).
29428 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29429 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29430 * login/Makefile ($(objpfx)libutil.so): Likewise.
29431 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29432 * math/Makefile ($(objpfx)libm.so): Likewise.
29433 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29434 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29435 variable instead of depending directly on libc.
29436 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29437 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29438 $(link-libc-deps).
29439 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29440 libc.
29441 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29442 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29443 ($(objpfx)libanl.so): Likewise.
29444 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29445 ld.so.
29446 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29447 $(link-libc-deps).
29448 * sysdeps/i386/fpu/Makefile: Remove file.
29449 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29450 ($(objpfx)libm.so): Remove dependency on ld.so.
29451
eca5920c
PF
294522013-05-30 Patsy Franklin <pfrankli@redhat.com>
29453
29454 [BZ # 15553]
29455 * nis/yp_xdr.c (XDRMAXNAME): Define.
29456 (XDRMAXRECORD): Define.
29457 (xdr_domainname): Use XDRMAXNAME.
29458 (xdr_mapname): Likewise.
29459 (xdr_peername): Likewise.
29460 (xdr_keydat): Use XDRMAXRECORD.
29461 (xdr_valdat): Likewise.
29462
294632013-05-30 Jeff Law <law@redhat.com>
96945714
JL
29464
29465 [BZ #14256]
29466 * manual/errno.texi (ESTALE): Update to account for more than
29467 just NFS file systems.
29468 * sysdeps/gnu/errlist.c: Regenerated.
29469
b9375348
SP
294702013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29471
29472 [BZ #15465]
29473 * elf/Makefile (tests): Add tst-null-argv.
29474 (modules-names): Add tst-null-argv-lib.
29475 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29476 (tst-null-argv-ENV): Set environment for tst-null-argv.
29477 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29478 (RTLD_PROGNAME): New macro.
29479 * elf/tst-null-argv.c: New test case.
29480 * elf/tst-null-argv-lib.c: Library for test case.
29481 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29482 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29483 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29484 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29485 * elf/dl-init.c (call_init): Likewise.
29486 (_dl_init): Likewise.
29487 * elf/dl-load.c (print_search_path): Likewise.
29488 (_dl_map_object): Likewise.
29489 * elf/dl-lookup.c (do_lookup_x): Likewise.
29490 (add_dependency): Likewise.
29491 (_dl_lookup_symbol_x): Likewise.
29492 (_dl_debug_bindings): Likewise.
29493 * elf/dl-open.c (_dl_show_scope): Likewise.
29494 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29495 * elf/dl-version.c (match_symbol): Likewise.
29496 (_dl_check_map_versions): Likewise.
29497 * elf/rtld.c (dl_main): Likewise.
29498 (print_unresolved): Use RTLD_PROGNAME.
29499 (print_missing_version): Likewise.
29500 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29501 (elf_machine_rela): Likewise.
29502 * sysdeps/powerpc/powerpc32/dl-machine.c
29503 (__process_machine_rela): Likewise.
29504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29505 Likewise.
29506 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29507 Likewise.
29508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29509 Likewise.
29510 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29511 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29512 Likewise.
29513 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29514 Likewise.
29515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29516
8a9f20c8
CD
295172013-05-28 Carlos O'Donell <carlos@redhat.com>
29518
29519 * po/be.po: Add descriptive title.
29520 * po/zh_CN.po: Likewise.
29521 * po/header.pot: Likewise.
29522
0e60d68e
MF
295232013-05-28 Mike Frysinger <vapier@gentoo.org>
29524
29525 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29526 error message.
29527 (enlarge_archive): Likewise.
29528
56b672e9
BN
295292013-05-28 Ben North <ben@redfrontdoor.org>
29530
29531 * manual/arith.texi (frexp): It is the magnitude of the return
29532 value which lies in [0.5, 1), not the return value itself.
29533
5e056687
AZ
295342013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29535
29536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29537
2b66ef5d
TS
295382013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29539
528c2405
TS
29540 * stdio-common/bug26.c (main): Correct fscanf template.
29541
07b4c13d
TS
29542 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29543 declare _dl_skip_args.
29544
ec9dd97c
TS
29545 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29546 Don't declare.
29547
2b66ef5d
TS
29548 * manual/platform.texi: Add missing @end deftypefun.
29549
4f8dfe27
JM
295502013-05-24 Joseph Myers <joseph@codesourcery.com>
29551
0323d086
JM
29552 [BZ #15529]
29553 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29554 bit of mantissa of 2^16382.
29555 * math/libm-test.inc (hypot_test_data): Add more tests.
29556
dd4259b9
JM
29557 * math/libm-test.inc: Add drem and pow10 to list of tested
29558 functions.
29559 (pow10_test): New function.
29560 (drem_test): Likewise.
29561 (drem_test_tonearest): Likewise.
29562 (drem_test_towardzero): Likewise.
29563 (drem_test_downward): Likewise.
29564 (drem_test_upward): Likewise.
29565 (main): Call the new functions.
29566
4f8dfe27
JM
29567 * math/libm-test.inc (finite_test_data): Remove.
29568 (finite_test): Run tests from isfinite_test_data.
29569 (gamma_test_data): Remove.
29570 (gamma_test): Run tests from lgamma_test_data.
29571 * sysdeps/i386/fpu/libm-test-ulps: Update.
29572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29573
d116b7c4
AZ
295742013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29575
29576 * manual/platform.texi: Add PowerPC PPR function set documentation.
29577 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29578 implementation.
29579
e96e3767
CD
295802013-05-24 Carlos O'Donell <carlos@redhat.com>
29581
29582 * math/libm-test.inc (MAX_EXP): Define.
29583 (ULPDIFF): Define.
29584 (ulp): New function.
29585 (check_float_internal): Use ULPDIFF.
29586 (cpow_test): Disable failing test.
29587 (check_ulp): Test ulp() implemetnation.
29588 (main): Call check_ulp before starting tests.
29589
b679a606
JM
295902013-05-24 Joseph Myers <joseph@codesourcery.com>
29591
e8bdba36
JM
29592 * math/gen-libm-test.pl (generate_testfile): Do not handle
29593 START_DATA and END_DATA.
29594 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29595 END_DATA.
29596 (acos_tonearest_test_data): Likewise.
29597 (acos_towardzero_test_data): Likewise.
29598 (acos_downward_test_data): Likewise.
29599 (acos_upward_test_data): Likewise.
29600 (acosh_test_data): Likewise.
29601 (asin_test_data): Likewise.
29602 (asin_tonearest_test_data): Likewise.
29603 (asin_towardzero_test_data): Likewise.
29604 (asin_downward_test_data): Likewise.
29605 (asin_upward_test_data): Likewise.
29606 (asinh_test_data): Likewise.
29607 (atan_test_data): Likewise.
29608 (atanh_test_data): Likewise.
29609 (atan2_test_data): Likewise.
29610 (cabs_test_data): Likewise.
29611 (cacos_test_data): Likewise.
29612 (cacosh_test_data): Likewise.
29613 (carg_test_data): Likewise.
29614 (casin_test_data): Likewise.
29615 (casinh_test_data): Likewise.
29616 (catan_test_data): Likewise.
29617 (catanh_test_data): Likewise.
29618 (cbrt_test_data): Likewise.
29619 (ccos_test_data): Likewise.
29620 (ccosh_test_data): Likewise.
29621 (ceil_test_data): Likewise.
29622 (cexp_test_data): Likewise.
29623 (cimag_test_data): Likewise.
29624 (clog_test_data): Likewise.
29625 (clog10_test_data): Likewise.
29626 (conj_test_data): Likewise.
29627 (copysign_test_data): Likewise.
29628 (cos_test_data): Likewise.
29629 (cos_tonearest_test_data): Likewise.
29630 (cos_towardzero_test_data): Likewise.
29631 (cos_downward_test_data): Likewise.
29632 (cos_upward_test_data): Likewise.
29633 (cosh_test_data): Likewise.
29634 (cosh_tonearest_test_data): Likewise.
29635 (cosh_towardzero_test_data): Likewise.
29636 (cosh_downward_test_data): Likewise.
29637 (cosh_upward_test_data): Likewise.
29638 (cpow_test_data): Likewise.
29639 (cproj_test_data): Likewise.
29640 (creal_test_data): Likewise.
29641 (csin_test_data): Likewise.
29642 (csinh_test_data): Likewise.
29643 (csqrt_test_data): Likewise.
29644 (ctan_test_data): Likewise.
29645 (ctan_tonearest_test_data): Likewise.
29646 (ctan_towardzero_test_data): Likewise.
29647 (ctan_downward_test_data): Likewise.
29648 (ctan_upward_test_data): Likewise.
29649 (ctanh_test_data): Likewise.
29650 (ctanh_tonearest_test_data): Likewise.
29651 (ctanh_towardzero_test_data): Likewise.
29652 (ctanh_downward_test_data): Likewise.
29653 (ctanh_upward_test_data): Likewise.
29654 (erf_test_data): Likewise.
29655 (erfc_test_data): Likewise.
29656 (exp_test_data): Likewise.
29657 (exp_tonearest_test_data): Likewise.
29658 (exp_towardzero_test_data): Likewise.
29659 (exp_downward_test_data): Likewise.
29660 (exp_upward_test_data): Likewise.
29661 (exp10_test_data): Likewise.
29662 (exp2_test_data): Likewise.
29663 (expm1_test_data): Likewise.
29664 (fabs_test_data): Likewise.
29665 (fdim_test_data): Likewise.
29666 (finite_test_data): Likewise.
29667 (floor_test_data): Likewise.
29668 (fma_test_data): Likewise.
29669 (fma_towardzero_test_data): Likewise.
29670 (fma_downward_test_data): Likewise.
29671 (fma_upward_test_data): Likewise.
29672 (fmax_test_data): Likewise.
29673 (fmin_test_data): Likewise.
29674 (fmod_test_data): Likewise.
29675 (fpclassify_test_data): Likewise.
29676 (frexp_test_data): Likewise.
29677 (gamma_test_data): Likewise.
29678 (hypot_test_data): Likewise.
29679 (ilogb_test_data): Likewise.
29680 (isfinite_test_data): Likewise.
29681 (isgreater_test_data): Likewise.
29682 (isgreaterequal_test_data): Likewise.
29683 (isinf_test_data): Likewise.
29684 (isless_test_data): Likewise.
29685 (islessequal_test_data): Likewise.
29686 (islessgreater_test_data): Likewise.
29687 (isnan_test_data): Likewise.
29688 (isnormal_test_data): Likewise.
29689 (issignaling_test_data): Likewise.
29690 (isunordered_test_data): Likewise.
29691 (j0_test_data): Likewise.
29692 (j1_test_data): Likewise.
29693 (jn_test_data): Likewise.
29694 (ldexp_test_data): Likewise.
29695 (lgamma_test_data): Likewise.
29696 (lrint_test_data): Likewise.
29697 (lrint_tonearest_test_data): Likewise.
29698 (lrint_towardzero_test_data): Likewise.
29699 (lrint_downward_test_data): Likewise.
29700 (lrint_upward_test_data): Likewise.
29701 (llrint_test_data): Likewise.
29702 (llrint_tonearest_test_data): Likewise.
29703 (llrint_towardzero_test_data): Likewise.
29704 (llrint_downward_test_data): Likewise.
29705 (llrint_upward_test_data): Likewise.
29706 (log_test_data): Likewise.
29707 (log10_test_data): Likewise.
29708 (log1p_test_data): Likewise.
29709 (log2_test_data): Likewise.
29710 (logb_test_data): Likewise.
29711 (logb_downward_test_data): Likewise.
29712 (lround_test_data): Likewise.
29713 (llround_test_data): Likewise.
29714 (modf_test_data): Likewise.
29715 (nearbyint_test_data): Likewise.
29716 (nextafter_test_data): Likewise.
29717 (nexttoward_test_data): Likewise.
29718 (pow_test_data): Likewise.
29719 (pow_tonearest_test_data): Likewise.
29720 (pow_towardzero_test_data): Likewise.
29721 (pow_downward_test_data): Likewise.
29722 (pow_upward_test_data): Likewise.
29723 (remainder_test_data): Likewise.
29724 (remainder_tonearest_test_data): Likewise.
29725 (remainder_towardzero_test_data): Likewise.
29726 (remainder_downward_test_data): Likewise.
29727 (remainder_upward_test_data): Likewise.
29728 (remquo_test_data): Likewise.
29729 (rint_test_data): Likewise.
29730 (rint_tonearest_test_data): Likewise.
29731 (rint_towardzero_test_data): Likewise.
29732 (rint_downward_test_data): Likewise.
29733 (rint_upward_test_data): Likewise.
29734 (round_test_data): Likewise.
29735 (scalb_test_data): Likewise.
29736 (scalbn_test_data): Likewise.
29737 (scalbln_test_data): Likewise.
29738 (signbit_test_data): Likewise.
29739 (sin_test_data): Likewise.
29740 (sin_tonearest_test_data): Likewise.
29741 (sin_towardzero_test_data): Likewise.
29742 (sin_downward_test_data): Likewise.
29743 (sin_upward_test_data): Likewise.
29744 (sincos_test_data): Likewise.
29745 (sinh_test_data): Likewise.
29746 (sinh_tonearest_test_data): Likewise.
29747 (sinh_towardzero_test_data): Likewise.
29748 (sinh_downward_test_data): Likewise.
29749 (sinh_upward_test_data): Likewise.
29750 (sqrt_test_data): Likewise.
29751 (tan_test_data): Likewise.
29752 (tan_tonearest_test_data): Likewise.
29753 (tan_towardzero_test_data): Likewise.
29754 (tan_downward_test_data): Likewise.
29755 (tan_upward_test_data): Likewise.
29756 (tanh_test_data): Likewise.
29757 (tgamma_test_data): Likewise.
29758 (trunc_test_data): Likewise.
29759 (y0_test_data): Likewise.
29760 (y1_test_data): Likewise.
29761 (yn_test_data): Likewise.
29762 (significand_test_data): Likewise.
29763
b679a606
JM
29764 * math/gen-libm-test.pl (@functions): Remove variable.
29765 (generate_testfile): Don't handle START and END lines.
29766 * math/libm-test.inc (START): New macro.
29767 (END): Likewise.
29768 (END_COMPLEX): Likewise.
29769 (acos_test): Use END macro without arguments.
29770 (acos_test_tonearest): Likewise.
29771 (acos_test_towardzero): Likewise.
29772 (acos_test_downward): Likewise.
29773 (acos_test_upward): Likewise.
29774 (acosh_test): Likewise.
29775 (asin_test): Likewise.
29776 (asin_test_tonearest): Likewise.
29777 (asin_test_towardzero): Likewise.
29778 (asin_test_downward): Likewise.
29779 (asin_test_upward): Likewise.
29780 (asinh_test): Likewise.
29781 (atan_test): Likewise.
29782 (atanh_test): Likewise.
29783 (atan2_test): Likewise.
29784 (cabs_test): Likewise.
29785 (cacos_test): Use END_COMPLEX macro without arguments.
29786 (cacosh_test): Likewise.
29787 (carg_test): Use END macro without arguments.
29788 (casin_test): Use END_COMPLEX macro without arguments.
29789 (casinh_test): Likewise.
29790 (catan_test): Likewise.
29791 (catanh_test): Likewise.
29792 (cbrt_test): Use END macro without arguments.
29793 (ccos_test): Use END_COMPLEX macro without arguments.
29794 (ccosh_test): Likewise.
29795 (ceil_test): Use END macro without arguments.
29796 (cexp_test): Use END_COMPLEX macro without arguments.
29797 (cimag_test): Use END macro without arguments.
29798 (clog_test): Use END_COMPLEX macro without arguments.
29799 (clog10_test): Likewise.
29800 (conj_test): Likewise.
29801 (copysign_test): Use END macro without arguments.
29802 (cos_test): Likewise.
29803 (cos_test_tonearest): Likewise.
29804 (cos_test_towardzero): Likewise.
29805 (cos_test_downward): Likewise.
29806 (cos_test_upward): Likewise.
29807 (cosh_test): Likewise.
29808 (cosh_test_tonearest): Likewise.
29809 (cosh_test_towardzero): Likewise.
29810 (cosh_test_downward): Likewise.
29811 (cosh_test_upward): Likewise.
29812 (cpow_test): Use END_COMPLEX macro without arguments.
29813 (cproj_test): Likewise.
29814 (creal_test): Use END macro without arguments.
29815 (csin_test): Use END_COMPLEX macro without arguments.
29816 (csinh_test): Likewise.
29817 (csqrt_test): Likewise.
29818 (ctan_test): Likewise.
29819 (ctan_test_tonearest): Likewise.
29820 (ctan_test_towardzero): Likewise.
29821 (ctan_test_downward): Likewise.
29822 (ctan_test_upward): Likewise.
29823 (ctanh_test): Likewise.
29824 (ctanh_test_tonearest): Likewise.
29825 (ctanh_test_towardzero): Likewise.
29826 (ctanh_test_downward): Likewise.
29827 (ctanh_test_upward): Likewise.
29828 (erf_test): Use END macro without arguments.
29829 (erfc_test): Likewise.
29830 (exp_test): Likewise.
29831 (exp_test_tonearest): Likewise.
29832 (exp_test_towardzero): Likewise.
29833 (exp_test_downward): Likewise.
29834 (exp_test_upward): Likewise.
29835 (exp10_test): Likewise.
29836 (exp2_test): Likewise.
29837 (expm1_test): Likewise.
29838 (fabs_test): Likewise.
29839 (fdim_test): Likewise.
29840 (finite_test): Likewise.
29841 (floor_test): Likewise.
29842 (fma_test): Likewise.
29843 (fma_test_towardzero): Likewise.
29844 (fma_test_downward): Likewise.
29845 (fma_test_upward): Likewise.
29846 (fmax_test): Likewise.
29847 (fmin_test): Likewise.
29848 (fmod_test): Likewise.
29849 (fpclassify_test): Likewise.
29850 (frexp_test): Likewise.
29851 (gamma_test): Likewise.
29852 (hypot_test): Likewise.
29853 (ilogb_test): Likewise.
29854 (isfinite_test): Likewise.
29855 (isgreater_test): Likewise.
29856 (isgreaterequal_test): Likewise.
29857 (isinf_test): Likewise.
29858 (isless_test): Likewise.
29859 (islessequal_test): Likewise.
29860 (islessgreater_test): Likewise.
29861 (isnan_test): Likewise.
29862 (isnormal_test): Likewise.
29863 (issignaling_test): Likewise.
29864 (isunordered_test): Likewise.
29865 (j0_test): Likewise.
29866 (j1_test): Likewise.
29867 (jn_test): Likewise.
29868 (ldexp_test): Likewise.
29869 (lgamma_test): Likewise.
29870 (lrint_test): Likewise.
29871 (lrint_test_tonearest): Likewise.
29872 (lrint_test_towardzero): Likewise.
29873 (lrint_test_downward): Likewise.
29874 (lrint_test_upward): Likewise.
29875 (llrint_test): Likewise.
29876 (llrint_test_tonearest): Likewise.
29877 (llrint_test_towardzero): Likewise.
29878 (llrint_test_downward): Likewise.
29879 (llrint_test_upward): Likewise.
29880 (log_test): Likewise.
29881 (log10_test): Likewise.
29882 (log1p_test): Likewise.
29883 (log2_test): Likewise.
29884 (logb_test): Likewise.
29885 (logb_test_downward): Likewise.
29886 (lround_test): Likewise.
29887 (llround_test): Likewise.
29888 (modf_test): Likewise.
29889 (nearbyint_test): Likewise.
29890 (nextafter_test): Likewise.
29891 (nexttoward_test): Likewise.
29892 (pow_test): Likewise.
29893 (pow_test_tonearest): Likewise.
29894 (pow_test_towardzero): Likewise.
29895 (pow_test_downward): Likewise.
29896 (pow_test_upward): Likewise.
29897 (remainder_test): Likewise.
29898 (remainder_test_tonearest): Likewise.
29899 (remainder_test_towardzero): Likewise.
29900 (remainder_test_downward): Likewise.
29901 (remainder_test_upward): Likewise.
29902 (remquo_test): Likewise.
29903 (rint_test): Likewise.
29904 (rint_test_tonearest): Likewise.
29905 (rint_test_towardzero): Likewise.
29906 (rint_test_downward): Likewise.
29907 (rint_test_upward): Likewise.
29908 (round_test): Likewise.
29909 (scalb_test): Likewise.
29910 (scalbn_test): Likewise.
29911 (scalbln_test): Likewise.
29912 (signbit_test): Likewise.
29913 (sin_test): Likewise.
29914 (sin_test_tonearest): Likewise.
29915 (sin_test_towardzero): Likewise.
29916 (sin_test_downward): Likewise.
29917 (sin_test_upward): Likewise.
29918 (sincos_test): Likewise.
29919 (sinh_test): Likewise.
29920 (sinh_test_tonearest): Likewise.
29921 (sinh_test_towardzero): Likewise.
29922 (sinh_test_downward): Likewise.
29923 (sinh_test_upward): Likewise.
29924 (sqrt_test): Likewise.
29925 (tan_test): Likewise.
29926 (tan_test_tonearest): Likewise.
29927 (tan_test_towardzero): Likewise.
29928 (tan_test_downward): Likewise.
29929 (tan_test_upward): Likewise.
29930 (tanh_test): Likewise.
29931 (tgamma_test): Likewise.
29932 (trunc_test): Likewise.
29933 (y0_test): Likewise.
29934 (y1_test): Likewise.
29935 (yn_test): Likewise.
29936 (significand_test): Likewise.
29937
bae143d2
OB
299382013-05-24 Ondřej Bílka <neleai@seznam.cz>
29939
29940 [BZ #15381]
29941 * libio/genops.c (_IO_no_init): Initialize wide struct info.
29942
9323d39b
EM
299432013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
29944
d4ea44a0 29945 [BZ #14894]
9323d39b
EM
29946 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29947 __ppc_mdoio and __ppc_mdoom.
29948 * manual/platform.texi: Document new functions __ppc_yield,
29949 __ppc_mdoio and __ppc_mdoom.
29950
13e23af7
CD
299512013-05-22 Carlos O'Donell <carlos@redhat.com>
29952
29953 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29954 (main): Mention "tls" pseudo-hwcap is legacy.
29955 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29956
351fe550
JM
299572013-05-22 Joseph Myers <joseph@codesourcery.com>
29958
29959 * math/gen-libm-test.pl (parse_args): Output only string of
29960 arguments as text for test name, not full call or descriptions of
29961 tests for extra outputs.
29962 (generate_testfile): Do not pass function name to parse_args.
29963 Generate this_func variable from START.
29964 * math/libm-test.inc (struct test_f_f_data): Rename test_name
29965 field to arg_str.
29966 (struct test_ff_f_data): Likewise.
29967 (test_ff_f_data_nexttoward): Likewise.
29968 (struct test_fi_f_data): Likewise.
29969 (struct test_fl_f_data): Likewise.
29970 (struct test_if_f_data): Likewise.
29971 (struct test_fff_f_data): Likewise.
29972 (struct test_c_f_data): Likewise.
29973 (struct test_f_f1_data): Likewise. Remove field extra_name.
29974 (struct test_fF_f1_data): Likewise.
29975 (struct test_ffI_f1_data): Likewise.
29976 (struct test_c_c_data): Rename test_name field to arg_str.
29977 (struct test_cc_c_data): Likewise.
29978 (struct test_f_i_data): Likewise.
29979 (struct test_ff_i_data): Likewise.
29980 (struct test_f_l_data): Likewise.
29981 (struct test_f_L_data): Likewise.
29982 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
29983 and extra2_name.
29984 (COMMON_TEST_SETUP): New macro.
29985 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29986 (COMMON_TEST_CLEANUP): Likewise.
29987 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29988 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
29989 macros.
29990 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29991 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
29992 macros.
29993 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29994 (RUN_TEST_fff_f): Take argument string. Call new setup and
29995 cleanup macros.
29996 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29997 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
29998 macros.
29999 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30000 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30001 macros.
30002 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30003 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30004 cleanup macros.
30005 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30006 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30007 cleanup macros.
30008 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30009 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30010 cleanup macros.
30011 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30012 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30013 macros.
30014 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30015 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30016 macros.
30017 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30018 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30019 macros.
30020 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30021 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30022 cleanup macros.
30023 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30024 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30025 cleanup macros.
30026 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30027 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30028 macros.
30029 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30030 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30031 cleanup macros.
30032 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30033 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30034 macros.
30035 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30036 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30037 macros.
30038 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30039 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30040 cleanup macros.
30041 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30042
85118d4d
EBM
300432013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30044
30045 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30046 to _sifields.sigfault.
30047 (si_addr_lsb): Define new macro.
30048 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30049 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30050 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30051
7a44c18f
CD
300522013-05-03 Carlos O'Donell <carlos at redhat.com>
30053
30054 [BZ #15441]
30055 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30056 returns -1.
30057 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30058 null return -1.
30059 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30060 loading the domain.
30061
b50a7181
JM
300622013-05-22 Joseph Myers <joseph@codesourcery.com>
30063
30064 * math/gen-libm-test.pl (parse_args): Do not include expected
30065 result in test name.
30066 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30068 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30069 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30070 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30072
051063c8
SP
300732013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30074
3ce9e010
SP
30075 * benchtests/Makefile: Sort function entries.
30076
051063c8
SP
30077 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30078 tanh, asinh, acosh, atanh.
30079 * benchtests/acos-inputs: New file.
30080 * benchtests/acosh-inputs: New file.
30081 * benchtests/asin-inputs: New file.
30082 * benchtests/asinh-inputs: New file.
30083 * benchtests/atanh-inputs: New file.
30084 * benchtests/cosh-inputs: New file.
30085 * benchtests/log-inputs: New file.
30086 * benchtests/sinh-inputs: New file.
30087 * benchtests/tanh-inputs: New file.
30088
47c22455
DL
300892013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30090
30091 [BZ #15339]
30092 * posix/tst-getaddrinfo4.c: New test.
30093 * posix/Makefile (tests): Add it.
30094
3d04f5db
SP
300952013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30096
30097 [BZ #15339]
30098 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30099 when no services were used.
30100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30101 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30102
d5dd6189
AS
301032013-05-21 Andreas Schwab <schwab@suse.de>
30104
30105 [BZ #15014]
30106 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30107 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30108 successful.
30109 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30110 redundant variable declarations and reallocation of buffer when
30111 parsing as IPv6 address. Always set NSS status when called from
30112 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30113 buffer too small. Correct computation of needed size.
30114 * nss/Makefile (tests): Add test-digits-dots.
30115 * nss/test-digits-dots.c: New test.
30116
fef94eab
SP
301172013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30118
30119 * benchtests/Makefile: Remove instructions for adding
30120 benchmark tests.
30121 * benchtests/README: New file to explain how to execute and
30122 enhance the benchmark tests.
30123
e39adf43
AS
301242013-05-21 Andreas Schwab <schwab@suse.de>
30125
30126 [BZ #15493]
30127 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30128 * setjmp/tst-sigsetjmp.c: New test.
30129
b2b671b6
OB
301302013-05-20 Ondřej Bílka <neleai@seznam.cz>
30131
30132 * sysdeps/x86_64/memset.S (memset): New implementation.
30133 (__bzero): Likewise.
30134 (__memset_tail): New function.
30135
2d48b41c
OB
301362013-05-20 Ondřej Bílka <neleai@seznam.cz>
30137
30138 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30139 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30140 __memcpy_sse2_unaligned ifunc selection.
30141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30142 Add memcpy-sse2-unaligned.S.
30143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30144 Add: __memcpy_sse2_unaligned.
30145
f16cc3eb
JM
301462013-05-19 Joseph Myers <joseph@codesourcery.com>
30147
3e694268
JM
30148 [BZ #15490]
30149 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30150 math_force_eval before restoring floating-point envrionment.
30151 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30152 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30153 Likewise.
30154 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30155 <math_private.h>.
30156 (__nearbyintl): Use math_force_eval before restoring
30157 floating-point environment.
30158 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30159
db62a907
JM
30160 * math/gen-libm-test.pl (special_functions): Remove.
30161 (parse_args): Don't handle TEST_extra. Handle functions with no
30162 return value.
30163 * math/libm-test.inc (struct test_sincos_data): Replace with
30164 struct test_fFF_11_data.
30165 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30166 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30167 (sincos_test_data): Change element type to struct
30168 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30169 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30170 RUN_TEST_LOOP_sincos.
30171 * math/README.libm-test: Don't mention special handling of
30172 individual functions.
30173 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30175 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30176 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30177 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30179
f16cc3eb
JM
30180 * math/gen-libm-test.pl (get_variable): Remove function.
30181 (parse_args): Don't show pointer parameters to call in test
30182 names. Use "extra output N" in test names for extra outputs
30183 rather than naming variables.
30184
3779b5b6
JM
301852013-05-18 Joseph Myers <joseph@codesourcery.com>
30186
2ee094ff
JM
30187 [BZ #15488]
30188 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30189 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30190 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30191 double tests.
30192 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30193 disable.
30194 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30195 check_long_double.
30196
3779b5b6
JM
30197 * math/gen-libm-test.pl (@tests): Remove variable.
30198 ($count): Likewise.
30199 (new_test): Remove function.
30200 (show_exceptions): New function.
30201 (special_functions): Use show_exceptions instead of new_test.
30202 (parse_args): Likewise.
30203 (generate_testfile): Pass only function name in generated call to
30204 print_max_error or print_complex_max_error.
30205 (get_ulps): Do not handle complex tests specially.
30206 (output_test): Rename to ...
30207 (get_all_ulps_for_test): ... this. Return a string rather than
30208 printing to a file. Require ulps to be present.
30209 (output_ulps): Generate arrays rather than #defines.
30210 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30211 (struct ulp_data): New type.
30212 (BUILD_COMPLEX_ULP): Remove macro.
30213 (compare_ulp_data): New function.
30214 (find_ulps): Likewise.
30215 (find_test_ulps): Likewise.
30216 (find_function_ulps): Likewise.
30217 (find_complex_function_ulps): Likewise.
30218 (print_max_error): Determine allowed ulps using
30219 find_function_ulps.
30220 (print_complex_max_error): Determine allowed ulps using
30221 find_complex_function_ulps.
30222 (check_float_internal): Determine max ulps using find_test_ulps.
30223 (check_float): Do not take max_ulp parameter. Update call to
30224 check_float_internal.
30225 (check_complex): Likewise.
30226 (check_int): Do not take max_ulp parameter.
30227 (check_long): Likewise.
30228 (check_bool): Likewise.
30229 (check_longlong): Likewise.
30230 (struct test_f_f_data): Remove max_ulp field.
30231 (struct test_ff_f_data): Likewise.
30232 (struct test_ff_f_data_nexttoward): Likewise.
30233 (struct test_fi_f_data): Likewise.
30234 (struct test_fl_f_data): Likewise.
30235 (struct test_if_f_data): Likewise.
30236 (struct test_fff_f_data): Likewise.
30237 (struct test_c_f_data): Likewise.
30238 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30239 (struct test_fF_f1_data): Likewise.
30240 (struct test_ffI_f1_data): Likewise.
30241 (struct test_c_c_data): Remove max_ulp field.
30242 (struct test_cc_c_data): Likewise.
30243 (struct test_f_i_data): Likewise.
30244 (struct test_ff_i_data): Likewise.
30245 (struct test_f_l_data): Likewise.
30246 (struct test_f_L_data): Likewise.
30247 (struct test_sincos_data): Likewise.
30248 (RUN_TEST_f_f): Do not handle ulps.
30249 (RUN_TEST_LOOP_f_f): Likewise.
30250 (RUN_TEST_2_f): Likewise.
30251 (RUN_TEST_LOOP_2_f): Likewise.
30252 (RUN_TEST_fff_f): Likewise.
30253 (RUN_TEST_LOOP_fff_f): Likewise.
30254 (RUN_TEST_c_f): Likewise.
30255 (RUN_TEST_LOOP_c_f): Likewise.
30256 (RUN_TEST_f_f1): Likewise.
30257 (RUN_TEST_LOOP_f_f1): Likewise.
30258 (RUN_TEST_fF_f1): Likewise.
30259 (RUN_TEST_LOOP_fF_f1): Likewise.
30260 (RUN_TEST_fI_f1): Likewise.
30261 (RUN_TEST_LOOP_fI_f1): Likewise.
30262 (RUN_TEST_ffI_f1): Likewise.
30263 (RUN_TEST_LOOP_ffI_f1): Likewise.
30264 (RUN_TEST_c_c): Likewise.
30265 (RUN_TEST_LOOP_c_c): Likewise.
30266 (RUN_TEST_cc_c): Likewise.
30267 (RUN_TEST_LOOP_cc_c): Likewise.
30268 (RUN_TEST_f_i): Likewise.
30269 (RUN_TEST_LOOP_f_i): Likewise.
30270 (RUN_TEST_f_i_tg): Likewise.
30271 (RUN_TEST_LOOP_f_i_tg): Likewise.
30272 (RUN_TEST_ff_i_tg): Likewise.
30273 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30274 (RUN_TEST_f_b): Likewise.
30275 (RUN_TEST_LOOP_f_b): Likewise.
30276 (RUN_TEST_f_b_tg): Likewise.
30277 (RUN_TEST_LOOP_f_b_tg): Likewise.
30278 (RUN_TEST_f_l): Likewise.
30279 (RUN_TEST_LOOP_f_l): Likewise.
30280 (RUN_TEST_f_L): Likewise.
30281 (RUN_TEST_LOOP_f_L): Likewise.
30282 (RUN_TEST_sincos): Likewise.
30283 (RUN_TEST_LOOP_sincos): Likewise.
30284
8269107f
JM
302852013-05-17 Joseph Myers <joseph@codesourcery.com>
30286
bb38759d
JM
30287 [BZ #15480]
30288 [BZ #15485]
30289 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30290 main case of finite arguments, set rounding mode to FE_TONEAREST
30291 and discard exceptions.
30292 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30293 exceptions.
30294 (remainder_tonearest_test_data): New variable.
30295 (remainder_test_tonearest): New function.
30296 (remainder_towardzero_test_data): New variable.
30297 (remainder_test_towardzero): New function.
30298 (remainder_downward_test_data): New variable.
30299 (remainder_test_downward): New function.
30300 (remainder_upward_test_data): New variable.
30301 (remainder_test_upward): New function.
30302 (main): Call the new test functions.
30303
a00bdcf0
JM
30304 * math/libm-test.inc (struct test_f_f1_data): Remove field
30305 extra_init.
30306 (struct test_fF_f1_data): Likewise.
30307 (struct test_ffI_f1_data): Likewise.
30308 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30309 based on value of EXTRA_EXPECTED.
30310 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30311 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30312 EXTRA_VAR based on value of EXTRA_EXPECTED.
30313 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30314 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30315 EXTRA_VAR based on value of EXTRA_EXPECTED.
30316 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30317 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30318 EXTRA_VAR based on value of EXTRA_EXPECTED.
30319 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30320 * math/gen-libm-test.pl (parse_args): Don't output initializers
30321 for extra output values.
30322
de407f79
JM
30323 * math/libm-test.inc (check_int): Expect result to be exactly
30324 equal to expected value and do not handle ulps.
30325 (check_long): Likewise.
30326 (check_longlong): Likewise.
30327
8269107f
JM
30328 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30329 exceptions.
30330 (cimag_test_data): Likewise.
30331 (conj_test_data): Likewise.
30332 (copysign_test_data): Likewise.
30333 (cproj_test_data): Likewise.
30334 (creal_test_data): Likewise.
30335 (fabs_test_data): Likewise.
30336 (fdim_test_data): Likewise.
30337 (finite_test_data): Likewise.
30338 (floor_test_data): Likewise.
30339 (fmax_test_data): Likewise.
30340 (fmin_test_data): Likewise.
30341 (fmod_test_data): Likewise.
30342 (fpclassify_test_data): Likewise.
30343 (frexp_test_data): Likewise.
30344 (ilogb_test_data): Likewise.
30345 (isfinite_test_data): Likewise.
30346 (isgreater_test_data): Likewise.
30347 (isgreaterequal_test_data): Likewise.
30348 (isinf_test_data): Likewise.
30349 (isless_test_data): Likewise.
30350 (islessequal_test_data): Likewise.
30351 (islessgreater_test_data): Likewise.
30352 (isnan_test_data): Likewise.
30353 (isnormal_test_data): Likewise.
30354 (issignaling_test_data): Likewise.
30355 (isunordered_test_data): Likewise.
30356 (ldexp_test_data): Likewise.
30357 (lrint_test_data): Likewise.
30358 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30359 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30360 (lrint_tonearest_test_data): Test for "inexact" exceptions.
30361 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30362 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30363 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30364 test input.
30365 (lrint_towardzero_test_data): Test for "inexact" exceptions.
30366 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30367 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30368 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30369 that test input.
30370 (lrint_downward_test_data): Test for "inexact" exceptions.
30371 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30372 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30373 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30374 test input.
30375 (lrint_upward_test_data): Test for "inexact" exceptions.
30376 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30377 test input.
30378 (llrint_test_data): Test for "inexact" exceptions.
30379 (llrint_test_data) [TEST_FLOAT]: Disable one test.
30380 (llrint_tonearest_test_data): Test for "inexact" exceptions.
30381 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30382 (llrint_towardzero_test_data): Test for "inexact" exceptions.
30383 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30384 (llrint_downward_test_data): Test for "inexact" exceptions.
30385 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30386 (llrint_upward_test_data): Test for "inexact" exceptions.
30387 (logb_test_data): Likewise.
30388 (logb_downward_test_data): Likewise.
30389 (nextafter_test_data): Likewise.
30390 (nexttoward_test_data): Likewise.
30391 (remainder_test_data): Likewise.
30392 (remquo_test_data): Likewise.
30393 (scalbn_test_data): Likewise.
30394 (scalbln_test_data): Likewise.
30395 (signbit_test_data): Likewise.
30396 (sqrt_test_data): Likewise.
30397 (significand_test_data): Likewise.
30398
48a18de1
SP
303992013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30400
30401 [BZ #15424]
30402 * benchtests/bench-modf.c (struct args): Mark arg0 as
30403 volatile.
30404 * scripts/bench.pl: Mark members of struct args as volatile.
30405
13d3b41a
AZ
304062013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30407
68191c1d 30408 [BZ # 15497]
13d3b41a
AZ
30409 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30410 negative infinity on POWER6 or lower.
30411 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30412
2848b105
MR
304132013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30414
30415 [BZ #15442]
30416 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30417 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30418 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30419 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30420 (_FP_SETQNAN): New macro.
30421 (_FP_SETQNAN_SEMIRAW): Likewise.
30422 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30423 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30424 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30425 (FP_EXTEND): Use _FP_FRAC_SNANP.
30426 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30427 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30428 into account.
30429 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30430 New macro.
30431 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30432 Likewise.
30433
323e5cb7
JM
304342013-05-16 Joseph Myers <joseph@codesourcery.com>
30435
c58b274f
JM
30436 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30437 with DIVIDE_BY_ZERO_EXCEPTION.
30438 (gamma_test_data): Likewise.
30439 (lgamma_test_data): Likewise.
30440 (log_test_data): Likewise.
30441 (log10_test_data): Likewise.
30442 (log2_test_data): Likewise.
30443 (tgamma_test_data): Likewise.
30444
0ab34904
JM
30445 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30446 (acos_test_tonearest): Likewise.
30447 (acos_test_towardzero): Likewise.
30448 (acos_test_downward): Likewise.
30449 (acos_test_upward): Likewise.
30450 (acosh_test): Likewise.
30451 (asin_test): Likewise.
30452 (asin_test_tonearest): Likewise.
30453 (asin_test_towardzero): Likewise.
30454 (asin_test_downward): Likewise.
30455 (asin_test_upward): Likewise.
30456 (asinh_test): Likewise.
30457 (atan_test): Likewise.
30458 (atanh_test): Likewise.
30459 (atan2_test): Likewise.
30460 (cabs_test): Likewise.
30461 (cacos_test): Likewise.
30462 (cacosh_test): Likewise.
30463 (casin_test): Likewise.
30464 (casinh_test): Likewise.
30465 (catan_test): Likewise.
30466 (catanh_test): Likewise.
30467 (cbrt_test): Likewise.
30468 (ccos_test): Likewise.
30469 (ccosh_test): Likewise.
30470 (cexp_test): Likewise.
30471 (clog_test): Likewise.
30472 (clog10_test): Likewise.
30473 (cos_test): Likewise.
30474 (cos_test_tonearest): Likewise.
30475 (cos_test_towardzero): Likewise.
30476 (cos_test_downward): Likewise.
30477 (cos_test_upward): Likewise.
30478 (cosh_test): Likewise.
30479 (cosh_test_tonearest): Likewise.
30480 (cosh_test_towardzero): Likewise.
30481 (cosh_test_downward): Likewise.
30482 (cosh_test_upward): Likewise.
30483 (cpow_test): Likewise.
30484 (csin_test): Likewise.
30485 (csinh_test): Likewise.
30486 (csqrt_test): Likewise.
30487 (ctan_test): Likewise.
30488 (ctan_test_tonearest): Likewise.
30489 (ctan_test_towardzero): Likewise.
30490 (ctan_test_downward): Likewise.
30491 (ctan_test_upward): Likewise.
30492 (ctanh_test): Likewise.
30493 (ctanh_test_tonearest): Likewise.
30494 (ctanh_test_towardzero): Likewise.
30495 (ctanh_test_downward): Likewise.
30496 (ctanh_test_upward): Likewise.
30497 (erf_test): Likewise.
30498 (erfc_test): Likewise.
30499 (exp_test): Likewise.
30500 (exp_test_tonearest): Likewise.
30501 (exp_test_towardzero): Likewise.
30502 (exp_test_downward): Likewise.
30503 (exp_test_upward): Likewise.
30504 (exp10_test): Likewise.
30505 (exp2_test): Likewise.
30506 (expm1_test): Likewise.
30507 (fmod_test): Likewise.
30508 (gamma_test): Likewise.
30509 (hypot_test): Likewise.
30510 (j0_test): Likewise.
30511 (j1_test): Likewise.
30512 (jn_test): Likewise.
30513 (lgamma_test): Likewise.
30514 (log_test): Likewise.
30515 (log10_test): Likewise.
30516 (log1p_test): Likewise.
30517 (log2_test): Likewise.
30518 (logb_test_downward): Likewise.
30519 (pow_test): Likewise.
30520 (pow_test_tonearest): Likewise.
30521 (pow_test_towardzero): Likewise.
30522 (pow_test_downward): Likewise.
30523 (pow_test_upward): Likewise.
30524 (remainder_test): Likewise.
30525 (remquo_test): Likewise.
30526 (sin_test): Likewise.
30527 (sin_test_tonearest): Likewise.
30528 (sin_test_towardzero): Likewise.
30529 (sin_test_downward): Likewise.
30530 (sin_test_upward): Likewise.
30531 (sincos_test): Likewise.
30532 (sinh_test): Likewise.
30533 (sinh_test_tonearest): Likewise.
30534 (sinh_test_towardzero): Likewise.
30535 (sinh_test_downward): Likewise.
30536 (sinh_test_upward): Likewise.
30537 (sqrt_test): Likewise.
30538 (tan_test): Likewise.
30539 (tan_test_tonearest): Likewise.
30540 (tan_test_towardzero): Likewise.
30541 (tan_test_downward): Likewise.
30542 (tan_test_upward): Likewise.
30543 (tanh_test): Likewise.
30544 (tgamma_test): Likewise.
30545 (y0_test): Likewise.
30546 (y1_test): Likewise.
30547 (yn_test): Likewise.
30548
323e5cb7
JM
30549 * math/gen-libm-test.pl (adjust_arg): Remove function.
30550 (special_function): Remove argument $in_func. Only handle
30551 generating output for tables of tests, not inside functions.
30552 (parse_args): Likewise.
30553 (generate_testfile): Remove variable $in_func. Update call to
30554 parse_args.
30555 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30556 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30557 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30558 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30559 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30560 (MAX_VALUE_INIT): Rename macro to max_value.
30561 (MIN_VALUE_INIT): Rename macro to min_value.
30562 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30563 (plus_zero): Remove variable.
30564 (minus_zero): Likewise.
30565 (plus_infty): Likewise.
30566 (minus_infty): Likewise.
30567 (qnan_value): Likewise.
30568 (max_value): Likewise.
30569 (min_value): Likewise.
30570 (min_subnorm_value): Likewise.
30571
e054f494
RA
305722013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30573
30574 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30575 uint64_t or uint32_t usage.
30576 * crypt/sha256-block.c: Likewise.
30577 * crypt/sha256-crypt.c: Likewise.
30578 * crypt/sha256.c: Likewise.
30579 * crypt/sha512-block.c: Likewise.
30580 * crypt/sha512-crypt.c: Likewise.
30581 * crypt/sha512.c: Likewise.
30582 * debug/backtrace-tst.c: Likewise.
30583 * debug/pcprofiledump.c: Likewise.
30584 * elf/cache.c: Likewise.
30585 * elf/dl-cache.c: Likewise.
30586 * elf/dl-misc.c: Likewise.
30587 * elf/dl-profile.c: Likewise.
30588 * elf/dl-support.c: Likewise.
30589 * elf/ldconfig.c: Likewise.
30590 * elf/sprof.c: Likewise.
30591 * iconv/dummy-repertoire.c: Likewise.
30592 * iconv/iconv_charmap.c: Likewise.
30593 * iconv/skeleton.c: Likewise.
30594 * iconvdata/8bit-generic.c: Likewise.
30595 * iconvdata/cp737.h: Likewise.
30596 * iconvdata/cp775.h: Likewise.
30597 * iconvdata/ibm1008.h: Likewise.
30598 * iconvdata/ibm1025.h: Likewise.
30599 * iconvdata/ibm1046.h: Likewise.
30600 * iconvdata/ibm1097.h: Likewise.
30601 * iconvdata/ibm1112.h: Likewise.
30602 * iconvdata/ibm1122.h: Likewise.
30603 * iconvdata/ibm1123.h: Likewise.
30604 * iconvdata/ibm1124.h: Likewise.
30605 * iconvdata/ibm1129.h: Likewise.
30606 * iconvdata/ibm1130.h: Likewise.
30607 * iconvdata/ibm1132.h: Likewise.
30608 * iconvdata/ibm1133.h: Likewise.
30609 * iconvdata/ibm1137.h: Likewise.
30610 * iconvdata/ibm1140.h: Likewise.
30611 * iconvdata/ibm1141.h: Likewise.
30612 * iconvdata/ibm1142.h: Likewise.
30613 * iconvdata/ibm1143.h: Likewise.
30614 * iconvdata/ibm1144.h: Likewise.
30615 * iconvdata/ibm1145.h: Likewise.
30616 * iconvdata/ibm1146.h: Likewise.
30617 * iconvdata/ibm1147.h: Likewise.
30618 * iconvdata/ibm1148.h: Likewise.
30619 * iconvdata/ibm1149.h: Likewise.
30620 * iconvdata/ibm1153.h: Likewise.
30621 * iconvdata/ibm1154.h: Likewise.
30622 * iconvdata/ibm1155.h: Likewise.
30623 * iconvdata/ibm1156.h: Likewise.
30624 * iconvdata/ibm1157.h: Likewise.
30625 * iconvdata/ibm1158.h: Likewise.
30626 * iconvdata/ibm1160.h: Likewise.
30627 * iconvdata/ibm1161.h: Likewise.
30628 * iconvdata/ibm1162.h: Likewise.
30629 * iconvdata/ibm1163.h: Likewise.
30630 * iconvdata/ibm1164.h: Likewise.
30631 * iconvdata/ibm1166.h: Likewise.
30632 * iconvdata/ibm1167.h: Likewise.
30633 * iconvdata/ibm12712.h: Likewise.
30634 * iconvdata/ibm1390.h: Likewise.
30635 * iconvdata/ibm1399.h: Likewise.
30636 * iconvdata/ibm16804.h: Likewise.
30637 * iconvdata/ibm4517.h: Likewise.
30638 * iconvdata/ibm4899.h: Likewise.
30639 * iconvdata/ibm4909.h: Likewise.
30640 * iconvdata/ibm4971.h: Likewise.
30641 * iconvdata/ibm5347.h: Likewise.
30642 * iconvdata/ibm803.h: Likewise.
30643 * iconvdata/ibm856.h: Likewise.
30644 * iconvdata/ibm901.h: Likewise.
30645 * iconvdata/ibm902.h: Likewise.
30646 * iconvdata/ibm9030.h: Likewise.
30647 * iconvdata/ibm9066.h: Likewise.
30648 * iconvdata/ibm921.h: Likewise.
30649 * iconvdata/ibm922.h: Likewise.
30650 * iconvdata/ibm9448.h: Likewise.
30651 * iconvdata/isiri-3342.h: Likewise.
30652 * iconvdata/jis0201.h: Likewise.
30653 * include/link.h: Likewise.
30654 * include/netdb.h: Likewise.
30655 * inet/check_native.c: Likewise.
30656 * inet/check_pf.c: Likewise.
30657 * inet/getipv4sourcefilter.c: Likewise.
30658 * inet/getnameinfo.c: Likewise.
30659 * inet/getsourcefilter.c: Likewise.
30660 * inet/htonl.c: Likewise.
30661 * inet/setipv4sourcefilter.c: Likewise.
30662 * inet/setsourcefilter.c: Likewise.
30663 * inet/test-inet6_opt.c: Likewise.
30664 * inet/tst-network.c: Likewise.
30665 * locale/C-collate.c: Likewise.
30666 * locale/C-ctype.c: Likewise.
30667 * locale/C-time.c: Likewise.
30668 * locale/C-translit.h: Likewise.
30669 * locale/loadarchive.c: Likewise.
30670 * locale/programs/3level.h: Likewise.
30671 * locale/programs/charmap.c: Likewise.
30672 * locale/programs/charmap.h: Likewise.
30673 * locale/programs/ld-address.c: Likewise.
30674 * locale/programs/ld-collate.c: Likewise.
30675 * locale/programs/ld-ctype.c: Likewise.
30676 * locale/programs/ld-identification.c: Likewise.
30677 * locale/programs/ld-measurement.c: Likewise.
30678 * locale/programs/ld-messages.c: Likewise.
30679 * locale/programs/ld-monetary.c: Likewise.
30680 * locale/programs/ld-name.c: Likewise.
30681 * locale/programs/ld-numeric.c: Likewise.
30682 * locale/programs/ld-paper.c: Likewise.
30683 * locale/programs/ld-telephone.c: Likewise.
30684 * locale/programs/ld-time.c: Likewise.
30685 * locale/programs/linereader.c: Likewise.
30686 * locale/programs/locale.c: Likewise.
30687 * locale/programs/locarchive.c: Likewise.
30688 * locale/programs/locfile.h: Likewise.
30689 * locale/programs/repertoire.c: Likewise.
30690 * locale/programs/simple-hash.c: Likewise.
30691 * locale/programs/simple-hash.h: Likewise.
30692 * malloc/memusage.c: Likewise.
30693 * malloc/memusagestat.c: Likewise.
30694 * nis/nis_defaults.c: Likewise.
30695 * nis/nis_hash.c: Likewise.
30696 * nis/nis_print.c: Likewise.
30697 * nis/nis_xdr.c: Likewise.
30698 * nscd/connections.c: Likewise.
30699 * nscd/hstcache.c: Likewise.
30700 * nscd/nscd_gethst_r.c: Likewise.
30701 * nscd/nscd_getserv_r.c: Likewise.
30702 * nscd/nscd_helper.c: Likewise.
30703 * nscd/servicescache.c: Likewise.
30704 * nss/makedb.c: Likewise.
30705 * nss/nss_db/db-XXX.c: Likewise.
30706 * nss/nss_db/db-initgroups.c: Likewise.
30707 * nss/nss_db/db-netgrp.c: Likewise.
30708 * nss/nss_files/files-network.c: Likewise.
30709 * nss/nss_files/files-parse.c: Likewise.
30710 * posix/bug-regex5.c: Likewise.
30711 * posix/fnmatch_loop.c: Likewise.
30712 * posix/regcomp.c: Likewise.
30713 * posix/regexec.c: Likewise.
30714 * posix/tst-rfc3484-2.c: Likewise.
30715 * posix/tst-rfc3484-3.c: Likewise.
30716 * posix/tst-rfc3484.c: Likewise.
30717 * resolv/nss_dns/dns-canon.c: Likewise.
30718 * resolv/nss_dns/dns-network.c: Likewise.
30719 * resolv/res_init.c: Likewise.
30720 * resolv/res_mkquery.c: Likewise.
30721 * resolv/tst-aton.c: Likewise.
30722 * stdlib/cxa_atexit.c: Likewise.
30723 * stdlib/cxa_finalize.c: Likewise.
30724 * stdlib/gen-fpioconst.c: Likewise.
30725 * stdlib/strtol_l.c: Likewise.
30726 * string/tst-endian.c: Likewise.
30727 * sunrpc/auth_des.c: Likewise.
30728 * sunrpc/clnt_udp.c: Likewise.
30729 * sunrpc/rtime.c: Likewise.
30730 * sunrpc/svcauth_des.c: Likewise.
30731 * sunrpc/xdr.c: Likewise.
30732 * sunrpc/xdr_intXX_t.c: Likewise.
30733 * sunrpc/xdr_rec.c: Likewise.
30734 * sysdeps/generic/ldconfig.h: Likewise.
30735 * sysdeps/generic/ldsodefs.h: Likewise.
30736 * sysdeps/generic/memusage.h: Likewise.
30737 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30738 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30739 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30743 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30747 * sysdeps/posix/getaddrinfo.c: Likewise.
30748 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30749 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30750 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30751 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30752 * sysdeps/powerpc/test-gettimebase.c: Likewise.
30753 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30754 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30755 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30756 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30757 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30758 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30759 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30760 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30761 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30762 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30763 * sysdeps/x86_64/dl-tls.h: Likewise.
30764 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30765 * time/alt_digit.c: Likewise.
30766 * time/era.c: Likewise.
30767 * wcsmbs/tst-c16c32-1.c: Likewise.
30768
8c75f674
JM
307692013-05-16 Joseph Myers <joseph@codesourcery.com>
30770
30771 * math/libm-test.inc (struct test_sincos_data): New type.
30772 (RUN_TEST_LOOP_sincos): New macro.
30773 (sincos_test_data): New variable.
30774 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30775
e6e49e59
RH
307762013-05-16 Richard Henderson <rth@redhat.com>
30777
30778 * math/atest-exp2.c (LIMB64): New macro.
30779 (CONSTSZ): New macro.
30780 (mp_exp1, mp_exp_m1, mp_log2): New variables.
30781 (hexdig): Move ...
30782 (print_mpn_fp): ... to function scope.
30783 (read_mpn_hex): Remove.
30784 (get_log2): Remove.
30785 (exp2_mpn): Use mp_log2.
30786 (main): Use mp_exp1.
30787
15c7c18d
JM
307882013-05-16 Joseph Myers <joseph@codesourcery.com>
30789
105a07df
JM
30790 * math/libm-test.inc: Remove comment about not testing "inexact"
30791 exceptions.
30792 (INEXACT_EXCEPTION): New macro.
30793 (NO_INEXACT_EXCEPTION): Likewise.
30794 (INVALID_EXCEPTION_OK): Update value.
30795 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30796 (OVERFLOW_EXCEPTION_OK): Likewise.
30797 (UNDERFLOW_EXCEPTION_OK): Likewise.
30798 (IGNORE_ZERO_INF_SIGN): Likewise.
30799 (ERRNO_UNCHANGED): Likewise.
30800 (ERRNO_EDOM): Likewise.
30801 (ERRNO_ERANGE): Likewise.
30802 (test_exceptions): Handle testing "inexact" exceptions.
30803 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30804 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30805 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30806 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30807 INEXACT_EXCEPTION.
30808 (rint_towardzero_test_data): Likewise.
30809 (rint_downward_test_data): Likewise.
30810 (rint_upward_test_data): Likewise.
30811
e9eee333
JM
30812 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30813 with OVERFLOW_EXCEPTION.
30814 (exp10_test_data): Likewise.
30815 (exp2_test_data): Likewise.
30816 (expm1_test_data): Likewise.
30817 (lgamma_test_data): Likewise.
30818 (pow_test_data): Likewise.
30819 (tgamma_test_data): Likewise.
30820 (yn_test_data): Remove duplicate test of overflow.
30821
1c38ff73
JM
30822 * math/libm-test.inc (struct test_cc_c_data): New type.
30823 (RUN_TEST_LOOP_cc_c): New macro.
30824 (cpow_test_data): New variable.
30825 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30826
15c7c18d
JM
30827 * math/libm-test.inc (struct test_f_L_data): New type.
30828 (RUN_TEST_LOOP_f_L): New macro.
30829 (llrint_test_data): New variable.
30830 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30831 (llrint_tonearest_test_data): New variable.
30832 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30833 (llrint_towardzero_test_data): New variable.
30834 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30835 (llrint_downward_test_data): New variable.
30836 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30837 (llrint_upward_test_data): New variable.
30838 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30839 (llround_test_data): New variable.
30840 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30841
f137ff13
PC
308422013-05-13 Peter Collingbourne <pcc@google.com>
30843
30844 * math/atest-exp2.c (get_log2): Remove const attribute.
30845
3608cb24
JM
308462013-05-15 Joseph Myers <joseph@codesourcery.com>
30847
30848 * math/libm-test.inc (struct test_f_l_data): New type.
30849 (RUN_TEST_LOOP_f_l): New macro.
30850 (lrint_test_data): New variable.
30851 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30852 (lrint_tonearest_test_data): New variable.
30853 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30854 (lrint_towardzero_test_data): New variable.
30855 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30856 (lrint_downward_test_data): New variable.
30857 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30858 (lrint_upward_test_data): New variable.
30859 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30860 (lround_test_data): New variable.
30861 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30862
39b1f617
PC
308632013-05-15 Peter Collingbourne <pcc@google.com>
30864
1deff3dc
PC
30865 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
30866 (EXTRACT_WORDS64) Use where appropriate.
30867 (INSERT_WORDS64) Likewise.
30868
791f3ba0
PC
30869 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
30870 constraints with x constraints.
30871 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30872
39b1f617
PC
30873 * malloc/obstack.c (_obstack_compat): Add initializer.
30874
12fba011
EM
308752013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
30876
30877 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30878 si_trapno and add si_addr_lsb to _sifields.sigfault.
30879 (si_trapno): Remove macro.
30880 (si_addr_lsb): Define new macro.
30881 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30882
d369f531
JM
308832013-05-15 Joseph Myers <joseph@codesourcery.com>
30884
b861c6c4
JM
30885 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30886 instead of TEST_f_l.
30887 (llrint_test_tonearest): Likewise.
30888 (llrint_test_towardzero): Likewise.
30889 (llrint_test_downward): Likewise.
30890 (llrint_test_upward): Likewise.
30891 (llround_test): Likewise.
30892
7abeee12
JM
30893 * math/libm-test.inc (struct test_f_i_data): Add comment.
30894 (RUN_TEST_LOOP_f_b): New macro.
30895 (RUN_TEST_LOOP_f_b_tg): Likewise.
30896 (finite_test_data): New variable.
30897 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30898 (isfinite_test_data): New variable.
30899 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30900 (isinf_test_data): New variable.
30901 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30902 (isnan_test_data): New variable.
30903 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30904 (isnormal_test_data): New variable.
30905 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30906 (issignaling_test_data): New variable.
30907 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30908 (signbit_test_data): New variable.
30909 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30910
cbe8c4d3
JM
30911 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30912 with INVALID_EXCEPTION.
30913 (acosh_test_data): Likewise.
30914 (asin_test_data): Likewise.
30915 (atanh_test_data): Likewise.
30916 (fmod_test_data): Likewise.
30917 (log_test_data): Likewise.
30918 (log10_test_data): Likewise.
30919 (log2_test_data): Likewise.
30920 (pow_test_data): Likewise.
30921 (sqrt_test_data): Likewise.
30922 (y0_test_data): Likewise.
30923 (y1_test_data): Likewise.
30924 (yn_test_data): Likewise.
30925
5575c0e5
JM
30926 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30927 function contents.
30928
d369f531
JM
30929 * math/libm-test.inc (struct test_ff_i_data): New type.
30930 (RUN_TEST_LOOP_ff_i_tg): New macro.
30931 (isgreater_test_data): New variable.
30932 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30933 (isgreaterequal_test_data): New variable.
30934 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30935 (isless_test_data): New variable.
30936 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30937 (islessequal_test_data): New variable.
30938 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30939 (islessgreater_test_data): New variable.
30940 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30941 (isunordered_test_data): New variable.
30942 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30943
781fd748
DM
309442013-05-14 David S. Miller <davem@davemloft.net>
30945
30946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30947
87aa21df
JM
309482013-05-14 Joseph Myers <joseph@codesourcery.com>
30949
5e908270
JM
30950 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30951
f71172e5
JM
30952 * math/libm-test.inc (struct test_fF_f1_data): Change type of
30953 extra_test to int.
30954 (struct test_f_i_data): Change type of max_ulp to int.
30955
8cfa635a
JM
30956 * math/libm-test.inc (test_ffI_f1_data): New type.
30957 (RUN_TEST_LOOP_ffI_f1): New macro.
30958 (remquo_test_data): New variable.
30959 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30960
2bcb36b2
JM
30961 * setjmp/tst-setjmp-fp.c: New file.
30962 * setjmp/Makefile (tests): Add tst-setjmp-fp.
30963 (link-libm): New variable.
30964 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30965
acbd839a
JM
30966 * math/libm-test.inc (struct test_f_i_data): New type.
30967 (RUN_TEST_LOOP_f_i): New macro.
30968 (RUN_TEST_LOOP_f_i_tg): Likewise.
30969 (fpclassify_test_data): New variable.
30970 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30971 (ilogb_test_data): New variable.
30972 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30973
e414d745
JM
30974 * math/libm-test.inc (scalbln_test): Correct function name in END
30975 call.
30976
d9c2a0fd
JM
30977 * math/libm-test.inc (struct test_f_f1_data): Add comment.
30978 (RUN_TEST_LOOP_fI_f1): New macro.
30979 (frexp_test_data): New variable.
30980 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30981
9dc9095d
JM
30982 * math/libm-test.inc (struct test_fF_f1_data): New type.
30983 (RUN_TEST_LOOP_fF_f1): New macro.
30984 (modf_test_data): New variable.
30985 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30986
87aa21df
JM
30987 * math/libm-test.inc (struct test_f_f1_data): New type.
30988 (RUN_TEST_LOOP_f_f1): New macro.
30989 (gamma_test_data): New variable.
30990 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30991 (lgamma_test_data): New variable.
30992 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30993
141af660
CD
309942013-05-13 Carlos O'Donell <carlos@redhat.com>
30995
30996 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30997 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30998 (main): Comment "tls" pseudo-hwcap.
30999
6d33265c
JM
310002013-05-13 Joseph Myers <joseph@codesourcery.com>
31001
68fc074c
JM
31002 * math/libm-test.inc (struct test_fl_f_data): New type.
31003 (RUN_TEST_LOOP_fl_f): New variable.
31004 (scalbln_test_data): New variable.
31005 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31006
243216e1
JM
31007 * math/libm-test.inc (struct test_fi_f_data): New type.
31008 (RUN_TEST_LOOP_fi_f): New macro.
31009 (ldexp_test_data): New variable.
31010 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31011 (scalbn_test_data): New variable.
31012 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31013
6a1992e2
JM
31014 * math/libm-test.inc (struct test_c_f_data): New type.
31015 (RUN_TEST_LOOP_c_f): New macro.
31016 (cabs_test_data): New variable.
31017 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31018 (carg_test_data): New variable.
31019 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31020 (cimag_test_data): New variable.
31021 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31022 (creal_test_data): New variable.
31023 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31024
0e400df5
JM
31025 * math/libm-test.inc (struct test_if_f_data): New type.
31026 (RUN_TEST_LOOP_if_f): New macro.
31027 (jn_test_data): New variable.
31028 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31029 (yn_test_data): New variable.
31030 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31031
6d33265c
JM
31032 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31033
f98ece5f
AZ
310342013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31035
31036 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31037 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31038
0f7d347b
SP
310392013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31040
43fe811b
SP
31041 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31042 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31043 (bench-deps): Add bench-timing.h.
31044 * benchtests-bench-skeleton.c: Include bench-timing.h.
31045 (main): Use TIMING_* macros instead of clock_gettime.
31046 * benchtests/bench-timing.h: New file.
31047
0f7d347b
SP
31048 [BZ #14582]
31049 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31050 Renamed from _LIB_VERSION.
31051 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31052
601a3a5f
JM
310532013-05-12 Joseph Myers <joseph@codesourcery.com>
31054
4f184d30
JM
31055 * math/libm-test.inc (struct test_fff_f_data): New type.
31056 (RUN_TEST_LOOP_fff_f): New macro.
31057 (fma_test_data): New variable.
31058 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31059 (fma_towardzero_test_data): New variable.
31060 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31061 (fma_downward_test_data): New variable.
31062 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31063 (fma_upward_test_data): New variable.
31064 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31065
08198877
JM
31066 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31067 (struct test_c_c_data): New type.
31068 (RUN_TEST_LOOP_c_c): New macro.
31069 (cacos_test_data): New variable.
31070 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31071 (cacosh_test_data): New variable.
31072 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31073 (casin_test_data): New variable.
31074 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31075 (casinh_test_data): New variable.
31076 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31077 (catan_test_data): New variable.
31078 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31079 (catanh_test_data): New variable.
31080 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31081 (ccos_test_data): New variable.
31082 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31083 (ccosh_test_data): New variable.
31084 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31085 (cexp_test_data): New variable.
31086 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31087 (clog_test_data): New variable.
31088 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31089 (clog10_test_data): New variable.
31090 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31091 (conj_test_data): New variable.
31092 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31093 (cproj_test_data): New variable.
31094 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31095 (csin_test_data): New variable.
31096 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31097 (csinh_test_data): New variable.
31098 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31099 (csqrt_test_data): New variable.
31100 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31101 (ctan_test_data): New variable.
31102 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31103 (ctan_tonearest_test_data): New variable.
31104 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31105 (ctan_towardzero_test_data): New variable.
31106 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31107 (ctan_downward_test_data): New variable.
31108 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31109 (ctan_upward_test_data): New variable.
31110 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31111 (ctanh_test_data): New variable.
31112 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31113 (ctanh_tonearest_test_data): New variable.
31114 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31115 (ctanh_towardzero_test_data): New variable.
31116 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31117 (ctanh_downward_test_data): New variable.
31118 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31119 (ctanh_upward_test_data): New variable.
31120 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31121 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31122 of BUILD_COMPLEX.
31123
601a3a5f
JM
31124 * math/libm-test.inc (struct test_ff_f_data): New type.
31125 (struct test_ff_f_data_nexttoward): Likewise.
31126 (RUN_TEST_LOOP_2_f): New macro.
31127 (RUN_TEST_LOOP_ff_f): Likewise.
31128 (atan2_test_data): New variable.
31129 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31130 (copysign_test_data): New variable.
31131 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31132 (fdim_test_data): New variable.
31133 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31134 (fmax_test_data): New variable.
31135 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31136 (fmin_test_data): New variable.
31137 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31138 (fmod_test_data): New variable.
31139 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31140 (hypot_test_data): New variable.
31141 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31142 (nextafter_test_data): New variable.
31143 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31144 (nexttoward_test_data): New variable.
31145 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31146 (pow_test_data): New variable.
31147 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31148 (pow_tonearest_test_data): New variable.
31149 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31150 (pow_towardzero_test_data): New variable.
31151 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31152 (pow_downward_test_data): New variable.
31153 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31154 (pow_upward_test_data): New variable.
31155 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31156 (remainder_test_data): New variable.
31157 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31158 (scalb_test_data): New variable.
31159 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31160 * sysdeps/i386/fpu/libm-test-ulps: Update.
31161
74c57478
JM
311622013-05-11 Joseph Myers <joseph@codesourcery.com>
31163
8329e4da
JM
31164 * math/libm-test.inc (fma_test): Use max_value instead of local
31165 variable fltmax.
31166 (nextafter_test): Likewise.
31167
74c57478
JM
31168 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31169 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31170 (acos_downward_test_data): New variable.
31171 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31172 (acos_upward_test_data): New variable.
31173 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31174 (acosh_test_data): New variable.
31175 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31176 (asin_test_data): New variable.
31177 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31178 (asin_tonearest_test_data): New variable.
31179 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31180 (asin_towardzero_test_data): New variable.
31181 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31182 (asin_downward_test_data): New variable.
31183 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31184 (asin_upward_test_data): New variable.
31185 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31186 (asinh_test_data): New variable.
31187 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31188 (atan_test_data): New variable.
31189 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31190 (atanh_test_data): New variable.
31191 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31192 (cbrt_test_data): New variable.
31193 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31194 (ceil_test_data): New variable.
31195 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31196 (cos_test_data): New variable.
31197 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31198 (cos_tonearest_test_data): New variable.
31199 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31200 (cos_towardzero_test_data): New variable.
31201 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31202 (cos_downward_test_data): New variable.
31203 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31204 (cos_upward_test_data): New variable.
31205 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31206 (cosh_test_data): New variable.
31207 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31208 (cosh_tonearest_test_data): New variable.
31209 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31210 (cosh_towardzero_test_data): New variable.
31211 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31212 (cosh_downward_test_data): New variable.
31213 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31214 (cosh_upward_test_data): New variable.
31215 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31216 (erf_test_data): New variable.
31217 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31218 (erfc_test_data): New variable.
31219 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31220 (exp_test_data): New variable.
31221 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31222 (exp_tonearest_test_data): New variable.
31223 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31224 (exp_towardzero_test_data): New variable.
31225 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31226 (exp_downward_test_data): New variable.
31227 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31228 (exp_upward_test_data): New variable.
31229 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31230 (exp10_test_data): New variable.
31231 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31232 (exp2_test_data): New variable.
31233 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31234 (expm1_test_data): New variable.
31235 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31236 (fabs_test_data): New variable.
31237 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31238 (floor_test_data): New variable.
31239 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31240 (j0_test_data): New variable.
31241 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31242 (j1_test_data): New variable.
31243 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31244 (log_test_data): New variable.
31245 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31246 (log10_test_data): New variable.
31247 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31248 (log1p_test_data): New variable.
31249 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31250 (log2_test_data): New variable.
31251 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31252 (logb_test_data): New variable.
31253 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31254 (logb_downward_test_data): New variable.
31255 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31256 (nearbyint_test_data): New variable.
31257 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31258 (rint_test_data): New variable.
31259 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31260 (rint_tonearest_test_data): New variable.
31261 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31262 (rint_towardzero_test_data): New variable.
31263 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31264 (rint_downward_test_data): New variable.
31265 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31266 (rint_upward_test_data): New variable.
31267 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31268 (round_test_data): New variable.
31269 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31270 (sin_test_data): New variable.
31271 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31272 (sin_tonearest_test_data): New variable.
31273 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31274 (sin_towardzero_test_data): New variable.
31275 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31276 (sin_downward_test_data): New variable.
31277 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31278 (sin_upward_test_data): New variable.
31279 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31280 (sinh_test_data): New variable.
31281 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31282 (sinh_tonearest_test_data): New variable.
31283 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31284 (sinh_towardzero_test_data): New variable.
31285 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31286 (sinh_downward_test_data): New variable.
31287 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31288 (sinh_upward_test_data): New variable.
31289 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31290 (sqrt_test_data): New variable.
31291 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31292 (tan_test_data): New variable.
31293 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31294 (tan_tonearest_test_data): New variable.
31295 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31296 (tan_towardzero_test_data): New variable.
31297 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31298 (tan_downward_test_data): New variable.
31299 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31300 (tan_upward_test_data): New variable.
31301 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31302 (tanh_test_data): New variable.
31303 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31304 (tgamma_test_data): New variable.
31305 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31306 (trunc_test_data): New variable.
31307 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31308 (y0_test_data): New variable.
31309 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31310 (y1_test_data): New variable.
31311 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31312 (significand_test_data): New variable.
31313 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31314
7187d844
CG
313152013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31316
31317 [BZ #12387]
31318 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31319
f63fae73
PT
313202013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31321
31322 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31323
8a67a4b3
AJ
313242013-05-10 Andreas Jaeger <aj@suse.de>
31325
31326 [BZ #15448]
31327 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31328 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31329
51df539d
JM
313302013-05-10 Joseph Myers <joseph@codesourcery.com>
31331
31332 * math/gen-libm-test.pl (adjust_arg): New function.
31333 (special_functions): Handle generating output in both functions
31334 and arrays.
31335 (parse_args): Likewise.
31336 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31337 $in_func argument to parse_args.
31338 * math/libm-test.inc (struct test_f_f_data): New type.
31339 (IF_ROUND_INIT_): New macro.
31340 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31341 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31342 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31343 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31344 (ROUND_RESTORE_): Likewise.
31345 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31346 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31347 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31348 (ROUND_RESTORE_FE_UPWARD): Likewise.
31349 (RUN_TEST_LOOP_f_f): New macro.
31350 (acos_test_data): New variable.
31351 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31352 (acos_tonearest_test_data): New variable.
31353 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31354
5c637fe5
SP
313552013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31356
31357 * benchtests/bench-skeleton.c (startup): Fix coding style.
31358
ab2b9461
JM
313592013-05-10 Joseph Myers <joseph@codesourcery.com>
31360
31361 [BZ #6809]
31362 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31363 negative infinity argument.
31364 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31365 negative infinity argument.
31366 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31367 negative infinity argument.
31368 * math/libm-test.inc (tgamma_test): Expect errno to be set for
31369 domain errors.
31370
4c0fe6fe
FW
313712013-05-10 Florian Weimer <fweimer@redhat.com>
31372
31373 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31374 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31375 * iconv/iconv_prog.c (main): Likewise.
31376 * locale/programs/charmap-dir.c (charmap_readdir)
31377 (fopen_uncompressed): Likewise.
31378 * locale/programs/locfile.c (siblings_uncached)
31379 (write_locale_data): Use lstat64 instead of lstat.
31380 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31381 stat.
31382
a3375d29
AJ
313832013-05-10 Andreas Jaeger <aj@suse.de>
31384
31385 [BZ #15395]
31386 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31387 localization.
31388 Include <locale.h>.
31389
36129722
CD
313902013-05-09 Carlos O'Donell <carlos@redhat.com>
31391
31392 * elf/dl-close.c (_dl_close_worker): Add comments.
31393
faa7f811
JM
313942013-05-09 Joseph Myers <joseph@codesourcery.com>
31395
ed41ffef
JM
31396 [BZ #15359]
31397 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31398 high part of pi/2.
31399 (__ieee754_rem_pio2l): Update comments.
31400
d0213cd0
JM
31401 [BZ #15429]
31402 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31403 high part of pi/2.
31404 (__ieee754_rem_pio2l): Update comments.
31405
0d3e777a
JM
31406 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31407 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31408
24f56066
JM
31409 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31410 M_PI_4l.
31411
faa7f811
JM
31412 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31413 (M_PI_34_LOG10El): Likewise.
31414 (M_PI2_LOG10El): Likewise.
31415 (M_PI4_LOG10El): Likewise.
31416 (M_PI_LOG10El): Likewise.
31417
e9a5e0fd
AZ
314182013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31419
31420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31421
d8cd06db
JM
314222013-05-08 Joseph Myers <joseph@codesourcery.com>
31423
a0d9f9d7
JM
31424 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31425 (MINUS_ZERO_INIT): Likewise.
31426 (PLUS_INFTY_INIT): Likewise.
31427 (MINUS_INFTY_INIT): Likewise.
31428 (QNAN_VALUE_INIT): Likewise.
31429 (MAX_VALUE_INIT): Likewise.
31430 (MIN_VALUE_INIT): Likewise.
31431 (MIN_SUBNORM_VALUE_INIT): Likewise.
31432 (plus_zero): Initialize with PLUS_ZERO_INIT.
31433 (minus_zero): Initialize with MINUS_ZERO_INIT.
31434 (plus_infty): Initialize with PLUS_INFTY_INIT.
31435 (minus_infty): Initialize with MINUS_INFTY_INIT.
31436 (qnan_value): Initialize with QNAN_VALUE_INIT.
31437 (max_value): Initialize with MAX_VALUE_INIT.
31438 (min_value): Initialize with MIN_VALUE_INIT.
31439 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31440
ae08db3b
JM
31441 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31442 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31443 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31444 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31445
f44bf14a
JM
31446 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31447 (RUN_TEST_2_f): Likewise.
31448 (RUN_TEST_ff_f): Likewise.
31449 (RUN_TEST_fi_f): Likewise.
31450 (RUN_TEST_fl_f): Likewise.
31451 (RUN_TEST_fff_f): Likewise.
31452 (RUN_TEST_c_f): Likewise.
31453 (RUN_TEST_f_f1): Likewise.
31454 (RUN_TEST_fF_f1): Likewise.
31455 (RUN_TEST_fI_f1): Likewise.
31456 (RUN_TEST_ffI_f1): Likewise.
31457 (RUN_TEST_c_c): Likewise.
31458 (RUN_TEST_cc_c): Likewise.
31459 (RUN_TEST_f_i): Likewise.
31460 (RUN_TEST_f_i_tg): Likewise.
31461 (RUN_TEST_ff_i_tg): Likewise.
31462 (RUN_TEST_f_b): Likewise.
31463 (RUN_TEST_f_b_tg): Likewise.
31464 (RUN_TEST_f_l): Likewise.
31465 (RUN_TEST_f_L): Likewise.
31466 (RUN_TEST_sincos): Likewise.
31467 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31468 whether to show exceptions. Do not include ");\n" in return
31469 value.
31470 (special_functions): Output call to RUN_TEST_sincos instead of
31471 check_float calls. Update calls to new_test.
31472 (parse_args): Output call to single RUN_TEST_* macro instead of
31473 check_* calls and other assignments. Update calls to new_test.
31474
d8cd06db
JM
31475 [BZ #2546]
31476 [BZ #2560]
31477 [BZ #5159]
31478 [BZ #15426]
31479 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31480 input to result for tgamma overflow.
31481 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31482 (gamma_coeff): New variable.
31483 (NCOEFF): New macro.
31484 (gamma_positive): New function.
31485 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31486 underflow here. Use gamma_positive instead of exp (lgamma) for
31487 other arguments.
31488 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31489 (gamma_coeff): New variable.
31490 (NCOEFF): New macro.
31491 (gammaf_positive): New function.
31492 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31493 underflow here. Use gamma_positive instead of exp (lgamma) for
31494 other arguments.
31495 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31496 (gamma_coeff): New variable.
31497 (NCOEFF): New macro.
31498 (gammal_positive): New function.
31499 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31500 underflow here. Use gamma_positive instead of exp (lgamma) for
31501 other arguments.
31502 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31503 (gamma_coeff): New variable.
31504 (NCOEFF): New macro.
31505 (gammal_positive): New function.
31506 (__ieee754_gammal_r): Handle positive infinity, overflow and
31507 underflow here. Handle NaN the same as positive infinity. Remove
31508 check x < 0xffffffff for negative integers. Use gamma_positive
31509 instead of exp (lgamma) for other arguments.
31510 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31511 (gamma_coeff): New variable.
31512 (NCOEFF): New macro.
31513 (gammal_positive): New function.
31514 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31515 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31516 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31517 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31518 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31519 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31520 * sysdeps/generic/math_private.h (__gamma_productf): New
31521 prototype.
31522 (__gamma_product): Likewise.
31523 (__gamma_productl): Likewise.
31524 * math/Makefile (libm-calls): Add gamma_product.
31525 * math/libm-test.inc (tgamma_test): Add more tests.
31526 * sysdeps/i386/fpu/libm-test-ulps: Update.
31527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31528
bb7cf681
OB
315292013-05-08 Ondřej Bílka <neleai@seznam.cz>
31530
31531 * benchtests/bench-skeleton.c (main): Preheat CPU.
31532
ba853947
AJ
315332013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31534
31535 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31536
8347c74c
RM
315372013-05-07 Roland McGrath <roland@hack.frob.com>
31538
31539 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31540 and _dl_skip_args_internal.
31541
e8dd4791
CD
315422013-05-07 Carlos O'Donell <carlos@redhat.com>
31543
31544 * manual/message.texi (Message Translation): Talk about users.
31545 Message to key mapping impacts design.
31546
c7405830
RM
315472013-05-06 Roland McGrath <roland@hack.frob.com>
31548
a9173057
RM
31549 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31550
976e2f03
RM
31551 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31552
9723ffc5
RM
31553 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31554 * sysdeps/wordsize-64/glob64.c: ... here.
31555
962e6658
RM
31556 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31557 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31558 New macros.
31559
ee586a6d
RM
31560 * debug/getlogin_r_chk.c: Moved to ...
31561 * login/getlogin_r_chk.c: ... here.
31562 * debug/Makefile (routines): Move getlogin_r_chk to ...
31563 * login/Makefile (routines): ... here.
31564 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31565 * login/Versions (libc: GLIBC_2.4): ... here.
31566
355f9165
RM
31567 * io/poll.c (__poll): Renamed from poll.
31568 Add libc_hidden_def.
31569 (poll): Define as weak alias.
31570
bd9ffde6
RM
31571 * debug/ptsname_r_chk.c: Moved to ...
31572 * login/ptsname_r_chk.c: ... here.
31573 * debug/Makefile (routines): Move ptsname_r_chk to ...
31574 * login/Makefile (routines): ... here.
31575 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31576 * login/Versions (libc: GLIBC_2.4): ... here.
31577
8fb16a04
RM
31578 * posix/getlogin.c: Moved to ...
31579 * login/getlogin.c: ... here.
31580 * posix/getlogin_r.c: Moved to ...
31581 * login/getlogin_r.c: ... here.
31582 * posix/getlogin_r.c: Moved to ...
31583 * login/getlogin_r.c: ... here.
31584 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31585 * login/Makefile (routines): ... here.
31586 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31587 * login/Versions (libc: GLIBC_2.0): ... here.
31588
b99b892f
RM
31589 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31590 (setrlimit): Define as weak alias.
31591
c7405830
RM
31592 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31593 Call __ names for open, ftruncate, and close.
31594 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31595 (truncate): Define as weak alias.
31596
5bf96de5
JM
315972013-05-06 Joseph Myers <joseph@codesourcery.com>
31598
9ea3513c
JM
31599 * math/gen-libm-test.pl (parse_args): Initialize x before each
31600 test of frexp, modf and remquo.
31601
5bf96de5
JM
31602 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31603 test signgam value.
31604
16e616a7
AZ
316052013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31606
31607 [BZ #15418]
31608 [BZ #15419]
31609 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31610 internal tests.
31611 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31612
d5e82754
RM
316132013-05-06 Roland McGrath <roland@hack.frob.com>
31614
31615 * elf/dl-writev.h: New file.
31616 * elf/dl-misc.c: Include it.
31617 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31618 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31619
a7548d41
JM
316202013-05-04 Joseph Myers <joseph@codesourcery.com>
31621
b7dab1e4
JM
31622 * math/libm-test.inc (noXFails): Remove variable.
31623 (noXPasses): Likewise.
31624 (BUILD_COMPLEX_INT): Remove macro.
31625 (print_screen): Remove xfail argument.
31626 (print_screen_max_error): Likewise.
31627 (update_stats): Likewise.
31628 (print_max_error): Likewise. Update calls to other affected
31629 functions.
31630 (print_complex_max_error): Likewise.
31631 (test_single_exception): Update calls to print_screen.
31632 (test_single_errno): Likewise.
31633 (check_float_internal): Remove xfail argument. Update calls to
31634 other affected functions.
31635 (check_float): Likewise.
31636 (check_complex): Likewise.
31637 (check_int): Likewise.
31638 (check_long): Likewise.
31639 (check_bool): Likewise.
31640 (check_longlong): Likewise.
31641 (main): Don't print noXFails and noXPasses.
31642 * math/gen-libm-test.pl (top level): Don't mention expected
31643 failure handling in comment.
31644 (new_test): Don't handle expected failures.
31645 (parse_args): Don't mention expected failure handling in comment.
31646 (generate_testfile): Don't handle expected failures.
31647 (parse_ulps): Likewise.
31648 (print_ulps_file): Likewise.
31649 (get_failure): Remove function.
31650 (output_test): Don't handle expected failures.
31651 * make/README.libm-test: Don't mention expected failure handling.
31652
a7548d41
JM
31653 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31654 (minus_zero): Likewise.
31655 (plus_infty): Likewise.
31656 (minus_infty): Likewise.
31657 (qnan_value): Likewise.
31658 (max_value): Likewise.
31659 (min_value): Likewise.
31660 (min_subnorm_value): Likewise.
31661 (initialize): Do not initialize those variables dynamically.
31662
60bfd54c
RM
316632013-05-03 Roland McGrath <roland@hack.frob.com>
31664
cc0e6ed8
RM
31665 * io/open.c (__open_2): Moved to ...
31666 * io/open_2.c: ... this new file.
31667 * io/open64.c (__open64_2): Moved to ...
31668 * io/open64_2.c: ... this new file.
31669 * io/openat.c (__openat_2): Moved to ...
31670 * io/openat_2.c: ... this new file.
31671 * io/openat64.c (__openat64_2): Moved to ...
31672 * io/openat64_2.c: ... this new file.
31673 * io/Makefile (routines): Add them.
31674 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31675 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31676 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31677 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31678 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31679 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31680 (__openat64): Add hidden_ver.
31681 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31682 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31683
60bfd54c
RM
31684 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31685 Separately conditionalize setting of GLRO(dl_sysinfo) so
31686 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31687 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31688
83e7640f
AZ
316892013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31690
31691 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31692 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31693 definition.
31694 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31695 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31696 (_libc_vdso_platform_setup): Add __vdso_time initialization.
31697 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31698 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31699
d5dc2af3
JM
317002013-05-03 Joseph Myers <joseph@codesourcery.com>
31701
c31a5b1e
JM
31702 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31703 test signgam value.
31704
d5dc2af3
JM
31705 * math/libm-test.inc (hypot_test): Do not use
31706 IGNORE_ZERO_INF_SIGN.
31707
164fd39d
AJ
317082013-05-03 Andreas Jaeger <aj@suse.de>
31709
31710 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31711 Linux 3.9.
31712 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31713 (PF_MAX): Adjust for VSOCK change.
31714
8237f48c
AZ
317152013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31716
31717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31718
9df02941
CD
317192013-05-02 Carlos O'Donell <carlos@redhat.com>
31720
31721 [BZ #15264]
31722 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31723 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31724 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31725
d422395e
DM
317262013-05-02 David S. Miller <davem@davemloft.net>
31727
31728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31729
a07c5731
OB
317302013-05-01 Ondřej Bílka <neleai@seznam.cz>
31731
31732 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31733
1324e37f
RM
317342013-05-01 Roland McGrath <roland@hack.frob.com>
31735
31736 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31737
0695940b
RS
317382013-05-01 Richard Smith <richard@metafoo.co.uk>
31739
bb5f27ad 31740 [BZ #14952]
0695940b
RS
31741 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31742 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31743 Use __attribute__ ((__gnu_inline__)).
31744 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31745 Don't use __attribute__ ((__gnu_inline__)).
31746
10de07f5
JM
317472013-05-01 Joseph Myers <joseph@codesourcery.com>
31748
31749 [BZ #15423]
31750 * math/s_catan.c (__catan): Handle small real or imaginary part of
31751 input specially to avoid spurious underflow.
31752 * math/s_catanf.c (__catanf): Likewise.
31753 * math/s_catanh.c (__catanh): Likewise.
31754 * math/s_catanhf.c (__catanhf): Likewise.
31755 * math/s_catanhl.c (__catanhl): Likewise.
31756 * math/s_catanl.c (__catanl): Likewise.
31757 * math/libm-test.inc (catan_test): Add more tests.
31758 (catanh_test): Likewise.
31759 * sysdeps/i386/fpu/libm-test-ulps: Update.
31760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31761
cb4d5414
AZ
317622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31763
31764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31765
caf84319
JM
317662013-04-30 Joseph Myers <joseph@codesourcery.com>
31767
31768 [BZ #15416]
31769 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31770 accurately for denominator in atan2.
31771 * math/s_catanf.c (__catanf): Likewise.
31772 * math/s_catanh.c (__catanh): Likewise.
31773 * math/s_catanhf.c (__catanhf): Likewise.
31774 * math/s_catanhl.c (__catanhl): Likewise.
31775 * math/s_catanl.c (__catanl): Likewise.
31776 * math/libm-test.inc (catan_test): Add more tests.
31777 (catanh_test): Likewise.
31778 * sysdeps/i386/fpu/libm-test-ulps: Update.
31779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31780
d569c6ee
SP
317812013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31782
6dbe713d
SP
31783 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31784
f0ee064b
SP
31785 * benchtests/Makefile (bench): Remove slow benchmarks.
31786 * benchtests/atan-inputs: Add slow benchmark inputs.
31787 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31788 (BENCH_FUNC): Accept variant offset.
31789 (VARIANT): Define.
31790 * benchtests/bench-skeleton.c (main): Run benchmark for each
31791 variant.
31792 * benchtests/cos-inputs: Add slow benchmark inputs.
31793 * benchtests/exp-inputs: Likewise.
31794 * benchtests/pow-inputs: Likewise.
31795 * benchtests/sin-inputs: Likewise.
31796 * benchtests/slowatan-inputs: Remove.
31797 * benchtests/slowatan.c: Remove.
31798 * benchtests/slowcos-inputs: Remove.
31799 * benchtests/slowcos.c: Remove.
31800 * benchtests/slowexp-inputs: Remove.
31801 * benchtests/slowexp.c: Remove.
31802 * benchtests/slowpow-inputs: Remove.
31803 * benchtests/slowpow.c: Remove.
31804 * benchtests/slowsin-inputs: Remove.
31805 * benchtests/slowsin.c: Remove.
31806 * benchtests/slowtan-inputs: Remove.
31807 * benchtests/slowtan.c: Remove.
31808 * benchtests/tan-inputs: Add slow benchmark inputs.
31809 * scripts/bench.pl: Parse comments and directives.
31810
d569c6ee
SP
31811 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
31812 in CPPFLAGS.
31813 ($(objpfx)bench-%.c): Remove *-ITER.
31814 * benchtests/bench-modf.c: Remove definition of ITER.
31815 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31816 (main): Loop for DURATION seconds instead of fixed number of
31817 iterations.
31818 * scripts/bench.pl: Don't expect iterations in parameters.
31819
a6a242fe
RM
318202013-04-29 Roland McGrath <roland@hack.frob.com>
31821
31822 * io/fchdir.c (__fchdir): Renamed from fchdir.
31823 (fchdir): Define as weak alias.
31824
f2da7793
JM
318252013-04-29 Joseph Myers <joseph@codesourcery.com>
31826
31827 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31828 (ERRNO_EDOM): Likewise.
31829 (ERRNO_ERANGE): Likewise.
31830 (noErrnoTests): New variable.
31831 (init_max_error): Set errno to 0.
31832 (test_single_errno): New function.
31833 (test_errno): Likewise.
31834 (check_float_internal): Call test_errno. Set errno to 0.
31835 (check_complex): Refer to errno tests in comment.
31836 (check_int): Call test_errno. Set errno to 0.
31837 (check_long): Likewise.
31838 (check_bool): Likewise.
31839 (check_longlong): Likewise.
31840 (cos_test): Use ERRNO_* flags for errno tests instead of
31841 check_int.
31842 (expm1_test): Likewise.
31843 (fmod_test): Likewise.
31844 (ilogb_test): Likewise.
31845 (lgamma_test): Likewise.
31846 (pow_test): Likewise.
31847 (remainder_test): Likewise.
31848 (sin_test): Likewise.
31849 (tan_test): Likewise.
31850 (yn_test): Likewise.
31851 (initialize): Set errno to 0.
31852 (main): Print number of errno tests.
31853 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31854
b1a36ceb
AJ
318552013-04-29 Andreas Jaeger <aj@suse.de>
31856
c3ed8088
AJ
31857 [BZ #15084]
31858 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31859 and RES_USEVC.
31860
f1a24198
AJ
31861 [BZ #15085]
31862 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31863 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
31864 unimplemented.
31865
9ce3b2cb
AJ
31866 [BZ #15380]
31867 * stdlib/random.c (__initstate): Return NULL if
31868 __initstate fails.
31869
f1a24198 31870 [BZ #15086]
b1a36ceb
AJ
31871 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31872 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31873 RES_SNGLKUPREOP.
31874
7e7b6f36
AZ
318752013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31876
31877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31878
4d14f449
JM
318792013-04-29 Joseph Myers <joseph@codesourcery.com>
31880
31881 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31882 of individual tests.
31883 (casin_test): Likewise.
31884 (casinh_test): Likewise.
31885
5b4217d7
JM
318862013-04-27 Joseph Myers <joseph@codesourcery.com>
31887
31888 [BZ #15409]
31889 * math/s_catan.c (__catan): Handle arguments with large real or
31890 imaginary part separately without squaring.
31891 * math/s_catanf.c (__catanf): Likewise.
31892 * math/s_catanh.c (__catanh): Likewise.
31893 * math/s_catanhf.c (__catanhf): Likewise.
31894 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31895 and redefine.
31896 (__catanhl): Handle arguments with large real or imaginary part
31897 separately without squaring.
31898 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31899 and redefine.
31900 (__catanl): Handle arguments with large real or imaginary part
31901 separately without squaring.
31902 * math/libm-test.inc (catan_test): Add more tests.
31903 (catanh_test): Likewise.
31904 * sysdeps/i386/fpu/libm-test-ulps: Update.
31905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31906
4220c3ef
AJ
319072013-04-27 Andreas Jaeger <aj@suse.de>
31908
31909 [BZ #15007]
31910 * stdlib/stdlib.h: Update guards for qecvt.
31911 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31912 <stdlib.h>.
31913
4721b2d1
AM
319142013-04-27 Allan McRae <allan@archlinux.org>
31915
31916 * sysdeps/i386/fpu/libm-test-ulps: Update.
31917
f0302940
JM
319182013-04-26 Joseph Myers <joseph@codesourcery.com>
31919
9457fd95
JM
31920 [BZ #15406]
31921 * math/s_catan.c: Include <float.h>.
31922 (__catan): Ensure underflow exception occurs for underflowed
31923 result.
31924 * math/s_catanf.c: Include <float.h>.
31925 (__catanf): Ensure underflow exception occurs for underflowed
31926 result.
31927 * math/s_catanh.c: Include <float.h>.
31928 (__catanh): Ensure underflow exception occurs for underflowed
31929 result.
31930 * math/s_catanhf.c: Include <float.h>.
31931 (__catanhf): Ensure underflow exception occurs for underflowed
31932 result.
31933 * math/s_catanhl.c: Include <float.h>.
31934 (__catanhl): Ensure underflow exception occurs for underflowed
31935 result.
31936 * math/s_catanl.c: Include <float.h>.
31937 (__catanl): Ensure underflow exception occurs for underflowed
31938 result.
31939 * math/libm-test.inc (catan_test): Add more tests.
31940 (catanh_test): Likewise.
31941
f0302940
JM
31942 [BZ #15405]
31943 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31944 underflowed result.
31945 * math/s_ccoshf.c (__ccoshf): Likewise.
31946 * math/s_ccoshl.c (__ccoshl): Likewise.
31947 * math/s_csin.c (__csin): Likewise.
31948 * math/s_csinf.c (__csinf): Likewise.
31949 * math/s_csinh.c (__csinh): Likewise.
31950 * math/s_csinhf.c (__csinhf): Likewise.
31951 * math/s_csinhl.c (__csinhl): Likewise.
31952 * math/s_csinl.c (__csinl): Likewise.
31953 * math/libm-test.inc (ccos_test): Add more tests.
31954 (ccosh_test): Likewise.
31955 (csin_test): Likewise.
31956 (csinh_test): Likewise.
31957
aa630f59
AZ
319582013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31959
31960 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31961 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31962 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31963 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31964 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31965 powerpc/power5+/fpu folders.
31966 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31967
31968
1b835983
MT
319692013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31970
31971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31972
73709b26
JM
319732013-04-25 Joseph Myers <joseph@codesourcery.com>
31974
31975 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31976 additions to variable.
31977 [$(config-machine) = x86_64] (modules-names): Likewise.
31978 ($(objpfx)tst-audit3): Remove dependency.
31979 ($(objpfx)tst-audit3.out): Likewise.
31980 ($(objpfx)tst-audit4): Likewise.
31981 ($(objpfx)tst-audit4.out): Likewise.
31982 ($(objpfx)tst-audit5): Likewise.
31983 ($(objpfx)tst-audit5.out): Likewise.
31984 ($(objpfx)tst-audit6): Likewise.
31985 ($(objpfx)tst-audit6.out): Likewise.
31986 ($(objpfx)tst-audit7): Likewise.
31987 ($(objpfx)tst-audit7.out): Likewise.
31988 (tst-audit3-ENV): Remove variable.
31989 (tst-audit4-ENV): Likewise.
31990 (tst-audit5-ENV): Likewise.
31991 (tst-audit6-ENV): Likewise.
31992 (tst-audit7-ENV): Likewise.
31993 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31994 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31995 addition to variable.
31996 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31997 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31998 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31999 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32000 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32001 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32002 tst-audit3, tst-audit4 and tst-audit5.
32003 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32004 tst-audit6 and tst-audit7.
32005 [$(subdir) = elf] (modules-names): Add audit modules for those
32006 tests.
32007 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32008 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32009 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32010 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32011 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32012 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32013 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32014 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32015 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32016 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32017 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32018 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32019 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32020 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32021 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32022 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32023 Likewise.
32024 [$(subdir) = elf && $(config-cflags-avx) = yes]
32025 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32026 [$(subdir) = elf && $(config-cflags-avx) = yes]
32027 (CFLAGS-tst-auditmod4a.c): Likewise.
32028 [$(subdir) = elf && $(config-cflags-avx) = yes]
32029 (CFLAGS-tst-auditmod4b.c): Likewise.
32030 [$(subdir) = elf && $(config-cflags-avx) = yes]
32031 (CFLAGS-tst-auditmod6b.c): Likewise.
32032 [$(subdir) = elf && $(config-cflags-avx) = yes]
32033 (CFLAGS-tst-auditmod6c.c): Likewise.
32034 [$(subdir) = elf && $(config-cflags-avx) = yes]
32035 (CFLAGS-tst-auditmod7b.c): Likewise.
32036 * elf/tst-audit3.c: Move to ...
32037 * sysdeps/x86_64/tst-audit3.c: ... here.
32038 * elf/tst-audit4.c: Move to ...
32039 * sysdeps/x86_64/tst-audit4.c: ... here.
32040 * elf/tst-audit5.c: Move to ...
32041 * sysdeps/x86_64/tst-audit5.c: ... here.
32042 * elf/tst-audit6.c: Move to ...
32043 * sysdeps/x86_64/tst-audit6.c: ... here.
32044 * elf/tst-audit7.c: Move to ...
32045 * sysdeps/x86_64/tst-audit7.c: ... here.
32046 * elf/tst-auditmod3a.c: Move to ...
32047 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32048 * elf/tst-auditmod3b.c: Move to ...
32049 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32050 * elf/tst-auditmod4a.c: Move to ...
32051 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32052 * elf/tst-auditmod4b.c: Move to ...
32053 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32054 * elf/tst-auditmod5a.c: Move to ...
32055 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32056 * elf/tst-auditmod5b.c: Move to ...
32057 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32058 * elf/tst-auditmod6a.c: Move to ...
32059 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32060 * elf/tst-auditmod6b.c: Move to ...
32061 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32062 * elf/tst-auditmod6c.c: Move to ...
32063 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32064 * elf/tst-auditmod7a.c: Move to ...
32065 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32066 * elf/tst-auditmod7b.c: Move to ...
32067 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32068
1ef74943
PP
320692013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32070
32071 [BZ #15366]
32072 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32073 define unconditionally.
32074 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32075 define unconditionally.
32076 (INT8_C, INT16_C, etc.): Likewise.
32077
93fd48c5
MR
320782013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32079
ae9552cf
MR
32080 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32081 __ehdr_start with hidden visibility.
32082
93fd48c5
MR
32083 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32084
418601aa
CD
320852013-04-24 Carlos O'Donell <carlos@redhat.com>
32086
32087 * math/libm-test.inc (cos_test): Use accurate hex constants.
32088 (sincost_test): Likewise.
32089
2f38fbfe
JM
320902013-04-24 Joseph Myers <joseph@codesourcery.com>
32091
5e221800
JM
32092 * math/libm-test.inc (catan_test): Add more tests.
32093 (catanh_test): Likewise.
32094
77f143fd
JM
32095 * math/s_catanf.c (__catanf): Use suffixed floating-point
32096 constants.
32097 * math/s_catanhf.c (__catanhf): Likewise.
32098 * math/s_catanhl.c (__catanhl): Likewise.
32099 * math/s_catanl.c (__catanl): Likewise.
32100
2f38fbfe
JM
32101 [BZ #15394]
32102 * math/s_catan.c (__catan): Calculate imaginary part of result
32103 with log1p not log unless computing log of number close to 0.
32104 * math/s_catanf.c (__catanf): Likewise.
32105 * math/s_catanl.c (__catanl): Likewise.
32106 * math/s_catanh.c (__catanh): Calculate real part of result with
32107 log1p not log unless computing log of number close to 0.
32108 * math/s_catanhf.c (__catanhf): Likewise.
32109 * math/s_catanhl.c (__catanhl): Likewise.
32110 * math/libm-test.inc (catan_test): Add more tests.
32111 (catanh_test): Likewise.
32112 * sysdeps/i386/fpu/libm-test-ulps: Update.
32113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32114
45d69176
SP
321152013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32116
32117 * benchtests/Makefile: Mention files in which fast and slow
32118 paths of math functions are implemented.
32119
87f51853
RM
321202013-04-23 Roland McGrath <roland@hack.frob.com>
32121
32122 * sysdeps/posix/timespec_get.c: New file.
32123
3c026539
AZ
321242013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32125
32126 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32127 POWER.
32128 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32129 for POWER.
32130 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32131 powerpc/power5/fpu folders.
32132 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32133 * benchtests/Makefile: Add modf testcase.
32134 * benchtests/bench-modf.c: New file: Benchmark test for mo
32135
ff491d14
SP
321362013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32137
32138 [BZ #14888]
32139 * time/Makefile (tests): Add tst-strptime-whitespace.
32140 * time/strptime_l.c (get_number): Use ISSPACE.
32141 (__strptime_internal): Likewise.
32142 * time/tst-strptime-whitespace.c: New test case.
32143
7ed3f4e8
AS
321442013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32145
32146 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32147 member.
32148 (_nss_files_init): Set it here.
32149
5c95f7b6
HC
321502013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32151
32152 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32153 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32154 unsigned.
32155
d34c9158
JBG
321562013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32157
32158 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32159
2169712d
SP
321602013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32161
32162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32163 size just once.
32164
29c5de99
DM
321652013-04-21 David S. Miller <davem@davemloft.net>
32166
32167 * po/ru.po: Update Russion translation from translation project.
32168
ccdad15d
AC
321692013-04-17 Adam Conrad <adconrad@0c3.net>
32170
32171 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32172 and setfsgid.
32173
0f122b8d
CD
321742013-04-17 Carlos O'Donell <carlos@redhat.com>
32175
5c5b07da 32176 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 32177 * configure: Regenerate.
5c5b07da 32178 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
32179 Add example to error message.
32180 * sysdeps/i386/configure: Regenerate.
32181
037714dd
SP
321822013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32183
32184 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32185 slowtan.
32186 * benchtests/cos-inputs: New file.
32187 * benchtests/slowcos-inputs: New file.
32188 * benchtests/slowcos.c: New file.
32189 * benchtests/slowtan-inputs: New file.
32190 * benchtests/slowtan.c: New file.
32191 * benchtests/tan-inputs: New file.
32192
e913141d
RM
321932013-04-16 Roland McGrath <roland@hack.frob.com>
32194
32195 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32196 considered kosher.
32197
a2964074
SP
321982013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32199
4856bcd2
SP
32200 * benchtests/Makefile: Include cppflags-iterator.mk to add
32201 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32202
a2964074
SP
32203 * Makefile.in (bench-clean): New target.
32204 * benchtests/Makefile (bench-clean): Likewise.
32205
9fbf9aca
DH
322062013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32207
32208 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32209
207d1e2a
TS
322102013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32211
32212 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32213
306dfba9
AS
322142013-04-15 Andreas Schwab <schwab@suse.de>
32215
32216 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32218 * nscd/pwdcache.c (cache_addpw): Likewise.
32219 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32220 more than recsize.
32221
206a6699
SP
322222013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32223
32224 * benchtests/Makefile (bench): Write all output to
32225 bench-out.tmp together.
32226
0582f6b3
AS
322272013-04-15 Andreas Schwab <schwab@suse.de>
32228
32229 * nscd/nscd.c (main): Don't fork again after closing files.
32230
acb4325f
SP
322312013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32232
5cb26d0a
SP
32233 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32234
acb4325f
SP
32235 * benchtests/Rules (bench-deps): Collect dependencies into a
32236 single variable. Add Makefile to dependencies.
32237 ($(objpfx)bench-%.c): Depend on bench-deps.
32238
47792506
RM
322392013-04-12 Roland McGrath <roland@hack.frob.com>
32240 Xavier Roche <roche+kml2@exalead.com>
32241
32242 [BZ #15361]
32243 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32244 just that it's a file descriptor.
32245 * manual/llio.texi (Synchronizing AIO Operations): Update description
32246 for EBADF error from aio_fsync.
32247
8fc1bee5
SP
322482013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32249
32250 * Rules (bench): Move target definition...
32251 * benchtests/Makefile: ... here.
32252
aba5e333
CD
322532013-04-11 Carlos O'Donell <carlos@redhat.com>
32254
32255 * math/libm-test.inc (cos_test): Fix PI/2 test.
32256 (sincos_test): Likewise.
32257 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32258 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32259
273cdee8
AS
322602013-04-11 Andreas Schwab <schwab@suse.de>
32261
6ecec3b6
AS
32262 [BZ #13988]
32263 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32264 accept exponent character only when digits were seen.
32265 * stdio-common/Makefile (tests): Add bug26.
32266 * stdio-common/bug26.c: New file.
32267
273cdee8
AS
32268 [BZ #14293]
32269 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32270 non-freeable.
32271
8da491f5
SP
322722013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32273
01dc6df9
SP
32274 * Makeconfig (rtld-prefix): Define built linker prefix.
32275 * Rules (run-bench): Use it.
32276 * math/Makefile (run-regen-ulps): Likewise.
32277
8da491f5
SP
32278 * Rules (bench): Remove eval.
32279
abe7f530
SP
322802013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32281 Roland McGrath <roland@hack.frob.com>
32282 Ondrej Bilka <neleai@seznam.cz>
32283
32284 [BZ #15346]
32285 * time/getdate.c: Include ctype.h and alloca.h.
32286 (__getdate_r): Trim leading and trailing spaces of input.
32287 * time/tst-getdate.c (tests): Add tests with leading and
32288 trailing spaces.
32289
61c23e62
RM
322902013-04-08 Roland McGrath <roland@hack.frob.com>
32291
32292 [BZ #14280]
32293 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32294 when computing value.
32295
7208a313
CD
322962013-04-06 Carlos O'Donell <carlos@redhat.com>
32297
085b2d41
CD
32298 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32299 Use testrun.sh to run libm tests.
32300
7208a313
CD
32301 [BZ #15309]
32302 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32303
872c0acd
MM
323042013-04-06 Marko Myllynen <myllynen@redhat.com>
32305
32306 [BZ #15264]
32307 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32308
26510bdd
CD
323092013-04-06 Carlos O'Donell <carlos@redhat.com>
32310
32311 * Makefile.in (regen-ulps): New target.
32312 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32313 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32314 [ifneq (no,$(PERL)] (regen-ulps): New target.
32315 [ifeq (no,$(PERL)] (regen-ulps): New target.
32316 * math/libm-test.inc (ulps_file_name): Define.
32317 (output_dir): New variable.
32318 (options): Add "output-dir" option.
32319 (parse_opt): Handle 'o' case.
32320 (main): If output_dir is non-NULL use it as a prefix
32321 otherwise use "".
32322 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32323
a01f19c8
CD
323242013-04-06 Carlos O'Donell <carlos@redhat.com>
32325
32326 [BZ #10060, #10062]
32327 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32328 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32329 fail configure if __sync_val_compare_and_swap is not inlined.
32330 * sysdeps/i386/configure: Regenerate.
32331 * configure.in: Build for i686 when configured for i386.
32332 * configure: Regenerate.
32333 * README: Remove i386 reference.
32334
b7a329a5
CD
323352013-04-06 Carlos O'Donell <carlos@redhat.com>
32336
32337 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32339
bf0f50df
TS
323402013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32341
ee091edf
TS
32342 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32343 (lmsnanval): New variables.
32344 (F): Add conversion tests.
32345 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32346 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32347
a8b792d6
TS
32348 * stdio-common/tstdiomisc.c (F): Properly collect individual
32349 tests' results.
32350
a1cbf437
TS
32351 [BZ #14686, #15336]
32352 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32353 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32354 Instead, use input NaN values or generate a qNaN by arithmetic
32355 operation. Also fix bugs to comply with the standard.
32356 * math/libm-test.inc (remainder_test): Add more tests.
32357
8b43a0c9
TS
32358 [BZ #15335, #15342]
32359 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32361 input NaN values or generate a qNaN by arithmetic operation.
32362
d91da4ce
TS
32363 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32364 unreachable code.
32365
bf0f50df
TS
32366 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32367 definitions.
32368
05e166c8
JM
323692013-04-03 Joseph Myers <joseph@codesourcery.com>
32370
32371 [BZ #14478]
32372 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32373 underflowed result.
32374 * math/s_cexpf.c (__cexpf): Likewise.
32375 * math/s_cexpl.c (__cexpl): Likewise.
32376 * math/libm-test.inc (cexp_test): Add more tests.
32377
1cef1b19
AS
323782013-04-03 Andreas Schwab <schwab@suse.de>
32379
32380 [BZ #15330]
32381 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32382 order arrays from heap if bigger than alloca cutoff.
32383
74d87055
TS
323842013-04-03 Thomas Schwinge <thomas@codesourcery.com>
32385
32386 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32387 (SNAN_TESTS_double): Refer to GCC PR56831.
32388 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32389 GCC PR56828.
32390
d755bba4
SP
323912013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32392
90d5d5bb
SP
32393 * Rules (bench): Move bench.out after the run is complete.
32394
73e0cd5d
SP
32395 * Rules (bench): Echo currently running benchmark.
32396
64aabd4b
SP
32397 * benchtests/Makefile (bench): Add atan and slowatan.
32398 * benchtests/atan-inputs: New file.
32399 * benchtests/slowatan-inputs: New file.
32400 * benchtests/slowatan.c: New file.
32401
c871eccd
SP
32402 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32403 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32404 its value.
32405
d755bba4
SP
32406 [BZ #15305]
32407 * sysdeps/unix/sysv/linux/kernel-features.h
32408 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32409 __ASSUME_XFS_RESTRICTED_CHOWN.
32410 * sysdeps/unix/sysv/linux/pathconf.c
32411 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32412 Save and restore errno.
32413
52ce4860
JM
324142013-04-02 Joseph Myers <joseph@codesourcery.com>
32415
32416 [BZ #15327]
32417 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32418 arguments using __kernel_casinh.
32419 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32420 arguments using __kernel_casinhf.
32421 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32422 arguments using __kernel_casinhl.
32423 * math/libm-test.inc (cacosh_test): Add more tests.
32424 * sysdeps/i386/fpu/libm-test-ulps: Update.
32425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32426
81f311c2
SP
324272013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32428
e7906a47
SP
32429 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32431
92e3664b
SP
32432 * bench/Makefile (bench): Add sin and slowsin.
32433 * benchtests/sin-inputs: New file.
32434 * benchtests/slowsin-inputs: New file.
32435 * benchtests/slowsin.c: New file.
32436
81f311c2
SP
32437 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32438 (bench): Add slowexp and slowpow.
32439 (exp-ITER): Increase iterations.
32440 (pow-ITER): Likewise.
32441 * benchtests/exp-inputs: Change input.
32442 * benchtests/pow-inputs: Likewise.
32443 * benchtests/slowexp-inputs: New file.
32444 * benchtests/slowexp.c: New file.
32445 * benchtests/slowpow-inputs: New file.
32446 * benchtests/slowpow.c: New file.
32447
ab0f1aa9
AZ
324482013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32449
32450 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32451 instructions.
32452 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32453 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32454 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32455 * benchtests/Makefile: Add rint benchtest.
32456 * benchtests/rint-inputs: Input for rint benchtest.
32457
57267616
TS
324582013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32459
32460 * Versions.def (libm): Add GLIBC_2.18.
32461 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32462 hidden libm prototypes.
32463 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32464 * math/Makefile (libm-calls): Add s_issignaling.
32465 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32466 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32467 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32468 declaration.
32469 * math/math.h [__USE_GNU] (issignaling): New macro.
32470 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32471 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32472 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32473 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32474 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32475 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32476 * manual/arith.texi (issignaling): New section.
32477 * manual/libm-err-tab.pl (@all_functions): Update comment.
32478 * math/gen-libm-test.pl (parse_args): Apply special handling for
32479 issignaling.
32480 * math/libm-test.inc (print_float, issignaling_test): New
32481 functions.
32482 (check_float_internal): Add issignaling checks.
32483 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32484 default definition.
32485 * sysdeps/powerpc/math-tests.h: New file.
32486 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32487 tests.
32488 * math/test-snan.c (TEST_FUNC): Likewise.
32489
6142896d
DM
324902013-03-30 David S. Miller <davem@davemloft.net>
32491
32492 * po/de.po: Update from translation team.
32493
ccc8cadf
JM
324942013-03-30 Joseph Myers <joseph@codesourcery.com>
32495
32496 [BZ #10357]
32497 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32498 imaginary part less than 1.0 and real part less than 0.5
32499 specially.
32500 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32501 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32502 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32503 (cacos_test): Add more tests.
32504 (casin_test): Likewise.
32505 (casinh_test): Likewise.
32506 * sysdeps/i386/fpu/libm-test-ulps: Update.
32507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32508
0f6a8d4b
SP
325092013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32510
0d1029de
SP
32511 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32512 ONE with its value.
32513
c2d94018
SP
32514 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32515 (__pow_mp): Replace ONE and MONE with their values.
32516 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32517 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32518 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32519 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32520 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32521 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32522
27ec37f1
SP
32523 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32524
a64d7e0e
SP
32525 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32526 (__pow_mp): Replace ZERO and MZERO with their values.
32527 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32528 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32529 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32531 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32532 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32533 (__sqr): Likewise.
32534
d26dd3eb
SP
32535 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32536
0f6a8d4b
SP
32537 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32538
e57b0c61
RM
325392013-03-28 Roland McGrath <roland@hack.frob.com>
32540
32541 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32542 Declare with __attribute__ ((weak)).
32543 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32544 Call __call_tls_dtors only if it's not NULL.
32545
356b3480
RM
325462013-03-28 Roland McGrath <roland@hack.frob.com>
32547
288f7d79
RM
32548 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32549 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32550 magic __ehdr_start linker symbol if it's defined.
32551 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32552 them up here if it was already done.
32553
dc0a0263
RM
32554 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32555 (_dl_aux_init): Use const in cast when setting it.
32556 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32557 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32558 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32559
3d3436ae
RM
32560 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32561 Declare them here.
32562 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32563 * csu/libc-tls.c: Nor here.
32564 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32565
356b3480
RM
32566 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32567 (__libc_message): Never call vsyslog.
32568
b0f1246a
AM
325692013-03-28 Alan Modra <amodra@gmail.com>
32570
32571 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32572 Define as empty.
32573 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32574 Likewise.
32575
fbbe2b9a
AZ
325762013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32577
32578 [BZ #15214]
32579 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32580 underflow.
32581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32582
1728ab37
SP
325832013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32584
7a86be6e
SP
32585 [BZ #15304]
32586 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32587 Don't add gid passed as argument.
32588
1728ab37
SP
32589 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32590
3a7182a1
JM
325912013-03-27 Joseph Myers <joseph@codesourcery.com>
32592
32593 [BZ #15307]
32594 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32595 imaginary part between 1.0 and 1.5 and real part less than 0.5
32596 specially.
32597 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32598 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32599 * math/libm-test.inc (cacos_test): Add more tests.
32600 (casin_test): Likewise.
32601 (casinh_test): Likewise.
32602 * sysdeps/i386/fpu/libm-test-ulps: Update.
32603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32604
6f2e90e7
SP
326052013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32606
5739f705
SP
32607 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32608 constants.
32609 (norm): Likewise.
32610 (denorm): Likewise.
32611 (__dbl_mp): Likewise.
32612 (add_magnitudes): Likewise.
32613 (sub_magnitudes): Likewise.
32614 (__add): Likewise.
32615 (__sub): Likewise.
32616 (__mul): Likewise.
32617 (__sqr): Likewise.
32618 (__inv): Likewise.
32619 (__dvd): Likewise.
32620
e375e83d
SP
32621 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32622 commented code.
32623 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32624 (__dubcos): Likewise.
32625 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32626 (__ieee754_acos): Likewise.
32627 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32628 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32629 (__exp1): Likewise.
32630 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32632 (log1): Likewise.
32633 (my_log2): Likewise.
32634 (checkint): Likewise.
32635 * sysdeps/ieee754/dbl-64/e_remainder.c
32636 (__ieee754_remainder): Likewise.
32637 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32639 (bsloww): Likewise.
32640 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32641
6f2e90e7
SP
32642 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32643 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32644 MANTISSA_STORE_T to store computations on mantissa. Use
32645 macros for rounding and division.
32646 (denorm): Likewise.
32647 (__dbl_mp): Likewise.
32648 (add_magnitudes): Likewise.
32649 (sub_magnitudes): Likewise.
32650 (__mul): Likewise.
32651 (__sqr): Likewise.
32652 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32653 powers of two in terms of TWOPOW macro.
32654 (mp_no): Make type of mantissa as MANTISSA_T.
32655 [!RADIXI]: Define RADIXI.
32656 [!TWO52]: Define TWO52.
32657 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32658
fce14d4e
AZ
326592013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32660
32661 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32662 llroundl symbol when building for PPC32.
32663
9ad027fb
MW
326642013-03-24 Mark H Weaver <mhw@netris.org>
32665
32666 * manual/arith.texi (Normalization Functions): Fix prototypes for
32667 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32668
e42a38dd
AZ
326692013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32670
32671 [BZ #13889]
32672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32673 high value to check if expl overflow.
32674 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32675 to check for underflow and overflow.
32676 * math/libm-test.inc: Add exp test.
32677
2e0fb521
DL
326782013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32679
32680 [BZ #11120]
32681 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32682 with NOT_IN_libc.
32683
b5784d95
AZ
326842013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32685
32686 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32687 symbol.
32688
5aa4a1a1
TS
326892013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32690
bdef0be7
TS
32691 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32692 wrap blocks consisting of several statements.
32693
5aa4a1a1
TS
32694 * sysdeps/generic/math-tests.h: New file.
32695 * sysdeps/i386/fpu/math-tests.h: Likewise.
32696 * math/test-snan.c: Include it.
32697 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32698
98c48fe5
JM
326992013-03-21 Joseph Myers <joseph@codesourcery.com>
32700
32701 [BZ #15285]
32702 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32703 (__ieee754_j0l): Do not improve calculations using cos of twice
32704 input for inputs above LDBL_MAX / 2.0L.
32705 (__ieee754_y0l): Likewise.
32706 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32707 (__ieee754_j1l): Do not improve calculations using cos of twice
32708 input for inputs above LDBL_MAX / 2.0L.
32709 (__ieee754_y1l): Likewise.
32710 * math/libm-test.inc (j0_test): Add another test.
32711 (j1_test): Likewise.
32712 (y0_test): Likewise.
32713 (y1_test): Likewise.
32714 * sysdeps/i386/fpu/libm-test-ulps: Update.
32715
3775a8bc
SP
327162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32717
32718 * Rules ($(objpfx)bench-%.c): Include code from a C source
32719 file.
32720
0a1b2ae6
JM
327212013-03-21 Joseph Myers <joseph@codesourcery.com>
32722
32723 [BZ #15287]
32724 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32725 imaginary part 1.0 and real part less than 0.5 specially.
32726 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32727 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32728 * math/libm-test.inc (cacos_test): Add more tests.
32729 (casin_test): Likewise.
32730 (casinh_test): Likewise.
32731 * sysdeps/i386/fpu/libm-test-ulps: Update.
32732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32733
b33d4ce4
SP
327342013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32735
32736 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32737 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32738
bef0b507
JM
327392013-03-20 Joseph Myers <joseph@codesourcery.com>
32740
32741 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32742 * config.make.in (config-cflags-sse4): Remove variable.
32743 (config-cflags-avx): Likewise.
32744 (config-cflags-sse2avx): Likewise.
32745 (config-cflags-novzeroupper): Likewise.
32746 (config-asflags-i686): Likewise.
32747 (have-mfma4): Likewise.
32748 (have-as-vis3): Likewise.
32749 (MIG): Likewise.
32750 * configure.in (MIG): Do not AC_SUBST.
32751 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32752 (libc_cv_cc_sse4): Do not AC_SUBST.
32753 (libc_cv_cc_avx): Likewise.
32754 (libc_cv_cc_sse2avx): Likewise.
32755 (libc_cv_cc_novzeroupper): Likewise.
32756 (libc_cv_cc_fma4): Likewise.
32757 (libc_cv_as_i686): Likewise.
32758 (libc_cv_sparc_as_vis3): Likewise.
32759 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32760 LIBC_CONFIG_VAR.
32761 (config-asflags-i686): Likewise.
32762 (config-cflags-avx): Likewise.
32763 (config-cflags-sse2avx): Likewise.
32764 (have-mfma4): Likewise.
32765 (config-cflags-novzeroupper): Likewise.
32766 * sysdeps/mach/configure.in (MIG): Likewise.
32767 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32768 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32769 LIBC_CONFIG_VAR.
32770 (config-cflags-avx): Likewise.
32771 (config-cflags-sse2avx): Likewise.
32772 (have-mfma4): Likewise.
32773 (config-cflags-novzeroupper): Likewise.
32774 * configure: Regenerated.
32775 * sysdeps/i386/configure: Likewise.
32776 * sysdeps/mach/configure: Likewise.
32777 * sysdeps/sparc/configure: Likewise.
32778 * sysdeps/x86_64/configure: Likewise.
32779
912cc4b3
RM
327802013-03-20 Roland McGrath <roland@hack.frob.com>
32781
32782 [BZ #14812]
32783 * locale/programs/localedef.c (options): Put N_ translation marker
32784 on argument names, not just descriptions.
32785
04eed2b0
MS
327862013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32787
32788 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32789
a065ceff
OB
327902013-03-20 Ondřej Bílka <neleai@seznam.cz>
32791
9bb2a810 32792 [BZ #14176]
a065ceff
OB
32793 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32794
a600e5ce
RM
327952013-03-19 Roland McGrath <roland@hack.frob.com>
32796
32797 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32798 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32799 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32800 [!BEFORE_ABORT] (before_abort): New function.
32801 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32802 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32803 (writev_for_fatal): New function.
32804 (WRITEV_FOR_FATAL): New macro; call that.
32805 (backtrace_and_maps): New function.
32806 (BEFORE_ABORT): New macro; call that.
32807 (struct str_list): Type removed.
32808 (__libc_message, __libc_fatal): Functions removed.
32809 Include <sysdeps/posix/libc_fatal.c> instead.
32810
6b18bea6
JM
328112013-03-19 Joseph Myers <joseph@codesourcery.com>
32812
32813 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32814 constants.
32815 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32816 double constants.
32817
aaa8cb4b
AS
328182013-03-19 Andreas Schwab <schwab@suse.de>
32819
44673770
AS
32820 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32821 * sysdeps/gnu/configure: Regenerate.
32822
aaa8cb4b
AS
32823 * configure.in: Substitute libc_cv_rtlddir.
32824 * configure: Regenerate.
32825 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32826 * Makeconfig (rtlddir, inst_rtlddir): New variables.
32827 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32828 * elf/Makefile (install-others, CFLAGS-interp.c)
32829 (ldso_install, common-ldd-rewrite): Likewise.
32830 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32831 $(inst_slibdir)/$(rtld-installed-name).
32832 * scripts/rellns-sh: Add -p option.
32833 * Makerules (make-shlib-link): Use rellns-sh to get relative name
32834 for source.
32835
d3cfc668
SP
328362013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32837
32838 * manual/nptl.texi: Renamed to ...
32839 * manual/threads.texi: ... this.
32840 * manual/Makefile (chapters): Update.
32841
0e2b9cdd
RM
328422013-03-18 Roland McGrath <roland@hack.frob.com>
32843
32844 [BZ #14812]
32845 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32846 on argument names, not just descriptions.
0e2b9cdd
RM
32847 * malloc/memusagestat.c (options): Likewise.
32848 * nss/getent.c (options): Likewise.
63270c24
RM
32849
328502013-03-18 Benno Schulenberg <bensberg@justemail.net>
32851
32852 [BZ #14812]
32853 * iconv/iconv_prog.c (options): Put N_ translation marker
32854 on argument names, not just descriptions.
32855 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 32856
b2e1393c
OB
328572013-03-18 Ondrej Bilka <neleai@seznam.cz>
32858
32859 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32860 implementation which is faster on all x86_64 architectures.
32861 Tested on AMD, Intel Nehalem, SNB, IVB.
32862 * sysdeps/x86_64/strnlen.S: Likewise.
32863
32864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32865 Remove all multiarch strlen and strnlen versions.
32866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32867 Remove strlen and strnlen related parts.
32868
32869 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
32870 Inline strlen part.
32871 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32872
32873 * sysdeps/x86_64/multiarch/strlen.S: Remove.
32874 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32875 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32876 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32877 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32878 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32879
ec4ff04d
CD
328802013-03-17 Carlos O'Donell <carlos@redhat.com>
32881
32882 * manual/memory.texi (Malloc Tunable Parameters):
32883 Sort parameters alphabetically. Add comments for missing entries.
32884
cd18e90a
DM
328852013-03-17 David S. Miller <davem@davemloft.net>
32886
32887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32888
2a185d32
JM
328892013-03-16 Joseph Myers <joseph@codesourcery.com>
32890
d2f9799e
JM
32891 [BZ #15283]
32892 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32893 for arguments at most half maximum finite value.
32894 * math/libm-test.inc (j0_test): Add more tests.
32895 (j1_test): Likewise.
32896 (y0_test): Likewise.
32897 (y1_test): Likewise.
32898 * sysdeps/i386/fpu/libm-test-ulps: Update.
32899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32900
2a185d32
JM
32901 [BZ #14155]
32902 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32903 1 / x and functions P and Q for arguments above 0x1p256L.
32904 (__ieee754_y0l): Likewise.
32905 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32906 (__ieee754_y1l): Likewise.
32907 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32908 (j1_test): Likewise.
32909 (y0_test): Likewise.
32910 (y1_test): Likewise.
32911
6cbec759
TS
329122013-03-16 Thomas Schwinge <thomas@codesourcery.com>
32913
32914 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32915 variable.
32916
bc16e260
RM
329172013-03-15 Roland McGrath <roland@hack.frob.com>
32918
aefc9b8c
RM
32919 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32920 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32921 zero since it's initialized to EXEC_PAGESIZE.
32922
bc16e260
RM
32923 * sysdeps/unix/sysv/linux/ldsodefs.h
32924 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32925 * sysdeps/generic/ldsodefs.h: ... here.
32926
a57da955
TS
329272013-03-15 Thomas Schwinge <thomas@codesourcery.com>
32928
af00a34d
TS
32929 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32930
495ded2c
TS
32931 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32932 math/test-snan.c.
32933 * math/test-snan.c: Renamed from
32934 sysdeps/powerpc/fpu/test-powerpc-snan.c.
32935 * math/Makefile (tests): Add test-snan.
32936 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32937 test-powerpc-snan.
32938
777b0332
TS
32939 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32940 SUFFIX. Initialize qNaN_var with __builtin_nan family of
32941 functions.
32942 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
32943 __builtin_nan family of functions.
32944 * math/libm-test.inc (initialize): Initialize qnan_value with
32945 __builtin_nan family of functions.
32946 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32947 Remove variables.
32948 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32949 Remove functions.
32950 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
32951 storage class. Initialize qNaN_var and sNaN_var with
32952 __builtin_nan and __builtin_nans families of functions,
32953 respectively.
32954
64d063b8
TS
32955 * math/libm-test.inc (acosh_test): Also test with qNaN input.
32956 (sqrt_test): Remove duplicate test with qNaN input.
32957 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32958 (round_test, signbit_test, significand_test): Note missing +/-Inf
32959 as well as qNaN tests.
32960
67e971f1
TS
32961 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32962 qNaN_var. Fix a few strings, too.
32963 * math/libm-test.inc (nan_value): Rename to qnan_value.
32964 * math/gen-libm-test.pl (%beautify): Adjust to that.
32965 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32966 * math/test-misc.c (main): Likewise.
32967 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32968 to __qnan_bytes, and __qnan_union, respectively.
32969 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32970 Likewise.
32971 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32972 and lqnanval, respectively.
32973 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32974 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32975 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32976 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32977
64487e12
TS
32978 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32979 * math/test-misc.c (main) [__x86_64__]: Enable test for long
32980 doubles.
32981
e015e27b
TS
32982 * math/test-misc.c (main): Fix copy'n'pastos.
32983 * misc/tst-efgcvt.c (special): Likewise.
32984
a57da955
TS
32985 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32986 Remove declarations.
32987
1e380345
SP
329882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32989
32990 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32991 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32992 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32993 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32994
ef26eece
AZ
329952013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32996
32997 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32998 macro to return vdso values correctly in IFUNC implementations.
32999 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33000 Optimization by using IFUNC.
33001
8cfdb7e0
SP
330022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33003 Richard Henderson <rth@redhat.com>
33004 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33005
33006 * Makefile.in (bench): New target.
33007 * NEWS: Mention the benchmark framework.
33008 * Rules (bench): Likewise.
33009 (binaries-bench): Generate binaries for functions to
33010 benchmark.
33011 * benchtests/Makefile: New makefile for benchmark tests.
33012 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33013 programs.
33014 * benchtests/exp-inputs: New input file for EXP function.
33015 * benchtests/pow-inputs: New input file for POW function.
33016 * scripts/bench.pl: New script to generate source files for
33017 benchmark programs.
33018
bcda9880
SP
330192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33020
d22ca8cd
SP
33021 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33022 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33023 computations on mantissa. Use macros for rounding and
33024 division.
33025 (denorm): Likewise.
33026 (__dbl_mp): Likewise.
33027 (add_magnitudes): Likewise.
33028 (sub_magnitudes): Likewise.
33029 (__mul): Likewise.
33030 (__sqr): Likewise.
33031 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33032 powers of two in terms of TWOPOW macro.
33033 (mp_no): Make type of mantissa as MANTISSA_T.
33034 [!RADIXI]: Define RADIXI.
33035 [!TWO52]: Define TWO52.
33036 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33037
bcda9880
SP
33038 * manual/nptl.texi (cindex): Modify threads to pthreads.
33039
06d5adfb
JM
330402013-03-15 Joseph Myers <joseph@codesourcery.com>
33041
33042 * sysdeps/x86_64/preconfigure: Regenerated.
33043
41c7328e
JM
330442013-03-14 Joseph Myers <joseph@codesourcery.com>
33045
33046 [BZ #14155]
33047 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33048 0x1p28 and above.
33049 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33050 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33051 0x1p28 and above.
33052 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33053 * math/libm-test.inc (j0_test): Do not allow one spurious
33054 underflow exception.
33055 (y1_test): Likewise.
33056
e25cfa60
SP
330572013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33058
0409959c
SP
33059 * manual/Makefile (chapters): Add nptl.
33060 * manual/debug.texi (Debugging Support): Add link to Threads
33061 chapter.
33062 * manual/nptl.texi: New file.
33063
e25cfa60
SP
33064 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33065
58a1335e
PB
330662013-03-14 Petr Baudis <pasky@ucw.cz>
33067
33068 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33069 for non-NULL pointer before the memory validity test. Pointed
33070 out by Holger Brunck <holger.brunck@keymile.com>.
33071
9dc7c64f
AS
330722013-03-13 Andreas Schwab <schwab@suse.de>
33073
33074 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33075 instead of .os.
33076
54206aa6
JM
330772013-03-13 Joseph Myers <joseph@codesourcery.com>
33078
33079 * timezone/zic.c: Update from tzcode 2013b.
33080
e98cdb38
CD
330812013-03-12 Carlos O'Donell <carlos@redhat.com>
33082
33083 * manual/install.texi (Configuring and compiling):
33084 Mention i686 and i586.
33085 * INSTALL: Regenerate.
33086
9967e003
RM
330872013-03-12 Roland McGrath <roland@hack.frob.com>
33088
33089 * sysdeps/init_array/elf-init.c: New file.
33090 * csu/elf-init.c
33091 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33092 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33093
33094 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33095 __gmon_start__ as global, but as static with a .preinit_array pointer.
33096 * sysdeps/init_array/gmon-start.c: New file. Use that.
33097 * sysdeps/init_array/crti.S: New file, empty except for comments.
33098 * sysdeps/init_array/crtn.S: Likewise.
33099
e6b5a293 331002013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
33101
33102 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33103 definining bcopy.
80f844c9
OB
33104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33105 Remove Prefer_SSE_for_memop.
33106 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33107 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33108 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
33109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33110 memset-x86-64.
80f844c9 33111 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 33112 Remove bzero, memset ifunc support.
80f844c9
OB
33113 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33114 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33115 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33116 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33117
fb6b0fcb
AS
331182013-03-11 Andreas Schwab <schwab@suse.de>
33119
33120 [BZ #15234]
33121 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33122 by SHLIB_COMPAT.
33123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33124 (GLIBC_2.16): Remove pthread_atfork.
33125
3e6bd4b1
PP
331262013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33127
33128 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33129 (ptestcases.h): Likewise.
33130
222d7f00
RM
331312013-03-08 Roland McGrath <roland@hack.frob.com>
33132
33133 * Makeconfig ($(common-objpfx)config.status): Depend on
33134 sysdeps/*/preconfigure{,.in} too.
33135
1ba4f030
JM
331362013-03-08 Joseph Myers <joseph@codesourcery.com>
33137
a222d91a
JM
33138 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33139 (__free_hook): Use void * instead of __malloc_ptr_t.
33140 (__malloc_hook): Likewise.
33141 (__realloc_hook): Likewise.
33142 (__memalign_hook): Likewise.
33143 (__after_morecore_hook): Likewise.
33144 * malloc/arena.c (save_malloc_hook): Likewise.
33145 (save_free_hook): Likewise.
33146 * malloc/hooks.c (malloc_hook_ini): Likewise.
33147 (realloc_hook_ini): Likewise.
33148 (memalign_hook_ini): Likewise.
33149 * malloc/malloc.c (malloc_hook_ini): Likewise.
33150 (realloc_hook_ini): Likewise.
33151 (memalign_hook_ini): Likewise.
33152 (__free_hook): Likewise.
33153 (__malloc_hook): Likewise.
33154 (__realloc_hook): Likewise.
33155 (__memalign_hook): Likewise.
33156 (__libc_malloc): Likewise.
33157 (__libc_free): Likewise.
33158 (__libc_realloc): Likewise.
33159 (__libc_memalign): Likewise.
33160 (__libc_valloc): Likewise.
33161 (__libc_pvalloc): Likewise.
33162 (__libc_calloc): Likewise.
33163 (__posix_memalign): Likewise.
33164 * malloc/morecore.c (__sbrk): Likewise.
33165 (__default_morecore): Likewise.
33166
5cc45e10
JM
33167 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33168
dd54b864
JM
33169 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33170 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33171 __malloc_ptrdiff_t.
33172
1ba4f030
JM
33173 * malloc/malloc.h (__malloc_size_t): Remove macro.
33174 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33175 __malloc_size_t.
33176 (old_memalign_hook): Likewise.
33177 (old_realloc_hook): Likewise.
33178 (struct hdr): Likewise.
33179 (flood): Likewise.
33180 (mallochook): Likewise.
33181 (memalignhook): Likewise.
33182 (reallochook): Likewise.
33183 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33184 (tr_old_realloc_hook): Likewise.
33185 (tr_old_memalign_hook): Likewise.
33186 (tr_mallochook): Likewise.
33187 (tr_reallochook): Likewise.
33188 (tr_memalignhook): Likewise.
33189
edf66e57
AZ
331902013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33191
33192 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33193 default_ldbl_pack and using as default implementation.
33194 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33195 implementation.
33196 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33197 redundant definition.
33198 (ldbl_insert_mantissa): Likewise.
33199 (ldbl_canonicalize): Likewise.
33200 (ldbl_nearbyint): Likewise.
33201 (ldbl_pack): Rename to ldbl_pack_ppc.
33202 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33203 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33204 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33205
6d9145d8
SP
332062013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33207
33208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33209 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33210 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33211 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33213 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33214 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33215 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33216
4dd4e157
AJ
332172013-03-07 Andreas Jaeger <aj@suse.de>
33218
33219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33220 bits/mman-linux.h.
33221
adbb8027
SP
332222013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33223
ce544b5b
SP
33224 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33225 Include mpa.h and declare __MPEXP.
33226 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33227 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33228 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33229 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33230 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33231 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33232 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33233
4cc149fd
SP
33234 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33235 (__slowpow): Use long double EXPL and LOGL functions to
33236 compute POW.
33237 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33238 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33239 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33240 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33241 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33242 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33243
e6ebd4a7
SP
33244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33245 intermediate variable to calculate exponent.
33246 (__sqr): Likewise.
33247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33248 Likewise.
33249 (__sqr): Likewise.
33250
82a9811d
SP
33251 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33252 [!NO__SQR]: Define __sqr.
33253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33254 and NO__SQR. Remove all code except __mul and __sqr. Include
33255 sysdeps/ieee754/dbl-64/mpa.c.
33256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33257
adbb8027
SP
33258 [BZ #12723]
33259 * posix/Makefile (tests): Add tst-pathconf.
33260 * posix/tst-pathconf.c: New test case.
33261 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33262 _PC_PIPE_BUF.
33263 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33264
39120df9
PF
332652013-03-06 Patsy Franklin <pfrankli@redhat.com>
33266
33267 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33268
67525cb8
AJ
332692013-03-06 Andreas Jaeger <aj@suse.de>
33270
664a9ce4
AJ
33271 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33272 definition via __MAP_ANONYMOUS.
33273
8e39047d
AJ
33274 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33275 it's not part of Linux headers.
33276
67525cb8
AJ
33277 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33278 (MAP_HUGE_MASK): Define.
33279
33280 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33281 Define.
33282 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33283 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33284 Define.
33285 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33286 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33287 Define.
33288 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33289 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33290 Define.
33291 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33292
33293 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33294 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33295 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33296 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33297 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33298 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33299
33300 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33301 Handle f2fs.
33302
33303 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33304 Handle f2fs and efivarfs.
33305
33306 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33307 f2fs.
33308
33309 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33310 (EFIVARFS_MAGIC): Add.
33311 (F2FS_LINK_MAX): Add.
33312
e1b42695
PP
333132013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33314
33315 * stdio-common/vfprintf.c: Replace __builtin_expect with
33316 __glibc_unlikely.
33317
2d67d91a
JM
333182013-03-06 Joseph Myers <joseph@codesourcery.com>
33319
33320 [BZ #13550]
33321 * sysdeps/generic/bp-sym.h: Remove file.
33322 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33323 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33324 <bp-sym.h> and <bp-asm.h>.
33325 (__longjmp): Don't use BP_SYM.
33326 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33327 and <bp-asm.h>.
33328 (memcpy): Don't use BP_SYM.
33329 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33330 <bp-sym.h> and <bp-asm.h>.
33331 (memcpy): Don't use BP_SYM.
33332 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33333 <bp-asm.h>.
33334 (memcpy): Don't use BP_SYM.
33335 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33336 <bp-asm.h>.
33337 (memset): Don't use BP_SYM.
33338 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33339 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33340 (__bzero): Don't use BP_SYM.
33341 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33342 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33343 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33344 <bp-sym.h> and <bp-asm.h>.
33345 (memcmp): Don't use BP_SYM. Remove comment about bounded
33346 pointers.
33347 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33348 <bp-sym.h> and <bp-asm.h>.
33349 (memcpy): Don't use BP_SYM.
33350 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33351 <bp-sym.h> and <bp-asm.h>.
33352 (memset): Don't use BP_SYM.
33353 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33354 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33355 (__bzero): Don't use BP_SYM.
33356 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33357 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33358 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33359 <bp-sym.h> and <bp-asm.h>.
33360 (strncmp): Don't use BP_SYM. Remove comment about bounded
33361 pointers.
33362 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33363 <bp-sym.h> and <bp-asm.h>.
33364 (memcpy): Don't use BP_SYM.
33365 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33366 <bp-sym.h> and <bp-asm.h>.
33367 (memset): Don't use BP_SYM.
33368 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33369 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33370 (__bzero): Don't use BP_SYM.
33371 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33372 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33373 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33374 <bp-sym.h> and <bp-asm.h>.
33375 (__memchr): Don't use BP_SYM.
33376 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33377 <bp-sym.h> and <bp-asm.h>.
33378 (memcmp): Don't use BP_SYM. Remove comment about bounded
33379 pointers.
33380 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33381 <bp-sym.h> and <bp-asm.h>.
33382 (memcpy): Don't use BP_SYM.
33383 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33384 <bp-sym.h> and <bp-asm.h>.
33385 (__mempcpy): Don't use BP_SYM.
33386 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33387 <bp-sym.h> and <bp-asm.h>.
33388 (__memrchr): Don't use BP_SYM.
33389 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33390 <bp-sym.h> and <bp-asm.h>.
33391 (memset): Don't use BP_SYM.
33392 (__bzero): Likewise.
33393 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33394 <bp-sym.h> and <bp-asm.h>.
33395 (__rawmemchr): Don't use BP_SYM.
33396 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33397 <bp-sym.h> and <bp-asm.h>.
33398 (__STRCMP): Don't use BP_SYM.
33399 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33400 <bp-sym.h> and <bp-asm.h>.
33401 (strchr): Don't use BP_SYM.
33402 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33403 <bp-sym.h> and <bp-asm.h>.
33404 (__strchrnul): Don't use BP_SYM.
33405 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33406 <bp-sym.h> and <bp-asm.h>.
33407 (strlen): Don't use BP_SYM.
33408 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33409 <bp-sym.h> and <bp-asm.h>.
33410 (strncmp): Don't use BP_SYM. Remove comment about bounded
33411 pointers.
33412 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33413 <bp-sym.h> and <bp-asm.h>.
33414 (__strnlen): Don't use BP_SYM.
33415 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33416 <bp-sym.h> and <bp-asm.h>.
33417 (__GI__setjmp): Don't use BP_SYM.
33418 (_setjmp): Likewise.
33419 (__sigsetjmp): Likewise.
33420 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33421 (L(start_addresses)): Don't use BP_SYM.
33422 (_start): Likewise.
33423 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33424 <bp-asm.h>.
33425 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33426 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33427 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33428 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33429 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33430 <bp-asm.h>.
33431 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33432 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33433 about bounded pointers.
33434 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33435 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33436 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33437 <bp-asm.h>.
33438 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33439 about bounded pointers. Remove GKM FIXME comments.
33440 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33441 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33442 <bp-asm.h>.
33443 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33444 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33445 Remove GKM FIXME comments.
33446 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33447 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33448 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33449 <bp-asm.h>.
33450 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33451 about bounded pointers. Remove GKM FIXME comment.
33452 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33453 and <bp-asm.h>.
33454 (strncmp): Don't use BP_SYM. Remove comment about bounded
33455 pointers.
33456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33457 <bp-sym.h> and <bp-asm.h>.
33458 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33460 <bp-sym.h> and <bp-asm.h>.
33461 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33462 comment.
33463
cdcf361f
PP
334642013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33465
33466 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33467 call free(NULL).
33468
3c4a2b15
DM
334692013-03-05 David S. Miller <davem@davemloft.net>
33470
33471 * po/es.po: Update from translation team.
33472
cdcf361f 334732013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
33474
33475 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33476 <bits/mman-linux.h>.
33477 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33478 is fine.
33479 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33480 <bits/mman-linux.h> to end of file.
33481 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33482 is fine.
33483 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33484 <bits/mman-linux.h> to end of file.
33485 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33486 is fine.
33487 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33488 <bits/mman-linux.h> to end of file.
33489
33490 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33491 (MCL_CURRENT, MCL_FUTURE): Define here.
33492
5f67c04f
AK
334932013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33494
8a4473cc 33495 [BZ #15232]
5f67c04f
AK
33496 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33497 attribute_hidden.
33498 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33499
c3e94a95
AK
335002013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33501
33502 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33503 fourth parameter needed for rt_sigprocmask syscall.
33504 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33505 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33506 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33507 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33508 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33509 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33510
cfb6382a
JM
335112013-03-04 Joseph Myers <joseph@codesourcery.com>
33512
33513 [BZ #13550]
33514 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33515 comment about bounded pointers.
33516 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33517 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33518
539d8e01
AJ
335192013-03-04 Andreas Jaeger <aj@suse.de>
33520
33521 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33522 common definitions.
33523
33524 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33525 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33526 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33527 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33528 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
33529 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33530
2e167a70 335312013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
33532
33533 [BZ #15055]
33534 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33535 __ieee754_sqrl instead of __sqrl.
33536
68508633
JM
335372013-03-01 Joseph Myers <joseph@codesourcery.com>
33538
33539 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33540 * sysdeps/powerpc/fpu_control.h: ... here.
33541 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33542 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33543 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33544 * sysdeps/powerpc/bits/mathinline.h: ... here.
33545
7775448e
RM
335462013-03-01 Roland McGrath <roland@hack.frob.com>
33547
33548 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33549 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33550 to just [NEED_DL_SYSINFO_DSO].
33551 * elf/dl-support.c: Likewise.
33552 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33553 * elf/rtld.c (dl_main): Likewise.
33554 * elf/setup-vdso.h (setup_vdso): Likewise.
33555 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33556 * sysdeps/unix/sysv/linux/dl-sysdep.c
33557 (_dl_discover_osversion): Likewise.
33558
4e9b5995
CD
335592013-03-01 Carlos O'Donell <carlos@redhat.com>
33560
33561 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33562 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33563
e23872c8
SP
335642013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33565
e5c74c63
SP
33566 * NEWS: Mention libm performance improvements and non-x86 PI
33567 futex support.
33568
e23872c8
SP
33569 * csu/libc-start.c (__pthread_initialize_minimal): Change
33570 function arguments.
33571 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33572
b5510883
JM
335732013-02-28 Joseph Myers <joseph@codesourcery.com>
33574
33575 [BZ #13550]
33576 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33577 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33578 <bp-sym.h> and <bp-asm.h>.
33579 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33580 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33581 and <bp-asm.h>.
33582 (memcpy): Don't use BP_SYM.
33583 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33584 <bp-asm.h>.
33585 (__mpn_add_n): Don't use BP_SYM.
33586 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33587 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33588 and <bp-asm.h>.
33589 (__mpn_addmul_1): Don't use BP_SYM.
33590 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33591 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33592 <bp-sym.h>.
33593 (_setjmp): Don't use BP_SYM.
33594 (__novmx_setjmp): Likewise.
33595 (__GI__setjmp): Likewise.
33596 (__vmx_setjmp): Likewise.
33597 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33598 <bp-sym.h>.
33599 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33600 (__bzero): Don't use BP_SYM.
33601 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33602 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33603 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33604 <bp-sym.h> and <bp-asm.h>.
33605 (memcpy): Don't use BP_SYM.
33606 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33607 <bp-sym.h> and <bp-asm.h>.
33608 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33609 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33610 <bp-sym.h> and <bp-asm.h>.
33611 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33612 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33613 <bp-asm.h>.
33614 (__mpn_lshift): Don't use BP_SYM.
33615 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33616 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33617 <bp-asm.h>.
33618 (memset): Don't use BP_SYM.
33619 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33620 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33621 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33622 <bp-asm.h>.
33623 (__mpn_mul_1): Don't use BP_SYM.
33624 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33625 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33626 <bp-sym.h> and <bp-asm.h>.
33627 (memcmp): Don't use BP_SYM.
33628 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33629 <bp-sym.h> and <bp-asm.h>.
33630 (memcpy): Don't use BP_SYM.
33631 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33632 <bp-sym.h> and <bp-asm.h>.
33633 (memset): Don't use BP_SYM.
33634 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33635 <bp-sym.h> and <bp-asm.h>.
33636 (strncmp): Don't use BP_SYM.
33637 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33638 <bp-sym.h> and <bp-asm.h>.
33639 (memcpy): Don't use BP_SYM.
33640 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33641 <bp-sym.h> and <bp-asm.h>.
33642 (memset): Don't use BP_SYM.
33643 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33644 <bp-sym.h> and <bp-asm.h>.
33645 (__memchr): Don't use BP_SYM.
33646 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33647 <bp-sym.h> and <bp-asm.h>.
33648 (memcmp): Don't use BP_SYM.
33649 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33650 <bp-sym.h> and <bp-asm.h>.
33651 (memcpy): Don't use BP_SYM.
33652 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33653 <bp-sym.h> and <bp-asm.h>.
33654 (__mempcpy): Don't use BP_SYM.
33655 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33656 <bp-sym.h> and <bp-asm.h>.
33657 (__memrchr): Don't use BP_SYM.
33658 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33659 <bp-sym.h> and <bp-asm.h>.
33660 (memset): Don't use BP_SYM.
33661 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33662 <bp-sym.h> and <bp-asm.h>.
33663 (__rawmemchr): Don't use BP_SYM.
33664 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33665 <bp-sym.h> and <bp-asm.h>.
33666 (__STRCMP): Don't use BP_SYM.
33667 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33668 <bp-sym.h> and <bp-asm.h>.
33669 (strchr): Don't use BP_SYM.
33670 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33671 <bp-sym.h> and <bp-asm.h>.
33672 (__strchrnul): Don't use BP_SYM.
33673 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33674 <bp-sym.h> and <bp-asm.h>.
33675 (strlen): Don't use BP_SYM.
33676 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33677 <bp-sym.h> and <bp-asm.h>.
33678 (strncmp): Don't use BP_SYM.
33679 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33680 <bp-sym.h> and <bp-asm.h>.
33681 (__strnlen): Don't use BP_SYM.
33682 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33683 <bp-asm.h>.
33684 (__mpn_rshift): Don't use BP_SYM.
33685 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33686 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33687 <bp-sym.h> and <bp-asm.h>.
33688 (__sigsetjmp): Don't use BP_SYM.
33689 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33690 (L(start_addresses)): Don't use BP_SYM.
33691 (_start): Likewise.
33692 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33693 <bp-asm.h>.
33694 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33695 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33696 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33697 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33698 <bp-asm.h>.
33699 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33700 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33701 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33702 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33703 <bp-asm.h>.
33704 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33705 comments.
33706 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33707 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33708 <bp-asm.h>.
33709 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
33710 FIXME comments.
33711 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33712 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33713 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33714 <bp-asm.h>.
33715 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33716 comment.
33717 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33718 and <bp-asm.h>.
33719 (strncmp): Don't use BP_SYM,
33720 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33721 <bp-asm.h>.
33722 (__mpn_sub_n): Don't use BP_SYM.
33723 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33724 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33725 and <bp-asm.h>.
33726 (__mpn_submul_1): Don't use BP_SYM.
33727 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33729 <bp-sym.h> and <bp-asm.h>.
33730 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33732 <bp-sym.h> and <bp-asm.h>.
33733 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33734 comment.
33735
8d19fe64
SP
337362013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33737
33738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33739 Use ZK to minimize writes to Z.
33740 (sub_magnitudes): Simplify code a bit.
33741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33742 Use ZK to minimize writes to Z.
33743 (sub_magnitudes): Simplify code a bit.
33744
85bd816a
RM
337452013-02-27 Roland McGrath <roland@hack.frob.com>
33746
33747 * csu/gmon-start.c: Add special exception to license text.
33748
b5977bf2
RH
337492013-02-27 Richard Henderson <rth@redhat.com>
33750
33751 * scripts/config.guess: Update from config.git.
33752 * scripts/config.sub: Likewise.
33753
11d6e2f2
SP
337542013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33755
09c14ed2
SP
33756 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33757
a688864e
SP
33758 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33759
6295157a
SP
33760 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33761
b8de2202
SP
33762 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33763
11d6e2f2
SP
33764 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33765
7e80ddb8
RM
337662013-02-26 Roland McGrath <roland@hack.frob.com>
33767
33768 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33769 [$(build-shared = yes].
7e80ddb8 33770
7da6d9ed
SP
337712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33772
45f05884
SP
33773 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33774 (__mul): Reduce iterations for calculating mantissa.
33775
2236d359
SP
33776 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33777 MPTWO.
33778 (__mpranred): Likewise.
33779
7da6d9ed
SP
33780 [BZ #15160]
33781 * malloc/memusagestat.c (main): Draw graphs for heap and stack
33782 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33783
b7688c42
PE
337842013-02-26 Paul Eggert <eggert@cs.ucla.edu>
33785
33786 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33787 Define __attribute__.
33788
53a5c423
SP
337892013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33790
33791 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33792 unused.
33793 * posix/regex_internal.h (__attribute): Remove.
33794 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33795 (re_string_context_at): Likewise.
33796 (bitset_not): Use __attribute__ and mark function as possibly
33797 unused.
33798 (bitset_merge): Likewise.
33799 (bitset_mask): Likewise.
33800 (re_string_char_size_at): Likewise.
33801 (re_string_wchar_at): Likewise.
33802 (re_string_elem_size_at): Likewise.
33803
60f5a8b5
SP
338042013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33805
2a983a2e
SP
33806 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33807 code.
33808 (cc32): Likewise.
33809
e69804d1
SP
33810 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33811 (__acr): Likewise.
33812 (__cpy): Likewise.
33813 (norm): Likewise.
33814 (denorm): Likewise.
33815 (__dbl_mp): Likewise.
33816 (add_magnitudes): Likewise.
33817 (sub_magnitudes): Likewise.
33818 (__mul): Likewise.
33819 (__inv): Likewise.
33820
2f22a1e8
SP
33821 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33822 style.
33823
8930ddc7
SP
33824 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33825 style.
33826
dc60cb11
SP
33827 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33828 code.
33829
60f5a8b5
SP
33830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33831 up changes with default code.
33832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33833 Likewise.
33834
b4d1fd33
AM
338352013-02-24 Allan McRae <allan@archlinux.org>
33836
faf6f8bc
AM
33837 * manual/socket.texi (The Internet Namespace): Order menu items
33838 to match that in the file.
33839
b4d1fd33
AM
33840 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33841 node listing of the info page menu.
33842
2366713d
JM
338432013-02-21 Joseph Myers <joseph@codesourcery.com>
33844
33845 [BZ #13550]
33846 * sysdeps/i386/bp-asm.h: Remove file.
33847 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33848 (PARMS): Do not use macros from bp-asm.h.
33849 (S1): Likewise.
33850 (S2): Likewise.
33851 (SIZE): Likewise.
33852 (__mpn_add_n): Do not use BP_SYM
33853 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33854 "bp-asm.h".
33855 (PARMS): Do not use macros from bp-asm.h.
33856 (S1): Likewise.
33857 (SIZE): Likewise.
33858 (__mpn_addmul_1): Do not use BP_SYM
33859 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33860 "bp-asm.h".
33861 (PARMS): Do not use macros from bp-asm.h.
33862 (SIGMSK): Likewise.
33863 (_setjmp): Likewise. Do not use BP_SYM.
33864 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
33865 "bp-asm.h".
33866 (PARMS): Do not use macros from bp-asm.h.
33867 (SIGMSK): Likewise.
33868 (setjmp): Likewise. Do not use BP_SYM.
33869 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33870 "bp-asm.h".
33871 (PARMS): Do not use macros from bp-asm.h.
33872 (__frexp): Do not use BP_SYM.
33873 (frexp): Likewise.
33874 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33875 "bp-asm.h".
33876 (PARMS): Do not use macros from bp-asm.h.
33877 (__frexpf): Do not use BP_SYM.
33878 (frexpf): Likewise.
33879 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33880 "bp-asm.h".
33881 (PARMS): Do not use macros from bp-asm.h.
33882 (__frexpl): Do not use BP_SYM.
33883 (frexpl): Likewise.
33884 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33885 "bp-asm.h".
33886 (PARMS): Do not use macros from bp-asm.h.
33887 (__remquo): Do not use BP_SYM.
33888 (remquo): Likewise.
33889 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33890 "bp-asm.h".
33891 (PARMS): Do not use macros from bp-asm.h.
33892 (__remquof): Do not use BP_SYM.
33893 (remquof): Likewise.
33894 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33895 "bp-asm.h".
33896 (PARMS): Do not use macros from bp-asm.h.
33897 (__remquol): Do not use BP_SYM.
33898 (remquol): Likewise.
33899 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33900 "bp-asm.h".
33901 (PARMS): Do not use macros from bp-asm.h.
33902 (DEST): Likewise.
33903 (SRC): Likewise.
33904 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
33905 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33906 "bp-asm.h".
33907 (PARMS): Do not use macros from bp-asm.h.
33908 (strlen): Do not use BP_SYM.
33909 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33910 "bp-asm.h".
33911 (PARMS): Do not use macros from bp-asm.h.
33912 (S1): Likewise.
33913 (S2): Likewise.
33914 (SIZE): Likewise.
33915 (__mpn_add_n): Do not use BP_SYM.
33916 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33917 "bp-asm.h".
33918 (PARMS): Do not use macros from bp-asm.h.
33919 (S1): Likewise.
33920 (SIZE): Likewise.
33921 (__mpn_addmul_1): Do not use BP_SYM.
33922 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33923 weak_alias.
33924 (bzero): Likewise.
33925 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33926 "bp-asm.h".
33927 (PARMS): Do not use macros from bp-asm.h.
33928 (S): Likewise.
33929 (SIZE): Likewise.
33930 (__mpn_lshift): Do not use BP_SYM.
33931 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33932 "bp-asm.h".
33933 (PARMS): Do not use macros from bp-asm.h.
33934 (DEST): Likewise.
33935 (SRC): Likewise.
33936 (LEN): Likewise.
33937 (memcpy): Likewise. Do not use BP_SYM.
33938 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33939 libc_hidden_def and weak_alias.
33940 (mempcpy): Do not use BP_SYM in weak_alias.
33941 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33942 "bp-asm.h".
33943 (PARMS): Do not use macros from bp-asm.h.
33944 (DEST): Likewise.
33945 (LEN): Likewise.
33946 [!BZERO_P] (CHR): Likewise.
33947 (memset): Likewise. Do not use BP_SYM.
33948 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33949 "bp-asm.h".
33950 (PARMS): Do not use macros from bp-asm.h.
33951 (S1): Likewise.
33952 (SIZE): Likewise.
33953 (__mpn_mul_1): Do not use BP_SYM.
33954 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33955 "bp-asm.h".
33956 (PARMS): Do not use macros from bp-asm.h.
33957 (S): Likewise.
33958 (SIZE): Likewise.
33959 (__mpn_rshift): Do not use BP_SYM.
33960 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33961 "bp-asm.h".
33962 (PARMS): Do not use macros from bp-asm.h.
33963 (STR): Likewise.
33964 (CHR): Likewise.
33965 (strchr): Likewise. Do not use BP_SYM.
33966 (index): Do not use BP_SYM in weak_alias.
33967 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33968 "bp-asm.h".
33969 (PARMS): Do not use macros from bp-asm.h.
33970 (DEST): Likewise.
33971 (SRC): Likewise.
33972 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
33973 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33974 "bp-asm.h".
33975 (PARMS): Do not use macros from bp-asm.h.
33976 (strlen): Do not use BP_SYM.
33977 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33978 "bp-asm.h".
33979 (PARMS): Do not use macros from bp-asm.h.
33980 (S1): Likewise.
33981 (S2): Likewise.
33982 (SIZE): Likewise.
33983 (__mpn_sub_n): Do not use BP_SYM.
33984 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33985 "bp-asm.h".
33986 (PARMS): Do not use macros from bp-asm.h.
33987 (S1): Likewise.
33988 (SIZE): Likewise.
33989 (__mpn_submul_1): Do not use BP_SYM.
33990 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33991 "bp-asm.h".
33992 (PARMS): Do not use macros from bp-asm.h.
33993 (S1): Likewise.
33994 (S2): Likewise.
33995 (SIZE): Likewise.
33996 (__mpn_add_n): Do not use BP_SYM.
33997 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
33998 weak_alias.
33999 (bzero): Likewise.
34000 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34001 "bp-asm.h".
34002 (PARMS): Do not use macros from bp-asm.h.
34003 (BLK2): Likewise.
34004 (LEN): Likewise.
34005 (memcmp): Do not use BP_SYM.
34006 (bcmp): Do not use BP_SYM in weak_alias.
34007 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34008 "bp-asm.h".
34009 (PARMS): Do not use macros from bp-asm.h.
34010 (DEST): Likewise.
34011 (SRC): Likewise.
34012 (LEN): Likewise.
34013 (memcpy): Likewise. Do not use BP_SYM.
34014 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34015 "bp-asm.h".
34016 (PARMS): Do not use macros from bp-asm.h.
34017 (DEST): Likewise.
34018 (SRC): Likewise.
34019 (LEN): Likewise.
34020 (memmove): Likewise. Do not use BP_SYM.
34021 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34022 "bp-asm.h".
34023 (PARMS): Do not use macros from bp-asm.h.
34024 (DEST): Likewise.
34025 (SRC): Likewise.
34026 (LEN): Likewise.
34027 (__mempcpy): Likewise. Do not use BP_SYM.
34028 (mempcpy): Do not use BP_SYM in weak_alias.
34029 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34030 "bp-asm.h".
34031 (PARMS): Do not use macros from bp-asm.h.
34032 (DEST): Likewise.
34033 (LEN): Likewise.
34034 [!BZERO_P] (CHR): Likewise.
34035 (memset): Likewise. Do not use BP_SYM.
34036 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34037 "bp-asm.h".
34038 (PARMS): Do not use macros from bp-asm.h.
34039 (STR2): Likewise.
34040 (strcmp): Do not use BP_SYM.
34041 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34042 "bp-asm.h".
34043 (PARMS): Do not use macros from bp-asm.h.
34044 (STR): Likewise.
34045 (DELIM): Likewise.
34046 [USE_AS_STRTOK_R] (SAVE): Likewise.
34047 (FUNCTION): Likewise. Do not use BP_SYM.
34048 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34049 aliases.
34050 (strtok_r): Likewise.
34051 (__GI___strtok_r): Likewise.
34052 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34053 (PARMS): Do not use macros from bp-asm.h.
34054 (S): Likewise.
34055 (SIZE): Likewise.
34056 (__mpn_lshift): Do not use BP_SYM.
34057 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34058 (PARMS): Do not use macros from bp-asm.h.
34059 (STR): Likewise.
34060 (CHR): Likewise.
34061 (__memchr): Do not use BP_SYM.
34062 (memchr): Do not use BP_SYM in weak_alias.
34063 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34064 (PARMS): Do not use macros from bp-asm.h.
34065 (BLK2): Likewise.
34066 (LEN): Likewise.
34067 (memcmp): Do not use BP_SYM.
34068 (bcmp): Do not use BP_SYM in weak_alias.
34069 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34070 (PARMS): Do not use macros from bp-asm.h.
34071 (S1): Likewise.
34072 (SIZE): Likewise.
34073 (__mpn_mul_1): Do not use BP_SYM.
34074 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34075 "bp-asm.h".
34076 (PARMS): Do not use macros from bp-asm.h.
34077 (STR): Likewise.
34078 (CHR): Likewise.
34079 (__rawmemchr): Do not use BP_SYM.
34080 (rawmemchr): Do not use BP_SYM in weak_alias.
34081 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34082 (PARMS): Do not use macros from bp-asm.h.
34083 (S): Likewise.
34084 (SIZE): Likewise.
34085 (__mpn_rshift): Do not use BP_SYM.
34086 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34087 (PARMS): Do not use macros from bp-asm.h.
34088 (SIGMSK): Likewise.
34089 (__sigsetjmp): Likewise. Do not use BP_SYM.
34090 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34091 (_start): Do not use BP_SYM.
34092 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34093 (PARMS): Do not use macros from bp-asm.h.
34094 (DEST): Likewise.
34095 (SRC): Likewise.
34096 (__stpcpy): Likewise. Do not use BP_SYM.
34097 (stpcpy): Do not use BP_SYM in weak_alias.
34098 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34099 "bp-asm.h".
34100 (PARMS): Do not use macros from bp-asm.h.
34101 (DEST): Likewise.
34102 (SRC): Likewise.
34103 (LEN): Likewise.
34104 (__stpncpy): Likewise. Do not use BP_SYM.
34105 (stpncpy): Do not use BP_SYM in weak_alias.
34106 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34107 (PARMS): Do not use macros from bp-asm.h.
34108 (STR): Likewise.
34109 (CHR): Likewise.
34110 (strchr): Likewise. Do not use BP_SYM.
34111 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34112 "bp-asm.h".
34113 (PARMS): Do not use macros from bp-asm.h.
34114 (STR): Likewise.
34115 (CHR): Likewise.
34116 (__strchrnul): Likewise. Do not use BP_SYM.
34117 (strchrnul): Do not use BP_SYM in weak_alias.
34118 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34119 "bp-asm.h".
34120 (PARMS): Do not use macros from bp-asm.h.
34121 (STOP): Likewise.
34122 (strcspn): Do not use BP_SYM.
34123 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34124 "bp-asm.h".
34125 (PARMS): Do not use macros from bp-asm.h.
34126 (STR): Likewise.
34127 (STOP): Likewise.
34128 (strpbrk): Likewise. Do not use BP_SYM.
34129 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34130 "bp-asm.h".
34131 (PARMS): Do not use macros from bp-asm.h.
34132 (STR): Likewise.
34133 (CHR): Likewise.
34134 (strrchr): Likewise. Do not use BP_SYM.
34135 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34136 (PARMS): Do not use macros from bp-asm.h.
34137 (SKIP): Likewise.
34138 (strspn): Do not use BP_SYM.
34139 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34140 (PARMS): Do not use macros from bp-asm.h.
34141 (STR): Likewise.
34142 (DELIM): Likewise.
34143 (SAVE): Likewise.
34144 (FUNCTION): Likewise. Do not use BP_SYM.
34145 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34146 aliases.
34147 (strtok_r): Likewise.
34148 (__GI___strtok_r): Likewise.
34149 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34150 (PARMS): Do not use macros from bp-asm.h.
34151 (S1): Likewise.
34152 (S2): Likewise.
34153 (SIZE): Likewise.
34154 (__mpn_sub_n): Do not use BP_SYM.
34155 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34156 "bp-asm.h".
34157 (PARMS): Do not use macros from bp-asm.h.
34158 (S1): Likewise.
34159 (SIZE): Likewise.
34160 (__mpn_submul_1): Do not use BP_SYM.
34161 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34162 <bp-sym.h>.
34163 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34164 and <bp-asm.h>.
34165 (PARMS): Do not use macros from bp-asm.h.
34166 (FLAGS): Likewise.
34167 (PTID): Likewise.
34168 (TLS): Likewise.
34169 (CTID): Likewise.
34170 (__clone): Do not use BP_SYM.
34171 (clone): Do not use BP_SYM in weak_alias.
34172 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34173 and <bp-asm.h>.
34174 (PARMS): Do not use macros from bp-asm.h.
34175 (LEN): Likewise.
34176 (__mmap64): Do not use BP_SYM.
34177 (mmap64): Do not use BP_SYM in weak_alias.
34178 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34179 <bp-sym.h> and <bp-asm.h>.
34180 (PARMS): Do not use macros from bp-asm.h.
34181 (__posix_fadvise64_l64): Do not use BP_SYM.
34182 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34183 (PARMS): Do not use macros from bp-asm.h.
34184 (NSOPS): Likewise.
34185 (semtimedop): Do not use BP_SYM.
34186 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34187 and <bp-asm.h>.
34188
582a3cff
AM
341892013-02-21 Allan McRae <allan@archlinux.org>
34190
34191 * manual/message.texi (Charset conversion in gettext):
34192 Move @end statement to beginning of line.
34193
bab8a695
SP
341942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34195
80945231
SP
34196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34197 static.
34198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34199 Likewise.
34200
bab8a695
SP
34201 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34202 (denorm): Likewise.
34203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34205
e21d7aa7
AK
342062013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34207
34208 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34209 tail-call to the resolved function if pltexit isn't needed.
34210
4c7a4263
SP
342112013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34212
34213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34214 or Y being zero as being unlikely.
34215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34216 Likewise.
34217
41f49342
CD
342182013-02-20 Carlos O'Donell <carlos@redhat.com>
34219
34220 * manual/nss.texi (System Databases and Name Service Switch):
34221 Remove frobnicate @pxref.
34222
50022a93
TS
342232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34224
34225 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34226 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34227
08cbd996
PM
342282013-02-20 Petr Machata <pmachata@redhat.com>
34229
34230 * elf/elf.h (R_ARM_TARGET1): New macro.
34231 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34232 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34233 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34234 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34235 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34236 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34237 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34238 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34239 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34240 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34241 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34242 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34243 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34244 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34245 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34246 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34247 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34248 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34249 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34250 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34251 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34252 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34253 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34254 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34255 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34256 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34257 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34258 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34259 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34260 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34261 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34262 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34263 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34264 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34265 (R_ARM_THM_GOT_BREL12): Likewise.
34266 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34267 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34268 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34269 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34270 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34271 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34272 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34273 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34274 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34275
c7b275d6
TS
342762013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34277
34278 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34279 __attribute_used__ to __attribute__ ((unused)).
34280
20cd7fb3
SP
342812013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34282
34283 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34284 powerpc mpa.c.
34285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34286 comment formatting.
34287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34288
92945b52
JM
342892013-02-19 Joseph Myers <joseph@codesourcery.com>
34290
34291 [BZ #13550]
34292 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34293 Remove macro.
34294 (ENTER): Remove both macro definitions.
34295 (LEAVE): Likewise.
34296 (CHECK_BOUNDS_LOW): Likewise.
34297 (CHECK_BOUNDS_HIGH): Likewise.
34298 (CHECK_BOUNDS_BOTH): Likewise.
34299 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34300 (RETURN_BOUNDED_POINTER): Likewise.
34301 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34302 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34303 (POP_ERRNO_LOCATION_RETURN): Likewise.
34304 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34305 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34306 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34307 macros.
34308 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34309 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34310 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34311 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34312 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34313 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34314 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34315 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34316 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34317 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34318 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34319 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34320 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34321 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34322 removed macros.
34323 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34324 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34325 macros.
34326 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34327 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34328 * sysdeps/i386/i586/memset.S (memset): Likewise.
34329 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34330 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34331 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34332 macros.
34333 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34334 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34335 Change uses of L(2) to L(out).
34336 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34337 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34338 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34339 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34340 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34341 removed macros.
34342 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34343 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34344 macros.
34345 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34346 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34347 (RETURN): Do not use macro LEAVE.
34348 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34349 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34350 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34351 * sysdeps/i386/i686/memset.S (memset): Likewise.
34352 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34353 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34354 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34355 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34356 Likewise.
34357 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34358 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34359 L(1_2) and L(1_3) into L(1).
34360 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34361 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34362 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34363 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34364 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34365 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34366 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34367 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34368 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34369 macros.
34370 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34371 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34372 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34373 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34374 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34375 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34376 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34377 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34378 * sysdeps/i386/strcspn.S (strcspn): Likewise.
34379 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34380 * sysdeps/i386/strrchr.S (strrchr): Likewise.
34381 * sysdeps/i386/strspn.S (strspn): Likewise.
34382 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34383 conditional code.
34384 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34385 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34386 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34387 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
34388 L(1_3) into L(1_1).
34389 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34390 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34391 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34392 macros.
34393 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34394
2389741a
JJ
343952013-02-19 Jakub Jelinek <jakub@redhat.com>
34396
34397 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34398 macro.
34399
2016b3cd
SP
344002013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34401
e4f22324
SP
34402 * math/atest-exp.c (exp_mpn): Remove ROUND.
34403 * math/atest-exp2.c (exp_mpn): Likewise.
34404 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34405
2016b3cd
SP
34406 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34407 * stdlib/tst-tls-atexit-lib.c: Likewise.
34408 * stdlib/tst-tls-atexit.c: Likewise.
34409
4be9b544
MF
344102013-02-18 Mike Frysinger <vapier@gentoo.org>
34411
34412 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34413 and __attribute_alloc_size__.
34414
2f62b9ee
MF
344152013-02-18 Mike Frysinger <vapier@gentoo.org>
34416
34417 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34418 __attribute_alloc_size__.
34419 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34420 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34421
6ff444c4
MF
344222013-02-18 Mike Frysinger <vapier@gentoo.org>
34423
34424 * include/programs/xmalloc.h: New file.
34425 * catgets/gencat.c: Include it.
34426 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34427 * elf/pldd.c: Likewise.
34428 * iconv/iconv_charmap.c: Likewise.
34429 * iconv/iconvconfig.c: Likewise.
34430 * iconv/strtab.c: Likewise.
34431 * locale/programs/locale.c: Likewise.
34432 * locale/programs/localedef.h: Likewise.
34433 * locale/programs/simple-hash.c: Likewise.
34434 * nscd/nscd.h: Likewise.
34435 * nss/makedb.c: Likewise.
34436 * sysdeps/generic/ldconfig.h: Likewise.
34437
be179c8a
SP
344382013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34439
ba384f6e
SP
34440 * Versions.def: Add GLIBC_2.18.
34441 * include/link.h (struct link_map): New member l_tls_dtor_count.
34442 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34443 (__call_tls_dtors): Likewise.
34444 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34445 __cxa_thread_atexit_impl.
34446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34447 Likewise.
34448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34449 Likewise.
34450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34451 Likewise.
34452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34453 Likewise.
34454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34456 Likewise.
34457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34458 Likewise.
34459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34461 Likewise.
34462 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34463 (tests): Add test case tst-tls-atexit.
34464 (modules-names): Add shared library for tst-tls-atexit.
85891aca 34465 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
34466 (GLIBC_PRIVATE): Add __call_tls_dtors.
34467 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34468 for libstdc++.
34469 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34470 * stdlib/tst-tls-atexit.c: New test case.
34471 * stdlib/tst-tls-atexit-lib.c: New test case.
34472
ffaa74cf 34473 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 34474
be179c8a
SP
34475 * elf/Versions (ld): Add _dl_find_dso_for_object.
34476 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34477 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34478 (dl_open_worker): Use _dl_find_dso_for_object.
34479 * elf/dl-sym.c (do_sym): Likewise.
34480 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34481
f78b5caa
AK
344822013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34483
34484 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34485 Syntactic changes only.
34486 (_dl_runtime_profile): Do a tail-call to the resolved function.
34487
29691210
JM
344882013-02-17 Joseph Myers <joseph@codesourcery.com>
34489
34490 [BZ #13550]
34491 * sysdeps/x86_64/bp-asm.h: Remove file.
34492 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34493 <bp-sym.h> and <bp-asm.h>.
34494 (__clone): Do not use BP_SYM.
34495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34496 <bp-sym.h> and <bp-asm.h>.
34497 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34498 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34499 "bp-asm.h".
34500 (_setjmp): Do not use BP_SYM.
34501 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34502 "bp-asm.h".
34503 (setjmp): Do not use BP_SYM.
34504 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34505 libc_hidden_def.
34506 (mempcpy): Do not use BP_SYM in weak_alias.
34507 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34508 "bp-asm.h".
34509 (strchr): Do not use BP_SYM.
34510 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34511 "bp-asm.h".
34512 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34513 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34514 (_start): Do not use BP_SYM.
34515 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34516 "bp-asm.h".
34517 (strcat): Do not use BP_SYM.
34518 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34519 "bp-asm.h".
34520 (STRCMP): Do not use BP_SYM.
34521 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34522 "bp-asm.h".
34523 (STRCPY): Do not use BP_SYM.
34524 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34525 "bp-asm.h".
34526 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34527 "bp-asm.h".
34528 (FUNCTION): Do not use BP_SYM.
34529 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34530 weak_alias.
34531 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34532
f238fd19
AJ
345332013-02-17 Andreas Jaeger <aj@suse.de>
34534
34535 * time/Versions: Sort entries.
34536 * string/Versions: Likewise.
34537 * resolv/Versions: Likewise.
34538 * posix/Versions: Likewise.
34539 * iconv/Versions: Likewise.
34540 * elf/Versions: Likewise.
34541 * wcsmbs/Versions: Likewise.
34542
bd07f23c 345432013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 34544
22af19f9
SP
34545 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34546 loop termination condition.
34547
4709fe76
SP
34548 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34549 variable to calculate EZ.
34550 (__sqr): Likewise.
2d0e0f29
SP
34551
34552 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34553 the lower precision input.
34554
daaa7713
JM
345552013-02-15 Joseph Myers <joseph@codesourcery.com>
34556
34557 [BZ #13550]
34558 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34559 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34560 (run-via-rtld-prefix): Do not handle %-bp tests.
34561 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34562 (all-object-suffixes): Remove .ob.
34563 (bppfx): Remove variable.
34564 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34565 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34566 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34567 [$(build-bounded) = yes] (libtype.ob): Likewise.
34568 * Makerules (elide-routines.ob): Remove variable.
34569 (do-tests-clean): Do not handle *-bp.out.
34570 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34571 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34572 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34573 (tests): Do not include $(tests-bp.out).
34574 (xtests): Do not include $(xtests-bp.out).
34575 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34576 [$(build-bounded) = yes] ($(addprefix
34577 $(objpfx),$(binaries-bounded))): Remove rule.
34578 ($(objpfx)%-bp.out): Remove rule.
34579 * config.make.in (build-bounded): Remove variable.
34580 * crypt/Makefile [$(build-bounded) = yes]
34581 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34582 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34583 append to variable.
34584 [$(build-bounded) = yes] (install-lib): Likewise.
34585 [$(build-bounded) = yes] (generated): Likewise.
34586 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34587 Remove rule.
34588 * intl/Makefile [$(build-bounded) = yes]
34589 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34590 * math/Makefile [$(build-bounded) = yes]
34591 ($(tests:%=$(objpfx)%-bp): Likewise.
34592 * misc/Makefile [$(build-bounded) = yes]
34593 ($(objpfx)tst-tsearch-bp): Likewise.
34594 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34595 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34596 Remove dependency.
34597 * string/Makefile (o-objects.ob): Remove variable.
34598 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34599 (CFLAGS-.ob): Remove variable.
34600 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34601 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34602 both definitions of variable.
34603 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34604 (ASFLAGS-.ob): Remove variable.
34605
e97ed6dd
JM
346062013-02-14 Joseph Myers <joseph@codesourcery.com>
34607
2bdd4ca6
JM
34608 [BZ #13550]
34609 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34610 Remove __BOUNDED_POINTERS__ from condition.
34611 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34612 * string/bits/string2.h [!__NO_STRING_INLINES &&
34613 !__BOUNDED_POINTERS__]: Likewise.
34614 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34615 Likewise.
34616 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34617 Remove conditional code.
34618 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34619 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34620 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34621 condition.
34622
e97ed6dd
JM
34623 [BZ #13550]
34624 * csu/libc-start.c: Do not include <bp-sym.h>.
34625 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34626 * elf/dl-open.c: Do not include <bp-sym.h>.
34627 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34628 * math/fegetenv.c: Do not include <bp-sym.h>.
34629 (fegetenv): Do not use BP_SYM in versioned symbols.
34630 * nptl/sysdeps/pthread/bits/libc-lockP.h
34631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34632 <bp-sym.h>.
34633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34634 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34636 (__pthread_mutex_destroy): Likewise.
34637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34638 (__pthread_mutex_lock): Likewise.
34639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34640 (__pthread_mutex_trylock): Likewise.
34641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34642 (__pthread_mutex_unlock): Likewise.
34643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34644 (__pthread_mutexattr_init): Likewise.
34645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34646 (__pthread_mutexattr_destroy): Likewise.
34647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34648 (__pthread_mutexattr_settype): Likewise.
34649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34650 (__pthread_rwlock_init): Likewise.
34651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34652 (__pthread_rwlock_destroy): Likewise.
34653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34654 (__pthread_rwlock_rdlock): Likewise.
34655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34656 (__pthread_rwlock_tryrdlock): Likewise.
34657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34658 (__pthread_rwlock_wrlock): Likewise.
34659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34660 (__pthread_rwlock_trywrlock): Likewise.
34661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34662 (__pthread_rwlock_unlock): Likewise.
34663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34664 (__pthread_key_create): Likewise.
34665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34666 (__pthread_setspecific): Likewise.
34667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34668 (__pthread_getspecific): Likewise.
34669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34670 Likewise.
34671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34672 (_pthread_cleanup_push_defer): Likewise.
34673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34674 (_pthread_cleanup_pop_restore): Likewise.
34675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34676 (pthread_setcancelstate): Likewise.
34677 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34678 <bp-sym.h>.
34679 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34680 (memchr): Do not use BP_SYM in weak_alias.
34681 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34682 (fegetenv): Do not use BP_SYM in versioned symbols.
34683 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34684 (fesetenv): Do not use BP_SYM in versioned symbols.
34685 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34686 (feupdateenv): Do not use BP_SYM in versioned symbols.
34687 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34688 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34689 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34690 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34691 (open64): Do not use BP_SYM in weak_alias.
34692 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34693 (fegetenv): Do not use BP_SYM in versioned symbols.
34694 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34695 (fesetenv): Do not use BP_SYM in versioned symbols.
34696 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34697 (feupdateenv): Do not use BP_SYM in versioned symbols.
34698 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34699 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34700 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34701 (feraiseexcept): Do not use BP_SYM in versioned symbols.
34702 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34703 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34704 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34705 <bp-sym.h>.
34706 (__libc_start_main): Do not use BP_SYM.
34707
d6752ccd
SP
347082013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34709
cb57ce60
SP
34710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34711 redundant return line.
34712 (norm): Likewise.
34713 (denorm): Likewise.
34714 (dbl_mp): Likewise.
34715 (sub_magnitudes): Likewise.
34716 (__add): Likewise.
34717 (__sub): Likewise.
34718 (__mul): Likewise.
34719 (__inv): Likewise.
34720 (__dvd): Likewise.
34721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34722 (norm): Likewise.
34723 (denorm): Likewise.
34724 (dbl_mp): Likewise.
34725 (sub_magnitudes): Likewise.
34726 (__add): Likewise.
34727 (__sub): Likewise.
34728 (__mul): Likewise.
34729 (__inv): Likewise.
34730 (__dvd): Likewise.
34731
f414520d
SP
34732 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34733 instead of __mul.
34734 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34735 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34736 (cc32): Likewise.
34737
d6752ccd
SP
34738 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34739 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34741 of __mul for squares.
34742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34743 function
34744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34745 Likewise.
34746 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34747 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34748
70d9946a
JM
347492013-02-13 Joseph Myers <joseph@codesourcery.com>
34750
34751 [BZ #13550]
34752 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34753 code.
34754 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34755 prototype or function definition. Rename ubp_* variables and
34756 parameters. Remove argv definitions conditional on
34757 [__BOUNDED_POINTERS__].
34758 * debug/backtrace.c (__backtrace): Do not use __unbounded.
34759 * elf/dl-runtime.c (_dl_fixup): Likewise.
34760 * include/set-hooks.h (RUN_HOOK): Likewise.
34761 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34762 definition.
34763 * string/strcpy.c (strcpy): Do not use __unbounded.
34764 * sysdeps/generic/frame.h (struct layout): Likewise.
34765 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34766 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34767 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34768 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34769 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34770 (__backtrace): Likewise.
34771 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34772 use __ptrvalue.
34773 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34774 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34775 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34776 Likewise.
34777 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34778 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34779 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34780 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34781 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34782 Do not use __unbounded.
34783 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34784 Rename __unboundedrlimits parameter to rlimits in prototype.
34785 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34786 Do not use __unbounded.
34787 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34788 not use __ptrvalue.
34789 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34790 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34791 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34792 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34793 __ptrvalue or __unbounded.
34794 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34795 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34796 use __unbounded.
34797 (__new_msgctl): Do not use __ptrvalue.
34798 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34799 __unbounded.
34800 (__libc_msgrcv): Do not use __ptrvalue.
34801 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34802 startup_info): Do not use __unbounded.
34803 (__libc_start_main): Likewise. Rename ubp_* variables and
34804 parameters. Remove argv definitions conditional on
34805 [__BOUNDED_POINTERS__].
34806 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34807 __ptrvalue.
34808 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34809 use __unbounded.
34810 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34811 or __ptrvalue.
34812 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34813 use __unbounded.
34814 (__new_shmctl): Do not use __ptrvalue.
34815 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34816 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34817 Likewise.
34818 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34819 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34820 (__libc_sigaction): Likewise.
34821 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34822 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34823 Likewise.
34824 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34825
cc7834d6
OB
348262013-02-13 Ondřej Bílka <neleai@seznam.cz>
34827
ffb1ec7b 34828 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
34829
34830 * string/mempcpy.c: Implement by calling memcpy.
34831
bdf02814
SP
348322013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34833
c2af38aa
SP
34834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34835
4e92d59e
SP
34836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34837 evaluation.
34838
909279a5
SP
34839 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34840 values in the mantissa.
34841
bdf02814
SP
34842 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34843 minimize writes to Z.
34844 (sub_magnitudes): Simplify code a bit.
34845
cd525923
RM
348462013-02-12 Roland McGrath <roland@hack.frob.com>
34847
34848 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34849 from the message. The linker prefixes all warnings with that already.
34850
7e2f0d2d
AS
348512013-02-12 Andreas Schwab <schwab@suse.de>
34852
a445af0b
AS
34853 [BZ #15078]
34854 * posix/regexec.c (extend_buffers): Add parameter min_len.
34855 (check_matching): Pass minimum needed length.
34856 (clean_state_log_if_needed): Likewise.
34857 (get_subexp): Likewise.
34858 * posix/Makefile (tests): Add bug-regex34.
34859 (bug-regex34-ENV): Define.
34860 * posix/bug-regex34.c: New file.
34861
7e2f0d2d
AS
34862 [BZ #11561]
34863 * posix/regcomp.c (parse_bracket_exp): When looking up collating
34864 elements compare against the byte sequence of it, not its name.
34865 * posix/Makefile (tests): Add bug-regex35.
34866 (bug-regex35-ENV): Define.
34867 * posix/bug-regex35.c: New file.
34868
a175b684
TV
348692013-02-11 Tom de Vries <tom@codesourcery.com>
34870
34871 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
34872 comment.
34873 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34874 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34875 (CHECK_EOL): Add undef.
34876
310998fe 348772013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
34878
34879 * bits/stdlib-bsearch.h: New file.
34880 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 34881 * stdlib/stdlib.h: Likewise.
41eda41d 34882
8ded91fb
RM
348832013-02-11 Roland McGrath <roland@hack.frob.com>
34884
34885 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34886 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34887 declaration.
34888 * manual/search.texi (Array Search Function): Add missing const in
34889 lfind prototype.
34890 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34891 declaration to use rlim_t.
34892 (Basic Scheduling Functions): Remove erroneous const from
34893 sched_getparam prototype. Remove erroneous * from
34894 sched_get_priority_max and sched_get_priority_min prototypes.
34895 (Resource Usage): Fix summary @comment on vtimes to refer to
34896 sys/vtimes.h rather than vtimes.h.
34897 Add missing *s in vtimes prototype.
34898 (Limits on Resources): Fix ulimit prototype to return long int.
34899 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34900 prototypes to use long int rather than double.
34901 (BSD Random): Fix initstate and setstate to use char *, not void *.
34902 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34903 prototype to make second argument 'struct aiocb64 *const[]'.
34904 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34905 (Status of AIO Operations): Remove erroneous const in aio_return and
34906 aio_return64 prototypes.
34907 (Synchronizing I/O): Fix sync prototype to return void.
34908 * manual/startup.texi (Suboptions): Remove an erroneous const in
34909 getsubopt prototype.
34910 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34911 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34912 use size_t rather than int.
34913 (Scanning All Users): Likewise for getpwent_r.
34914 (Setting Groups): Add missing const to setgroups prototype.
34915 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34916 * manual/socket.texi (Host Names): Fix gethostbyaddr and
34917 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34918 'const void *' rather than 'const char *'.
34919 (Host Address Functions): Likewise for inet_ntop.
34920 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34921 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34922 ssize_t for return value.
34923 (Sending Data): Likewise for send, sendto, sendmsg.
34924 (Socket Option Functions): Add a missing const in setsockopt prototype.
34925 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34926 use wchar_t for the argument.
34927 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34928 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34929 take no arguments.
34930 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34931 double/float/long double for second argument.
34932 Fix return types of significand, significandf, significandl.
34933 * manual/filesys.texi (Setting Permissions): Use mode_t for second
34934 argument in fchmod prototype.
34935 (File Owner): Use uid_t and gid_t in fchown prototype.
34936 (File Times): Add const to utimes, futimes, and lutimes prototypes.
34937 (Making Special Files): Use mode_t and dev_t in mknod prototype.
34938 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34939 use 'const struct dirent **' as argument types to CMP function pointer
34940 argument.
34941 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34942 (File Times): Fix summary magic @comment for struct utimbuf and utime
34943 to refer to utime.h, not time.h.
34944 * manual/string.texi (Argz Functions): Add missing const in
34945 argz_extract and argz_next prototypes.
34946 (Finding Tokens in a String): Likewise for basename.
34947 (String/Array Comparison): Fix typo in wcscasecmp prototype.
34948 (Copying and Concatenation): Fix typo in wmemmove prototype.
34949 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34950 (Signal Stack): Remove erroneous const in sigstack prototype.
34951 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34952 prototype.
34953 (Simple Calendar Time): Likewise for stime.
34954 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34955 prototype.
34956 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34957 say sys/sysctl.h instead.
34958 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34959 and vsyslog prototypes.
34960
fe77fe6d
TV
349612013-02-11 Tom de Vries <tom@codesourcery.com>
34962
34963 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34964 Remove.
34965
3a09b620
RM
349662013-02-11 Roland McGrath <roland@hack.frob.com>
34967
34968 * misc/sys/mman.h: Fix typo in mremap comment.
34969
550a0b89
RM
349702013-02-08 Roland McGrath <roland@hack.frob.com>
34971
34972 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34973 the '\0' terminator.
34974
a2da1673
JM
349752013-02-08 Joseph Myers <joseph@codesourcery.com>
34976
34977 [BZ #13550]
34978 * debug/segfault.c: Don't include <bp-checks.h>.
34979 * sysdeps/generic/bp-checks.h: Remove file.
34980 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34981 (__GETDENTS): Don't use CHECK_N.
34982 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34983 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34984 (__getgroups): Don't use CHECK_N.
34985 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34986 (setgroups): Don't use CHECK_N.
34987 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34988 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34989 (__libc_msgrcv): Don't use CHECK_N.
34990 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34991 (__libc_msgsnd): Don't use CHECK_N.
34992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34993 <bp-checks.h>.
34994 (__libc_pread): Don't use CHECK_N.
34995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34996 include <bp-checks.h>.
34997 (__libc_pread64): Don't use CHECK_N.
34998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34999 include <bp-checks.h>.
35000 (__libc_pwrite): Don't use CHECK_N.
35001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35002 include <bp-checks.h>.
35003 (__libc_pwrite64): Don't use CHECK_N.
35004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35005 <bp-checks.h>.
35006 (__libc_pread): Don't use CHECK_N.
35007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35008 include <bp-checks.h>.
35009 (__libc_pread64): Don't use CHECK_N.
35010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35011 include <bp-checks.h>.
35012 (__libc_pwrite): Don't use CHECK_N.
35013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35014 include <bp-checks.h>.
35015 (__libc_pwrite64): Don't use CHECK_N.
35016 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35017 (do_pread): Don't use CHECK_N.
35018 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35019 (do_pread64): Don't use CHECK_N.
35020 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35021 (do_pwrite): Don't use CHECK_N.
35022 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35023 (do_pwrite64): Don't use CHECK_N.
35024 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35025 (__libc_readv): Don't use CHECK_N.
35026 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35027 (semop): Don't use CHECK_N.
35028 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35029 <bp-checks.h>.
35030 (semtimedop): Don't use CHECK_N.
35031 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35032 (__libc_pread): Don't use CHECK_N.
35033 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35034 <bp-checks.h>.
35035 (__libc_pread64): Don't use CHECK_N.
35036 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35037 <bp-checks.h>.
35038 (__libc_pwrite): Don't use CHECK_N.
35039 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35040 <bp-checks.h>.
35041 (__libc_pwrite64): Don't use CHECK_N.
35042 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35043 <bp-checks.h>.
35044 (__libc_msgrcv): Don't use CHECK_N.
35045 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35046 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35047 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35048 (__libc_writev): Don't use CHECK_N.
35049
b84660a8
RM
350502013-02-08 Roland McGrath <roland@hack.frob.com>
35051
7f3e75f8
RM
35052 * string/strcpy.c: Removed unused variable.
35053
b84660a8
RM
35054 * Makeconfig (+sysdep-includes): Define with := rather than =.
35055 Use an existing include/ subdir of each sysdeps dir before it.
35056
471514d3
CD
350572013-02-08 Carlos O'Donell <carlos@redhat.com>
35058
35059 * nscd/connection.c (register_traced_file): Comment function.
35060 [HAVE_INOTIFY] (union __inev): Define.
35061 [HAVE_INOTIFY] (inotify_check_files): New function.
35062 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35063 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35064 clear_db_cache.
35065 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35066
b2d3c3be
CD
350672013-02-08 Carlos O'Donell <carlos@redhat.com>
35068
35069 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35070 loaded if not already and that a failure is permanent.
35071
b39949d2
CD
350722013-02-08 Carlos O'Donell <carlos@redhat.com>
35073
ddacd1db 35074 [BZ #15006]
b39949d2
CD
35075 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35076 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35077
b2c9eff4
JM
350782013-02-08 Joseph Myers <joseph@codesourcery.com>
35079
f3aae3f3
JM
35080 [BZ #13550]
35081 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35082 (CHECK_1_NULL_OK): Likewise.
35083 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35084 (__fxstat): Do not use CHECK_1.
35085 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35086 <bp-checks.h>.
35087 (___fxstat64): Do not use CHECK_1.
35088 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35089 <bp-checks.h>.
35090 (__fxstatat): Do not use CHECK_1.
35091 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35092 <bp-checks.h>.
35093 (__fxstatat64): Do not use CHECK_1.
35094 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35095 <bp-checks.h>.
35096 (__fxstat): Do not use CHECK_1.
35097 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35098 <bp-checks.h>.
35099 (__fxstatat): Do not use CHECK_1.
35100 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35101 <bp-checks.h>.
35102 (__getresgid): Do not use CHECK_1.
35103 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35104 <bp-checks.h>.
35105 (__getresuid): Do not use CHECK_1.
35106 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35107 <bp-checks.h>.
35108 (__lxstat): Do not use CHECK_1.
35109 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35110 <bp-checks.h>.
35111 (__old_msgctl): Do not use CHECK_1.
35112 (__new_msgctl): Likewise.
35113 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35114 <bp-checks.h>.
35115 (__new_setrlimit): Do not use CHECK_1.
35116 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35117 <bp-checks.h>.
35118 (__old_shmctl): Do not use CHECK_1.
35119 (__new_shmctl): Likewise.
35120 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35121 <bp-checks.h>.
35122 (__xstat): Do not use CHECK_1.
35123 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35124 (__lxstat): Do not use CHECK_1.
35125 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35126 <bp-checks.h>.
35127 (___lxstat64): Do not use CHECK_1.
35128 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35129 (__old_msgctl): Do not use CHECK_1.
35130 (__new_msgctl): Likewise.
35131 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35132 <bp-checks.h>.
35133 (__gettimeofday): Do not use CHECK_1.
35134 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35135 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35136 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35137 <bp-checks.h>.
35138 (__gettimeofday): Do not use CHECK_1.
35139 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35140 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35141 (__new_shmctl): Do not use CHECK_1.
35142 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35143 <bp-checks.h>.
35144 (do_sigtimedwait): Do not use CHECK_1.
35145 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35146 <bp-checks.h>.
35147 (do_sigwaitinfo): Do not use CHECK_1.
35148 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35149 <bp-checks.h>.
35150 (msgctl): Do not use CHECK_1.
35151 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35152 <bp-checks.h>.
35153 (shmctl): Do not use CHECK_1.
35154 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35155 (ustat): Do not use CHECK_1.
35156 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35157 <bp-checks.h>.
35158 (__fxstat): Do not use CHECK_1.
35159 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35160 <bp-checks.h>.
35161 (__fxstatat): Do not use CHECK_1.
35162 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35163 <bp-checks.h>.
35164 (__lxstat): Do not use CHECK_1.
35165 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35166 <bp-checks.h>.
35167 (__xstat): Do not use CHECK_1.
35168 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35169 (__xstat): Do not use CHECK_1.
35170 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35171 (___xstat64): Do not use CHECK_1.
35172
b2c9eff4
JM
35173 [BZ #13550]
35174 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35175 definitions.
35176 (CHECK_BOUNDS_HIGH): Likewise.
35177 * string/strcpy.c: Do not include <bp-checks.h>.
35178 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35179
f1d70dad
RM
351802013-02-07 Roland McGrath <roland@hack.frob.com>
35181
35182 * nscd/nscd-client.h (__nscd_drop_map_ref):
35183 Add __attribute__ ((unused)).
35184 * nis/nss-nisplus.h (niserr2nss): Likewise.
35185
35186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35187 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35188
35189 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35190 Remove inline keyword.
35191 * include/rounding-mode.h (round_away): Likewise.
35192 * libio/wfileops.c (adjust_wide_data): Likewise.
35193 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35194 (__m128i_strloadu_tolower): Likewise.
35195 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35196 (__m128i_strloadu_tolower): Likewise.
35197 * time/mktime.c (ydhms_diff): Likewise.
35198 * locale/elem-hash.h (elem_hash): Likewise.
35199 * locale/setlocale.c (setdata): Likewise.
35200 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35201 (re_string_wchar_at): Likewise.
35202 (bitset_not, bitset_merge, bitset_mask): Likewise.
35203 [!(__GNUC__ > 3)] (inline): Remove macro.
35204 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35205 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35206 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35207 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35208 * string/memcmp.c (memcmp_bytes): Likewise.
35209 * locale/programs/locarchive.c (compute_hashval): Likewise.
35210 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35211 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35212 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35213 * nss/getent.c (print_rpc, print_protocols): Likewise.
35214 (print_passwd, print_group, print_aliases): Likewise.
35215 * nis/nss-nisplus.h (niserr2nss): Likewise.
35216 * nscd/connections.c (restart_p): Likewise.
35217 Change return type to bool.
35218
eab55bfb
RM
352192013-02-05 Roland McGrath <roland@hack.frob.com>
35220
7bd642f5
RM
35221 * Makeconfig (all-Depend-files): Add existing
35222 $(sorted-subdirs:=/Depend) files.
35223 (all-subdirs): Remove nss.
35224 * sysdeps/unix/inet/Subdirs: Add it here instead.
35225 * hesiod/Depend: New file.
35226
573c29b2
RM
35227 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35228 instead of calling alloca.
35229
b2e25af0
RM
35230 * io/lseek.c (__lseek): Rename to __libc_lseek.
35231 Define __lseek as an alias.
35232
eab55bfb
RM
35233 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35234
9a0d1941
CD
352352013-02-04 Carlos O'Donell <carlos@redhat.com>
35236
35237 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35238 else clause and remove check for non-standard endianness.
35239
b83bbec4
DM
352402013-02-04 David S. Miller <davem@davemloft.net>
35241
35242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35243
6277fdab
JM
352442013-02-04 Joseph Myers <joseph@codesourcery.com>
35245
35246 [BZ #13550]
35247 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35248 (__ubp_memchr): Remove prototype.
35249 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35250 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35251 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35252 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35253 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35254 Remove alias.
35255 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35256 (__ubp_memchr): Likewise.
35257 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35258 (__ubp_memchr): Likewise.
35259 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35260 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35261 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35262 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35263 CHECK_STRING.
35264 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35265 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35266 (__getcwd): Do not use CHECK_STRING.
35267 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35268 <bp-checks.h>.
35269 (__real_chown): Do not use CHECK_STRING.
35270 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35271 <bp-checks.h>.
35272 (fchownat): Do not use CHECK_STRING.
35273 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35274 CHECK_STRING.
35275 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35276 <bp-checks.h>.
35277 (__lchown): Do not use CHECK_STRING.
35278 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35279 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35280 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35281 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35283 include <bp-checks.h>.
35284 (truncate64): Do not use CHECK_STRING.
35285 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35286 <bp-checks.h>.
35287 (__real_chown): Do not use CHECK_STRING.
35288 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35289 <bp-checks.h>.
35290 (__lchown): Do not use CHECK_STRING.
35291 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35292 <bp-checks.h>.
35293 (__chown): Do not use CHECK_STRING.
35294 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35295 <bp-checks.h>.
35296 (truncate64): Do not use CHECK_STRING.
35297 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35298 Likewise.
35299 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35300 (__xmknod): Do not use CHECK_STRING.
35301 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35302 <bp-checks.h>.
35303 (__xmknodat): Do not use CHECK_STRING.
35304 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35305 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35306
903ae060
AS
353072013-02-04 Andreas Schwab <schwab@suse.de>
35308
35309 [BZ #14142]
35310 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35311 * include/netdb.h: Likewise for h_errno.
35312 * elf/tst-stackguard1.c: Include <tls.h>.
35313
542f9466
JK
353142013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35315
35316 * elf/link.h (struct link_map): Extend the l_addr comment.
35317 * include/link.h (struct link_map): Likewise.
35318
e782a927
JM
353192013-02-01 Joseph Myers <joseph@codesourcery.com>
35320
35321 [BZ #13550]
35322 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35323 (BOUNDED_1): Remove macro.
35324 * debug/backtrace.c: Don't include <bp-checks.h>.
35325 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35326 (__backtrace): Likewise.
35327 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35328 <bp-checks.h>.
35329 (__backtrace): Don't use BOUNDED_1.
35330 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35331 <bp-checks.h>.
35332 (__backtrace): Don't use BOUNDED_1.
35333 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35334 (__backtrace): Don't use BOUNDED_1.
35335 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35336 (shmat): Don't use BOUNDED_N.
35337
8cf28c5e
JM
353382013-01-31 Joseph Myers <joseph@codesourcery.com>
35339
3a7ac8a0
JM
35340 [BZ #13550]
35341 * sysdeps/generic/bp-start.h: Remove file.
35342 * csu/libc-start.c: Don't include <bp-start.h>.
35343 (LIBC_START_MAIN): Set up __environ directly instead of using
35344 INIT_ARGV_and_ENVIRON.
35345 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35346 <bp-start.h>.
35347
f3499f95
JM
35348 [BZ #13550]
35349 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35350 definitions.
35351 (CHECK_FCNTL): Likewise.
35352 (CHECK_N_PAGES): Likewise.
35353
32a45bea
JM
35354 [BZ #13550]
35355 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35356 definitions.
35357 (CHECK_SIGSET_NULL_OK): Likewise.
35358 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35359 <bp-checks.h>.
35360 (sigpending): Don't use CHECK_SIGSET.
35361 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35362 <bp-checks.h>.
35363 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35364 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35365 <bp-checks.h>.
35366 (do_sigsuspend): Don't use CHECK_SIGSET.
35367 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35368 use CHECK_SIGSET.
35369 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35370 (do_sigwait): Don't use CHECK_SIGSET.
35371 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35372 use CHECK_SIGSET.
35373 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35374 include <bp-checks.h>.
35375 (sigpending): Don't use CHECK_SIGSET.
35376 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35377 include <bp-checks.h>.
35378 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35379 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35380 <bp-checks.h>.
35381 (sigpending): Don't use CHECK_SIGSET.
35382 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35383 <bp-checks.h>.
35384 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35385
2e8a5c8c
JM
35386 [BZ #13550]
35387 * sysdeps/generic/bp-semctl.h: Remove file.
35388 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35389 <bp-checks.h> and <bp-semctl.h>.
35390 (__old_semctl): Don't use CHECK_SEMCTL.
35391 (__new_semctl): Likewise.
35392 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35393 and <bp-semctl.h>.
35394 (__old_semctl): Don't use CHECK_SEMCTL.
35395 (__new_semctl): Likewise.
35396 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35397 <bp-checks.h> and <bp-semctl.h>.
35398 (__old_semctl): Don't use CHECK_SEMCTL.
35399 (__new_semctl): Likewise.
35400 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35401 <bp-checks.h> and <bp-semctl.h>.
35402 (semctl): Don't use CHECK_SEMCTL.
35403
c2d54929
JM
35404 [BZ #13550]
35405 * Makerules (elide-bp-thunks): Remove variable.
35406 (elide-routines.oS): Don't use $(elide-bp-thunks).
35407 (elide-routines.os): Likewise.
35408 (elide-routines.o): Likewise.
35409 (elide-routines.op): Likewise.
35410 (elide-routines.og): Likewise.
35411 (objects): Don't use $(bp-thunks).
35412 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35413 include.
35414 (common-generated): Do not add s-proto-bp.d.
35415 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35416 (int): Likewise.
35417 (typ): Likewise.
35418 Do not generate makefile rules for bounded-pointer thunks.
35419 * sysdeps/generic/bp-thunks.h: Remove file.
35420 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35421 * sysdeps/unix/s-proto-bp.S: Likewise.
35422
8cf28c5e
JM
35423 [BZ #15062]
35424 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35425 parts of result separately when argument is not close to line from
35426 -i to i and one part of argument is small.
35427 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35428 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35429 * math/libm-test.inc (cacos_test): Add more tests.
35430 (casin_test): Likewise.
35431 (casinh_test): Likewise.
35432 * sysdeps/i386/fpu/libm-test-ulps: Update.
35433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35434
c4e33b8d
DM
354352013-01-31 David S. Miller <davem@davemloft.net>
35436
35437 * po/de.po: Update from translation team.
35438
3b60b421
MK
354392013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35440
35441 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35442
bb931195
TS
354432013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35444
b5a5da23
TS
35445 * configure.in (_AC_PROG_CC_C89): New definition.
35446 * configure: Regenerate.
35447
bb931195
TS
35448 * configure.in (AC_PROG_CPP): New definition.
35449 * configure: Regenerate.
35450
8c53a12c
JM
354512013-01-23 Joseph Myers <joseph@codesourcery.com>
35452
35453 * debug/tst-backtrace.h: New file.
35454 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35455 (ret): Remove variable.
35456 (x): Likewise.
35457 (FAIL): Remove macro.
35458 (NO_INLINE): Likewise.
35459 (fn1): Use match function instead of strstr.
35460 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35461 (ret): Remove variable.
35462 (x): Likewise.
35463 (FAIL): Remove macro.
35464 (NO_INLINE): Likewise.
35465 (fn): Use match function instead of strstr.
35466 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35467 (ret): Remove variable.
35468 (x): Likewise.
35469 (FAIL): Remove macro.
35470 (NO_INLINE): Likewise.
35471 (handle_signal): Use match function instead of strstr.
35472 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35473 (ret): Remove variable.
35474 (x): Likewise.
35475 (FAIL): Remove macro.
35476 (NO_INLINE): Likewise.
35477 (handle_signal): Use match function instead of strstr.
35478
4858fa2a
RM
354792013-01-23 Roland McGrath <roland@hack.frob.com>
35480
35481 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35482
bae8e7f5
DM
354832013-01-23 David S. Miller <davem@davemloft.net>
35484
35485 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35486 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35487 argument of CAS if possible.
35488 * sysdeps/sparc/sparc64/bits/atomic.h
35489 (__arch_compare_and_exchange_val_32_acq): Likewise.
35490 (__arch_compare_and_exchange_val_64_acq): Likewise.
35491
9cbbc4ae
PT
354922013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35493
35494 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35495 * sysdeps/posix/ulimit.c: ... this.
92a601b8 35496 Include <limits.h>.
67b3f58c 35497 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 35498
5655a0b5
AC
354992013-01-23 Adam Conrad <adconrad@0c3.net>
35500
35501 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35502 (LDFLAGS-tst-array5): Likewise.
35503
052aff95
JM
355042013-01-23 Joseph Myers <joseph@codesourcery.com>
35505
35506 [BZ #15036]
35507 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35508 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35509 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35510 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35511
7c1e01aa
DM
355122013-01-21 David S. Miller <davem@davemloft.net>
35513
35514 * sysdeps/sparc/backtrace.c: New file.
35515 * sysdeps/sparc/sparc32/backtrace.h: New file.
35516 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35517 * sysdeps/sparc/sparc64/backtrace.h: New file.
35518 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35519 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35520 -funwind-tables.
35521
ab087e0a
AS
355222013-01-21 Andreas Schwab <schwab@suse.de>
35523
35524 [BZ #15020]
35525 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35526 closed its stdout.
35527
ed689c2f
AS
355282013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35529
35530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35531 "mpa2.h".
35532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35533
31d470ac
JM
355342013-01-18 Joseph Myers <joseph@codesourcery.com>
35535 Mark Mitchell <mark@codesourcery.com>
35536 Tom de Vries <tom@codesourcery.com>
35537 Paul Pluzhnikov <ppluzhnikov@google.com>
35538
35539 * debug/tst-backtrace2.c: New file.
35540 * debug/tst-backtrace3.c: Likewise.
35541 * debug/tst-backtrace4.c: Likewise.
35542 * debug/tst-backtrace5.c: Likewise.
35543 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35544 (CFLAGS-tst-backtrace3.c): Likewise.
35545 (CFLAGS-tst-backtrace4.c): Likewise.
35546 (CFLAGS-tst-backtrace5.c): Likewise.
35547 (LDFLAGS-tst-backtrace2): Likewise.
35548 (LDFLAGS-tst-backtrace3): Likewise.
35549 (LDFLAGS-tst-backtrace4): Likewise.
35550 (LDFLAGS-tst-backtrace5): Likewise.
35551 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35552 tst-backtrace4 and tst-backtrace5.
35553
90567f30 355542013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
35555 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35556
35557 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35558 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35559 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35560 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35562 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35563 "+r" and remove output regs list as redundant. Add explicit inline
35564 asm to specify register of return val to work around compiler codegen
35565 bug. Remove (int) cast on return value. Add return type parameter to
35566 use in macro so that this macro does not truncate return value for
35567 64-bit values.
35568 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35569 pass to INTERNAL_VSYSCALL_NCS.
35570 (INLINE_VSYSCALL): Add 'long int' as return type to
35571 INTERNAL_VSYSCALL_NCS macro invocation.
35572 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35573 INTERNAL_VSYSCALL_NCS macro invocation.
35574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35575
d3b9ea61
SP
355762013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35577
0b57daeb
SP
35578 [BZ #14496]
35579 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35580 Fix application of SIMD FP exception mask.
35581
caa99d06
SP
35582 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35583 mp_no from a power of two.
35584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35585 __mpexp_twomm1. Use __pow_mp.
35586
d3b9ea61
SP
35587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35588 multiplication.
35589
1dbaee3c
DM
355902013-01-17 David S. Miller <davem@davemloft.net>
35591
35592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35593
728d7b43
JM
355942013-01-17 Joseph Myers <joseph@codesourcery.com>
35595
35596 [BZ #15023]
35597 * include/complex.h: Condition contents on [!_COMPLEX_H].
35598 (__kernel_casinhf): New prototype.
35599 (__kernel_casinh): Likewise.
35600 (__kernel_casinhl): Likewise.
35601 * math/Makefile (libm_calls): Add k_casinh.
35602 * math/k_casinh.c: New file.
35603 * math/k_casinhf.c: Likewise.
35604 * math/k_casinhl.c: Likewise.
35605 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35606 finite nonzero arguments.
35607 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35608 finite nonzero arguments.
35609 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35610 finite nonzero arguments.
35611 * math/s_casinh.c: Do not include <float.h>.
35612 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35613 * math/s_casinhf.c: Do not include <float.h>.
35614 (__casinhf): Move code for finite nonzero arguments to
35615 k_casinhf.c.
35616 * math/s_casinhl.c: Do not include <float.h>.
35617 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35618 redefine.
35619 (__casinhl): Move code for finite nonzero arguments to
35620 k_casinhl.c.
35621 * math/libm-test.inc (cacos_test): Add more tests.
35622 * sysdeps/i386/fpu/libm-test-ulps: Update.
35623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35624
2a26ef3a
PT
356252013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35626
35627 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35628 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35629 [!HAVE_MREMAP]: Remove [defined linux] case.
35630 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35631
a897655d
SP
356322013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35633
35634 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35635
881ebe89 356362013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
35637
35638 * elf/elf.h (R_386_SIZE32): New relocation.
35639 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35640 R_386_SIZE32.
35641 (elf_machine_rela): Likewise.
35642 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35643 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35644
59981e9b
JM
356452013-01-17 Joseph Myers <joseph@codesourcery.com>
35646
35647 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35648 (FP_FAST_FMA): Do not define.
35649 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35650 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35651 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35652 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35653 !_SOFT_FLOAT]: Likewise.
35654 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35655 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35656 value.
35657 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35658 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35659 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35660 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35661 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35662 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35663 file.
35664
cfa8054f
AS
356652013-01-16 Andreas Schwab <schwab@suse.de>
35666
35667 [BZ #14327]
35668 * include/stdlib.h (__mktemp): Add declaration.
35669 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35670 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35671
dd930cc5
SP
356722013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35673
881ebe89
SP
35674 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35675 definitions.
35676 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35677 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35678 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35679 definitions here.
35680 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35681 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35682 definitions.
35683 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35684 and ONE.
35685 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35686 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35687 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35688 definitions.
35689 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35690 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35691 definitions.
35692 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 35693
dd930cc5
SP
35694 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35695
c19a9f89
DM
356962013-01-15 David S. Miller <davem@davemloft.net>
35697
1aa61767
DM
35698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35699 trunc{,f} to libm-sysdep_routes.
35700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35702 file.
35703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35705 file.
35706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35707 file.
35708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35710 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35711 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35712 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35713 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35714 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35715 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35716
c42d5e98
DM
35717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35718 nearbyint{,f} to libm-sysdep_routes.
35719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35721 New file.
35722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35723 file.
35724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35725 New file.
35726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35727 file.
35728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35730 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35731 file.
35732 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35733 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35734 file.
35735 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35736 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35737 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35738
c19a9f89
DM
35739 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35740 libc_feholdexcept and libc_fesetenv.
35741
357679d2
MF
357422013-01-15 Mike Frysinger <vapier@gentoo.org>
35743
35744 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35745
65a82e3d
DM
357462013-01-14 David S. Miller <davem@davemloft.net>
35747
8b954ab9
DM
35748 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35749 (SPARC_ASM_VIS2_IFUNC): Likewise.
35750 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35752 use of 'siam' instruction.
35753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35754 Likewise.
35755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35756 Likewise.
35757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35758 Likewise.
35759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35764 file.
35765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35766 file.
35767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35768 file.
35769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35770 file.
35771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35776 new VIS2 routines.
35777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35780 Likewise.
35781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35786 routines to libm-sysdep_routines.
35787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35788
65a82e3d
DM
35789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35790 fdim/fdimf to libm-sysdep_routines.
35791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35792 file.
35793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35795 file.
35796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35799 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35800 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35801 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35802 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35803
e34ab705
SP
358042013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35805
2a91b573
SP
35806 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35807 to optimize copies.
35808
1066a534
SP
35809 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35812
e34ab705
SP
35813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35814 local variable MPTWO.
35815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35816 Likewise.
35817
aba5e596
MF
358182013-01-13 Mike Frysinger <vapier@gentoo.org>
35819
35820 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35821 GLOB_NOESCAPE.
35822
e557e9e5
MF
358232013-01-13 Mike Frysinger <vapier@gentoo.org>
35824
35825 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35826
0428cec9
MF
358272013-01-13 Mike Frysinger <vapier@gentoo.org>
35828
35829 * manual/pattern.texi (glob_t): Document gl_flags.
35830 (glob64_t): Likewise.
35831
8794a964
DM
358322013-01-11 David S. Miller <davem@davemloft.net>
35833
66438c3f
RM
35834 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35835 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35836 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
35837 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35838 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35839 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35840 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35841 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35842 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35843 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35844 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35845 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35846 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35847
4ae4244d
DM
35848 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35849 sparc V9 rather than using V8 code.
35850 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35851 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35852
8794a964
DM
35853 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35854 Move to...
35855 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35856 Here.
35857
6270516e
RM
358582013-01-11 Roland McGrath <roland@hack.frob.com>
35859
35860 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35861 not in the main loop.
35862 * configure: Regenerated.
35863
6a57d931
JM
358642013-01-11 Joseph Myers <joseph@codesourcery.com>
35865
35866 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
35867 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
35868 to just #else.
35869 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
35870 [!__GLIBC_HAVE_LONG_LONG] case.
35871 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35872 condition to just #else.
35873 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35874 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35875 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35876 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35877 unconditional.
35878 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35879 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35880 #elif condition to just #else.
35881 * sysdeps/unix/sysv/linux/sys/sysmacros.h
35882 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35883 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35884 #elif condition to just #else.
35885
0e8529e9
SE
358862013-01-11 Steve Ellcey <sellcey@mips.com>
35887
35888 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35889 (EF_MIPS_ARCH_64): Fix value.
35890 (EF_MIPS_ARCH_32R2): New.
35891 (EF_MIPS_ARCH_64R2): New.
35892
740b3dbe
L
358932013-01-11 H.J. Lu <hongjiu.lu@intel.com>
35894
35895 * Makeconfig (+link-pie-before-libc): New.
35896 (+link-pie-after-libc): Likewise.
35897 (+link-pie-tests): Likewise.
35898 (+link-pie): Rewritten.
35899 (link-before-libc): Remove $(config-LDFLAGS).
35900 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35901 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35902 (config-LDFLAGS): Renamed to ...
35903 (rtld-LDFLAGS): This.
35904 (rtld-tests-LDFLAGS): New macro.
35905 (link-libc-rpath-link): Likewise.
35906 (link-libc-tests-rpath-link): Likewise.
35907 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35908 (link-libc): Prepand $(link-libc-rpath-link).
35909 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35910 (test-program-prefix): New macro.
35911 (test-via-rtld-prefix): Likewise.
35912 (test-program-cmd): Likewise.
35913 (host-test-program-cmd): Likewise.
35914 * Makefile ($(common-objpfx)testrun.sh): Replace
35915 $(run-program-prefix) with $(test-program-prefix).
35916 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35917 $(rtld-LDFLAGS).
35918 ($(common-objpfx)shlib.lds): Likewise.
35919 (build-module-helper): Likewise.
35920 ($(common-objpfx)format.lds): Likewise.
35921 * Rules (binaries-pie-tests): New.
35922 (binaries-pie-notests): Likewise.
35923 (binaries-pie): Rewritten.
35924 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35925 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35926 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35927 (make-test-out): Replace $(host-built-program-cmd) with
35928 $(host-test-program-cmd).
35929 * config.make.in (build-hardcoded-path-in-tests): New variable.
35930 * configure.in (--enable-hardcoded-path-in-tests): New configure
35931 option.
35932 (hardcoded_path_in_tests): New AC_SUBST.
35933 * configure: Regenerated.
35934 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35935 $(built-program-cmd) with $(test-program-cmd).
35936 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35937 (test_program_cmd): This.
35938 * elf/Makefile ($(objpfx)order.out): Run test with
35939 $(test-program-prefix).
35940 ($(objpfx)order2.out): Likewise.
35941 ($(objpfx)tst-initorder.out): Likewise.
35942 ($(objpfx)tst-initorder2.out): Likewise.
35943 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35944 $(test-program-cmd).
35945 ($(objpfx)tst-array1-static.out): Likewise.
35946 ($(objpfx)tst-array2.out): Likewise.
35947 ($(objpfx)tst-array3.out): Likewise.
35948 ($(objpfx)tst-array4.out): Likewise.
35949 ($(objpfx)tst-array5.out): Likewise.
35950 ($(objpfx)tst-array5-static.out): Likewise.
35951 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35952 $(test-program-cmd).
35953 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35954 $(run-program-prefix) with $(test-program-prefix).
35955 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35956 (test_program_prefix): This.
35957 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35958 $(run-program-prefix) with $(test-program-prefix).
35959 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35960 (test_program_prefix): This.
35961 * iconvdata/tst-tables.sh: Likewise.
35962 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35963 $(run-program-prefix) with $(test-program-prefix).
35964 ($(objpfx)tst-translit.out): Likewise.
35965 ($(objpfx)tst-gettext2.out): Likewise.
35966 ($(objpfx)tst-gettext4.out): Likewise.
35967 ($(objpfx)tst-gettext6.out): Likewise.
35968 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35969 (test_program_prefix): This.
35970 * intl/tst-gettext2.sh: Likewise.
35971 * intl/tst-gettext4.sh Likewise.
35972 * intl/tst-gettext6.sh: Likewise.
35973 * intl/tst-translit.sh: Likewise.
35974 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35975 with $(test-program-cmd).
35976 * libio/Makefile ($(objpfx)test-freopen.out): Replace
35977 $(run-program-prefix) with $(test-program-prefix).
35978 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35979 (test_program_prefix): This.
35980 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35981 $(run-program-prefix) with $(test-program-prefix).
35982 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35983 (test_program_prefix): This.
35984 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35985 * posix/Makefile ($(objpfx)globtest.out): Replace
35986 $(run-via-rtld-prefix) and $(test-wrapper) with
35987 $(test-program-prefix) and $(test-via-rtld-prefix).
35988 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35989 $(test-program-prefix).
35990 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35991 $(host-test-program-cmd).
35992 (tst-spawn-ARGS): Likewise.
35993 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35994 $(test-program-prefix).
35995 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35996 (test_via_rtld_prefix): This.
35997 (test_wrapper): Renamed to ...
35998 (test_program_prefix): This.
35999 (run_program_prefix): Replaced by test_program_prefix.
36000 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36001 (test_program_prefix): This.
36002 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36003 with $(host-test-program-cmd).
36004 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36005 $(run-program-prefix) with $(test-program-prefix).
36006 ($(objpfx)tst-printf.out): Likewise.
36007 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36008 $(test-program-cmd).
36009 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36010 (test_program_prefix): This.
36011 * stdio-common/tst-unbputc.sh: Likewise.
36012 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36013 $(run-program-prefix) with $(test-program-prefix).
36014 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36015 (test_program_prefix): This.
36016 * string/Makefile ($(objpfx)tst-svc.out): Replace
36017 $(built-program-cmd) with $(test-program-cmd).
36018
c6fe55cf
AJ
360192013-01-11 Andreas Jaeger <aj@suse.de>
36020
36021 [BZ #15003]
36022 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36023 value. Sync with Linux 3.7.
36024
9e6919c8
DM
360252013-01-10 David S. Miller <davem@davemloft.net>
36026
36027 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36028 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36029 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36030
1c9f1a02
RM
360312013-01-10 Roland McGrath <roland@hack.frob.com>
36032
36033 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36034 never set.
36035 * configure: Regenerated.
36036
b9de2dde
DM
360372013-01-10 David S. Miller <davem@davemloft.net>
36038
36039 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36040 sparc V9 rather than using V8 code.
36041 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36042 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36043
e7f68ef4
RM
360442013-01-10 Roland McGrath <roland@hack.frob.com>
36045
36046 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36047 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36048 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36049 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36050 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36051 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36052 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36053 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36054 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36055 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36056 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36057 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36058 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36059 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36060 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36061 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36062 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36063 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36064 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36065 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36066 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36067 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36068 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36069 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36070 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36071 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36072 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36073
5a47cc9c
DM
360742013-01-10 David S. Miller <davem@davemloft.net>
36075
36076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36077
4cf8f209
L
360782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36079
36080 * posix/Makefile (tests-static): New variable.
36081 (tests): Add $(tests-static).
36082 (tst-exec-static-ARGS): New variable.
36083 (tst-spawn-static-ARGS): Likewise.
36084 * posix/tst-exec-static.c: New file.
36085 * posix/tst-spawn-static.c: Likewise.
36086 * posix/tst-exec.c: Support run directly.
36087 * posix/tst-spawn.c: Likewise.
36088
fed0faa1
JM
360892013-01-10 Joseph Myers <joseph@codesourcery.com>
36090
828beb13
JM
36091 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36092 long.
36093 * math/bits/mathcalls.h (llrint): Likewise.
36094 (llround): Likewise.
36095 * stdlib/stdlib.h (struct drand48_data): Likewise.
36096 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36097 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36098 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36099 Likewise.
36100 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36101 Likewise.
36102 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36103 (elf_greg_t): Likewise.
36104 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36105 (__jmp_buf): Likewise.
36106 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36107 definitions.
36108 (llrint): Likewise, for all definitions.
36109 (llrintl): Likewise.
36110
fed0faa1
JM
36111 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36112 Remove [__GNUC__] condition.
36113 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36114 condition to just [__USE_ISOC99].
36115 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36116
1a20cb20
L
361172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36118
36119 [BZ #14200]
36120 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36121 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36122 defined.
36123 (_POSIX_V6_ILP32_OFF32): Likewise.
36124 (_XBS5_ILP32_OFF32): Likewise.
36125 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36126 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36127
751b85f7
SP
361282013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36129
7490eb81
SP
36130 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36131
751b85f7
SP
36132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36133 doubles __mpexp_twomm1. Adjust usage.
36134 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36135 Remove.
36136
988197f0
AS
361372013-01-10 Andreas Schwab <schwab@suse.de>
36138
36139 [BZ #14964]
36140 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36141 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36142
e83d7298
DM
361432013-01-09 David S. Miller <davem@davemloft.net>
36144
034ed64b 36145 [BZ #15003]
57f41c40
AS
36146 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36147 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36148 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36149 (TCP_FASTOPEN): Define.
e83d7298
DM
36150 (tcp_repair_opt): New structure.
36151 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36152 enum values.
57f41c40
AS
36153 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36154 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36155 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
36156 (tcp_cookie_transactions): New structure.
36157
d5e0b9bd
AB
361582013-01-09 Anton Blanchard <anton@samba.org>
36159
36160 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36161 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36162 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36163 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36164
0c07e3ea
JM
361652013-01-09 Joseph Myers <joseph@codesourcery.com>
36166
36167 * include/features.h (__USE_ANSI): Remove.
36168
232f7002
RM
361692013-01-09 Roland McGrath <roland@hack.frob.com>
36170
ad98e30c
RM
36171 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36172
232f7002
RM
36173 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36174
950c99ca
SP
361752013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36176
b5792741
SP
36177 * sysdeps/s390/fpu/libm-test-ulps: Update.
36178
47cf2278
SP
36179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36180
950c99ca
SP
36181 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36182 (__acr): Likewise.
36183 (__cpy): Likewise.
36184 (norm): Likewise.
36185 (denorm): Likewise.
36186 (__mp_dbl): Likewise.
36187 (__dbl_mp): Likewise.
36188 (add_magnitudes): Likewise.
36189 (sub_magnitudes): Likewise.
36190 (__add): Likewise.
36191 (__sub): Likewise.
36192 (__mul): Likewise.
36193 (__inv): Likewise.
36194 (__dvd): Likewise.
36195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36196 (__acr): Likewise.
36197 (__cpy): Likewise.
36198 (norm): Likewise.
36199 (denorm): Likewise.
36200 (__mp_dbl): Likewise.
36201 (__dbl_mp): Likewise.
36202 (add_magnitudes): Likewise.
36203 (sub_magnitudes): Likewise.
36204 (__add): Likewise.
36205 (__sub): Likewise.
36206 (__mul): Likewise.
36207 (__inv): Likewise.
36208 (__dvd): Likewise.
36209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36210 (__acr): Likewise.
36211 (__cpy): Likewise.
36212 (norm): Likewise.
36213 (denorm): Likewise.
36214 (__mp_dbl): Likewise.
36215 (__dbl_mp): Likewise.
36216 (add_magnitudes): Likewise.
36217 (sub_magnitudes): Likewise.
36218 (__add): Likewise.
36219 (__sub): Likewise.
36220 (__mul): Likewise.
36221 (__inv): Likewise.
36222 (__dvd): Likewise.
36223
eede9df9
JM
362242013-01-08 Joseph Myers <joseph@codesourcery.com>
36225
36226 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36227 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36228 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36229 2 && __USE_EXTERN_INLINES]: Likewise.
36230
c40ea3d9
AJ
362312013-01-08 Andreas Jaeger <aj@suse.de>
36232
36233 [BZ# 14985]
36234 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36235 Remove.
36236 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36237 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36238
2ccdea26
AB
362392013-01-07 Anton Blanchard <anton@samba.org>
36240
36241 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36242 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36243 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36244 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36245 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36246 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36247 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36248 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36250 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36251 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36252 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36253 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36254 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36255 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36256 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36257 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36258 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36259 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36260 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36261 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36262 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36263 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36264 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36265 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36266 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36267 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36268 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36270 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36271 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36273 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36274 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36275 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36276 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36277 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36278 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36279 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36280 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36281 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36282 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36283 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36284
a9708fed
JM
362852013-01-07 Joseph Myers <joseph@codesourcery.com>
36286
375607b9
JM
36287 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36288 (__MALLOC_PMT): Likewise.
36289 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36290 [__GNUC__], only on [_LIBC].
36291 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36292 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36293 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36294 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36295 forward declaration.
36296 (realloc_hook_ini): Likewise.
36297 (memalign_hook_ini): Likewise.
36298 (__libc_memalign): Do not use __MALLOC_PMT in variable
36299 declaration.
36300 (__libc_valloc): Likewise.
36301 (__libc_pvalloc): Likewise.
36302 (__libc_calloc): Likewise.
36303 (__posix_memalign): Likewise.
36304
a9708fed
JM
36305 [BZ #14996]
36306 * math/s_casinh.c: Include <float.h>.
36307 (__casinh): Do not do computation with squaring and square root
36308 for large arguments.
36309 * math/s_casinhf.c: Include <float.h>.
36310 (__casinhf): Do not do computation with squaring and square root
36311 for large arguments.
36312 * math/s_casinhl.c: Include <float.h>.
36313 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36314 (__casinhl): Do not do computation with squaring and square root
36315 for large arguments.
36316 * math/libm-test.inc (casin_test): Add more tests.
36317 (casinh_test): Likewise.
36318 * sysdeps/i386/fpu/libm-test-ulps: Update.
36319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36320
afec409a
L
363212013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36322
36323 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36324 (__x86_64_raw_data_cache_size): Likewise.
36325 (__x86_64_data_cache_size_half): Likewise.
36326 (__x86_64_raw_data_cache_size_half): Likewise.
36327 (__x86_64_shared_cache_size): Likewise.
36328 (__x86_64_raw_shared_cache_size): Likewise.
36329 (__x86_64_shared_cache_size_half): Likewise.
36330 (__x86_64_raw_shared_cache_size_half): Likewise.
36331 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36332 to ...
36333 (__x86_data_cache_size): This.
36334 (__x86_64_raw_data_cache_size): Renamed to ...
36335 (__x86_raw_data_cache_size): This.
36336 (__x86_64_data_cache_size_half): Renamed to ...
36337 (__x86_data_cache_size_half): This.
36338 (__x86_64_raw_data_cache_size_half): Renamed to ...
36339 (__x86_raw_data_cache_size_half): This.
36340 (__x86_64_shared_cache_size): Renamed to ...
36341 (__x86_shared_cache_size): This.
36342 (__x86_64_raw_shared_cache_size): Renamed to ...
36343 (__x86_raw_shared_cache_size): This.
36344 (__x86_64_shared_cache_size_half): Renamed to ...
36345 (__x86_shared_cache_size_half): This.
36346 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36347 (__x86_raw_shared_cache_size_half): This.
36348 * sysdeps/x86_64/memcpy.S: Updated.
36349 * sysdeps/x86_64/memset.S: Likewise.
36350 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36352 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36353
0b3986d0
DM
363542013-01-04 David S. Miller <davem@davemloft.net>
36355
36356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36357
e47686e9
AS
363582013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36359
d643bac1
AS
36360 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36361 1 to avoid redefinition warning.
36362 (__USE_GNU): Don't define.
36363 (init_signaling_nan): Protoize.
36364
e47686e9
AS
36365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36366
b18decba
SP
363672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36368
fffb407f
SP
36369 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36371 (__cpymn): Likewise.
36372 (norm): Remove commented code.
36373 (denorm): Likewise.
36374 (__mp_dbl): Likewise.
36375 (__inv): Likewise.
36376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36377 (__cpymn): Likewise.
36378 (norm): Remove commented code.
36379 (denorm): Likewise.
36380 (__mp_dbl): Likewise.
36381 (__inv): Likewise.
36382
b18decba
SP
36383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36384 mp_no value for 1.0 and 2.0.
36385 (norm): Use RADIXI instead of radixi.d.
36386 (denorm): Likewise.
36387 (__mul): Use 0.0 instead of zero.d.
36388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36389 mp_no value for 1.0 and 2.0.
36390 (norm): Use RADIXI instead of radixi.d.
36391 (denorm): Likewise.
36392 (__mul): Use 0.0 instead of zero.d.
36393
cdc1c96f
JM
363942013-01-04 Joseph Myers <joseph@codesourcery.com>
36395
36396 [BZ #14994]
36397 * math/s_casinh.c (__casinh): Reduce finite argument to first
36398 quadrant then set signs of results at the end.
36399 * math/s_casinhf.c (__casinhf): Likewise.
36400 * math/s_casinhl.c (__casinhl): Likewise.
36401 * math/libm-test.inc (casin_test): Add more tests.
36402 (casinh_test): Likewise.
36403 * sysdeps/i386/fpu/libm-test-ulps: Update.
36404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36405
302913e1
SP
364062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36407
6420d207
SP
36408 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36409
a9e48ab4
SP
36410 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36411
b7837264
SP
36412 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36413 declarations.
36414 (denorm): Likewise.
36415 (__mp_dbl): Likewise.
36416 (__inv): Likewise.
36417
f8af25d2
SP
36418 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36419 and adjust the header comment.
36420
302913e1
SP
36421 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36422 variable name from declaration.
36423
5d7dd1ca
L
364242013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36425
36426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36427 Initialize COMMON_CPUID_INDEX_7 element.
36428 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36429 (CPUID_RTM): Likewise.
36430 (HAS_RTM): Likewise.
36431 (COMMON_CPUID_INDEX_7): New enum.
36432
2f5f40f4
AS
364332013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36434
36435 [BZ #14981]
36436 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36437 size is zero, record memory as freed.
36438
4056f4a0
AJ
364392013-01-03 Andreas Jaeger <aj@suse.de>
36440
36441 * po/ia.po: Add new Interlingua translation.
36442
ab15736f 364432012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
36444
36445 * locale/programs/localedef.c: Fix description of '--posix' flag.
36446
568035b7
JM
364472013-01-02 Joseph Myers <joseph@codesourcery.com>
36448
e6898b8d
JM
36449 * NEWS: Update dates in second copyright notice.
36450 * README: Update copyright dates in example.
36451 * manual/libc.texinfo: Update copyright dates.
36452 * scripts/test-installation.pl: Update copyright date in --version
36453 output.
36454
0e2f9562
JM
36455 * hurd/ctty-input.c: Fix copyright notice formatting.
36456 * hurd/ctty-output.c: Likewise.
36457 * hurd/dtable.c: Likewise.
36458 * hurd/hurd-raise.c: Likewise.
36459 * hurd/hurdprio.c: Likewise.
36460 * hurd/msgportdemux.c: Likewise.
36461 * misc/sys/file.h: Likewise.
36462 * misc/sys/ioctl.h: Likewise.
36463 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36464 * sysdeps/mach/hurd/chdir.c: Likewise.
36465 * sysdeps/mach/hurd/fchdir.c: Likewise.
36466 * sysdeps/mach/hurd/rename.c: Likewise.
36467 * sysdeps/mach/hurd/rmdir.c: Likewise.
36468 * sysdeps/mach/hurd/seekdir.c: Likewise.
36469 * sysdeps/mach/hurd/setsid.c: Likewise.
36470 * sysdeps/posix/wait3.c: Likewise.
36471
568035b7
JM
36472 * All files with FSF copyright notices: Update copyright dates
36473 using scripts/update-copyrights.
36474 * intl/plural.c: Regenerated.
36475 * locale/programs/charmap-kw.h: Likewise.
36476 * locale/programs/locfile-kw.h: Likewise.
36477
da08f647
SP
364782013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36479
0f5477af
SP
36480 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36481 four values.
36482
44e0d4c2
SP
36483 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36484 calculation loop and add branch prediction.
36485
4d55b4e5
SP
36486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36487 check access beyond bounds of m1np.
36488
da08f647
SP
36489 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36490 MPTWO.
36491 (__inv): Remove local variable MPTWO to use the global
36492 constant.
36493 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36494 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36495 variable MPTWO.
36496 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36497 MP3HALFS static const.
36498
8e051029
DM
364992013-01-01 David S. Miller <davem@davemloft.net>
36500
36501 * po/ca.po: Update from translation team.
36502
f4cf5f2d
JM
365032013-01-01 Joseph Myers <joseph@codesourcery.com>
36504
36505 * scripts/update-copyrights: New file.
36506 * Makeconfig: Reformat copyright notice.
36507 * ctype/ctype.h: Likewise.
36508 * debug/swprintf_chk.c: Likewise.
36509 * elf/dl-cache.c: Likewise.
36510 * elf/dl-debug.c: Likewise.
36511 * elf/dl-object.c: Likewise.
36512 * grp/initgroups.c: Likewise.
36513 * hurd/Makefile: Likewise.
36514 * hurd/hurd/signal.h: Likewise.
36515 * hurd/hurdfault.c: Likewise.
36516 * hurd/hurdioctl.c: Likewise.
36517 * hurd/hurdlookup.c: Likewise.
36518 * hurd/intr-msg.c: Likewise.
36519 * iconv/gconv_open.c: Likewise.
36520 * libio/swprintf.c: Likewise.
36521 * locale/lc-ctype.c: Likewise.
36522 * locale/nl_langinfo.c: Likewise.
36523 * mach/Machrules: Likewise.
36524 * mach/Makefile: Likewise.
36525 * malloc/obstack.h: Likewise.
36526 * manual/Makefile: Likewise.
36527 * manual/tsort.awk: Likewise.
36528 * misc/bits/stab.def: Likewise.
36529 * nis/nis_print_group_entry.c: Likewise.
36530 * nis/nis_table.c: Likewise.
36531 * nis/nss_compat/compat-pwd.c: Likewise.
36532 * nis/nss_compat/compat-spwd.c: Likewise.
36533 * po/Makefile: Likewise.
36534 * posix/fnmatch.c: Likewise.
36535 * posix/regex.h: Likewise.
36536 * resolv/Makefile: Likewise.
36537 * resolv/nss_dns/dns-network.c: Likewise.
36538 * resolv/res_hconf.c: Likewise.
36539 * scripts/gen-sorted.awk: Likewise.
36540 * soft-fp/soft-fp.h: Likewise.
36541 * stdio-common/printf.h: Likewise.
36542 * stdlib/monetary.h: Likewise.
36543 * stdlib/random.c: Likewise.
36544 * stdlib/random_r.c: Likewise.
36545 * sysdeps/generic/Makefile: Likewise.
36546 * sysdeps/gnu/Makefile: Likewise.
36547 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36549 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36551 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36553 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36554 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36557 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36558 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36559 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36560 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36561 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36562 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36563 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36564 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36565 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36567 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36568 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36569 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36570 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36571 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36572 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36573 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36574 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36575 * sysdeps/mach/hurd/errnos.awk: Likewise.
36576 * sysdeps/mach/hurd/fork.c: Likewise.
36577 * sysdeps/mach/hurd/getcwd.c: Likewise.
36578 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36579 * sysdeps/mach/hurd/mmap.c: Likewise.
36580 * sysdeps/mach/hurd/utimes.c: Likewise.
36581 * sysdeps/mach/hurd/xmknod.c: Likewise.
36582 * sysdeps/posix/profil.c: Likewise.
36583 * sysdeps/posix/readdir_r.c: Likewise.
36584 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36585 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36586 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36587 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36589 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36590 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36591 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36593 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36594 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36595 * sysdeps/pthread/lio_listio.c: Likewise.
36596 * sysdeps/sparc/dl-procinfo.h: Likewise.
36597 * sysdeps/unix/i386/sysdep.S: Likewise.
36598 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36599 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36600 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36601 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36603 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36604 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36605 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36606 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36607 * sysdeps/wordsize-32/divdi3.c: Likewise.
36608 * time/sys/time.h: Likewise.
36609 * wcsmbs/Makefile: Likewise.
36610
0549fbba
DM
366112013-01-01 David S. Miller <davem@davemloft.net>
36612
a141f1a7
DM
36613 * po/fr.po: Update from translation team.
36614
0549fbba
DM
36615 * catgets/gencat.c: Update copyright year.
36616 * csu/version.c: Likewise.
36617 * debug/catchsegv.sh: Likewise.
36618 * debug/pcprofiledump.c: Likewise.
36619 * debug/xtrace.sh: Likewise.
36620 * elf/ldconfig.c: Likewise.
36621 * elf/ldd.bash.in: Likewise.
36622 * elf/pldd.c: Likewise.
36623 * elf/sotruss.ksh: Likewise.
36624 * elf/sprof.c: Likewise.
36625 * iconv/iconv_prog.c: Likewise.
36626 * iconv/iconvconfig.c: Likewise.
36627 * locale/programs/locale.c: Likewise.
36628 * locale/programs/localedef.c: Likewise.
36629 * login/programs/pt_chown.c: Likewise.
36630 * malloc/memusage.sh: Likewise.
36631 * malloc/memusagestat.c: Likewise.
36632 * malloc/mtrace.pl: Likewise.
36633 * nscd/nscd.c: Likewise.
36634 * nss/getent.c: Likewise.
36635 * nss/makedb.c: Likewise.
36636 * posix/getconf.c: Likewise.
36637
18ea052c
SP
366382012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36639
36640 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36641 numbers.
36642
9c89fca6
MF
366432012-12-30 Mike Frysinger <vapier@gentoo.org>
36644
36645 * math/bits/mathcalls.h (modf): Use __nonnull.
36646
085ec079
SP
366472012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36648
36649 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36650 (split): Use macro CN instead of the bare value.
36651 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36652 could be used.
36653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36654 instead of the bare value.
36655 (power1): Likewise.
36656
6d9f97e1
SP
366572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36658
d63f73be
SP
36659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36660 __ATAN_TWOM.
36661 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36662
6d9f97e1
SP
36663 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36664 their values.
36665 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36666 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36667 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36668 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36669
4c4febf5
AJ
366702012-12-28 Andreas Jaeger <aj@suse.de>
36671
af5843ef
AJ
36672 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36673 values are from Linux 3.7.
36674
4c4febf5
AJ
36675 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36676 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36677
99136f82
SP
366782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36679
2f216c3c 36680 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
36681 TRUE case.
36682
99136f82
SP
36683 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36684 (norm): Likewise.
36685 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36686 variables with preprocessor constants.
36687 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36688 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36689 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36690
7fffbdff
BH
366912012-12-27 Bruno Haible <bruno@clisp.org>
36692
36693 [BZ #14317]
36694 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36695 only if needed.
36696
b76eb5f0
SP
366972012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36698
31a7fe5c
SP
36699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36700 and use variable directly.
36701 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36702
b76eb5f0
SP
36703 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36704 MPONE.
36705 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36707 variable MPONE.
36708 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36710 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36711 include directive. Remove local variable MPONE.
36712 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36713 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36714 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36715
2c8bfe7d
DM
367162012-12-25 David S. Miller <davem@davemloft.net>
36717
36718 * version.h (RELEASE): Set to "development".
36719 (VERSION): Set to "2.17.90".
36720 * NEWS: Add 2.18 section.
36721
147d03b0
DM
367222012-12-21 David S. Miller <davem@davemloft.net>
36723
36724 * po/hr.po: Update from translation team.
36725
a8ebb2b9
AK
367262012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36727
36728 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36729
95b4f1b6
SE
367302012-12-19 Steve Ellcey <sellcey@mips.com>
36731
b2d94007 36732 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 36733
cedb2a90
MS
367342012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36735
36736 * manual/contrib.texi (Contributors): Spelling correction.
36737
bbf527d6
DM
367382012-12-15 David S. Miller <davem@davemloft.net>
36739
36740 * po/ru.po: Update from translation team.
36741
bc38c906
DM
367422012-12-13 David S. Miller <davem@davemloft.net>
36743
85429b1a
DM
36744 * NEWS: Mention IFUNC testsuite enhancements.
36745
d283e353
DM
36746 * po/pl.po: Update from translation team.
36747 * po/bg.po: Likewise.
36748
bc38c906
DM
36749 * manual/contrib.texi (Contributors): Update entries for Hongjiu
36750 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
36751
a181b0d7
DM
367522012-12-11 David S. Miller <davem@davemloft.net>
36753
4641d57e
DM
36754 * po/sv.po: Update from translation team.
36755
f7bc6495
DM
36756 * po/vi.po: Update from translation team.
36757
6fc9048f
DM
36758 * po/cs.po: Update from translation team.
36759
a181b0d7
DM
36760 * po/de.po: Update from translation team.
36761 * po/eo.po: Likewise.
36762 * po/nl.po: Likewise.
36763
f70bfe80
SP
367642012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36765
3c8b4190
SP
36766 [BZ #14246]
36767 * manual/argp.texi (Argp Helper Functions): Move node to follow
36768 Argp Parsing State.
36769
f70bfe80
SP
36770 [BZ #14872]
36771 * manual/conf.texi (Limits on File System Capacity): Mention if
36772 terminating null is included in the max size.
36773
188f0adf
AJ
367742012-12-10 Andreas Jaeger <aj@suse.de>
36775
36776 * po/cs.po: Update from translation team.
36777
56e7d3ad
SP
367782012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36779
36780 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36781 void pointer and cast to uintptr_t.
36782 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36783 path.
36784 * sysdeps/s390/s390-64/memcpy.S: Likewise.
36785 * sysdeps/s390/s390-64/memset.S: Likewise.
36786
76f2d2ea 367872012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
36788
36789 [BZ #14833]
36790 * menual/message.texi (Message Translation): Fix typos.
36791 (Helper programs for gettext): Likewise.
36792
67cbf9a2
AS
367932012-12-07 Andreas Schwab <schwab@linux-m68k.org>
36794
36795 [BZ #14898]
36796 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36797 Change to -1.
36798
682d0e9a
DM
367992012-12-07 David S. Miller <davem@davemloft.net>
36800
36801 * po/libc.pot: Update.
36802
573cd484
RH
368032012-12-07 Richard Henderson <rth@redhat.com>
36804
7e9da188 36805 [BZ #10114]
573cd484
RH
36806 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36807 normal/normal case to before the switch.
36808 (_FP_DIV): Likewise.
36809
e933a943
MF
368102012-12-06 Carlos O'Donell <carlos@systemhalted.org>
36811 Mike Frysinger <vapier@gentoo.org>
36812
36813 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36814 check for __NR_fadvise64_64.
36815
82123268
CM
368162012-12-06 Chris Metcalf <cmetcalf@tilera.com>
36817
36818 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36819 0, not just to plain "0" as a statement.
36820 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36821 with cw.
36822
d9814526
JM
368232012-12-06 Joseph Myers <joseph@codesourcery.com>
36824
36825 * NEWS: Use sourceware.org in Bugzilla URL.
36826
7728c574
SP
368272012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36828
f16946dd
SP
36829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36830 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36831
5704bbcb
SP
36832 * stdio-common/tst-put-error.c (do_test): Add newline to the
36833 padded test to ensure flush.
36834
17aa0516
JL
368352012-12-05 Jeff Law <law@redhat.com>
36836
36837 * sunrpc/etc.rpc (fedfs_admin): Add entry.
36838
363313b5
JM
368392012-12-05 Joseph Myers <joseph@codesourcery.com>
36840
effbd42a
JM
36841 * README: Don't refer to ports add-on as distributed separately.
36842 Mention AArch64 in list of systems supported in the ports add-on.
36843
87600365
JM
36844 * LICENSES: Add more non-FSF copyright and license notices.
36845
a0d7066a
JM
36846 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36847 ((unused)).
36848
66ca5a5b
JM
36849 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36850
363313b5
JM
36851 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36852 10000 as width of padded output.
36853
b37984ad
JM
368542012-12-04 Joseph Myers <joseph@codesourcery.com>
36855
9003570a
JM
36856 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36857
b37984ad
JM
36858 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36859 variable LX with __attribute__ ((unused)).
36860 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36861 Likewise.
36862 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36864 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
36865 with __attribute__ ((unused)).
36866
c8df52ec
DM
368672012-12-04 David S. Miller <davem@abraco.davemloft.net>
36868
36869 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36870
b3b099af
JM
368712012-12-04 Joseph Myers <joseph@codesourcery.com>
36872
c33aa6e3
JM
36873 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36874 (CFLAGS-nldbl-acos.c): New variable.
36875 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36876 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36877 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36878 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36879 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36880 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36881 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36882 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36883 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36884 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36885 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36886 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36887 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36888 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36889 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36890 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36891 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36892 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36893 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36894 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36895 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36896 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36897 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36898 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36899 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36900 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36901 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36902 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36903 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36904 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36905 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36906 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36907 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36908 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36909 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36910 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36911 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36912 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36913 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36914 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36915 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36916 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36917 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36918 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36919 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36920 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36921 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36922 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36923 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36924 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36925 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36926 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36927 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36928 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36929 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36930 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36931 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36932 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36933 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36934 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36935 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36936 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36937 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36938 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36939 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36940 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36941 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36942 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36943 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36944 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36945 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36946 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36947 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36948 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36949 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36950 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36951 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36952 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36953 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36954 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36955 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36956 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36957 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36958 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36959 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36960 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36961 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36962 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36963 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36964 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36965 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36966 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36967 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36968 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36969 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36970 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36971 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36972
20f0018d
JM
36973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36974 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36975
b3b099af
JM
36976 [BZ #14914]
36977 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36978 whole low double instead of just low 47 bits when splitting values
36979 into two parts.
36980
029264d1
AM
369812012-12-03 Allan McRae <allan@archlinux.org>
36982
36983 * manual/stdio.texi (Predefined Printf Handlers): Remove
36984 @hsep and @vsep usage.
36985
c9d6789e
MF
369862012-12-03 Mike Frysinger <vapier@gentoo.org>
36987
36988 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36989 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36990
4b7634a5
JL
369912012-12-03 Jeff Law <law@redhat.com>
36992
36993 * time/sys/time.h (settimeofday): Do not mark TV argument
36994 as __nonnull.
36995
eb6cbd24
MF
369962012-12-01 Mike Frysinger <vapier@gentoo.org>
36997
36998 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36999 when currently writing and seek to current position when not.
37000 * libio/Makefile (tests): Remove bug-fclose1.
37001 * libio/bug-fclose1.c: Delete.
37002
f638872a
JM
370032012-12-01 Joseph Myers <joseph@codesourcery.com>
37004
37005 * manual/arith.texi (feenableexcept): Fix typo.
37006 (fedisableexcept): Likewise.
37007
48085d14
RM
370082012-11-30 Roland McGrath <roland@hack.frob.com>
37009
37010 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37011 second, differently-typed declaration, rather than a cast.
37012
1a538b9f
SP
370132012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37014
37015 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37016 * include/rpc/svc.h: ... here.
37017
d07f2ff1 370182012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
37019
37020 [BZ #13013]
37021 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37022 depending n and resplen2 to catch cases where answer
37023 equals answerp2.
37024
c93ec1f0
CD
370252012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37026
37027 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37028 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37029
37db69de
MF
370302012-11-29 Mike Frysinger <vapier@gentoo.org>
37031
37032 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37033
e10c4e4f
RM
370342012-11-29 Roland McGrath <roland@hack.frob.com>
37035
37036 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37037
2af1b328
JL
370382012-11-28 Jeff Law <law@redhat.com>
37039
37040 [BZ #13761]
37041 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37042 dataset_temporary. Track alloca usage into alloca_used.
37043 If dataset is large allocate and release it via malloc/free.
37044
111db5b1
FW
370452012-06-04 Florian Weimer <fweimer@redhat.com>
37046
f06cc227 37047 [BZ #14197]
111db5b1
FW
37048 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37049
dd694abd
DM
370502012-11-28 David S. Miller <davem@davemloft.net>
37051
37052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37053
9984dd01
JM
370542012-11-28 Joseph Myers <joseph@codesourcery.com>
37055
37056 [BZ #14803]
37057 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37058 of pi/2 rounded to nearest to 64 bits.
37059 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37060 nearest to 64 bits.
37061 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37062 bits.
37063
14bc93a9
JL
370642012-11-28 Jeff Law <law@redhat.com>
37065 Martin Osvald <mosvald@redhat.com>
37066
37067 [BZ #14889]
37068 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37069 * sunrpc/svc.c: Include time.h.
37070 (__svc_accept_failed): New function.
37071 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37072 any reason other than EINTR, call __svc_accept_failed.
37073 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37074 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37075
e3c6aa3a
AS
370762012-11-28 Andreas Schwab <schwab@suse.de>
37077
37078 * scripts/abilist.awk: Also handle indirect functions in .opd
37079 section.
37080
1bead169
JM
370812012-11-28 Joseph Myers <joseph@codesourcery.com>
37082
37083 [BZ #13881]
37084 * sysdeps/x86/fpu/powl_helper.c: New file.
37085 * sysdeps/x86/fpu/Makefile: Likewise.
37086 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37087 (p3): New object.
37088 (__ieee754_powl): Use __powl_helper for finite arguments except
37089 integer exponents below 8.
37090 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37091 (p3): New object.
37092 (__ieee754_powl): Use __powl_helper for finite arguments except
37093 integer exponents below 8.
37094 * math/libm-test.inc (pow_test): Add more tests and enable some
37095 previously disabled tests.
37096 * sysdeps/i386/fpu/libm-test-ulps: Update.
37097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37098
0817d63d
SP
370992012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37100 Carlos O'Donell <carlos_odonell@mentor.com>
37101
37102 * nss/makedb.c (is_prime): Assert that input is odd and greater
37103 than 4. Note that fact in a comment too.
37104 (next_prime): Add 4 to input.
37105
de2fd463
SP
371062012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37107
37108 [BZ #11741]
37109 * libio/Makefile (tests): Add test case tst-fwrite-error.
37110 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37111 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37112 * libio/tst-fwrite-error.c: New test case.
37113
c515fb51
L
371142012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37115
37116 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37117 before casting to void *.
37118 * include/libc-internal.h (__pointer_type): New macro.
37119 (__integer_if_pointer_type_sub): Likewise.
37120 (__integer_if_pointer_type): Likewise.
37121 (cast_to_integer): Likewise.
37122 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37123 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37124 before casting to atomic64_t.
37125 (atomic_exchange_acq): Likewise.
37126 (__arch_exchange_and_add_body): Likewise.
37127 (__arch_add_body): Likewise.
37128 (atomic_add_negative): Likewise.
37129 (atomic_add_zero): Likewise.
37130
4cf77aa9
JM
371312012-11-26 Joseph Myers <joseph@codesourcery.com>
37132
37133 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37134 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37135 (add_fdes): Likewise.
37136 (linear_search_fdes): Likewise.
37137 (binary_search_unencoded_fdes): Likewise.
37138
d260b3b4
AS
371392012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37140
37141 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37142
67060746
AC
371432012-11-24 Adam Conrad <adconrad@0c3.net>
37144
37145 * configure.in: Autodetect C++ header directories.
37146 * configure: Regenerated.
37147
800938a1
MF
371482012-11-23 Mike Frysinger <vapier@gentoo.org>
37149
37150 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37151
4e6e34e6
AS
371522012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37153
37154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37155
7c7feb47
JM
371562012-11-22 Joseph Myers <joseph@codesourcery.com>
37157
7184dcdf
JM
37158 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37159 LDBL_MANT_DIG == 106]: Disable some tests.
37160 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37161 Likewise.
37162 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37163 Likewise.
37164
0a42601f
JM
37165 [BZ #14871]
37166 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37167 input for small inputs. Return +/- pi/2 for large inputs.
37168 * math/libm-test.inc (atan_test): Add more tests.
37169
79c9b9fe
JM
37170 * sysdeps/generic/unwind-dw2-fde-glibc.c
37171 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37172 __attribute__ ((unused)).
37173
c60d3bf2
JM
37174 [BZ #14645]
37175 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37176 x * y if x and y are nonzero and z is zero.
37177
ef1e0867
JM
37178 [BZ #14811]
37179 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37180 nonzero exponents with absolute value below 0x1p-117 to +/-
37181 0x1p-117.
37182
1468ded3
JM
37183 [BZ #14869]
37184 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37185 up arguments below 2**-450, not just those below 2**-500.
37186 * math/libm-test.inc (hypot_test): Add another test.
37187
8e27e3cc
JM
37188 [BZ #14868]
37189 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37190 Return a+b for ratio over 2**120, not 2**60.
37191 * math/libm-test.inc (hypot_test): Add another test.
37192
c9c0279b
JM
37193 * math/libm-test.inc (clog_test): Use
37194 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37195 (clog10_test): Likewise.
37196
7c7feb47
JM
37197 [BZ #6778]
37198 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37199
fff1530e
AS
372002012-11-22 Andreas Schwab <schwab@suse.de>
37201
37202 * sysdeps/i386/fpu/libm-test-ulps: Update.
37203
94558d30
PT
372042012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37205
37206 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37207 printf output with newline.
37208
7e1be741
L
372092012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37210
6bfea974
L
37211 [BZ #14865]
37212 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37213 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37214 -z nodlopen, -z initfirst and -z execstack support.
37215 * configure: Regenerated.
37216
7e1be741
L
37217 * elf/elf.h (DF_1_NODIRECT): New macro.
37218 (DF_1_IGNMULDEF): Likewise.
37219 (DF_1_NOKSYMS): Likewise.
37220 (DF_1_NOHDR): Likewise.
37221 (DF_1_EDITED): Likewise.
37222 (DF_1_NORELOC): Likewise.
37223 (DF_1_SYMINTPOSE): Likewise.
37224 (DF_1_GLOBAUDIT): Likewise.
37225 (DF_1_SINGLETON): Likewise.
37226 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37227 DT_1_SUPPORTED_MASK bits.
37228 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37229
105ce2ce
CD
372302012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37231
37232 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37233
123be9de
TS
372342012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37235
d072f3f7
TS
37236 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37237 macro.
37238
123be9de
TS
37239 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37240 (sendmmsg): Move declarations...
37241 * socket/sys/socket.h: ... here.
37242 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37243 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37244 include it from...
37245 * socket/recvmmsg.c: ... this new file.
37246 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37247 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37248 definition of __sendmmsg hidden.
37249 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37250 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37251 Move ENOSYS stub into and include it from...
37252 * socket/sendmmsg.c: ... this new file.
37253 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37254 (sysdep_routines): Move recvmmsg and sendmmsg...
37255 * socket/Makefile (routines): ... here.
37256 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37257 (GLIBC_PRIVATE): Add __sendmmsg.
37258 * include/sys/socket.h (__sendmmsg): Add declarations.
37259 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37260 sendmmsg.
37261
cf9a5d18
JM
372622012-11-20 Joseph Myers <joseph@codesourcery.com>
37263
37264 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37265 variable I1 with __attribute__ ((unused)).
37266 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37267
ecd4caf9
JM
372682012-11-19 Joseph Myers <joseph@codesourcery.com>
37269
be14d48f
JM
37270 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37271 DUMMY variables with __attribute__ ((unused)).
37272
ecd4caf9
JM
37273 * bits/byteswap.h: Include <bits/types.h>.
37274 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37275
986cab95
PT
372762012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37277
37278 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37279 string_t. Do not manually set errno.
37280 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37281 length with __strnlen. Make sure to both set errno and return it on
37282 failure.
37283
6d33cc9d
DM
372842012-11-19 David S. Miller <davem@davemloft.net>
37285
37286 With help from Joseph Myers.
37287 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37288 very large arguments properly.
37289 * math/libm-test.inc (atan_test): New tests.
37290 (atan2_test): New tests.
37291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37293
ee663277
JM
372942012-11-19 Joseph Myers <joseph@codesourcery.com>
37295
877f2d8e
JM
37296 [BZ #14856]
37297 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37298 Define to 3.
37299
116fc08a
JM
37300 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37301 [POSIX] (EADDRNOTAVAIL): Likewise.
37302 [POSIX] (EAFNOSUPPORT): Likewise.
37303 [POSIX] (EALREADY): Likewise.
37304 [POSIX] (ECONNABORTED): Likewise.
37305 [POSIX] (ECONNREFUSED): Likewise.
37306 [POSIX] (ECONNRESET): Likewise.
37307 [POSIX] (EDESTADDRREQ): Likewise.
37308 [POSIX] (EDQUOT): Likewise.
37309 [POSIX] (EHOSTUNREACH): Likewise.
37310 [POSIX] (EIDRM): Likewise.
37311 [POSIX] (EISCONN): Likewise.
37312 [POSIX] (ELOOP): Likewise.
37313 [POSIX] (EMULTIHOP): Likewise.
37314 [POSIX] (ENETDOWN): Likewise.
37315 [POSIX] (ENETUNREACH): Likewise.
37316 [POSIX] (ENOBUFS): Likewise.
37317 [POSIX] (ENODATA): Likewise.
37318 [POSIX] (ENOLINK): Likewise.
37319 [POSIX] (ENOMSG): Likewise.
37320 [POSIX] (ENOPROTOOPT): Likewise.
37321 [POSIX] (ENOSR): Likewise.
37322 [POSIX] (ENOSTR): Likewise.
37323 [POSIX] (ENOTCONN): Likewise.
37324 [POSIX] (ENOTSOCK): Likewise.
37325 [POSIX] (EOPNOTSUPP): Likewise.
37326 [POSIX] (EOVERFLOW): Likewise.
37327 [POSIX] (EPROTO): Likewise.
37328 [POSIX] (EPROTONOSUPPORT): Likewise.
37329 [POSIX] (EPROTOTYPE): Likewise.
37330 [POSIX] (ESTALE): Likewise.
37331 [POSIX] (ETIME): Likewise.
37332 [POSIX] (ETXTBSY): Likewise.
37333 [POSIX] (EWOULDBLOCK): Likewise.
37334 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37335 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37336 [POSIX] (SEEK_CUR): Likewise.
37337 [POSIX] (SEEK_END): Likewise.
37338 [POSIX || UNIX98] (mode_t): Do not require.
37339 [POSIX] (off_t): Likewise.
37340 [POSIX] (pid_t): Likewise.
37341 [POSIX] (sys/stat.h): Do not allow header.
37342 [POSIX] (unistd.h): Likewise.
37343 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37344 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37345 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37346 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37347 require.
37348 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37349 sigevent): Specify elements.
37350 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37351 entry.
37352 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37353 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37354
a483863f
JM
37355 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37356 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37357 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37358 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37359 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37360 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37361 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37362 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37363 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37364 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37365 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37366 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37367 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37368 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37369 Likewise.
37370 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37371 Likewise.
37372 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37373 Likewise.
37374 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37375 Likewise.
37376 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37377 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37378 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37379 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37380 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37381 Specify lower bound on value.
37382 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37383 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37384 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37385 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37386 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37387 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37388 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37389 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37390 value.
37391 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37392 as optional.
37393 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37394 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37395 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37396 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37397 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37398 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37399 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37400 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37401 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37402 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37403 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37404 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37405 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37406 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37407 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37408 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37409 entry.
37410 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37411 optional.
37412 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37413 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37414 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37415 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37416 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37417 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37418 Likewise.
37419 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37420 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37421 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37422 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37423 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37424 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37425 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37426 as optional.
37427 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37428 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37429 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37430 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37431 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37432 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37433 specify as optional.
37434 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37435 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37436 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37437 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37438 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37439 [XPG3] (NL_LANGMAX): Likewise.
37440 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37441 [POSIX || XPG3] (NL_NMAX): Likewise.
37442 [POSIX || XPG3] (NL_SETMAX): Likewise.
37443 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37444 [XPG3] (NZERO): Likewise.
37445 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37446 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37447 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37448 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37449 (REG_ERANGE): Expect.
37450 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37451 optional-constant.
37452 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37453 Use (void) in prototype.
37454 [POSIX] (*_t): Allow.
37455 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37456 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37457 (WRDE_BADVAL): Expect.
37458
5ba924e3
JM
37459 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37460 expect.
37461 [XPG3 || XPG4] (O_RSYNC): Likewise.
37462 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37463 Likewise.
37464 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37465 [XPG3 || XPG4] (sigqueue): Likewise.
37466 [XPG3 || XPG4] (sigtimedwait): Likewise.
37467 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37468 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37469 [XPG3 || XPG4] (vsnprintf): Likewise.
37470 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37471 Likewise.
37472 [XPG3 || XPG4] (blksize_t): Likewise.
37473 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37474 Likewise.
37475 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37476 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37477 [XPG3 || XPG4] (struct itimerspec): Likewise.
37478 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37479 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37480 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37481 [XPG3 || XPG4] (clockid_t): Likewise.
37482 [XPG3 || XPG4] (timer_t): Likewise.
37483 [XPG3 || XPG4] (clock_getres): Likewise.
37484 [XPG3 || XPG4] (clock_gettime): Likewise.
37485 [XPG3 || XPG4] (clock_settime): Likewise.
37486 [XPG3 || XPG4] (nanosleep): Likewise.
37487 [XPG3 || XPG4] (timer_create): Likewise.
37488 [XPG3 || XPG4] (timer_delete): Likewise.
37489 [XPG3 || XPG4] (timer_gettime): Likewise.
37490 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37491 [XPG3 || XPG4] (timer_settime): Likewise.
37492 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37493 [XPG3 || XPG4] (getlogin_r): Likewise.
37494 [XPG3 || XPG4] (pread): Likewise.
37495 [XPG3 || XPG4] (pthread_atfork): Likewise.
37496 [XPG3 || XPG4] (pwrite): Likewise.
37497
ee663277
JM
37498 [BZ #14835]
37499 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37500 <bits/siginfo.h>.
37501
942caa16
PT
375022012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37503
e19af380
PT
37504 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37505 finalizing MALLSTREAM.
37506
942caa16
PT
37507 * sysdeps/mach/hurd/syncfs.c: New file.
37508
cfde9b46
SP
375092012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37510
37511 [BZ #14719]
37512 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37513 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37514 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37515 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37516 (_nss_dns_gethostbyname4_r): Likewise.
37517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37518 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37519
f6da27e5
PH
375202012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37521
37522 [BZ #13763]
37523 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37524
6665d4a2
SM
375252012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37526
1f51ee92
SM
37527 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37528 * elf/cache.c (print_entry): Print ",AArch64" for
37529 FLAG_AARCH64_LIB64
37530
6665d4a2
SM
37531 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37532 * elf/cache.c (print_entry): Print ",hard-float" for
37533 FLAG_ARM_LIBHF.
37534
05b227bd
DM
375352012-11-18 David S. Miller <davem@davemloft.net>
37536
37537 With help from Joseph Myers.
37538 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37539 cutoff to 2**-13.
37540 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37541 cutoff to 2**-25.
37542 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37543 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37544 small.
37545 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37546 * math/libm-test.inc (y0_test): New tests.
37547 (y1_test): New tests.
37548 * sysdeps/i386/fpu/libm-test-ulps: Update.
37549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37551
786b0b67
AS
375522012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37553
37554 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37555 64-bit targets.
37556 * configure: Regenerated.
37557
8e18b86d
DM
375582012-11-17 David S. Miller <davem@davemloft.net>
37559
37560 [BZ #14811]
37561 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37562 nonzero exponents with absolute value below 0x1p-128 to +/-
37563 0x1p-128.
37564
531f1ae0
JM
375652012-11-17 Joseph Myers <joseph@codesourcery.com>
37566
12df29e2
JM
37567 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37568
150dc1a0
JM
37569 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37570
531f1ae0
JM
37571 * posix/getconf-speclist.c: New file.
37572 * posix/posix-envs.def: Likewise.
37573 * posix/confstr.c (START_ENV_GROUP): New macro.
37574 (END_ENV_GROUP): Likewise.
37575 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37576 (KNOWN_PRESENT_ENV_STRING): Likewise.
37577 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37578 (UNKNOWN_ENVIRONMENT): Likewise.
37579 (confstr): Include posix-envs.def instead of handling
37580 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37581 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37582 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37583 (END_ENV_GROUP): Likewise.
37584 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37585 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37586 (UNKNOWN_ENVIRONMENT): Likewise.
37587 (__sysconf): Include posix-envs.def instead of handling associated
37588 cases directly here.
37589 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37590 preprocessing getconf-speclist.c rather than running getconf or
37591 generating empty file.
37592
a93f9cbc
PT
375932012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37594
37595 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37596
d64d9f87
AL
375972012-11-16 Andrej Lajovic <natrij@gmail.com>
37598
37599 [BZ #14672]
37600 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37601
447885eb
DM
376022012-11-16 David S. Miller <davem@davemloft.net>
37603
37604 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37605 smaller than LDBL_EPSILON/2.0L, just return xm1.
37606
bcbf9830
L
376072012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37608
37609 * elf/tst-array1.c (init): Set constructor priority to 1000.
37610 (fini): Set destructor priority to 1000.
37611 * elf/tst-array2dep.c: Likewise.
37612
2b766585
SP
376132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37614
37615 [BZ #11741]
37616 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37617 (_IO_new_file_xsputn): Also return EOF if none of the input
37618 data was written when overflow failed.
37619 * libio/iopadn.c (_IO_padn): Likewise.
37620 * libio/iowpadn.c (_IO_wpadn): Likewise.
37621 * stdio-common/tst-put-error.c: Add copyright notice.
37622 (do_test): Add case for printing padded string.
37623 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37624 _IO_padn returned error.
37625 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37626 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37627 return EOF.
37628
b1848fde
SP
376292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37630
37631 * libio/libioP.h: Add comment note that the references to C++
37632 bits are now obsolete.
37633
2fd89785
MS
376342012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37635
37636 * math/libm-test.inc (check_complex): Use asprintf.
37637
e3ea5409
JM
376382012-11-14 Joseph Myers <joseph@codesourcery.com>
37639
37640 * debug/pcprofiledump.c (print_version): Update copyright year.
37641 * malloc/memusagestat.c (print_version): Likewise.
37642
2e64d265
L
376432012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37644
37645 [BZ #14831]
37646 * elf/Makefile (tests): Add tst-audit8.
37647 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37648 ($(objpfx)tst-audit8.out): New target.
37649 (tst-audit8-ENV): New variable.
37650 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37651 audit if l_reloc_result is NULL.
37652 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37653 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37654 * elf/tst-audit8.c: New file.
37655
c485e4d2
MS
376562012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37657
37658 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37659 * misc/Makefile (CFLAGS-select.c): Define.
37660 * posix/Makefile (CFLAGS-pause.c): Define.
37661
3a0d900a
DM
376622012-11-13 David S. Miller <davem@davemloft.net>
37663
37664 * crypt/Makefile: Move test targets after toplevel Rules
37665 inclusion. Grab any necessary sysdep routines when linking.
37666 * crypt/md5.c (md5_process_block): Remove define, we will always
37667 name it __md5_process_block.
37668 (md5_finish_ctx): Update md5_process_block call.
37669 (md5_stream): Likewise.
37670 (md5_process_bytes): Likewise.
37671 (md5_process_block): Rename to __md5_process_block and move to ...
37672 * crypt/md5-block.c: ... here.
37673 * crypt/sha256.c (sha256_process_block): Move to ...
37674 * crypt/sha256-block.c: ... here.
37675 * crypt/sha512.c (sha512_process_block): Move to ...
37676 * crypt/sha512-block.c: ... here.
37677 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37678 path.
37679 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37680 * sysdeps/sparc/sparc64/multiarch/Makefile
37681 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37682 crypt subdir.
37683 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37684 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37685 multiarch changes.
37686 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37687 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37688 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37689 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37690 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37691 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37692 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37693 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37694 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37695 file.
37696 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37697 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37698 file.
37699 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37700
8ca89318
JM
377012012-11-13 Joseph Myers <joseph@codesourcery.com>
37702
e27d476a
JM
37703 * timezone/tzselect.ksh: Update from tzcode git revision
37704 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37705 * timezone/zdump.c: Likewise.
37706 * timezone/zic.c: Likewise.
37707 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37708 in TZVERSION setting, not $(PKGVERSION).
37709 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
37710 REPORT_BUGS_TO settings.
37711
8ca89318
JM
37712 [BZ #14838]
37713 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37714 macro.
37715
47594329
MS
377162012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37717
37718 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37719 detection to immediately after _FP_ROUND().
37720 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37721 bits are 0.
37722
640ac3f1
DM
377232012-11-11 David S. Miller <davem@davemloft.net>
37724
37725 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37726 inttypes.h
37727 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37728 __close rather than their public counterparts.
37729
3d2577bb
JM
377302012-11-10 Joseph Myers <joseph@codesourcery.com>
37731
37732 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37733 file.
37734 [UNIX98] (sem_timedwait): Do not expect.
37735 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37736 [XPG4 || UNIX98] (sockatmark): Do not expect.
37737 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37738 (clock_getcpuclockid): Do not expect.
37739 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37740 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37741 Do not expect.
37742 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37743 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37744 [UNIX98] (vwscanf): Likewise.
37745 [UNIX98] (vswscanf): Likewise.
37746
fb1ae1ee
JM
377472012-11-09 Joseph Myers <joseph@codesourcery.com>
37748
9ec6f8bd
JM
37749 * timezone/version.h: Remove file.
37750 * timezone/README: Do not refer to version.h.
37751 * timezone/Makefile ($(objpfx)zic.o): New dependency on
37752 $(objpfx)version.h.
37753 ($(objpfx)zdump.o): Likewise.
c3f81911 37754 ($(objpfx)version.h): New target.
9ec6f8bd 37755
0aa8f8a1
JM
37756 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37757 2012i.
37758 * timezone/README: Don't mention modification to tzselect.ksh.
37759 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37760 work on unmodified tzselect.ksh. Substitute version numbers in
37761 tzselect.ksh.
37762
4e87147f
JM
37763 * Makefile (format-me): Remove.
37764 (INSTALL): Adjust indentation. Use commands directly instead of
37765 using $(format-me).
37766
8b748aed
JM
37767 * aclocal.m4 (ACX_PKGVERSION): New macro.
37768 (ACX_BUGURL): Likewise.
37769 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37770 (PKGVERSION): New AC_DEFINE_UNQUOTED.
37771 (REPORT_BUGS_TO): Likewise.
37772 * configure: Regenerated.
37773 * config.h.in (PKGVERSION): New macro.
37774 (REPORT_BUGS_TO): Likewise.
37775 * config.make.in (PKGVERSION): New variable.
37776 (PKGVERSION_TEXI): Likewise.
37777 (REPORT_BUGS_TO): Likewise.
37778 (REPORT_BUGS_TEXI): Likewise.
37779 * Makefile (format-me): Use -I$(common-objpfx)manual.
37780 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37781 ($(common-objpfx)manual/%): New target.
37782 (manual/%): Remove target.
37783 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37784 (print_version): Use PKGVERSION.
37785 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37786 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37787 and REPORT_BUGS_TO.
37788 ($(objpfx)xtrace): Likewise.
37789 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37790 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37791 (print_version): Use PKGVERSION.
37792 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37793 (do_version): Use PKGVERSION.
37794 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37795 REPORT_BUGS_TO.
37796 (common-ldd-rewrite): Likewise.
37797 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37798 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37799 (print_version): Use PKGVERSION.
37800 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37801 * elf/pldd.c (argp_program_bug_address): Remove variable.
37802 (more_help): New function.
37803 (argp): Use more_help.
37804 (print_version): Use PKGVERSION.
37805 * elf/sln.c (main): Use PKGVERSION.
37806 (usage): Use REPORT_BUGS_TO.
37807 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37808 (top level): Use PKGVERSION.
37809 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37810 (print_version): Use PKGVERSION.
37811 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37812 (print_version): Use PKGVERSION.
37813 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37814 (print_version): Use PKGVERSION.
37815 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37816 (print_version): Use PKGVERSION.
37817 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37818 (print_version): Use PKGVERSION.
37819 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37820 (print_version): Use PKGVERSION.
37821 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37822 and BUGURL.
37823 ($(objpfx)memusage): Likewise.
37824 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37825 (do_version): Use PKGVERSION.
37826 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37827 (print_version): Use PKGVERSION.
37828 * malloc/mtrace.pl ($PACKAGE): Remove variable.
37829 ($PKGVERSION): New variable.
37830 ($REPORT_BUGS_TO): Likewise.
37831 (usage): Use $REPORT_BUGS_TO.
37832 (top level): Use $PKGVERSION.
37833 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37834 ($(objpfx)pkgvers.texi): New rule.
37835 ($(objpfx)stamp-pkgvers): Likewise.
37836 * manual/install.texi: Include pkgvers.texi.
37837 (--with-pkgversion): Document new configure option.
37838 (--with-bugurl): Likewise.
37839 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37840 than necessarily for this particular distribution. Use
37841 REPORT_BUGS_TO for where to report bugs.
37842 * INSTALL: Regenerated.
37843 * manual/libc.texinfo: Include pkgvers.texi.
37844 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37845 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37846 (print_version): Use PKGVERSION.
37847 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37848 (print_version): Use PKGVERSION.
37849 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37850 (print_version): Use PKGVERSION.
37851 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37852 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37853 macro.
37854 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37855 (print_version): Use PKGVERSION.
37856 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37857 (print_version): Use PKGVERSION.
37858 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37859 and PKGVERSION.
37860
92e4b6a9
JM
37861 * timezone/checktab.awk: Update from tzcode 2012i.
37862 * timezone/ialloc.c: Likewise.
37863 * timezone/private.h: Likewise.
37864 * timezone/scheck.c: Likewise.
37865 * timezone/tzfile.h: Likewise.
37866 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
37867 (TZVERSION): Hardcode tzcode version number.
37868 * timezone/zdump.c: Update from tzcode 2012i.
37869 * timezone/zic.c: Likewise.
37870 * timezone/version.h: New file.
37871 * timezone/README: Describe version.h. Update upstream location.
37872
9bde902c
JM
37873 [BZ #14824]
37874 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37875 (mktemp): Enable declaration.
37876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37880 Likewise.
37881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37882 Likewise.
37883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37884 Likewise.
37885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37886 Likewise.
37887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37888 Likewise.
37889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37890 Likewise.
37891
fb1ae1ee
JM
37892 [BZ #14821]
37893 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37894 offset in buffer as u_int32_t not u_long. Consistently use memcpy
37895 for copies of such integer values.
37896 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37897 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37898
2c1adbcb
AJ
378992012-11-09 Andreas Jaeger <aj@suse.de>
37900
37901 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37902 definitions and declarations that are provided by
37903 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37904
d0f8457e
AK
379052012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37906
3a235abb 37907 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
37908 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37909 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37910 definition.
37911
57241e26
MS
379122012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37913
37914 * elf/elf.h: Update comment before AArch64 relocations.
37915
60e8270d
DM
379162012-11-07 David S. Miller <davem@davemloft.net>
37917
37918 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37919 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37920 (__start_context): Declare.
37921 (__makecontext_ret): Delete.
37922 (__makecontext): Hook up __start_context instead of
37923 __makecontext_ret.
37924 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37925 (sysdep_routines): Add __start_context when in stdlib.
37926
0fbb0fbc
JM
379272012-11-07 Joseph Myers <joseph@codesourcery.com>
37928
37929 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37930 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37931 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
37932 hardcoded "nm".
37933 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
37934 (READELF): New variable. Use it instead of hardcoded "readelf".
37935
eb48db7e
L
379362012-11-07 H.J. Lu <hongjiu.lu@intel.com>
37937
37938 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37939 * sysdeps/x86/Makefile: Here.
37940 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37941 * sysdeps/x86/tst-xmmymm.sh: This.
37942
05bcf62a
JM
379432012-11-07 Joseph Myers <joseph@codesourcery.com>
37944
c4b6cf53
JM
37945 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37946 expectations.
37947 [UNIX98] (pthread_barrier_t): Do not expect.
37948 [UNIX98] (pthread_barrierattr_t): Likewise.
37949 [UNIX98] (pthread_spinlock_t): Likewise.
37950 [UNIX98] (pthread_barrier_destroy): Likewise.
37951 [UNIX98] (pthread_barrier_init): Likewise.
37952 [UNIX98] (pthread_barrier_wait): Likewise.
37953 [UNIX98] (pthread_barrierattr_destroy): Likewise.
37954 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37955 [UNIX98] (pthread_barrierattr_init): Likewise.
37956 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37957 [UNIX98] (pthread_getcpuclockid): Likewise.
37958 [UNIX98] (pthread_mutex_timedlock): Likewise.
37959 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37960 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37961 [UNIX98] (pthread_sigmask): Likewise.
37962 [UNIX98] (pthread_spin_destroy): Likewise.
37963 [UNIX98] (pthread_spin_init): Likewise.
37964 [UNIX98] (pthread_spin_lock): Likewise.
37965 [UNIX98] (pthread_spin_trylock): Likewise.
37966 [UNIX98] (pthread_spin_unlock): Likewise.
37967 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37968 Do not expect.
37969 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37970 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37971 [XPG3 || XPG4] (pthread_cond_t): Likewise.
37972 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37973 [XPG3 || XPG4] (pthread_key_t): Likewise.
37974 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37975 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37976 [XPG3 || XPG4] (pthread_once_t): Likewise.
37977 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37978 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37979 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37980 [XPG3 || XPG4] (pthread_t): Likewise.
37981
cbe6e120
JM
37982 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37983 not expect.
37984 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37985
1b126443
JM
37986 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37987 Change function return type to int.
37988
b961a573
JM
37989 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37990 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37991 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37992 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37993 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37994 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37995 [!POSIX] (posix_madvise): Likewise.
37996 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37997 && !UNIX98].
37998 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37999 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38000 (mode_t): Likewise.
38001 (posix_mem_offset): Likewise.
38002 (posix_typed_mem_get_info): Likewise.
38003 (posix_typed_mem_open): Likewise.
38004
9e188909
JM
38005 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38006 Change condition to [XOPEN2K8].
38007
05bcf62a
JM
38008 * conform/conformtest.pl: Preprocess allow-header data with -x c
38009 instead of from stdin.
38010 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38011 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38012 [C99-based standards] (cerfc): Likewise.
38013 [C99-based standards] (cexp2): Likewise.
38014 [C99-based standards] (cexpm1): Likewise.
38015 [C99-based standards] (clog10): Likewise.
38016 [C99-based standards] (clog1p): Likewise.
38017 [C99-based standards] (clog2): Likewise.
38018 [C99-based standards] (clgamma): Likewise.
38019 [C99-based standards] (ctgamma): Likewise.
38020 [C99-based standards] (cerff): Likewise.
38021 [C99-based standards] (cerfcf): Likewise.
38022 [C99-based standards] (cexp2f): Likewise.
38023 [C99-based standards] (cexpm1f): Likewise.
38024 [C99-based standards] (clog10f): Likewise.
38025 [C99-based standards] (clog1pf): Likewise.
38026 [C99-based standards] (clog2f): Likewise.
38027 [C99-based standards] (clgammaf): Likewise.
38028 [C99-based standards] (ctgammaf): Likewise.
38029 [C99-based standards] (cerfl): Likewise.
38030 [C99-based standards] (cerfcl): Likewise.
38031 [C99-based standards] (cexp2l): Likewise.
38032 [C99-based standards] (cexpm1l): Likewise.
38033 [C99-based standards] (clog10l): Likewise.
38034 [C99-based standards] (clog1pl): Likewise.
38035 [C99-based standards] (clog2l): Likewise.
38036 [C99-based standards] (clgammal): Likewise.
38037 [C99-based standards] (ctgammal): Likewise.
38038 * conform/data/inttypes.h-data [C99-based standards]: Include
38039 stdint.h-data. Remove all expectations for stdint.h contents.
38040 [C99-based standards] (PRI*): Do not allow.
38041 [C99-based standards] (SCN*): Likewise.
38042 [C99-based standards] (*_t): Likewise.
38043 [C99-based-standards] (PRId8): Expect macro.
38044 [C99-based-standards] (PRIi8): Likewise.
38045 [C99-based-standards] (PRIo8): Likewise.
38046 [C99-based-standards] (PRIu8): Likewise.
38047 [C99-based-standards] (PRIx8): Likewise.
38048 [C99-based-standards] (PRIX8): Likewise.
38049 [C99-based-standards] (SCNd8): Likewise.
38050 [C99-based-standards] (SCNi8): Likewise.
38051 [C99-based-standards] (SCNo8): Likewise.
38052 [C99-based-standards] (SCNu8): Likewise.
38053 [C99-based-standards] (SCNx8): Likewise.
38054 [C99-based-standards] (PRIdLEAST8): Likewise.
38055 [C99-based-standards] (PRIiLEAST8): Likewise.
38056 [C99-based-standards] (PRIoLEAST8): Likewise.
38057 [C99-based-standards] (PRIuLEAST8): Likewise.
38058 [C99-based-standards] (PRIxLEAST8): Likewise.
38059 [C99-based-standards] (PRIXLEAST8): Likewise.
38060 [C99-based-standards] (SCNdLEAST8): Likewise.
38061 [C99-based-standards] (SCNiLEAST8): Likewise.
38062 [C99-based-standards] (SCNoLEAST8): Likewise.
38063 [C99-based-standards] (SCNuLEAST8): Likewise.
38064 [C99-based-standards] (SCNxLEAST8): Likewise.
38065 [C99-based-standards] (PRIdFAST8): Likewise.
38066 [C99-based-standards] (PRIiFAST8): Likewise.
38067 [C99-based-standards] (PRIoFAST8): Likewise.
38068 [C99-based-standards] (PRIuFAST8): Likewise.
38069 [C99-based-standards] (PRIxFAST8): Likewise.
38070 [C99-based-standards] (PRIXFAST8): Likewise.
38071 [C99-based-standards] (SCNdFAST8): Likewise.
38072 [C99-based-standards] (SCNiFAST8): Likewise.
38073 [C99-based-standards] (SCNoFAST8): Likewise.
38074 [C99-based-standards] (SCNuFAST8): Likewise.
38075 [C99-based-standards] (SCNxFAST8): Likewise.
38076 [C99-based-standards] (PRId16): Likewise.
38077 [C99-based-standards] (PRIi16): Likewise.
38078 [C99-based-standards] (PRIo16): Likewise.
38079 [C99-based-standards] (PRIu16): Likewise.
38080 [C99-based-standards] (PRIx16): Likewise.
38081 [C99-based-standards] (PRIX16): Likewise.
38082 [C99-based-standards] (SCNd16): Likewise.
38083 [C99-based-standards] (SCNi16): Likewise.
38084 [C99-based-standards] (SCNo16): Likewise.
38085 [C99-based-standards] (SCNu16): Likewise.
38086 [C99-based-standards] (SCNx16): Likewise.
38087 [C99-based-standards] (PRIdLEAST16): Likewise.
38088 [C99-based-standards] (PRIiLEAST16): Likewise.
38089 [C99-based-standards] (PRIoLEAST16): Likewise.
38090 [C99-based-standards] (PRIuLEAST16): Likewise.
38091 [C99-based-standards] (PRIxLEAST16): Likewise.
38092 [C99-based-standards] (PRIXLEAST16): Likewise.
38093 [C99-based-standards] (SCNdLEAST16): Likewise.
38094 [C99-based-standards] (SCNiLEAST16): Likewise.
38095 [C99-based-standards] (SCNoLEAST16): Likewise.
38096 [C99-based-standards] (SCNuLEAST16): Likewise.
38097 [C99-based-standards] (SCNxLEAST16): Likewise.
38098 [C99-based-standards] (PRIdFAST16): Likewise.
38099 [C99-based-standards] (PRIiFAST16): Likewise.
38100 [C99-based-standards] (PRIoFAST16): Likewise.
38101 [C99-based-standards] (PRIuFAST16): Likewise.
38102 [C99-based-standards] (PRIxFAST16): Likewise.
38103 [C99-based-standards] (PRIXFAST16): Likewise.
38104 [C99-based-standards] (SCNdFAST16): Likewise.
38105 [C99-based-standards] (SCNiFAST16): Likewise.
38106 [C99-based-standards] (SCNoFAST16): Likewise.
38107 [C99-based-standards] (SCNuFAST16): Likewise.
38108 [C99-based-standards] (SCNxFAST16): Likewise.
38109 [C99-based-standards] (PRId32): Likewise.
38110 [C99-based-standards] (PRIi32): Likewise.
38111 [C99-based-standards] (PRIo32): Likewise.
38112 [C99-based-standards] (PRIu32): Likewise.
38113 [C99-based-standards] (PRIx32): Likewise.
38114 [C99-based-standards] (PRIX32): Likewise.
38115 [C99-based-standards] (SCNd32): Likewise.
38116 [C99-based-standards] (SCNi32): Likewise.
38117 [C99-based-standards] (SCNo32): Likewise.
38118 [C99-based-standards] (SCNu32): Likewise.
38119 [C99-based-standards] (SCNx32): Likewise.
38120 [C99-based-standards] (PRIdLEAST32): Likewise.
38121 [C99-based-standards] (PRIiLEAST32): Likewise.
38122 [C99-based-standards] (PRIoLEAST32): Likewise.
38123 [C99-based-standards] (PRIuLEAST32): Likewise.
38124 [C99-based-standards] (PRIxLEAST32): Likewise.
38125 [C99-based-standards] (PRIXLEAST32): Likewise.
38126 [C99-based-standards] (SCNdLEAST32): Likewise.
38127 [C99-based-standards] (SCNiLEAST32): Likewise.
38128 [C99-based-standards] (SCNoLEAST32): Likewise.
38129 [C99-based-standards] (SCNuLEAST32): Likewise.
38130 [C99-based-standards] (SCNxLEAST32): Likewise.
38131 [C99-based-standards] (PRIdFAST32): Likewise.
38132 [C99-based-standards] (PRIiFAST32): Likewise.
38133 [C99-based-standards] (PRIoFAST32): Likewise.
38134 [C99-based-standards] (PRIuFAST32): Likewise.
38135 [C99-based-standards] (PRIxFAST32): Likewise.
38136 [C99-based-standards] (PRIXFAST32): Likewise.
38137 [C99-based-standards] (SCNdFAST32): Likewise.
38138 [C99-based-standards] (SCNiFAST32): Likewise.
38139 [C99-based-standards] (SCNoFAST32): Likewise.
38140 [C99-based-standards] (SCNuFAST32): Likewise.
38141 [C99-based-standards] (SCNxFAST32): Likewise.
38142 [C99-based-standards] (PRId64): Likewise.
38143 [C99-based-standards] (PRIi64): Likewise.
38144 [C99-based-standards] (PRIo64): Likewise.
38145 [C99-based-standards] (PRIu64): Likewise.
38146 [C99-based-standards] (PRIx64): Likewise.
38147 [C99-based-standards] (PRIX64): Likewise.
38148 [C99-based-standards] (SCNd64): Likewise.
38149 [C99-based-standards] (SCNi64): Likewise.
38150 [C99-based-standards] (SCNo64): Likewise.
38151 [C99-based-standards] (SCNu64): Likewise.
38152 [C99-based-standards] (SCNx64): Likewise.
38153 [C99-based-standards] (PRIdLEAST64): Likewise.
38154 [C99-based-standards] (PRIiLEAST64): Likewise.
38155 [C99-based-standards] (PRIoLEAST64): Likewise.
38156 [C99-based-standards] (PRIuLEAST64): Likewise.
38157 [C99-based-standards] (PRIxLEAST64): Likewise.
38158 [C99-based-standards] (PRIXLEAST64): Likewise.
38159 [C99-based-standards] (SCNdLEAST64): Likewise.
38160 [C99-based-standards] (SCNiLEAST64): Likewise.
38161 [C99-based-standards] (SCNoLEAST64): Likewise.
38162 [C99-based-standards] (SCNuLEAST64): Likewise.
38163 [C99-based-standards] (SCNxLEAST64): Likewise.
38164 [C99-based-standards] (PRIdFAST64): Likewise.
38165 [C99-based-standards] (PRIiFAST64): Likewise.
38166 [C99-based-standards] (PRIoFAST64): Likewise.
38167 [C99-based-standards] (PRIuFAST64): Likewise.
38168 [C99-based-standards] (PRIxFAST64): Likewise.
38169 [C99-based-standards] (PRIXFAST64): Likewise.
38170 [C99-based-standards] (SCNdFAST64): Likewise.
38171 [C99-based-standards] (SCNiFAST64): Likewise.
38172 [C99-based-standards] (SCNoFAST64): Likewise.
38173 [C99-based-standards] (SCNuFAST64): Likewise.
38174 [C99-based-standards] (SCNxFAST64): Likewise.
38175 [C99-based-standards] (PRIdMAX): Likewise.
38176 [C99-based-standards] (PRIiMAX): Likewise.
38177 [C99-based-standards] (PRIoMAX): Likewise.
38178 [C99-based-standards] (PRIuMAX): Likewise.
38179 [C99-based-standards] (PRIxMAX): Likewise.
38180 [C99-based-standards] (PRIXMAX): Likewise.
38181 [C99-based-standards] (SCNdMAX): Likewise.
38182 [C99-based-standards] (SCNiMAX): Likewise.
38183 [C99-based-standards] (SCNoMAX): Likewise.
38184 [C99-based-standards] (SCNuMAX): Likewise.
38185 [C99-based-standards] (SCNxMAX): Likewise.
38186 [C99-based-standards] (PRIdPTR): Likewise.
38187 [C99-based-standards] (PRIiPTR): Likewise.
38188 [C99-based-standards] (PRIoPTR): Likewise.
38189 [C99-based-standards] (PRIuPTR): Likewise.
38190 [C99-based-standards] (PRIxPTR): Likewise.
38191 [C99-based-standards] (PRIXPTR): Likewise.
38192 [C99-based-standards] (SCNdPTR): Likewise.
38193 [C99-based-standards] (SCNiPTR): Likewise.
38194 [C99-based-standards] (SCNoPTR): Likewise.
38195 [C99-based-standards] (SCNuPTR): Likewise.
38196 [C99-based-standards] (SCNxPTR): Likewise.
38197 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38198 allow.
38199 * conform/data/stdint.h-data: Update comments to clarify
38200 requirements.
38201 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38202 type.
38203 [C99-based standards] (INT8_MAX): Likewise.
38204 [C99-based standards] (INT16_MIN): Likewise.
38205 [C99-based standards] (INT16_MAX): Likewise.
38206 [C99-based standards] (INT32_MIN): Likewise.
38207 [C99-based standards] (INT32_MAX): Likewise.
38208 [C99-based standards] (INT64_MIN): Likewise.
38209 [C99-based standards] (INT64_MAX): Likewise.
38210 [C99-based standards] (UINT8_MAX): Likewise.
38211 [C99-based standards] (UINT16_MAX): Likewise.
38212 [C99-based standards] (UINT32_MAX): Likewise.
38213 [C99-based standards] (UINT64_MAX): Likewise.
38214 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38215 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38216 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38217 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38218 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38219 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38220 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38221 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38222 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38223 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38224 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38225 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38226 [C99-based standards] (INT_FAST8_MIN): Likewise.
38227 [C99-based standards] (INT_FAST8_MAX): Likewise.
38228 [C99-based standards] (INT_FAST16_MIN): Likewise.
38229 [C99-based standards] (INT_FAST16_MAX): Likewise.
38230 [C99-based standards] (INT_FAST32_MIN): Likewise.
38231 [C99-based standards] (INT_FAST32_MAX): Likewise.
38232 [C99-based standards] (INT_FAST64_MIN): Likewise.
38233 [C99-based standards] (INT_FAST64_MAX): Likewise.
38234 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38235 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38236 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38237 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38238 [C99-based standards] (INTPTR_MIN): Likewise.
38239 [C99-based standards] (INTPTR_MAX): Likewise.
38240 [C99-based standards] (UINTPTR_MAX): Likewise.
38241 [C99-based standards] (INTMAX_MIN): Likewise.
38242 [C99-based standards] (INTMAX_MAX): Likewise.
38243 [C99-based standards] (UINTMAX_MAX): Likewise.
38244 [C99-based standards] (PTRDIFF_MIN): Likewise.
38245 [C99-based standards] (PTRDIFF_MAX): Likewise.
38246 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38247 [C99-based standards] (SIZE_MAX): Likewise.
38248 [C99-based standards] (WCHAR_MAX): Likewise.
38249 [C99-based standards] (WINT_MAX): Likewise.
38250 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38251 constraint on value.
38252 [C99-based standards] (WCHAR_MIN): Likewise.
38253 [C99-based standards] (WINT_MIN): Likewise.
38254 [C99-based standards] (*_t): Allow.
38255 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38256 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38257 Include math.h-data and complex.h-data. Remove all expectations
38258 of math.h and complex.h contents.
38259 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38260 at end of line.
38261 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38262 (struct tm): Expect tag.
38263 [C99-based-standards] (wcstof): Expect function.
38264 [C99-based-standards] (wcstold): Likewise.
38265 [C99-based-standards] (wcstoll): Likewise.
38266 [C99-based-standards] (wcstoull): Likewise.
38267 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38268 macro-int-constant. Specify type.
38269 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38270 constraint on value.
38271 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38272 Specify type.
38273 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38274 Specify value.
38275 [ISO C standards]: Do not allow headers.
38276 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38277 wcs[abcdefghijklmnopqrstuvwxyz]*.
38278 [ISO C standards] (*_t): Do not allow.
38279 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38280 Expect function.
38281 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38282 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38283 Specify type.
38284 [ISO C standards]: Do not allow headers.
38285 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38286 is[abcdefghijklmnopqrstuvwxyz]*.
38287 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38288 to[abcdefghijklmnopqrstuvwxyz]*.
38289 [ISO C standards] (*_t): Do not allow.
38290 * conform/data/stdalign.h-data: New file.
38291 * conform/data/stdbool.h-data: Likewise.
38292 * conform/data/stdnoreturn.h-data: Likewise.
38293
7514feb8
RM
382942012-11-07 Roland McGrath <roland@hack.frob.com>
38295
38296 [BZ #14815]
38297 * manual/filesys.texi (Directory Entries): Typo fix.
38298 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38299
19b2ecfc
MS
383002012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38301
38302 * elf/elf.h (EM_AARCH64): New macro.
38303 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38304 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38305 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38306 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38307 (R_AARCH64_TLSDESC): Likewise.
38308 (NT_ARM_TLS): Likewise.
38309 (NT_ARM_HW_BREAK): Likewise.
38310 (NT_ARM_HW_WATCH): Likewise.
38311
60e235ee
JM
383122012-11-07 Joseph Myers <joseph@codesourcery.com>
38313
38314 [BZ #14811]
38315 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38316 (__ieee754_powl): Saturate nonzero exponents with absolute value
38317 below 0x1p-79 to +/- 0x1p-79.
38318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38319 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38320 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38321 nonzero exponents with absolute value below 0x1p-32 to +/-
38322 0x1p-32.
38323 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38324 (__ieee754_powl): Saturate nonzero exponents with absolute value
38325 below 0x1p-79 to +/- 0x1p-79.
38326 * math/libm-test.inc (pow_test): Add more tests.
38327
0ab234b7
AK
383282012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38329
38330 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38331 _dl_s390_cap_flags with kernel. Increase string length.
38332 (_dl_s390_platforms): Add z196 and zEC12.
38333
45832f74
JM
383342012-11-07 Joseph Myers <joseph@codesourcery.com>
38335
38336 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38337 Change XOPEN21K to XOPEN2K.
38338
19218757
MK
383392012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38340
38341 * string/memmove.c: Use memcpy when possible.
38342
c5f45721
AJ
383432012-11-06 Andreas Jaeger <aj@suse.de>
38344
38345 * po/eo.po: Update from translation team.
38346
82477c28
JM
383472012-11-06 Joseph Myers <joseph@codesourcery.com>
38348
38349 [BZ #14793]
38350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38351 exponent and small x and y exponents, scale x or y up. Increase
38352 by 2 the exponent used in scaling up.
38353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38354 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38355 * math/libm-test.inc (fma_test): Add more tests.
38356 (fma_test_towardzero): Likewise.
38357 (fma_test_downward): Likewise.
38358 (fma_test_upward): Likewise.
38359
99252c8c
JM
383602012-11-05 Joseph Myers <joseph@codesourcery.com>
38361
acfa885f
JM
38362 [BZ #14805]
38363 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38364 fenv_t *.
38365
99252c8c
JM
38366 [BZ #14801]
38367 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38368 namespace for names of struct fields.
38369 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38370 fenv_t fields.
38371 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38372 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38373
d6d98dea
ST
383742012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38375
38376 [BZ #3665]
38377 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38378
e10bb107
TS
383792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38380
38381 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38382 PTR_DEMANGLE.
38383
38384 [BZ #5246]
38385 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38386 PTR_DEMANGLE.
38387
a0c2940d
JM
383882012-11-04 Joseph Myers <joseph@codesourcery.com>
38389
38390 [BZ #14797]
38391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38392 definitely overflow as x * y not x * y + z.
38393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38395 * math/libm-test.inc (fma_test): Add more tests.
38396 (fma_test_towardzero): Likewise.
38397 (fma_test_downward): Likewise.
38398 (fma_test_upward): Likewise.
38399
b830319d
TS
384002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38401
38402 [BZ #157]
38403
38404 * include/stub-tag.h: Remove file.
38405 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38406 '#include' of it.
38407 * manual/maint.texi (Porting): Don't reference it.
38408 * Makerules ($(objpfx)stubs): Likewise.
38409 * dirent/closedir.c: Don't include <stub-tag.h>.
38410 * dirent/dirfd.c: Likewise.
38411 * dirent/fdopendir.c: Likewise.
38412 * dirent/getdents.c: Likewise.
38413 * dirent/getdents64.c: Likewise.
38414 * dirent/opendir.c: Likewise.
38415 * dirent/readdir.c: Likewise.
38416 * dirent/readdir64.c: Likewise.
38417 * dirent/readdir64_r.c: Likewise.
38418 * dirent/readdir_r.c: Likewise.
38419 * dirent/rewinddir.c: Likewise.
38420 * dirent/seekdir.c: Likewise.
38421 * dirent/telldir.c: Likewise.
38422 * gmon/profil.c: Likewise.
38423 * grp/setgroups.c: Likewise.
38424 * inet/if_index.c: Likewise.
38425 * io/access.c: Likewise.
38426 * io/chdir.c: Likewise.
38427 * io/chmod.c: Likewise.
38428 * io/chown.c: Likewise.
38429 * io/close.c: Likewise.
38430 * io/dup.c: Likewise.
38431 * io/dup2.c: Likewise.
38432 * io/dup3.c: Likewise.
38433 * io/euidaccess.c: Likewise.
38434 * io/faccessat.c: Likewise.
38435 * io/fchdir.c: Likewise.
38436 * io/fchmod.c: Likewise.
38437 * io/fchmodat.c: Likewise.
38438 * io/fchown.c: Likewise.
38439 * io/fchownat.c: Likewise.
38440 * io/fcntl.c: Likewise.
38441 * io/flock.c: Likewise.
38442 * io/fstatfs.c: Likewise.
38443 * io/fstatfs64.c: Likewise.
38444 * io/fstatvfs.c: Likewise.
38445 * io/fstatvfs64.c: Likewise.
38446 * io/futimens.c: Likewise.
38447 * io/fxstat.c: Likewise.
38448 * io/fxstat64.c: Likewise.
38449 * io/fxstatat.c: Likewise.
38450 * io/fxstatat64.c: Likewise.
38451 * io/getcwd.c: Likewise.
38452 * io/isatty.c: Likewise.
38453 * io/lchmod.c: Likewise.
38454 * io/lchown.c: Likewise.
38455 * io/link.c: Likewise.
38456 * io/linkat.c: Likewise.
38457 * io/lseek.c: Likewise.
38458 * io/lseek64.c: Likewise.
38459 * io/lxstat64.c: Likewise.
38460 * io/mkdir.c: Likewise.
38461 * io/mkdirat.c: Likewise.
38462 * io/mkfifo.c: Likewise.
38463 * io/mkfifoat.c: Likewise.
38464 * io/open.c: Likewise.
38465 * io/open64.c: Likewise.
38466 * io/openat.c: Likewise.
38467 * io/openat64.c: Likewise.
38468 * io/pipe.c: Likewise.
38469 * io/pipe2.c: Likewise.
38470 * io/poll.c: Likewise.
38471 * io/posix_fadvise.c: Likewise.
38472 * io/posix_fadvise64.c: Likewise.
38473 * io/posix_fallocate.c: Likewise.
38474 * io/posix_fallocate64.c: Likewise.
38475 * io/read.c: Likewise.
38476 * io/readlink.c: Likewise.
38477 * io/readlinkat.c: Likewise.
38478 * io/rmdir.c: Likewise.
38479 * io/sendfile.c: Likewise.
38480 * io/sendfile64.c: Likewise.
38481 * io/statfs.c: Likewise.
38482 * io/statfs64.c: Likewise.
38483 * io/statvfs.c: Likewise.
38484 * io/statvfs64.c: Likewise.
38485 * io/symlink.c: Likewise.
38486 * io/symlinkat.c: Likewise.
38487 * io/ttyname.c: Likewise.
38488 * io/ttyname_r.c: Likewise.
38489 * io/umask.c: Likewise.
38490 * io/unlink.c: Likewise.
38491 * io/unlinkat.c: Likewise.
38492 * io/utime.c: Likewise.
38493 * io/utimensat.c: Likewise.
38494 * io/write.c: Likewise.
38495 * io/xmknod.c: Likewise.
38496 * io/xmknodat.c: Likewise.
38497 * io/xstat.c: Likewise.
38498 * io/xstat64.c: Likewise.
38499 * login/getpt.c: Likewise.
38500 * login/grantpt.c: Likewise.
38501 * login/unlockpt.c: Likewise.
38502 * math/e_acoshl.c: Likewise.
38503 * math/e_acosl.c: Likewise.
38504 * math/e_asinl.c: Likewise.
38505 * math/e_atan2l.c: Likewise.
38506 * math/e_atanhl.c: Likewise.
38507 * math/e_coshl.c: Likewise.
38508 * math/e_expl.c: Likewise.
38509 * math/e_fmodl.c: Likewise.
38510 * math/e_gammal_r.c: Likewise.
38511 * math/e_hypotl.c: Likewise.
38512 * math/e_j0l.c: Likewise.
38513 * math/e_j1l.c: Likewise.
38514 * math/e_jnl.c: Likewise.
38515 * math/e_lgammal_r.c: Likewise.
38516 * math/e_log10l.c: Likewise.
38517 * math/e_log2l.c: Likewise.
38518 * math/e_logl.c: Likewise.
38519 * math/e_powl.c: Likewise.
38520 * math/e_rem_pio2l.c: Likewise.
38521 * math/e_sinhl.c: Likewise.
38522 * math/e_sqrtl.c: Likewise.
38523 * math/fclrexcpt.c: Likewise.
38524 * math/fedisblxcpt.c: Likewise.
38525 * math/feenablxcpt.c: Likewise.
38526 * math/fegetenv.c: Likewise.
38527 * math/fegetexcept.c: Likewise.
38528 * math/fegetround.c: Likewise.
38529 * math/feholdexcpt.c: Likewise.
38530 * math/fesetenv.c: Likewise.
38531 * math/fesetround.c: Likewise.
38532 * math/feupdateenv.c: Likewise.
38533 * math/fgetexcptflg.c: Likewise.
38534 * math/fraiseexcpt.c: Likewise.
38535 * math/fsetexcptflg.c: Likewise.
38536 * math/ftestexcept.c: Likewise.
38537 * math/k_cosl.c: Likewise.
38538 * math/k_rem_pio2l.c: Likewise.
38539 * math/k_sinl.c: Likewise.
38540 * math/k_tanl.c: Likewise.
38541 * math/s_asinhl.c: Likewise.
38542 * math/s_atanl.c: Likewise.
38543 * math/s_cbrtl.c: Likewise.
38544 * math/s_erfl.c: Likewise.
38545 * math/s_expm1l.c: Likewise.
38546 * math/s_log1pl.c: Likewise.
38547 * math/s_tanhl.c: Likewise.
38548 * misc/acct.c: Likewise.
38549 * misc/brk.c: Likewise.
38550 * misc/chflags.c: Likewise.
38551 * misc/chroot.c: Likewise.
38552 * misc/fchflags.c: Likewise.
38553 * misc/fgetxattr.c: Likewise.
38554 * misc/flistxattr.c: Likewise.
38555 * misc/fremovexattr.c: Likewise.
38556 * misc/fsetxattr.c: Likewise.
38557 * misc/fsync.c: Likewise.
38558 * misc/ftruncate.c: Likewise.
38559 * misc/futimes.c: Likewise.
38560 * misc/futimesat.c: Likewise.
38561 * misc/getdomain.c: Likewise.
38562 * misc/getdtsz.c: Likewise.
38563 * misc/gethostid.c: Likewise.
38564 * misc/gethostname.c: Likewise.
38565 * misc/getloadavg.c: Likewise.
38566 * misc/getpagesize.c: Likewise.
38567 * misc/getsysstats.c: Likewise.
38568 * misc/getxattr.c: Likewise.
38569 * misc/gtty.c: Likewise.
38570 * misc/ioctl.c: Likewise.
38571 * misc/lgetxattr.c: Likewise.
38572 * misc/listxattr.c: Likewise.
38573 * misc/llistxattr.c: Likewise.
38574 * misc/lremovexattr.c: Likewise.
38575 * misc/lsetxattr.c: Likewise.
38576 * misc/lutimes.c: Likewise.
38577 * misc/madvise.c: Likewise.
38578 * misc/mincore.c: Likewise.
38579 * misc/mlock.c: Likewise.
38580 * misc/mlockall.c: Likewise.
38581 * misc/mmap.c: Likewise.
38582 * misc/mprotect.c: Likewise.
38583 * misc/msync.c: Likewise.
38584 * misc/munlock.c: Likewise.
38585 * misc/munlockall.c: Likewise.
38586 * misc/munmap.c: Likewise.
38587 * misc/preadv.c: Likewise.
38588 * misc/preadv64.c: Likewise.
38589 * misc/ptrace.c: Likewise.
38590 * misc/pwritev.c: Likewise.
38591 * misc/pwritev64.c: Likewise.
38592 * misc/readv.c: Likewise.
38593 * misc/reboot.c: Likewise.
38594 * misc/remap_file_pages.c: Likewise.
38595 * misc/removexattr.c: Likewise.
38596 * misc/revoke.c: Likewise.
38597 * misc/select.c: Likewise.
38598 * misc/setdomain.c: Likewise.
38599 * misc/setegid.c: Likewise.
38600 * misc/seteuid.c: Likewise.
38601 * misc/sethostid.c: Likewise.
38602 * misc/sethostname.c: Likewise.
38603 * misc/setregid.c: Likewise.
38604 * misc/setreuid.c: Likewise.
38605 * misc/setxattr.c: Likewise.
38606 * misc/sstk.c: Likewise.
38607 * misc/stty.c: Likewise.
38608 * misc/swapoff.c: Likewise.
38609 * misc/swapon.c: Likewise.
38610 * misc/sync.c: Likewise.
38611 * misc/syncfs.c: Likewise.
38612 * misc/syscall.c: Likewise.
38613 * misc/truncate.c: Likewise.
38614 * misc/ualarm.c: Likewise.
38615 * misc/usleep.c: Likewise.
38616 * misc/ustat.c: Likewise.
38617 * misc/utimes.c: Likewise.
38618 * misc/vhangup.c: Likewise.
38619 * misc/writev.c: Likewise.
38620 * posix/_exit.c: Likewise.
38621 * posix/alarm.c: Likewise.
38622 * posix/execve.c: Likewise.
38623 * posix/fexecve.c: Likewise.
38624 * posix/fork.c: Likewise.
38625 * posix/fpathconf.c: Likewise.
38626 * posix/getaddrinfo.c: Likewise.
38627 * posix/getegid.c: Likewise.
38628 * posix/geteuid.c: Likewise.
38629 * posix/getgid.c: Likewise.
38630 * posix/getgroups.c: Likewise.
38631 * posix/getlogin.c: Likewise.
38632 * posix/getlogin_r.c: Likewise.
38633 * posix/getpgid.c: Likewise.
38634 * posix/getpid.c: Likewise.
38635 * posix/getppid.c: Likewise.
38636 * posix/getresgid.c: Likewise.
38637 * posix/getresuid.c: Likewise.
38638 * posix/getsid.c: Likewise.
38639 * posix/getuid.c: Likewise.
38640 * posix/glob64.c: Likewise.
38641 * posix/nanosleep.c: Likewise.
38642 * posix/pathconf.c: Likewise.
38643 * posix/pause.c: Likewise.
38644 * posix/posix_madvise.c: Likewise.
38645 * posix/pread.c: Likewise.
38646 * posix/pread64.c: Likewise.
38647 * posix/pwrite.c: Likewise.
38648 * posix/pwrite64.c: Likewise.
38649 * posix/sched_getaffinity.c: Likewise.
38650 * posix/sched_getp.c: Likewise.
38651 * posix/sched_gets.c: Likewise.
38652 * posix/sched_primax.c: Likewise.
38653 * posix/sched_primin.c: Likewise.
38654 * posix/sched_rr_gi.c: Likewise.
38655 * posix/sched_setaffinity.c: Likewise.
38656 * posix/sched_setp.c: Likewise.
38657 * posix/sched_sets.c: Likewise.
38658 * posix/sched_yield.c: Likewise.
38659 * posix/setgid.c: Likewise.
38660 * posix/setlogin.c: Likewise.
38661 * posix/setpgid.c: Likewise.
38662 * posix/setresgid.c: Likewise.
38663 * posix/setresuid.c: Likewise.
38664 * posix/setsid.c: Likewise.
38665 * posix/setuid.c: Likewise.
38666 * posix/sleep.c: Likewise.
38667 * posix/spawni.c: Likewise.
38668 * posix/sysconf.c: Likewise.
38669 * posix/times.c: Likewise.
38670 * posix/wait.c: Likewise.
38671 * posix/wait3.c: Likewise.
38672 * posix/wait4.c: Likewise.
38673 * posix/waitpid.c: Likewise.
38674 * resolv/gai_sigqueue.c: Likewise.
38675 * resource/getpriority.c: Likewise.
38676 * resource/getrlimit.c: Likewise.
38677 * resource/getrusage.c: Likewise.
38678 * resource/nice.c: Likewise.
38679 * resource/setpriority.c: Likewise.
38680 * resource/setrlimit.c: Likewise.
38681 * resource/ulimit.c: Likewise.
38682 * rt/aio_cancel.c: Likewise.
38683 * rt/aio_fsync.c: Likewise.
38684 * rt/aio_read.c: Likewise.
38685 * rt/aio_sigqueue.c: Likewise.
38686 * rt/aio_suspend.c: Likewise.
38687 * rt/aio_write.c: Likewise.
38688 * rt/clock_getres.c: Likewise.
38689 * rt/clock_gettime.c: Likewise.
38690 * rt/clock_nanosleep.c: Likewise.
38691 * rt/clock_settime.c: Likewise.
38692 * rt/lio_listio.c: Likewise.
38693 * rt/mq_close.c: Likewise.
38694 * rt/mq_getattr.c: Likewise.
38695 * rt/mq_notify.c: Likewise.
38696 * rt/mq_open.c: Likewise.
38697 * rt/mq_receive.c: Likewise.
38698 * rt/mq_send.c: Likewise.
38699 * rt/mq_setattr.c: Likewise.
38700 * rt/mq_timedreceive.c: Likewise.
38701 * rt/mq_timedsend.c: Likewise.
38702 * rt/mq_unlink.c: Likewise.
38703 * rt/shm_open.c: Likewise.
38704 * rt/shm_unlink.c: Likewise.
38705 * rt/timer_create.c: Likewise.
38706 * rt/timer_delete.c: Likewise.
38707 * rt/timer_getoverr.c: Likewise.
38708 * rt/timer_gettime.c: Likewise.
38709 * rt/timer_settime.c: Likewise.
38710 * setjmp/__longjmp.c: Likewise.
38711 * setjmp/setjmp.c: Likewise.
38712 * signal/kill.c: Likewise.
38713 * signal/killpg.c: Likewise.
38714 * signal/raise.c: Likewise.
38715 * signal/sigaction.c: Likewise.
38716 * signal/sigaltstack.c: Likewise.
38717 * signal/sigblock.c: Likewise.
38718 * signal/sigignore.c: Likewise.
38719 * signal/sigintr.c: Likewise.
38720 * signal/signal.c: Likewise.
38721 * signal/sigpause.c: Likewise.
38722 * signal/sigpending.c: Likewise.
38723 * signal/sigqueue.c: Likewise.
38724 * signal/sigreturn.c: Likewise.
38725 * signal/sigset.c: Likewise.
38726 * signal/sigsetmask.c: Likewise.
38727 * signal/sigstack.c: Likewise.
38728 * signal/sigsuspend.c: Likewise.
38729 * signal/sigtimedwait.c: Likewise.
38730 * signal/sigvec.c: Likewise.
38731 * signal/sigwait.c: Likewise.
38732 * signal/sigwaitinfo.c: Likewise.
38733 * signal/sysv_signal.c: Likewise.
38734 * socket/accept.c: Likewise.
38735 * socket/accept4.c: Likewise.
38736 * socket/bind.c: Likewise.
38737 * socket/connect.c: Likewise.
38738 * socket/getpeername.c: Likewise.
38739 * socket/getsockname.c: Likewise.
38740 * socket/getsockopt.c: Likewise.
38741 * socket/isfdtype.c: Likewise.
38742 * socket/listen.c: Likewise.
38743 * socket/recv.c: Likewise.
38744 * socket/recvfrom.c: Likewise.
38745 * socket/recvmsg.c: Likewise.
38746 * socket/send.c: Likewise.
38747 * socket/sendmsg.c: Likewise.
38748 * socket/sendto.c: Likewise.
38749 * socket/setsockopt.c: Likewise.
38750 * socket/shutdown.c: Likewise.
38751 * socket/sockatmark.c: Likewise.
38752 * socket/socket.c: Likewise.
38753 * socket/socketpair.c: Likewise.
38754 * stdio-common/ctermid.c: Likewise.
38755 * stdio-common/cuserid.c: Likewise.
38756 * stdio-common/remove.c: Likewise.
38757 * stdio-common/rename.c: Likewise.
38758 * stdio-common/renameat.c: Likewise.
38759 * stdio-common/tempname.c: Likewise.
38760 * stdlib/getcontext.c: Likewise.
38761 * stdlib/makecontext.c: Likewise.
38762 * stdlib/setcontext.c: Likewise.
38763 * stdlib/swapcontext.c: Likewise.
38764 * stdlib/system.c: Likewise.
38765 * streams/fattach.c: Likewise.
38766 * streams/fdetach.c: Likewise.
38767 * streams/getmsg.c: Likewise.
38768 * streams/getpmsg.c: Likewise.
38769 * streams/putmsg.c: Likewise.
38770 * streams/putpmsg.c: Likewise.
38771 * sysdeps/unix/bsd/getpt.c: Likewise.
38772 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38773 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38774 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38776 Likewise.
38777 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38778 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38779 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38780 * sysvipc/msgctl.c: Likewise.
38781 * sysvipc/msgget.c: Likewise.
38782 * sysvipc/msgrcv.c: Likewise.
38783 * sysvipc/msgsnd.c: Likewise.
38784 * sysvipc/semctl.c: Likewise.
38785 * sysvipc/semget.c: Likewise.
38786 * sysvipc/semop.c: Likewise.
38787 * sysvipc/semtimedop.c: Likewise.
38788 * sysvipc/shmat.c: Likewise.
38789 * sysvipc/shmctl.c: Likewise.
38790 * sysvipc/shmdt.c: Likewise.
38791 * sysvipc/shmget.c: Likewise.
38792 * termios/tcdrain.c: Likewise.
38793 * termios/tcflow.c: Likewise.
38794 * termios/tcflush.c: Likewise.
38795 * termios/tcgetattr.c: Likewise.
38796 * termios/tcgetpgrp.c: Likewise.
38797 * termios/tcsendbrk.c: Likewise.
38798 * termios/tcsetattr.c: Likewise.
38799 * termios/tcsetpgrp.c: Likewise.
38800 * time/adjtime.c: Likewise.
38801 * time/clock.c: Likewise.
38802 * time/getitimer.c: Likewise.
38803 * time/gettimeofday.c: Likewise.
38804 * time/setitimer.c: Likewise.
38805 * time/settimeofday.c: Likewise.
38806 * time/stime.c: Likewise.
38807 * time/time.c: Likewise.
38808
388092012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 38810
a20492cf
PT
38811 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38812 /usr/old/bin.
38813
72e182e3
PT
38814 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38815 instead of spaces.
38816 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38817
fbeafede
JM
388182012-11-03 Joseph Myers <joseph@codesourcery.com>
38819
5b5b04d6
JM
38820 [BZ #14796]
38821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38822 FE_TONEAREST before applying Dekker multiplication and Knuth
38823 addition. Clear inexact exceptions and check for exact zero
38824 results afterwards.
38825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38826 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38828 * math/libm-test.inc (fma_test): Add more tests.
38829 (fma_test_towardzero): Likewise.
38830 (fma_test_downward): Likewise.
38831 (fma_test_upward): Likewise.
38832 * sysdeps/generic/math_private.h (default_libc_fesetround): New
38833 function.
38834 (libc_fesetround): New macro.
38835 (libc_fesetroundf): Likewise.
38836 (libc_fesetroundl): Likewise.
38837 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38838 function.
38839 (libc_fesetround_387): Likewise.
38840 (libc_fesetroundf): New macro.
38841 (libc_fesetround): Likewise.
38842 (libc_fesetroundl): Likewise.
38843 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38844 function.
38845 (libc_fesetroundf): New macro.
38846 (libc_fesetround): Likewise.
38847 (libc_fesetroundl): Likewise.
38848 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38849 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38850 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38851 libm_hidden_ver.
38852 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38853 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38854 libm_hidden_def.
38855 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38856 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38857 libm_hidden_ver.
38858 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38859 libm_hidden_def.
38860
fbeafede
JM
38861 [BZ #3439]
38862 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38863 integer constant usable in #if and use that to give value to enum
38864 constant.
38865 (FE_DIVBYZERO): Likewise.
38866 (FE_UNDERFLOW): Likewise.
38867 (FE_OVERFLOW): Likewise.
38868 (FE_INVALID): Likewise.
38869 (FE_INVALID_SNAN): Likewise.
38870 (FE_INVALID_ISI): Likewise.
38871 (FE_INVALID_IDI): Likewise.
38872 (FE_INVALID_ZDZ): Likewise.
38873 (FE_INVALID_IMZ): Likewise.
38874 (FE_INVALID_COMPARE): Likewise.
38875 (FE_INVALID_SOFTWARE): Likewise.
38876 (FE_INVALID_SQRT): Likewise.
38877 (FE_INVALID_INTEGER_CONVERSION): Likewise.
38878 (FE_TONEAREST): Likewise.
38879 (FE_TOWARDZERO): Likewise.
38880 (FE_UPWARD): Likewise.
38881 (FE_DOWNWARD): Likewise.
38882 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38883 (FE_DIVBYZERO): Likewise.
38884 (FE_OVERFLOW): Likewise.
38885 (FE_UNDERFLOW): Likewise.
38886 (FE_INEXACT): Likewise.
38887 (FE_TONEAREST): Likewise.
38888 (FE_DOWNWARD): Likewise.
38889 (FE_UPWARD): Likewise.
38890 (FE_TOWARDZERO): Likewise.
38891 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38892 (FE_UNDERFLOW): Likewise.
38893 (FE_OVERFLOW): Likewise.
38894 (FE_DIVBYZERO): Likewise.
38895 (FE_INVALID): Likewise.
38896 (FE_TONEAREST): Likewise.
38897 (FE_TOWARDZERO): Likewise.
38898 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38899 (FE_OVERFLOW): Likewise.
38900 (FE_UNDERFLOW): Likewise.
38901 (FE_DIVBYZERO): Likewise.
38902 (FE_INEXACT): Likewise.
38903 (FE_TONEAREST): Likewise.
38904 (FE_TOWARDZERO): Likewise.
38905 (FE_UPWARD): Likewise.
38906 (FE_DOWNWARD): Likewise.
38907 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38908 (FE_DIVBYZERO): Likewise.
38909 (FE_OVERFLOW): Likewise.
38910 (FE_UNDERFLOW): Likewise.
38911 (FE_INEXACT): Likewise.
38912 (FE_TONEAREST): Likewise.
38913 (FE_DOWNWARD): Likewise.
38914 (FE_UPWARD): Likewise.
38915 (FE_TOWARDZERO): Likewise.
38916
105ca950
CM
389172012-11-02 Chris Metcalf <cmetcalf@tilera.com>
38918
38919 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38920
a542b389
AS
389212012-11-03 Andreas Schwab <schwab@linux-m68k.org>
38922
38923 * scripts/cross-test-ssh.sh (command): Use newlines to separate
38924 commands. Quote $PWD.
38925 (blacklist_exports): Don't use remove_newlines. Replace "declare
38926 -x" by "export".
38927 (remove_newlines): Remove.
38928
f62c8abc
L
389292012-11-02 H.J. Lu <hongjiu.lu@intel.com>
38930
38931 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38932 * stdlib/stdlib.h (atof): Moved to ...
38933 * include/bits/stdlib-float.h: Here. New file.
38934 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38935 * stdlib/bits/stdlib-float.h: New file.
38936 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38937 -mno-sse -mno-mmx.
38938 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38939 <xmmintrin.h>.
38940
0155d5b2
JM
389412012-11-02 Joseph Myers <joseph@codesourcery.com>
38942
a68d0680
JM
38943 * conform/conformtest.pl (@headers): Add fenv.h.
38944 * conform/data/fenv.h-data: New file.
38945 * include/fenv.h [_ISOMAC]: Disable all contents of file except
38946 include of <math/fenv.h>.
38947
caf7f573
JM
38948 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38949 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38950 && !UNIX98]. Enables tests for XOPEN2K8.
38951 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38952 POSIX2008]: Likewise.
38953
6c073ad6
JM
38954 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38955 (struct rusage): Do not expect type or its members.
38956
0155d5b2
JM
38957 [BZ #3439]
38958 * math/math.h (FP_NAN): Define macro to integer constant usable in
38959 #if and use that to give value to enum constant.
38960 (FP_INFINITE): Likewise.
38961 (FP_ZERO): Likewise.
38962 (FP_SUBNORMAL): Likewise.
38963 (FP_NORMAL): Likewise.
38964
b5dcacb4
AS
389652012-11-02 Andreas Schwab <schwab@linux-m68k.org>
38966
38967 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38968 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38969 arguments.
38970
f7934be8
RM
389712012-11-02 Roland McGrath <roland@hack.frob.com>
38972
38973 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38974 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38975 autoconf-time if not.
38976 * configure.in: Remove AC_PREREQ.
38977
d7d08bde
TMQMF
389782012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38979
38980 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38981 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38982 of the internal implementation.
38983
dcdae19a
JM
389842012-11-02 Joseph Myers <joseph@codesourcery.com>
38985
38986 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38987 except include of <misc/sys/syslog.h>.
38988
d6cffd3e
AS
389892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38990
38991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38992 function returns with a NULL context exit with zero.
38993
b3563932
TMQMF
389942012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38995
38996 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38997
b288a93d
L
389982012-11-01 H.J. Lu <hongjiu.lu@intel.com>
38999
39000 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39001 (run_program_cmd): This.
39002 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39003 (tst_langinfo): New variable. Use it.
39004
a2421a68
SAS
390052012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39006
39007 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39008 floating point opcodes.
39009
6f796e1b
TS
390102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39011
7402596b
TS
39012 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39013 variable.
39014
d0d4f868
TS
39015 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39016
6f796e1b
TS
39017 * sysdeps/mach/hurd/powerpc: Remove directory.
39018 * sysdeps/mach/powerpc: Likewise.
39019
4da224a2
AS
390202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39021
39022 * scripts/check-local-headers.sh: Ignore c++ headers.
39023
341dd673
TS
390242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39025
39026 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39027 __libc_cleanup_region_start argument.
39028
473611b2
JM
390292012-11-01 Joseph Myers <joseph@codesourcery.com>
39030
39031 [BZ #14784]
39032 [BZ #14785]
39033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39034 x * y using scaling, not as x * y + z.
39035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39037 * math/libm-test.inc (fma_test): Add more tests.
39038 (fma_test_towardzero): Likewise.
39039 (fma_test_downward): Likewise.
39040 (fma_test_upward): Likewise.
39041
4078da3d
TS
390422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39043
39044 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39045
903252aa
JM
390462012-10-31 Joseph Myers <joseph@codesourcery.com>
39047
39048 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39049 New variable.
39050
cbc818d0
TS
390512012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39052
39053 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39054
5a03cb1e
AS
390552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39056
39057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39058 Fix sort order.
39059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39060 Likewise.
39061
90aff2ff
TMQMF
390622012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39063
39064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39065 Fix the order of the list for glibc 2.17.
39066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39067 Likewise.
39068
1818fcb7
AS
390692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39070
39071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39072
ef82f4da
JM
390732012-10-31 Joseph Myers <joseph@codesourcery.com>
39074
16a0e2ec
JM
39075 [BZ #14610]
39076 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39077 for low part of x being zero before using __atanl (y).
39078 * math/libm-test.inc (atan2_test): Add another test.
39079
0eb69512
JM
39080 * manual/install.texi (Configuring and compiling): Document
39081 general use of test-wrapper and test-wrapper-env.
39082 * INSTALL: Regenerated.
39083
ef82f4da
JM
39084 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39085 (__fma): Do not extract and scale down low bits on after-rounding
39086 systems when result rounded to normal precision would have normal
39087 exponent.
39088 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39089 (__fmal): Do not extract and scale down low bits on after-rounding
39090 systems when result rounded to normal precision would have normal
39091 exponent.
39092 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39093 (__fmal): Do not extract and scale down low bits on after-rounding
39094 systems when result rounded to normal precision would have normal
39095 exponent.
39096 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39097 macro.
39098 (fma_test): Add more tests.
39099 (fma_test_towardzero): Likewise.
39100 (fma_test_downward): Likewise.
39101 (fma_test_upward): Likewise.
39102
954ef0d9
L
391032012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39104
39105 * sysdeps/i386/tininess.h: Renamed to ...
39106 * sysdeps/x86/tininess.h: This.
39107 * sysdeps/x86_64/tininess.h: Removed.
39108
df61ffb2
JM
391092012-10-30 Joseph Myers <joseph@codesourcery.com>
39110
39111 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39112 input. Use $(build-program-cmd).
39113 ($(objpfx)tst-array1-static.out): Likewise.
39114 ($(objpfx)tst-array2.out): Likewise.
39115 ($(objpfx)tst-array3.out): Likewise.
39116 ($(objpfx)tst-array4.out): Likewise.
39117 ($(objpfx)tst-array5.out): Likewise.
39118 ($(objpfx)tst-array5-static.out): Likewise.
39119
01767843
CM
391202012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39121
47cc1490
CM
39122 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39123 if defined.
39124
01767843
CM
39125 * nss/nsswitch.h (nss_interface_function): Provide new
39126 macro for use with NSS functions.
39127 * grp/initgroups.c: Use new macro.
39128 * nss/getXXbyYY.c: Likewise.
39129 * nss/getXXbyYY_r.c: Likewise.
39130 * nss/getXXent.c: Likewise.
39131 * nss/getXXent_r.c: Likewise.
39132 * sysdeps/posix/getaddrinfo.c: Likewise.
39133
8321aa97
AJ
391342012-10-30 Andreas Jaeger <aj@suse.de>
39135
39136 * po/ru.po: Update Russion translation from translation project.
39137
2a27fd6d
JM
391382012-10-30 Joseph Myers <joseph@codesourcery.com>
39139
8627a232
JM
39140 [BZ #14152]
39141 [BZ #14783]
39142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39143 result and shift together with sticky bit instead of replicating
39144 round-to-nearest rounding.
39145 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39146 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39147 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39148 missing underflow exceptions.
39149 (fma_test_towardzero): Add more tests.
39150 (fma_test_downward): Likewise.
39151 (fma_test_upward): Likewise.
39152
2a27fd6d
JM
39153 [BZ #14047]
39154 * sysdeps/generic/tininess.h: New file.
39155 * sysdeps/i386/tininess.h: Likewise.
39156 * sysdeps/sh/tininess.h: Likewise.
39157 * sysdeps/x86_64/tininess.h: Likewise.
39158 * stdlib/tst-strtod-underflow.c: Likewise.
39159 * stdlib/tst-tininess.c: Likewise.
39160 * stdlib/strtod_l.c: Include <tininess.h>.
39161 (round_and_return): Do not set errno for exact underflow cases.
39162 Force an underflow exception when setting errno for underflow.
39163 Determine underflow based on rounding to normal precision if
39164 TININESS_AFTER_ROUNDING.
39165 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39166 ERANGE for exact underflow cases.
39167 * stdlib/Makefile (tests): Add tst-tininess and
39168 tst-strtod-underflow.
39169 ($(objpfx)tst-tininess): Use $(link-libm).
39170 ($(objpfx)tst-strtod-underflow): Likewise.
39171
e7170363
AJ
391722012-10-30 Andreas Jaeger <aj@suse.de>
39173
e5088dc6
AJ
39174 [BZ#14767]
39175 * elf/Makefile (tests): Remove conditional for have-initfini-array
39176 since this is now always required and the variable does not exist
39177 anymore.
39178 (tests-static): Likewise.
39179 (modules-names): Likewise.
39180
e7170363 39181 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
39182
39183 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39184 merged with constructor/destructor.
39185 (init_array): Likewise.
39186 * elf/tst-array2dep.c (fini_array): Likewise.
39187 (init_array): Likewise.
39188
60457d8a
MF
391892012-10-29 Mike Frysinger <vapier@gentoo.org>
39190
39191 * manual/message.texi: Delete @cartouche tags.
39192
8bece752
PT
391932012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39194
94ce799f
PT
39195 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39196 EOPNOTSUPP.
39197 * sysdeps/mach/hurd/fsync.c: Likewise.
39198
8bece752
PT
39199 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39200 [_POSIX_REALTIME_SIGNALS]: Change condition to
39201 [_POSIX_REALTIME_SIGNALS > 0].
39202
86ebe6b1
AJ
392032012-10-27 Andreas Jaeger <aj@suse.de>
39204
39205 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39206 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39208 [__WORDSIZE != 64]: Likewise.
39209
54399c08
L
392102012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39211
39212 * iconvdata/tst-table.sh: Remove ${SHELL}.
39213 * iconvdata/tst-tables.sh: Likewise.
39214
e2211bed
DM
392152012-10-25 David S. Miller <davem@davemloft.net>
39216
39217 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39218 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39219 of strtoull.
39220
f303f97c
DM
39221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39222 ifunc-impl-list.c
39223 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39224 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39225 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39226 file.
39227
1e9d84cd
RM
392282012-10-25 Roland McGrath <roland@hack.frob.com>
39229
39230 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39231 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39232 __getdirentries.
39233
df381762
JM
392342012-10-25 Joseph Myers <joseph@codesourcery.com>
39235 Jim Blandy <jimb@codesourcery.com>
39236
39237 * scripts/cross-test-ssh.sh: New file.
39238 * manual/install.texi (Configuring and compiling): Document use of
39239 cross-test-ssh.sh.
39240 * INSTALL: Regenerated.
39241
bff64913
PT
392422012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39243
39244 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39245 EOPNOTSUPP.
39246
25fe8932
JM
392472012-10-25 Joseph Myers <joseph@codesourcery.com>
39248
39249 * Makeconfig (run-program-prefix): Fix comment.
39250
cc1290d0
JM
392512012-10-24 Joseph Myers <joseph@codesourcery.com>
39252 Jim Blandy <jimb@codesourcery.com>
39253
39254 * Makeconfig (test-wrapper): New variable,
39255 (test-wrapper-env): Likewise.
39256 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39257 (run-built-tests): Define to yes.
39258 (run-program-prefix): Use $(test-wrapper).
39259 (built-program-cmd): Likewise.
39260 * Rules (make-test-out): Use $(test-wrapper-env) and
39261 $(host-built-program-cmd).
39262 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39263 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39264 tst-pathopt.sh.
39265 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39266 $(test-wrapper-env) to tst-rtld-load-self.sh.
39267 ($(objpfx)order2.out): Use $(test-wrapper).
39268 ($(objpfx)tst-initorder.out): Likewise.
39269 ($(objpfx)tst-initorder2.out): Likewise.
39270 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39271 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39272 (test_wrapper_env): New variable. Use it to run ld.so.
39273 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39274 Use it to run ld.so.
39275 (test_wrapper_env): Likewise.
39276 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39277 $(test-wrapper) to run-iconv-test.sh.
39278 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39279 (ICONV): Use $test_wrapper.
39280 * posix/Makefile ($(objpfx)globtest.out): Pass
39281 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39282 globtest.sh, not $(run-program-prefix).
39283 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39284 (test_wrapper): Likewise.
39285 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39286 set together with run_via_rtld_prefix.
39287 (run_program_prefix): Define in terms of test_wrapper and
39288 run_via_rtld_prefix.
39289
6e6249d0
RM
392902012-10-24 Roland McGrath <roland@hack.frob.com>
39291
39292 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39293 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39294 Targets removed.
39295
39296 [BZ #14743]
39297 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39298 Declare __clock_getres, __clock_gettime, __clock_settime,
39299 __clock_nanosleep, and __clock_getcpuclockid.
39300 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39301 Remove librt_hidden_def (clock_gettime).
39302 * sysdeps/unix/clock_gettime.c: Likewise.
39303 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39304 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39305 * rt/clock_getres.c: Define __clock_getres as an alias.
39306 * sysdeps/posix/clock_getres.c: Likewise.
39307 * rt/clock_settime.c: Define __clock_settime as an alias.
39308 * sysdeps/unix/clock_settime.c: Likewise.
39309 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39310 * sysdeps/unix/clock_nanosleep.c: Likewise.
39311 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39312 * rt/clock-compat.c: New file.
39313 * rt/Makefile (librt-routines): Add clock-compat and move
39314 $(clock-routines) to ...
39315 (routines): ... here, new variable.
39316 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39317 Don't add get_clockfreq here.
39318 * rt/Versions (libc: GLIBC_2.17): New version set.
39319 Add clock_* symbols here.
39320 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39322 (GLIBC_2.17): Add clock_* symbols.
39323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39325 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39327 Likewise.
39328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39329 Likewise.
39330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39334 * NEWS: Mention the move.
39335
39336 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39337 Use __open, __read, __close rather than their public counterparts.
39338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39339 (__get_clockfreq_via_cpuinfo): Likewise.
39340 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39341 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39342
39343 * config.h.in (HAVE_IFUNC): New #undef.
39344 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39345 was successful.
39346 * configure: Regenerated.
39347
0cae3f4b
MF
393482012-10-24 Mike Frysinger <vapier@gentoo.org>
39349
39350 * configure.in: Move READELF check to start of file.
39351 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39352 libc_cv_asm_gnu_indirect_function in the process.
39353 * configure: Regenerated.
39354
8175a253
MF
393552012-10-24 Mike Frysinger <vapier@gentoo.org>
39356
39357 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39358 send the output to /dev/null.
39359 (libc_cv_cc_with_libunwind): Likewise.
39360 (libc_cv_as_noexecstack): Likewise.
39361 * configure: Regenerate.
39362
0708a7d1
JM
393632012-10-24 Joseph Myers <joseph@codesourcery.com>
39364
10b40d85
JM
39365 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39366
0708a7d1
JM
39367 * posix/globtest.sh (TMPDIR): Do not set.
39368 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39369 (testout): Likewise.
39370
9fddec1a
AJ
393712012-10-24 Andreas Jaeger <aj@suse.de>
39372
3a8db22f
AJ
39373 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39374 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39375 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39376 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39377 posix_fadvise64, posix_fallocate64.
39378
9fddec1a
AJ
39379 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39380 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39381 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39382 Likewise.
39383 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39384 Likewise.
39385 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39386
39387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39388 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39389 <bits/fcntl-linux.h>.
39390 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39391
39392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39393 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39394 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39395 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39396 [__WORDSIZE != 64]: Likewise.
39397
ebfd1bbd
JM
393982012-10-23 Joseph Myers <joseph@codesourcery.com>
39399
03ac099f
JM
39400 * Makeconfig (run-built-tests): New variable.
39401 * Rules [$(cross-compiling) = yes]: Change condition to
39402 [$(run-built-tests) = no].
39403 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39404 to [$(run-built-tests) = yes].
39405 * elf/Makefile [$(cross-compiling) = no]: Likewise
39406 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39407 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39408 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39409 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39410 * io/Makefile [$(cross-compiling) = no]: Likewise.
39411 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39412 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39413 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39414 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39415 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39416 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39417 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39418 * string/Makefile [$(cross-compiling) = no]: Likewise.
39419
ebfd1bbd
JM
39420 * posix/Makefile ($(objpfx)globtest.out): Pass
39421 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39422 $(rtld-installed-name).
39423 * posix/globtest.sh (elf_objpfx): Remove variable.
39424 (rtld_installed_name): Likewise.
39425 (library_path): Likewise.
39426 (run_program_prefix): New variable. Use for running globtest
39427 binary.
39428
166bca24
JB
394292012-10-23 Jim Blandy <jimb@codesourcery.com>
39430 Joseph Myers <joseph@codesourcery.com>
39431
39432 * Makeconfig (host-built-program-cmd): New variable.
39433 * elf/Makefile (tst-stackguard1-ARGS): Use
39434 $(host-built-program-cmd).
39435 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39436 (tst-spawn-ARGS): Likewise.
39437 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39438
88866099
JM
394392012-10-23 Joseph Myers <joseph@codesourcery.com>
39440 Jim Blandy <jimb@codesourcery.com>
39441
39442 * Makeconfig (run-via-rtld-prefix): New variable.
39443 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39444 (built-program-cmd): Likewise.
39445
b4b4c296
AJ
394462012-10-22 Andreas Jaeger <aj@suse.de>
39447
39448 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39449 __O_RSYNC if it exists, otherwise to O_SYNC.
39450
6fb54a22
JB
394512012-10-22 Jim Blandy <jimb@codesourcery.com>
39452 Joseph Myers <joseph@codesourcery.com>
39453
39454 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39455 /dev/null.
39456 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39457 from /dev/null
39458 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39459 /dev/null.
39460
481b90b9
AJ
394612012-10-22 Andreas Jaeger <aj@suse.de>
39462
2a0e2669
AJ
39463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39464 Define always.
39465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39466
76e38f9a
AJ
39467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39468 bits/fcntl-linux.h.
39469
7cd37b43
AJ
39470 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39471 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39472
481b90b9
AJ
39473 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39474 to __O_LARGEFILE.
39475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39476 to __O_LARGEFILE.
39477
aba75984
JB
394782012-10-21 Jim Blandy <jimb@codesourcery.com>
39479 Joseph Myers <joseph@codesourcery.com>
39480
39481 * config.make.in (NM): New variable.
39482
88d4247f
AJ
394832012-10-21 Andreas Jaeger <aj@suse.de>
39484
39485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39486 definitions and declarations that are provided by
39487 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39488
f2eed205
L
394892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39490
39491 [BZ #14683]
39492 * elf/Makefile (tests-static): Add tst-leaks1-static.
39493 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39494 ($(objpfx)tst-leaks1-static): New rule.
39495 ($(objpfx)tst-leaks1-static-mem): Likewise.
39496 (tst-leaks1-static-ENV): New macro.
39497 * elf/dl-open.c (dl_open_worker): Check the main application
39498 only if SHARED is defined.
39499 * elf/tst-leaks1-static.c: New file.
39500
335e6931
AJ
395012012-10-20 Andreas Jaeger <aj@suse.de>
39502
39503 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39504 generic values for Linux.
39505 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39506 and declarations that are provided by <bits/fcntl-linux.h> and
39507 include <bits/fcntl-linux.h>.
39508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39510
ac5c94d3
RM
395112012-10-20 Roland McGrath <roland@hack.frob.com>
39512
39513 * io/fcntl.h: Move include of <bits/types.h> to the top and
39514 include it unconditionally.
39515
de54b33a
L
395162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39517
228cfb01
L
39518 * wcsmbs/Makefile (tests-ifunc): New variable.
39519 (tests): Add $(tests-ifunc).
39520 * wcsmbs/test-wcschr-ifunc.c: New file.
39521 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39522 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39523 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39524 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39525 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39526
69f07e5f
L
39527 * string/Makefile (tests-ifunc): New variable.
39528 (tests): Add $(tests-ifunc).
39529 * string/test-memccpy.c (TEST_NAME): New macro.
39530 * string/test-memchr.c (TEST_NAME): Likewise.
39531 * string/test-memcmp.c (TEST_NAME): Likewise.
39532 * string/test-memcpy.c (TEST_NAME): Likewise.
39533 * string/test-memmem.c (TEST_NAME): Likewise.
39534 * string/test-memmove.c (TEST_NAME): Likewise.
39535 * string/test-memset.c (TEST_NAME): Likewise.
39536 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39537 * string/test-stpcpy.c (TEST_NAME): Likewise.
39538 * string/test-stpncpy.c (TEST_NAME): Likewise.
39539 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39540 * string/test-strcasestr.c (TEST_NAME): Likewise.
39541 * string/test-strcat.c (TEST_NAME): Likewise.
39542 * string/test-strchr.c (TEST_NAME): Likewise.
39543 * string/test-strcmp.c(TEST_NAME): Likewise.
39544 * string/test-strcpy.c (TEST_NAME): Likewise.
39545 * string/test-strcspn.c (TEST_NAME): Likewise.
39546 * string/test-strlen.c (TEST_NAME): Likewise.
39547 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39548 * string/test-strncmp.c (TEST_NAME): Likewise.
39549 * string/test-strncpy.c (TEST_NAME): Likewise.
39550 * string/test-strnlen.c (TEST_NAME): Likewise.
39551 * string/test-strpbrk.c (TEST_NAME): Likewise.
39552 * string/test-strrchr.c (TEST_NAME): Likewise.
39553 * string/test-strspn.c (TEST_NAME): Likewise.
39554 * string/test-strstr.c (TEST_NAME): Likewise.
39555 * string/test-bcopy-ifunc.c: New file.
39556 * string/test-bzero-ifunc.c: Likewise.
39557 * string/test-memccpy-ifunc.c: Likewise.
39558 * string/test-memchr-ifunc.c: Likewise.
39559 * string/test-memcmp-ifunc.c: Likewise.
39560 * string/test-memcpy-ifunc.c: Likewise.
39561 * string/test-memmem-ifunc.c: Likewise.
39562 * string/test-memmove-ifunc.c: Likewise.
39563 * string/test-mempcpy-ifunc.c: Likewise.
39564 * string/test-memset-ifunc.c: Likewise.
39565 * string/test-rawmemchr-ifunc.c: Likewise.
39566 * string/test-stpcpy-ifunc.c: Likewise.
39567 * string/test-stpncpy-ifunc.c: Likewise.
39568 * string/test-strcasecmp-ifunc.c: Likewise.
39569 * string/test-strcasestr-ifunc.c: Likewise.
39570 * string/test-strcat-ifunc.c: Likewise.
39571 * string/test-strchr-ifunc.c: Likewise.
39572 * string/test-strchrnul-ifunc.c: Likewise.
39573 * string/test-strcmp-ifunc.c: Likewise.
39574 * string/test-strcpy-ifunc.c: Likewise.
39575 * string/test-strcspn-ifunc.c: Likewise.
39576 * string/test-strlen-ifunc.c: Likewise.
39577 * string/test-strncasecmp-ifunc.c: Likewise.
39578 * string/test-strncat-ifunc.c: Likewise.
39579 * string/test-strncmp-ifunc.c: Likewise.
39580 * string/test-strncpy-ifunc.c: Likewise.
39581 * string/test-strnlen-ifunc.c: Likewise.
39582 * string/test-strpbrk-ifunc.c: Likewise.
39583 * string/test-strrchr-ifunc.c: Likewise.
39584 * string/test-strspn-ifunc.c: Likewise.
39585 * string/test-strstr-ifunc.c: Likewise.
39586
de54b33a
L
39587 * debug/Makefile (tests-ifunc): New variable.
39588 (tests): Add $(tests-ifunc).
39589 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39590 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39591 * debug/test-stpcpy_chk-ifunc.c: New file.
39592 * debug/test-strcpy_chk-ifunc.c: Likewise.
39593
88481c16
SP
395942012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39595
39596 [BZ #13601]
39597 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39598 header is not read in.
39599
135948bd
JM
396002012-10-19 Joseph Myers <joseph@codesourcery.com>
39601
89f1c388
JM
39602 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39603 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39604 directly. Pass built executable to script as
39605 $(built-program-cmd).
39606 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39607 $testprogram without using LD_LIBRARY_PATH and $ldso.
39608
e40a0d21
JM
39609 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39610 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39611 $(rtld-installed-name).
39612 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39613 (rtld_installed_name): Likewise.
39614 (library_path): Likewise.
39615 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39616 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39617 $(run-program-prefix) to tst-tables.sh.
39618 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39619 it to run tst-table-from and tst-table-to.
39620 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39621 Pass it to tst-table.sh.
39622 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39623 $(run-program-prefix) to tst-gettext.sh.
39624 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39625 tst-translit.sh.
39626 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39627 tst-gettext2.sh.
39628 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39629 to run tst-gettext.
39630 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39631 to run tst-gettext2.
39632 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39633 to run tst-translit.
39634 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39635 $(run-program-prefix) to tst-mtrace.sh.
39636 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39637 to run tst-mtrace.
39638 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39639 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39640 $(rtld-installed-name).
39641 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39642 (rtld_installed_name): Likewise.
39643 (run_program_prefix): New variable. Use it to run wordexp-test.
39644
728e272a
JM
39645 * Makeconfig (ARCH): Remove all definitions.
39646 (machine): Likewise.
39647 [ARCH]: Remove conditional code.
39648 [!objdir]: Give error.
39649 [!objdir] (objpfx): Remove.
39650 [!objdir] (common-objpfx): Likewise.
39651 [!objdir] (common-objdir): Likewise.
39652 * configure.in (config_makefile): Remove. Hardcode Makefile in
39653 AC_CONFIG_FILES call.
39654 * configure: Regenerated.
39655
d528cdcf
JM
39656 [BZ #13888]
39657 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39658 or TMPDIR.
39659 (testout): Likewise.
39660
135948bd
JM
39661 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39662 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39663 $(rtld-installed-name).
39664 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39665 (rtld_installed_name): Likwise.
39666 (runit): Remove function.
39667 (run_getconf): New variable, Use it for running getconf binary.
39668
38c78296
L
396692012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39670
39671 [BZ #14716]
39672 * string/test-memmem.c (check_result): New function.
39673 (do_one_test): Use it.
39674 (check1): New function.
39675 (test_main): Use it.
39676
d077f65f
MT
396772012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39678
39679 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39680
ced52c71
JM
396812012-10-18 Joseph Myers <joseph@codesourcery.com>
39682
39683 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39684 (_G_LSEEK64): Likewise.
39685 (_G_MMAP64): Likewise.
39686 (_G_FSTAT64): Likewise.
39687 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39688 (_G_LSEEK64): Likewise.
39689 (_G_MMAP64): Likewise.
39690 (_G_FSTAT64): Likewise.
39691 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39692 unconditional. Call __mmap64 directly.
39693 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39694 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
39695 __lseek64 directly.
39696 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39697 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
39698 __mmap64 directly.
39699 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39700 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
39701 __lseek64 directly.
39702 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39703 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
39704 __lseek64 directly.
39705 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39706 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
39707 __lseek64 directly.
39708 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39709 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
39710 __fxstat64 directly.
39711 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39712 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39713 unconditional.
39714 (freopen64) [!_G_OPEN64]: Remove conditional code.
39715 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39716 unconditional.
39717 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39718 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39719 unconditional.
39720 (ftello64) [!_G_LSEEK64]: Remove conditional code.
39721 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39722 unconditional.
39723 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39724 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39725 unconditional.
39726 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39727 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39728 unconditional.
39729 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39730 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39731 unconditional.
39732 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39733 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39734 unconditional.
39735 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39736
b741de23
SP
397372012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39738
39739 [BZ #12140]
39740 * manual/memory.texi (Malloc Tunable Parameters): Add note
39741 about free list pointers overwriting some perturb bytes.
39742 Wording suggested by Roland McGrath.
39743
f9b9d9c9
JM
397442012-10-17 Joseph Myers <joseph@codesourcery.com>
39745
39746 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39747 (lgamma_test): Likewise.
39748 (tgamma_test): Likewise.
39749
172a631a
FW
397502012-10-16 Florian Weimer <fweimer@redhat.com>
39751
39752 [BZ #14700]
39753 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39754 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39755
e9f37252
MK
397562012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
39757
39758 * NEWS: Mention BZ #14716.
39759 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39760 when removing AVAILABLE1_USES_J macro.
39761
d394eb74
L
397622012-10-12 H.J. Lu <hongjiu.lu@intel.com>
39763
39764 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39765 (__bswap_64): __uint64_t for unsigned 64-bit int.
39766
ca38dc17
AS
397672012-10-12 Andreas Schwab <schwab@linux-m68k.org>
39768
39769 * include/string.h (memmem): Declare libc hidden alias.
39770 * string/memmem.c (memmem): Define libc hidden alias.
39771 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39772 __read, __close instead of open, read, close.
39773
9a387d1f
L
397742012-10-11 H.J. Lu <hongjiu.lu@intel.com>
39775
ac49ecaf
L
39776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39777 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39778 global and hidden.
39779 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39780 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39781 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39782 Likewise.
39783 (__rawmemchr_sse2): Likewise.
39784 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39785 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39786 (__strchr_sse2): Likewise.
39787 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39788 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39789 (__strcasecmp_sse2): Likewise.
39790 (__strncasecmp_sse2): Likewise.
39791 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39792 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39793 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39794 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39795 (__strrchr_sse2): Likewise.
39796 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39797 ifunc-impl-list.c.
39798 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39799 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39800 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39801 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39802 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39803 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39804 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39805 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39806 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39807 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39808 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39809 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39810 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39811 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39812 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39813 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39814 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39815 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39816 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39817 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39818 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39819 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39820 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39821 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39822 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39823 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39824 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39825 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39826 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39827 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39828
b090e8ea
L
39829 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39830 global and hidden.
39831 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39832 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39833 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39834 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39835 Likewise.
39836 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39837 Likewise.
39838 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39839 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39840 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39841 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39842 ifunc-impl-list.c.
39843 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39844 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39845 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39846 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39847 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39848 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39849 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39850 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39851 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39852 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39853 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39854 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39855 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39856 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39857 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39858 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39859 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39860 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39861 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39862 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39863 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39864 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39865 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39866 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39867 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39868 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
39869 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
39870 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39871 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39872 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39873 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39874 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39875 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39876 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39877 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39878 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39879 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39880 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39881 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39882 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39883 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39884
11dd4af6
L
39885 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39886 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39887 * include/ifunc-impl-list.h: New file.
39888 * misc/ifunc-impl-list.c: Likewise.
39889 * misc/Makefile (routines): Add ifunc-impl-list.
39890 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39891 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
39892 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39893 TEST_NAME]: New variables.
11dd4af6
L
39894 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39895 are defined.
39896 (test_init): Call __libc_ifunc_impl_list to initialize
39897 func_list if TEST_IFUNC and TEST_NAME are defined.
39898
9a387d1f
L
39899 * string/Makefile (strop-tests): Add bcopy and bzero.
39900 * string/test-bcopy.c: New file.
39901 * string/test-bzero.c: Likewise.
39902 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39903 defined.
39904 * string/test-memset.c: Support bzero test if TEST_BZERO is
39905 defined.
39906 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39907 __libc_memmove.
39908 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39909 __libc_memset.
39910 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39911 of memset.
39912
472371b9
JM
399132012-10-10 Joseph Myers <joseph@codesourcery.com>
39914
1e4a9536
JM
39915 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39916 * configure: Regenerated.
39917
d173d12e
JM
39918 * Makeconfig (+link-static-before-libc): Don't include
39919 $(link-static-libc).
39920
472371b9
JM
39921 * libio/libio.h (_IO_pos_t): Remove.
39922
89a3ad0b
AO
399232012-10-10 Alexandre Oliva <aoliva@redhat.com>
39924
39925 * NEWS: Add note about FIPS mode. Wording suggested by Roland
39926 McGrath.
39927
e7451425
AO
399282012-10-10 Alexandre Oliva <aoliva@redhat.com>
39929
39930 * crypt/crypt-entry.c: Include fips-private.h.
39931 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39932 * crypt/md5c-test.c (main): Tolerate disabled MD5.
39933 * sysdeps/unix/sysv/linux/fips-private.h: New file.
39934 * sysdeps/generic/fips-private.h: New file, dummy fallback.
39935
4ba74a35
AO
399362012-10-10 Alexandre Oliva <aoliva@redhat.com>
39937
39938 * crypt/crypt-private.h: Include stdbool.h.
39939 (_ufc_setup_salt_r): Return bool.
39940 * crypt/crypt-entry.c: Include errno.h.
39941 (__crypt_r): Return NULL with EINVAL for bad salt.
39942 * crypt/crypt_util.c (bad_for_salt): New.
39943 (_ufc_setup_salt_r): Check that salt is long enough and within
39944 the specified alphabet.
39945 * crypt/badsalttest.c: New file.
39946 * crypt/Makefile (tests): Add it.
39947 ($(objpfx)badsalttest): New.
39948
f96f1242
MK
399492012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
39950
39951 * NEWS: Add entry for BZ #14602.
39952
0e8e0c1c
JM
399532012-10-09 Joseph Myers <joseph@codesourcery.com>
39954
39955 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39956 type-generic.
39957 * math/libm-test.inc: Update comment listing what functions and
39958 macros are tested.
39959 (isgreater_test): New function.
39960 (isgreaterequal_test): Likewise.
39961 (isless_test): Likewise.
39962 (islessequal_test): Likewise.
39963 (islessgreater_test): Likewise.
39964 (isunordered_test): Likewise.
39965 (main): Call the new functions.
39966
273edc5e
RM
399672012-10-09 Roland McGrath <roland@hack.frob.com>
39968
b8493de0
RM
39969 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39970 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39971 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39972 * sysdeps/i386/configure: Regenerated.
39973 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39974 * sysdeps/mach/configure: Regenerated.
39975 * sysdeps/mach/hurd/configure: Regenerated.
39976 * sysdeps/powerpc/configure: Regenerated.
39977 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39978 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39979 * sysdeps/s390/s390-32/configure: Regenerated.
39980 * sysdeps/s390/s390-64/configure: Regenerated.
39981 * sysdeps/sh/configure: Regenerated.
39982 * sysdeps/sparc/configure: Regenerated.
39983 * sysdeps/unix/sysv/linux/configure: Regenerated.
39984 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39985 * sysdeps/x86_64/configure: Regenerated.
39986
273edc5e
RM
39987 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39988 defined. Don't check if MAP is NULL.
39989
c8450f70
JM
399902012-10-09 Joseph Myers <joseph@codesourcery.com>
39991
39992 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39993 (_G_stat64): Likewise.
39994 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39995 (_G_stat64): Likewise.
39996 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39997 instead of struct _G_stat64.
39998 * libio/fileops.c (mmap_remap_check): Likewise.
39999 (decide_maybe_mmap): Likewise.
40000 (_IO_new_file_seekoff): Likewise.
40001 (_IO_file_stat): Likewise.
40002 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40003 _G_off64_t.
40004 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40005 instead of struct _G_stat64.
40006 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40007
57e605ba
MK
400082012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40009
40010 [BZ #14602]
40011 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40012 Replace with ...
40013 (CHECK_EOL): New macro.
40014 (two_way_short_needle): Check beginning of haystack for EOL. Use
40015 CHECK_EOL.
40016 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40017 Replace with CHECK_EOL.
40018 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40019 Replace with CHECK_EOL.
40020
ef1bb361
JM
400212012-10-08 Joseph Myers <joseph@codesourcery.com>
40022
40023 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40024 type-generic.
40025 * math/libm-test.inc: Update comment listing what functions and
40026 macros are tested.
40027 (finite_test): New function.
40028 (isinf_test): Likewise.
40029 (isnan_test): Likewise.
40030 (fpclassify_test): Test subnormal input.
40031 (isfinite_test): Likewise.
40032 (isnormal_test): Likewise.
40033 (main): Call the new functions.
40034
55f11534
JN
400352012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40036
40037 [BZ #14660]
40038 * Makerules (%.dynsym): Force C locale when running
40039 $(OBJDUMP) --dynamic-syms.
40040
1ab29350
AS
400412012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40042
40043 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40044 <stdint.h>.
40045
f1ecb7ef
DM
400462012-10-06 David S. Miller <davem@davemloft.net>
40047
40048 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40049 upper 32-bits of the length value in %o2 since we use branch-on-register
40050 tests which consider the entire 64-bit register.
40051
5d41d91a
L
400522012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40053
40054 * string/test-strstr.c (check2): Add a test for page boundary.
40055
3baddb72
DM
400562012-10-05 David S. Miller <davem@davemloft.net>
40057
40058 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40059 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40060 file.
40061 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40062 sysdep_routines.
40063 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40064 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40065 and bzero when HWCAP_SPARC_CRYPTO is present.
40066
9cee5585
L
400672012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40068
d7e0dab9
L
40069 [BZ #14602]
40070 * string/test-strstr.c (check2): New function.
40071 (test_main): Call check2.
40072
03759f47
L
40073 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40074 and bug-strchr1.
40075 * string/bug-strcasestr1.c (do_test): Moved to ...
40076 * string/test-strcasestr.c (check1): Here. New function.
40077 (do_one_test): Break out result checking code into ...
40078 (check_result): This. New function.
40079 (do_one_test): Call check_result.
40080 (test_main): Call check1.
40081 * string/bug-strchr1.c (do_test): Moved to ...
40082 * string/test-strchr.c (check1): Here. New function.
40083 (do_one_test): Break out result checking code into ...
40084 (check_result): This. New function.
40085 (do_one_test): Call check_result.
40086 (test_main): Call check1.
40087 * string/bug-strstr1.c (main): Moved to ...
046f153e 40088 * string/test-strstr.c (check1): Here. New function.
03759f47
L
40089 (do_one_test): Break out result checking code into ...
40090 (check_result): This. New function.
40091 (do_one_test): Call check_result.
40092 (test_main): Call check1.
40093 * string/bug-strcasestr1.c: Removed.
40094 * string/bug-strchr1.c: Likewise.
40095 * string/bug-strstr1.c: Likewise.
40096
53cea63e
L
40097 * elf/Makefile (dl-routines): Add hwcaps.
40098 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40099 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40100 (_dl_important_hwcaps): Moved to ...
40101 * elf/dl-hwcaps.c: Here. New file.
40102 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40103
9cee5585 40104 [BZ #14557]
bb859b06
L
40105 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40106 if IS_IN_rtld isn't defined.
40107
9cee5585
L
40108 * elf/dl-support.c (_dl_sysinfo_map): New.
40109 Include "get-dynamic-info.h" and "setup-vdso.h".
40110 (_dl_non_dynamic_init): Call setup_vdso.
40111 * elf/dynamic-link.h: Don't include <assert.h>.
40112 (elf_get_dynamic_info): Moved to ...
40113 * elf/get-dynamic-info.h: Here. New file.
40114 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40115 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40116 * elf/setup-vdso.h: Here. New file.
40117 * elf/rtld.c: Include "setup-vdso.h".
40118 (dl_main): Call setup_vdso.
40119
23c31b76
JM
401202012-10-05 Joseph Myers <joseph@codesourcery.com>
40121
28234b07
JM
40122 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40123 creal in comment listing functions tested. List finite, isinf,
40124 isnan, isless, islessequal, isgreater, isgreaterequal,
40125 islessgreater, isunordered, lgamma_r and pow10 as functions and
40126 macros not tested. Mention which functions not tested are aliases
40127 for other functions. Fix typo. Note that signs of NaNs are not
40128 tested.
40129
23c31b76
JM
40130 * scripts/config.guess: Update from config.git.
40131 * scripts/config.sub: Likewise.
40132
9043e228
RM
401332012-10-04 Roland McGrath <roland@hack.frob.com>
40134
40135 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40136 * misc/madvise.c (madvise): Renamed to __madvise.
40137 Make madvise a weak alias.
40138 * include/sys/mman.h: Declare __madvise.
40139 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40140 * sysdeps/unix/syscalls.list
40141 (madvise): Make __madvise the strong name, and madvise a weak alias.
40142 * sysdeps/unix/sysv/linux/syscalls.list
40143 (madvise, mmap): Remove redundant entries.
40144 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40145 * malloc/malloc.c (mtrim): Likewise.
40146 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40147
f57f8055
RM
401482012-10-03 Roland McGrath <roland@hack.frob.com>
40149
40150 * sysdeps/mach/hurd/dl-cache.c: File removed.
40151 * config.h.in (USE_LDCONFIG): New #undef.
40152 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40153 * configure: Regenerated.
40154 * elf/Makefile (dl-routines): Add dl-cache only under
40155 [$(use-ldconfig) = yes].
40156 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40157 cache on [USE_LDCONFIG].
40158 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40159 [USE_LDCONFIG].
40160 * elf/rtld.c (dl_main): Likewise.
40161
5bb0c10a
PT
401622012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40163
40164 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40165 _SC_LEVEL4_CACHE_LINESIZE.
40166
010188c6
RM
401672012-10-03 Roland McGrath <roland@hack.frob.com>
40168
40169 * sysdeps/unix/bsd/confstr.h: File removed.
40170
b6c5ec07
AO
401712012-10-02 Alexandre Oliva <aoliva@redhat.com>
40172
40173 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40174 sys/sdt-config.h.
40175
408223d4
RM
401762012-10-02 Roland McGrath <roland@hack.frob.com>
40177
40178 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40179 Make 'mapoff' field ElfW(Off) rather than off_t.
40180
bb9510dc
DL
401812012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40182
fc997c6e
DL
40183 * nscd/Makefile: Remove nscd-cflags and all its users.
40184 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40185 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40186
bb9510dc
DL
40187 [BZ #10631]
40188 * malloc.c (malloc_printerr): Clarify error message.
40189
05699367
L
401902012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40191
40192 [BZ #14648]
40193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40194 Set bit_FMA_Usable if FMA is supported.
40195 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40196 macro.
40197 (bit_FMA4_Usable): Updated.
40198 (index_FMA_Usable): New macro.
40199 (CPUID_FMA): Likewise
40200 (HAS_FMA): Defined with bit_FMA_Usable.
40201
51367701
RM
402022012-10-01 Roland McGrath <roland@hack.frob.com>
40203
40204 * bits/types.h (__swblk_t): Type removed.
40205 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40206 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40208 (__SWBLK_T_TYPE): Likewise.
40209 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40210 (__SWBLK_T_TYPE): Likewise.
40211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40212 (__SWBLK_T_TYPE): Likewise.
40213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40214 (__SWBLK_T_TYPE): Likewise.
40215
4d57bf63 402162012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 40217 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
40218
40219 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40220 (xdr_mapname): Use YPMAXMAP as maxsize.
40221 (xdr_peername): Use YPMAXPEER as maxsize.
40222 (xdr_keydat): Use YPAXRECORD as maxsize.
40223 (xdr_valdat): Use YPMAXRECORD as maxsize.
40224
93c65d43
RM
402252012-10-01 Roland McGrath <roland@hack.frob.com>
40226
497a03d6
RM
40227 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40228
93c65d43
RM
40229 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40230 * csu/init-first.c: ... here.
40231 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40232 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40233 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40234 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40235 * sysdeps/i386/init-first.c: File removed.
40236 * sysdeps/sh/init-first.c: File removed.
40237
bec749fd
JM
402382012-10-01 Joseph Myers <joseph@codesourcery.com>
40239
40240 [BZ #14645]
40241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40242 if x * y might underflow to zero and z is zero.
40243 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40244 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40245 * math/libm-test.inc (min_subnorm_value): New variable.
40246 (fma_test): Add more tests.
40247 (fma_test_towardzero): Likewise.
40248 (fma_test_downward): Likewise
40249 (fma_test_upward): Likewise.
40250 (initialize): Set min_subnorm_value.
40251
8ec5b013
JM
402522012-09-29 Joseph Myers <joseph@codesourcery.com>
40253
40254 [BZ #14638]
40255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40256 0 + 0.
40257 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40258 mode for addition resulting in exact zero.
40259 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40261 exact 0 + 0.
40262 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40264 * math/libm-test.inc (fma_test): Add more tests.
40265 (fma_test_towardzero): New function.
40266 (fma_test_downward): Likewise.
40267 (fma_test_upward): Likewise.
40268 (main): Call the new functions.
40269
b1fa802e
DM
402702012-09-28 David S. Miller <davem@davemloft.net>
40271
40272 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40273
d3b9fd9e
RM
402742012-09-28 Roland McGrath <roland@hack.frob.com>
40275
ea4d37b3
RM
40276 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40277 instead of SIGALRM.
40278
ac51c949
RM
40279 * sysdeps/gnu/_G_config.h: Moved to ...
40280 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40281 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40282 * sysdeps/generic/_G_config.h: ... here.
40283
28c195f7
RM
40284 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40285
848917f9
RM
40286 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40287
6bacf05b
RM
40288 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40289 Conditionalize target on [libnss_test1.so-version].
40290
91363dbb
RM
40291 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40292
cc87f7d8
RM
40293 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40294 (elfobjdir): Move out of conditionals.
40295
b1c608fe
RM
40296 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40297 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40298 (__nss_lookup_function): Conditionalize label remove_from_tree on
40299 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 40300
1d9a6d96
DM
403012012-09-28 David S. Miller <davem@davemloft.net>
40302
40303 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40304 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40305 file.
40306 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40307 sysdep_routines.
40308 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40310 when HWCAP_SPARC_CRYPTO is present.
40311
72581615
PT
403122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40313
40314 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40315
715a900c
JL
403162012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40317
40318 [BZ #6530]
40319 * stdio-common/vfprintf.c (process_string_arg): Revert
40320 2000-07-22 change.
40321
403222011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40323
40324 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40325 for testcase.
40326 * stdio-common/tst-sprintf.c: Include <locale.h>
40327 (main): Test sprintf's handling of incomplete multibyte
40328 characters.
40329
9bac1d86
L
403302012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40331
40332 * elf/dl-runtime.c (VERSYMIDX): Removed.
40333 * elf/dl-version.c (VERSYMIDX): Likewise.
40334 * elf/do-rel.h (VERSYMIDX): Likewise.
40335 (VALIDX): Likewise.
40336 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40337 * elf/rtld.c (VALIDX): Likewise.
40338 (ADDRIDX): Likewise.
9bac1d86
L
40339 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40340 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40341 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
40342 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40343 (VALIDX): Likewise.
40344 (ADDRIDX): Likewise.
9bac1d86 40345
b31606c0
PT
403462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40347
40348 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40349
11541177
JL
403502012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40351
40352 [BZ #11438]
40353 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40354 to global scope.
40355 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40356 addresses are in the same scope as 192.0.2/24.
40357 * posix/gai.conf: Document new scope table defaults.
40358
adb26fae
SP
403592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40360
40361 [BZ #5298]
40362 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40363 for ftell. Compute offsets from write pointers instead.
40364 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40365
4573c6b0
SP
403662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40367
40368 [BZ #14543]
40369 * libio/Makefile (tests): New test case tst-fseek.
40370 * libio/tst-fseek.c: New test case to verify that fseek/ftell
40371 combination works in wide mode.
40372 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40373 state when the external buffer state changes.
40374
aa9bbfe6
DM
403752012-09-27 David S. Miller <davem@davemloft.net>
40376
40377 [BZ #14376]
40378 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40379 pass reloc->r_addend in as the 'high' argument to
40380 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40381
784421e7
DM
40382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40383
c39bc8b8
PT
403842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40385
40386 * rt/tst-aio2.c: Include <pthread.h>.
40387 * rt/tst-aio3.c: Likewise.
40388
1ccc2399
SE
403892012-09-27 Steve Ellcey <sellcey@mips.com>
40390
40391 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40392
31ed4153
L
403932012-09-27 H.J. Lu <hongjiu.lu@intel.com>
40394
25f5f885
L
40395 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40396 contents on [SHARED].
31ed4153 40397
b7bfe116
MP
403982012-09-26 Marek Polacek <polacek@redhat.com>
40399
40400 [BZ #14530]
40401 [BZ #13741]
40402 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40403 for C++ and GCC <4.3 as well as for non GCC compilers.
40404
43c4edba
MT
404052012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40406
40407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40408
6a1bf82f
RM
404092012-09-25 Roland McGrath <roland@hack.frob.com>
40410
40411 * Makefile.in (all, install): Declare with .PHONY.
40412 Reported by Michael Hope <michael.hope@linaro.org>.
40413
8ad11b9a
TMQMF
404142012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40415
40416 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40417 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40418 system header.
40419 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40420 Likewise.
40421 (sydep_routines): Add the new and the internal functions.
40422 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40423 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40425 (GLIBC_2.17): Add the new function.
40426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40427 (GLIBC_2.17): Likewise.
40428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40429 (GLIBC_2.17): Likewise.
40430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40431 (GLIBC_2.17): Likewise.
40432 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40433
7e2fca8d
AM
404342012-09-25 Alan Modra <amodra@gmail.com>
40435
40436 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40437 Add release barrier before setting once_control to say
40438 initialisation is done. Add hints on lwarx. Use macro in
40439 place of isync.
40440 (clear_once_control): Add release barrier.
40441
b87c4b24
JM
404422012-09-25 Joseph Myers <joseph@codesourcery.com>
40443
d032e0d2
JM
40444 [BZ #13629]
40445 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40446 specially.
40447 * math/s_clog10.c (__clog10): Likewise.
40448 * math/s_clog10f.c (__clog10f): Likewise.
40449 * math/s_clog10l.c (__clog10l): Likewise.
40450 * math/s_clogf.c (__clogf): Likewise.
40451 * math/s_clogl.c (__clogl): Likewise.
40452 * math/Makefile (libm-calls): Add x2y2m1.
40453 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40454 (__x2y2m1): Likewise.
40455 (__x2y2m1l): Likewise.
40456 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40457 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40458 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40459 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40460 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40461 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40462 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40463 * sysdeps/i386/fpu/libm-test-ulps: Update.
40464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40465
b87c4b24
JM
40466 [BZ #14621]
40467 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40468 int as type of variable DEPTH.
40469 (glob): Use size_t instead of int as type of variables NEWCOUNT
40470 and OLD_PATHC.
40471
6d3bf199
LD
404722012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40473
22bf5c17
LD
40474 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40475 Add s_sincosf-sse2.
40476 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40477 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40478 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40479 macros for using routine as __sincosf_ia32.
40480 Use macro for function declaration and weak_alias.
40481 * sysdeps/i386/fpu/libm-test-ulps: Update.
40482
40483 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40485
40486 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
40487 subnormal argument.
40488 * math/s_cexpf.c (__cexpf): Likewise.
40489 * math/s_csinf.c (__csinf): Likewise.
40490 * math/s_csinhf.c (__csinhf): Likewise.
40491 * math/s_ctanf.c (__ctanf): Likewise.
40492 * math/s_ctanhf.c (__ctanhf): Likewise.
40493 * math/s_ccosh.c (__ccoshf): Likewise.
40494 * math/s_cexp.c (__cexpl): Likewise.
40495 * math/s_csin.c (__csin): Likewise.
40496 * math/s_csinh.c (__csinh): Likewise.
40497 * math/s_ctan.c (__ctan): Likewise.
40498 * math/s_ctanh.c (ctanh): Likewise.
40499 * math/s_ccoshl.c (__ccoshl): Likewise.
40500 * math/s_cexpl.c (__cexpl): Likewise.
40501 * math/s_csinl.c (__csinl): Likewise.
40502 * math/s_csinhl.c (__csinhl): Likewise.
40503 * math/s_ctanl.c (__ctanl): Likewise.
40504 * math/s_ctanhl.c (__ctanhl): Likewise.
40505
203e5603
JM
405062012-09-25 Joseph Myers <joseph@codesourcery.com>
40507
40508 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40509 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40510 (_IO_off_t): Define to __off_t, not _G_off_t.
40511 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40512 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40513 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40514 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40515 type of __dummy and __dummy2 fields.
40516 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40517 (_G_ssize_t): Likewise.
40518 (_G_off_t): Likewise.
40519 (_G_pid_t): Likewise.
40520 (_G_uid_t): Likewise.
40521 (_G_wchar_t): Likewise.
40522 (_G_wint_t): Likewise.
40523 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40524 (_G_ssize_t): Likewise.
40525 (_G_off_t): Likewise.
40526 (_G_pid_t): Likewise.
40527 (_G_uid_t): Likewise.
40528 (_G_wchar_t): Likewise.
40529 (_G_wint_t): Likewise.
40530 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40531 (_G_ssize_t): Likewise.
40532 (_G_off_t): Likewise.
40533 (_G_pid_t): Likewise.
40534 (_G_uid_t): Likewise.
40535 (_G_wchar_t): Likewise.
40536 (_G_wint_t): Likewise.
40537
9fab36eb
SP
405382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40539
40540 * malloc/arena.c: Include malloc-sysdep.h.
40541 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40542 is sufficient to shrink the heap or an unmap is needed.
40543 * sysdeps/generic/malloc-sysdep.h: New file. Define
40544 new function check_may_shrink_heap.
40545 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40546 new function check_may_shrink_heap.
40547
2b4f00d1
SP
405482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40549
40550 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40551 comments.
40552
9a9028b1
DL
405532012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40554
57c69bef
DL
40555 * catgets/test-gencat.sh: Add "set -e".
40556 * elf/tst-pathopt.sh: Likewise.
40557 * grp/tst_fgetgrent.sh: Likewise.
40558 * iconvdata/run-iconv-test.sh: Likewise.
40559 * intl/tst-gettext.sh: Likewise.
40560 * intl/tst-gettext2.sh: Likewise.
40561 * intl/tst-gettext4.sh: Likewise.
40562 * intl/tst-gettext6.sh: Likewise.
40563 * intl/tst-translit.sh: Likewise.
40564 * io/ftwtest-sh: Likewise.
40565 * libio/test-freopen.sh: Likewise.
40566 * malloc/tst-mtrace.sh: Likewise.
40567 * posix/globtest.sh: Likewise.
40568 * posix/tst-getconf.sh: Likewise.
40569 * posix/wordexp-tst.sh: Likewise.
40570 * stdio-common/tst-printf.sh: Likewise.
40571 * stdio-common/tst-unbputc.sh: Likewise.
40572 * stdlib/tst-fmtmsg.sh: Likewise.
40573 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40574 * catgets/Makefile: Do not specify -e option when running
40575 testsuite shell scripts.
40576 * elf/Makefile: Likewise.
40577 * grp/Makefile: Likewise.
40578 * iconvdata/Makefile: Likewise.
40579 * intl/Makefile: Likewise.
40580 * io/Makefile: Likewise.
40581 * libio/Makefile: Likewise.
40582 * malloc/Makefile: Likewise.
40583 * posix/Makefile: Likewise.
40584 * stdio-common/Makefile: Likewise.
40585 * stdlib/Makefile: Likewise.
40586 * sysdeps/x86_64/Makefile: Likewise.
40587
9a9028b1
DL
40588 * io/ftwtest-sh: Add copyright header.
40589 * posix/globtest.sh: Likewise.
40590 * posix/tst-getconf.sh: Likewise.
40591 * posix/wordexp-tst.sh: Likewise.
40592 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40593
ced6f16e
L
405942012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40595
94b32c39
L
40596 [BZ #13679]
40597 * Makeconfig (+link): Defined as $(+link-static) if
40598 $(build-shared) isn't yes.
40599 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40600 isn't yes.
40601 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40602
189e935b
L
40603 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40604
ced6f16e
L
40605 [BZ #14562]
40606 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40607 new chunk size with MALLOC_ALIGN_MASK.
40608
a9f8e53a
JM
406092012-09-24 Joseph Myers <joseph@codesourcery.com>
40610
40611 [BZ #5044]
40612 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40613 <rounding-mode.h>.
40614 (__printf_fphex): Determine rounding using get_rounding_mode and
40615 round_away.
40616 * stdio-common/tst-printf-round.c (struct hex_test): New
40617 structure.
40618 (hex_tests): New variable.
40619 (test_hex_in_one_mode): New function.
40620 (do_test): Also run tests for hex float output.
40621
43153109
JM
406222012-09-21 Joseph Myers <joseph@codesourcery.com>
40623
40624 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40625 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40626 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40627 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40628 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40629 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40630 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40631 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40632
8a26625d
JM
406332012-09-20 Joseph Myers <joseph@codesourcery.com>
40634
40635 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40636 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40637 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40638 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40639
f3fd569c
DL
406402012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40641
40642 [BZ #14579]
40643 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40644 mode only.
40645 * elf/tst-rtld-load-self.sh: New test.
40646 * elf/Makefile: Run it.
40647
63bbedd4
JM
406482012-09-18 Joseph Myers <joseph@codesourcery.com>
40649
40650 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40651 (tst-writev-ENV): Remove.
40652 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40653
626f8b6a
CM
406542012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40655
40656 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40657
b7aaa4d6
JM
406582012-09-17 Joseph Myers <joseph@codesourcery.com>
40659
40660 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40661 unconditional.
40662 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40663 Likewise.
40664 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40665 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40666 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40667 Likewise.
40668
65513990
L
406692012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40670
40671 [BZ #14587]
40672 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40673 * config.make.in (have-cpp-asm-debuginfo): Removed.
40674 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40675 * configure: Regenerated.
40676
784761be
JM
406772012-09-14 Joseph Myers <joseph@codesourcery.com>
40678
40679 [BZ #5044]
40680 * stdio-common/printf_fp.c: Include <stdbool.h> and
40681 <rounding-mode.h>.
40682 (___printf_fp): Determine rounding using get_rounding_mode and
40683 round_away.
40684 * stdio-common/tst-printf-round.c: New file.
40685 * stdio-common/Makefile (tests): Add tst-printf-round.
40686 (link-libm): New variable.
40687 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40688
9503345f
L
406892012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40690
40691 [BZ #14576]
40692 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40693 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40694 Likewise.
40695 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40696 Likewise.
40697
ad35fc00
JM
406982012-09-13 Joseph Myers <joseph@codesourcery.com>
40699
40700 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40701 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40702 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40703 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40704
6c9b0f68
JM
407052012-09-12 Joseph Myers <joseph@codesourcery.com>
40706
40707 [BZ #14518]
40708 * include/rounding-mode.h: New file.
40709 * sysdeps/generic/get-rounding-mode.h: Likewise.
40710 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40711 * stdlib/strtod_l.c: Include <rounding-mode.h>.
40712 (MAX_VALUE): New macro.
40713 (MIN_VALUE): Likewise.
40714 (overflow_value): New function.
40715 (underflow_value): Likewise.
40716 (round_and_return): Use overflow_value and underflow_value to
40717 determine return values in overflow and underflow cases. Use
40718 round_away to determine rounding depending on rounding mode.
40719 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40720 determine return values in overflow and underflow cases.
40721 * stdlib/tst-strtod-round.c: Include <fenv.h>.
40722 (struct test_results): New structure.
40723 (struct test): Use struct test_results to store expected results
40724 for all rounding modes.
40725 (TEST): Include expected results for all rounding modes.
40726 (test_in_one_mode): New function.
40727 (do_test): Use test_in_one_mode to compute and check results.
40728 Check results for all rounding modes.
40729 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40730 $(link-libm).
40731
19fcedd5
AM
407322012-12-09 Allan McRae <allan@archlinux.org>
40733
1e9d84cd 40734 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 40735
8bbfd2f1
JM
407362012-09-11 Joseph Myers <joseph@codesourcery.com>
40737
40738 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40739 (_G_int32_t): Likewise.
40740 (_G_uint16_t): Likewise.
40741 (_G_uint32_t): Likewise.
40742 (_G_HAVE_BOOL): Likewise.
40743 (_G_HAVE_ATEXIT): Likewise.
40744 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40745 (_G_HAVE_IO_FILE_OPEN): Likewise.
40746 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40747 (_G_int32_t): Likewise.
40748 (_G_uint16_t): Likewise.
40749 (_G_uint32_t): Likewise.
40750 (_G_HAVE_BOOL): Likewise.
40751 (_G_HAVE_ATEXIT): Likewise.
40752 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40753 (_G_HAVE_IO_FILE_OPEN): Likewise.
40754 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40755 (_G_int32_t): Likewise.
40756 (_G_uint16_t): Likewise.
40757 (_G_uint32_t): Likewise.
40758 (_G_HAVE_BOOL): Likewise.
40759 (_G_HAVE_ATEXIT): Likewise.
40760 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40761 (_G_HAVE_IO_FILE_OPEN): Likewise.
40762
b1dc5912
L
407632012-09-11 H.J. Lu <hongjiu.lu@intel.com>
40764
40765 * csu/libc-tls.c: Update copyright years.
40766
0e886ef9
JM
407672012-09-10 Joseph Myers <joseph@codesourcery.com>
40768
28361c5e
JM
40769 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40770 [!_G_USING_THUNKS]: Remove conditional code.
40771 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40772 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40773
0e886ef9
JM
40774 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40775 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40776 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40777 (_G_VTABLE_LABEL_PREFIX): Likewise.
40778 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40779 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40780 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40781 (_G_VTABLE_LABEL_PREFIX): Likewise.
40782 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40783 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40784 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40785 (_G_VTABLE_LABEL_PREFIX): Likewise.
40786 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40787
bcba7aa2
L
407882012-09-10 H.J. Lu <hongjiu.lu@intel.com>
40789
40790 * libio/Makefile: Include ../Makeconfig before tests.
40791 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40792 only if $(build-shared) is yes.
40793
06585ee8
L
40794 * iconv/gconv_db.c: Update copyright years.
40795
80ccd52c
LD
407962012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40797
40798 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40799 unwind info if defined PIC. Fix special cases description.
40800 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40801
40802 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40803 DP_HI_MASK entry.
40804 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40805
691bc9c1
L
408062012-09-07 H.J. Lu <hongjiu.lu@intel.com>
40807
3d9b46b3
L
40808 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40809
de2139a9
L
40810 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40811 is NULL.
40812
5ca78dd0
L
40813 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40814 (LDLIBS-tst-chk4): This.
40815 (LDFLAGS-tst-chk5): Renamed to ...
40816 (LDLIBS-tst-chk5): This.
40817 (LDFLAGS-tst-chk6): Renamed to ...
40818 (LDLIBS-tst-chk6): This.
40819 (LDFLAGS-tst-lfschk4): Renamed to ...
40820 (LDLIBS-tst-lfschk4): This.
40821 (LDFLAGS-tst-lfschk5): Renamed to ...
40822 (LDLIBS-tst-lfschk5): This.
40823 (LDFLAGS-tst-lfschk6): Renamed to ...
40824 (LDLIBS-tst-lfschk6): This.
40825
691bc9c1
L
40826 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40827 on $(common-objpfx)soversions.mk.
40828
65cafb1c
JM
408292012-09-07 Joseph Myers <joseph@codesourcery.com>
40830
40831 [BZ #10014]
40832 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40833 example host name.
40834
c78ab094
SP
408352012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
40836
40837 * malloc/arena.c (arena_get_retry): New function that gets
40838 another arena for the caller to try its request on.
40839 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40840 current arena cannot fulfill the request.
40841 (__libc_memalign): Likewise.
40842 (__libc_memalign): Likewise.
40843 (__libc_pvalloc): Likewise.
40844 (__libc_calloc): Likewise.
40845
01f49f59
JT
408462012-09-05 John Tobey <john.tobey@gmail.com>
40847
40848 [BZ #13542]
40849 * manual/arith.texi (Operations on Complex): Fix description
40850 of carg branch cut.
40851
4c23fed5
JM
408522012-09-06 Joseph Myers <joseph@codesourcery.com>
40853
1d3c8572
JM
40854 [BZ #10014]
40855 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40856 host name.
40857
4c23fed5
JM
40858 [BZ #10038]
40859 * manual/memory.texi (Memory): Make order of menu items match
40860 order of sections.
40861
04570aaa
L
408622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40863
40864 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
40865 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
40866 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
40867
b80af2f4
L
408682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40869
40870 * csu/libc-tls.c (static_dtv): Renamed to ...
40871 (_dl_static_dtv): This. Make it global.
40872 (_dl_initial_dtv): Removed.
40873 (__libc_setup_tls): Updated.
40874 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40875 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40876 DL_INITIAL_DTV.
40877
2abe9f15
PM
408782012-09-06 Petr Machata <pmachata@redhat.com>
40879
40880 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40881 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40882 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40883 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40884
0948c3af
L
408852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40886
40887 [BZ #14545]
40888 * csu/libc-tls.c (_dl_initial_dtv): New variable.
40889 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40890 freeing dtv[-1].
40891
a5055ad1
L
408922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40893
40894 [BZ #14544]
40895 * Makeconfig (link-static-before-libc): Replace $(+prector)
40896 with $(+prectorT).
40897 (link-static-after-libc): Replace $(+postctor) with
40898 $(+postctorT).
40899 (link-bounded): Replace $(+prector)/$(+postctor) with
40900 $(+prectorT)/$(+postctorT).
40901 (+prectorT): New macro.
40902 (+postctorT): Likewise.
40903
ed8c2ecd
JM
409042012-09-06 Joseph Myers <joseph@codesourcery.com>
40905
40906 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40907 (round_str): Handle values above the maximum for IBM long double
40908 as inexact.
40909 * stdlib/tst-strtod-round.c (tests): Regenerated.
40910
14c996c8
AK
409112012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40912
40913 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40914 assembler flag.
40915 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40916 zarch_nohighgprs around the zarch optimized routines.
40917 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40918 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40919 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40920 for zarch.
40921
430d6ce6
DM
409222012-09-05 David S. Miller <davem@davemloft.net>
40923
40924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40925
57f41c40
AS
40926 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40927 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
40928 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40929 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40930 entries.
40931
24d4e01b
AO
409322012-09-05 Alexandre Oliva <aoliva@redhat.com>
40933
40934 * malloc/arena.c: Fold copyright years.
40935 * malloc/mcheck.c, malloc/memusage.c: Likewise.
40936
61d58174
AO
409372012-09-05 Alexandre Oliva <aoliva@redhat.com>
40938
40939 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40940
20196a5e
AO
409412012-09-05 Alexandre Oliva <aoliva@redhat.com>
40942
40943 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
40944
5c447383
AO
409452012-09-05 Alexandre Oliva <aoliva@redhat.com>
40946
40947 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40948 change internal state upon failure.
40949
fad64255
AO
409502012-09-05 Alexandre Oliva <aoliva@redhat.com>
40951
40952 * malloc/mcheck.c (mcheck_check_all): Fix typo.
40953 * malloc/memusage.c (mmap): Likewise.
40954 (mmap64, mremap): Likewise. Adjust name in comment.
40955
1ffb8c90
SP
409562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40957
40958 * libio/fileops.c: Fix typos in comments.
40959 * libio/oldfileops.c: Likewise.
40960 * libio/wfileops.c: Likewise.
40961
6ef9cc37
SP
409622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40963
40964 [BZ #1349]
40965 * malloc/Makefile (tests): Add tst-malloc-usable test case.
40966 (tst-malloc-usable-ENV): Set environment for test case.
40967 * malloc/hooks.c (malloc_check_get_size): New function to get
40968 requested size.
40969 * malloc/malloc.c (musable): Use malloc_check_get_size.
40970 * malloc/tst-malloc-usable.c: New test case.
40971
4d038ae3
AS
409722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40973
40974 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40975
c4e85184
AM
409762012-09-05 Allan McRae <allan@archlinux.org>
40977
b9dafc56 40978 [BZ #13966]
c4e85184
AM
40979 * configure.in (CXX_SYSINCLUDES): Use compiler output to
40980 determine header location.
40981 * configure: Regenerated.
40982
e1343020
AS
409832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40984
40985 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40986 float format.
40987 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
40988 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40989 format.
e1343020
AS
40990 (test): Regenerate.
40991
0a9f1987
DM
409922012-09-04 David S. Miller <davem@davemloft.net>
40993
40994 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40995 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40996 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40997
29237804
FW
409982012-09-04 Florian Weimer <fweimer@redhat.com>
40999
41000 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41001 failures.
41002
edb3cb88
FW
41003 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41004
60160d83
JM
410052012-09-04 Joseph Myers <joseph@codesourcery.com>
41006
41007 [BZ #9914]
41008 * libio/iogetdelim.c: Include <limits.h>.
41009 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41010 + len + 1 would overflow.
41011
bcd6c8dc
AJ
410122012-09-03 Andreas Jaeger <aj@suse.de>
41013
41014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41015 * sysdeps/i386/fpu/libm-test-ulps: Update.
41016
4ffffbd2
LD
410172012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41018
41019 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41020 Add s_sinf-sse2, s_conf-sse2.
41021
41022 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41023 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41024 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41025 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41026
41027 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41028 for using routine as __sinf_ia32.
41029 Use macro for function declaration and weak_alias.
41030 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41031 for using routine as __cosf_ia32.
41032 Use macro for function declaration and weak_alias.
41033
41034 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41035 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41036
41037 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41038 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41040
41041 * math/libm-test.inc (cos_test): Add more test cases.
41042 (sin_test): Likewise.
41043 (sincos_test): Likewise.
41044
511fa286
AK
410452012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41046
41047 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41048 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41049 hidden.
41050 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41051
5f30cfec
L
410522012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41053
41054 [BZ #14538]
41055 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41056 first element of the GOT.
41057 (elf_machine_load_address): Return the difference between
41058 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41059
0786794f
AM
410602012-09-01 Allan McRae <allan@archlinux.org>
41061
5f30cfec
L
41062 [BZ #13412]
41063 * configure.in (AWK): Require gawk version 3.0 or later.
41064 * configure: Regenerated.
0786794f 41065
26889eac
JM
410662012-09-01 Joseph Myers <joseph@codesourcery.com>
41067
41068 * sysdeps/unix/sysv/linux/kernel-features.h
41069 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41070 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41071 [__NR_clock_getres]: Make code unconditional.
41072 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41073 (clock_getcpuclockid): Remove code left unreachable by removal of
41074 conditionals.
41075 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41076 code unconditional.
41077 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41078 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41079 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41080 Make code unconditional.
41081 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41082 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41083 * sysdeps/unix/sysv/linux/clock_settime.c
41084 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41085 conditional code.
41086 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41087 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41088
d22e28b0
L
410892012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41090
41091 [BZ #14476]
41092 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41093 scripts/test-installation.pl.
41094
41095 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41096 and $ld_so_version if it is set.
41097
050af9c4
SP
410982012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41099
41100 [BZ #14516]
41101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41102 failure if reading from procfs failed.
41103 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41104
ad845c0b
JM
411052012-08-27 Joseph Myers <joseph@codesourcery.com>
41106
41107 * sysdeps/unix/sysv/linux/kernel-features.h
41108 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41109 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41110 Remove conditional code.
41111 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41112 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41113 Remove conditional code.
41114 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41115 * sysdeps/unix/sysv/linux/i386/fxstat.c
41116 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41118 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41119 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41121 * sysdeps/unix/sysv/linux/i386/lxstat.c
41122 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41124 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41125 Remove conditional code.
41126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41127 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41128 Remove conditional code.
41129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41130 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41131 <kernel-features.h>.
41132 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41133 Remove.
41134 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41135 Remove conditional code.
41136 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41137 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41138 Remove conditional.
41139
5dbf56af
MF
411402012-08-27 Mike Frysinger <vapier@gentoo.org>
41141
41142 [BZ #5400]
41143 * NEWS: Add fixed bug number.
41144
d6e70f43
JM
411452012-08-27 Joseph Myers <joseph@codesourcery.com>
41146
7efb4737
JM
41147 [BZ #14519]
41148 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41149 underflowing exponent in case of negative sign.
41150 * stdlib/tst-strtod-round-data: Add more tests.
41151 * stdlib/tst-strtod-round.c (tests): Regenerated.
41152
af92131a
JM
41153 [BZ #3479]
41154 * stdlib/strtod_l.c (NDIG): Remove.
41155 (HEXNDIG): Likewise.
41156 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41157 smallest representable value.
41158 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41159 lie within an exact representation of 1/2 ulp of the result.
41160 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41161 unconditionally.
41162 (TENS_P9_IDX): Define unconditionally.
41163 (TENS_P9_SIZE): Likewise.
41164 (TENS_P10_IDX): Likewise.
41165 (TENS_P10_SIZE): Likewise.
41166 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41167 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41168 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41169 entries for 10^2^13 and 10^2^14.
41170 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41171 (TENS_P13_IDX): Define.
41172 (TENS_P13_SIZE): Likewise.
41173 (TENS_P14_IDX): Likewise.
41174 (TENS_P14_SIZE): Likewise.
41175 (_fpioconst_pow10): Change array size to
41176 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41177 unconditional.
41178 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41179 1024]: Add entries for 10^2^13 and 10^2^14.
41180 [LAST_POW10 > _LAST_POW10]: Remove #error.
41181 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41182 (_fpioconst_pow10): Change array size to
41183 FPIOCONST_POW10_ARRAY_SIZE.
41184 * stdlib/gen-fpioconst.c: New file.
41185 * stdlib/gen-tst-strtod-round.c: Likewise.
41186 * stdlib/tst-strtod-round-data: Likewise.
41187 * stdlib/tst-strtod-round.c: Likewise.
41188 * stdlib/Makefile (tests): Add tst-strtod-round.
41189
d6e70f43
JM
41190 [BZ #14459]
41191 * stdlib/strtod_l.c: Include <stdint.h>.
41192 (NDEBUG): Do not define.
41193 (round_and_return): Change EXPONENT parameter to type intmax_t.
41194 Rearrange calculations to avoid internal overflow possibilities.
41195 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41196 Rearrange calculations to avoid internal overflow possibilities.
41197 Assert that number fits inside MPNSIZE limbs.
41198 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41199 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41200 calculations and add assertions to avoid internal overflow
41201 possibilities. Add casts to avoid signed/unsigned operations.
41202 * stdlib/tst-strtod-overflow.c: New file.
41203 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41204
1f529f7d
MP
412052012-08-25 Marek Polacek <polacek@redhat.com>
41206
41207 * time/time.h: Fix some typos in comments.
41208
59a629f1
RM
412092012-08-23 Roland McGrath <roland@hack.frob.com>
41210
41211 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41212 * posix/tst-rfc3484-2.c: Likewise.
41213 * posix/tst-rfc3484-3.c: Likewise.
41214
d3bafbc9
SM
412152012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41216
41217 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41218 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41219
4efcc022
JM
412202012-08-23 Joseph Myers <joseph@codesourcery.com>
41221
41222 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41223 #include of fxstatat64.c.
41224
3cc3ef96
RM
412252012-08-22 Roland McGrath <roland@hack.frob.com>
41226
f04e2132
RM
41227 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41228 * shadow/getspent_r.c: Likewise.
41229 * shadow/getspnam.c: Likewise.
41230 * shadow/getspnam_r.c: Likewise.
41231 * gshadow/getsgent.c: Likewise.
41232 * gshadow/getsgent_r.c: Likewise.
41233 * gshadow/getsgnam.c: Likewise.
41234 * gshadow/getsgnam_r.c: Likewise.
41235 * inet/getnetbyad.c: Likewise.
41236 * inet/getnetbyad_r.c: Likewise.
41237 * inet/getnetbynm.c: Likewise.
41238 * inet/getnetbynm_r.c: Likewise.
41239 * inet/getnetent.c: Likewise.
41240 * inet/getnetent_r.c: Likewise.
41241 * inet/getproto.c: Likewise.
41242 * inet/getproto_r.c: Likewise.
41243 * inet/getprtent.c: Likewise.
41244 * inet/getprtent_r.c: Likewise.
41245 * inet/getprtname.c: Likewise.
41246 * inet/getprtname_r.c: Likewise.
41247 * inet/getrpcbyname.c: Likewise.
41248 * inet/getrpcbyname_r.c: Likewise.
41249 * inet/getrpcbynumber.c: Likewise.
41250 * inet/getrpcbynumber_r.c: Likewise.
41251 * inet/getrpcent.c: Likewise.
41252 * inet/getrpcent_r.c: Likewise.
41253 * inet/getaliasent.c: Likewise.
41254 * inet/getaliasent_r.c: Likewise.
41255 * inet/getaliasname.c: Likewise.
41256 * inet/getaliasname_r.c: Likewise.
41257 * nscd/getgrgid_r.c: Likewise.
41258 * nscd/getgrnam_r.c: Likewise.
41259 * nscd/gethstbyad_r.c: Likewise.
41260 * nscd/gethstbynm3_r.c: Likewise.
41261 * nscd/getpwnam_r.c: Likewise.
41262 * nscd/getpwuid_r.c: Likewise.
41263 * nscd/getsrvbynm_r.c: Likewise.
41264 * nscd/getsrvbypt_r.c: Likewise.
41265 * nscd/gai.c: Likewise.
41266
c53d909c
RM
41267 * configure.in (build_nscd): New substituted variable, set
41268 by --disable-build-nscd and defaults to $use_nscd.
41269 * configure: Regenerated.
41270 * config.make.in (build-nscd): New substituted variable.
41271 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41272 Change conditional to require [$(build-nscd) = yes] as well.
41273 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41274
3cc3ef96
RM
41275 [BZ# 13696]
41276 * configure.in (use_nscd): New substituted variable, set by
41277 --disable-nscd. If enabled, define USE_NSCD.
41278 * configure: Regenerated.
41279 * config.h.in: Add USE_NSCD.
41280 * config.make.in (use-nscd): New substituted variable.
41281 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41282 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41283 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41284 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41285 (CFLAGS-getgrnam_r.c): Likewise.
41286 (CFLAGS-initgroups.c): Likewise.
41287 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41288 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41289 Variables removed.
41290 * inet/getnetgrent_r.c
41291 (nscd_setnetgrent): New function, broken out of ...
41292 (setnetgrent): ... here. Call it.
41293 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41294 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41295 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41296 * nscd/Makefile (routines, aux): Move definitions after include of
41297 Makeconfig. Conditionalize on [$(use-nscd) != no].
41298 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41299 Conditionalize on [USE_NSCD].
41300 (is_nscd, nscd_init_cb): Likewise.
41301 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41302 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41303 * nss/nss_db/db-init.c: Likewise.
41304 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41305 [USE_NSCD].
41306 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41307 (make_request): Use it.
41308 (cache_valid_p): New function.
41309 (__check_pf): Use it.
41310 * NEWS: Add item for --disable-nscd.
41311
07e51550
DL
413122012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41313
41314 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41315 to support sed >= 4.2.1-20-ga9bf076.
41316 * configure: Regenerated.
41317
35a5b08b
RM
413182012-08-22 Roland McGrath <roland@hack.frob.com>
41319
41320 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41321 Conditionalize whole body on [IREL].
41322
8479f23a
JL
413232012-08-22 Jeff Law <law@redhat.com>
41324
41325 [BZ #14505]
41326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41327 if the family is PF_UNSPEC.
41328
48da0b21
MF
413292012-08-22 Mike Frysinger <vapier@gentoo.org>
41330
41331 * Makerules (lib-version): Rename from V.
41332 (install-lib-nosubdir): Change V to lib-version.
41333
15d0da8c
WS
413342012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41335
41336 [BZ #14252]
41337 * powerpc32/power6/wcschr.c: New file.
41338 * powerpc32/power6/wcscpy.c: New file.
41339 * powerpc32/power6/wcsrchr.c: New file.
41340 * powerpc64/power6/wcschr.c: New file.
41341 * powerpc64/power6/wcscpy.c: New file.
41342 * powerpc64/power6/wcsrchr.c: New file.
41343
bcca0895
MK
413442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41345
41346 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41347 (two_way_short_needle): Use it.
5a4aaa33
RM
41348 * string/strstr.c (AVAILABLE1_USES_J): Define.
41349 * string/strcasestr.c: Likewise.
99677e57
MK
41350
41351 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41352 array references.
41353 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41354
400726de
MK
41355 [BZ #11607]
41356 * NEWS: Add an entry.
41357 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41358 define their defaults.
41359 (two_way_short_needle): Detect end-of-string on-the-fly.
41360 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41361 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41362 * string/bug-strcasestr1.c: New test.
41363 * string/Makefile: Run it.
41364
20a71f2c
MK
413652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41366
41367 [BZ #11607]
41368 * string/str-two-way.h (two_way_short_needle): Optimize matching of
41369 the first character.
41370
21ad0558
RM
413712012-08-21 Roland McGrath <roland@hack.frob.com>
41372
41373 * csu/elf-init.c (__libc_csu_irel): Function removed.
41374 * csu/libc-start.c (apply_irel): New function.
41375 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41376
0e1d9911
JM
413772012-08-21 Joseph Myers <joseph@codesourcery.com>
41378
41379 * sysdeps/unix/sysv/linux/kernel-features.h
41380 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41381 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41382 <kernel-features.h>.
41383 [__NR_fadvise64_64]: Make code unconditional.
41384 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41385 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41386 !__NR_fadvise64_64)]: Likewise.
41387 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41388 !__NR_fadvise64_64))]: Likewise.
41389 [__NR_fadvise64]: Make code unconditional.
41390 [!__NR_fadvise64]: Remove conditional code.
41391 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41392 <kernel-features.h>.
41393 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41394 unconditional.
41395 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41396 conditional code.
41397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41398 not include <kernel-features.h>.
41399 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41400 unconditional.
41401 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41402 conditional code.
41403 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41404 include <kernel-features.h>.
41405 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41406 unconditional.
41407 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41408 conditional code.
41409
14a50c9d
WS
414102012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41411
41412 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41413 slight instruction rearrangements per scrollpipe analysis.
41414 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41415
c0f4faf0
RM
414162012-08-20 Roland McGrath <roland@hack.frob.com>
41417
696da859
RM
41418 * manual/syslog.texi (syslog; vsyslog, closelog):
41419 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41420 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41421
c0f4faf0
RM
41422 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41423 DSOCAPS to match condition on defining it.
41424
348363b2
JM
414252012-08-20 Joseph Myers <joseph@codesourcery.com>
41426
a35cbf28
JM
41427 * sysdeps/unix/sysv/linux/kernel-features.h
41428 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41430 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41431 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41433 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41434 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41436 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41437 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41438
445f7ecd
JM
41439 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41440 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41441
348363b2
JM
41442 * sysdeps/unix/sysv/linux/kernel-features.h
41443 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41444 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41445 unconditional.
41446 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41447 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41448 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41449 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41450 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41451 Make code unconditional.
41452 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41453 (__mmap64) [!__NR_mmap2]: Likewise.
41454 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41455 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41456 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41457 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41458 [__NR_mmap2]: Make code unconditional.
41459 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41460 (__mmap64) [!__NR_mmap2]: Likewise.
41461
bc5bc0e5
AK
414622012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41463
41464 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41465
88d506de
AJ
414662012-08-18 Andreas Jaeger <aj@suse.de>
41467
41468 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41469
493387d2
MF
414702012-08-18 Mike Frysinger <vapier@gentoo.org>
41471
41472 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41473 * include/unistd.h (__have_sock_cloexec): Likewise.
41474 (__have_pipe2): Likewise.
41475 (__have_dup3): Likewise.
41476
a277af22
MF
414772012-08-18 Mike Frysinger <vapier@gentoo.org>
41478
41479 [BZ #9685]
41480 * include/unistd.h (__have_pipe2): Change define into an extern int.
41481 (__have_dup3): Likewise.
41482 * socket/have_sock_cloexec.c: Include fcntl.h.
41483 (__have_pipe2): New variable.
41484 (__have_dup3): Likewise.
41485
fdab8fd3
MF
414862012-08-17 Mike Frysinger <vapier@gentoo.org>
41487
41488 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41489
31035e80
MP
414902012-08-17 Marek Polacek <polacek@redhat.com>
41491
41492 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41493 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41494
3bd9e993
RM
414952012-08-17 Roland McGrath <roland@hack.frob.com>
41496
c91c505f
RM
41497 * configure.in: Add AC_SUBST for sysheaders.
41498 * configure: Regenerated.
41499 * config.make.in (sysheaders): New substituted variable.
41500
7c6f9d53
RM
41501 * sysdeps/unix/mkfifo.c: Moved ...
41502 * sysdeps/posix/mkfifo.c: ... here.
41503 * sysdeps/unix/mkfifoat.c: Moved ...
41504 * sysdeps/posix/mkfifoat.c: ... here.
41505
41506 * sysdeps/unix/utime.c: Moved ...
41507 * sysdeps/posix/utime.c: ... here.
41508
41509 * sysdeps/unix/time.c: Moved ...
41510 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
41511 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41512 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
41513
41514 * sysdeps/unix/nice.c: Moved ...
41515 * sysdeps/posix/nice.c: ... here.
41516
41517 * sysdeps/unix/alarm.c: Moved ...
41518 * sysdeps/posix/alarm.c: ... here.
41519
3bd9e993
RM
41520 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41521
d1f09384
JL
415222012-08-17 Jeff Law <law@redhat.com>
41523
41524 * intl/Makefile (codeset_mo): New variable.
41525 ($(codeset_mo)): New target.
41526 (tst-codeset.out): Depend on that. Remove explicit rule.
41527 (tst-gettext3.out, tst-gettext5.out): Likewise.
41528 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41529 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41530 * intl/tst-codeset.sh: Remove.
41531 * intl/tst-gettext3.sh: Likewise.
41532 * intl/tst-gettext5.sh: Likewise.
41533
2ae1ae5c
RM
415342012-08-17 Roland McGrath <roland@hack.frob.com>
41535
c31fdb83
RM
41536 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41537 * sysdeps/unix/syscalls.list: ... here.
41538
a0844057
RM
41539 * sysdeps/posix/getaddrinfo.c
41540 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41541 (gaiconf_init, gaiconf_reload): Use them.
41542 [!_STATBUF_ST_NSEC]
41543 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41544 Define using time_t rather than struct timespec.
41545
750c1f2a
RM
41546 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41547 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41548 Macros removed.
41549 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41550 [!NO_THREADS].
41551 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41552 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41553 Likewise.
41554
2ae1ae5c
RM
41555 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41556 __libc_cleanup_push argument.
41557
e66a42f5
RM
41558 * bits/param.h: New file.
41559 * misc/sys/param.h: New file.
41560 * include/sys/param.h: New file.
41561 * misc/Makefile (headers): Add bits/param.h.
41562 * sysdeps/generic/sys/param.h: File removed.
41563 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41564 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41565 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 41566 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 41567
b7c08a66
RM
41568 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41569 last change.
41570
b2e1c562
RM
41571 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41572 [_IO_MTSAFE_IO].
41573 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41574 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41575 New macros.
41576
c75ccd4c
RM
41577 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41578 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41579 rather than -D_IO_MTSAFE_IO conditionally.
41580 * stdio-common/Makefile (CPPFLAGS): Likewise.
41581 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41582 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41583 Use $(libio-mtsafe).
41584 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41585 of -D_IO_MTSAFE_IO.
41586 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41587 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41588 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41589 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41590 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41591 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41592 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41593 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41594 (CFLAGS-fread_u_chk.c): Likewise.
41595 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41596 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41597 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41598 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41599 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41600 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41601 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41602 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41603 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41604
41605 * libio/Makefile: Test [$(libc-reentrant) = yes]
41606 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41607
41608 * Makeconfig
41609 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41610 * sysdeps/pthread/configure: File removed.
41611 * sysdeps/pthread/Makeconfig: New file.
41612 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41613 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41614
d9195db8
GB
416152012-08-16 Gary Benson <gbenson@redhat.com>
41616
41617 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41618 unmapping the first object in a namespace.
41619
86466cd9
RM
416202012-08-16 Roland McGrath <roland@hack.frob.com>
41621
41622 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41623 (__internal_setnetgrent): ... this. Add internal_function to
41624 definition. Add libc_hidden_def.
41625 (setnetgrent): Update caller.
41626 (internal_endnetgrent): Renamed to ...
41627 (__internal_endnetgrent): ... this. Add internal_function to
41628 definition. Add libc_hidden_def.
41629 (endnetgrent): Update caller.
41630 (internal_getnetgrent_r): Renamed to ...
41631 (__internal_getnetgrent_r): ... this. Add internal_function to
41632 definition. Add libc_hidden_def.
41633 (__getnetgrent_r): Update caller.
41634 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41635
c3c8283c
JM
416362012-08-16 Joseph Myers <joseph@codesourcery.com>
41637
41638 * stdlib/longlong.h: Update from GCC.
41639
db1ee0a8
RM
416402012-08-16 Roland McGrath <roland@hack.frob.com>
41641
41642 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41643 on _QL, which is set by umul_ppmm but never used.
41644 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41645 variables, which are set by GMP macros but never used.
41646 * stdio-common/_itowa.c (_itowa): Likewise.
41647 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41648 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41649
30f69637
CD
416502012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41651
41652 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41653 struct La_sh_regs is not constant.
41654 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41655 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41656 and struct La_sparc64_regs are not constant.
41657
93a78ac4
JM
416582012-08-16 Joseph Myers <joseph@codesourcery.com>
41659
41660 * sysdeps/unix/sysv/linux/kernel-features.h
41661 (__ASSUME_POSIX_TIMERS): Remove.
41662 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41663 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41664 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41665 Make code unconditional.
41666 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41667 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41668 Make code unconditional.
41669 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41670 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41671 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41672 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41673 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41674 Make code unconditional.
41675 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41676 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41677 (__libc_missing_posix_timers): Remove.
41678
dd924cd7
RM
416792012-08-15 Roland McGrath <roland@hack.frob.com>
41680
4b4f2771
RM
41681 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41682 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41683
601c888b
RM
41684 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41685
176790a7
RM
41686 * elf/dl-sym.c: Include <stdlib.h>.
41687
329bc018
RM
41688 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41689 constants, which avoids warnings in 32-bit builds.
41690
e04e272d
RM
41691 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41692 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41693
952bf94a
RM
41694 * misc/lseek.c: File moved to ...
41695 * io/lseek.c: ... here.
41696
7c99b50a
RM
41697 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41698
dd924cd7
RM
41699 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41700 shifting LEN more than 31 bits at once.
41701
b3f479a8
LD
417022012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41703
41704 [BZ #14195]
8c4ae0d4
RM
41705 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41706 segmentation fault for a case of two empty input strings.
b3f479a8
LD
41707 * string/test-strncasecmp.c (check1): Renamed to...
41708 (bz12205): ...this.
41709 (bz14195): Add new testcase for two empty input strings and N > 0.
41710 (test_main): Call new testcase, adapt for renamed function.
41711
9c55864e
AJ
417122012-08-15 Andreas Jaeger <aj@suse.de>
41713
41714 [BZ #14090]
41715 * crypt/md5test2.c: New test, based on test supplied by Serge
41716 Belyshev <belyshev@depni.sinp.msu.ru>.
41717 * crypt/Makefile (xtests): Add md5test-giant..
41718 * crypt/Makefile ($(objpfx)md5test-giant): Add.
41719
02dcb6c5
PE
417202012-08-15 Paul Eggert <eggert@cs.ucla.edu>
41721
41722 [BZ #14090]
41723 * crypt/md5.c (md5_process_block): Don't assume the buffer
41724 length is less than 2**32.
41725 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41726 length is less than 2**64.
41727
a3f95dcc
RM
417282012-08-15 Roland McGrath <roland@hack.frob.com>
41729
be75d758
RM
41730 * string/str-two-way.h: Include <sys/param.h>.
41731 (MAX): Macro removed.
41732
7312ca90
RM
41733 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41734 Move #define and #undef of memmove to just before and after
41735 including <string.h>.
41736
9a0a5486
RM
41737 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41738 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41739 and after including <string.h>. Move declarations of
41740 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41741 to before #include "string/memmove.c".
41742
67cc348d
RM
41743 * include/dirent.h: Declare __getdirentries.
41744
a3f95dcc
RM
41745 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41746 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41747
ca98e171
MF
417482012-08-14 Mike Frysinger <vapier@gentoo.org>
41749
41750 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41751 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41752 * sysdeps/i386/configure: Regenerated.
41753 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41754 STABS_CURRENT_FILE, and STABS_FUN.
41755 (END): Remove call to STABS_FUN_END.
41756 (STABS_CURRENT_FILE1): Delete.
41757 (STABS_CURRENT_FILE): Likewise.
41758 (STABS_FUN): Likewise.
41759 (STABS_FUN_END): Likewise.
41760 (STABS_FUN2): Likewise.
41761 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41762 * sysdeps/x86_64/configure: Regenerated.
41763
5908bf46
RM
417642012-08-14 Roland McGrath <roland@hack.frob.com>
41765
41766 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 41767 * elf/dl-lookup.c: Likewise.
5908bf46 41768
f2c05b9e
JM
417692012-08-14 Joseph Myers <joseph@codesourcery.com>
41770
41771 * sysdeps/unix/sysv/linux/kernel-features.h
41772 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41773 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41774 unconditionally.
41775 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41776 unconditionally.
41777 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41778 condition on __ASSUME_CLONE_THREAD_FLAGS.
41779
e11f5155
AJ
417802012-08-14 Andreas Jaeger <aj@suse.de>
41781
41782 * sysdeps/i386/fpu/libm-test-ulps: Update.
41783
51a9ba86
MK
417842012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
41785
2fdd4f78
AJ
41786 * include/atomic.h (atomic_exchange_and_add): Split into ...
41787 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41788 New atomic macros.
51a9ba86 41789
ba6cba9e
MT
417902012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
41791
41792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41793
42443a47
JL
417942012-08-13 Jeff Law <law@redhat.com>
41795
41796 * manual/stdio.texi (snprintf): Clarify handling of the trailing
41797 null byte in the output string.
41798
121dce05
JM
417992012-08-10 Joseph Myers <joseph@codesourcery.com>
41800
41801 * sysdeps/unix/sysv/linux/kernel-features.h
41802 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41803 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41804 (__ASSUME_ARG_MAX_STACK_BASED): Define.
41805 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41806 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41807 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
41808 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41809
bf51f568
JL
418102012-08-09 Jeff Law <law@redhat.com>
41811
41812 [BZ #13939]
41813 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41814 When avoid_arena is set, don't retry in the that arena. Pick the
41815 next one, whatever it might be.
41816 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41817 (arena_lock): Pass in new parameter to arena_get2.
41818 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41819 arena_get2.
41820 (__libc_malloc): Unify retrying after main arena failure with
41821 __libc_memalign version.
41822 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41823
f85fa270
L
418242012-08-09 H.J. Lu <hongjiu.lu@intel.com>
41825
41826 [BZ #14166]
41827 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41828 to __redirect_strstr.
41829 (__strstr_sse42): Use typeof __redirect_strstr.
41830 (__strstr_ia32): Likewise.
41831 (__libc_strstr): New prototype.
41832 (strstr): Renamed to ...
41833 (__libc_strstr): This.
41834 (strstr): New strong alias of __libc_strstr.
41835 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41836 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41837 __redirect_time.
41838 Include <time.h>.
41839 (__libc_time): New prototype.
41840 (time_ifunc): Replace time with __libc_time.
41841 (time): New strong alias and hidden definition of __libc_time.
41842 (__GI_time): Remove strong alias.
41843 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41844 Include <stddef.h>.
41845 (memmove): Redefined to __redirect_memmove.
41846 (__memmove_sse2): Use typeof __redirect_memmove.
41847 (__memmove_ssse3): Likewise.
41848 (__memmove_ssse3_back): Likewise.
41849 (__libc_memmove): New prototype.
41850 (memmove): Renamed to ...
41851 (__libc_memmove): This.
41852 (memmove): New strong alias of __libc_memmove.
41853
33b4a91e
MS
418542012-08-08 Mark Salter <msalter@redhat.com>
41855
41856 * elf/elf.h
41857 (R_MN10300_TLS_GD): Define.
41858 (R_MN10300_TLS_LD): Likewise.
41859 (R_MN10300_TLS_LDO): Likewise.
41860 (R_MN10300_TLS_GOTIE): Likewise.
41861 (R_MN10300_TLS_IE): Likewise.
41862 (R_MN10300_TLS_LE): Likewise.
41863 (R_MN10300_TLS_DTPMOD): Likewise.
41864 (R_MN10300_TLS_DTPOFF): Likewise.
41865 (R_MN10300_TLS_TPOFF): Likewise.
41866 (R_MN10300_SYM_DIFF): Likewise.
41867 (R_MN10300_ALIGN): Likewise.
41868 (R_MN10300_NUM): Update.
41869
b36137f1
JM
418702012-08-08 Joseph Myers <joseph@codesourcery.com>
41871
41872 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41873 Remove.
41874
cdd915fd
RM
418752012-08-08 Roland McGrath <roland@hack.frob.com>
41876
a2433aac
RM
41877 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41878
cdd915fd
RM
41879 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41880 sysdeps/unix -> sysdeps/posix move.
41881 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41882
bf9b740a
AM
418832012-08-07 Allan McRae <allan@archlinux.org>
41884
41885 [BZ #14303]
41886 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41887 (SUNOS_CPP): Likewise.
41888 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41889 not found.
41890 (open_input): Call CPP using execvp.
41891
93df14ee
JM
418922012-08-07 Joseph Myers <joseph@codesourcery.com>
41893
41894 * sysdeps/unix/sysv/linux/kernel-features.h
41895 (__ASSUME_PROT_GROWSUPDOWN): Remove.
41896 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41897 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41898 (__ASSUME_WAITID_SYSCALL): Likewise.
41899 * sysdeps/unix/sysv/linux/dl-execstack.c
41900 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41901 code unconditional.
41902 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41903 conditional code.
41904 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41905 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41906 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41907 code.
41908 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41909 unconditional.
41910 [__ASSUME_WAITID_SYSCALL]: Likewise.
41911 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41912
d34689de
RM
419132012-08-07 Roland McGrath <roland@hack.frob.com>
41914
a281decc
RM
41915 * sysdeps/unix/closedir.c: Renamed to ...
41916 * sysdeps/posix/closedir.c: ... here.
41917 * sysdeps/unix/dirfd.c: Renamed to ...
41918 * sysdeps/posix/dirfd.c: ... here.
41919 * sysdeps/unix/dirstream.h: Renamed to ...
41920 * sysdeps/posix/dirstream.h: ... here.
41921 * sysdeps/unix/fdopendir.c: Renamed to ...
41922 * sysdeps/posix/fdopendir.c: ... here.
41923 * sysdeps/unix/opendir.c: Renamed to ...
41924 * sysdeps/posix/opendir.c: ... here.
41925 * sysdeps/unix/readdir.c: Renamed to ...
41926 * sysdeps/posix/readdir.c: ... here.
41927 * sysdeps/unix/readdir_r.c: Renamed to ...
41928 * sysdeps/posix/readdir_r.c: ... here.
41929 * sysdeps/unix/rewinddir.c: Renamed to ...
41930 * sysdeps/posix/rewinddir.c: ... here.
41931 * sysdeps/unix/seekdir.c: Renamed to ...
41932 * sysdeps/posix/seekdir.c: ... here.
41933 * sysdeps/unix/telldir.c: Renamed to ...
41934 * sysdeps/posix/telldir.c: ... here.
41935 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41936 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41937 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41938 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41939
22895b47
RM
41940 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41941 * bits/fcntl.h: ... here.
41942
707a53b6
RM
41943 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41944 not 0.
41945 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41946 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41947 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41948 (struct flock): Move l_start, l_len to the beginning.
41949 Use __pid_t for l_pid.
41950 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41951 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41952 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41953 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41954 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41955 [__USE_LARGEFILE64] (struct flock64): New type.
41956 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41957
f0bd3e25
RM
41958 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41959 * bits/dirent.h: ... here.
41960
d34689de
RM
41961 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41962 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41963
6dad2c06
JM
419642012-08-07 Joseph Myers <joseph@codesourcery.com>
41965
41966 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41967 Change from 2.6.0 to 2.6.16.
41968 * sysdeps/unix/sysv/linux/configure: Regenerated.
41969 * sysdeps/unix/sysv/linux/kernel-features.h
41970 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41971 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41972 version.
41973 (__ASSUME_UTIMES): Likewise.
41974 (__ASSUME_CLONE_STOPPED): Remove.
41975 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41976 architectures, not kernel version.
41977 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41978 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41979 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41980 (__ASSUME_WAITID_SYSCALL): Likewise.
41981 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41982 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41983 * README: State 2.6.16 as minimum Linux kernel version. Do not
41984 refer to older versions.
41985
03af9520
RM
419862012-08-06 Roland McGrath <roland@hack.frob.com>
41987
8e49df1d
RM
41988 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41989 Define alphasort64 as an alias.
41990 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41991 Define versionsort64 as an alias.
41992 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41993 Define scandir64 as an alias.
41994 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41995 Define scandirat64 as an alias.
41996 * dirent/alphasort64.c (alphasort64):
41997 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41998 * dirent/versionsort64.c: Likewise.
41999 * dirent/scandir64.c: Likewise.
42000 * dirent/scandirat64.c: Likewise.
42001 * sysdeps/wordsize-64/alphasort.c: File removed.
42002 * sysdeps/wordsize-64/alphasort64.c: File removed.
42003 * sysdeps/wordsize-64/scandir.c: File removed.
42004 * sysdeps/wordsize-64/scandir64.c: File removed.
42005 * sysdeps/wordsize-64/scandirat.c: File removed.
42006 * sysdeps/wordsize-64/scandirat64.c: File removed.
42007 * sysdeps/wordsize-64/versionsort.c: File removed.
42008 * sysdeps/wordsize-64/versionsort64.c: File removed.
42009 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42010 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42011 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42012 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42013 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42014 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42015 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42016 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42017
42018 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42019 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42020 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42021 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42022 [defined __arch64__ || defined __sparcv9]
42023 (__INO_T_MATCHES_INO64_T): New macro.
42024 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42025 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42026 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42027 * sysdeps/unix/sysv/linux/bits/dirent.h
42028 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42029 (_DIRENT_MATCHES_DIRENT64): New macro.
42030
03af9520
RM
42031 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42032 Define lockf64 as an alias.
42033 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42034 Define fseeko64 as an alias.
42035 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42036 Define ftello64 as an alias.
42037 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42038 Define _IO_fgetpos64 and fgetpos64 as aliases.
42039 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42040 Define _IO_fsetpos64 and fsetpos64 as aliases.
42041 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42042 Conditionalize body on this.
42043 * libio/fseeko64.c: Likewise.
42044 * libio/ftello64.c: Likewise.
42045 * libio/iofgetpos64.c: Likewise.
42046 * libio/iofsetpos64.c: Likewise.
42047 * sysdeps/wordsize-64/lockf.c: File removed.
42048 * sysdeps/wordsize-64/lockf64.c: File removed.
42049 * sysdeps/wordsize-64/fseeko.c: File removed.
42050 * sysdeps/wordsize-64/fseeko64.c: File removed.
42051 * sysdeps/wordsize-64/ftello.c: File removed.
42052 * sysdeps/wordsize-64/ftello64.c: File removed.
42053 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42054 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42055 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42056 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42057 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42058 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42059 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42060 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42061 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42062 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42063 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42064 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42065 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42066 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42067
42068 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42069 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42070 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42071 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42072 [defined __arch64__ || defined __sparcv9]
42073 (__OFF_T_MATCHES_OFF64_T): New macro.
42074 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42075 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42077 (__OFF_T_MATCHES_OFF64_T): New macro.
42078
c5757acd
L
420792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42080
42081 * stdlib/secure-getenv.c (__secure_getenv): Replace
42082 GLIBC_2_16 with GLIBC_2_17.
42083
3a31811e
L
420842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42085
42086 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42087 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42088
faa2bccb
DM
420892012-08-03 David S. Miller <davem@davemloft.net>
42090
42091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42092
85fe1997
JM
420932012-08-03 Joseph Myers <joseph@codesourcery.com>
42094
42095 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42096 Remove.
42097 (__ASSUME_CORRECT_SI_PID): Likewise.
42098 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42099 (__ASSUME_TMPFS_NAME): Likewise.
42100 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42101 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42102 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42103 (HAVE_AUX_SECURE): Make definition unconditional.
42104 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42105 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42106
4f75b7a0
RM
421072012-08-03 Roland McGrath <roland@hack.frob.com>
42108
42109 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42110 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42111 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42112 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42113 __eloop_threshold instead of SYMLOOP_MAX.
42114
42115 * sysdeps/generic/eloop-threshold.h: New file.
42116 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42117 of MAXSYMLINKS.
42118 * elf/chroot_canon.c (chroot_canon): Likewise.
42119
7aab07e4
JM
421202012-08-03 Joseph Myers <joseph@codesourcery.com>
42121
42122 [BZ #13717]
42123 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42124 Change to 2.6.0 everywhere.
42125 * sysdeps/unix/sysv/linux/configure: Regenerated.
42126 * sysdeps/unix/sysv/linux/kernel-features.h
42127 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42128 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42129 kernel versions.
42130 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42131 (__ASSUME_FUTEX_REQUEUE): Remove.
42132 (__ASSUME_STATFS64): Define unconditionally.
42133 (__ASSUME_AT_SECURE): Likewise.
42134 (__ASSUME_CORRECT_SI_PID): Likewise.
42135 (__ASSUME_TGKILL): Define without depending on kernel version for
42136 i386.
42137 (__ASSUME_UTIMES): Likewise.
42138 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42139 kernel version.
42140 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42141 (__ASSUME_TMPFS_NAME): Likewise.
42142 * README: Update reference to Linux kernel versions.
42143
b67e9372
MP
421442012-08-02 Marek Polacek <polacek@redhat.com>
42145
1f529f7d 42146 [BZ# 14150]
b67e9372
MP
42147 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42148 libc_cv_asm_type_prefix with %.
42149 * configure: Regenerated.
d2441631
RM
42150 * include/libc-symbols.h: Remove comment about
42151 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
42152 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42153 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42154 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42155 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42156 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42157 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42158 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42159 * elf/tst-unique2mod1.c: Likewise.
42160 * elf/tst-unique1mod2.c: Likewise.
42161 * elf/tst-unique1mod1.c: Likewise.
42162 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42163 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42164 Replace ASM_TYPE_DIRECTIVE with .type.
42165 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42166 * sysdeps/i386/sysdep.h: Likewise.
42167 * sysdeps/x86_64/sysdep.h: Likewise.
42168 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
42169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42170 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 42171 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
42172 * sysdeps/powerpc/powerpc32/sysdep.h:
42173 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
42174 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42175 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42176 * sysdeps/i386/fpu/e_powf.S: Likewise.
42177 * sysdeps/i386/fpu/e_expl.S: Likewise.
42178 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42179 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42180 * sysdeps/i386/fpu/e_pow.S: Likewise.
42181 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42182 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42183 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42184 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42185 * sysdeps/i386/fpu/e_log2.S: Likewise.
42186 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42187 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42188 * sysdeps/i386/fpu/e_powl.S: Likewise.
42189 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42190 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42191 * sysdeps/i386/fpu/e_logl.S: Likewise.
42192 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42193 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42194 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42195 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42196 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42197 * sysdeps/i386/fpu/e_log.S: Likewise.
42198 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42199 * sysdeps/i386/fpu/e_logf.S: Likewise.
42200 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42201 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42202 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42203 * sysdeps/i386/fpu/e_log10.S: Likewise.
42204 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42205 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42206 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42207 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42208 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42209 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42210 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42211 * sysdeps/i386/i686/strtok.S: Likewise.
42212 * sysdeps/i386/i386-mcount.S: Likewise.
42213 * sysdeps/i386/strtok.S: Likewise.
42214 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42215 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42216 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42217 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42218 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42219 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42220 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42221 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42222 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42223 * sysdeps/x86_64/_mcount.S: Likewise.
42224 * sysdeps/x86_64/strtok.S: Likewise.
42225 * sysdeps/sh/_mcount.S: Likewise.
42226
2747bf9a
RM
422272012-08-01 Roland McGrath <roland@hack.frob.com>
42228
42229 * libio/iofopen.c: Include <fcntl.h>.
42230 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42231 (_IO_fopen64, fopen64): Define as aliases.
42232 * libio/iofopen64.c: Include <fcntl.h>.
42233 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42234 Conditionalize body on this.
42235 * sysdeps/wordsize-64/iofopen.c: File removed.
42236 * sysdeps/wordsize-64/iofopen64.c: File removed.
42237
3fb791b8
MP
422382012-08-01 Marek Polacek <polacek@redhat.com>
42239
42240 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42241 Use dlfcn directly instead of a variable.
42242 (binfmt-subdir): Do not define.
42243 (dlfcn): Likewise.
42244
a9f1039f
JM
422452012-08-01 Joseph Myers <joseph@codesourcery.com>
42246
23bddc06
JM
42247 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42248 Remove all definitions.
42249 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42250 <kernel-features.h>.
42251 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42252 (miss_F_GETOWN_EX): Remove all definitions.
42253 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42254 macro definition.
42255 [!__ASSUME_FCNTL64]: Remove conditional code.
42256 [__ASSUME_FCNTL64]: Make code unconditional.
42257 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42258 <kernel-features.h>.
42259 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42260 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42261 (lockf64) [__NR_fcntl64]: Make code unconditional.
42262 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42263
a9f1039f
JM
42264 * sysdeps/unix/sysv/linux/kernel-features.h
42265 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42266 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42267 Make code unconditional.
42268 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42269 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42271 [__NR_vfork]: Make code unconditional.
42272 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42273 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42275 [__NR_vfork]: Make code unconditional.
42276 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42277 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42278
09c0ee5f
RM
422792012-08-01 Roland McGrath <roland@hack.frob.com>
42280
48aec5b9
RM
42281 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42282 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42283
cd97c966
RM
42284 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42285 Define mkstemp64 as an alias.
3f55550c
RM
42286 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42287 Define mkstemps64 as an alias.
cd97c966
RM
42288 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42289 Define mkostemp64 as an alias.
b8625cfc
RM
42290 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42291 Define mkostemps64 as an alias.
cd97c966
RM
42292 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42293 Conditionalize body on this.
42294 * misc/mkostemp64.c: Likewise.
b8625cfc 42295 * misc/mkostemps64.c: Likewise.
3f55550c 42296 * misc/mkstemps64.c: Likewise.
cd97c966
RM
42297 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42298 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42299 * sysdeps/wordsize-64/mkostemp.c: File removed.
42300 * sysdeps/wordsize-64/mkstemp.c: File removed.
42301 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42302 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42303 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42304 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42305
09c0ee5f
RM
42306 [BZ #14138]
42307 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42308 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42309 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42310 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42311
42312 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42313 compat_symbol macros from <shlib-compat.h> rather than the underlying
42314 default_symbol_version and symbol_version macros, so that DEFAULT
42315 lines in shlib-versions are respected.
42316 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42317
7e66ee51
FW
423182012-08-01 Florian Weimer <fweimer@redhat.com>
42319
42320 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42321 Declare with warn_unused_result.
42322 (setgid, setregid, setegid, setresgid): Likewise.
42323 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42324 Likewise.
42325 * WUR-REPORT: Remove set*id functions.
42326
d2a54255
PT
423272012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42328
42329 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42330
7ecdb005
RM
423312012-07-31 Roland McGrath <roland@hack.frob.com>
42332
b4180a5e 42333 [BZ #10191]
789bd351
RM
42334 * include/sys/socket.h (__libc_accept, __libc_accept4):
42335 Add attribute_hidden.
42336 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42337
40ce302d
RM
42338 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42339 use of PTR_MANGLE.
42340 * inet/getnetgrent_r.c (setup): Likewise.
42341
7ecdb005
RM
42342 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42343
e2eabb2c
DM
423442012-07-31 David S. Miller <davem@davemloft.net>
42345
42346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42347
d0419dbf
JM
423482012-07-31 Joseph Myers <joseph@codesourcery.com>
42349
42350 [BZ #13629]
42351 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42352 value between 1.0 and 2.0 and smaller part has absolute value less
42353 than 1.0.
42354 * math/s_clog10.c (__clog10): Likewise.
42355 * math/s_clog10f.c (__clog10f): Likewise.
42356 * math/s_clog10l.c (__clog10l): Likewise.
42357 * math/s_clogf.c (__clogf): Likewise.
42358 * math/s_clogl.c (__clogl): Likewise.
42359 * math/libm-test.inc (clog_test): Add more tests.
42360 (clog10_test): Likewise.
42361 * sysdeps/i386/fpu/libm-test-ulps: Update.
42362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42363
2bc13872
FW
423642012-07-31 Florian Weimer <fweimer@redhat.com>
42365
42366 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42367 Exit with zero in case no suitable GID is found, and write a
42368 message to standard error.
42369
bea9b193
RM
423702012-07-30 Roland McGrath <roland@hack.frob.com>
42371
42372 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42373 rather than to 1.
42374 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42375 (MAXPATHLEN): Removed.
42376 (NOGROUP, NODEV): New macros.
42377 (setbit, clrbit, isset, isclr): New macros.
42378 (howmany, roundup, powerof2): New macros.
42379 (DEV_BSIZE): New macro.
42380
42381 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42382 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42383
42384 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42385 definition on [!__NO_LONG_DOUBLE_MATH].
42386
42387 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42388 PTR_MANGLE and PTR_DEMANGLE.
42389
42390 * socket/accept4.c (accept4): Rename to __libc_accept4.
42391 Define accept4 as a weak alias.
42392
42393 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42394 on [_DIRENT_HAVE_D_TYPE].
42395 * io/ftw.c (ftw_dir): Likewise.
42396
42397 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42398
42399 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42400
42401 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42402 Use the BSD numbers rather than the arbitrary ones we had.
42403 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42404 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42405 (SIGXCPU, SIGXFSZ): New macros.
42406 (_NSIG): Now 32.
42407
42408 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42409 initializer on [_LIBC_REENTRANT].
42410
42411 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42412 definitions inside [_POSIX_MAPPED_FILES].
42413
42414 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42415
42416 * dirent/opendir.c: Include <fcntl.h>.
42417
42418 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42419 (__libc_getspecific): Likewise.
42420 (__libc_key_create): Likewise.
42421
42422 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42423 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42424 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42425 (tmpfile64): Define as alias.
42426 * sysdeps/wordsize-64/tmpfile.c: File removed.
42427 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42428 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42429 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42430
42431 * stdio-common/vfscanf.c: Include <stdbool.h>.
42432 * nss/makedb.c: Likewise.
42433 * stdio-common/_i18n_number.h: Likewise.
42434 * argp/argp-help.c: Likewise.
42435 * posix/wordexp.c: Likewise.
42436 * sysdeps/posix/spawni.c: Likewise.
42437 * nss/nss_files/files-initgroups.c: Likewise.
42438 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42439 * nss/nss_files/files-initgroups.c: Likewise.
42440 * nss/nss_db/db-netgrp.c: Likewise.
42441 * nss/nss_db/db-initgroups.c: Likewise.
42442 * io/fchmodat.c: Include <sys/stat.h>.
42443
42444 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42445 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42446
42447 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42448 [HAVE_MMAP].
42449
42450 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42451 Add multiple inclusion protection.
42452
e5abc686
DM
424532012-07-27 David S. Miller <davem@davemloft.net>
42454
42455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42456
815e6fa3
GB
424572012-07-27 Gary Benson <gbenson@redhat.com>
42458
42459 [BZ #14298]
42460 * elf/rtld.c: Include <stap-probe.h>.
42461 (dl_main): Added static probes "init_start" and "init_complete".
42462 * elf/dl-load.c: Include <stap-probe.h>.
42463 (lose): Take new parameter "nsid".
42464 Added static probe "map_failed".
42465 (_dl_map_object_from_fd): Pass namespace id to lose.
42466 Added static probe "map_start".
42467 (open_verify): Pass namespace id to lose.
42468 * elf/dl-open.c: Include <stap-probe.h>.
42469 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42470 and "reloc_complete".
42471 * elf/dl-close.c: Include <stap-probe.h>.
42472 (_dl_close_worker): Added static probes "unmap_start" and
42473 "unmap_complete".
42474 * elf/rtld-debugger-interface.txt: New file documenting the above.
42475
9f98c16c
RM
424762012-07-26 Roland McGrath <roland@hack.frob.com>
42477
42478 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42479 rather than a string variable.
42480 * sunrpc/rpc_main.c (h_output): Likewise.
42481 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42482
f3c22df3
PT
424832012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42484
42485 * inet/check_native.c: New file.
42486
3129cfc6
JM
424872012-07-26 Joseph Myers <joseph@codesourcery.com>
42488
da865e95
JM
42489 [BZ #13629]
42490 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42491 if larger part has absolute value 1.0.
42492 * math/s_clog10.c (__clog10): Likewise.
42493 * math/s_clog10f.c (__clog10f): Likewise.
42494 * math/s_clog10l.c (__clog10l): Likewise.
42495 * math/s_clogf.c (__clogf): Likewise.
42496 * math/s_clogl.c (__clogl): Likewise.
42497 * math/libm-test.inc (clog_test): Add more tests.
42498 (clog10_test): Likewise.
42499 * sysdeps/i386/fpu/libm-test-ulps: Update.
42500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42501
3129cfc6
JM
42502 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42503 (pltexit): Likewise.
42504 (La_regs): Likewise.
42505 (La_retval): Likewise.
42506 (int_retval): Likewise.
42507 Update #error for removed macros to refer only to definitions in
42508 tst-audit.h.
42509 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42510 macro.
42511 (pltexit): Likewise.
42512 (La_regs): Likewise.
42513 (La_retval): Likewise.
42514 (int_retval): Likewise.
42515 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42516 macro.
42517 (pltexit): Likewise.
42518 (La_regs): Likewise.
42519 (La_retval): Likewise.
42520 (int_retval): Likewise.
42521 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42522 macro.
42523 (pltexit): Likewise.
42524 (La_regs): Likewise.
42525 (La_retval): Likewise.
42526 (int_retval): Likewise.
42527 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42528 macro.
42529 (pltexit): Likewise.
42530 (La_regs): Likewise.
42531 (La_retval): Likewise.
42532 (int_retval): Likewise.
42533 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42534 macro.
42535 (pltexit): Likewise.
42536 (La_regs): Likewise.
42537 (La_retval): Likewise.
42538 (int_retval): Likewise.
42539 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42540 macro.
42541 (pltexit): Likewise.
42542 (La_regs): Likewise.
42543 (La_retval): Likewise.
42544 (int_retval): Likewise.
42545 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42546 macro definitions in tst-audit.h.
42547 * sysdeps/i386/tst-audit.h: New file.
42548 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42549 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42550 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42551 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42552 * sysdeps/sh/tst-audit.h: Likewise.
42553 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42554 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42555 * sysdeps/x86_64/tst-audit.h: Likewise.
42556
bfc07087
AJ
425572012-07-26 Andreas Jaeger <aj@suse.de>
42558
b1b2aaf8
AJ
42559 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42560 ptrace.
42561
42562 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42563 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42564 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42565 PTRACE_O_MASK.
42566 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42567 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42568 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42569
bfc07087
AJ
42570 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42571 value.
42572
42573 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42574 _sigsys.
42575 (si_call_addr, si_syscall, si_arch): Define new macro.
42576 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42577 _sigsys.
42578 (si_call_addr, si_syscall, si_arch): Define new marcro.
42579 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42580 _sigsys.
42581 (si_call_addr, si_syscall, si_arch): Define new macro.
42582 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42583 _sigsys.
42584 (si_call_addr, si_syscall, si_arch): Define new macro.
42585
89b4b02f
JM
425862012-07-25 Joseph Myers <joseph@codesourcery.com>
42587
42588 [BZ #13717]
42589 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42590 Change to 2.4.21 where previously 2.4.1.
42591 * sysdeps/unix/sysv/linux/configure: Regenerated.
42592 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42593 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42594 Linux kernel version.
42595 (__ASSUME_STD_AUXV): Remove.
42596 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42597 kernel version.
42598 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42599 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42600 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42601 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42602 (__ASSUME_NETLINK_SUPPORT): Likewise.
42603 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42604 (__no_netlink_support): Remove conditional definition.
42605 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42606 Remove.
42607 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42608 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42609 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42610 (if_nameindex_ioctl): Remove.
42611 (if_nameindex_netlink): Do not handle __no_netlink_support.
42612 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42613 code.
42614 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42615 Remove conditional code.
42616 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42617 code.
42618 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42619 unconditional.
42620 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42621 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42622 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42623 Remove.
42624 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42625 [!__ASSUME_STD_AUXV]: Remove conditional code.
42626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42627 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42628 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42630 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42631 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42632 code.
42633 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42635 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42636 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42637 conditional code.
42638 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42640 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42641 code.
42642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42643 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42644 conditional code.
42645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42646 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42647 code unconditional.
42648 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42649 conditional code.
42650 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42651 unconditional.
42652 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42653 conditional code.
42654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42655 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42656 unconditional.
42657 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42658 conditional code.
42659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42660 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42661 code unconditional.
42662 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42663 conditional code.
42664 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42665 unconditional.
42666 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42667 conditional code.
42668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42669 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42670 code unconditional.
42671 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42672 conditional code.
42673 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42674 unconditional.
42675 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42676 conditional code.
42677
842a39cd
AS
426782012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42679
42680 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42681 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42682 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42683 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42684 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42685 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42686 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42687 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42688 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42689 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42690 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42691 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42692 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42693 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42694 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42695 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42696 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42697 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42698 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42700 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42701 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42702 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42703
84b3fd84
FW
427042012-07-25 Florian Weimer <fweimer@redhat.com>
42705
42706 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
42707 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42708 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42709 Introduce __libc_secure_getenv.
0c7936d5
FW
42710 * stdlib/Versions (2.17): Add secure_getenv
42711 (GLIBC_PRIVATE): Add __libc_secure_getenv.
42712 * stdlib/secure-getenv.c: Rename __secure_getenv to
42713 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
42714 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
42715 * stdlib/tst-secure-getenv.c: New.
42716 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
42717 * manual/startup.texi (Environment Access): Document
42718 secure_getenv.
84b3fd84
FW
42719 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42720 __libc_secure_getenv.
42721 * inet/ruserpass.c (ruserpass): Likewise.
42722 * malloc/mtrace.c (mtrace): Likewise.
42723 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 42724 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
42725 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42726 * sysdeps/posix/tempname.c: Likewise. Evaluate
42727 HAVE_SECURE_GETENV.
42728 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 42729 __secure_getenv to __libc_secure_getenv.
84b3fd84 42730 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
42731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42732 Likewise.
42733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42734 Likewise.
42735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42737 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 42742
56e49b71
JM
427432012-07-25 Joseph Myers <joseph@codesourcery.com>
42744
42745 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42746 (struct La_i86_retval): Likewise.
42747 (struct La_x86_64_regs): Likewise.
42748 (struct La_x86_64_retval): Likewise.
42749 (struct La_x32_regs): Likewise.
42750 (struct La_x32_retval): Likewise.
42751 (struct La_ppc32_regs): Likewise.
42752 (struct La_ppc32_retval): Likewise.
42753 (struct La_ppc64_regs): Likewise.
42754 (struct La_ppc64_retval): Likewise.
42755 (struct La_sh_regs): Likewise.
42756 (struct La_sh_retval): Likewise.
42757 (struct La_s390_32_regs): Likewise.
42758 (struct La_s390_32_retval): Likewise.
42759 (struct La_s390_64_regs): Likewise.
42760 (struct La_s390_64_retval): Likewise.
42761 (struct La_sparc32_regs): Likewise.
42762 (struct La_sparc32_retval): Likewise.
42763 (struct La_sparc64_regs): Likewise.
42764 (struct La_sparc64_retval): Likewise.
42765 (struct audit_ifaces): Remove architecture-specific pltenter and
42766 pltexit members.
42767 * sysdeps/i386/ldsodefs.h: New file.
42768 * sysdeps/powerpc/ldsodefs.h: Likewise.
42769 * sysdeps/s390/ldsodefs.h: Likewise.
42770 * sysdeps/sh/ldsodefs.h: Likewise.
42771 * sysdeps/sparc/ldsodefs.h: Likewise.
42772 * sysdeps/x86_64/ldsodefs.h: Likewise.
42773
354691b7
MP
427742012-07-25 Marek Polacek <polacek@redhat.com>
42775
42776 [BZ #6808]
42777 * math/libm-test.inc (yn_test): Add another test.
42778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42779 to ERANGE when the result is +-Inf.
42780 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42781 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42782 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42783 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42784
bf9e2071
JM
427852012-07-24 Joseph Myers <joseph@codesourcery.com>
42786
42787 * conform/data/time.h-data (NULL): Use macro-constant. Require
42788 equal to 0.
42789 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
42790 clock_t.
42791 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
42792
57633811
TS
427932012-07-23 Thomas Schwinge <thomas@codesourcery.com>
42794
42795 * configure.in <sysdeps resolving>: Correct printing
42796 Implies_before.
42797 * configure: Regenerate.
42798
c23c33b0
TS
427992012-07-22 Thomas Schwinge <thomas@codesourcery.com>
42800
42801 * math/w_ilogb.c: Include <limits.h>.
42802 * math/w_ilogbl.c: Likewise.
42803
b5982523
JM
428042012-07-20 Joseph Myers <joseph@codesourcery.com>
42805
42806 * manual/lang.texi (__va_copy): Document primarily as ISO C99
42807 va_copy. Document allowing for unavailable va_copy only as
42808 pre-C99 compatibility.
42809 * manual/string.texi (Copying and Concatenation): Use va_copy
42810 instead of __va_copy in concat example.
42811
ac4ea442
PT
428122012-07-20 Pino Toscano <toscano.pino@tiscali.it>
42813
42814 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42815 (__sendto): Use create_address_port. Initialize APORT and deallocate
42816 it if not null.
42817
f98eafbd
PT
42818 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42819 with O_NOLINK passed to __file_name_lookup.
42820
898c7aab
PT
42821 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42822 with O_NOLINK passed to __file_name_lookup.
42823
0ced335a
PT
42824 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42825 negative N or less than NGIDS.
42826
b3404dbd
PT
42827 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42828 type to string_t. Set ERANGE as errno and return it if NAME is not big
42829 enough. Use memcpy instead of strncpy.
42830
0f48659e
JM
428312012-07-20 Joseph Myers <joseph@codesourcery.com>
42832
42833 * elf/Makefile (check-data): Remove.
42834 (localplt.data): New vpath directive.
42835 ($(objpfx)check-localplt.out): Use localplt.data from vpath
42836 instead of $(check-data).
42837 * scripts/data/localplt-generic.data: Move to ...
42838 * sysdeps/generic/localplt.data: ... here.
42839 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42840 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42841 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42843 ... here.
42844 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42846 ... here.
42847 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42849 ... here.
42850 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42852 ... here.
42853 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42855 ... here.
42856 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42858 ... here.
42859
d37cbdaa
AZ
428602012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42861
42862 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42863 PPC32 and PPC64 files.
42864 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
42865 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
42866
46f85fc2
AK
428672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42868
42869 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
42870 __makecontext_ret to ...
42871 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42872 ... here and call exit if uc_link is NULL. New file.
42873 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42874 __makecontext_ret.S.
42875 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42876 __makecontext_ret to ...
42877 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42878 ... here and call exit if uc_link is NULL. New file.
42879 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42880 __makecontext_ret.S.
42881
08f43f9b
AK
428822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42883
42884 * elf/elf.h (R_390_IRELATIVE): New definition.
42885 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42886 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
42887 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42889 (elf_machine_lazy_rel): Likewise.
42890 * sysdeps/s390/dl-irel.h: New file.
42891 * sysdeps/s390/s390-64/memcpy.S: New asm code.
42892 * sysdeps/s390/s390-64/memset.S: New asm code.
42893 * sysdeps/s390/s390-64/memcmp.S: New asm code.
42894 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42895 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42896 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42897 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42898 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42899 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42900 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42901 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42902 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42903 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42904 * sysdeps/s390/s390-32/memcpy.S: New asm code.
42905 * sysdeps/s390/s390-32/memset.S: New asm code.
42906 * sysdeps/s390/s390-32/memcmp.S: New asm code.
42907
3b05db33
MP
429082012-07-17 Marek Polacek <polacek@redhat.com>
42909
42910 [BZ #14349]
42911 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42912 * sysdeps/s390/s390-64/configure.in: Likewise.
42913 * sysdeps/sparc/configure.in: Likewise.
42914 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42915 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42916 * sysdeps/i386/configure.in: Likewise.
42917 * sysdeps/x86_64/configure.in: Likewise.
42918 * sysdeps/sh/configure.in: Likewise.
42919 * sysdeps/s390/s390-32/configure: Regenerated.
42920 * sysdeps/s390/s390-64/configure: Likewise.
42921 * sysdeps/x86_64/configure: Likewise.
42922 * sysdeps/sh/configure: Likewise.
42923 * sysdeps/powerpc/powerpc64/configure: Likewise.
42924 * sysdeps/powerpc/powerpc32/configure: Likewise.
42925 * sysdeps/sparc/configure: Likwise.
42926 * sysdeps/i386/configure: Likewise.
42927
a66877c6
MP
42928 * elf/dl-open.c: Comment fixes.
42929
cfc82fd8
JM
429302012-07-17 Joseph Myers <joseph@codesourcery.com>
42931
bd29910a
JM
42932 * Makefile [CXX] (check-data): Remove.
42933 [CXX] (c++-types.data): New vpath directive.
42934 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42935 vpath. Do not allow for C++ type data being missing.
42936 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42937 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42938 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42939 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42940 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42941 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42942 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42944 ... here.
42945 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42947 ... here.
42948 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42950 ... here.
42951 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42953 ... here.
42954 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42956 ... here.
42957 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42959 ... here.
42960 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42962 ... here.
42963 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42965
cfc82fd8
JM
42966 * elf/tls-macros.h (TLS_LE): Move architecture-specific
42967 definitions to architecture-specific files.
42968 (TLS_IE): Likewise.
42969 (TLS_LD): Likewise.
42970 (TLS_GD): Likewise.
42971 * sysdeps/i386/tls-macros.h: New file.
42972 * sysdeps/powerpc/tls-macros.h: Likewise.
42973 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42974 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42975 * sysdeps/sh/tls-macros.h: Likewise.
42976 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42977 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42978 * sysdeps/x86_64/tls-macros.h: Likewise.
42979
f7db3170
TS
429802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42981
07cbfc23
TS
42982 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42983 zero value for regular exit case.
42984
f7db3170
TS
42985 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42986 (__start_context): Preserve zero value for regular exit case.
42987
dc97c227
TS
429882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42989 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42990
42991 * manual/setjmp.texi (setcontext): Clarify normal process
42992 termination when uc_link is the null pointer.
42993 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42994 exit call.
42995
d0cd7d02
AS
429962012-07-16 Andreas Schwab <schwab@linux-m68k.org>
42997
42998 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42999 preprocessor. Test for each exception mask separately.
43000
dd318934
AJ
430012012-07-16 Andreas Jaeger <aj@suse.de>
43002
43003 * po/ru.po: Update from translation team.
43004
8048311a
JM
430052012-07-15 Joseph Myers <joseph@codesourcery.com>
43006
43007 * conform/data/string.h-data (NULL): Use macro-constant. Require
43008 equal to 0.
43009 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43010 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43011 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43012 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43013 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43014
b637d46e
AJ
430152012-07-13 Andreas Jaeger <aj@suse.de>
43016
43017 * po/fr.po: Update from translation team.
43018
541428fe
MP
430192012-07-12 Marek Polacek <polacek@redhat.com>
43020
43021 [BZ #14173]
43022 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43023 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43024 loop condition.
43025
ec332e94
JM
430262012-07-12 Joseph Myers <joseph@codesourcery.com>
43027
43028 [BZ #13717]
43029 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43030 Change to 2.4.1 where previously 2.4.0.
43031 * sysdeps/unix/sysv/linux/configure: Regenerated.
43032 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43033 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43034 version.
43035 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43036 (__ASSUME_AT_CLKTCK): Remove.
43037 (__ASSUME_AT_PAGESIZE): Likewise.
43038 (__ASSUME_AT_XID): Likewise.
43039 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43040 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43041 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43042 unconditionally.
43043 (HAVE_AUX_PAGESIZE): Likewise.
43044 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43045 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43046 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43047
7b6e99be
JB
430482012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43049
43050 [BZ #14307]
43051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43052 the temporary buffer used to invoke __gethostbyname2_r,
43053 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43054 host_data / struct gaih_addrtuple.
43055 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43056 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43057 header file nss/nsswitch.h.
43058 * nss/nsswitch.h (global scope): Add definition of implementation
43059 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43060 resolv/nss_dns/dns-host.c).
43061
608404eb
AJ
430622012-07-11 Andreas Jaeger <aj@suse.de>
43063
43064 * po/fr.po: Update from translation team.
43065
71220aca
AJ
43066 * po/sv.po: Update from translation team
43067 * po/fr.po: Another update from translation team.
43068
28cfe843
AZ
430692012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43070
43071 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43072 for subnormals or multiply small sinh result by itself.
43073 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43075
6b90f981
DM
430762012-07-11 David S. Miller <davem@davemloft.net>
43077
43078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43079
c6825772
AS
430802012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43081
43082 [BZ #14347]
43083 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43084 (INTERNAL_MARK): Shift it here.
43085
7b8e0d49
MP
430862012-07-10 Marek Polacek <polacek@redhat.com>
43087
43088 [BZ #14151]
43089 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43090 libc_cv_asm_global_directive with .globl.
43091 * configure: Regenerated.
43092 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43093 with .globl.
43094 * sysdeps/i386/configure: Regenerated.
43095 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43096 with .globl.
43097 * sysdeps/x86_64/configure: Regenerated.
43098 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43099 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43100 * elf/tst-unique2mod2.c: Likewise.
43101 * elf/tst-unique2mod1.c: Likewise.
43102 * elf/tst-unique1mod2.c: Likewise.
43103 * elf/tst-unique1mod1.c: Likewise.
43104 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43105 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43106 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43107 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43108 * sysdeps/mach/sysdep.h: Likewise.
43109 * sysdeps/i386/sysdep.h: Likewise.
43110 * sysdeps/i386/i386-mcount.S: Likewise.
43111 * sysdeps/x86_64/_mcount.S: Likewise.
43112 * sysdeps/x86_64/sysdep.h: Likewise.
43113 * sysdeps/sh/_mcount.S: Likewise.
43114 * sysdeps/sh/sysdep.h: Likewise.
43115 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43116 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43117 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43118 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43119 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43120 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43121 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43122 * locale/localeinfo.h: Likewise.
43123 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43124 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43125
6c55cda3
RM
431262012-07-09 Roland McGrath <roland@hack.frob.com>
43127
43128 [BZ #14336]
43129 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43130 system".
43131 * manual/message.texi (The Uniforum approach): Likewise.
43132 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43133 (glibc iconv Implementation): Likewise.
43134
638a572e
JM
431352012-07-09 Joseph Myers <joseph@codesourcery.com>
43136
43137 [BZ #14337]
43138 * math/s_clog.c (__clog): Avoid scaling a value down where that
43139 could result in underflow.
43140 * math/s_clog10.c (__clog10): Likewise.
43141 * math/s_clog10f.c (__clog10f): Likewise.
43142 * math/s_clog10l.c (__clog10l): Likewise.
43143 * math/s_clogf.c (__clogf): Likewise.
43144 * math/s_clogl.c (__clogl): Likewise.
43145 * math/libm-test.inc (clog_test): Add more tests.
43146 (clog10_test): Likewise.
43147 * sysdeps/i386/fpu/libm-test-ulps: Update.
43148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43149
261f4859
AS
431502012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43151
0abaf3e4
AS
43152 [BZ #14283]
43153 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43154 by 7 not 8 to examine high bit of fractional part.
43155
261f4859
AS
43156 [BZ #14042]
43157 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43158 for call to __mcount_internal.
43159 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43160 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43161 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43162
f17ac40d
JM
431632012-07-06 Joseph Myers <joseph@codesourcery.com>
43164
9ad63c23
JM
43165 [BZ #14154]
43166 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43167 approximation for values within 0x1p-13f of an odd multiple of
43168 pi/4.
43169 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43170 exception. Add more tests.
43171 * sysdeps/i386/fpu/libm-test-ulps: Update.
43172
f17ac40d
JM
43173 [BZ #6778]
43174 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43175 inputs and return -1 for them. Do not check for +Inf in case not
43176 reachable for +Inf.
43177 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43178 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43179 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43180 and return -1 for them. Do not check for +Inf in case not
43181 reachable for +Inf.
43182 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43183 define.
43184 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43185 and return -1 for them. Do not check for +Inf in case not
43186 reachable for +Inf.
43187 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43188 spurious underflow.
43189 * sysdeps/i386/fpu/libm-test-ulps: Update.
43190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43191
fb21f89b
MF
431922012-07-06 Mike Frysinger <vapier@gentoo.org>
43193
43194 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43195
cdfe2c5e
JM
431962012-07-05 Joseph Myers <joseph@codesourcery.com>
43197
43198 [BZ #14157]
43199 [BZ #14331]
43200 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43201 could result in spurious underflow. Scale down values above
43202 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43203 * math/s_csqrtf.c (__csqrtf): Likewise.
43204 * math/s_csqrtl.c (__csqrtl): Likewise.
43205 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
43206 spurious underflow.
43207 * sysdeps/i386/fpu/libm-test-ulps: Update.
43208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43209
70d35b67
AS
432102012-07-04 Andreas Schwab <schwab@linux-m68k.org>
43211
704bc459
AS
43212 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43213 xopen-msg.sed.
43214 * catgets/xopen-msg.awk: New file.
43215 * catgets/xopen-msg.sed: Removed.
43216
70d35b67
AS
43217 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43218 po2text.sed.
43219 * intl/po2test.awk: New file.
43220 * intl/po2test.sed: Removed.
43221
ca61cf32
JM
432222012-07-04 Joseph Myers <joseph@codesourcery.com>
43223
43224 [BZ #14328]
43225 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43226 or multiply small sinh result by itself.
43227 * math/s_ctanf.c (__ctanf): Likewise.
43228 * math/s_ctanh.c (__ctanh): Likewise.
43229 * math/s_ctanhf.c (__ctanhf): Likewise.
43230 * math/s_ctanhl.c (__ctanhl): Likewise.
43231 * math/s_ctanl.c (__ctanl): Likewise.
43232 * math/libm-test.inc (ctan_test_tonearest): New function.
43233 (ctan_test_towardzero): Likewise.
43234 (ctan_test_downward): Likewise.
43235 (ctan_test_upward): Likewise.
43236 (ctanh_test_tonearest): Likewise.
43237 (ctanh_test_towardzero): Likewise.
43238 (ctanh_test_downward): Likewise.
43239 (ctanh_test_upward): Likewise.
43240 (main): Call these new functions.
43241 * sysdeps/i386/fpu/libm-test-ulps: Update.
43242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43243
ca48a46a
MF
432442012-07-03 Mike Frysinger <vapier@gentoo.org>
43245
43246 * .gitignore: Delete /ports entry.
43247
9d63d37d
AJ
432482012-07-03 Andreas Jaeger <aj@suse.de>
43249
43250 * po/bg.po: Update from translation team.
43251 * po/cs.po: Likewise.
43252 * po/de.po: Likewise.
43253 * po/hr.po: Likewise.
43254 * po/nl.pl: Likewise.
43255 * po/pl.po: Likewise.
43256 * po/vi.po: Likewise.
43257
370ca3d2
JM
432582012-07-03 Joseph Myers <joseph@codesourcery.com>
43259
95f5a9a8
JM
43260 * Makeconfig [!+link] (+link-before-libc): New variable.
43261 [!+link] (+link-after-libc): Likewise.
43262 [!+link] (+link-tests): Likewise.
43263 [!+link] (+link): Define in terms of $(+link-before-libc) and
43264 $(+link-after-libc).
43265 [!+link-static] (+link-static-before-libc): New variable.
43266 [!+link-static] (+link-static-after-libc): Likewise.
43267 [!+link-static] (+link-static-tests): Likewise.
43268 [!+link-static] (+link-static): Define in terms of
43269 $(+link-static-before-libc) and $(+link-static-after-libc).
43270 [build-shared] (link-libc-before-gnulib): New variable.
43271 [build-shared] (link-libc-tests): Likewise.
43272 [build-shared] (link-libc): Define in terms of
43273 $(link-libc-before-gnulib).
43274 [!build-shared] (link-libc-tests): New variable.
43275 (link-libc-static-tests): New variable.
43276 [!gnulib] (gnulib-arch): New variable.
43277 [!gnulib] (gnulib-tests): Likewise.
43278 [!gnulib] (static-gnulib-arch): Likewise.
43279 [!gnulib] (static-gnulib-tests): Likewise.
43280 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43281 Define with "=" instead of ":=".
43282 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43283 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43284 * Rules (binaries-all-notests): New variable.
43285 (binaries-all-tests): Likewise.
43286 (binaries-static-notests): Likewise.
43287 (binaries-static-tests): Likewise.
43288 (binaries-all): Define using $(binaries-all-notests) and
43289 $(binaries-all-tests).
43290 (binaries-static): Define using $(binaries-static-notests) and
43291 $(binaries-static-tests).
43292 (binaries-shared-tests): New variable.
43293 (binaries-shared-notests): Likewise.
43294 (binaries-shared): Remove variable.
43295 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43296 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43297 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43298 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43299 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43300 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43301 * elf/Makefile (sln-modules): New variable.
43302 (extra-objs): Add $(sln-modules:=.o).
43303 (ldconfig-modules): Add static-stubs.
43304 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43305 * elf/static-stubs.c: New file.
43306
7a845b2c
JM
43307 [BZ #14283]
43308 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43309 by 7 not 8 to examine high bit of fractional part. Use volatile
43310 variables when splitting into final array of floats if
43311 __FLT_EVAL_METHOD__ != 0.
43312 * math/libm-test.inc (cos_test): Add another test.
43313 (sin_test): Likewise.
43314 * sysdeps/i386/fpu/libm-test-ulps: Update.
43315
e2283f38
JM
43316 [BZ #14273]
43317 * math/libm-test.inc (cosh_test): Add more tests.
43318
370ca3d2
JM
43319 * version.h (RELEASE): Set to "development".
43320 (VERSION): Set to "2.16.90".
43321
ee9247c3
CD
433222012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43323
43324 * NEWS: Update copyright. Remove last-updated date.
43325 Mention math library bug fixes and timezone data changes.
43326 * README: Mention GNU/Hurd, x32, and HPPA support status.
43327
4648c381
TS
433282012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43329
43330 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43331
aac78a43
AJ
433322012-06-27 Andreas Jaeger <aj@suse.de>
43333
43334 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43335
ed3dbfad
AJ
433362012-06-25 Andreas Jaeger <aj@suse.de>
43337
43338 * sysdeps/s390/fpu/libm-test-ulps: Update.
43339
4d0ee855
AS
433402012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43341 Thomas Schwinge <thomas@codesourcery.com>
43342
43343 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43344 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43345 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43346 fanotify_mark.
43347
af1bce34
TS
433482012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43349
a9fa33ba
TS
43350 * sysdeps/mach/start.c: Remove file.
43351 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43352 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43353 * sysdeps/sh/init-first.c: Likewise.
43354
58f902b8
TS
43355 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43356 registers for frame unwinding purposes, add CFI directives.
43357 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43358 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43359 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43360 Likewise.
43361
1518f58b
TS
43362 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43363 __fortify_fail returning.
43364 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43365
db9b5059
TS
43366 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43367 sysdeps/sh/____longjmp_chk.S.
43368 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43369 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43370 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43371 (gen-as-const-headers): Append sigaltstack-offsets.sym.
43372
967705fe
TS
43373 * sysdeps/sh/abort-instr.h: New file.
43374 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43375 process in case exit returns.
43376
a9def8c4
TS
43377 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43378 initialize the GOT register before use.
43379
2a649725
TS
43380 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43381 calculation of ARGC > 4.
43382
af1bce34
TS
43383 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43384 meaningful names to some local labels.
43385
d230f50a
KK
433862012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43387 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43388
43389 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43390 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43391 (__arch_compare_and_exchange_val_16_acq): Likewise.
43392 (__arch_compare_and_exchange_val_32_acq): Likewise.
43393 (atomic_exchange_and_add): Fix gUSA sequence.
43394 (atomic_add): Likewise.
43395 (atomic_add_negative): Likewise.
43396 (atomic_add_zero): Likewise.
43397 (atomic_bit_test_set): Likewise.
43398
0479b305
AS
433992012-06-22 Andreas Schwab <schwab@redhat.com>
43400
43401 [BZ #13579]
43402 * include/link.h (struct link_map): Add l_free_initfini.
43403 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43404 l_initfini.
43405 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43406 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43407 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43408 set.
43409
0e3933b9
CD
434102012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43411
43412 * configure.in: Use AC_LANG_SOURCE.
43413 * configure: Regenerate.
43414
4248b1b1
RM
434152012-06-22 Roland McGrath <roland@hack.frob.com>
43416
43417 * configure.in (libc_cv_localstatedir): New substituted variable.
43418 * configure: Regenerated.
43419 * config.make.in (localstatedir): New variable, substituted from
43420 libc_cv_localstatedir.
43421 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43422 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43423 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43424 * sysdeps/gnu/configure: Regenerated.
43425
006dd861
JL
434262012-06-21 Jeff Law <law@redhat.com>
43427
43428 [BZ #14277]
43429 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43430 free. Simplify list management for _LIBC case.
43431
79662d42
JM
434322012-06-21 Joseph Myers <joseph@codesourcery.com>
43433
b7abb4bf
JM
43434 [BZ #14273]
43435 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43436 Clear sign bit of 64-bit integer value before comparing against
43437 overflow value.
43438
79662d42
JM
43439 * sysdeps/mach/configure: Regenerated.
43440
1f150908
L
434412012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43442
43443 [BZ #14278]
43444 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43445
28363bbf
JL
434462012-06-21 Jeff Law <law@redhat.com>
43447
43448 [BZ #13882]
43449 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43450 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 43451 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
43452 * elf/dl-open.c (dl_open_worker): Likewise.
43453
09615db4
CD
434542012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43455
43456 * scripts/list-sources.sh: Scan PORTS for translations.
43457 * po/libc.pot: Regenerated.
43458
2174c6dd
AJ
434592012-06-21 Andreas Jaeger <aj@suse.de>
43460
43461 [BZ #12194]
43462 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43463 warning.
43464 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43465 * bits/byteswap-16.h (__bswap_16): Likewise.
43466 * bits/byteswap.h (__bswap_constant_16): Likewise.
43467
3ee947b1
L
434682012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43469
43470 [BZ #14117]
a2f34833
L
43471 * sysdeps/i386/fpu_control.h: Removed.
43472 * sysdeps/x86_64/fpu_control.h: Moved to ...
43473 * sysdeps/x86/fpu_control.h: Here.
43474
3ee947b1
L
43475 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43476 (_FPU_SETCW): Likewise.
43477
ed1825f8
L
434782012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43479
25f1282a
L
43480 [BZ #14117]
43481 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43482 * sysdeps/x86/fpu/bits/mathinline.h: This.
43483 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43484
ed1825f8
L
43485 [BZ #14050]
43486 [BZ #14117]
43487 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43488 functions if __x86_64__ is defined.
43489
36d54b74
CLT
434902012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43491
43492 * string/endian.h: Add !__ASSEMBLER__ condition for including
43493 conversion interfaces.
43494
10285c21
JM
434952012-06-15 Joseph Myers <joseph@codesourcery.com>
43496
43497 [BZ #14241]
43498 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43499 of ABS(x) in calculating zero to negative powers other than odd
43500 integers.
43501 * math/libm-test.inc (pow_test): Add more tests.
43502
06c5abbd
AJ
435032012-06-15 Andreas Jaeger <aj@suse.de>
43504
43505 * manual/contrib.texi (Contributors): Update entry of Liubov
43506 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43507 Machado Filho.
43508
a3aeac40
CH
435092012-06-15 Cyril Hrubis <metan@ucw.cz>
43510
43511 * string/string.h: Add __wur to GNU version of strerror_r.
43512
49bdf4c1
L
435132012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43514
43515 [BZ #14229]
43516 * string/Makefile (tests): Add tst-strtok_r.
43517 * string/tst-strtok_r.c: New file.
43518 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43519 RAX_LP/RDX_LP on SAVE_PTR.
43520
834f9b8d
RM
435212012-06-14 Roland McGrath <roland@hack.frob.com>
43522
43523 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43524
75fa1921
JM
435252012-06-14 Joseph Myers <joseph@codesourcery.com>
43526
43527 * libm_test.inc (csqrt_test): Allow more spurious underflow
43528 exceptions.
43529 (j0_test): Likewise.
43530 (j1_test): Likewise.
43531 (y0_test): Likewise.
43532 (y1_test): Likewise.
43533
771766df
CD
435342012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43535
43536 * po/Makefile (libc.pot): Use UTF-8 charset.
43537
ceb9e56b
PP
435382012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43539
43540 [BZ #14210]
43541 Suppress sign-conversion warning from FD_SET.
43542 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43543 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43544 not unsigned long int.
43545 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43546
ddb28975
L
435472012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43548
43549 [BZ #14050]
43550 [BZ #14117]
43551 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43552 __extern_always_inline instead of __extern_inline.
43553 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43554 (__signbit): Likewise.
43555 (__signbitl): Support C++ namespace.
43556 (lrintf): New inline function.
43557 (lrint): Likewise.
43558 (llrintf): Likewise.
43559 (llrint): Likewise.
43560 (fmaxf): Likewise.
43561 (fmax): Likewise.
43562 (fminf): Likewise.
43563 (fmin): Likewise.
43564 (rint): Likewise.
43565 (rintf): Likewise.
43566 (ceil): Likewise.
43567 (ceilf): Likewise.
43568 (floor): Likewise.
43569 (floorf): Likewise.
43570 (nearbyint): Likewise.
43571 (nearbyintf): Likewise.
43572
d7b4fb26
TS
435732012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43574
43575 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43576 non-default versions.
43577
eb55f5c2
RM
435782012-06-11 Roland McGrath <roland@hack.frob.com>
43579
43580 [BZ #14218]
43581 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43582
366af02c
TS
435832012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43584
99ff6e5c
TS
43585 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43586 (FE_UPWARD, FE_DOWNWARD): Don't define.
43587 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43588 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43589
366af02c
TS
43590 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43591 reading it.
43592 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43593 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43594
793ea851
KK
435952012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43596
43597 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43599 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43600 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43601
a728a38f
L
436022012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43603
43604 [BZ #14117]
c08010c7
L
43605 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43606 * sysdeps/i386/fpu/Implies: New file.
43607 * sysdeps/x86_64/fpu/Implies: Likewise.
43608 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43609 * sysdeps/x86/fpu/bits/fenv.h: This.
43610
a728a38f
L
43611 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43612 __SSE_MATH__.
43613
6e230d11
SP
436142012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43615
43616 [BZ #14134]
43617 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43618 character 0xffff that matches the last element of the
43619 conversion table.
43620
1b671feb
AZ
436212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43622
43623 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43624 fmodl commit.
43625
6043738b
AZ
436262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43627
43628 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43629 values higher than 25.6283.
43630
34ae0b32
AZ
436312012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43632
43633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43634 subnormal exponent extraction and add some __builtin_expect.
43635 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43636 Fix for subnormal mantissa calculation.
43637
1214ec8f
MF
436382012-06-04 Mike Frysinger <vapier@gentoo.org>
43639
43640 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43641 cpu2 is -1 and errno is not ENOSYS.
43642
f3d1f93c
L
436432012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43644
43645 [BZ #14117]
0e4a3cd7
L
43646 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43647 * sysdeps/x86/bits/string.h: This.
43648 * sysdeps/x86_64/bits/string.h: Removed.
43649
6704c645
L
43650 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43651 if not compiling for x86-64, but compiling for >= i486.
43652
48495318
L
43653 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43654 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43655
14adcbfc
L
43656 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43657 New macro from Linux kernel 3.4.0.
43658 (FP_XSTATE_MAGIC2): Likewise.
43659 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43660 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43661 (struct _fpx_sw_bytes): New struct.
43662 (struct _xsave_hdr): Likewise.
43663 (struct _ymmh_state): Likewise.
43664 (struct _xstate): Likewise.
43665
68e408ab
L
43666 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43667 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43668 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43669 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43670 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43671 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43672
f3d1f93c
L
43673 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43674 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43675 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43676 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43677 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43678 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43679
d9dc34cd
TMQMF
436802012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43681
43682 [BZ #13743]
43683 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43684 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43685 (sysdep_headers): Include sys/platform/ppc.h.
43686 * sysdeps/powerpc/test-gettimebase.c: Test for
43687 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43688 * manual/Makefile (appendices): Include platform.texi.
43689 * manual/contrib.texi (Contributors): Update @node pointers.
43690 * manual/maint.texi (Maintenance): Likewise.
43691 (Platform): New node.
43692 * manual/platform.texi: New file. Document the new features.
43693
4af3879c
SP
436942012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43695 Jakub Jelinek <jakub@redhat.com>
43696
43697 [BZ #14188]
43698 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43699 where __builtin_expect is unavailable.
43700
2fd6ff13
DM
437012012-06-03 David S. Miller <davem@davemloft.net>
43702
43703 * stdlib/longlong.h: Updated from GCC.
43704
173f7220
AS
437052012-06-02 Andreas Schwab <schwab@linux-m68k.org>
43706
43707 [BZ #14042]
43708 * sysdeps/powerpc/powerpc32/mcount.c: New file.
43709 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43710 __mcount_internal.
43711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43712 (GLIBC_2.16): Likewise.
43713
f34a1c6f
L
437142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43715
43716 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43717
88a4576f
JM
437182012-06-01 Joseph Myers <joseph@codesourcery.com>
43719
ea32bcdd
JM
43720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43721 (default-abi): New variable.
43722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43723 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43724 variable.
43725 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43726 Likewise.
43727 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43728 Likewise.
43729 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43730 Likewise.
43731
88a4576f
JM
43732 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43733 definition. Document in comment.
43734
402fe938
DM
437352012-06-01 David S. Miller <davem@davemloft.net>
43736
43737 * stdlib/longlong.h: Updated from GCC.
43738
3553723f
L
437392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43740
43741 [BZ #14117]
3bd872c4
L
43742 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43743 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43744 sys/debugreg.h sys/io.h here.
43745 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43746 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43747 sys/io.h.
43748 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43749 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43750 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43751 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43752 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43753 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43754
3553723f
L
43755 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43756 Define only if __x86_64__ is defined.
43757
4842e4fe
JM
437582012-06-01 Joseph Myers <joseph@codesourcery.com>
43759
c5bfe3d5
JM
43760 [BZ #14048]
43761 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43762 Use int64_t for variable i.
43763 * math/libm-test.inc (fmod_test): Add more tests.
43764
4842e4fe
JM
43765 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43766 z computation is not scheduled after fetestexcept.
43767 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43768 Use math_force_eval instead of asm to ensure calculation scheduled
43769 before exception test.
43770 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43771 Ensure a1 + u.d computation is not scheduled after fetestexcept.
43772
efb73488
AJ
437732012-06-01 Aurelien Jarno <aurelien@aurel32.net>
43774
43775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43776 computation is not scheduled after fetestexcept.
43777
29bcce7c
L
437782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43779
43780 [BZ #14117]
43781 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43782 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43783
73a68f94
AZ
437842012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43785
43786 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43787 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43788
67b6df78
L
437892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43790
edf2933a 43791 [BZ #14117]
ebc64a18
L
43792 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43793 <bits/wordsize.h>.
43794 (__WCHAR_MIN): Support __WORDSIZE == 64.
43795 (__WCHAR_MAX): Likewise.
43796
edf2933a
L
43797 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43798 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43799
57c6cf40
L
43800 [BZ #14183]
43801 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43802 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43803
67b6df78 43804 [BZ #14117]
8eb6281e
L
43805 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43806 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43807
aac639f4
L
43808 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43809 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43810
67b6df78
L
43811 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43812 Defined to 1 if __x86_64__ isn't defined.
43813 (_STAT_VER_LINUX_OLD): New.
43814 (st_atime): Remove duplicate.
43815 (st_mtime): Likewise.
43816 (st_ctime): Likewise.
43817
1c2cfe81
DM
438182012-05-31 David S. Miller <davem@davemloft.net>
43819
43820 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43821 entries.
43822
5be8418c
AS
438232012-06-01 Andreas Schwab <schwab@linux-m68k.org>
43824
e7725326
AS
43825 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43826 gen-libm-test.pl.
43827
5be8418c
AS
43828 [BZ #14132]
43829 * elf/dl-reloc.c: Include <_itoa.h>.
43830 (_dl_reloc_bad_type): Remove use of INTUSE.
43831 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43832 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43833 * stdio-common/psiginfo.c (psiginfo): Likewise.
43834 * stdio-common/psignal.c (psignal): Likewise.
43835 * string/strsignal.c (strsignal): Likewise.
43836 * include/signal.h (_sys_siglist): Declare hidden proto.
43837 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
43838 INTVARDEF with libc_hidden_data_def.
43839 * stdio-common/itoa-udigits.c: Likewise.
43840 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43841 (_itoa_lower_digits_internal): Remove declaration.
43842 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43843 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43844 (_sys_sigabbrev_internal): Remove aliases.
43845 (_sys_siglist): Define hidden alias.
43846
507352f1
MT
438472012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
43848
43849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43850 bits/sysctl.h.
43851
42bbb1c3
L
438522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43853
43854 [BZ #14117]
6bd784b6
L
43855 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43856 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43857
8bca20f0
L
43858 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43859 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43860 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43861 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43863 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
43864
f9e890a9
L
43865 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
43866 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
43867 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
43868
471101a1
L
43869 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43870 with __addr.
43871 (insw): Likewise.
43872 (insl): Likewise.
43873 (outsb): Likewise.
43874 (outsw): Likewise.
43875 (outsl): Likewise.
43876
6451c862
L
43877 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43878 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43879 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43880
a254b8c9
L
43881 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43882 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43883 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43884 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43885 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43886 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43887
b8dfdd92
L
43888 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43889 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43890
578cd270
L
43891 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43892 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43893
de662f5f
L
43894 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43896 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43897
25653439
L
43898 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43899 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43900 to ...
43901 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43902
6bad24a0
L
43903 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43904 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43905 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43906
42bbb1c3
L
43907 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43908 for x86-64.
43909 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43910
2d10d547
JM
439112012-05-31 Joseph Myers <joseph@codesourcery.com>
43912
43913 * math/math.h (M_El): Use two more decimal places.
43914 (M_LOG2El): Likewise.
43915 (M_LOG10El): Likewise.
43916 (M_LN2l): Likewise.
43917 (M_LN10l): Likewise.
43918 (M_PIl): Likewise.
43919 (M_PI_2l): Likewise.
43920 (M_PI_4l): Likewise.
43921 (M_1_PIl): Likewise.
43922 (M_2_PIl): Likewise.
43923 (M_2_SQRTPIl): Likewise.
43924 (M_SQRT2l): Likewise.
43925 (M_SQRT1_2l): Likewise.
43926
f230c29b
DM
439272012-05-31 David S. Miller <davem@davemloft.net>
43928
43929 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43930 values between float registers.
43931 * sysdeps/sparc/sparc64/memset.S: Likewise.
43932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43933
fed806c3
MF
439342012-05-31 Mike Frysinger <vapier@gentoo.org>
43935
43936 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43937 -D_FORTIFY_SOURCE=1.
43938 (CPPFLAGS-tst-longjmp_chk.c): Define.
43939 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43940 (CPPFLAGS-tst-longjmp_chk2.c): Define.
43941 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43942 CFLAGS-tst-wchar-h.c.
43943
30917259
MP
439442012-05-31 Marek Polacek <polacek@redhat.com>
43945
43946 [BZ #14132]
43947 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43948 __endmntent_internal): Remove declaration.
43949 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43950 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43951 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43952
1c58d5dc
DM
439532012-05-30 David S. Miller <davem@davemloft.net>
43954
43955 * sysdeps/sparc/sparc32/soft-fp/q_util.c
43956 (___Q_simulate_exceptions): Use real FP ops rather than writing
43957 into the %fsr.
43958 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43959 Likewise.
43960
7dc00e0d
L
439612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43962
43963 [BZ #14117]
0bd53985
L
43964 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43965 * sysdeps/x86/bits/xtitypes.h: This.
43966
3a257e66
L
43967 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43968 * sysdeps/x86/bits/wordsize.h: This.
43969
62f62904
L
43970 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43971 * sysdeps/x86/bits/huge_vall.h: This.
43972
404fe9d9
L
43973 * sysdeps/i386/bits/select.h: Removed.
43974 * sysdeps/x86_64/bits/select.h: Renamed to ...
43975 * sysdeps/x86/bits/select.h: This.
43976
d48d0446
L
43977 * sysdeps/i386/bits/setjmp.h: Removed.
43978 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43979 * sysdeps/x86/bits/setjmp.h: This.
43980
7dc00e0d
L
43981 * sysdeps/i386/bits/mathdef.h: Removed.
43982 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43983 * sysdeps/x86/bits/mathdef.h: This.
43984
03277f8f
AS
439852012-05-30 Andreas Schwab <schwab@linux-m68k.org>
43986
43987 [BZ #14132]
43988 * include/sys/socket.h (__connect_internal)
43989 (__libc_sa_len_internal): Remove declaration.
43990 (__connect, __libc_sa_len): Declare hidden_proto.
43991 (SA_LEN): Remove use of INTUSE.
43992 * socket/connect.c: Add libc_hidden_def.
43993 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43994 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43995 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43996 alias.
43997 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43998 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43999 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44000 of adding _internal alias.
44001
13764867
L
440022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44003
44004 [BZ #14117]
6bd97696
L
44005 * sysdeps/i386/bits/link.h: Removed.
44006 * sysdeps/i386/bits/linkmap.h: Likewise.
44007 * sysdeps/x86_64/bits/link.h: Renamed to ...
44008 * sysdeps/x86/bits/link.h: This.
44009 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44010 * sysdeps/x86/bits/linkmap.h: This.
44011
f726f0bb
L
44012 * sysdeps/i386/bits/endian.h: Removed.
44013 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44014 * sysdeps/x86/bits/endian.h: This.
44015
13764867
L
44016 * sysdeps/i386/bits/byteswap.h: Removed.
44017 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44018 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44019 * sysdeps/x86/bits/byteswap.h: This.
44020 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44021 * sysdeps/x86/bits/byteswap-16.h: This.
44022 * sysdeps/i386/Implies: Add x86.
44023 * sysdeps/x86_64/Implies: Likewise.
44024
ae251b0b
DM
440252012-05-30 David S. Miller <davem@davemloft.net>
44026
44027 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44028 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44029 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44030 (FP_TRAPPING_EXCEPTIONS): Define.
44031 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44032 (FP_TRAPPING_EXCEPTIONS): Define.
44033 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44034 subnormals only when inexact has been signalled or underflow
44035 exceptions are enabled.
44036 (_FP_PACK_CANONICAL): Likewise.
44037
d5c90867
L
440382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44039
44040 [BZ #14183]
44041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44042 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44043
63f1549e
RH
440442012-05-30 Richard Henderson <rth@twiddle.net>
44045
8d8f2279
RH
44046 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44047 with #ifndef NOT_IN_libc.
44048
63f1549e
RH
44049 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44050 marked to avoid plt entry.
44051
0ab0291b
L
440522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44053
44054 [BZ #14112]
44055 * Makeconfig (default-abi): New macro.
44056 (abi-includes): Likewise.
44057 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44058 $(abi-$(default-abi)-lib-soname) for soname if defined.
44059 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44060 abi-variants.
44061 * Makefile (installed-stubs): Likewise.
44062 * include/stubs-biarch.h: Removed.
44063 * scripts/lib-names.awk: Only handle one library at a time.
44064 * scripts/soversions.awk: Remove WORDSIZE support.
44065 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44066 entries.
44067 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44068 Removed.
44069 (syscall-list-default-condition): Likewise.
44070 (syscall-list-default-condition): Likewise.
44071 (syscall-list-includes): Likewise.
44072 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44073 syscall-list-* with abi-*. Handle undefined abi-variants.
44074 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44075 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44076 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44077 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44078 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44079 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44080 Removed.
44081 (syscall-list-32-options): Likewise.
44082 (syscall-list-32-condition): Likewise.
44083 (syscall-list-64-options): Likewise.
44084 (syscall-list-64-condition): Likewise.
44085 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44086 macro.
44087 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44088 Renamed to ...
44089 (abi-*): This.
44090 (abi-64-ld-soname): New macro.
44091 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44092 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44093 Renamed to ...
44094 (abi-*): This.
44095 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44096 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44097
4da0431d
JM
440982012-05-30 Joseph Myers <joseph@codesourcery.com>
44099
3a85279c
JM
44100 * sysdeps/unix/sysv/linux/kernel-features.h
44101 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44102 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44103 include <kernel-features.h>.
44104 [!__NR_ftruncate64]: Remove conditional code.
44105 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44106 [__NR_ftruncate64]: Make code unconditional.
44107 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44108 * sysdeps/unix/sysv/linux/truncate64.c: Do not
44109 include <kernel-features.h>.
44110 [!__NR_ftruncate64]: Remove conditional code.
44111 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44112 [__NR_ftruncate64]: Make code unconditional.
44113 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44115 include <kernel-features.h>.
44116 [!__NR_ftruncate64]: Remove conditional code.
44117 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44118 [__NR_ftruncate64]: Make code unconditional.
44119 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44121 include <kernel-features.h>.
44122 [!__NR_ftruncate64]: Remove conditional code.
44123 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44124 [__NR_ftruncate64]: Make code unconditional.
44125 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44126
4da0431d
JM
44127 * configure.in (libc_cv_fpie): Weaken to a compile test using
44128 LIBC_TRY_CC_OPTION.
44129 * configure: Regenerated.
44130
11ef492c
AK
441312012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44132
44133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44137 Refreshed.
44138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44144 Refreshed.
44145
d66ef399
DM
441462012-05-27 David S. Miller <davem@davemloft.net>
44147
44148 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44149 (___Q_zero): New.
44150 (__Q_simulate_exceptions): Return void. Change to simulate
44151 exceptions by writing into the %fsr.
44152 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44153 (__Qp_handle_exceptions): Likewise.
44154 (numbers): Delete.
44155 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44156 __Qp_handle_exceptions.
44157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44158 __Qp_handle_exceptions.
44159 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44160 as unused and give dummy FP_RND_NEAREST initializer.
44161 (FP_INHIBIT_RESULTS): Define.
44162 (___Q_simulate_exceptions): Update declaration.
44163 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44164 formatting.
44165 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44166 as unused and give dummy FP_RND_NEAREST initializer.
44167 (__Qp_handle_exceptions): Update declaration.
44168 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44169 formatting.
44170
04fb54b5
TS
441712012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44172
44173 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44174 the temporary FPU control word.
44175 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44176 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44177 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44178 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44179 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44180 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44181 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44182 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44183 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44184 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44185 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44186
3f99608f
KK
441872012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44188
44189 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44190 fields.
44191
65a4de4e
CLT
441922012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44193
44194 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44195 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44196 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44197 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44198 Likewise.
44199 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44200 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44201 Likewise.
44202
15749d40
UD
442032012-05-27 Ulrich Drepper <drepper@gmail.com>
44204
44205 * po/h.po: Update from translation team.
44206
25dbcb27
AS
442072012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44208
3d3f8e55
AS
44209 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44210
25dbcb27
AS
44211 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44212 handling of denormals.
44213 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44214 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44215 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44216 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44217 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44219 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44220 Likewise.
44221
7ad47a80 442222012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
44223
44224 [BZ #14152]
44225 * math/libm-test.inc (fma_test): Don't always expect underflow
44226 exception.
44227
9c6ea9fa
SP
442282012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44229
44230 [BZ #12416]
44231 * elf/tst-execstack.c: Include stackinfo.h.
44232 (do_test): Adjust test case to ensure that pthread_getattr_np
44233 behaviour remains the same after marking stack executable.
44234
a8239222
JM
442352012-05-25 Joseph Myers <joseph@codesourcery.com>
44236
44237 * sysdeps/unix/sysv/linux/kernel-features.h
44238 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44239 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44240 kernel-features.h.
44241 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44242 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44243 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44244 kernel-features.h.
44245 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44246 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44247
918b5606
L
442482012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44249
44250 * configure.in: Define the default includes to being none.
44251 * configure: Regenerated.
44252
3a097cc7
RM
442532012-05-25 Roland McGrath <roland@hack.frob.com>
44254
8422c9a5
RM
44255 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44256 * sysdeps/x86_64/setjmp.S: Likewise.
44257 * sysdeps/i386/bsd-setjmp.S: Likewise.
44258 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44259 * sysdeps/i386/setjmp.S: Likewise.
44260 * sysdeps/i386/__longjmp.S: Likewise.
44261 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44262 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44263
3a097cc7
RM
44264 * include/stap-probe.h: New file.
44265 * configure.in: Handle --enable-systemtap.
44266 * configure: Regenerated.
44267 * config.h.in (USE_STAP_PROBE): New #undef.
44268 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44269 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44270 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44271
21708942
JM
442722012-05-25 Joseph Myers <joseph@codesourcery.com>
44273
44274 [BZ #13717]
44275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44276 to 2.4.0 where earlier.
44277 * sysdeps/unix/sysv/linux/configure: Regenerated.
44278 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44279 <kernel-features.h>.
44280 [__ASSUME_32BITUIDS]: Make code unconditional.
44281 [!__ASSUME_32BITUIDS]: Remove conditional code.
44282 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44283 <kernel-features.h>.
44284 [__ASSUME_32BITUIDS]: Make code unconditional.
44285 [!__ASSUME_32BITUIDS]: Remove conditional code.
44286 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44287 [__ASSUME_32BITUIDS]: Make code unconditional.
44288 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44289 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44290 <kernel-features.h>.
44291 [__ASSUME_32BITUIDS]: Make code unconditional.
44292 [!__ASSUME_32BITUIDS]: Remove conditional code.
44293 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44294 <kernel-features.h>.
44295 [__ASSUME_32BITUIDS]: Make code unconditional.
44296 [!__ASSUME_32BITUIDS]: Remove conditional code.
44297 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44298 <kernel-features.h>.
44299 [__ASSUME_32BITUIDS]: Make code unconditional.
44300 [!__ASSUME_32BITUIDS]: Remove conditional code.
44301 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44302 <kernel-features.h>.
44303 [__ASSUME_32BITUIDS]: Make code unconditional.
44304 [!__ASSUME_32BITUIDS]: Remove conditional code.
44305 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44306 <kernel-features.h>.
44307 [__ASSUME_32BITUIDS]: Make code unconditional.
44308 [!__ASSUME_32BITUIDS]: Remove conditional code.
44309 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44310 <kernel-features.h>.
44311 [__ASSUME_32BITUIDS]: Make code unconditional.
44312 [!__ASSUME_32BITUIDS]: Remove conditional code.
44313 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44314 <kernel-features.h>.
44315 [__ASSUME_32BITUIDS]: Make code unconditional.
44316 [!__ASSUME_32BITUIDS]: Remove conditional code.
44317 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44318 <kernel-features.h>.
44319 [__ASSUME_32BITUIDS]: Make code unconditional.
44320 [!__ASSUME_32BITUIDS]: Remove conditional code.
44321 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44322 <kernel-features.h>.
44323 [__ASSUME_32BITUIDS]: Make code unconditional.
44324 [!__ASSUME_32BITUIDS]: Remove conditional code.
44325 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44326 <kernel-features.h>.
44327 [__ASSUME_32BITUIDS]: Make code unconditional.
44328 [!__ASSUME_32BITUIDS]: Remove conditional code.
44329 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44330 <kernel-features.h>.
44331 [__NR_setresgid] (__setresgid): Do not declare.
44332 [__ASSUME_32BITUIDS]: Make code unconditional.
44333 [!__ASSUME_32BITUIDS]: Remove conditional code.
44334 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44335 <kernel-features.h>.
44336 [__NR_setresuid] (__setresuid): Do not declare.
44337 [__ASSUME_32BITUIDS]: Make code unconditional.
44338 [!__ASSUME_32BITUIDS]: Remove conditional code.
44339 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44340 <kernel-features.h>.
44341 [__ASSUME_32BITUIDS]: Make code unconditional.
44342 [!__ASSUME_32BITUIDS]: Remove conditional code.
44343 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44344 <kernel-features.h>.
44345 [__ASSUME_32BITUIDS]: Make code unconditional.
44346 [!__ASSUME_32BITUIDS]: Remove conditional code.
44347 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44348 <kernel-features.h>.
44349 [__ASSUME_32BITUIDS]: Make code unconditional.
44350 [!__ASSUME_32BITUIDS]: Remove conditional code.
44351 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44352 <kernel-features.h>.
44353 [__ASSUME_32BITUIDS]: Make code unconditional.
44354 [!__ASSUME_32BITUIDS]: Remove conditional code.
44355 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44356 <kernel-features.h>.
44357 [__ASSUME_32BITUIDS]: Make code unconditional.
44358 [!__ASSUME_32BITUIDS]: Remove conditional code.
44359 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44360 <kernel-features.h>.
44361 [__ASSUME_32BITUIDS]: Make code unconditional.
44362 [!__ASSUME_32BITUIDS]: Remove conditional code.
44363 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44364 <kernel-features.h>.
44365 [__ASSUME_32BITUIDS]: Make code unconditional.
44366 [!__ASSUME_32BITUIDS]: Remove conditional code.
44367 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44368 <kernel-features.h>.
44369 [__ASSUME_32BITUIDS]: Make code unconditional.
44370 [!__ASSUME_32BITUIDS]: Remove conditional code.
44371 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44372 <kernel-features.h>.
44373 [__ASSUME_32BITUIDS]: Make code unconditional.
44374 [!__ASSUME_32BITUIDS]: Remove conditional code.
44375 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44376 <kernel-features.h>.
44377 [__ASSUME_32BITUIDS]: Make code unconditional.
44378 [!__ASSUME_32BITUIDS]: Remove conditional code.
44379 * sysdeps/unix/sysv/linux/kernel-features.h
44380 (__ASSUME_SETRESUID_SYSCALL): Remove.
44381 (__ASSUME_SETRESGID_SYSCALL): Likewise.
44382 (__ASSUME_32BITUIDS): Likewise.
44383 (__ASSUME_LDT_WORKS): Likewise.
44384 (__ASSUME_O_DIRECTORY): Likewise.
44385 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44386 architecture but not kernel version.
44387 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44388 (__ASSUME_MMAP2_SYSCALL): Likewise.
44389 (__ASSUME_STAT64_SYSCALL): Likewise.
44390 (__ASSUME_IPC64): Likewise.
44391 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44392 <kernel-features.h>.
44393 [__ASSUME_32BITUIDS]: Make code unconditional.
44394 [!__ASSUME_32BITUIDS]: Remove conditional code.
44395 * sysdeps/unix/sysv/linux/opendir.c: Do not include
44396 <kernel-features.h>.
44397 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44398 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44399 132096]: Remove conditional code.
44400 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44401 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44402 <kernel-features.h>.
44403 [__ASSUME_32BITUIDS]: Make code unconditional.
44404 [!__ASSUME_32BITUIDS]: Remove conditional code.
44405 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44406 <kernel-features.h>.
44407 [__ASSUME_32BITUIDS]: Make code unconditional.
44408 [!__ASSUME_32BITUIDS]: Remove conditional code.
44409 * sysdeps/unix/sysv/linux/setegid.c: Do not include
44410 <kernel-features.h>.
44411 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44412 unconditional.
44413 (__setresgid): Do not declare.
44414 [__ASSUME_32BITUIDS]: Make code unconditional.
44415 [!__ASSUME_32BITUIDS]: Remove conditional code.
44416 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44417 <kernel-features.h>.
44418 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44419 unconditional.
44420 (__setresuid): Do not declare.
44421 [__ASSUME_32BITUIDS]: Make code unconditional.
44422 [!__ASSUME_32BITUIDS]: Remove conditional code.
44423 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44424 <kernel-features.h>.
44425 [__ASSUME_32BITUIDS]: Make code unconditional.
44426 [!__ASSUME_32BITUIDS]: Remove conditional code.
44427 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44428 <kernel-features.h>.
44429 [__ASSUME_32BITUIDS]: Make code unconditional.
44430 [!__ASSUME_32BITUIDS]: Remove conditional code.
44431
a386f1cc
RH
444322012-05-25 Richard Henderson <rth@twiddle.net>
44433
44434 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44435 dl_hwcap to ifunc resolver.
44436 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44437 elf_ifunc_invoke.
44438 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44439 dl_hwcap to ifunc resolver.
44440 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44441
b6550497
JM
444422012-05-24 Joseph Myers <joseph@codesourcery.com>
44443
44444 [BZ #14153]
44445 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44446 for |x| <= 2**-26, not 2**-57.
44447 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44448 exception.
44449
b0bc23a1
JL
444502012-05-24 Jeff Law <law@redhat.com>
44451
44452 * stdio-common/Makefile (tests): Add bug25.
44453 * stdio-common/bug25.c: New test.
44454
347c92e9
L
444552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44456
44457 [BZ #13576]
44458 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44459 multiple of MALLOC_ALIGNMENT in size.
44460 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44461
6bcc8b3f
JM
444622012-05-24 Joseph Myers <joseph@codesourcery.com>
44463
44464 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44465 Require >= 256.
44466 (FILENAME_MAX): Use macro-int-constant.
44467 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44468 (_IOFBF): Use macro-int-constant.
44469 (_IOLBF): Likewise.
44470 (_IONBF): Likewise.
44471 (SEEK_CUR): Likewise.
44472 (SEEK_END): Likewise.
44473 (SEEK_SET): Likewise.
44474 (TMP_MAX): Likewise.
44475 (EOF): Use macro-int-constant. Require < 0.
44476 (NULL): Use macro-constant. Require == 0.
44477 (stdin): Require type to be FILE *.
44478 (stdout): Likewise.
44479 (stderr): Likewise.
44480 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44481 macro-int-constant.
44482 (EXIT_SUCCESS): Likewise.
44483 (NULL): Use macro-constant. Require == 0.
44484 (RAND_MAX): Use macro-int-constant.
44485 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44486 [C99-based standards] (strtof): Require function.
44487 [C99-based standards] (strtold): Likewise.
44488 [C99-based standards] (strtoll): Likewise.
44489 [C99-based standards] (strtoull): Likewise.
44490 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44491 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44492 [ISO || ISO99 || ISO11] (math.h): Likewise.
44493 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44494 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44495 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44496
d18ea0c5
AS
444972012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44498
44499 [BZ #14132]
56d25bb8
AS
44500 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44501 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44502 * intl/dgettext.c (DCGETTEXT): Likewise.
44503 * intl/gettext.c (DCGETTEXT): Likewise.
44504 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44505 * posix/regex_internal.h (gettext): Likewise.
44506 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44507 Remove declaration.
44508 * include/argz.h (__argz_count_internal)
44509 (__argz_stringify_internal): Remove declaration.
44510 (__argz_count, __argz_stringify): Declare hidden proto.
44511 * intl/dcgettext.c: Remove use of INTDEF.
44512 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44513 * string/argz-stringify.c: Likewise.
44514 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44515 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44516 Declare hidden proto.
d18ea0c5
AS
44517 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44518 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44519 Declare hidden proto.
44520 * include/stdio.h (__asprintf_internal): Don't declare.
44521 (__asprintf): Don't define as macro. Declare hidden proto.
44522 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44523 (__fsetlocking): Declare hidden proto.
44524 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44525 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44526 hidden proto.
44527 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44528 (_IO_setlinebuf): Remove use of INTUSE.
44529 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44530 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44531 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44532 Remove declaration.
44533 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44534 (_IO_do_flush): Remove use of INTUSE.
44535 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44536 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44537 (_IO_adjust_column, _IO_least_wmarker)
44538 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44539 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44540 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44541 (_IO_default_doallocate, _IO_wdefault_doallocate)
44542 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44543 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44544 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44545 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44546 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44547 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44548 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44549 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44550 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44551 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44552 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44553 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44554 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44555 proto.
44556 (_IO_flush_all_internal, _IO_adjust_column_internal)
44557 (_IO_default_uflow_internal, _IO_default_finish_internal)
44558 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44559 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44560 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44561 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44562 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44563 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44564 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44565 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44566 (_IO_file_close_internal, _IO_file_close_it_internal)
44567 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44568 (_IO_file_init_internal, _IO_file_attach_internal)
44569 (_IO_file_fopen_internal, _IO_file_read_internal)
44570 (_IO_file_sync_internal, _IO_file_seek_internal)
44571 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44572 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44573 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44574 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44575 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44576 (_IO_list_all_internal, _IO_link_in_internal)
44577 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44578 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44579 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44580 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44581 (_IO_do_write_internal, _IO_padn_internal)
44582 (_IO_getline_info_internal, _IO_getline_internal)
44583 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44584 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44585 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44586 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44587 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44588 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44589 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44590 with libc_hidden_ver, remove use of INTUSE.
44591 * libio/genops.c: Likewise.
44592 * libio/freopen.c: Likewise.
44593 * libio/freopen64.c: Likewise.
44594 * libio/iofclose.c: Likewise.
44595 * libio/iofdopen.c: Likewise.
44596 * libio/iofflush.c: Likewise.
44597 * libio/iofflush_u.c: Likewise.
44598 * libio/iofgets.c: Likewise.
44599 * libio/iofgets_u.c: Likewise.
44600 * libio/iofopen.c: Likewise.
44601 * libio/iofopncook.c: Likewise.
44602 * libio/iofread.c: Likewise.
44603 * libio/iofread_u.c: Likewise.
44604 * libio/ioftell.c: Likewise.
44605 * libio/iofwrite.c: Likewise.
44606 * libio/iogetline.c: Likewise.
44607 * libio/iogets.c: Likewise.
44608 * libio/iogetwline.c: Likewise.
44609 * libio/iopadn.c: Likewise.
44610 * libio/iopopen.c: Likewise.
44611 * libio/ioseekoff.c: Likewise.
44612 * libio/ioseekpos.c: Likewise.
44613 * libio/iosetbuffer.c: Likewise.
44614 * libio/iosetvbuf.c: Likewise.
44615 * libio/ioungetc.c: Likewise.
44616 * libio/ioungetwc.c: Likewise.
44617 * libio/iovdprintf.c: Likewise.
44618 * libio/iovsprintf.c: Likewise.
44619 * libio/iovsscanf.c: Likewise.
44620 * libio/memstream.c: Likewise.
44621 * libio/obprintf.c: Likewise.
44622 * libio/oldfileops.c: Likewise.
44623 * libio/oldiofclose.c: Likewise.
44624 * libio/oldiofdopen.c: Likewise.
44625 * libio/oldiofopen.c: Likewise.
44626 * libio/oldiopopen.c: Likewise.
44627 * libio/oldstdfiles.c: Likewise.
44628 * libio/putc.c: Likewise.
44629 * libio/setbuf.c: Likewise.
44630 * libio/setlinebuf.c: Likewise.
44631 * libio/stdfiles.c: Likewise.
44632 * libio/strops.c: Likewise.
44633 * libio/vasprintf.c: Likewise.
44634 * libio/vscanf.c: Likewise.
44635 * libio/vsnprintf.c: Likewise.
44636 * libio/vswprintf.c: Likewise.
44637 * libio/wfiledoalloc.c: Likewise.
44638 * libio/wfileops.c: Likewise.
44639 * libio/wgenops.c: Likewise.
44640 * libio/wmemstream.c: Likewise.
44641 * libio/wstrops.c: Likewise.
44642 * libio/__fpurge.c: Likewise.
44643 * libio/__fsetlocking.c: Likewise.
44644 * assert/assert.c: Likewise.
44645 * debug/fgets_chk.c: Likewise.
44646 * debug/fgets_u_chk.c: Likewise.
44647 * debug/fread_chk.c: Likewise.
44648 * debug/fread_u_chk.c: Likewise.
44649 * debug/gets_chk.c: Likewise.
44650 * debug/obprintf_chk.c: Likewise.
44651 * debug/vasprintf_chk.c: Likewise.
44652 * debug/vdprintf_chk.c: Likewise.
44653 * debug/vsnprintf_chk.c: Likewise.
44654 * debug/vsprintf_chk.c: Likewise.
44655 * malloc/mtrace.c: Likewise.
44656 * misc/error.c: Likewise.
44657 * misc/syslog.c: Likewise.
44658 * stdio-common/asprintf.c: Likewise.
44659 * stdio-common/fxprintf.c: Likewise.
44660 * stdio-common/getw.c: Likewise.
44661 * stdio-common/isoc99_fscanf.c: Likewise.
44662 * stdio-common/isoc99_scanf.c: Likewise.
44663 * stdio-common/isoc99_vfscanf.c: Likewise.
44664 * stdio-common/isoc99_vscanf.c: Likewise.
44665 * stdio-common/isoc99_vsscanf.c: Likewise.
44666 * stdio-common/printf-prs.c: Likewise.
44667 * stdio-common/printf_fp.c: Likewise.
44668 * stdio-common/printf_fphex.c: Likewise.
44669 * stdio-common/printf_size.c: Likewise.
44670 * stdio-common/putw.c: Likewise.
44671 * stdio-common/scanf.c: Likewise.
44672 * stdio-common/sprintf.c: Likewise.
44673 * stdio-common/tmpfile.c: Likewise.
44674 * stdio-common/vfprintf.c: Likewise.
44675 * stdio-common/vfscanf.c: Likewise.
44676 * stdlib/strfmon_l.c: Likewise.
44677 * sunrpc/openchild.c: Likewise.
44678 * sunrpc/xdr_stdio.c: Likewise.
44679 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44680 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44681
d6c33fda
RM
446822012-05-24 Roland McGrath <roland@hack.frob.com>
44683
c1487492
RM
44684 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44685
44686 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44687 in the third column, to generate for the shared library an IFUNC
44688 that uses _dl_vdso_vsym.
44689 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44690 * Makeconfig (object-suffixes-noshared): New variable.
44691
44692 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44693 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44694 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44695 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44696
d6c33fda
RM
44697 [BZ #14132]
44698 * include/sys/time.h (__gettimeofday): Remove macro.
44699 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44700 * time/gettimeofday.c (__gettimeofday): Remove #undef.
44701 Remove INTDEF.
44702 (__gettimeofday): Add libc_hidden_def.
44703 (gettimeofday): Add libc_hidden_weak.
44704 * sysdeps/mach/gettimeofday.c: Likewise.
44705 * sysdeps/posix/gettimeofday.c: Likewise.
44706 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44707 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44708 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44709 (__gettimeofday_internal): Remove strong_alias.
44710 (__gettimeofday): Add libc_hidden_def.
44711 (gettimeofday): Add libc_hidden_weak.
44712 * sysdeps/unix/syscalls.list (gettimeofday):
44713 Remove __gettimeofday_internal alias.
44714
b5a2bbe6
L
447152012-05-24 Daniel Jacobowitz <drow@false.org>
44716 H.J. Lu <hongjiu.lu@intel.com>
44717
44718 [BZ #12495]
44719 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44720 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44721 (largebin_index_32_big): New.
44722 (largebin_index): Use it for 16-byte alignment.
44723 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
44724 correction with front_misalign.
44725
cfba4fda
L
447262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44727
7f907421
L
44728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44730 Likewise.
44731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44732 Likewise.
44733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44734 Likewise.
44735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44736 Likewise.
44737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44738 Likewise.
44739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44740 Likewise.
44741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44742 Likewise.
44743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44744 Likewise.
44745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44746 Likewise.
44747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44748 Likewise.
44749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44750 Likewise.
44751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44752 Likewise.
44753
cfba4fda
L
44754 * scripts/data/c++-types-x32-linux-gnu.data: New file.
44755 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44756
80bad0cc
JM
447572012-05-24 Joseph Myers <joseph@codesourcery.com>
44758
7a25eb06
JM
44759 [BZ #10846]
44760 [BZ #14036]
44761 * math/libm-test.inc (exp_test): Add test from bug 14036.
44762 (pow_test): Add test from bug 10846.
44763
795405f9
JM
44764 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44765 and other flags.
44766 (special_function): Do not include flags in test name.
44767 (parse_args): Likewise.
44768 * sysdeps/i386/fpu/libm-test-ulps: Update.
44769 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44770 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44771 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44773
80bad0cc
JM
44774 * math/gen-libm-test.pl (%beautify): Add entries for underflow
44775 exceptions.
44776 * math/libm-test.inc ("Philosophy"): Update comment about
44777 exception testing.
44778 (UNDERFLOW_EXCEPTION): New macro.
44779 (UNDERFLOW_EXCEPTION_OK): Likewise.
44780 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44781 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44782 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44783 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44784 (INVALID_EXCEPTION_OK): Update value.
44785 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44786 (OVERFLOW_EXCEPTION_OK): Likewise.
44787 (IGNORE_ZERO_INF_SIGN): Likewise.
44788 (test_exceptions): Handle underflow exceptions.
44789 (acos_test): Update for underflow exception expectations.
44790 (cexp_test): Likewise.
44791 (clog_test): Likewise.
44792 (clog10_test): Likewise.
44793 (csqrt_test): Likewise.
44794 (ctan_test): Likewise.
44795 (ctanh_test): Likewise.
44796 (exp_test): Likewise.
44797 (exp10_test): Likewise.
44798 (exp2_test): Likewise.
44799 (expm1_test): Likewise.
44800 (fma_test): Likewise.
44801 (j0_test): Likewise.
44802 (jn_test): Likewise.
44803 (nexttoward_test): Likewise.
44804 (pow_test): Likewise.
44805 (scalbn_test): Likewise.
44806 (scalbln_test): Likewise.
44807 (tan_test): Likewise.
44808 (y1_test): Likewise.
44809 * sysdeps/i386/fpu/libm-test-ulps: Update.
44810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44811
9e0e3d0b
DM
448122012-05-23 David S. Miller <davem@davemloft.net>
44813
44814 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44815 (__libc_sigaction): Remove unused local variables.
44816
ccd0a08f
L
448172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44818
44819 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44820
62bdf9a6
PE
448212012-05-23 Paul Eggert <eggert@cs.ucla.edu>
44822
f8591f80
PE
44823 mktime: avoid signed integer overflow
44824 * time/mktime.c (__mktime_internal): Do not mishandle the case
44825 where diff == INT_MIN.
44826
94c7d826
PE
44827 mktime: simplify computation of average
44828 * time/mktime.c (ranged_convert): Use new time_t_avg function
44829 instead of rolling our own (probably-slower) code.
44830
ce73d683
PE
44831 mktime: do not assume signed right shift propagates sign bit
44832 * time/mktime.c (isdst_differ): New static function.
44833 (__mktime_internal): No need to normalize tm_isdst now.
44834 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44835 tm_isdst values.
44836
72a22e59
PE
44837 mktime: merge another wrapv change from gnulib
44838 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44839 from some compilers.
44840
68605433
PE
44841 mktime: remove incorrect attempt at unusual arithmetics
44842 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44843 The code didn't really work on such machines anyway.
44844 (TYPE_MINIMUM): Assume two's complement.
44845 (twos_complement_arithmetic): Verify that long_int and time_t
44846 are two's complement (or unsigned, in the latter case).
44847
03cf7fe3
PE
44848 mktime: check signed shifts on long_int and time_t, too
44849 * time/mktime.c (SHR): Check that shifts work as desired
44850 on the types long_int and time_t too, as SHR is used on
44851 such types.
44852
f04dfbc2
PE
44853 mktime: do not assume 'long' is wide enough
44854 * time/mktime.c (verify): Move decl up.
44855 (long_int): New type.
44856 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44857 to remove assumption in the code that 'long' is wide enough to
44858 store year values. This assumption is not true on x32 and on
44859 some non-glibc platforms.
44860
62bdf9a6
PE
44861 mktime: merge wrapv change from gnulib
44862 * time/mktime.c (WRAPV): New macro.
44863 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
44864 (guess_time_tm, __mktime_internal): Do not assume that signed
44865 integer overflow wraps around; modern compilers generate code
44866 where this assumption is no longer valid.
44867
5e292e4f
L
448682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44869
44870 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44871 Replace "jmp L(pseudo_end)" with "ret".
44872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44873 Likewise.
44874
8caf8c87
AJ
448752012-05-23 Andreas Jaeger <aj@suse.de>
44876
44877 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44878 * sysdeps/unix/sysv/linux/poll.c: Remove file.
44879
1a09dc56
AJ
448802012-05-23 Andreas Jaeger <aj@suse.de>
44881 Maximilian Attems <max@stro.at>
44882
44883 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44884 New macros.
44885
1c87aba0
L
448862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44887
44888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44889 code so that pseudo_end is just ret and the stack pointer is
44890 correct also for static library in error case.
44891
40e45bd5
JM
448922012-05-23 Joseph Myers <joseph@codesourcery.com>
44893
c2670533
JM
44894 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44895 move to syscalls.list.
44896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44900
40e45bd5
JM
44901 * manual/install.texi (Running make install): Do not mention Linux
44902 kernel version for which pt_chown is not needed.
44903 (Linux): Do not mention problems with nscd with 2.0 kernels.
44904 * INSTALL: Regenerated.
44905
be08eda5
AJ
449062012-05-23 Andreas Jaeger <aj@suse.de>
44907
44908 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44909 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44910 macro.
44911 * sysdeps/unix/sysv/linux/s390/bits/mman.h
44912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44913 * sysdeps/unix/sysv/linux/sh/bits/mman.h
44914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44915 * sysdeps/unix/sysv/linux/i386/bits/mman.h
44916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44917 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44920 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44921 * sysdeps/unix/sysv/linux/bits/in.h
44922 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44923
a6a056bb
RM
449242012-05-22 Roland McGrath <roland@hack.frob.com>
44925
44926 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44927 (PREPARE_VERSION): Just use assert instead, it will be elided
44928 under [NDEBUG] anyway.
44929
c9009328
L
449302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44931
44932 * sysdeps/unix/sysv/linux/Makefile: Include
44933 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 44934 (sysdep_routines): Remove sysctl.
c9009328
L
44935 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44936 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44937 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44938 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44939 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44940
73338355
AJ
449412012-05-22 Andreas Jaeger <aj@suse.de>
44942
44943 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44944 that pseudo_end is just ret and the stack pointer is correct also
44945 for static library in error case.
44946
d44638b0
PP
449472012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
44948
44949 [BZ #14122]
44950 * nss/nsswitch.c (defconfig_entries): New variable.
44951 (__nss_database_lookup): Don't leak defconfig entries.
44952 (nss_parse_service_list): Don't leak on error paths.
44953 (free_database_entries): New function.
44954 (free_defconfig): New function.
44955 (free_mem): Move common code to free_database_entries.
44956
31a39bd8
L
449572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44958
da0331a8
L
44959 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44960 Add arch_prctl.
44961 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44962
31a39bd8
L
44963 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44964 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44966 New macro.
44967 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44968 (INTERNAL_SYSCALL_TYPES): Likewise.
44969 (LOAD_ARGS_TYPES_[1-6]): Likewise.
44970 (LOAD_REGS_TYPES_[1-6]): Likewise.
44971 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44972 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44973
45470df3
AZ
449742012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44975
44976 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44977 copysignl for GLIBC_2_0.
44978 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44979 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44981 logbl for GLIBC_2_0.
44982 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44983 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44984
98a61bcb
L
449852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44986
a4f6e481
L
44987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44988 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44989
f63d5db6
L
44990 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44991 Use "neg %eax".
44992
98a61bcb
L
44993 * time/mktime.c: Update copyright years.
44994
95770f14
PE
449952012-05-22 Paul Eggert <eggert@cs.ucla.edu>
44996
6226efbd
PE
44997 mktime: merge comment-quoting-style change from gnulib
44998 * time/mktime.c: Quote 'like this' in comments.
44999 The GNU coding standards suggest that we no longer quote `like this',
45000 as "`" and "'" are typically rendered asymmetrically nowadays.
45001 The typical gnulib style is to quote 'like this' when quoting
45002 code, and "like this" when quoting English.
45003
b99e4f78
PE
45004 * time/mktime.c (compile-command): Add "-I.".
45005
643e01e6
PE
45006 mktime: merge mktime-internal.h change from gnulib
45007 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45008
2554247d
PE
45009 mktime: merge time_r change from gnulib
45010 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45011
826dd0ab
PE
45012 mktime: merge DEBUG change from gnulib
45013 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45014 case system <time.h> has a #define.
45015
bd83aabe
PE
45016 mktime: merge <sys/types.h> change from gnulib
45017 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45018 since <time.t> is now guaranteed to define time_t.
45019
95770f14
PE
45020 mktime: merge HAVE_CONFIG_H change from gnulib
45021 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45022
5e1a27a9
L
450232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45024
0e44a77e
L
45025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45026 Use "neg %eax".
45027
5e1a27a9
L
45028 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45029 __rlim_t cast.
45030 (struct rusage): Use anonymous union to pad each field to
45031 __syscall_slong_t.
45032
46259bec
DM
450332012-05-21 David S. Miller <davem@davemloft.net>
45034
45035 * Makefules (o-iterator): Remove .s cases.
45036 (compile-command.s): Delete.
45037 (COMPILE.s): Delete.
45038 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45039
59f0c22e
JM
450402012-05-21 Joseph Myers <joseph@codesourcery.com>
45041
45042 * configure.in (libc_cv_predef_stack_protector): Only consider
45043 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45044 * configure: Regenerated.
45045
20c07380
L
450462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45047
bbb3154b
L
45048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45049 New macro. Use R*LP on int and pointer.
45050 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
45051 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45052 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
45053 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45054
20c07380
L
45055 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45056 [__WORDSIZE_TIME64_COMPAT32] instead of
45057 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45058 (struct utmp): Likewise.
45059 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45060 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45061 Renamed to ...
45062 (__WORDSIZE_TIME64_COMPAT32): This.
45063 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45064 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45065 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45066 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45067 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45068 (__WORDSIZE_TIME64_COMPAT32): New macro.
45069
d8d1017e
AJ
450702012-05-21 Andreas Jaeger <aj@suse.de>
45071
45072 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45073 only if [SHARED]. Add prototype for __wcschr_ia32.
45074
6c7fb145
RM
450752012-05-21 Roland McGrath <roland@hack.frob.com>
45076
45077 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45078 of %rbp unmolested in the jmp_buf while mangling the low bits.
45079 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45080 unmolested high bits of %rbp while demangling the low bits.
45081 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45082
66274218
AJ
450832012-05-21 Andreas Jaeger <aj@suse.de>
45084
07c58f8f
AJ
45085 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45086 * sunrpc/svc_simple.c: Use it for registerrpc.
45087 * sunrpc/xcrypt.c: Use it for passwd2des.
45088
66274218
AJ
45089 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45090
61f65140
L
450912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45092
45093 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45094 Don't define if [__SYSCALL_WORDSIZE != 32].
45095 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45096 New macro.
45097
5fefb436
AJ
450982012-05-21 Bruno Haible <bruno@clisp.org>
45099 Andreas Jaeger <aj@suse.de>
45100
45101 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45102 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45103 inptr and inend for must_buffer_ch.
45104 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45105 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45106 * stdio-common/Makefile (tests): Remove bug15.
45107 (bug15-ENV): Remove macro.
45108 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45109 anymore.
45110
d8e272ab
AJ
451112012-05-19 Andreas Jaeger <aj@suse.de>
45112 Roland McGrath <roland@hack.frob.com>
45113
45114 * manual/contrib.texi: Completely rewritten. It contains now an
45115 alphabetical list of contributors and their contributions.
45116
4a56a162
RH
451172012-05-21 Richard Henderson <rth@twiddle.net>
45118
45119 * misc/getauxval.c (__getauxval): Use unsigned long int.
45120 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45121 (getauxval): Use unsigned long int.
45122
d024d23c
L
451232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45124
45125 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45126
cbc00a03
RM
451272012-05-21 Roland McGrath <roland@hack.frob.com>
45128
45129 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45130 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45131 __alignof__ (long double).
45132
478143fa
AZ
451332012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45134
45135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45136
c7683a6d
RH
451372012-05-20 Richard Henderson <rth@twiddle.net>
45138
45139 * misc/getauxval.c: New file.
45140 * misc/sys/auxv.h: New file.
45141 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45142 (routines): Add getauxval.
45143 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45144 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45145 * elf/dl-sysdep.c (_dl_auxv): Remove.
45146 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45147 * elf/dl-support.c (_dl_auxv): New variable.
45148 (_dl_aux_init): Initialize it.
45149 * manual/startup.texi (Auxiliary Vector): New node.
45150 * sysdeps/generic/bits/hwcap.h: New file.
45151 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45152 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45153 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45154 * sysdeps/sparc/sysdep.h: ... here. Include it.
45155 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45156 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
45157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45158 Update.
c7683a6d
RH
45159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45167
a6f1845d
AZ
451682012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45169
45170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45171
cbcbe830
DM
451722012-05-19 David S. Miller <davem@davemloft.net>
45173
45174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45175
e0b16cc2
JM
451762012-05-19 Joseph Myers <joseph@codesourcery.com>
45177
45178 [BZ #14123]
45179 * math/s_ccosh.c: Include <float.h>
45180 (__ccosh): Avoid internal overflow calculating sinh and cosh
45181 values before multiplying by sin and cos values.
45182 * math/s_ccoshf.c: Likewise.
45183 * math/s_ccoshl.c: Likewise.
45184 * math/s_csin.c: Likewise.
45185 * math/s_csinf.c: Likewise.
45186 * math/s_csinl.c: Likewise.
45187 * math/s_csinh.c: Likewise.
45188 * math/s_csinhf.c: Likewise.
45189 * math/s_csinhl.c: Likewise.
45190 * math/libm-test.inc (ccos_test): Add more tests.
45191 (ccosh_test): Likewise.
45192 (csin_test): Likewise.
45193 (csinh_test): Likewise.
45194 * sysdeps/i386/fpu/libm-test-ulps: Update.
45195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45196
6ad13e08
L
451972012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45198
f66f0ce8
L
45199 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45200 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45201
6ad13e08
L
45202 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45203
b1d072a7
JM
452042012-05-19 Joseph Myers <joseph@codesourcery.com>
45205
45206 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45207 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45208 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45209 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45210 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45211 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45212 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45213 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45214 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45215 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45216 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45217 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45218 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45219 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45220 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45221 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45222 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45223 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45224 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45225 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45226 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45227 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45228 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45229 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45230 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45231 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45232 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45233 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45234 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45235 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45236 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45237
9eae47cb
AJ
452382012-05-18 Andreas Jaeger <aj@suse.de>
45239
45240 * csu/.gitignore: Delete.
45241
bb07f69f
L
452422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45243
45244 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45245 (timex): Use __syscall_slong_t.
45246
e6bdb741
AJ
452472012-05-18 Andreas Jaeger <aj@suse.de>
45248 Carlos O'Donell <carlos_odonell@mentor.com>
45249
45250 * manual/install.texi (Configuring and compiling): Update
45251 description about files modified in the source directory.
d6c33fda 45252 * INSTALL: Regenerated.
e6bdb741 45253
1b74487e
L
452542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45255
45256 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45257 value. Use "or" to set return value to -1.
45258 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45259 negate return value.
45260
a88b64b9
TMQMF
452612012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45262
57f41c40
AS
45263 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45264 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
45265 failure if the compiler has Graphite support disabled.
45266 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45267 Likewise.
57f41c40
AS
45268 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45269 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
45270 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45271 Likewise.
45272
3707636e
L
452732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45274
610b8622
L
45275 * sysdeps/x86_64/x32/_itoa.h: New file.
45276
7cd195df
L
45277 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45278 getdents system call only if kernel and user dirents have the
45279 same d_ino and d_off.
45280
94b07d20
L
45281 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45282 LLONG_MAX != LONG_MAX.
45283 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45284 (_fitoa_word): Likewise.
45285
18298070
L
45286 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45287 years.
45288 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45289 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45290 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45291
553c7ea4
L
45292 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45293 include <bits/wordsize.h>. Check __x86_64__ instead of
45294 __WORDSIZE.
45295 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45296 if __x86_64__ is defined. Use anonymous union on fpstate.
45297
3707636e
L
45298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45299 anonymous union.
45300
b53ef01a
AS
453012012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45302
37fb1dc0
AS
45303 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45304 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45305 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45306 Refer to _rtld_local_ro instead of _rtld_global_ro.
45307 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45308 Likewise.
45309 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45310 Likewise.
45311 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45312 Likewise.
45313 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45314 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45315 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45316
b53ef01a
AS
45317 * sysdeps/powerpc/powerpc32/dl-machine.c
45318 (__elf_machine_runtime_setup) [PROF]: Don't reference
45319 _dl_prof_resolve.
45320
7a185db2
AJ
453212012-05-18 Andreas Jaeger <aj@suse.de>
45322
45323 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45324 function only available for GCCs before 3.4 since GCC 3.4
45325 introduced a builtin.
45326 (lrint): Likewise.
45327 (llrintf): Likewise.
45328 (llrint): Likewise.
45329 (fmaxf): Likewise.
45330 (fmax): Likewise.
45331 (fminf): Likewise.
45332 (fmin): Likewise.
45333 (rint): Likewise.
45334 (rintf): Likewise.
45335 (nearbyint): Likewise.
45336 (nearbyintf): Likewise.
45337 (ceil): Likewise.
45338 (ceilf): Likewise.
45339 (floor): Likewise.
45340 (floorf): Likewise.
45341
3e5aef87
L
453422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45343
428bd707
L
45344 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45345 on both fields and cast pointer to __syscall_ulong_t.
45346
3e5aef87
L
45347 * bits/types.h (__fsword_t): New type.
45348 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45349 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45350 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45351 (__FSWORD_T_TYPE): Likewise.
45352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45353 (__FSWORD_T_TYPE): Likewise.
45354 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45355 (__FSWORD_T_TYPE): Likewise.
45356 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45357 (__FSWORD_T_TYPE): Likewise.
45358 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45359 __SWORD_TYPE with __fsword_t.
45360 (statfs64): Likewise.
45361
1ba7c3dc
DM
453622012-05-17 David S. Miller <davem@davemloft.net>
45363
45364 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45365
59910343
AJ
453662012-05-17 Andreas Jaeger <aj@suse.de>
45367
45368 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45369 warning.
45370
2e4c1e9e
L
453712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45372
45373 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45374
de7f5ce7
AJ
453752012-05-17 Andreas Jaeger <aj@suse.de>
45376
45377 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45378 when it is used.
45379
286abc3d
CM
453802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45381
45382 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45383
477cc68e
L
453842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45385
45386 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45387 * sysdeps/x86_64/tst-mallocalign1.c: New file.
45388
1a0994f5
CD
453892012-05-17 Andreas Jaeger <aj@suse.de>
45390 Carlos O'Donell <carlos_odonell@mentor.com>
45391
45392 [BZ #14059]
45393 * sysdeps/x86_64/multiarch/init-arch.h
45394 (bit_YMM_Usable): Rename to...
45395 (bit_AVX_Usable): ... this.
45396 (bit_FMA4_Usable): New macro.
45397 (bit_XMM_state): New macro.
45398 (bit_YMM_state): New macro.
45399 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45400 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45401 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45402 (CPUID_OSXSAVE): New macro.
45403 (CPUID_AVX): New macro.
45404 (CPUID_FMA4): New macro.
45405 (index_YMM_Usable): Rename to...
45406 (index_AVX_Usable): ... this.
45407 (HAS_AVX): Use HAS_ARCH_FEATURE.
45408 (HAS_FMA4): Likewise.
45409 (HAS_YMM_USABLE): Remove.
45410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45411 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45412 are present.
45413 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45414 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45415 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45416 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45417 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45418
0af797de
CM
454192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45420
45421 * math/libm-test.c: Support platforms without multiple rounding modes.
45422 * math/bug-nextafter.c: Support platforms without FP exceptions.
45423 * math/bug-nexttoward.c: Likewise.
45424 * math/test-fenv.c: Likewise.
45425 * math/test-misc.c: Likewise.
45426 * stdlib/bug-getcontext.c: Likewise.
45427
e39745ff
AJ
454282012-05-17 Andreas Jaeger <aj@suse.de>
45429
45430 * manual/examples/search.c (critter_cmp): Change signature to
45431 avoid warnings.
45432 * manual/string.texi (Collation Functions): Likewise.
45433
48970aba
L
454342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45435
45436 * bits/types.h: Fold copyright years.
45437 * bits/typesizes.h: Likewise.
45438 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45440 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45442 * time/time.h: Likewise.
45443
bedee953
PP
454442012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45445
45446 [BZ #208]
45447 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45448 in instead of returning them. Return void.
45449 (__libc_mallinfo): Accumulate over all arenas.
45450 (__malloc_stats): Adjust for change in int_mallinfo interface.
45451
61653dfb
RM
454522012-05-16 Roland McGrath <roland@hack.frob.com>
45453
30b99d79
RM
45454 [BZ #10375]
45455 * configure.in (NM): Add AC_CHECK_TOOL for it.
45456 (libc_extra_cflags): New substituted variable.
45457 Check for -fstack-protector being used implicitly.
45458 * configure: Regenerated.
45459 * config.make.in (config-extra-cflags): New variable,
45460 gets @libc_extra_cflags@.
45461 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45462
61653dfb
RM
45463 [BZ #10375]
45464 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45465 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45466 * configure: Regenerated.
45467 * config.make.in (CPPUNDEFS): New substituted variable.
45468 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45469 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45470 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45471
661768bb
L
454722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45473
45474 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45475 (mq_attr): Use __syscall_slong_t.
45476
d4261567
L
454772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45478
45479 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45480 Check __x86_64__ instead of __WORDSIZE.
45481 (_STAT_VER_LINUX): Likewise.
45482 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45483 __syscall_ulong_t and __syscall_slong_t.
45484 (stat64): Likewise.
45485
cf3ff365
L
454862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45487
45488 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45489
76cf3e4d
L
454902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45491
45492 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45493
a637753a
L
454942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45495
45496 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45497 __syscall_ulong_t.
45498
d5e05119
L
45499 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45500 include <bits/wordsize.h>. Check __x86_64__ instead of
45501 __WORDSIZE.
45502 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45503 defined.
45504 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45505
f62ee380
L
45506 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45507 include <bits/wordsize.h>. Check __x86_64__ instead of
45508 __WORDSIZE.
45509 (user_regs_struct): Use "__extension__ unsigned long long"
45510 instead of "unsigned long" if __x86_64__ is defined.
45511 (user): Likewise. Pad after pointer field if __ILP32__ is
45512 defined.
45513
4e124ced
JM
455142012-05-16 Joseph Myers <joseph@codesourcery.com>
45515
6a3951a0
JM
45516 * configure.in (makeinfo): Require version 4.5 or later. Allow
45517 versions 5 to 9.
45518 * configure: Regenerated.
45519 * manual/install.texi (texinfo): Increase version requirement to
45520 4.5 or later.
45521 * INSTALL: Regenerated.
45522
4e124ced
JM
45523 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45524
953ca31a
L
455252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45526
45527 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45528
617aca05
L
45529 * sysdeps/x86_64/x32/ffs.c: New file.
45530
5762f7ae
L
45531 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45532 __syscall_ulong_t.
45533 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45534 defined. Use __syscall_ulong_t.
45535 (shminfo): Use __syscall_ulong_t.
45536 (shm_info): Likewise.
45537
a26b6856
L
45538 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45539 __syscall_ulong_t.
45540
cb2b9ef7
L
45541 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45542 <bits/wordsize.h>.
45543 (msgqnum_t): Use __syscall_ulong_t.
45544 (msglen_t): Likewise.
45545 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45546 __syscall_ulong_t.
45547
34683bb0
L
45548 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45549 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45550
84a68786
L
45551 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45552
48baa5f1
L
45553 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45554 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45555
180be88b
L
45556 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45557 __syscall_slong_t.
45558
5e90c8ad
L
45559 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45560 include <bits/wordsize.h>. Check __x86_64__ instead of
45561 __WORDSIZE.
45562
23dfb58b
L
45563 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45564 "unsigned long long int" if __x86_64__ is defined.
45565 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45566
ce5d54b0
L
45567 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45568 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45569 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45570
13dc9eac
L
45571 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45572 <stdint.h>.
45573 (GET_PC): Cast to uintptr_t first.
45574 (GET_FRAME): Likewise.
45575 (GET_STACK): Likewise.
45576
a7895d15
L
45577 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45578 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45579 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45580 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45581 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45582 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45583 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45584 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45585 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45586 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45587 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45589 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45590 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45591 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45592 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45594 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45595 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45596 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45597 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45598 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45599 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45600 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45601 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45603 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45604 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45605 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45606
656416c9
AS
456072012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45608
5bd66283
AS
45609 * Makerules (+depfiles): Also collect depfiles from .oS in
45610 $(extra-objs).
45611 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45612 .oS, $(libnldbl-routines)).
45613
656416c9
AS
45614 * Makerules (native-compile-mkdep-flags): Define.
45615 * sunrpc/Makefile (extra-objs): Add $(addprefix
45616 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45617 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45618 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45619 calling $(make-target-directory).
45620
a46f2169
L
456212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45622
45623 * bits/types.h (__snseconds_t): Removed.
45624 * time/time.h (struct timespec): Replace __snseconds_t with
45625 __syscall_slong_t.
45626 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45627 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45628 Likewise.
45629 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45630 (__SNSECONDS_T_TYPE): Likewise.
45631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45632 (__SNSECONDS_T_TYPE): Likewise.
45633 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45634 (__SNSECONDS_T_TYPE): Likewise.
45635
6af6528b
L
456362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45637
45638 * sysdeps/mach/hurd/bits/typesizes.h
45639 (__SYSCALL_SLONG_TYPE): New macro.
45640 (__SYSCALL_ULONG_TYPE): Likewise.
45641
de986b56
L
456422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45643
45644 * bits/types.h (__syscall_slong_t): New type.
45645 (__syscall_ulong_t): Likewise.
45646
45647 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45648 (__SYSCALL_ULONG_TYPE): Likewise.
45649 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45650 (__SYSCALL_SLONG_TYPE): Likewise.
45651 (__SYSCALL_ULONG_TYPE): Likewise.
45652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45653 (__SYSCALL_SLONG_TYPE): Likewise.
45654 (__SYSCALL_ULONG_TYPE): Likewise.
45655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45656 (__SYSCALL_SLONG_TYPE): Likewise.
45657 (__SYSCALL_ULONG_TYPE): Likewise.
45658
85736dc7
L
456592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45660
45661 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45662 Add sigaltstack-offsets.sym.
45663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45664 <sigaltstack-offsets.h>.
45665 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45666 longjmp_msg pointer.
45667 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45668 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45669 signal stack.
45670 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45671
cc03b296
JM
456722012-05-15 Joseph Myers <joseph@codesourcery.com>
45673
a9538892
JM
45674 * elf/stackguard-macros.h: Remove file.
45675 * sysdeps/generic/stackguard-macros.h: New file.
45676 * sysdeps/i386/stackguard-macros.h: Likewise.
45677 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45678 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45679 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45680 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45681 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45682 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45683 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45684 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45685 <elf/stackguard-macros.h>.
45686
cc03b296
JM
45687 [BZ #14109]
45688 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45689 __aligned__ in attribute.
45690 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45691 (gregset_t): Likewise.
45692
93171016
L
456932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45694
45695 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45696 * sysdeps/x86_64/64/Implies-after: Here. New file.
45697 * sysdeps/x86_64/x32/Implies-after: New file.
45698
d86813a0
L
456992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45700
45701 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45702 and access return value for _dl_profile_fixup. Use R10_LP to
45703 load frame size.
45704
2953ec75
L
457052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45706
45707 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45708
3b550e9e
L
457092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45710
45711 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45712 * sysdeps/x86_64/x32/sysdep.h: New file.
45713
eda41706
L
457142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45715
45716 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45717 * sysdeps/x86_64/setjmp.S: Likewise.
45718
9ea01d93
AZ
457192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45720
45721 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45722 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45723 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45724 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45725 remove unused global constant.
45726
02a91938
CM
457272012-05-15 Chris Metcalf <cmetcalf@tilera.com>
45728
45729 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45730 include of <not-cancel.h>.
45731
6540185f
RM
457322012-05-15 Roland McGrath <roland@hack.frob.com>
45733
45734 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45735
509072a0
AJ
457362012-05-15 Jeff Law <law@redhat.com>
45737 Andreas Jaeger <aj@suse.de>
45738
45739 [BZ #13594]
45740 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45741 out from...
45742 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45743 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45744 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45745 code changing __hst_map_handle.map.
45746
ba75122d
RM
457472012-05-15 Roland McGrath <roland@hack.frob.com>
45748
45749 * configure.in (sysnames): Look for Implies-before and Implies-after
45750 files.
45751 * configure: Regenerated.
45752
890d8bd8
L
457532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45754
45755 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45756 8-byte data alignment with LP_SIZE alignment.
45757
f6ee6623
L
457582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45759
45760 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45761 into R10_LP.
45762
ea2626f6
L
457632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45764
45765 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45766
085f715e
L
457672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45768
45769 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45770 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45771 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45772 Likewise.
45773 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45774
be8498fc
L
457752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45776
45777 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45778 (stackinfo_sub_sp): Likewise.
45779
70bc83b9
L
457802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45781
45782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45783 RAX_LP.
45784
9bc0b730
L
457852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45786
45787 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45788 into R*_LP.
45789
6d2850e7
L
457902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45791
45792 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45793 sizes into R*_LP.
45794
3cb84561
L
457952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45796
45797 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45798
54e2ed81
L
457992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45800
45801 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45802 into R11_LP and load __x86_64_shared_cache_size_half into
45803 R8_LP.
45804
8a17f349
L
458052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45806
45807 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45808 R8_LP.
45809
777b1eea
AZ
458102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45811
45812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45813 logb for POWER7.
45814 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45815 logbf for POWER7.
45816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45817 logbl for POWER7.
45818 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45819 powerpc32/power7/fpu/s_logb.c via #include.
45820 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45821 powerpc32/power7/fpu/s_logbf.c via #include.
45822 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45823 powerpc32/power7/fpu/s_logbl.c via #include.
45824
d20d4ac2
JM
458252012-05-15 Joseph Myers <joseph@codesourcery.com>
45826
45827 * README.libm: Remove file.
45828
6cdef1ab
L
458292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45830
45831 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45832 count for x32. Use R*_LP and omit operand-size suffix.
45833
0b254d8f
L
458342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45835
45836 * shlib-versions: Move x86_64-.*-linux.* entries to ...
45837 * sysdeps/x86_64/64/shlib-versions: Here. New file.
45838 * sysdeps/x86_64/x32/shlib-versions: New file.
45839
ceb809dc
RM
458402012-05-14 Roland McGrath <roland@hack.frob.com>
45841
45842 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45843 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45844 Use _dl_fatal_printf instead.
45845
37f1abd4
JM
458462012-05-14 Joseph Myers <joseph@codesourcery.com>
45847
45848 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45849 set if not set by the user. Do not allow for being unset.
45850 * sysdeps/unix/sysv/linux/configure: Regenerated.
45851
11de3a33
L
458522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45853
45854 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45855 the `q' suffix from lea and replace .quad with ASM_ADDR.
45856
e02f153a
L
458572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45858
45859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45860 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
45861 instead of $17.
45862 (PTR_DEMANGLE): Likewise.
45863
520ae0fd
L
458642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45865
45866 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
45867 (LP_OP): Likewise.
45868 (ASM_ADDR): Likewise.
45869 (RAX_LP): Likewise.
45870 (RBP_LP): Likewise.
45871 (RBX_LP): Likewise.
45872 (RCX_LP): Likewise.
45873 (RDI_LP): Likewise.
45874 (RSI_LP): Likewise.
45875 (RSP_LP): Likewise.
45876 (R8_LP): Likewise.
45877 (R9_LP): Likewise.
45878 (R10_LP): Likewise.
45879 (R10_LP): Likewise.
45880 (R11_LP): Likewise.
45881 (R12_LP): Likewise.
45882 (R13_LP): Likewise.
45883 (R14_LP): Likewise.
45884 (R15_LP): Likewise.
45885
b985be81
L
458862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45887
45888 * sysdeps/x86_64/x32/dl-machine.h: New file.
45889
6a4888ff
AJ
458902012-05-14 Andreas Jaeger <aj@suse.de>
45891
45892 * manual/Makefile (subdir): Remove export of subdir.
45893 (all): Remove target.
45894 (.PHONY): Remove all from list.
45895 (mkinstalldirs): Remove.
45896 (.PHONY): Remove installdirs from list.
45897 ($(inst_infodir)/libc.info): Use make-target-directory.
45898 (installdirs): Remove.
45899 (subdir_%): Remove.
45900 (glibc-targets): Remove.
45901 (lib): Remove.
45902 (stubs): Remove.
45903 ($(objpfx)stubs ../po/manual.pot): Remove.
45904 ($(objpfx)stamp%): Remove.
45905 (make-target-directory): Remove.
45906 (subdir_install): Remove.
45907 (routines): Remove.
45908 (aux): Remove.
45909 (sources): Remove.
45910 (objects): Remove.
45911 (headers): Remove.
45912
45913 [BZ #13750]
45914 * manual/.gitignore: Remove, it's not needed anymore.
45915 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45916 all files in it.
45917 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45918 directory.
45919 (texis): Renamed to $(objpfx)texis.
45920 (texis-path): New, contains path to generated files.
45921 (chapters.%): Use texis-path for complete path, add extra argument
45922 libc-texinfo.sh.
45923 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45924 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45925 (summary,texi, stamp-summary): Use complete path of
45926 files. Generate files in build dir.
45927 (dir-add.texi): Build in build dir.
45928 (libm-err.texi,stamp-libm-err): Likewise.
45929 (version.texi, stamp-version): Likewise.
45930 (.%c.texi): Likewise.
45931 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45932 (mostlyclean): Remove target.
45933 (realclean): Remove target.
45934 (generated): Add new variable with contents from mostlyclean and
45935 realclean, remove entries duplicated in common-mostlyclean, add
45936 stamp-libm-err and stamp-version.
45937 (generated-dirs): Add libc directory.
45938 ($(inst_infodir)/libc.info): Install files from build dir.
45939
45940 * manual/install.texi (Configuring and compiling): Adjust since
45941 the info files are not part of the tar ball anymore.
45942
7ac77294
AJ
459432012-05-14 Andreas Jaeger <aj@suse.de>
45944
45945 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45946 variable.
45947
ffb7875d
JM
459482012-05-14 Joseph Myers <joseph@codesourcery.com>
45949
45950 [BZ #13717]
45951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45952 to 2.2.0 where earlier.
45953 * sysdeps/unix/sysv/linux/configure: Regenerated.
45954 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45955 Remove conditional code.
45956 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45957 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45958 Remove conditional code.
45959 [!__NR_lchown]: Likewise.
45960 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45961 [__NR_lchown]: Likewise.
45962 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45963 comment referencing __ASSUME_LCHOWN_SYSCALL.
45964 * sysdeps/unix/sysv/linux/i386/sigaction.c
45965 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45966 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45967 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45968 Remove conditional code.
45969 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45970 (__protocol_available): Remove #if 0 code.
45971 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45972 conditional code.
45973 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45974 * sysdeps/unix/sysv/linux/kernel-features.h
45975 (__ASSUME_GETCWD_SYSCALL): Don't define.
45976 (__ASSUME_REALTIME_SIGNALS): Likewise.
45977 (__ASSUME_PREAD_SYSCALL): Likewise.
45978 (__ASSUME_PWRITE_SYSCALL): Likewise.
45979 (__ASSUME_POLL_SYSCALL): Likewise.
45980 (__ASSUME_LCHOWN_SYSCALL): Likewise.
45981 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45982 non-SPARC.
45983 (__ASSUME_SIOCGIFNAME): Don't define.
45984 (__ASSUME_MSG_NOSIGNAL): Likewise.
45985 (__ASSUME_SENDFILE): Define unconditionally.
45986 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45987 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45988 conditional code.
45989 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45990 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45991 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45992 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45993 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45994 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45995 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45997 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46000 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46001 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46003 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46006 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46009 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46012 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46015 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46020 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46021 Remove conditional code.
46022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46023 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46024 Remove conditional code.
46025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46026 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46027 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46028 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46029 Remove conditional code.
46030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46031 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46032 Remove conditional code.
46033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46034 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46035 Remove conditional code.
46036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46037 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46038 Remove conditional code.
46039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46040 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46041 Remove conditional code.
46042 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46043 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46044 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46046 * sysdeps/unix/sysv/linux/sigaction.c
46047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46049 * sysdeps/unix/sysv/linux/sigpending.c
46050 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46051 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46052 * sysdeps/unix/sysv/linux/sigprocmask.c
46053 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46054 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46055 * sysdeps/unix/sysv/linux/sigsuspend.c
46056 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46057 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46058 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46059 (__libc_missing_rt_sigs): Remove.
46060 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46061 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46062 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46063 Remove conditional code.
46064 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46065 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46066 return 1.
46067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46068 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46069 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46070 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46071
1bfb7291
AJ
460722012-05-14 Andreas Jaeger <aj@suse.de>
46073
caae5a81
AJ
46074 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46075 it's not used in glibc.
46076 (__coshm1): Likewise.
46077 (__acosh1p): Likewise.
46078 (__sgn): Likewise.
46079
1bfb7291
AJ
46080 * manual/string.texi (Copying and Concatenation): Add missing
46081 variable in concat example.
46082 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46083
c044d724
L
460842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46085
144c5467 46086 [BZ #14103]
c044d724
L
46087 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46088 __builtin_clzl with __builtin_clzll.
46089
2523c62b
L
460902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46091
46092 [BZ #14104]
46093 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46094 libc_freeres_ptr.
46095
d7bb4c42
LD
460962012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46097
46098 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46099 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46100 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46101 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46102
9dc4e1fb
MF
461032012-05-14 Mike Frysinger <vapier@gentoo.org>
46104
46105 * NEWS: Update ia64 info.
46106
c7df0112
AS
461072012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46108
46109 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46110 used as bcopy.
46111
dc70356c
TS
461122012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46113
46114 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46115 * sysdeps/unix/syscalls.list (dup3): Likewise.
46116 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46117 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46118
9fb1a21f
L
461192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46120
46121 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46122 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46123
4822a2a5
L
461242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46125
46126 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46127 thread pointer.
46128 (TLS_IE): Use mov/add instead of movq/addq to load thread
46129 pointer.
46130 (TLS_GD_PREFIX): New.
46131 (TLS_GD): Use it.
46132
842b81d6
DM
461332012-05-11 David S. Miller <davem@davemloft.net>
46134
46135 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46136 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46137 (_FPU_SETCW): Likewise.
46138
1cf463cd
L
461392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46140
46141 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46142 is 32-byte aligned.
46143
60cc4a18
AS
461442012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46145
46146 [BZ #11837]
46147 * iconvdata/gb18030.c: Update tables.
46148 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46149 characters specially.
46150 (BODY for TO_LOOP): Add encoding of missing ranges.
46151
febb44a4
TS
461522012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46153
46154 [BZ #13673]
46155 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46156 * sysdeps/mach/hurd/dup3.c: Likewise.
46157 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46158 * sysdeps/powerpc/memmove.c:: Likewise.
46159
0a10fb9e
L
461602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46161
46162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46163 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46164
df8a552f
L
461652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46166
46167 * elf/elf.h (R_X86_64_RELATIVE64): New.
46168 (R_X86_64_NUM): Updated.
46169 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46170 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46171 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46172 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46173 tst-quad1pie tst-quad2pie
46174 (modules-names): Add tst-quadmod1 tst-quadmod2.
46175 ($(objpfx)tst-quad1): New dependency.
46176 ($(objpfx)tst-quad2): Likewise.
46177 ($(objpfx)tst-quad1pie): Likewise.
46178 ($(objpfx)tst-quad2pie): Likewise.
46179 * sysdeps/x86_64/tst-quad1.c: New file.
46180 * sysdeps/x86_64/tst-quad1pie.c: New file.
46181 * sysdeps/x86_64/tst-quad2.c: Likewise.
46182 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46183 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46184 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46185 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46186 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46187
f34d6f84
ST
461882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46189
f42d41d1
ST
46190 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46191 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46192 * streams/stropts.h (t_scalar_t): Define type.
46193
3c3571fc
ST
46194 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46195 (_PATH_PRESERVE): Set to "/var/lib".
46196 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46197
61f06bd3
ST
46198 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46199 instead of int.
46200
918d4d71
ST
46201 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46202 if __dir_mkfile succeeded.
46203
f34d6f84
ST
46204 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46205 checking for _hurd_dtablesize. Unlock it right after having
46206 finished _hurd_dtable allocation.
46207
10589b4a
TS
462082012-05-10 Thomas Schwinge <thomas@schwinge.name>
46209
674cdbc7
TS
46210 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46211 * sysdeps/mach/hurd/configure: Regenerated.
46212 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46213 special-casing to...
46214 * sysdeps/gnu/configure.in: ... this new file.
46215 * sysdeps/unix/sysv/linux/configure: Regenerated.
46216 * sysdeps/gnu/configure: New generated file.
46217
8e41b99f
TS
46218 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46219 for Linux: use nsec instead of usec, as well as:
46220 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46221 members of type struct timespec.
46222 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46223 New macros.
46224 (struct stat64): Likewise.
46225 (_STATBUF_ST_NSEC): New macro.
46226 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46227
10589b4a
TS
46228 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46229 __strtoul_internal rather than strtoul.
46230
63643c85
PT
462312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46232
46233 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46234 and reject them.
46235
3faebe6a
ST
462362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46237
46238 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46239 which preserves existing values.
46240 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46241
c6474b07
PT
462422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46243
46244 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46245 TIMEOUT values. Return EINVAL for NFDS values either negative or
46246 greater than FD_SETSIZE.
46247
1043890b
ST
462482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46249
46250 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46251 allocated, call __vm_protect to finish enabling the existing space, and
46252 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46253 allocate the remainder.
46254
37ed8b9b
PT
462552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46256
46257 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46258 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46259
db653660
ST
462602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46261
37ed8b9b
PT
46262 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46263 sysdeps/mach/hurd/readlink.c.
b29d4053 46264
db653660
ST
46265 * posix/tst-sysconf.c (posix_options): Only use
46266 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46267 _POSIX_SYNCHRONIZED_IO when they are defined
46268 * sysdeps/mach/hurd/bits/posix_opt.h:
46269 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46270 (_XOPEN_REALTIME): Undefine macro.
46271 (_XOPEN_REALTIME_THREADS): Undefine macro.
46272 (_XOPEN_SHM): Undefine macro.
46273 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46274 macro to -1.
46275 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46276 macro to -1.
46277 (_POSIX_ASYNC_IO): Undefine macro.
46278 (_POSIX_PRIORITIZED_IO): Undefine macro.
46279 (_POSIX_SPIN_LOCKS): Define macro to -1.
46280
ee16e894
ST
46281 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46282 SA_NODEFER, SA_RESETHAND.
46283 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46284 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46285 F_DUPFD_CLOEXEC.
46286
6103ae3b
TS
462872012-05-10 Thomas Schwinge <thomas@schwinge.name>
46288
46289 * elf/Makefile (pldd-modules): Define unconditionally.
46290
80b4e5f3
TS
462912012-05-10 Thomas Schwinge <thomas@schwinge.name>
46292
46293 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46294
edadcbd6
ST
462952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46296
46297 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46298 Return ENOENT when name is empty.
46299 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46300
80694780
TS
463012012-05-10 Thomas Schwinge <thomas@schwinge.name>
46302
1792c087
TS
46303 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46304
80694780
TS
46305 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46306
6b645f0d
ST
463072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46308
80694780
TS
46309 Fix mlock in all cases except non-readable pages.
46310 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46311 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 46312
6b645f0d
ST
46313 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46314 (__mkdir): When path is `/', just fail with EEXIST.
46315 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46316
e468f8a3
TS
463172012-05-10 Thomas Schwinge <thomas@schwinge.name>
46318
46319 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46320 <sys/uio.h> (for writev).
46321 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46322 and <sys/param.h> (for MIN).
46323
a4186cff
PT
463242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46325
46326 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46327 REQUESTED_TIME. Properly set the remaining time and return EINTR
46328 if interrupted.
46329
510bbf14
TS
463302012-05-10 Thomas Schwinge <thomas@schwinge.name>
46331
46332 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46333 Depend on against $(link-rpcuserlibs).
46334
5d5722e8
ST
463352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46336
a4186cff
PT
46337 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46338 (__libc_stack_end): Do not use attribute_relro.
46339 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46340 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 46341 to libthread-provided value.
a4186cff
PT
46342 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46343 attribute_relro.
5d5722e8 46344
37233df9
TS
463452012-05-10 Thomas Schwinge <thomas@schwinge.name>
46346
be971a2b
TS
46347 [BZ #3748]
46348 * bits/libc-lock.h (__libc_once_get): New macro.
46349 * sysdeps/mach/bits/libc-lock.h: Likewise.
46350 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46352 instead of using implementation details.
46353
37233df9
TS
46354 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46355 * libio/freopen.c: Likewise.
46356 * libio/freopen64.c: Likewise.
46357 * misc/syslog.c: Likewise.
46358 * nscd/connections.c: Likewise.
46359 * nscd/netgroupcache.c: Likewise.
46360 * sysdeps/posix/getcwd.c: Likewise.
46361
38de94a5
RM
463622012-05-10 Roland McGrath <roland@hack.frob.com>
46363
46364 * math/w_ilogbf.c: Add #include <limits.h>.
46365
67530489
ST
463662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46367
a4186cff 46368 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
46369 path instead of returning without unlocking.
46370
67530489
ST
46371 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46372 immediate-write ioctls.
46373 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46374
5aa3a74a
TS
463752012-05-10 Thomas Schwinge <thomas@schwinge.name>
46376
18bad2ae
TS
46377 * sysdeps/mach/hurd/i386/init-first.c (init): Use
46378 __builtin_frame_address instead of making assumptions about the
46379 location of the return address relative to DATA. Force early load of
46380 the return address.
46381 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46382 __builtin_frame_address.
46383
5aa3a74a
TS
46384 dup3 for GNU Hurd.
46385 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46386 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
46387 implement dup3 and do some further code clean-ups.
46388 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46389 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46390
ecd0de9a
ST
463912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46392
cd9fa985
ST
46393 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46394
a4186cff
PT
46395 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46396 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46397 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46398 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46399 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46400 d->port.lock.
802ca5a5 46401
a4186cff
PT
46402 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46403 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46404 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 46405
bcf55240
TS
464062012-05-10 Thomas Schwinge <thomas@schwinge.name>
46407
6960eb42
TS
46408 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46409 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46410 definitions.
46411
eb43375f
TS
46412 accept4 for GNU Hurd.
46413 * include/sys/socket.h (__libc_accept4): New prototype.
46414 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46415 to implement __libc_accept4.
46416 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46417 __libc_accept4.
46418 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46419
bcf55240
TS
46420 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46421 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46422 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46423 signal-defines.sym.
46424
6178c55b
ST
464252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46426
a4186cff 46427 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 46428
6f080c2f
TS
464292012-05-10 Thomas Schwinge <thomas@schwinge.name>
46430
46431 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46432 assertion on O_CLOEXEC flag.
46433 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46434 * hurd/intern-fd.c: Likewise.
46435 * hurd/port2fd.c: Likewise.
46436
bcfe3a54
ST
464372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46438
46439 [BZ #3906]
46440 * bits/in.h (IPV6_PKTINFO): Define new macro.
46441 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46442
89c9aa49
AZ
464432012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46444
46445 [BZ #13954]
46446 [BZ #13955]
46447 [BZ #13956]
46448 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46449 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46450 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46451 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46452 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46453 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46454 * math/libm-test.inc (logb_test) : Additional logb tests.
46455
021db4be
AJ
464562012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46457 Andreas Jaeger <aj@suse.de>
46458
46459 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46460 * configure: Regenerated.
46461 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46462 * config.make.in (link-obsolete-rpc): New substituted variable.
46463 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46464 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46465 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46466 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46467 so that libc.a contains the symbols.
46468 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46469 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46470 * sunrpc/auth_none.c: Likewise.
46471 * sunrpc/auth_unix.c: Likewise.
46472 * sunrpc/authdes_prot.c: Likewise.
46473 * sunrpc/authuxprot.c: Likewise.
46474 * sunrpc/clnt_gen.c: Likewise.
46475 * sunrpc/clnt_perr.c: Likewise.
46476 * sunrpc/clnt_raw.c: Likewise.
46477 * sunrpc/clnt_simp.c: Likewise.
46478 * sunrpc/clnt_tcp.c: Likewise.
46479 * sunrpc/clnt_udp.c: Likewise.
46480 * sunrpc/clnt_unix.c: Likewise.
46481 * sunrpc/des_crypt.c: Likewise.
46482 * sunrpc/des_soft.c: Likewise.
46483 * sunrpc/get_myaddr.c: Likewise.
46484 * sunrpc/key_call.c: Likewise.
46485 * sunrpc/key_prot.c: Likewise.
46486 * sunrpc/netname.c: Likewise.
46487 * sunrpc/pm_getmaps.c: Likewise.
46488 * sunrpc/pm_getport.c: Likewise.
46489 * sunrpc/pmap_clnt.c: Likewise.
46490 * sunrpc/pmap_prot.c: Likewise.
46491 * sunrpc/pmap_prot2.c: Likewise.
46492 * sunrpc/pmap_rmt.c: Likewise.
46493 * sunrpc/publickey.c: Likewise.
46494 * sunrpc/rpc_cmsg.c: Likewise.
46495 * sunrpc/rpc_common.c: Likewise.
46496 * sunrpc/rpc_dtable.c: Likewise.
46497 * sunrpc/rpc_prot.c: Likewise.
46498 * sunrpc/rpc_thread.c: Likewise.
46499 * sunrpc/rtime.c: Likewise.
46500 * sunrpc/svc.c: Likewise.
46501 * sunrpc/svc_auth.c: Likewise.
46502 * sunrpc/svc_raw.c: Likewise.
46503 * sunrpc/svc_run.c: Likewise.
46504 * sunrpc/svc_tcp.c: Likewise.
46505 * sunrpc/svc_udp.c: Likewise.
46506 * sunrpc/svc_unix.c: Likewise.
46507 * sunrpc/svcauth_des.c: Likewise.
46508 * sunrpc/xcrypt.c: Likewise.
46509 * sunrpc/xdr.c: Likewise.
46510 * sunrpc/xdr_array.c: Likewise.
46511 * sunrpc/xdr_float.c: Likewise.
46512 * sunrpc/xdr_intXX_t.c: Likewise.
46513 * sunrpc/xdr_mem.c: Likewise.
46514 * sunrpc/xdr_rec.c: Likewise.
46515 * sunrpc/xdr_ref.c: Likewise.
46516 * sunrpc/xdr_sizeof.c: Likewise.
46517 * sunrpc/xdr_stdio.c: Likewise.
46518
b5c086a2
RM
465192012-05-10 Roland McGrath <roland@hack.frob.com>
46520
46521 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46522 change. Update copyright years.
46523
6d74dd09
JM
465242012-05-10 Joseph Myers <joseph@codesourcery.com>
46525
46526 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46527
28e72501
MK
465282012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46529 Joseph Myers <joseph@codesourcery.com>
46530 Paul Pluzhnikov <ppluzhnikov@google.com>
46531
46532 [BZ #14012]
46533 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46534 requiring rpcgen.
46535 [cross-compiling] (extra-libs): Likewise.
46536 [cross-compiling] (extra-libs-others): Likewise.
46537 [cross-compiling] (librpcsvc-routines): Likewise.
46538 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46539 [cross-compiling] (omit-deps): Likewise.
46540 (sunrpc-CPPFLAGS): New variable.
46541 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46542 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46543 (cross-rpcgen-objs): New variable.
46544 (extra-objs): Append $(cross-rpcgen-objs).
46545 ($(cross-rpcgen-objs)): New rule.
46546 ($(objpfx)cross-rpcgen): Likewise.
46547 (rpcgen-cmd): Define to use $(built-program-file). Expand
46548 comment.
46549 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46550 ($(objpfx)x%.stmp): Likewise.
46551 * sunrpc/proto.h [IS_IN_build] (_): Define.
46552 [IS_IN_build] (_libc_intl_domainname): Likewise.
46553
c8c59454
L
465542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46555
46556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46557 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46558 and R_X86_64_TPOFF64.
46559
6f27cd16
JM
465602012-05-10 Joseph Myers <joseph@codesourcery.com>
46561
46562 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46563 sysdeps/unix/sysv/syscalls.list.
46564 (stime): Likewise.
46565 (utime): Likewise.
46566 * sysdeps/unix/sysv/syscalls.list: Remove file.
46567
02467e1c
PE
465682012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46569
46570 [BZ #3440]
46571 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46572 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46573 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46574 (__LC_IDENTIFICATION): Make these macros useful in #if
46575 expressions, as required by C99.
46576
da392631
AS
465772012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46578
46579 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46580 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46581 after this.
46582
8115f29b
L
465832012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46584
46585 * stdlib/longlong.h: Updated from GCC.
46586
bdd74070
AJ
465872012-05-09 Andreas Jaeger <aj@suse.de>
46588
edfe0dbe
AJ
46589 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46590 default is first entry.
46591 (run_mode): Set type.
46592 (main): Remove informal message about syslog.
46593 (options): Fix typo.
46594
bcfe3a54
ST
46595 [BZ #14053]
46596 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 46597 to asm.
bcfe3a54
ST
46598 (lrint): Likewise.
46599 (llrintf): Likewise.
46600 (llrint): Likewise.
46601 (rint): Likewise.
46602 (rintf): Likewise.
46603 (nearbyint): Likewise.
46604 (nearbyintf): Likewise.
bdd74070 46605
91d8d69e
AJ
466062012-05-09 Andreas Jaeger <aj@suse.de>
46607 Pedro Alves <palves@redhat.com>
46608
46609 * nscd/nscd.c (run_mode): Use enum.
46610 (main): Cleanup coding style issue.
46611
bb90b80b
AJ
466122012-05-09 Alexandre Oliva <aoliva@redhat.com>
46613 Andreas Jaeger <aj@suse.de>
46614
bcfe3a54
ST
46615 * nscd/nscd.c (go_background): Replaced with...
46616 (run_mode): ... this.
bb90b80b 46617 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
46618 (options): Add -F --foreground.
46619 (main): Implement it.
46620 (parse_opt): Parse it.
bb90b80b 46621
1a4b75a1
AJ
466222012-05-09 Andreas Jaeger <aj@suse.de>
46623
46624 [BZ #14083]
46625 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46626 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46627 -Wconversion warning.
46628 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46629 Likewise.
46630
b1cc2472
JM
466312012-05-09 Joseph Myers <joseph@codesourcery.com>
46632
46633 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46634 == 0.
46635 (LC_ALL): Use macro-int-constant.
46636 (LC_COLLATE): Likewise.
46637 (LC_CTYPE): Likewise.
46638 (LC_MESSAGES): Likewise.
46639 (LC_MONETARY): Likewise.
46640 (LC_NUMERIC): Likewise.
46641 (LC_TIME): Likewise.
46642 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46643 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46645 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46646 Specify type.
46647 [C99-based standards] (float_t): Expect type.
46648 [C99-based standards] (double_t): Expect type.
46649 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46650 type.
46651 [C99-based standards] (HUGE_VALL): Likewise.
46652 [C99-based standards] (INFINITY): Likewise.
46653 [C99-based standards] (NAN): Likewise.
46654 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46655 [C99-based standards] (FP_NAN): Likewise.
46656 [C99-based standards] (FP_NORMAL): Likewise.
46657 [C99-based standards] (FP_SUBNORMAL): Likewise.
46658 [C99-based standards] (FP_ZERO): Likewise.
46659 [C99-based standards] (FP_FAST_FMA): Use
46660 optional-macro-int-constant. Specify type. Require == 1.
46661 [C99-based standards] (FP_FAST_FMAF): Likewise.
46662 [C99-based standards] (FP_FAST_FMAL): Likewise.
46663 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46664 [C99-based standards] (FP_ILOGBNAN): Likewise.
46665 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46666 Specify type.
46667 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46668 [C99-based standards] (math_errhandling): Specify type.
46669 [ISO99 || ISO11] (signgam): Do not allow.
46670 [non-C99-based standards] (copysignf): Do not allow.
46671 [non-C99-based standards] (exp2f): Likewise.
46672 [non-C99-based standards] (log2f): Likewise.
46673 [non-C99-based standards] (modff): Allow.
46674 [non-C99-based standards] (erff): Do not allow.
46675 [non-C99-based standards] (erfcf): Likewise.
46676 [non-C99-based standards] (gammaf): Likewise.
46677 [non-C99-based standards] (hypotf): Likewise.
46678 [non-C99-based standards] (j0f): Likewise.
46679 [non-C99-based standards] (j1f): Likewise.
46680 [non-C99-based standards] (jnf): Likewise.
46681 [non-C99-based standards] (lgammaf): Likewise.
46682 [non-C99-based standards] (tgammaf): Likewise.
46683 [non-C99-based standards] (y0f): Likewise.
46684 [non-C99-based standards] (y1f): Likewise.
46685 [non-C99-based standards] (ynf): Likewise.
46686 [non-C99-based standards] (isnanf): Likewise.
46687 [non-C99-based standards] (acoshf): Likewise.
46688 [non-C99-based standards] (asinhf): Likewise.
46689 [non-C99-based standards] (atanhf): Likewise.
46690 [non-C99-based standards] (cbrtf): Likewise.
46691 [non-C99-based standards] (expm1f): Likewise.
46692 [non-C99-based standards] (ilogbf): Likewise.
46693 [non-C99-based standards] (log1pf): Likewise.
46694 [non-C99-based standards] (logbf): Likewise.
46695 [non-C99-based standards] (nextafterf): Likewise.
46696 [non-C99-based standards] (remainderf): Likewise.
46697 [non-C99-based standards] (rintf): Likewise.
46698 [non-C99-based standards] (scalbf): Likewise.
46699 [non-C99-based standards] (copysignl): Likewise.
46700 [non-C99-based standards] (exp2l): Likewise.
46701 [non-C99-based standards] (log2l): Likewise.
46702 [non-C99-based standards] (modfl): Allow.
46703 [non-C99-based standards] (erfl): Do not allow.
46704 [non-C99-based standards] (erfcl): Likewise.
46705 [non-C99-based standards] (gammal): Likewise.
46706 [non-C99-based standards] (hypotl): Likewise.
46707 [non-C99-based standards] (j0l): Likewise.
46708 [non-C99-based standards] (j1l): Likewise.
46709 [non-C99-based standards] (jnl): Likewise.
46710 [non-C99-based standards] (lgammal): Likewise.
46711 [non-C99-based standards] (tgammal): Likewise.
46712 [non-C99-based standards] (y0l): Likewise.
46713 [non-C99-based standards] (y1l): Likewise.
46714 [non-C99-based standards] (ynl): Likewise.
46715 [non-C99-based standards] (isnanl): Likewise.
46716 [non-C99-based standards] (acoshl): Likewise.
46717 [non-C99-based standards] (asinhl): Likewise.
46718 [non-C99-based standards] (atanhl): Likewise.
46719 [non-C99-based standards] (cbrtl): Likewise.
46720 [non-C99-based standards] (expm1l): Likewise.
46721 [non-C99-based standards] (ilogbl): Likewise.
46722 [non-C99-based standards] (log1pl): Likewise.
46723 [non-C99-based standards] (logbl): Likewise.
46724 [non-C99-based standards] (nextafterl): Likewise.
46725 [non-C99-based standards] (remainderl): Likewise.
46726 [non-C99-based standards] (rintl): Likewise.
46727 [non-C99-based standards] (scalbl): Likewise.
46728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46729 [non-C99-based standards] (FP_*): Do not allow.
46730 [C99-based standards] (FP_*): Change to
46731 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46732 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46733 allow.
46734 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46735 (SIG_ERR): Likewise.
46736 [X/Open-based standards] (SIG_HOLD): Likewise.
46737 (SIG_IGN): Likewise.
46738 (SIGABRT): Use macro-int-constant. Specify type. Require
46739 positive value.
46740 (SIGFPE): Likewise.
46741 (SIGILL): Likewise.
46742 (SIGINT): Likewise.
46743 (SIGSEGV): Likewise.
46744 (SIGTER): Likewise.
46745 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46746 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46747 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46748 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46749 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46750 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46751 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46752 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46753 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46754 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46755 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46756 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46757 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46758 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46759 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46760 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46761 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46762 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46763 [X/Open-based standards] (SIGTRAP): Likewise.
46764 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46765 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46766 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46767 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46768 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46769 allow.
46770
b9f1922d
IW
467712012-05-08 Ian Wienand <ianw@vmware.com>
46772
46773 [BZ #14080]
46774 * time/tzset.c (__tzset_parse_tz): Update default rules for
46775 daylight time changes in the Energy Policy Act of 2005.
46776
1db86e88
AJ
467772012-05-09 Andreas Jaeger <aj@suse.de>
46778
46779 [BZ #13983]
46780 * elf/ldconfig.c (parse_conf): Change string to make clear that
46781 ldconfig only issued a warning if ld.so.conf does not exist.
46782
dee4a4e3
DM
467832012-05-08 David S. Miller <davem@davemloft.net>
46784
ee0db190
DM
46785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46786 movxtod instead of popping the value on the stack.
46787
dee4a4e3
DM
46788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46789
6a43ec98
CD
467902012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
46791
46792 * config.h.in: Add HAVE_ARM_PCS_VFP.
46793
05c2c961
RMG
467942012-05-08 Roland Mc Grath <roland@hack.frob.com>
46795
bcfe3a54
ST
46796 [BZ #13979]
46797 * include/features.h: Warn if user requests __FORTIFY_SOURCE
46798 checking but the checks are disabled for any reason.
05c2c961 46799
4b30f61a
L
468002012-05-08 H.J. Lu <hongjiu.lu@intel.com>
46801
46802 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46803 and ELF64_R_TYPE with ELFW(R_TYPE).
46804
eee2bc67
JM
468052012-05-08 Joseph Myers <joseph@codesourcery.com>
46806
7ea5391a
JM
46807 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46808 (ulimit): Likewise.
46809
eee2bc67
JM
46810 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46811 (settimeofday): Likewise.
46812
abb66a67
MF
468132012-05-08 Mike Frysinger <vapier@gentoo.org>
46814
46815 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
46816 a struct th_u2 inside the union, and move tu_block/tu_code into
46817 a new th_u3 union of tu_block/tu_code inside of that. Move
46818 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
46819 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
46820 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46821 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46822 (th_stuff): Change to th_u1.tu_stuff.
46823 (th_data): Define.
46824 (th_msg): Change to th_u1.th_u2.tu_data.
46825
7f18b530
DM
468262012-05-07 David S. Miller <davem@davemloft.net>
46827
05760585
DM
46828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46829
7f18b530
DM
46830 [BZ #14074]
46831 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46832 (SETUP_PIC_REG): Use it.
46833 (SETUP_PIC_REG_LEAF): Use it.
46834
495fd99f
JM
468352012-05-07 Joseph Myers <joseph@codesourcery.com>
46836
46837 [BZ #13885]
46838 [BZ #13923]
46839 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46840 USE_AS_EXPM1L.
46841 (EXPL_FINITE): Likewise.
46842 (FLDLOG): Likewise.
46843 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46844 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46845 e_expl.S.
46846 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46847 USE_AS_EXPM1L.
46848 (EXPL_FINITE): Likewise.
46849 (FLDLOG): Likewise.
46850 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46851 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46852 e_expl.S.
46853 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
46854 test of -max_value argument for long double.
46855 * sysdeps/i386/fpu/libm-test-ulps: Update.
46856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46857
6693d694
DM
468582012-05-06 David S. Miller <davem@davemloft.net>
46859
46860 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46861 quad soft-float symbols whose references which are compiler
46862 generated.
46863 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46864
6c23e11c
JM
468652012-05-06 Joseph Myers <joseph@codesourcery.com>
46866
d8b82cad
JM
46867 [BZ #13884]
46868 [BZ #13914]
46869 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46870 USE_AS_EXP10L.
46871 (EXPL_FINITE): Likewise.
46872 (FLDLOG): Likewise.
46873 (c0): Likewise.
46874 (c1): Likewise.
46875 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46876 Adjust comments for base varying.
46877 (__expl_finite): Change alias to EXPL_FINITE.
46878 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46879 e_expl.S.
46880 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46881 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46882 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46883 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46884 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46885 USE_AS_EXP10L.
46886 (EXPL_FINITE): Likewise.
46887 (FLDLOG): Likewise.
46888 (c0): Likewise.
46889 (c1): Likewise.
46890 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46891 Adjust comments for base varying.
46892 (__expl_finite): Change alias to EXPL_FINITE.
46893 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
46894 tests for bugs.
46895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46896
6c23e11c
JM
46897 [BZ #14064]
46898 * math/libm-test.inc (check_float_internal): Correct ulp
46899 calculation for subnormal expected results.
46900
29ba805c
AJ
469012012-05-06 Andreas Jaeger <aj@suse.de>
46902
46903 * Makeconfig (+math-flags): New, set to -frounding-math.
46904 (+cflags): Add +math-flags so that all of glibc gets compiled with
46905 it.
46906
46907 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46908
7b17aeda
JM
469092012-05-05 Joseph Myers <joseph@codesourcery.com>
46910
5779f134
JM
46911 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46912 Disable one test.
46913
41498f4d
JM
46914 [BZ #13787]
46915 [BZ #13922]
46916 [BZ #14036]
46917 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46918 (__ieee754_expl): Allow for and saturate large arguments.
46919 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46920 (u_threshold): Likewise.
46921 (__exp): Call __ieee754_exp before checking for overflow and
46922 underflow.
46923 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46924 (u_threshold): Likewise.
46925 (__expf): Call __ieee754_expf before checking for overflow and
46926 underflow.
46927 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46928 (u_threshold): Likewise.
46929 (__expl): Call __ieee754_expl before checking for overflow and
46930 underflow.
46931 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46932 (__ieee754_expl): Allow for and saturate large arguments.
46933 * math/libm-test.inc (exp_test): Add another test. Do not allow
46934 missing overflow exception on overflow.
46935 (expm1_test): Do not allow missing overflow exception on overflow.
46936
6698b8bf
JM
46937 * sysdeps/i386/fpu/e_expl.c: Move to ...
46938 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
46939 rather than using inline asm.
46940 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46941 * sysdeps/x86_64/fpu/e_expl.S: Copy from
46942 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46943
7b17aeda
JM
46944 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46945 (nice): Likewise.
46946 (poll): Likewise.
46947 (signal): Likewise.
46948 (time): Likewise.
46949 (times): Likewise.
46950
f7c85819
JM
469512012-05-04 Joseph Myers <joseph@codesourcery.com>
46952
46953 * sysdeps/unix/syscalls.list (adjtime): Add entry from
46954 sysdeps/unix/common/syscalls.list.
46955 (fchmod): Likewise.
46956 (fchown): Likewise.
46957 (ftruncate): Likewise.
46958 (getrusage): Likewise.
46959 (gettimeofday): Likewise.
46960 (setpgid): Likewise.
46961 (setregid): Likewise.
46962 (setreuid): Likewise.
46963 (sigaction): Likewise.
46964 (truncate): Likewise.
46965 (vhangup): Likewise.
46966 * sysdeps/unix/common/syscalls.list: Remove file.
46967 * sysdeps/unix/bsd/Implies: Don't include unix/common.
46968 * sysdeps/unix/sysv/linux/Implies: Likewise.
46969
336270d0
L
469702012-05-04 H.J. Lu <hongjiu.lu@intel.com>
46971
46972 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46974 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46975 Moved to ...
46976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46977 Here.
46978 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46979 to ...
46980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46981 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46982 to ...
46983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46984 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46985 to ...
46986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46987 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46988 to ...
46989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46990 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46991 to ...
46992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46993 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46994 to ...
46995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46996 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46997 to ...
46998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46999 Here.
47000 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47001 to ...
47002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47003 Here.
47004 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47005 to ...
47006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47007 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47008 Moved to ...
47009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47010 Here.
47011 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47012 to ...
47013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47014
d128e450
JM
470152012-05-04 Joseph Myers <joseph@codesourcery.com>
47016
fa8ee516
JM
47017 * sysdeps/unix/common/bits/dirent.h: Remove file.
47018 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47019
d128e450
JM
47020 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47021 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47022 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47023 * sysdeps/unix/bsd/isatty.c: Likewise.
47024 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47025 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47026 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47027
ff8faaf0 470282012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 47029
62881be4 47030 [BZ #13563]
31dc8730
AZ
47031 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47032 long double comparison inaccuracies.
47033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47035
6fef930c
AS
470362012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47037
47038 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47039 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47040
8f203e6c
JM
470412012-05-04 Joseph Myers <joseph@codesourcery.com>
47042
47043 [BZ #14049]
47044 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47045 nonzero digits before rounding a hex value.
47046 * stdlib/tst-strtod.c (tests): Add another test.
47047
5197d9c2
AK
470482012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47049
47050 * sysdeps/s390/fpu/libm-test-ulps: Update.
47051
f0c1dedf
AJ
470522012-05-03 Andreas Jaeger <aj@suse.de>
47053
47054 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47055 does not get optimized out.
47056 (malloc_opt_barrier): New.
47057
a65ef2ae 470582012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 47059 Roland McGrath <roland@hack.frob.com>
a65ef2ae 47060
2b942cb7 47061 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 47062 intermediate file deletion.
2b942cb7 47063 (generated): Add .symlist files.
a65ef2ae 47064
54b71e02
JM
470652012-05-03 Joseph Myers <joseph@codesourcery.com>
47066
47067 [BZ #13775]
47068 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47069 Redirect under this condition.
47070 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47071 [__USE_GNU] (__dprintf_chk): Not under this condition.
47072 [__USE_GNU] (__vdprintf_chk): Likewise.
47073 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47074 under this condition.
47075 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47076 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47077 [__USE_XOPEN2K8] (vdprintf): Likewise.
47078 [__USE_GNU] (__dprintf_chk): Not under this condition.
47079 [__USE_GNU] (__vdprintf_chk): Likewise.
47080 [__USE_GNU] (dprintf): Likewise.
47081 [__USE_GNU] (vdprintf): Likewise.
47082
d3dfcc41
RM
470832012-05-03 Roland McGrath <roland@hack.frob.com>
47084
47085 * elf/Makefile (common-generated): Set this instead of generated for
47086 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47087 $(all-built-dso)-derived lists.
47088
7ac30cc5
AJ
470892012-05-03 Andreas Jaeger <aj@suse.de>
47090
0c51e550
AJ
47091 * sysdeps/i386/fpu/libm-test-ulps: Update.
47092
7ac30cc5
AJ
47093 * FAQ: Removed.
47094 * FAQ.in: Likewise.
47095 * scripts/gen-FAQ.pl: Likewise.
47096 * manual/install.texi (Installation): Point to online location of
47097 FAQ.
47098 * Makefile (files-for-dist): Remove FAQ.
47099 (FAQ): Remove.
47100
d4c2917f
AM
471012012-05-02 Allan McRae <allan@archlinux.org>
47102
47103 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47104 (LDFLAGS-reldepmod5.so): Likewise.
47105 (LDFLAGS-reldep6mod1.so): Likewise.
47106 (LDFLAGS-reldep6mod4.so): Likewise.
47107 (LDFLAGS-reldep8mod3.so): Likewise.
47108 (LDFLAGS-unload4mod1.so): Likewise.
47109 (LDFLAGS-unload4mod2.so): Likewise.
47110 (LDFLAGS-tst-initorder): Likewise.
47111 (LDFLAGS-tst-initordera2.so): Likewise.
47112 (LDFLAGS-tst-initordera3.so): Likewise.
47113 (LDFLAGS-tst-initordera4.so): Likewise.
47114 (LDFLAGS-tst-initorderb2.so): Likewise.
47115 (LDFLAGS-noload): Likewise.
47116 (LDFLAGS-next): Likewise.
47117 (LDFLAGS-order2mod1.so): Likewise.
47118 (LDFLAGS-order2mod2.so): Likewise.
47119 (LDFLAGS-tst-initorder2): Likewise.
47120 (LDFLAGS-tst-initorder2a.so): Likewise.
47121 (LDFLAGS-tst-initorder2b.so): Likewise.
47122 (LDFLAGS-tst-initorder2c.so): Likewise.
47123 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47124
d77f993f
DM
471252012-05-02 David S. Miller <davem@davemloft.net>
47126
47127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47128
171a70b4
PP
471292012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47130
47131 [BZ #14055]
47132 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47133
0be196ad
AJ
471342012-05-02 Andreas Jaeger <aj@suse.de>
47135
47136 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47137 since we manipulate rounding mode.
47138 (CPPFLAGS-test-idouble.c): Likewise.
47139 (CPPFLAGS-test-ifloat.c): Likewise.
47140 (CFLAGS-test-ldouble.c): Likewise.
47141 (CFLAGS-test-double.c): Likewise.
47142 (CFLAGS-test-float.c): Likewise.
47143 (CFLAGS-test-misc.c): Likewise.
47144 (CFLAGS-test-test-fenv.c): Likewise.
47145
4f9d04aa
AZ
471462012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47147
2b942cb7
RM
47148 [BZ #2550]
47149 [BZ #2570]
47150 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47151 comparisons to determine direction to adjust input.
4f9d04aa 47152
82a79e7d
RM
471532012-05-01 Roland McGrath <roland@hack.frob.com>
47154
f5a01ca9
RM
47155 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47156 output to the target.
47157
90fe4186
RM
47158 * scripts/localplt.awk: New file.
47159 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47160 (check-localplt-CFLAGS): Variable removed.
47161 ($(all-built-dso:=.jmprel)): New static pattern rule.
47162 (generated): Add those targets.
47163 (localplt-built-dso): New variable.
47164 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47165
47166 * elf/check-localplt.c: File removed.
47167
82397ed6
RM
47168 * scripts/check-execstack.awk: New file.
47169 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47170 (check-execstack-CFLAGS): Variable removed.
47171 ($(objpfx)check-execstack.h): Target removed.
47172 ($(objpfx)execstack-default): New target.
47173 (generated): Add that instead of check-execstack.h.
47174 ($(all-built-dso:=.phdr)): New static pattern rule.
47175 (generated): Add those targets.
47176 * elf/check-execstack.c: File removed.
47177
82a79e7d
RM
47178 * scripts/check-textrel.awk: New file.
47179 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47180 (check-textrel-CFLAGS): Variable removed.
47181 (all-built-dso): Use := to define.o
47182 ($(all-built-dso:=.dyn)): New static pattern rule.
47183 (generated): Add those targets.
47184 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47185 * config.make.in (READELF): New substituted variable.
47186 * elf/check-textrel.c: File removed.
47187
62fde54f 471882012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 47189
615605c9
JM
47190 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47191 allow.
47192 * conform/data/ctype.h-data [C99-based standards] (isblank):
47193 Expect function.
47194 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47195 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47197 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47198 Specify type. Require positive value.
47199 (EILSEQ): Likewise.
47200 (ERANGE): Likewise.
47201 [ISO || POSIX] (EILSEQ): Do not expect.
47202 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47203 Specify type. Require positive value.
47204 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47205 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47206 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47207 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47208 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47209 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47210 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47211 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47212 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47213 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47214 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47215 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47216 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47217 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47218 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47219 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47220 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47221 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47222 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47223 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47224 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47225 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47226 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47227 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47228 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47229 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47230 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47231 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47232 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47233 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47234 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47235 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47236 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47237 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47238 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47239 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47240 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47241 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47242 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47243 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47244 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47245 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47246 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47247 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47248 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47249 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47250 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47251 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47252 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47253 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47254 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47255 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47256 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47257 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47258 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47259 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47260 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47261 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47262 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47263 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47264 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47265 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47266 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47267 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47268 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47269 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47270 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47271 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47272 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47273 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47274 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47275 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47276 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47277 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47278 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47279 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47280 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47281 Require >= 2.
47282 (FLT_ROUNDS): Expect as macro, not constant.
47283 (FLT_MANT_DIG): Use macro-int-constant.
47284 (DBL_MANT_DIG): Likewise.
47285 (LDBL_MANT_DIG): Likewise.
47286 (FLT_DIG): Likewise.
47287 (DBL_DIG): Likewise.
47288 (LDBL_DIG): Likewise.
47289 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47290 (DBL_MIN_EXP): Likewise.
47291 (LDBL_MIN_EXP): Likewise.
47292 (FLT_MAX_EXP): Use macro-int-constant.
47293 (DBL_MAX_EXP): Likewise.
47294 (LDBL_MAX_EXP): Likewise.
47295 (FLT_MAX_10_EXP): Likewise.
47296 (DBL_MAX_10_EXP): Likewise.
47297 (LDBL_MAX_10_EXP): Likewise.
47298 (FLT_MAX): Use macro-constant.
47299 (DBL_MAX): Likewise.
47300 (LDBL_MAX): Likewise.
47301 (FLT_EPSILON): Use macro-constant. Give upper bound.
47302 (DBL_EPSILON): Likewise.
47303 (LDBL_EPSILON): Likewise.
47304 (FLT_MIN): Likewise.
47305 (DBL_MIN): Likewise.
47306 (LDBL_MIN): Likewise.
47307 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47308 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47309 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47310 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47311 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47312 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47313 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47314 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47315 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47316 [ISO11] (FLT_TRUE_MIN): Likewise.
47317 [ISO11] (LDBL_TRUE_MIN): Likewise.
47318 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47319 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47320 (SCHAR_MIN): Use macro-int-constant. Specify type.
47321 (SCHAR_MAX): Likewise.
47322 (UCHAR_MAX): Likewise.
47323 (CHAR_MIN): Likewise.
47324 (CHAR_MAX): Likewise.
47325 (MB_LEN_MAX): Use macro-int-constant.
47326 (SHRT_MIN): Use macro-int-constant. Specify type.
47327 (SHRT_MAX): Likewise.
47328 (USHRT_MAX): Likewise.
47329 (INT_MAX): Likewise.
47330 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47331 bound negative.
47332 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47333 bound with "U".
47334 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47335 bound with "L".
47336 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47337 bound negative. Suffix upper bound with "L".
47338 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47339 bound with "UL".
47340 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47341 Specify type.
47342 [C99-based standards] (LLONG_MAX): Likewise.
47343 [C99-based standards] (ULLONG_MAX): Likewise.
47344 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47345 == 0.
47346 [ISO11] (max_align_t): Require type.
47347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47348
c9140a62
JM
47349 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47350 from $CFLAGS, without defining away __attribute__ calls.
47351 (checknamespace): Use $CFLAGS_namespace.
47352
9af0bf29
JM
47353 * conform/conformtest.pl (@keywords): Only include C99 keywords
47354 for standards based on C99 or C11.
47355
343222a2
JM
47356 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47357 Disable tests.
47358 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47359 UNIX98]: Likewise.
47360
661f8cf0
JM
47361 * conform/conformtest.pl: Handle "macro-int-constant" and test for
47362 usability of symbols in #if.
47363
ee74b9cb
JM
47364 * conform/conformtest.pl: If macro or constant types start
47365 "promoted:", expect the symbol to be of the following type
47366 promoted by the integer promotions.
62fde54f 47367
aafc49b3
JM
47368 * conform/conformtest.pl: Parse all "constant" and "macro" lines
47369 in one place. Also handle "macro-constant".
47370
fefdf574
JM
47371 * conform/conformtest.pl: Only accept expected macro values with
47372 "==". Parse all "macro" lines in one place.
47373 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47374
f2d922fe
JM
47375 * conform/conformtest.pl: Handle braced types on "constant" lines
47376 instead of handling "typed-constant".
47377 * conform/data/signal.h-data: Use "constant" instead of
47378 "typed-constant".
47379
d22956c9
JM
47380 * conform/conformtest.pl: Handle "optional-" at start of lines in
47381 one place rather than duplicating several cases. Handle each
47382 format of "macro" line with initial "optional-".
47383
028e2e38
JM
47384 * conform/conformtest.pl: Only accept expected constant or
47385 optional-constant values with "==". Parse all "constant" lines in
47386 one place. Parse all "optional-constant" lines in one place.
47387 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47388 * conform/data/fmtmsg.h-data: Likewise.
47389 * conform/data/netinet/in.h-data: Likewise.
47390 * conform/data/tar.h-data: Likewise.
47391 * conform/data/limits.h-data: Use "==" form on "constant" and
47392 "optional-constant" lines.
47393
1b8f2850
JM
47394 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47395 Use -std=c99 for XOPEN2K.
47396 (@knownproblems): Remove.
47397 (newtoken): Don't check %isknown.
47398
a05a144b
JM
47399 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47400 Do not expect macro.
47401 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47402 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47403 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47404 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47405 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47406 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47407 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47408 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47409 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47410 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47411 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47412 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47413 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47414 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47415 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47416 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47417 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47418 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47419 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47420 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47421 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47422 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47423 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47424 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47425 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47426 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47427 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47428 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47429 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47430 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47431 [XPG3] (acosh): Likewise.
47432 [XPG3] (asinh): Likewise.
47433 [XPG3] (atanh): Likewise.
47434 [XPG3] (cbrt): Likewise.
47435 [XPG3] (expm1): Likewise.
47436 [XPG3] (ilogb): Likewise.
47437 [XPG3] (log1p): Likewise.
47438 [XPG3] (logb): Likewise.
47439 [XPG3] (nextafter): Likewise.
47440 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47441 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47442 [XPG3] (remainder): Likewise.
47443 [XPG3] (rint): Likewise.
47444 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47445 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47446 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47447 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47448 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47449 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47450 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47451 [UNIX98 || XOPEN2K] (scalb): Expect.
47452 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47453 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47454 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47455 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47456 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47457 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47458 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47459 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47460 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47461 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47462 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47463 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47464 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47465 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47466 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47467 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47468 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47469 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47470 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47471 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47472 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47473 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47474 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47475 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47476 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47477 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47478 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47479 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47480 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47481 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47482 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47483 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47484 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47485 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47486 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47487 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47488 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47489 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47490 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47491 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47492 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47493 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47494 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47495 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47496 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47497 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47498 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47499 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47500 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47501 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47502 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47503 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47504 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47505 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47506 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47507 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47508 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47509 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47510 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47511 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47512 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47513 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47514 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47515 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47516 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47517 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47518 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47519 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47520 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47521 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47522 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47523 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47524 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47525 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47526 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47527 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47528 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47529 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47530 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47531 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47532 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47533 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47534 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47535 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47536 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47537 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47538 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47539 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47540 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47541 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47542 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47543 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47544 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47545 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47546 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47547 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47548 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47549 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47550 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47551 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47552 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47553 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47554 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47555 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47556 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47557 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47558 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47559 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47560 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47561 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47562 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47563 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47564 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47565 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47566 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47567 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47568 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47569 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47570 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47571 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47572 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47573 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47574 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47575 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47576 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47577 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47578 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47579 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47580 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47581 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47582 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47583 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47584 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47585 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47586 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47587 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47588 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47589
73c5ebe3
JM
47590 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47591 _XOPEN_SOURCE_EXTENDED for XPG4.
47592
39c33b6c
JM
47593 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47594
62fde54f
JM
47595 * Makeconfig (localtime): Remove variable.
47596 (inst_localtime-file): Likewise.
47597
0741d64c
AS
475982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47599
47600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47601 Update.
47602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47603 Update.
47604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47605 Update.
47606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47607 Update.
47608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47609 Update.
47610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47611 Update.
47612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47613 Update.
47614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47615 Update.
47616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47617 Update.
47618
7cb029ee
JM
476192012-05-01 Joseph Myers <joseph@codesourcery.com>
47620
47621 [BZ #2550]
47622 [BZ #2570]
47623 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47624 comparisons to determine direction to adjust input.
47625 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47626 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47627 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47628 Likewise.
47629 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47630 Likewise.
47631 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47632 Likewise.
47633 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47634 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47635 Likewise.
47636 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47637 Likewise.
47638 * math/libm-test.inc (nexttoward_test): Add more tests.
47639
412bd966
AS
476402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47641
47642 [BZ #14040]
47643 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47644 in version GLIBC_2.1, not GLIBC_2.0.
47645 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47646 Likewise.
47647
9568c0c2
JM
476482012-04-30 Joseph Myers <joseph@codesourcery.com>
47649
adfbc8ac
JM
47650 [BZ #13942]
47651 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47652 (1 - x) * (1 + x).
47653 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47654 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47655 * math/libm-test.inc (acos_test): Add more tests.
47656 (asin_test): Likewise.
47657 * sysdeps/i386/fpu/libm-test-ulps: Update.
47658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47659
5ba3cc69
JM
47660 [BZ #14034]
47661 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47662 of square root.
47663 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47664 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47665 * math/libm-test.inc (acos_test_tonearest): New function.
47666 (acos_test_towardzero): Likewise.
47667 (acos_test_downward): Likewise.
47668 (acos_test_upward): Likewise.
47669 (asin_test_tonearest): Likewise.
47670 (asin_test_towardzero): Likewise.
47671 (asin_test_downward): Likewise.
47672 (asin_test_upward): Likewise.
47673 (main): Call the new functions.
47674 * sysdeps/i386/fpu/libm-test-ulps: Update.
47675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47676
9568c0c2
JM
47677 [BZ #13884]
47678 [BZ #13924]
47679 * math/e_exp10.c: Include <float.h>.
47680 (__ieee754_exp10): Handle underflow here rather than multiplying
47681 large negative argument by M_LN10.
47682 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47683 of __ieee754_expf.
47684 * math/e_exp10l.c: Include <float.h>.
47685 (__ieee754_exp10l): Handle underflow here rather than multiplying
47686 large negative argument by M_LN10l.
47687 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47688 spurious overflow exception on underflow.
47689
5ac3ea17
MP
476902012-04-29 Marek Polacek <polacek@redhat.com>
47691
47692 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47693 (__fortify_function): New macro.
47694 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47695 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47696 __extern_always_inline.
47697 * libio/bits/stdio2.h: Likewise.
47698 * libio/bits/stdio.h: Likewise.
47699 * string/string.h: Likewise.
47700 * string/bits/string3.h: Likewise.
47701 * include/stdio.h: Likewise.
47702 * stdlib/bits/stdlib.h: Likewise.
47703 * stdlib/stdlib.h: Likewise.
47704 * rt/bits/mqueue2.h: Likewise.
47705 * rt/mqueue.h: Likewise.
47706 * posix/bits/unistd.h: Likewise.
47707 * posix/unistd.h: Likewise.
47708 * io/bits/poll2.h: Likewise.
47709 * io/bits/fcntl2.h: Likewise.
47710 * io/fcntl.h: Likewise.
47711 * io/sys/poll.h: Likewise.
47712 * misc/bits/syslog.h: Likewise.
47713 * misc/bits/syslog-ldbl.h: Likewise.
47714 * misc/sys/syslog.h: Likewise.
47715 * socket/bits/socket2.h: Likewise.
47716 * socket/sys/socket.h: Likewise.
47717 * debug/tst-chk1.c: Likewise.
47718 * wcsmbs/bits/wchar2.h: Likewise.
47719 * wcsmbs/bits/wchar-ldbl.h: Likewise.
47720 * wcsmbs/wchar.h: Likewise.
47721
ecf0ebfb
AJ
477222012-04-29 Andreas Jaeger <aj@suse.de>
47723
47724 * Makerules (tests): Remove enable-check-abi protection.
47725 (check-abi-warn): Remove.
47726 (check-abi-%): Remove check-abi-warn usage.
47727
47728 * configure.in: Remove check-abi configure option.
47729 * configure: Regenerated.
47730 * config.make.in (enable-check-abi): Remove.
47731
6d5c57fa
AS
477322012-04-28 Andreas Schwab <schwab@linux-m68k.org>
47733
24c5d07e 47734 [BZ #14033]
ded5180a
AS
47735 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47736 double functions to double *_finite functions.
47737
7e0d315d
AS
47738 [BZ #13941]
47739 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47740 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47741 LDBL_MIN_EXP.
47742 * stdio-common/Makefile (tests): Add tst-sprintf3.
47743 * stdio-common/tst-sprintf3.c: New file.
47744
6d5c57fa
AS
47745 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47746 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47747
0749ff8b
JM
477482012-04-28 Joseph Myers <joseph@codesourcery.com>
47749
47750 * conform/conformtest.pl: Remove duplicate typed-constant
47751 handling.
47752
8dbd5d7b
DM
477532012-04-28 David S. Miller <davem@davemloft.net>
47754
47755 * Makerules (%.abilist): Add vpath on sysdep_dirs.
47756 (check-abi-%): Remove AWK script prerequisite and explicit
47757 abilist directory.
47758 (check-abi): Rewrite to just diff the symlist with the abilist.
47759 (config-tls, config-abi-config): Delete, no longer used.
47760 (update-abi-%): Remove AWK script and explicit abilist directory.
47761 (update-abi): Rewrite to simply compare and conditionally copy the
47762 symlist and the sysdep abilist file. Remove update-abi-config
47763 checks.
47764 * abilist/ld.abilist: Remove.
47765 * abilist/libBrokenLocale.abilist: Remove.
47766 * abilist/libanl.abilist: Remove.
47767 * abilist/libcrypt.abilist: Remove.
47768 * abilist/libdl.abilist: Remove.
47769 * abilist/librt.abilist: Remove.
47770 * abilist/libthread_db.abilist: Remove.
47771 * abilist/libutil.abilist: Remove.
47772 * scripts/extract-abilist.awk: Remove.
47773 * scripts/merge-abilist.awk: Remove.
47774 * sysdeps/generic/libcidn.abilist: New file.
47775 * sysdeps/generic/libnss_compat.abilist: New file.
47776 * sysdeps/generic/libnss_db.abilist: New file.
47777 * sysdeps/generic/libnss_dns.abilist: New file.
47778 * sysdeps/generic/libnss_files.abilist: New file.
47779 * sysdeps/generic/libnss_hesiod.abilist: New file.
47780 * sysdeps/generic/libnss_nis.abilist: New file.
47781 * sysdeps/generic/libnss_nisplus.abilist: New file.
47782 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47783 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47784 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47785 file.
47786 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47787 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47788 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47789 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47790 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47791 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47792 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47793 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47794 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47795 file.
47796 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47797 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47798 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47799 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47800 file.
47801 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47802 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47803 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47804 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47805 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47806 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47807 file.
47808 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47809 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47810 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47811 file.
47812 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47814 New file.
47815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47816 New file.
47817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47818 New file.
47819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47820 New file.
47821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47822 New file.
47823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47824 New file.
47825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47826 New file.
47827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47828 New file.
47829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47830 New file.
47831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47832 New file.
47833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47834 New file.
47835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47836 New file.
47837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47838 New file.
47839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47840 file.
47841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47842 New file.
47843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47844 New file.
47845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47846 file.
47847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47848 New file.
47849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47850 New file.
47851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47852 file.
47853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47854 New file.
47855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47856 New file.
47857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47858 New file.
47859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47860 New file.
47861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47862 New file.
47863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47864 New file.
47865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
47866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
47867 file.
47868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47869 New file.
47870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47871 file.
47872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47873 file.
47874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47875 file.
47876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47877 file.
47878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47879 file.
47880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47881 New file.
47882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47883 file.
47884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47885 file.
47886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47887 New file.
47888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47889 file.
47890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47892 file.
47893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47894 New file.
47895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47896 file.
47897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47898 file.
47899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47900 file.
47901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47902 file.
47903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47904 file.
47905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47906 New file.
47907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47908 file.
47909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47910 file.
47911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47912 New file.
47913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47914 file.
47915 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47916 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47917 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47918 file.
47919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47920 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47921 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47922 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47923 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47924 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47925 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47926 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47927 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47928 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47931 file.
47932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47933 New file.
47934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47935 file.
47936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47937 file.
47938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47939 file.
47940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47941 file.
47942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47943 file.
47944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47945 New file.
47946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47947 New file.
47948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47949 file.
47950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47951 New file.
47952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47953 file.
47954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47956 file.
47957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47958 New file.
47959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47960 file.
47961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47962 file.
47963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47964 file.
47965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47966 file.
47967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47968 file.
47969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47970 New file.
47971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47972 New file.
47973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47974 file.
47975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47976 New file.
47977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47978 file.
47979
41d73a1b
JM
479802012-04-28 Joseph Myers <joseph@codesourcery.com>
47981
47982 * conform/conformtest.pl: Fix typo in handling typed-constant from
47983 allow-header.
47984
28aeeda4
JM
479852012-04-27 Joseph Myers <joseph@codesourcery.com>
47986
adae8f5e
JM
47987 * README: Cut down references to pre-2.6 Linux kernels and
47988 Linuxthreads. Update lists of configurations in libc and ports
47989 and sort alphabetically. Say "or newer" with Linux kernel version
47990 requirements.
47991
28aeeda4
JM
47992 * config.h.in [IS_IN_build]: Allow compiling without optimization.
47993
a462cb63
RA
479942012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47995
47996 [BZ #887]
47997 * math/libm-test.inc (logb_test_downward): New test to expose
47998 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
47999 rounding mode.
48000
6ad3493e
JM
480012012-04-27 Joseph Myers <joseph@codesourcery.com>
48002
48003 [BZ #14027]
48004 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48005 to be done.
48006 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48007 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48008
2ce4f015
JM
480092012-04-26 Joseph Myers <joseph@codesourcery.com>
48010
5aeb141a
JM
48011 * sysdeps/unix/i386/brk.S: Remove file.
48012 * sysdeps/unix/i386/dl-brk.S: Likewise.
48013 * sysdeps/unix/i386/pipe.S: Likewise.
48014 * sysdeps/unix/i386/sigreturn.S: Likewise.
48015 * sysdeps/unix/i386/syscall.S: Likewise.
48016 * sysdeps/unix/i386/vfork.S: Likewise.
48017 * sysdeps/unix/i386/wait.S: Likewise.
48018
7143acae
JM
48019 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48020 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48021
2ce4f015
JM
48022 * configure.in (arm*-none*): Do not allow without
48023 --enable-hacker-mode.
48024 (netbsd*): Remove case setting base_os.
48025 (386bsd*): Likewise.
48026 (freebsd*): Likewise.
48027 (bsdi*): Likewise.
48028 (osf*): Likewise.
48029 (sunos*): Likewise.
48030 (ultrix*): Likewise.
48031 (newsos*): Likewise.
48032 (dynix*): Likewise.
48033 (*bsd*): Likewise.
48034 (sysv*): Likewise.
48035 (isc*): Likewise.
48036 (esix*): Likewise.
48037 (sco*): Likewise.
48038 (minix*): Likewise.
48039 (irix4*): Likewise.
48040 (irix6*): Likewise.
48041 (solaris[2-9]*): Likewise.
48042 (none): Likewise.
48043 * configure: Regenerated.
48044
0ac229c8
AZ
480452012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48046
48047 [BZ #11521]
48048 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48049 overflow or cancellation in calculating denominator.
48050 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48051 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48052 down expression to avoid unexpected rounding in newer GCCs.
48053 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48054
33f244f4
DM
480552012-04-26 David S. Miller <davem@davemloft.net>
48056
48057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48058 long-double compat symbols.
48059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48072
cfa1f3e8
DM
480732012-04-25 David S. Miller <davem@davemloft.net>
48074
48075 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48076 HWCAP_* values only after the memory barriers have been defined.
48077 (atomic_full_barrier): Define.
48078 (atomic_read_barrier): Define.
48079 (atomic_write_barrier): Define.
48080
6e236b92
SP
480812012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48082
48083 * shlib-versions: Add libgcc_s version information.
48084 * sysdeps/generic/libgcc_s.h: Remove.
48085 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48086 libgcc_s.h.
48087 * sysdeps/gnu/unwind-resume.c: Likewise.
48088 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48089
aab39a09
DM
480902012-04-25 David S. Miller <davem@davemloft.net>
48091
48092 * sysdeps/unix/sparc/brk.S: Delete.
48093 * sysdeps/unix/sparc/dl-brk.S: Delete.
48094 * sysdeps/unix/sparc/pipe.S: Delete.
48095 * sysdeps/unix/sparc/sysdep.S: Delete.
48096 * sysdeps/unix/sparc/sysdep.h: Delete.
48097 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
48098 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48099 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48101 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
48102 (JUMPTARGET): Remove.
48103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48104 sysdeps/unix/sparc/sysdep.h
48105 (ENTRY, END): Remove.
48106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48107
a3cc4f48
JM
481082012-04-25 Joseph Myers <joseph@codesourcery.com>
48109
2ed8cda2
JM
48110 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48111 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48112 -DIS_IN_build.
48113
35d76d59
JM
48114 * timezone/README: Update upstream location and email address for
48115 tzcode and tzdata.
48116 * timezone/zdump.c: Update from tzcode 2012b.
48117 * timezone/zic.c: Likewise.
48118
a3cc4f48
JM
48119 * configure.in (libc_cv_as_needed): Remove test.
48120 * configure: Regenerated.
48121 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48122 conditional definition.
48123 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48124 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48125 * config.make.in (have-as-needed): Remove variable.
48126
ceab42c3
SP
481272012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48128 Paul Pluzhnikov <ppluzhnikov@google.com>
48129
48130 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48131 strings correctly.
48132
3ce2865f
CLT
481332012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48134
48135 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48136 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48137 * sysdeps/sh/strlen.S: Likewise.
48138
f37e0d68
JM
481392012-04-24 Joseph Myers <joseph@codesourcery.com>
48140
ae186e9a
JM
48141 * sysdeps/unix/fork.S: Remove file.
48142 * sysdeps/unix/i386/fork.S: Likewise.
48143 * sysdeps/unix/sparc/fork.S: Likewise.
48144
b96914af
JM
48145 * sysdeps/unix/system.c: Remove file.
48146 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48147
f37e0d68
JM
48148 * sysdeps/unix/getegid.S: Remove file.
48149 * sysdeps/unix/geteuid.S: Likewise.
48150
87ef29ca
RM
481512012-04-24 Roland McGrath <roland@hack.frob.com>
48152
83bcd236
RM
48153 * scripts/check-localplt.awk: New file.
48154 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48155 of diff.
48156 * scripts/data/localplt-generic.data: Add a comment.
48157
87ef29ca
RM
48158 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48159 NODE when __dir_mkfile failed.
48160 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48161 Reported by Ludovic Courtès <ludo@gnu.org>.
48162
e5a6e567
AJ
481632012-04-24 Andreas Jaeger <aj@suse.de>
48164
48165 * Makerules (common-clean): Also remove gen-as-const-headers
48166 files.
48167
c1820385
JM
481682012-04-24 Joseph Myers <joseph@codesourcery.com>
48169
48170 * Makerules (native-compile): Do not change working directory for
48171 build. Use $(OUTPUT_OPTION) in command.
48172 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48173
94e02fc4
AZ
481742012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48175
48176 [BZ #13886]
48177 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48178 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48179 * math/libm-test.inc (floor_test): Add more tests.
48180 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48181
3a533ca3
JM
481822012-04-24 Joseph Myers <joseph@codesourcery.com>
48183
940ab4b3
JM
48184 * sysdeps/unix/getdents.c: Remove file.
48185 * sysdeps/unix/sysv/getdents.c: Likewise.
48186 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48187
90e037bd
JM
48188 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48189 sysdeps/unix/mman/syscalls.list.
48190 (mmap): Likewise.
48191 (mprotect): Likewise.
48192 (msync): Likewise.
48193 (munmap): Likewise.
48194 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48195 * sysdeps/unix/mman/syscalls.list: Remove.
48196 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48197
3a533ca3
JM
48198 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48199 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48200 * configure: Regenerated.
48201 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48202 $(libgcc_s_suffix).
48203 * config.make.in (libgcc_s_suffix): Remove variable.
48204
1ad743de
JM
482052012-04-23 Joseph Myers <joseph@codesourcery.com>
48206
4ad451e2
JM
48207 * sysdeps/unix/sysv/gethostname.c: Move to ...
48208 * sysdeps/posix/gethostname.c: ... here.
48209
5e37ce39
JM
48210 * sysdeps/unix/execve.S: Remove file.
48211
1ad743de
JM
48212 * sysdeps/unix/_exit.S: Remove file.
48213
4e681b5b
AJ
482142012-04-23 Andreas Jaeger <aj@suse.de>
48215
48216 [BZ #13739]
48217 * manual/Makefile: Remove make dist support, there's no
48218 need for a stand-alone documentation tar ball.
48219 (TEXI2DVI): Define always, it's not in Makeconfig.
48220 (dist): Removed.
48221 (tar-it): Removed.
48222 (edition): Removed.
48223 (glibc-doc-$(edition).tar): Removed
48224 (%.Z): Removed.
48225 (%.gz): Removed.
48226 (%.uu): Removed.
48227 (ETAGS): Remove, it's in Makeconfig.
48228 (move-if-change): Remove, it's in Makeconfig.
48229
38686a03 482302012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
48231
48232 [BZ #13970]
48233 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48234 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48235 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48236 (strtod_l, strtof_l, strtold_l): Remove __wur.
48237 It is not necessarily an error to ignore strtol's return value.
48238 One can reliably look at the stored endptr to decide whether
48239 the number had valid syntax.
48240
7c0616fa
AJ
482412012-04-21 Andreas Jaeger <aj@suse.de>
48242
803cb6b7 48243 [BZ #13739]
7c0616fa
AJ
48244 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48245
b0fe253f
JM
482462012-04-21 Joseph Myers <joseph@codesourcery.com>
48247
48248 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48249 * sysdeps/unix/sysv/Versions: Remove file.
48250
8280f22d
MT
482512012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48252
48253 [BZ #13927]
48254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48255
75ce411f 482562012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
48257
48258 [BZ #7064]
48259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48260 version from __vm86.
48261
097d59fa
JM
482622012-04-20 Joseph Myers <joseph@codesourcery.com>
48263
a90f3bcb
JM
48264 * sysdeps/unix/common/lxstat.c: Remove file.
48265 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48266
edc7ea78
JM
48267 * sysdeps/unix/sysv/Makefile: Remove file.
48268
cb78c221
JM
48269 * sysdeps/unix/sysv/direct.h: Remove file.
48270
efa6a45f
JM
48271 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48272 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48273 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48274 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48275 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48276 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48277 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48278
9c9f2d0c
JM
48279 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48280
4541c83b
JM
48281 * sysdeps/unix/xmknod.c: Remove file.
48282 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48283
f5d153a0
JM
48284 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48285
aa746595
JM
48286 * sysdeps/unix/sysv/i386/time.S: Remove file.
48287
cce5905e
JM
48288 * sysdeps/unix/fxstat.c: Remove file.
48289 * sysdeps/unix/xstat.c: Likewise.
48290 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48291
37fa3841
JM
48292 * sysdeps/unix/sysv/sigaction.c: Remove file.
48293
ff1962a3
JM
48294 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48295 (sysdep_headers): Remove variable.
48296 [termio.h not in sysdep_headers] (generated): Likewise.
48297 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48298 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48299 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48300 * sysdeps/unix/sysv/tcflow.c: Likewise.
48301 * sysdeps/unix/sysv/tcflush.c: Likewise.
48302 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48303 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48304 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48305 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48306 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48307
e7740d31
JM
48308 * sysdeps/unix/siglist.c: Remove file.
48309
ee06f18b
JM
48310 * sysdeps/unix/getppid.S: Remove file.
48311
097d59fa
JM
48312 * sysdeps/unix/mkdir.c: Remove file.
48313 * sysdeps/unix/rmdir.c: Likewise.
48314
ff3d51ec
AS
483152012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48316
48317 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48318 ERR_MAX value.
48319 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48320 errlist-compat value.
48321
50f81fd7
DM
483222012-04-18 David S. Miller <davem@davemloft.net>
48323
48324 * sysdeps/generic/memcopy.h (reg_char): Delete.
48325 * debug/strcat_chk.c: Use char, not reg_char.
48326 * debug/strcpy_chk.c: Likewise.
48327 * debug/strncat_chk.c: Likewise.
48328 * debug/strncpy_chk.c: Likewise.
48329 * string/memchr.c: Likewise.
48330 * string/memrchr.c: Likewise.
48331 * string/rawmemchr.c: Likewise.
48332 * string/strcat.c: Likewise.
48333 * string/strchr.c: Likewise.
48334 * string/strchrnul.c: Likewise.
48335 * string/strcmp.c: Likewise.
48336 * string/strcpy.c: Likewise.
48337 * string/strncat.c: Likewise.
48338 * string/strncmp.c: Likewise.
48339 * string/strncpy.c: Likewise.
48340
8ff41c46
WS
483412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48342
48343 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48344 __builtin_memcopy is called when src and dest ranges are known to not
48345 overlap.
48346
6b652f46
WS
483472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48348
48349 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48350 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48351 fwd_align_merge macro call.
48352 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48353 bwd_align_merge macro call.
48354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48355
b282631e
WS
483562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48357
48358 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48359 bwd_align_merge macros.
48360 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48361 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48362 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48363
95aa737c
DM
483642012-04-18 David S. Miller <davem@davemloft.net>
48365
48366 * sysdeps/sparc/sparc64/memcopy.h: Delete.
48367
7a99a614
AJ
483682012-04-18 Andreas Jaeger <aj@suse.de>
48369
48370 [BZ# 6794]
48371 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48372 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48373 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48374
48375 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48376 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48377 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48378
48379 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48380 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48381 Adjust for changed ldbl-128 files.
48382
48383 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48384 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48385 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48386
e5270c23
DM
483872012-04-17 David S. Miller <davem@davemloft.net>
48388
48389 * sysdeps/sparc/sparc32/memcopy.h: Delete.
48390
fb5e92c9
AS
483912012-04-17 Andreas Schwab <schwab@linux-m68k.org>
48392
48393 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48394 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48395 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48396 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48397 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48398 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48399
76da7265
AZ
484002012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48401
48402 [BZ #6794]
48403 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48404 * math/libm-test.inc: Add ilogb errno and exception tests.
48405 * math/w_ilogb.c: New file: ilogb wrapper.
48406 * math/w_ilogbf.c: New file: ilogbf wrapper.
48407 * math/w_ilogbl.c: New file: ilogbl wrapper.
48408 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48409 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48410 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48411 exception being thrown with 0.0 as argument.
48412 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48413 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48414 exception being thrown with 0.0 as argument.
48415 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48416 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48417 exception being thrown with 0.0 as argument.
48418 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48419 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48420 exception being thrown with 0.0 as argument.
48421 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48422 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 48423 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
48424 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48425 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48426 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48427 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48428 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48429 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48430
0396e69d
PB
484312012-04-17 Petr Baudis <pasky@ucw.cz>
48432
48433 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48434 with altivec.
48435
750b5926
MP
484362012-04-16 Marek Polacek <polacek@redhat.com>
48437
48438 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48439
751728a1
MP
484402012-04-16 Marek Polacek <polacek@redhat.com>
48441
48442 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48443 operands of fdivp instruction.
48444
34a27407
L
484452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48446
48447 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48448 * elf/tst-auditmod3b.c: Likewise.
48449 * elf/tst-auditmod4b.c: Likewise.
48450 * elf/tst-auditmod5b.c: Likewise.
48451 * elf/tst-auditmod6b.c: Likewise.
48452 * elf/tst-auditmod6c.c: Likewise.
48453 * elf/tst-auditmod7b.c: Likewise.
48454 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48455 * sysdeps/x86_64/preconfigure.in: Likewise.
48456 * sysdeps/x86_64/preconfigure: Regenerated.
48457
7e73e17d
L
484582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48459
48460 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48461 __ILP32__.
48462
c7a6ab72
AB
484632012-04-13 Antoine Balestrat <merkil33@gmail.com>
48464
48465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48466 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48467
a9e8e0e0
CL
484682012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48469
48470 [BZ #13973]
48471 * locale/iso-639.def: Fix gl language name. Spotted by
48472 Yaron Shahrabani.
48473
ec98af7d
RM
484742012-04-12 Roland McGrath <roland@hack.frob.com>
48475
48476 [BZ #2074]
48477 * libio/libio.h (__io_write_fn): Update comment.
48478
247c3ede
PB
484792012-04-12 Petr Baudis <pasky@ucw.cz>
48480
48481 [BZ #2074]
48482 * stdio.texi (Hook Functions): The user provided writer function
48483 is not allowed to return -1.
48484
55939d6d
DM
484852012-04-11 David S. Miller <davem@davemloft.net>
48486
48487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48488
90020f5a
MF
484892012-04-11 Mike Frysinger <vapier@gentoo.org>
48490
48491 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48492 Add a leading slash to rtkaio.
48493
288f9098
JM
484942012-04-11 Jim Meyering <meyering@redhat.com>
48495
90020f5a
MF
48496 [BZ #11959]
48497 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48498 It is not necessarily an error to ignore fwrite's return
48499 value. One can reliably use ferror to test for errors after
48500 the fact.
288f9098 48501
4be2b570
L
485022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48503
48504 * bits/types.h (__snseconds_t): New type.
48505 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48506
48507 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48508 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48509 (__SNSECONDS_T_TYPE): Likewise.
48510 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48511 (__SNSECONDS_T_TYPE): Likewise.
48512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48513 (__SNSECONDS_T_TYPE): Likewise.
48514
288f9098 485152012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
48516
48517 [BZ #2636]
48518 * manual/time.texi (Processor Time): Return type of times is
48519 elapsed real time since an arbitrary point in the past.
48520 (CPU Time): Move CLK_TCK from here...
48521 (Processor Time): ...to here. Correct description.
48522 * manual/conf.texi (Constants for Sysconf): Correct description of
48523 _SC_CLK_TCK.
48524
d7dd4413
DM
485252012-04-10 David S. Miller <davem@davemloft.net>
48526
48527 [BZ #13967]
48528 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48529 where the is a gap between DT_REL(A) and DT_JMPREL.
48530
b46068fc
L
485312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48532
48533 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48534 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48535 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48536
73d65cc3
SP
485372012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48538
48539 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48540 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48541 (dl_main): Handle --inhibit-cache.
48542 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48543 _dl_inhibit_cache.
48544 * elf/dl-load.c (_dl_map_object): Use it.
48545 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48546
bcc8d661
JM
485472012-04-09 Joseph Myers <joseph@codesourcery.com>
48548
8f9a2fae
JM
48549 [BZ #13872]
48550 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48551 (__ieee754_powl): Saturate large exponents rather than testing for
48552 overflow of y*log2(x).
48553 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48554 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48555 exceptions.
48556
bcc8d661
JM
48557 [BZ #11521]
48558 * math/s_ctan.c: Include <float.h>.
48559 (__ctan): Avoid internal overflow or cancellation in calculating
48560 denominator.
48561 * math/s_ctanf.c: Likewise.
48562 * math/s_ctanl.c: Likewise.
48563 * math/s_ctanh.c: Likewise.
48564 * math/s_ctanhf.c: Likewise.
48565 * math/s_ctanhl.c: Likewise.
48566 * math/libm-test.inc (ctan_test): Add more tests.
48567 (ctanh_test): Likewise.
48568 * sysdeps/i386/fpu/libm-test-ulps: Update.
48569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48570
823fbbb4
AJ
485712012-04-09 Andreas Jaeger <aj@suse.de>
48572
03879793
AJ
48573 [BZ #6894]
48574 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48575 is an optional BSD extension.
48576
823fbbb4
AJ
48577 [BZ #10254]
48578 * manual/stdio.texi (Opening Streams): Document additional fopen
48579 parameters.
48580
8de131cb
RM
485812012-04-09 Roland McGrath <roland@hack.frob.com>
48582
48583 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48584 %eax without telling the compiler.
48585
c0ed9d7d
CD
485862012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48587
48588 [BZ # 13963]
48589 * manual/install.texi: Use sourceware.org.
48590
c483f6b4
JM
485912012-04-09 Joseph Myers <joseph@codesourcery.com>
48592
d7dd9453
JM
48593 [BZ #13873]
48594 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48595 (__ieee754_pow): Generate overflow and underflow using huge*huge
48596 and tiny*tiny rather than just returning constant infinity or zero
48597 for large exponents.
48598 * math/libm-test.inc (pow_test): Require overflow exceptions for
48599 applicable cases of large exponents.
48600
c483f6b4
JM
48601 [BZ #706]
48602 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48603 (__ieee754_pow): Use iterative multiplication algorithm only for
48604 integer exponents with absolute value below 1024. Check for odd
48605 integer exponents when using algorithm for real exponents.
48606 * math/libm-test.inc (pow_test): Add more tests.
48607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48608
d2de7579
JM
486092012-04-08 Joseph Myers <joseph@codesourcery.com>
48610
48611 [BZ #13705]
48612 * math/libm-test.inc (exp_test): Do not allow overflow exception
48613 on underflow test.
48614
f77f1232
AJ
486152012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48616
48617 [BZ #13705]
48618 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48619 instead of __kernel_standard_f.
48620
3884932b
MF
486212012-04-08 Mike Frysinger <vapier@gentoo.org>
48622
48623 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48624 * sysdeps/x86_64/memset_chk.S: Likewise.
48625
54472e9c
AJ
486262012-04-08 Andreas Jaeger <aj@suse.de>
48627
6ab0fbfc
AJ
48628 [BZ #10153]
48629 * manual/startup.texi (Environment Access): Describe return value
48630 for putenv and setenv.
48631
61efba8c
AJ
48632 [BZ #6895]
48633 * manual/filesys.texi (Directory Entries): Add description for
48634 DT_LNK.
48635
95c3f29a
AJ
48636 [BZ #6890]
48637 * manual/filesys.texi (Directory Entries): Clarify that it's file
48638 system not operating system in the description of DT_UNKNOWN.
48639
54472e9c
AJ
48640 [BZ #6578]
48641 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48642
624254b1
SC
486432012-04-08 Stephen Compall <s11@member.fsf.org>
48644
48645 [BZ #6649]
48646 * manual/llio.texi (Opening and Closing Files): Add cross
48647 reference to explain mode argument.
48648
1e4920e0
MF
486492012-04-07 Mike Frysinger <vapier@gentoo.org>
48650
48651 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48652 * sysdeps/x86_64/memset_chk.S: Likewise.
48653
5ed848f3
DM
486542012-04-07 David S. Miller <davem@davemloft.net>
48655
48656 * elf/elf.h (R_SPARC_WDISP10): Define.
48657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48658 R_SPARC_SIZE32.
48659 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48660 R_SPARC_SIZE64 and R_SPARC_H34.
48661
96154cd8
CD
486622012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48663
48664 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48665 conditions and remove no longer applicable assertion.
48666
9904dc47
L
486672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48668
48669 * bits/byteswap.h: Include <features.h>.
48670 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48671 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48672
f8887d0a
L
486732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48674
48675 * bits/byteswap.h (__bswap_16): Removed.
48676 Include <bits/byteswap-16.h> to get __bswap_16.
48677 * sysdeps/i386/bits/byteswap.h: Likewise.
48678 * sysdeps/s390/bits/byteswap.h: Likewise.
48679 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48680 * bits/byteswap-16.h: New file.
48681 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48682 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48683 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48684 * string/Makefile (headers): Add bits/byteswap-16.h.
48685
62470f60
PP
486862012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48687
48688 [BZ #13895]
48689 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48690 extra indirection.
48691 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48692 * nss/tst-nss-static.c: New.
48693
4dad7bab
RM
486942012-04-06 Robert Millan <rmh@gnu.org>
48695
48696 [BZ #6486]
48697 * manual/llio.texi (File Position Primitive): lseek
48698 refers to WHENCE when it really means OFFSET.
48699
e9142a17
AJ
487002012-04-06 Andreas Jaeger <aj@suse.de>
48701
2c040eff
AJ
48702 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48703 strncmp declarations.
48704
e9142a17
AJ
48705 * abilist/libc.abilist: Add __poll and __ppoll.
48706
ff9f1c5f
DM
487072012-04-05 David S. Miller <davem@davemloft.net>
48708
dcd2ae90
DM
48709 * scripts/check-local-headers.sh: Accept a host triplet in the
48710 path matched by the exclude regexp.
48711
993eb054
DM
48712 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48713 definition.
48714 * sysdeps/powerpc/powerpc32/dl-machine.h
48715 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48716 * sysdeps/s390/s390-32/dl-machine.h
48717 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48718 * sysdeps/sparc/sparc32/dl-machine.h
48719 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48720 * sysdeps/sparc/sparc64/dl-machine.h
48721 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48722
ff9f1c5f
DM
48723 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48724 lazy binding.
48e2e132 48725 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
48726 undefined symbol errors.
48727
48e2e132 48728 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
48729 DT_NEEDED entries.
48730
e80d6f94
MM
487312012-04-05 Michael Matz <matz@suse.de>
48732
48733 [BZ #13592]
48734 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48735
349fa79f
AJ
487362012-04-05 Andreas Jaeger <aj@suse.de>
48737
48738 [BZ #13908]
48739 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48740 comment.
48741
f402708f
KK
487422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48743
48744 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48745 which ROUND is no valid rounding mode.
48746
2ecccfc9
KK
487472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48748
48749 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48750 read again.
48751 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48752
8a53f50f
KK
487532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48754
48755 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48756 an exception using FPU order intentionally.
48757
487582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48759
48760 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48761 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48762 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48763 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48764
d653abb7
SJ
487652012-04-05 Simon Josefsson <simon@josefsson.org>
48766
48767 [BZ #12340]
48768 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48769 EINVAL when BUFLEN is too smal.
48770
c3b1bf7d
TS
487712012-04-05 Thomas Schwinge <thomas@codesourcery.com>
48772
48773 [BZ #13553]
48774 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48775 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48776
b1aa60f3
AJ
487772012-04-03 Andreas Jaeger <aj@suse.de>
48778
c3b1bf7d 48779 [BZ #13938]
67f60a26
AJ
48780 * manual/setjmp.texi (System V contexts): Fix sentence.
48781
b1aa60f3
AJ
48782 [BZ #13926]
48783 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48784 New macro for this case.
48785 [!__GNUC__] (__bswap_64): New inline function for this case.
48786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48787 * bits/byteswap.h: Likewise.
48788 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48789 ull, guard with __GLIBC_HAVE_LONG_LONG.
48790
48791 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48792 __GLIBC_HAVE_LONG_LONG.
48793
48794 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48795 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48796
39c59c35
TMQMF
487972012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48798
48799 [BZ #13691]
48800 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48801 inptr and inend, rather than using last_ch.
48802
135ffda8
DM
488032012-04-02 David S. Miller <davem@davemloft.net>
48804
48805 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48806 * stdio-common/printf-parse.h (read_int): Change return type to
48807 'int', return -1 on INT_MAX overflow.
48808 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48809 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
48810 overflows INT_MAX. Check for overflow of in-format-string precision
48811 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
48812 SIZE_MAX not INT_MAX for integer overflow test.
48813 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48814 skip the construct in the format string but do not record anything.
48815 * stdio-common/bug22.c: Adjust to test both width/prevision
48816 INT_MAX overflow as well as total length INT_MAX overflow. Check
48817 explicitly for proper errno values.
48818
228c019e
TS
488192012-04-02 Thomas Schwinge <thomas@codesourcery.com>
48820
302cadd3
TS
48821 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48822 CHAR_MAX.
48823 * string/test-strcmp.c [! WIDE]: Likewise.
48824 * time/tst-mktime2.c: Likewise for INT_MAX.
48825 * string/test-string.h: #include <sys/param.h> for MIN.
48826
228c019e
TS
48827 * csu/init-first.c (__libc_init_first): Call __ctype_init.
48828 * sysdeps/i386/init-first.c (init): Likewise.
48829 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48830 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48831 * sysdeps/sh/init-first.c (init): Likewise.
48832
cfa633f5
UD
488332012-04-01 Ulrich Drepper <drepper@gmail.com>
48834
48835 * po/ru.po: Update from translation team.
d1635ef8 48836 * po/vi.po: Likewise.
cfa633f5 48837
6cd0a5ea
SP
488382012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48839
48840 * resolv/nss_dns/dns-host.c: Merge copyright years.
48841
4b43400f
LD
488422012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48843
48844 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48845 Optimize memcpy with prefetch if
48846 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
48847 src, dst pointers have unequal 16 byte alignments.
48848
48c41d04
SP
488492012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48850
48851 [BZ #13928]
48852 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48853 from a CNAME entry and return the minimum ttl for the query.
48854 (gaih_getanswer_slice): Likewise.
48855
b8dc394d
JL
488562012-03-30 Jeff Law <law@redhat.com>
48857
48858 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48859 due to long keys.
48860 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48861 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48862
2f5a5ed0
JL
48863 * resolv/nss_dns/dns-host.c: Update copyright year.
48864
1d39e359
UD
488652012-03-30 Ulrich Drepper <drepper@gmail.com>
48866
c030f70c 48867 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 48868 requests to save a system call. Fix check that all bytes are sent.
c030f70c 48869
1d39e359
UD
48870 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48871 comments for sendmmsg.
48872
488732012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
48874
48875 [BZ #13691]
48876 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48877 with only 1 character between 0x0041 and 0x01b0.
48878 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48879 * wcsmbs/tst-mbsnrtowcs.c: New file.
48880
20fde227
DM
488812012-03-29 David S. Miller <davem@davemloft.net>
48882
48883 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48884 small copies by hand.
48885
984a4237
JL
488862012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48887
48888 [BZ #13761]
57f41c40
AS
48889 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48890 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48891 group memberships.
984a4237 48892
18c9d62b
DM
488932012-03-28 David S. Miller <davem@davemloft.net>
48894
88d85d4f
DM
48895 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48896 that branches into memcpy.
48897 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48898 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48899 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48900 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48902 bits.
48903 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48904 implementation too.
48905 * sysdeps/sparc/mempcpy.S: New file.
48906
e5aa83e1
DM
48907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48908 the IFUNC routine in the libc case.
48909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48910
88570753
DM
48911 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48912 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48913 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48914 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48915 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48916 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48917 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48918 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48919
249d7567
DM
48920 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48921 loop to 256 bytes instead of 64 bytes and fix test signedness.
48922
18c9d62b
DM
48923 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48924 * sysdeps/sparc/sparc32/Makefile: rather than here...
48925 * sysdeps/sparc/sparc64/Makefile: and here.
48926
05f3d1f6
UD
489272012-03-28 Ulrich Drepper <drepper@gmail.com>
48928
48929 * malloc/mallocbug.c: Avoid warnings about unused variables.
48930
86ae07a8
JL
489312012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48932
48933 [BZ #13760]
48934 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48935 in the right place. Discard and retry query if response is
48936 larger than input buffer size.
48937
41bf21a1
JM
489382012-03-28 Joseph Myers <joseph@codesourcery.com>
48939
d6270972
JM
48940 [BZ #369]
48941 [BZ #2678]
48942 [BZ #3866]
48943 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48944 x for large integer exponent.
48945 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48946 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
48947 sign of result as needed afterwards.
48948 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48949 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48950 result for underflowing pow the same as for overflow.
48951 (__kernel_standard_l): Handle powl overflow and underflow here
48952 rather than calling __kernel_standard.
48953 * math/libm-test.inc (pow_test): Add more tests.
48954
414fca03 48955 [BZ #3868]
41bf21a1
JM
48956 [BZ #13879]
48957 [BZ #13910]
48958 [BZ #13911]
48959 [BZ #13912]
48960 [BZ #13913]
48961 [BZ #13915]
48962 [BZ #13916]
48963 [BZ #13917]
48964 [BZ #13918]
48965 [BZ #13919]
48966 [BZ #13920]
48967 [BZ #13921]
48968 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48969 * sysdeps/ieee754/k_standard.c: Include <float.h>.
48970 (__kernel_standard_l): New function.
48971 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48972 __kernel_standard.
48973 * math/w_acosl.c (__acosl): Likewise.
48974 * math/w_asinl.c (__asinl): Likewise.
48975 * math/w_atan2l.c (__atan2l): Likewise.
48976 * math/w_atanhl.c (__atanhl): Likewise.
48977 * math/w_coshl.c (__coshl): Likewise.
48978 * math/w_exp10l.c (__exp10l): Likewise.
48979 * math/w_exp2l.c (__exp2l): Likewise.
48980 * math/w_fmodl.c (__fmodl): Likewise.
48981 * math/w_hypotl.c (__hypotl): Likewise.
48982 * math/w_j0l.c (__j0l, __y0l): Likewise.
48983 * math/w_j1l.c (__j1l, __y1l): Likewise.
48984 * math/w_jnl.c (__jnl, __ynl): Likewise.
48985 * math/w_lgammal.c (__lgammal): Likewise.
48986 * math/w_log10l.c (__log10l): Likewise.
48987 * math/w_log2l.c (__log2l): Likewise.
48988 * math/w_logl.c (__logl): Likewise.
48989 * math/w_powl.c (__powl): Likewise.
48990 * math/w_remainderl.c (__remainderl): Likewise.
48991 * math/w_scalbl.c (sysv_scalbl): Likewise.
48992 * math/w_sinhl.c (__sinhl): Likewise.
48993 * math/w_sqrtl.c (__sqrtl): Likewise.
48994 * math/w_tgammal.c (__tgammal): Likewise.
48995 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48996 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48997 * math/libm-test.inc (acos_test): Add more tests.
48998 (acosh_test): Likewise.
48999 (asin_test): Likewise.
49000 (atanh_test): Likewise.
49001 (exp_test): Likewise.
49002 (exp10_test): Likewise.
49003 (exp2_test): Likewise.
49004 (expm1_test): Likewise.
49005 (lgamma_test): Likewise.
49006 (log_test): Likewise.
49007 (log10_test): Likewise.
49008 (log1p_test): Likewise.
49009 (log2_test): Likewise.
49010 (pow_test): Do not allow some spurious overflow exceptions.
49011 (sqrt_test): Add more tests.
49012 (tgamma_test): Likewise.
49013 (y0_test): Likewise.
49014 (y1_test): Likewise.
49015 (yn_test): Likewise.
49016
dd62fda6
AB
490172012-03-27 Anton Blanchard <anton@samba.org>
49018
49019 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49020 MAP_HUGETLB.
49021 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49022 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49023 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49024
1e3cdfda
AJ
490252012-03-27 David S. Miller <davem@davemloft.net>
49026
b855ab85
DM
49027 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49028
1e3cdfda
AJ
49029 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49030 have-as-vis3 check.
49031
490322012-03-27 Andreas Jaeger <aj@suse.de>
49033
49034 * sysdeps/x86_64/elf/configure.in: Moved to ...
49035 * sysdeps/x86_64/configure.in: ... here.
49036 * sysdeps/x86_64/elf/start.S: Moved to ...
49037 * sysdeps/x86_64/start.S: ... here.
49038 * sysdeps/x86_64/elf/configure: Delete.
49039
49040 * sysdeps/x86_64/configure.in: Merge contents from
49041 sysdeps/i386/configure.in (without i686 check).
49042
49043 * sysdeps/i386/elf/Versions: Merge into ...
49044 * sysdeps/i386/Versions: ... this.
49045 * sysdeps/i386/elf/Versions: Delete file.
49046 * sysdeps/i386/elf/start.S: Moved to ...
49047 * sysdeps/i386/start.S: ...here.
49048 * sysdeps/i386/elf/configure.in: Merge into...
49049 * sysdeps/i386/configure.in: ...here.
49050 * sysdeps/i386/elf/configure.in: Delete file.
49051 * sysdeps/i386/elf/configure: Delete file.
49052
49053 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49054 * debug/backtracesyms.c: ... here.
49055 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49056 * debug/backtracesymsfd.c: ... here.
49057 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49058 * sysdeps/generic/ifunc-sel.h: ... here.
49059
49060 * sysdeps/unix/i386/start.c: Delete file.
49061 * sysdeps/unix/sparc/start.c: Delete file.
49062 * sysdeps/unix/start.c: Delete file.
49063
49064 * sysdeps/sh/elf/configure.in: Moved to ...
49065 * sysdeps/sh/configure.in: ... here.
49066 * sysdeps/sh/elf/start.S: Moved to ...
49067 * sysdeps/sh/start.S: ... here.
49068 * sysdeps/sh/elf/configure: Delete file.
49069
49070 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49071 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49072 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49073 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49074 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49075 * sysdeps/powerpc/powerpc64/start.S: here.
49076 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49077 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49078 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49079 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49080 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49081
49082 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49083 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49084 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49085 * sysdeps/powerpc/powerpc32/start.S: ... here.
49086 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49087 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49088 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49089
49090 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49091 * sysdeps/powerpc/ifunc-sel.h: ... here.
49092 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49093 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49094
49095 * sysdeps/sparc/elf/configure.in: Moved to ...
49096 * sysdeps/sparc/configure.in: ... here.
49097 * sysdeps/sparc/elf/configure: Delete file.
49098 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49099 * sysdeps/sparc/sparc32/start.S: ... here.
49100 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49101 * sysdeps/sparc/sparc64/start.S: ... here.
49102 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49103 * sysdeps/sparc/sparc32/Makefile: ... this.
49104 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49105 * sysdeps/sparc/sparc64/Makefile: ... this.
49106
49107 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49108 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49109 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49110 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49111 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49112 * sysdeps/s390/s390-32/setjmp.S: ... here.
49113 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49114 * sysdeps/s390/s390-32/configure.in: ... here.
49115 * sysdeps/s390/s390-32/elf/configure: Delete file.
49116 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49117 * sysdeps/s390/s390-32/start.S: ... here.
49118
49119 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49120 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49121 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49122 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49123 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49124 * sysdeps/s390/s390-64/setjmp.S: ... here.
49125 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49126 * sysdeps/s390/s390-64/configure.in: ... here
49127 * sysdeps/s390/s390-64/elf/configure: Delete file.
49128 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49129 * sysdeps/s390/s390-64/start.S: ... here.
49130 * sysdeps/s390/s390-64/elf/configure: Delete.
49131
49132 * configure.in: Remove support for elf directories in sysdeps.
49133
49134 * configure: Regenerated.
49135 * sysdeps/i386/configure: Regenerated.
49136 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49137 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49138 * sysdeps/s390/s390-32/configure: Regenerated.
49139 * sysdeps/s390/s390-64/configure: Regenerated.
49140 * sysdeps/sh/configure: Regenerated.
49141 * sysdeps/sparc/configure: Regenerated.
49142 * sysdeps/x86_64/configure: Regenerated.
49143
a3f61311
AS
491442012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49145
c876e002
AS
49146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49147
a3f61311
AS
49148 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49149 denormal result into account.
49150
ac4c54f0
RM
491512012-03-25 Roland McGrath <roland@hack.frob.com>
49152
49153 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49154 Reported by Allan McRae <allan@archlinux.org>.
49155
6a9b9c02
JL
491562012-03-23 Jeff Law <law@redhat.com>
49157
49158 * nss/getnssent.c (__nss_getent): Fix typo.
49159
4c42a0c1
DM
491602012-03-23 David S. Miller <davem@davemloft.net>
49161
49162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49163
1532c7ac
L
491642012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49165
49166 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49167 to pad to uint64_t for each field.
49168 (dl_tls_index): Replace unsigned long with uint64_t.
49169
3ff42526
PP
491702012-03-23 Daniel Jacobowitz <dmj@google.com>
49171 Paul Pluzhnikov <ppluzhnikov@google.com>
49172
49173 [BZ #6528]
49174 * grp/Makefile (otherlibs): Don't set it.
49175 * inet/Makefile (otherlibs): Likewise.
49176 * login/Makefile (otherlibs): Likewise.
49177 * nscd/Makefile (otherlibs): Likewise.
49178 * posix/Makefile (otherlibs): Likewise.
49179 * pwd/Makefile (otherlibs): Likewise.
49180 * rt/Makefile (otherlibs): Likewise.
49181 * sunrpc/Makefile (otherlibs): Likewise.
49182 * nss/Makefile (otherlibs): Likewise.
49183 Add libnss_files to routines and static-only-routines.
49184 ($(objpfx)getent): Remove rule.
49185 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49186 static-only-routines.
49187
7c69cd14
JM
491882012-03-22 Joseph Myers <joseph@codesourcery.com>
49189
49190 [BZ #13892]
49191 * math/s_cexp.c: Include <float.h>.
49192 (__cexp): Handle exp result overflowing not necessarily
49193 overflowing both real and imaginary parts of result.
49194 * math/s_cexpf.c: Likewise.
49195 * math/s_cexpl.c: Likewise.
49196 * math/libm-test.inc (cexp_test): Add more tests.
49197 * sysdeps/i386/fpu/libm-test-ulps: Update.
49198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49199
81b035fe
L
492002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49201
49202 * include/link.h (ELFW): New macro.
49203 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49204 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49205
1da7940c
L
492062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49207
49208 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49209 with uint64_t.
49210
b749dbb9
L
492112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49212
49213 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49214 declaration.
49215 (struct La_x32_retval): Likewise.
49216
2ff87f3f
L
492172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49218
49219 * sysdeps/x86_64/preconfigure.in: New file.
49220 * sysdeps/x86_64/preconfigure: New generated file.
49221
c0df8e69
JM
492222012-03-22 Joseph Myers <joseph@codesourcery.com>
49223
48e44791
JM
49224 [BZ #13824]
49225 * math/e_exp2l.c: Include <float.h>.
49226 (__ieee754_exp2l): Handle overflow and underflow cases
49227 separately. Only pass fractional part of argument to
49228 __ieee754_expl.
49229 * math/libm-test.inc (exp2_test): Add more tests.
49230
c0df8e69
JM
49231 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49232 negating x to take absolute value.
49233 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49234 Likewise.
49235 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49236 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49237 Likewise.
49238 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49239 computing low part if x was negated.
49240 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49241
c8e43ba7
L
492422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49243
49244 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49245 la_x32_gnu_pltexit.
49246 (pltexit): Cast int_retval to ptrdiff_t.
49247 * elf/tst-auditmod3b.c: Likewise.
49248 * elf/tst-auditmod4b.c: Likewise.
49249 * elf/tst-auditmod5b.c: Likewise.
49250 * elf/tst-auditmod6b.c: Likewise.
49251 * elf/tst-auditmod6c.c: Likewise.
49252 * elf/tst-auditmod7b.c: Likewise.
49253
49254 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49255 and x32_gnu_pltexit.
49256
49257 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49258 __ELF_NATIVE_CLASS.
49259 (La_x32_regs): New macro.
49260 (La_x32_retval): Likewise.
49261 (la_x32_gnu_pltenter): New function prototype.
49262 (la_x32_gnu_pltexit): Likewise.
49263
7998fa78
AS
492642012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49265
dcb33988
AS
49266 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49267 exponent.
49268
233fc563
AS
49269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49270
7998fa78
AS
49271 * configure.in (libc_cv_cc_nofma): Check for option to disable
49272 generation of FMA instructions.
49273 * configure: Regenerate.
49274 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49275 * sysdeps/ieee754/dbl-64/Makefile: New file.
49276 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49277 Remove brandred-fma4.
49278 (CFLAGS-brandred-fma4.c): Remove.
49279 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49280 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49281 define.
49282 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49283 define.
49284
8e95c99a
L
492852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49286
49287 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49288 LLONG_MAX != LONG_MAX.
49289 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49290 (_fitoa_word): Likewise.
49291 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49292 LLONG_MAX != LONG_MAX.
49293 * stdio-common/_itowa.h: Include <_itoa.h>.
49294 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49295 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49296 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49297 only if not defined.
49298 (_ITOA_WORD_TYPE): Likewise.
49299 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49300 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49301
6f4db457
DM
493022012-03-21 David S. Miller <davem@davemloft.net>
49303
49304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49305
7785fe5a
L
493062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49307
49308 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49309 of x86_64 when setting libc_cv_slibdir, libdir and
49310 libc_cv_localedir.
49311 * sysdeps/unix/sysv/linux/configure: Regenerated.
49312
4535cd55
JM
493132012-03-21 Joseph Myers <joseph@codesourcery.com>
49314
49315 * manual/lang.texi (Old Varargs): Remove section.
49316 (How Variadic): Update menu.
49317 (va_start): Do not mention varargs.h.
49318
17228132
TS
493192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49320 Joseph Myers <joseph@codesourcery.com>
49321
49322 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49323 link test.
49324 * configure: Regenerated.
49325
8149f976
TS
493262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49327
05f3d1f6
UD
49328 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49329 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49330 conformtest.pl
8149f976 49331
1a4ac776
JM
493322012-03-21 Joseph Myers <joseph@codesourcery.com>
49333
be22ce65
JM
49334 * NOTES: Remove.
49335 * Makefile (files-for-dist): Remove NOTES.
49336 (NOTES): Remove rule.
49337 * README: Don't refer to NOTES.
49338 * manual/creature.texi: Don't include macros.texi.
49339 * manual/intro.texi (creature.texi): Remove comment referring to
49340 NOTES.
49341
40b601fb
JM
49342 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49343 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49344 * configure: Regenerated.
49345 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49346 LIBC_TRY_CC_OPTION.
49347 (libc_cv_as_i686): Likewise.
49348 (libc_cv_cc_avx): Likewise.
49349 (libc_cv_cc_sse2avx): Likewise.
49350 (libc_cv_cc_fma4): Likewise.
49351 (libc_cv_cc_novzeroupper): Likewise.
49352 * sysdeps/i386/configure: Regenerated.
49353
1a4ac776
JM
49354 [BZ #13883]
49355 * sysdeps/i386/fpu/s_cexp.S: Remove.
49356 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49357 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49358 * math/libm-test.inc (cexp_test): Add more tests.
49359 * sysdeps/i386/fpu/libm-test-ulps: Update.
49360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49361
a458e7fe
AM
493622012-03-21 Allan McRae <allan@archlinux.org>
49363
49364 * timezone/Makefile: Do not install iso3166.tab and zone.tab
49365
0cb7efc5
JM
493662012-03-21 Joseph Myers <joseph@codesourcery.com>
49367
49368 [BZ #13871]
49369 * math/w_exp2.c: Do not include <float.h>.
49370 (o_threshold, u_threshold): Remove.
49371 (__exp2): Calculate result before checking finiteness and calling
49372 __kernel_standard.
49373 * math/w_exp2f.c: Likewise.
49374 * math/w_exp2l.c: Likewise.
49375 * math/libm-test.inc (exp2_test): Require overflow exception for
49376 1e6 input.
2460d3aa
JM
49377
49378 [BZ #3866]
49379 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49380 range of signed 64-bit integers before using fistpll. Remove
49381 checks for whether integers fit in mantissa bits.
49382 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49383 the range of signed 32-bit integers before using fistpl. Remove
49384 checks for whether integers fit in mantissa bits.
49385 * sysdeps/i386/fpu/e_powl.S (p64): New object.
49386 (__ieee754_powl): Test for y outside the range of signed 64-bit
49387 integers before using fistpll. Reduce 64-bit values to 63-bit
49388 ones as needed.
49389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49390 divide-by-zero is raised for zero to large negative powers.
49391 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49392 (__ieee754_powl): Test for y outside the range of signed 64-bit
49393 integers before using fistpll. Reduce 64-bit values to 63-bit
49394 ones as needed.
49395 * math/libm-test.inc (pow_test): Add more tests.
49396
eb96ffb0
L
493972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49398
49399 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49400 <stdio-common/_itoa.h>.
49401 * debug/segfault.c: Likewise.
49402 * elf/dl-cache.c: Likewise.
49403 * elf/dl-minimal.c: Likewise.
49404 * elf/dl-misc.c: Likewise.
49405 * elf/dl-sysdep.c: Likewise.
49406 * elf/dl-version.c: Likewise.
49407 * elf/rtld.c: Likewise.
49408 * hurd/hurdsock.c: Likewise.
49409 * hurd/lookup-retry.c: Likewise.
49410 * malloc/malloc.c: Likewise.
49411 * malloc/mtrace.c: Likewise.
49412 * nscd/nscd_getgr_r.c: Likewise.
49413 * nscd/nscd_getpw_r.c: Likewise.
49414 * nscd/nscd_getserv_r.c: Likewise.
49415 * posix/getopt_init.c: Likewise.
49416 * posix/wordexp.c: Likewise.
49417 * stdio-common/_itoa.c: Likewise.
49418 * stdio-common/printf_fphex.c: Likewise.
49419 * stdio-common/vfprintf.c: Likewise.
49420 * string/_strerror.c: Likewise.
49421 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49422 * sysdeps/i386/i686/hp-timing.h: Likewise.
49423 * sysdeps/mach/_strerror.c: Likewise.
49424 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49425 * sysdeps/mach/hurd/sethostid.c: Likewise.
49426 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49427 * sysdeps/mach/xpg-strerror.c: Likewise.
49428 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49429 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49430 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49431 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49432 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49433 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49434 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49435 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49436 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49437 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49438 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49439 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49440 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49441 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49442 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49443 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49444 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49445 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49446 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49447 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49448 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49449
49450 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49451
49452 * stdio-common/_itoa.h: Moved to ...
49453 * sysdeps/generic/_itoa.h: Here.
49454
49455 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49456
49457 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49458 instead of "_itoa.h" and "_itowa.h".
49459 * stdio-common/vfprintf.: Likewise.
49460
d1af992d
L
494612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49462
49463 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49464 <bits/wordsize.h>.
49465 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49466 (__signbit): Likwise.
49467 (llrintf): Likwise.
49468 (llrint): Likwise.
49469
114883e0
L
494702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49471
49472 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49473 __WORDSIZE != 64.
49474
c135cc1b
JM
494752012-03-20 Joseph Myers <joseph@codesourcery.com>
49476
49477 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49478 OVERFLOW_EXCEPTION_OK.
49479 * math/libm-test.inc ("Philosophy"): Update comment about
49480 exception testing.
49481 (OVERFLOW_EXCEPTION): Define.
49482 (OVERFLOW_EXCEPTION_OK): Likewise.
49483 (INVALID_EXCEPTION_OK): Renumber.
49484 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49485 (IGNORE_ZERO_INF_SIGN): Likewise.
49486 (test_exceptions): Handle FE_OVERFLOW.
49487 (exp10_test): Expect overflow exceptions.
49488 (exp2_test): Likewise.
49489 (expm1_test): Likewise.
49490 (nextafter_test): Likewise.
49491 (pow_test): Likewise.
49492 (scalbn_test): Likewise.
49493 (scalbln_test): Likewise.
49494
95443d88
L
494952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49496
49497 * sysdeps/x86_64/bits/atomic.h
49498 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49499 64bit integer.
49500 (atomic_exchange_acq): Likewise.
49501 (__arch_exchange_and_add_body): Likewise.
49502 (__arch_add_body): Likewise.
49503 (atomic_add_negative): Likewise.
49504 (atomic_add_zero): Likewise.
49505
490df6c4
L
495062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49507
c2722551 49508 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
49509 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49510
5e52b189
L
495112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49512
49513 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49514 Check __x86_64__ instead of __WORDSIZE.
49515
a9879d4c
L
495162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49517
49518 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49519
5df98260
DM
495202012-03-19 David S. Miller <davem@davemloft.net>
49521
e1497744
DM
49522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49523
5df98260
DM
49524 * sysdeps/sparc/fpu/fenv_private.h: New file.
49525 * sysdeps/sparc/fpu/math_private.h: Use it.
49526 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49527 Remove.
57f41c40 49528 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
49529 (libc_feholdexcept_setroundl): Remove.
49530 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49531 Remove.
49532 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49533 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49534
b4c35121
L
495352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49536
49537 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49538 int64_t instead of long int.
49539 (INSERT_WORDS64): Likwise.
49540
56965fd7
L
495412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49542
49543 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49544 _Unwind_GetCFA return to _Unwind_Ptr first.
49545
83d1aec8
JM
495462012-03-19 Joseph Myers <joseph@codesourcery.com>
49547
1897ad44
JM
49548 [BZ #13629]
49549 * math/s_clog.c: Include <float.h>.
49550 (__clog): Scale large or subnormal inputs.
49551 * math/s_clogf.c: Likewise.
49552 * math/s_clogl.c: Likewise.
49553 * math/s_clog10.c: Include <float.h>.
49554 (M_LOG10_2): Define.
49555 (__clog10): Scale large or subnormal inputs.
49556 * math/s_clog10f.c: Likewise.
49557 * math/s_clog10l.c: Likewise.
49558 * math/libm-test.inc (clog_test): Add more tests.
49559 (clog10_test): Likewise.
49560 * sysdeps/i386/fpu/libm-test-ulps: Update.
49561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49562
7726d6a9
JM
49563 [BZ #11451]
49564 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49565 x and y.
49566 * math/libm-test.inc (atan2_test): Add another test.
49567
83d1aec8
JM
49568 * Makerules (common-objdir-compile): Remove.
49569 * sysdeps/unix/Makefile (config-generated): Do not add
49570 $(unix-generated) to variable.
49571 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49572 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49573 Remove rule.
49574 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49575 Likewise.
49576 [generic bits/local_lim.h] (before-compile): Do not append to
49577 variable.
49578 [generic bits/local_lim.h] (common-generated): Likewise.
49579 [generic sys/param.h] (before-compile): Do not append to variable.
49580 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49581 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49582 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49583 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49584 include.
49585 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49586 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49587 [generic sys/param.h] ($(addprefix
49588 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49589 [generic sys/param.h] (common-generated): Do not append to
49590 variable.
49591 [generic sys/param.h] (sysdep_headers): Likewise.
49592 [generic bits/errno.h] (before-compile): Do not append to
49593 variable.
49594 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49595 rule.
49596 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49597 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49598 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49599 [generic bits/errno.h] (common-generated): Do not append to
49600 variable.
49601 [generic bits/ioctls.h] (before-compile): Do not append to
49602 variable.
49603 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49604 rule.
49605 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49606 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49607 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49608 rule.
49609 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49610 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49611 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49612 [generic bits/ioctls.h] (common-generated): Do not append to
49613 variable.
49614 [generic sys/syscall.h] (syscall.h): Remove variable.
49615 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49616 rule.
49617 [generic sys/syscall.h] (before-compile): Do not append to
49618 variable.
49619 [generic sys/syscall.h] (common-generated): Likewise.
49620 * sysdeps/unix/errnos-tmpl.c: Remove file.
49621 * sysdeps/unix/errnos.awk: Likewise.
49622 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49623 * sysdeps/unix/ioctls.awk: Likewise.
49624 * sysdeps/unix/mk-local_lim.c: Likewise.
49625 * sysdeps/unix/snarf-ioctls: Likewise.
49626
4851a949
RH
496272012-03-19 Richard Henderson <rth@twiddle.net>
49628
bd37f2ee
RH
49629 * sysdeps/i386/fpu/fenv_private.h: New file.
49630 * sysdeps/i386/fpu/math_private.h: Use it.
49631 (math_opt_barrier, math_force_eval): Remove.
49632 (libc_feholdexcept_setround_53bit): Remove.
49633 (libc_feupdateenv_53bit): Remove.
49634 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49635 (math_opt_barrier, math_force_eval): Remove.
49636 (libc_feholdexcept): Remove.
49637 (libc_feholdexcept_setround): Remove.
49638 (libc_fetestexcept, libc_fesetenv): Remove.
49639 (libc_feupdateenv_test): Remove.
49640 (libc_feupdateenv, libc_feholdsetround): Remove.
49641 (libc_feresetround): Remove.
49642
d0adc922
RH
49643 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49644 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49645
0fe0f1f8
RH
49646 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49647 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49648 (libc_feupdateenv_testl): New.
49649 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49650 (libc_feupdateenv_testf): New.
49651 (libc_feupdateenv): Use libc_feupdateenv_test.
49652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49653 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49654
eb92c487
RH
49655 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49656 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49657 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49658 (libc_feresetround_noex): New.
49659 (libc_feresetround_noexf): New.
49660 (libc_feresetround_noexl): New.
49661 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49662 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49663 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49664 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49665 SET_RESTORE_ROUND.
49666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49667 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49668 (__cos): Likewise.
49669 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49670 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49671 SET_RESTORE_ROUND_NOEX.
49672 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49673 SET_RESTORE_ROUND_NOEXF.
49674 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49675 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49676 (libc_feholdsetroundf): New.
49677 (libc_feresetround, libc_feresetroundf): New.
49678
7d2e8012
RH
49679 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49680 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49681 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49682
b4dabbb4
RH
49683 * sysdeps/generic/math_private.h: Include <fenv.h>.
49684 (default_libc_feholdexcept): New.
49685 (default_libc_feholdexcept_setround): New.
49686 (default_libc_fesetenv, default_libc_feupdateenv): New.
49687 (libc_feholdexcept): Only define if undefined.
49688 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49689 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49690 (libc_feholdexcept_setroundl): Likewise.
49691 (libc_feholdexcept_setround_53bit): Likewise.
49692 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49693 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49694 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49695 (libc_feupdateenv_53bit): Likewise.
49696 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49697 (libc_feholdexcept): Convert from macro to inline function.
49698 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49699 (libc_fesetenv, libc_feupdateenv): Likewise.
49700
4851a949
RH
49701 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49702 not previously defined.
49703 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49704 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49705 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49706 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49707 * sysdeps/ieee754/flt-32/math_private.h: New file.
49708 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49709 math_private.h below SET_FLOAT_WORD.
49710 (__isnan, __isinf_ns, __finite): Remove.
49711 (__isnanf, __isinf_nsf, __finitef): Remove.
49712
e79d442e
AS
497132012-03-18 Andreas Schwab <schwab@linux-m68k.org>
49714
49715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49716
90b80344
DM
497172012-03-17 David S. Miller <davem@davemloft.net>
49718
49719 [BZ #6471]
49720 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49721 for 2.16.
49722
edc21804
DM
497232012-03-16 David S. Miller <davem@davemloft.net>
49724
77e927af
DM
49725 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49726 warnings.
49727
374976dd
DM
49728 [BZ #6471]
49729 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49730 properly.
49731 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49732 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49733 sysdep_routines when subdir is sysvipc.
49734 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49735 __getshmlba helper.
49736
edc21804
DM
49737 * sysdeps/sparc/fpu/libm-test/ulps: Update.
49738
473c3ef3
L
497392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49740
49741 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49742 [__LP64__].
49743
eb0f39b6
L
497442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49745
49746 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49747 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49748 (__lround): Renamed to ...
49749 (__llround): This. Replace long int with long long int.
49750 Define lround functions as aliases of llround functions.
49751 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49752
6b6cd74b
L
497532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49754
49755 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49756 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
49757 adresses to uintptr_t. Replace "long int" and "unsigned long
49758 int" with "greg_t" on va_arg.
49759
f1a77b01
L
497602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49761
49762 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49763 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49764
49765 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49766 Move e_machine check before EI_CLASS check. Handle x32
49767 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49768 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49769 SKIP_EM_IA_64 and include
49770 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49771
49772 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49773 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49774 (add_system_dir): New macro.
49775
49776 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49777 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49778
11b90b9f
JM
497792012-03-16 Joseph Myers <joseph@codesourcery.com>
49780
c36e1d23
JM
49781 [BZ #2551]
49782 [BZ #2552]
49783 [BZ #2553]
49784 [BZ #2554]
49785 [BZ #2562]
49786 [BZ #2563]
49787 [BZ #2565]
49788 [BZ #2566]
49789 [BZ #2576]
49790 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49791 (y0): Likewise.
49792 * math/w_j0f.c (j0f): Likewise.
49793 (y0f): Likewise.
49794 * math/w_j0l.c (__j0l): Likewise.
49795 (__y0l): Likewise.
49796 * math/w_j1.c (j1): Likewise.
49797 (y1): Likewise.
49798 * math/w_j1f.c (j1f): Likewise.
49799 (y1f): Likewise.
49800 * math/w_j1l.c (__j1l): Likewise.
49801 (__y1l): Likewise.
49802 * math/w_jn.c (jn): Likewise.
49803 (yn): Likewise.
49804 * math/w_jnf.c (jnf): Likewise.
49805 (ynf): Likewise.
49806 * math/w_jnl.c (__jnl): Likewise.
49807 (__ynl): Likewise.
49808 * math/libm-test.inc (j0_test): Add more tests.
49809 (j1_test): Likewise.
49810 (jn_test): Likewise. Add trailing semicolon to existing test.
49811 (y0_test): Likewise.
49812 (y1_test): Likewise.
49813 * sysdeps/i386/fpu/libm-test-ulps: Update.
49814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49815
11b90b9f
JM
49816 [BZ #13851]
49817 [BZ #13854]
49818 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49819 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49820 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49821 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49822 (__tanl): Set errno for infinite argument.
49823 * sysdeps/i386/fpu/mptan.c: Remove.
49824 * sysdeps/i386/fpu/s_tan.S: Likewise.
49825 * sysdeps/i386/fpu/s_tanl.S: Likewise.
49826 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49827 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49828 * math/libm-test.inc (tan_test): Add more tests and enable more
49829 tests for double and long double.
49830 * sysdeps/i386/fpu/libm-test-ulps: Update.
49831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49832
6a1bd2a1
JK
498332012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
49834
49835 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49836 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49837
10a803e0
RM
498382012-03-16 Roland McGrath <roland@hack.frob.com>
49839
49840 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49841 * configure.in: Use it for both main tree and add-ons.
49842 * configure: Regenerated.
49843
f196c7f7
L
498442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49845
49846 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49847
8848d99d
JM
498482012-03-16 Joseph Myers <joseph@codesourcery.com>
49849
96cbe7f4
JM
49850 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49851 in comment.
49852
8848d99d
JM
49853 [BZ #13851]
49854 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49855 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49856 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49857 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49858 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49859 infinite argument.
49860 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49861 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49862 != 0 for prec == 2.
49863 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
49864 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
49865 * sysdeps/i386/fpu/s_cosl.S: Likewise.
49866 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
49867 * sysdeps/i386/fpu/s_sinl.S: Likewise.
49868 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
49869 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
49870 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49871 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49872 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49873 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49874 * math/libm-test.inc (cos_test): Add more tests and enable more
49875 tests for long double.
49876 (sin_test): Likewise.
49877 (sincos_test): Likewise.
49878 * sysdeps/i386/fpu/libm-test-ulps: Update.
49879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49880
dd7f4703
DM
498812012-03-16 David S. Miller <davem@davemloft.net>
49882
49883 * sysdeps/sparc/fpu/math_private.h: New file.
49884
006f1daa
DM
498852012-03-15 David S. Miller <davem@davemloft.net>
49886
c0c83bc8
DM
49887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49888 file.
e6a62e18 49889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
49890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49891 file.
e6a62e18
DM
49892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49897 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49898 sysdep routines.
49899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49900
88cb87d9
DM
49901 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49902 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49903
006f1daa 49904 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
49905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49906 sparc-ifunc.h
006f1daa 49907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
49908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49909 Likewise.
49910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49911 Likewise.
006f1daa
DM
49912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
49915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49916 Likewise.
006f1daa
DM
49917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
49921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49922 Likewise.
49923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49924 Likewise.
006f1daa
DM
49925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49945 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49946 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49949
11e0098e
AS
499502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49951
49952 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49953 scaling.
49954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49955
e85b09d0
AJ
499562012-03-15 Andreas Jaeger <aj@suse.de>
49957
49958 [BZ #13852]
49959 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49960 ieee754/flt-32 implementation for sin, cos and sincos.
49961 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49962 * sysdeps/i386/fpu/s_cosf.S: Likewise.
49963 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49964 * sysdeps/i386/fpu/s_sinf.S: Likewise.
49965 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49966 ieee754/flt-32 implementation for tan.
49967
49968 * math/libm-test.inc (cos_test): Enable some large input tests for
49969 float as well
49970 (sin_test): Likewise.
49971 (sincos_test): Likewise.
49972 (tan_test): Add tests for large input.
49973
49974 * sysdeps/i386/fpu/libm-test-ulps: Update.
49975
81c64153
AJ
499762012-03-15 Andreas Jaeger <aj@suse.de>
49977
49978 [BZ #13658]
49979 * math/libm-test.inc (cos_test): Add more test cases.
49980 (sin_test): Likewise.
49981 (sincos_test): Likewise.
49982
7bbfa5c6
AJ
499832012-03-15 Andreas Jaeger <aj@suse.de>
49984
49985 [BZ #13837]
49986 * math/libm-test.inc (cos_test): Add a test case for large input
49987 value.
49988 (sin_test): Likewise.
49989 (sincos_test): Likewise.
49990
57f41c40
AS
499912012-03-15 Andreas Jaeger <aj@suse.de>
49992 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
49993
49994 [BZ #13658]
0671f479 49995 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
49996 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49997 * sysdeps/i386/fpu/branred.c: Likewise.
49998 * sysdeps/i386/fpu/dosincos.c: Likewise.
49999 * sysdeps/i386/fpu/mpa.c: Likewise.
50000 * sysdeps/i386/fpu/s_cos.S: Likewise.
50001 * sysdeps/i386/fpu/s_sin.S: Likewise.
50002 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50003 * sysdeps/i386/fpu/sincos32.c: Likewise.
50004
50005 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50006 Define.
50007 (libc_feupdateenv_53bit): Define.
50008 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50009 Define.
50010 (libc_feupdateenv_53bit): Define.
50011
50012 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50013 53 bit (without extend i386 double precision).
50014
50015 * math/libm-test.inc (sincos_test): Add tests for large input.
50016 (sin): Likewise.
50017 (cos): Likewise.
50018
50019 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50020
9cad04ea
AS
500212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50022
50023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50024
f7062b9a
DM
500252012-03-15 David S. Miller <davem@davemloft.net>
50026
50027 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50028 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50029 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50030 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
50042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50043 file.
f7062b9a 50044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
50045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50046 file.
f7062b9a 50047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
50048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50049 file.
f7062b9a 50050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
50051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50052 file.
f7062b9a
DM
50053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50055 fmin/fmax sysdep routines.
50056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50057
7bd951ff
DM
500582012-03-14 David S. Miller <davem@davemloft.net>
50059
559398ab
DM
50060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50082 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50083 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50084 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
50088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50089 routines.
50090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50091 file.
559398ab 50092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
50093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50094 file.
559398ab 50095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
50096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50097 file.
559398ab 50098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
50099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50100 file.
559398ab 50101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
50102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50103 file.
559398ab 50104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
50105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50106 file.
50107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50108 file.
50109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50110 file.
50111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50112 file.
50113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50114 New file.
50115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50116 file.
50117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50118 file.
559398ab 50119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
50120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50121 file.
559398ab 50122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
50123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50124 file.
559398ab 50125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
50126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50127 file.
559398ab 50128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
50129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50130 VIS3 routines.
559398ab
DM
50131
50132 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50133 New file.
50134
5a1c1e32
DM
50135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50136
eae47a36
DM
50137 * sysdeps/sparc/configure.in: New file.
50138 * sysdeps/sparc/configure: Generate.
50139 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50140 * configure: Regenerate.
50141 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50142 * config.make.in (have-as-vis3): New.
50143 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50144 available use -Av9d instead of -Av9a.
50145 * sysdeps/sparc/sparc64/Makefile: Likewise.
50146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
50147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50148 New file.
50149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50150 file.
50151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50152 New file.
50153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50154 file.
eae47a36
DM
50155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50156 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50157 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50160
c0c83bc8
DM
50161 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50162 fzeros/fnegs to load 0x80000000 into a float register instead of
50163 using the stack.
7bd951ff
DM
50164 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50165
bd951ccb
JM
501662012-03-14 Joseph Myers <joseph@codesourcery.com>
50167
50168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50169 bits/syscall.h.
50170 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50171 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50172 ($(inst_includedir)/bits/syscall.h): Remove rule.
50173 ($(objpfx)bits/syscall.d): Include instead of
50174 $(objpfx)syscall-list.d.
50175 (generated): Change syscall-list.h and syscall-list.d to
50176 bits/syscall.h and bits/syscall.d.
50177
bb4e6db2
RM
501782012-03-14 Roland McGrath <roland@hack.frob.com>
50179
50180 [BZ #13846]
50181 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50182
aa4a2ae1
JM
501832012-03-14 Joseph Myers <joseph@codesourcery.com>
50184
e456826d
JM
50185 [BZ #13841]
50186 * math/s_csqrt.c: Include <float.h>.
50187 (__csqrt): Scale large or subnormal inputs.
50188 * math/s_csqrtf.c: Likewise.
50189 * math/s_csqrtl.c: Likewise.
50190 * math/libm-test.inc (csqrt_test): Add more tests.
50191 * sysdeps/i386/fpu/libm-test-ulps: Update.
50192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50193
aa4a2ae1
JM
50194 [BZ #13840]
50195 * math/libm-test.inc (hypot_test): Add more tests.
50196
7c10fd35
DM
501972012-03-13 David S. Miller <davem@davemloft.net>
50198
50199 [BZ #13840]
50200 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50201 double-precision for the calculation instead of scaling.
50202
f453b98b
JM
502032012-03-13 Joseph Myers <joseph@codesourcery.com>
50204
50205 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50206 manipulate bits before adding and subtracting TWO52[sx].
50207 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50208 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50209 Likewise.
50210 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50211
09a3453f
DM
502122012-03-13 David S. Miller <davem@davemloft.net>
50213
8e59da90
DM
50214 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50215 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50217 rtld-global-offsets.h
50218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50219
2a8ab7f2
DM
50220 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50221 large parameters.
50222
10f62770
DM
50223 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50224
5f0bdb18
DM
50225 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50226 'err' in the ifdef scope in which it is actually used.
50227
09a3453f
DM
50228 * nss/nss_db/db-init.c: Include string.h
50229
b4b2eb5e
DM
502302012-03-12 David S. Miller <davem@davemloft.net>
50231
98bb2f1c
DM
50232 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50233 masking out of the most significant byte of random value used.
50234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50235 Fix coding style in previous change.
50236
b4b2eb5e
DM
50237 * sysdeps/unix/sysv/linux/kernel-features.h
50238 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50239 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50240 expression.
50241 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50242 later.
50243
6e226b09
DM
502442012-03-11 David S. Miller <davem@davemloft.net>
50245
a1bcbd40
DM
50246 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50247 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50248 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50249 for 'resultvar' otherwise things get truncated on 64-bit.
50250
cb9d6174
DM
50251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50252 Fix masking out of the most significant byte of random value used.
50253
6e226b09
DM
50254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50255
058c132d
AS
502562012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50257
50258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50259
2d2cd515
DM
502602012-03-09 David S. Miller <davem@davemloft.net>
50261
50262 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50263 variables with appropriate CPP guards.
57f41c40
AS
50264 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50265 from the frame pointer, not the stack pointer. Correct layout
50266 comments. Fix test on resulting framesize and the management of
50267 the outregs buffer for pltexit. Preserve floating point return
50268 values across _dl_call_pltexit call.
2d2cd515
DM
50269 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50270 framesize and the management of the outregs buffer for pltexit.
50271 Preserve floating point return values across _dl_call_pltexit
50272 call.
57f41c40
AS
50273 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50274 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50275 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
50276 (print_exit): Fix format string for return register value.
50277
9a07f9d0
JM
502782012-03-10 Joseph Myers <joseph@codesourcery.com>
50279
50280 * sunrpc/Makefile (others): Add rpcgen.
50281 ($(objpfx)rpcgen): Remove special build rule and dependency on
50282 libc.
50283 * sunrpc/rpcgen.c: New file.
50284
547b5e30
PE
502852012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50286
c524201a
PE
50287 [BZ #13673]
50288 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50289 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50290 * sysdeps/i386/crti.S: Likewise.
50291 * sysdeps/i386/crtn.S: Likewise.
50292 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50293 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50294 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50295 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50296 * sysdeps/sh/crti.S: Likewise.
50297 * sysdeps/sh/crtn.S: Likewise.
50298 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50299
7b6235f2
PE
50300 [BZ #13673]
50301 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50302 with URL.
50303 * locale/programs/locfile-kw.gperf: Likewise.
50304 * locale/programs/charmap-kw.h: Regenerated.
50305 * locale/programs/locfile-kw.h: Likewise.
50306
547b5e30
PE
50307 [BZ #13673]
50308 * intl/plural.y: Replace FSF snail mail address with URL.
50309 * intl/plural.c: Regenerated.
50310
5f0a5dae
RH
503112012-03-09 Richard Henderson <rth@twiddle.net>
50312
50313 * include/math_private.h: Remove file.
50314 * math/math_private.h: Move file ...
50315 * sysdeps/generic/math_private.h: ... here.
50316
b8c03620
RH
50317 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50318 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50319 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50320
4e234f5d 50321 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
50322 and <math_private.h>.
50323 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50324 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50325 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50326 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50327 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50328 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50329 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50331 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50332 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50334 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50335 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50336 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50337 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50338 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50339 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50340 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50341 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50342 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50344 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50345 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50347 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50348 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50349 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50350 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50353 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50354 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50355 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50356 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50357 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50358 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50359 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50360 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50361 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50362 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50363 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50364 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50365 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50366 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50367 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50368 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50369 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50370 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50371 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50372 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50373 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50374 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50375 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50376 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50377 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50378 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50379 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50380 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50381 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50382 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50383 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50384 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50385 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50386 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50387 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50388 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50389 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50390 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50391 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50392 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50393 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50394 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50395 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50396 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50397 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50401 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50402 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50403 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50404 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50405 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50406 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50407 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50409 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50410 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50411 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50412 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50413 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50414 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50415 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50416 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50417 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50418 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50419 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50420 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50421 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50422 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50423 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50424 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50425 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50426 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50427 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50428 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50429 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50430 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50431 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50432 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50433 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50434 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50435 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50436 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50437 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50438 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50439 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50440 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50441 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50442 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50443 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50444 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50445 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50446 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50447 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50448 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50449 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50450 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50451 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50452 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50453 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50454 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50455 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50456 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50457 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50458 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50459 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50460 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50461 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50462 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50463 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50464 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50465 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50466 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50467 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50468 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50469 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50470 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50471 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50472 * sysdeps/ieee754/k_standard.c: Likewise.
50473 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50474 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50475 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50476 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50477 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50478 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50479 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50480 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50481 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50482 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50483 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50484 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50485 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50486 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50487 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50488 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50489 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50490 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50491 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50492 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50493 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50494 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50495 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50496 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50497 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50498 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50499 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50500 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50501 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50502 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50503 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50504 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50505 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50506 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50507 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50508 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50509 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50510 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50511 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50512 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50513 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50514 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50515 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50516 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50517 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50518 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50519 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50520 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50521 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50522 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50523 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50524 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50525 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50526 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50527 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50528 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50529 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50530 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50531 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50532 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50533 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50534 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50535 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50536 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50538 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50539 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50540 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50541 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50543 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50545 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50546 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50547 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50548 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50549 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50550 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50551 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50552 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50553 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50554 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50555 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50556 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50557 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50558 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50559 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50560 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50561 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50563 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50564 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50565 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50566 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50567 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50568 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50569 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50570 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50571 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50572 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50574 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50575 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50576 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50577 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50578 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50579 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50580 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50581 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50582 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50583 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50584 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50585 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50586 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50587 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50588 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50589 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50590 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50591 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50592 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50593 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50594 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50595 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50596 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50597 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50598 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50599 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50600 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50601 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50602 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50603 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50604 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50605 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50606 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50607 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50608 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50609 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50610 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50611 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50612 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50613 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50614 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50615 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50616 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50617 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50618 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50619 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50620 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50621 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50622 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50623 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50624 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50626 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50627 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50628 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50629 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50630 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50631 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50632 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50633 * sysdeps/ieee754/s_lib_version.c: Likewise.
50634 * sysdeps/ieee754/s_matherr.c: Likewise.
50635 * sysdeps/ieee754/s_signgam.c: Likewise.
50636 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50637 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50638 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50639 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50640 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50641 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50642 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50643 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50644 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50645 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50646 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50647 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50648 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50649 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50650 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50651 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50652 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50653 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50654 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50656 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 50657
1991fa03
JM
506582012-03-09 Joseph Myers <joseph@codesourcery.com>
50659
50660 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50661 * sunrpc/rpc_main.c: Likewise.
50662 * sunrpc/rpc_svcout.c: Likewise.
50663
60d6f5a6
DM
506642012-03-09 David S. Miller <davem@davemloft.net>
50665
50666 * include/math_private.h: New file.
50667
4962050e
JM
506682012-03-09 Joseph Myers <joseph@codesourcery.com>
50669
02a6f887
JM
50670 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50671 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50672 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50673 from <bits/socket_type.h>.
50674 (enum __socket_type): Don't define here.
50675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50677 bits/socket_type.h.
50678
c6e013c1
JM
50679 [BZ #13566]
50680 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50681 checking __USE_GNU.
50682
4962050e
JM
50683 * Makerules ($(inst_includedir)/%.h): New rule.
50684 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50685 (install-others): Remove variable setting.
50686 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50687
38842f45
RH
506882012-03-08 Richard Henderson <rth@twiddle.net>
50689
67bb6da6
RH
50690 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50691 from macro to inline function; merge with the
50692 !__LIBC_INTERNAL_MATH_INLINES version.
50693 (__ieee754_sqrtf): Likewise.
50694
15194b4b
RH
50695 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50696 to inline function.
50697 (__rintf, __floor, __floorf): Likewise.
50698
64e21ede
RH
50699 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50700 macro to inline function.
50701 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50702
38842f45
RH
50703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50704 not <math/math_private.h>.
50705
c64bf5fe
DM
507062012-03-08 David S. Miller <davem@davemloft.net>
50707
50708 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50709 copyright year.
50710 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50711
82d86f28
TS
507122012-03-08 Thomas Schwinge <thomas@codesourcery.com>
50713
50714 * resolv/gai_misc.c (handle_requests): Fix struct timespec
50715 normalization.
50716 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50717 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50718
aea5d727
UD
507192012-03-08 Ulrich Drepper <drepper@gmail.com>
50720
50721 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
50722 be defined individually, they must be defined as a block. Define
50723 S for printing a string instead of hidint the different by using a
50724 macro for adding the 'l'.
50725 * stdio-common/tst-fphex-wide.c: Adjust.
50726
70bca0a3
MP
507272012-03-07 Marek Polacek <polacek@redhat.com>
50728
50729 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50730
65b81130
MP
507312012-03-08 Marek Polacek <polacek@redhat.com>
50732
50733 [BZ #13806]
50734 * stdio-common/Makefile (tests): Add tst-fphex-wide.
50735 * stdio-common/tst-fphex.c: Define a few macros to make the
50736 test reusable. Use them.
50737 * stdio-common/tst-fphex-wide.c: New file.
50738
07037eeb
JM
507392012-03-08 Joseph Myers <joseph@codesourcery.com>
50740
a7a93d50
JM
50741 [BZ #6911]
50742 * manual/macros.texi (gnusystems): New macro.
50743 (nongnusystems): Likewise.
50744 (gnulinuxhurdsystems): Likewise.
50745 (gnuhurdsystems): Likewise..
50746 (gnulinuxsystems): Likewise.
50747 * manual/charset.texi: Use new macros or @theglibc{} to refer to
50748 variants of the GNU system, not "GNU system".
50749 * manual/conf.texi: Likewise.
50750 * manual/errno.texi: Likewise. Update example of errno macro
50751 expansion.
50752 * manual/filesys.texi: Likewise.
50753 (getumask): Document as specific to GNU/Hurd.
50754 * manual/install.texi: Likewise. Reword some references to
50755 GNU/Linux.
50756 * manual/intro.texi: Likewise.
50757 * manual/io.texi: Likewise.
50758 (File Name Portability): Detail which constraints are inapplicable
50759 to all GNU systems and which are only inapplicable to GNU/Hurd.
50760 * manual/job.texi: Likewise.
50761 * manual/llio.texi: Likewise.
50762 (O_NOCTTY): Document as present on GNU/Linux.
50763 * manual/maint.texi: Likewise.
50764 * manual/memory.texi: Likewise.
50765 * manual/pattern.texi: Likewise.
50766 * manual/pipe.texi: Likewise.
50767 * manual/process.texi: Likewise.
50768 * manual/resource.texi: Likewise.
50769 (RUSAGE_CHILDREN): Remove statement about specifying a particular
50770 child on GNU/Hurd.
50771 * manual/setjmp.texi: Likewise.
50772 * manual/signal.texi: Likewise.
50773 * manual/startup.texi: Likewise.
50774 * manual/stdio.texi: Likewise.
50775 * manual/terminal.texi: Likewise.
50776 (ONLCR): Document as POSIX.
50777 (OXTABS): Document availability on GNU/Linux as XTABS.
50778 (ONOEOT): Document availability separately from other bits.
50779 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50780 * manual/time.texi: Likewise.
50781 * manual/users.texi: Likewise.
50782 * INSTALL: Regenerated.
50783 * sysdeps/gnu/errlist.c: Regenerated.
50784
07037eeb
JM
50785 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50786 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50787 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
50788 puts.
50789 * configure: Regenerated.
50790
d1d3431a
JM
507912012-03-07 Joseph Myers <joseph@codesourcery.com>
50792
af6a1e37
JM
50793 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50794 default includes instead of AC_HEADER_CHECK.
50795 * sysdeps/i386/configure: Regenerated.
50796
d1d3431a
JM
50797 [BZ #10716]
50798 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50799 * math/s_cacoshf.c (__cacoshf): Likewise.
50800 * math/s_cacoshl.c (__cacoshl): Likewise.
50801 * math/s_casinh.c (__casinh): Set signs of result from argument.
50802 * math/s_casinhf.c (__casinhf): Likewise.
50803 * math/s_casinhl.c (__casinhl): Likewise.
50804 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50805 (casinh_test): Add more tests.
50806 * sysdeps/i386/fpu/libm-test-ulps: Update.
50807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50808
482ff4da
UD
508092012-03-07 Ulrich Drepper <drepper@gmail.com>
50810
872fda05
UD
50811 * po/zh_TW.po: Update from translation team.
50812
a4300c7a
UD
50813 * login/Makefile (distribute): Remove variable.
50814 * catgets/Makefile: Likewise.
50815 * mach/Makefile: Likewise.
50816 * malloc/Makefile: Likewise.
50817 * misc/Makefile: Likewise.
50818 * iconv/Makefile: Likewise.
50819 * nscd/Makefile: Likewise.
50820 * hurd/Makefile: Likewise.
50821 * manual/Makefile: Likewise.
50822 * locale/Makefile: Likewise.
50823 * intl/Makefile: Likewise.
50824 * conform/Makefile: Likewise.
50825 * nss/Makefile: Likewise.
50826 * time/Makefile: Likewise.
50827 * soft-fp/Makefile: Likewise.
50828 * dirent/Makefile: Likewise.
50829 * gmon/Makefile: Likewise.
50830 * po/Makefile: Likewise.
50831 * rt/Makefile: Likewise.
50832 * socket/Makefile: Likewise.
50833 * math/Makefile: Likewise.
50834 * signal/Makefile: Likewise.
50835 * debug/Makefile: Likewise.
50836 * elf/Makefile: Likewise.
50837 * timezone/Makefile: Likewise.
50838 * stdlib/Makefile: Likewise.
50839 * iconvdata/Makefile: Likewise.
50840 * sunrpc/Makefile: Likewise.
50841 * io/Makefile: Likewise.
50842 * argp/Makefile: Likewise.
50843 * inet/Makefile: Likewise.
50844 * hesiod/Makefile: Likewise.
50845 * grp/Makefile: Likewise.
50846 * csu/Makefile: Likewise.
50847 * wctype/Makefile: Likewise.
50848 * crypt/Makefile: Likewise.
50849 * libio/Makefile: Likewise.
50850 * string/Makefile: Likewise.
50851 * nis/Makefile: Likewise.
50852 * resolv/Makefile: Likewise.
50853 * stdio-common/Makefile: Likewise.
50854 * wcsmbs/Makefile: Likewise.
50855 * dlfcn/Makefile: Likewise.
50856 * posix/Makefile: Likewise.
50857
3b7c4e74 50858 [BZ #6959]
482ff4da
UD
50859 * timezone/Makefile: Don't install timezone files, just the programs
50860 and scripts.
50861
f72ed77d
UD
508622012-03-06 Ulrich Drepper <drepper@gmail.com>
50863
a000466f
UD
50864 * nss/databases.def: Add missing gshadow entry.
50865
f72ed77d
UD
50866 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
50867
a53b7a4e
MP
508682012-03-06 Marek Polacek <polacek@redhat.com>
50869
50870 [BZ #13726]
50871 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50872 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50873 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50874 * stdio-common/tst-long-dbl-fphex.c: New file.
50875
e9258400
DM
508762012-03-06 David S. Miller <davem@davemloft.net>
50877
50878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50879 (set_obp_int): New function.
50880 (get_obp_int): New function.
50881 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
50882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50883 Avoid unused variable warnings on 'val' and use builtin_expect.
50884 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50885 __builtin_expect.
e9258400
DM
50886 (INLINE_CLONE_SYSCALL): Likewise.
50887
3bd2c723
DM
508882012-03-05 David S. Miller <davem@davemloft.net>
50889
50890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50891
bbb78d03
AS
508922012-03-05 Andreas Schwab <schwab@linux-m68k.org>
50893
884c5db4
AS
50894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50895
bbb78d03
AS
50896 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50897 only for |x| >= 40.
50898 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50899
1c9f702a 509002012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
50901
50902 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50903 Replace gettimeofday with __vdso_gettimeofday.
50904
7be16f82
RM
50905 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50906 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50907 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
50908
50909 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50910 time with __vdso_time.
50911
ed58a00f
JM
509122012-03-05 Joseph Myers <joseph@codesourcery.com>
50913
50914 * manual/lang.texi (size_t): Note types to which size_t may be
50915 equivalent with the GNU C Library, but do not describe when
50916 differences between them are significant.
50917
30ee4ced
AJ
509182012-03-05 Andreas Jaeger <aj@suse.de>
50919
50920 * sysdeps/i386/fpu/libm-test-ulps: Update.
50921
b7cd39e8
JM
509222012-03-05 Joseph Myers <joseph@codesourcery.com>
50923
50924 [BZ #3976]
50925 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50926 (__ieee754_pow): Save and restore rounding mode and use
50927 round-to-nearest for main computations.
50928 * math/libm-test.inc (pow_test_tonearest): New function.
50929 (pow_test_towardzero): Likewise.
50930 (pow_test_downward): Likewise.
50931 (pow_test_upward): Likewise.
50932 (main): Call the new functions.
50933 * sysdeps/i386/fpu/libm-test-ulps: Update.
50934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
50935
50936 [BZ #3976]
50937 * math/libm-test.inc (cosh_test_tonearest): New function.
50938 (cosh_test_towardzero): Likewise.
50939 (cosh_test_downward): Likewise.
50940 (cosh_test_upward): Likewise.
50941 (sinh_test_tonearest): Likewise.
50942 (sinh_test_towardzero): Likewise.
50943 (sinh_test_downward): Likewise.
50944 (sinh_test_upward): Likewise.
50945 (main): Call the new functions.
50946 * sysdeps/i386/fpu/libm-test-ulps: Update.
50947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50948
6c6a98c9
TV
509492012-03-05 Tom de Vries <tom@codesourcery.com>
50950
50951 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50952 default stack guard is set in last bytes.
50953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50954
21bb2d2e 509552012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 50956
21bb2d2e 50957 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 50958
21bb2d2e
AJ
50959 [BZ #13656]
50960 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50961 possibly allocate from heap instead of stack.
50962 * stdio-common/bug-vfprintf-nargs.c: New file.
50963 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 50964
c6922934
AS
509652012-03-03 Andreas Schwab <schwab@linux-m68k.org>
50966
50967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50968
bc957d53
MP
509692012-03-03 Marek Polacek <polacek@redhat.com>
50970
50971 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50972 * math/math_private.h: Likewise.
50973 * stdlib/tst-strtod.c: Likewise.
50974 * sysdeps/i386/i486/bits/atomic.h: Likewise.
50975 * sysdeps/x86_64/bits/atomic.h: Likewise.
50976
6358490d
DM
509772012-03-02 David S. Miller <davem@davemloft.net>
50978
50979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50983 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50984 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50985 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50986 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50987
01ae168d
RM
509882012-03-02 Roland McGrath <roland@hack.frob.com>
50989
d9a17c07
RM
50990 [BZ #13792]
50991 * manual/examples/README: New file, says the example source files
50992 can be used under GPL>=2.
50993 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50994 line containing just "*/".
50995 * manual/examples/add.c: Add copyright header (GPL>=2).
50996 * manual/examples/argp-ex1.c: Likewise.
50997 * manual/examples/argp-ex2.c: Likewise.
50998 * manual/examples/argp-ex3.c: Likewise.
50999 * manual/examples/argp-ex4.c: Likewise.
51000 * manual/examples/atexit.c: Likewise.
51001 * manual/examples/db.c: Likewise.
51002 * manual/examples/dir.c: Likewise.
51003 * manual/examples/dir2.c: Likewise.
51004 * manual/examples/execinfo.c: Likewise.
51005 * manual/examples/filecli.c: Likewise.
51006 * manual/examples/filesrv.c: Likewise.
51007 * manual/examples/fmtmsgexpl.c: Likewise.
51008 * manual/examples/genpass.c: Likewise.
51009 * manual/examples/inetcli.c: Likewise.
51010 * manual/examples/inetsrv.c: Likewise.
51011 * manual/examples/isockad.c: Likewise.
51012 * manual/examples/longopt.c: Likewise.
51013 * manual/examples/memopen.c: Likewise.
51014 * manual/examples/memstrm.c: Likewise.
51015 * manual/examples/mkfsock.c: Likewise.
51016 * manual/examples/mkisock.c: Likewise.
51017 * manual/examples/mygetpass.c: Likewise.
51018 * manual/examples/pipe.c: Likewise.
51019 * manual/examples/popen.c: Likewise.
51020 * manual/examples/rprintf.c: Likewise.
51021 * manual/examples/search.c: Likewise.
51022 * manual/examples/select.c: Likewise.
51023 * manual/examples/setjmp.c: Likewise.
51024 * manual/examples/sigh1.c: Likewise.
51025 * manual/examples/sigusr.c: Likewise.
51026 * manual/examples/stpcpy.c: Likewise.
51027 * manual/examples/strdupa.c: Likewise.
51028 * manual/examples/strftim.c: Likewise.
51029 * manual/examples/strncat.c: Likewise.
51030 * manual/examples/subopt.c: Likewise.
51031 * manual/examples/swapcontext.c: Likewise.
51032 * manual/examples/termios.c: Likewise.
51033 * manual/examples/testopt.c: Likewise.
51034 * manual/examples/testpass.c: Likewise.
51035 * manual/examples/timeval_subtract.c: Likewise.
51036
01ae168d
RM
51037 [BZ #13792]
51038 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51039 function to ...
51040 * manual/timeval_subtract.c.texi: ... here, new file.
51041
49efa33d
DM
510422012-03-02 David S. Miller <davem@davemloft.net>
51043
51044 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51045
28afd92d
JM
510462012-03-02 Joseph Myers <joseph@codesourcery.com>
51047
804360ed
JM
51048 [BZ #3976]
51049 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51050 (__sin): Save and restore rounding mode and use round-to-nearest
51051 for all computations.
51052 (__cos): Save and restore rounding mode and use round-to-nearest
51053 for all computations.
51054 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51055 <fenv.h>.
51056 (tan): Save and restore rounding mode and use round-to-nearest for
51057 all computations.
51058 * math/libm-test.inc (cos_test_tonearest): New function.
51059 (cos_test_towardzero): Likewise.
51060 (cos_test_downward): Likewise.
51061 (cos_test_upward): Likewise.
51062 (sin_test_tonearest): Likewise.
51063 (sin_test_towardzero): Likewise.
51064 (sin_test_downward): Likewise.
51065 (sin_test_upward): Likewise.
51066 (tan_test_tonearest): Likewise.
51067 (tan_test_towardzero): Likewise.
51068 (tan_test_downward): Likewise.
51069 (tan_test_upward): Likewise.
51070 (main): Call the new functions.
51071 * sysdeps/i386/fpu/libm-test-ulps: Update.
51072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51073
a6d06d7b
JM
51074 [BZ #10135]
51075 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51076 small n, then large n, before computing and testing k+n.
51077 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51078 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51079 Likewise.
51080 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51081 Likewise.
51082 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51083 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51084 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51085 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51088 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51089 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51090 * math/libm-test.inc (scalbn_test): Add more tests.
51091 (scalbln_test): Likewise.
51092
07e12bb3
JM
51093 * manual/filesys.texi (mode_t): Describe constraints on size and
51094 signedness, not exact equivalence to a particular type.
51095 (ino_t): Likewise.
51096 (ino64_t): Likewise.
51097 (dev_t): Likewise.
51098 (nlink_t): Likewise.
51099 (blkcnt_t): Likewise.
51100 (blkcnt64_t): Likewise.
51101 * manual/llio.texi (off_t): Likewise.
51102
28afd92d
JM
51103 [BZ #3976]
51104 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51105 (__ieee754_exp): Save and restore rounding mode and use
51106 round-to-nearest for all computations.
51107 * math/libm-test.inc (exp_test_tonearest): New function.
51108 (exp_test_towardzero): Likewise.
51109 (exp_test_downward): Likewise.
51110 (exp_test_upward): Likewise.
51111 (main): Call the new functions.
51112 * sysdeps/i386/fpu/libm-test-ulps: Update.
51113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51114
b1eeb65d
CD
511152012-03-01 Chris Demetriou <cgd@google.com>
51116
51117 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51118 have predictable order.
51119
53362a4b
DM
511202012-03-01 David S. Miller <davem@davemloft.net>
51121
3c969083
DM
51122 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51123
759707de
DM
51124 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51125 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51126 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51127 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51128
dfdb8ff2
DM
51129 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51130 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51131 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51133 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51134 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51135 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51136 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51137 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51138
ead89f96
DM
51139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51140
7f66bd07
DM
51141 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51142 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51143 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51144
53362a4b
DM
51145 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51146 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51147 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51148 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51149 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51151 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51152 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51153 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51154 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51155 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51158 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51159 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51160 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51161 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51162 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51163 * sysdeps/sparc/elf/configure: Regenerated.
51164
7b1902cb
JM
511652012-03-01 Joseph Myers <joseph@codesourcery.com>
51166
bec039bc
JM
51167 * configure.in (AS, LD): Require binutils 2.20 or later.
51168 * configure: Regenerated.
51169 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51170 as required minimum version.
51171 * INSTALL: Regenerated.
51172
7b1902cb
JM
51173 [BZ #2541]
51174 [BZ #4108]
51175 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51176 before squaring exponent.
51177 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51178 bottom long double and 27 bits of top long double before squaring
51179 exponent.
51180 * math/libm-test.inc (erfc_test): Add more tests.
51181 * sysdeps/i386/fpu/libm-test-ulps: Update.
51182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51184
f775c276
KT
511852012-03-01 Kai Tietz <ktietz@redhat.com>
51186
51187 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51188 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51189 containing bit-fields.
51190 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51191 * soft-fp/single.h (_FP_UNION_S): Likewise.
51192 * soft-fp/double.h (_FP_UNION_D): Likewise.
51193
5b8a4d4a
JM
511942012-02-29 Joseph Myers <joseph@codesourcery.com>
51195
0bab47b6
JM
51196 [BZ #13786]
51197 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51198 not include ../strcmp.S.
51199 [USE_AS_STRNCASECMP_L]: Likewise.
51200 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51201 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51202 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51203 (__strncasecmp_l_ia32): Define as alias to
51204 __strncasecmp_l_nonascii.
51205
0fcad3e2
JM
51206 [BZ #5794]
51207 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51208 * sysdeps/i386/fpu/libm-test-ulps: Update.
51209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51210
5b8a4d4a
JM
51211 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51213
8fdceb2e
JL
512142012-02-29 Jeff Law <law@redhat.com>
51215
51216 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51217 out of bounds read.
51218
1f393a11
MP
512192012-02-29 Marek Polacek <polacek@redhat.com>
51220
51221 [BZ #13706]
51222 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51223 * elf/Makefile: Add rules to run tst-unused-dep.out.
51224
8847f037
DM
512252012-02-28 David S. Miller <davem@davemloft.net>
51226
51227 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51228 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51229 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51230 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51231 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51232 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51233
169d7f11
JM
512342012-02-29 Joseph Myers <joseph@codesourcery.com>
51235
51236 * math/libm-test.inc (llround_test): Move one test from
51237 lround_test. Use TEST_f_L in moved test.
51238 (lround_test): Move misplaced test to llround_test. Add testcase
51239 from bug 2561.
51240
39adf059
UD
512412012-02-28 Ulrich Drepper <drepper@gmail.com>
51242
51243 * sysdeps/x86_64/fpu/e_expf.S: New file.
51244 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51245
71b5d1c5
SB
512462012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51247
51248 [BZ #13637]
51249 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51250 of remain_len that may cause incomplete multi-byte character and
51251 false match.
51252 * posix/bug-regex33.c: New file.
51253 * posix/Makefile (tests): Add bug-regex33.
51254
1f77f049
JM
512552012-02-28 Joseph Myers <joseph@codesourcery.com>
51256
51257 * manual/macros.texi: New file.
51258 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51259 * manual/libc.texinfo: Include macros.texi.
51260 * manual/creatute.texi: Likewise.
51261 * manual/install.texi: Likewise.
51262 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51263 @glibcadj{} in references to the GNU C Library.
51264 * manual/charset.texi: Likewise.
51265 * manual/conf.texi: Likewise.
51266 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51267 when not using those macros.
51268 * manual/creature.texi: Likewise.
51269 * manual/crypt.texi: Likewise.
51270 * manual/errno.texi: Likewise.
51271 * manual/filesys.texi: Likewise.
51272 * manual/header.texi: Likewise.
51273 * manual/install.texi: Likewise.
51274 * manual/intro.texi: Likewise.
51275 * manual/io.texi: Likewise.
51276 * manual/job.texi: Likewise.
51277 * manual/lang.texi: Likewise.
51278 * manual/libc.texiinfo: Likewise.
51279 * manual/llio.texi: Likewise.
51280 * manual/locale.texi: Likewise.
51281 * manual/maint.texi: Likewise.
51282 * manual/math.texi: Likewise.
51283 * manual/memory.texi: Likewise.
51284 * manual/message.texi: Likewise.
51285 * manual/nss.texi: Likewise.
51286 * manual/pattern.texi: Likewise.
51287 * manual/process.texi: Likewise.
51288 * manual/resource.texi: Likewise.
51289 * manual/search.texi: Likewise.
51290 * manual/setjmp.texi: Likewise.
51291 * manual/signal.texi: Likewise.
51292 * manual/socket.texi: Likewise.
51293 * manual/startup.texi: Likewise.
51294 * manual/stdio.texi: Likewise.
51295 * manual/string.texi: Likewise.
51296 * manual/sysinfo.texi: Likewise.
51297 * manual/syslog.texi: Likewise.
51298 * manual/terminal.texi: Likewise.
51299 * manual/time.texi: Likewise.
51300 * manual/users.texi: Likewise.
51301 * INSTALL: Regenerated.
51302 * NOTES: Regenerated.
d40c5d54 51303 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 51304
450bf206
AS
513052012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51306
51307 * include/dirent.h: Include <dirstream.h> before
51308 <dirent/dirent.h>.
51309
741a235b
DM
513102012-02-28 David S. Miller <davem@davemloft.net>
51311
51312 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51313 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51314 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51315 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51316
d6b5aa58
DM
513172012-02-27 David S. Miller <davem@davemloft.net>
51318
1aff59a3
DM
51319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51321 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51322 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51323
d6b5aa58
DM
51324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51325 frame pointer instead of stack pointer relative arg slot.
51326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51327 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51328 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51329
433f48bf
CD
513302012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51331
51332 [BZ #3992]
51333 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51334
d674b76d
DM
513352012-02-27 David S. Miller <davem@davemloft.net>
51336
51337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51341 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51342 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51343 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51344 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51345
0e7727f7
JM
513462012-02-27 Joseph Myers <joseph@codesourcery.com>
51347
51348 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51349 later. Allow versions 5-9.
43be4ca2 51350 * configure: Regenerated.
0e7727f7
JM
51351 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51352 required minimum version and 4.6 as recommended version. Do not
51353 mention bugs in GCC 2.7 and 2.8.
43be4ca2 51354 * INSTALL: Regenerated.
0e7727f7 51355
a78bc654
DM
513562012-02-27 David S. Miller <davem@davemloft.net>
51357
428d5830
DM
51358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51362 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51363 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51364 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51365 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51366
a78bc654
DM
51367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51368 manipulate bits before adding and subtracting TWO112[sx].
51369 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51370
4579f81c
RM
513712012-02-27 Roland McGrath <roland@hack.frob.com>
51372
36c8acb4
RM
51373 [BZ #13775]
51374 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51375 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51376 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51377 being in POSIX, because they are in 1003.1-2008.
51378
84ad622b
RM
51379 * rt/tst-aio.c: Include <fcntl.h>.
51380 * rt/tst-aio7.c: Likewise.
51381 * rt/tst-aio64.c: Likewise.
51382
4579f81c
RM
51383 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51384
abd923db
JM
513852012-02-27 Joseph Myers <joseph@codesourcery.com>
51386
51387 * manual/install.texi (--with-headers): Describe headers as
51388 interface headers, not private headers.
51389 (Specific advice for GNU/Linux systems): Describe use of headers
51390 from "make headers_install", not private headers from older
51391 kernels.
43be4ca2 51392 * INSTALL: Regenerated.
abd923db
JM
51393 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51394 Change to 2.6.19.
51395 * sysdeps/unix/sysv/linux/configure: Regenerated.
51396
6664049b
JM
51397 * manual/llio.texi (fclean): Remove documentation.
51398
bb8b6697
JM
51399 * manual/Makefile (libc-texi-generated): New variable. Include
51400 version.texi.
51401 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51402 $(libc-texi-generated), not duplicated list of files.
51403 (version.texi, stamp-version): New rules.
51404 (realclean): Remove $(libc-texi-generated), not individual files
51405 from that list. Do not remove dir-add.texinfo.
51406 * manual/libc.texinfo: Comment out uses of edition numbers and
51407 references to printed manual. Remove last-updated dates.
51408 (EDITION): Comment out.
51409 (ISBN): Likewise.
51410 (VERSION, UPDATED): Remove.
51411 (version.texi): Include.
51412
12e5c3b9
AS
514132012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51414
51415 * sysdeps/posix/spawni.c: Include <signal.h>.
51416 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51417 * sysdeps/pthread/aio_fsync.c: Likewise.
51418
4efeffc1 514192012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 51420
ba63ba08
UD
51421 * conform/Makefile (tests): Run only when not cross-compiling and
51422 when fast-check is not defined.
51423
d94a4670
UD
51424 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51425 * conform/data/limits.h-data: Fixes for POSIX2008.
51426 * conform/run-conformtest.sh: Run all tests.
51427 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51428 headers.
51429 * include/bits/dlfcn.h: Likewise.
51430 * include/langinfo.h: Likewise.
51431 * include/monetary.h: Likewise.
51432 * include/sys/poll.h: Likewise.
51433
51434 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51435 for __USE_GNU.
51436 * posix/spawn.h: Define __need_sigset_t.
51437 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51438 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51439 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51440 to get sigevent_t only.
51441 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51442 only for __USE_GNU.
51443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51444 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51445 process_vm_writev only for __USE_GNU.
51446 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
51447
51448 * conform/Makefile: For now ignore errors from run-conformtest.
51449 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51450 POSIX to avoid namespace pollution. Don't prepend headers.
51451 * conform/data/aio.h-data: Fixes for POSIX testing.
51452 * conform/data/fcntl.h-data: Likewise.
51453 * conform/data/glob.h-data: Likewise.
51454 * conform/data/grp.h-data: Likewise.
51455 * conform/data/pthread.h-data: Likewise.
51456 * conform/data/pwd.h-data: Likewise.
51457 * conform/data/signal.h-data: Likewise.
51458 * conform/data/spawn.h-data: Likewise.
51459 * conform/data/stdio.h-data: Likewise.
51460 * conform/data/stdlib.h-data: Likewise.
51461 * conform/data/stropts.h-data: Likewise.
51462 * conform/data/sys/mman.h-data: Likewise.
51463 * conform/data/sys/stat.h-data: Likewise.
51464 * conform/data/sys/types.h-data: Likewise.
51465 * conform/data/sys/wait.h-data: Likewise.
51466 * conform/data/time.h-data: Likewise.
51467 * conform/data/unistd.h-data: Likewise.
51468 * conform/data/utime.h-data: Likewise.
51469
51470 * io/sys/stat.h: fchmod was always in POSIX.
51471 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51472 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51473 * rt/aio.h: Define __need_timespec before including <time.h>.
51474 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51475 struct. Add forward declaration of pthread_attr_t and use it in
51476 sigevent.
51477 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51478 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51479 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51480 always remove CLK_TCK definition.
51481
c20105c3
AS
514822012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51483
51484 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51485
7a270350
UD
514862012-02-25 Ulrich Drepper <drepper@gmail.com>
51487
31341567
UD
51488 * conform/run-conformtest.sh: New file.
51489 * conform/Makefile: Run run-conformtest for tests.
51490 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51491 support.
51492
51493 * conform/data/uchar.h-data: New file.
51494 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51495 * conform/data/arpa/inet.h-data: Likewise.
51496 * conform/data/assert.h-data: Likewise.
51497 * conform/data/complex.h-data: Likewise.
51498 * conform/data/cpio.h-data: Likewise.
51499 * conform/data/ctype.h-data: Likewise.
51500 * conform/data/dirent.h-data: Likewise.
51501 * conform/data/dlfcn.h-data: Likewise.
51502 * conform/data/errno.h-data: Likewise.
51503 * conform/data/fcntl.h-data: Likewise.
51504 * conform/data/float.h-data: Likewise.
51505 * conform/data/fmtmsg.h-data: Likewise.
51506 * conform/data/fnmatch.h-data: Likewise.
51507 * conform/data/ftw.h-data: Likewise.
51508 * conform/data/glob.h-data: Likewise.
51509 * conform/data/grp.h-data: Likewise.
51510 * conform/data/iconv.h-data: Likewise.
51511 * conform/data/inttypes.h-data: Likewise.
51512 * conform/data/langinfo.h-data: Likewise.
51513 * conform/data/libgen.h-data: Likewise.
51514 * conform/data/limits.h-data: Likewise.
51515 * conform/data/locale.h-data: Likewise.
51516 * conform/data/math.h-data: Likewise.
51517 * conform/data/monetary.h-data: Likewise.
51518 * conform/data/mqueue.h-data: Likewise.
51519 * conform/data/ndbm.h-data: Likewise.
51520 * conform/data/net/if.h-data: Likewise.
51521 * conform/data/netdb.h-data: Likewise.
51522 * conform/data/netinet/in.h-data: Likewise.
51523 * conform/data/nl_types.h-data: Likewise.
51524 * conform/data/poll.h-data: Likewise.
51525 * conform/data/pthread.h-data: Likewise.
51526 * conform/data/pwd.h-data: Likewise.
51527 * conform/data/regex.h-data: Likewise.
51528 * conform/data/sched.h-data: Likewise.
51529 * conform/data/search.h-data: Likewise.
51530 * conform/data/semaphore.h-data: Likewise.
51531 * conform/data/setjmp.h-data: Likewise.
51532 * conform/data/signal.h-data: Likewise.
51533 * conform/data/spawn.h-data: Likewise.
51534 * conform/data/stdarg.h-data: Likewise.
51535 * conform/data/stdio.h-data: Likewise.
51536 * conform/data/stdlib.h-data: Likewise.
51537 * conform/data/string.h-data: Likewise.
51538 * conform/data/strings.h-data: Likewise.
51539 * conform/data/stropts.h-data: Likewise.
51540 * conform/data/sys/ipc.h-data: Likewise.
51541 * conform/data/sys/mman.h-data: Likewise.
51542 * conform/data/sys/msg.h-data: Likewise.
51543 * conform/data/sys/resource.h-data: Likewise.
51544 * conform/data/sys/select.h-data: Likewise.
51545 * conform/data/sys/sem.h-data: Likewise.
51546 * conform/data/sys/shm.h-data: Likewise.
51547 * conform/data/sys/socket.h-data: Likewise.
51548 * conform/data/sys/stat.h-data: Likewise.
51549 * conform/data/sys/statvfs.h-data: Likewise.
51550 * conform/data/sys/time.h-data: Likewise.
51551 * conform/data/sys/timeb.h-data: Likewise.
51552 * conform/data/sys/times.h-data: Likewise.
51553 * conform/data/sys/types.h-data: Likewise.
51554 * conform/data/sys/uio.h-data: Likewise.
51555 * conform/data/sys/un.h-data: Likewise.
51556 * conform/data/sys/utsname.h-data: Likewise.
51557 * conform/data/sys/wait.h-data: Likewise.
51558 * conform/data/syslog.h-data: Likewise.
51559 * conform/data/tar.h-data: Likewise.
51560 * conform/data/termios.h-data: Likewise.
51561 * conform/data/utime.h-data: Likewise.
51562 * conform/data/utmpx.h-data: Likewise.
51563 * conform/data/varargs.h-data: Likewise.
51564 * conform/data/wchar.h-data: Likewise.
51565 * conform/data/wctype.h-data: Likewise.
51566 * conform/data/wordexp.h-data: Likewise.
51567
51568 * include/stropts.h: New file.
51569 * include/uchar.h: New file.
51570 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51571 * include/assert.h: Likewise.
51572 * include/ctype.h: Likewise.
51573 * include/dirent.h: Likewise.
51574 * include/dlfcn.h: Likewise.
51575 * include/fcntl.h: Likewise.
51576 * include/fnmatch.h: Likewise.
51577 * include/glob.h: Likewise.
51578 * include/grp.h: Likewise.
51579 * include/libio.h: Likewise.
51580 * include/locale.h: Likewise.
51581 * include/math.h: Likewise.
51582 * include/net/if.h: Likewise.
51583 * include/netdb.h: Likewise.
51584 * include/netinet/in.h: Likewise.
51585 * include/pthread.h: Likewise.
51586 * include/pwd.h: Likewise.
51587 * include/regex.h: Likewise.
51588 * include/sched.h: Likewise.
51589 * include/search.h: Likewise.
51590 * include/setjmp.h: Likewise.
51591 * include/signal.h: Likewise.
51592 * include/stdio.h: Likewise.
51593 * include/stdlib.h: Likewise.
51594 * include/string.h: Likewise.
51595 * include/sys/cdefs.h: Likewise.
51596 * include/sys/mman.h: Likewise.
51597 * include/sys/msg.h: Likewise.
51598 * include/sys/resource.h: Likewise.
51599 * include/sys/select.h: Likewise.
51600 * include/sys/socket.h: Likewise.
51601 * include/sys/stat.h: Likewise.
51602 * include/sys/statvfs.h: Likewise.
51603 * include/sys/time.h: Likewise.
51604 * include/sys/times.h: Likewise.
51605 * include/sys/uio.h: Likewise.
51606 * include/sys/utsname.h: Likewise.
51607 * include/sys/wait.h: Likewise.
51608 * include/termios.h: Likewise.
51609 * include/time.h: Likewise.
51610 * include/ulimit.h: Likewise.
51611 * include/unistd.h: Likewise.
51612 * include/utime.h: Likewise.
51613 * include/wchar.h: Likewise.
51614 * include/wctype.h: Likewise.
51615 * include/wordexp.h: Likewise.
51616
51617 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51618
7a270350
UD
51619 * time/time.h: TIME_UTC must be a macro.
51620 Make timespec_get available for ISO C11 only as well.
51621
7724defc
UD
516222012-02-24 Ulrich Drepper <drepper@gmail.com>
51623
51624 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51625 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51626
6b1d1d46
JM
516272012-02-24 Joseph Myers <joseph@codesourcery.com>
51628
51629 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 51630
0f8bbd69
JM
516312012-02-24 Joseph Myers <joseph@codesourcery.com>
51632
51633 * manual/texinfo.tex: Update to version 2012-01-19.16.
51634
66ab80bc
JM
516352012-02-24 Joseph Myers <joseph@codesourcery.com>
51636
51637 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51638
74981cc5
RM
516392012-02-24 Roland McGrath <roland@hack.frob.com>
51640
ee968201
RM
51641 [BZ #13738]
51642 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51643 * manual/fdl-1.3.texi: New file.
51644 * manual/fdl-1.1.texi: File removed.
51645
74981cc5
RM
51646 [BZ #13738]
51647 * manual/libc.texinfo (FDL_VERSION): New @set.
51648 Use it for mention of FDL in cover text.
51649 (Documentation License): Use it in @include file name.
51650
7bb764bc
JM
516512012-02-22 Joseph Myers <joseph@codesourcery.com>
51652 Roland McGrath <roland@hack.frob.com>
51653
51654 [BZ #5461]
57f41c40
AS
51655 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51656 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
51657 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51658 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51659 name.
51660 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51661
6cbeae47
JM
516622012-02-22 Joseph Myers <joseph@codesourcery.com>
51663
51664 [BZ #2547]
51665 [BZ #11365]
51666 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51667 manipulate bits before adding and subtracting TWO23[sx].
51668 * math/libm-test.inc (nearbyint_test): Add more tests.
51669
fe45ce09
JM
516702012-02-22 Joseph Myers <joseph@codesourcery.com>
51671
51672 [BZ #2548]
51673 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51674 bits before adding and subtracting TWO23[sx].
51675 * math/libm-test.inc (rint_test): Add more tests.
51676 (rint_test_tonearest): Likewise.
51677 (rint_test_towardzero): Likewise.
51678 (rint_test_downward): Likewise.
51679 (rint_test_upward: Likewise.
51680
ff3b3d82
JM
516812012-02-22 Joseph Myers <joseph@codesourcery.com>
51682
51683 [BZ #10110]
51684 * include/stdc-predef.h: New file. Extracted from features.h.
51685 * include/features.h: Include stdc-predef.h.
51686 * Makefile (headers): Add stdc-predef.h.
51687 * CONFORMANCE (Compiler limitations): Update.
51688
ef0aab35
JM
516892012-02-22 Joseph Myers <joseph@codesourcery.com>
51690
51691 * manual/libc.texinfo (VERSION, UPDATED): Revert.
51692
58639409
DM
516932012-02-21 David S. Miller <davem@davemloft.net>
51694
51695 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51696 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51697
c0e70b25
DM
516982012-02-20 David S. Miller <davem@davemloft.net>
51699
51700 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51701 using a normal save/restore sequence, rather than allocating a
51702 dummy stack frame just to store a frame pointer and restore.
51703 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51704
fb06851d
JM
517052012-02-21 Joseph Myers <joseph@codesourcery.com>
51706
51707 * manual/install.texi: Fix stray word in line-wrapped comment.
51708
7a8b71c3
DM
517092012-02-20 David S. Miller <davem@davemloft.net>
51710
d510c123
DM
51711 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51712 both binutils and gcc support GOTDATA.
51713
0722d7c2
DM
51714 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51715 "rd %pc" in the PIC register setup sequences.
51716
3d2b3019
DM
51717 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51718 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51719 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51720 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51721 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51723 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51724 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51725 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51726 (SYSCALL_ERROR_HANDLER): Likewise.
51727 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51728 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51730 (SYSCALL_ERROR_HANDLER): Likewise.
51731
c80098a9
DM
51732 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51733 (HAVE_GCC_GOTDATA): New.
51734 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51735 relocation support in both binutils and gcc.
51736 * sysdeps/sparc/elf/configure: Regenerate.
51737
3a2545a0
DM
51738 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51739 * sysdeps/sparc/sparc32/elf/configure: Delete.
51740 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51741 * sysdeps/sparc/sparc64/elf/configure: Delete.
51742 * sysdeps/sparc/elf/configure.in: New file.
51743 * sysdeps/sparc/elf/configure: Generate.
51744
7a8b71c3
DM
51745 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51746 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51747 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51748 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51749 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51750
f1e86fca
JM
517512012-02-21 Joseph Myers <joseph@codesourcery.com>
51752
51753 * manual/install.texi: Do not mention specific glibc version
51754 numbers.
51755 * manual/libc.texinfo (VERSION, UPDATED): Update.
51756 (@copying): Use @copyright{} and range of years.
51757
0e7dfaef
JM
517582012-02-21 Joseph Myers <joseph@codesourcery.com>
51759
51760 [BZ #13695]
51761 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51762 [crti.S not in sysdirs] (generated): Do not append.
51763 [crti.S not in sysdirs] (omit-deps): Likewise.
51764 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51765 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51766 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51767 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51768 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51769 Likewise.
51770 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51771 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51772 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51773 * csu/defs.awk: Remove file.
51774 * sysdeps/generic/initfini.c: Likewise.
51775 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51776 variable.
51777 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51778 Likewise.
51779
599af3ca
JM
517802012-02-20 Joseph Myers <joseph@codesourcery.com>
51781
51782 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51783 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51784 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51786 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51787 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51788 <bits/epoll.h>.
51789 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51790 (__EPOLL_PACKED): Define to empty if not defined by
51791 <bits/epoll.h>.
51792 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51794 bits/epoll.h.
51795
0e499750
JM
517962012-02-20 Joseph Myers <joseph@codesourcery.com>
51797
51798 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51799 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51800 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51801 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51802 <bits/timerfd.h>.
51803 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51805 bits/timerfd.h.
51806
5ad91f6e
JM
518072012-02-20 Joseph Myers <joseph@codesourcery.com>
51808
51809 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51810 in C locale.
51811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51812 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51813 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51815
06b99b02
AJ
518162012-02-20 Aurelien Jarno <aurelien@aurel32.net>
51817
51818 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51819 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51820
7638c0fd
AS
518212012-02-19 Andreas Schwab <schwab@linux-m68k.org>
51822
51823 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51824 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51825 defined.
51826 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51827 Likewise.
51828 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51829 entry for 2.16.
51830
92221550
AJ
518312012-02-19 Aurelien Jarno <aurelien@aurel32.net>
51832
51833 * math/w_acos.c: Use non-signaling floating-point comparisons.
51834 * math/w_acosf.c: Likewise.
51835 * math/w_acosh.c: Likewise.
51836 * math/w_acoshf.c: Likewise.
51837 * math/w_acoshl.c: Likewise.
51838 * math/w_acosl.c: Likewise.
51839 * math/w_asin.c: Likewise.
51840 * math/w_asinf.c: Likewise.
51841 * math/w_asinl.c: Likewise.
51842 * math/w_atanh.c: Likewise.
51843 * math/w_atanhf.c: Likewise.
51844 * math/w_atanhl.c: Likewise.
51845 * math/w_exp2.c: Likewise.
51846 * math/w_exp2f.c: Likewise.
51847 * math/w_exp2l.c: Likewise.
51848 * math/w_j0.c: Likewise.
51849 * math/w_j0f.c: Likewise.
51850 * math/w_j0l.c: Likewise.
51851 * math/w_j1.c: Likewise.
51852 * math/w_j1f.c: Likewise.
51853 * math/w_j1l.c: Likewise.
51854 * math/w_jn.c: Likewise.
51855 * math/w_jnf.c: Likewise.
51856 * math/w_log.c: Likewise.
51857 * math/w_log10.c: Likewise.
51858 * math/w_log10f.c: Likewise.
51859 * math/w_log10l.c: Likewise.
51860 * math/w_log2.c: Likewise.
51861 * math/w_log2f.c: Likewise.
51862 * math/w_log2l.c: Likewise.
51863 * math/w_logf.c: Likewise.
51864 * math/w_logl.c: Likewise.
51865 * math/w_sqrt.c: Likewise.
51866 * math/w_sqrtf.c: Likewise.
51867 * math/w_sqrtl.c: Likewise.
51868 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51869 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
51870 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51871 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51872 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51873
ebaf36eb
JM
518742012-02-19 Joseph Myers <joseph@codesourcery.com>
51875
51876 [BZ #9739]
51877 * manual/string.texi (strnlen): Use correct parameter name in
51878 equivalent expression.
51879
71c254a6
JM
518802012-02-19 Joseph Myers <joseph@codesourcery.com>
51881
51882 [BZ #11174]
51883 * manual/users.texi (seteuid): Consistently use neweuid for
51884 argument name.
51885
16d2c631
JM
518862012-02-19 Joseph Myers <joseph@codesourcery.com>
51887
51888 [BZ #13704]
51889 * manual/nss.texi (Services in the NSS configuration): Correct
51890 list of services in example configuration file.
51891
cd837b09
NB
518922012-02-19 Nick Bowler <nbowler@draconx.ca>
51893
51894 [BZ #11322]
51895 * manual/arith.texi: Remove statements about negative zero
51896 behaving identically to zero.
51897
02c4bbad
JM
518982012-02-18 Joseph Myers <joseph@codesourcery.com>
51899
51900 [BZ #5993]
51901 * manual/install.texi: Do not document upgrading from libc5.
51902
366842e7
JM
519032012-02-18 Joseph Myers <joseph@codesourcery.com>
51904
51905 [BZ #4596]
51906 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51907
dd54084d
DM
519082012-02-18 David S. Miller <davem@davemloft.net>
51909
51910 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51911 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51912 %o7 across the call.
51913 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51914 instead.
51915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51916 SETUP_PIC_REG_LEAF.
51917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51918 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51919 * sysdeps/sparc/crtn.S: Likewise.
51920
2bcc53a3
UD
519212012-02-17 Ulrich Drepper <drepper@gmail.com>
51922
51923 * aout/Makefile: Remove.
51924
09c093b5
RK
519252012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
51926
51927 [BZ #13058]
51928 * manual/examples/argp-ex1.c (main): Format definition in GNU
51929 style.
51930 * manual/examples/argp-ex2.c (main): Likewise.
51931 * manual/examples/argp-ex3.c (main): Likewise.
51932 * manual/examples/argp-ex4.c (main): Likewise.
51933 * manual/examples/longopt.c (main): Use new-style prototype
51934 definition.
51935 * manual/examples/strncat.c (main): Specify return type and use
51936 (void) for arguments.
51937 * manual/examples/subopt.c (main): Use char **argv argument.
51938
2ee633a2
JM
519392012-02-17 Joseph Myers <joseph@codesourcery.com>
51940
51941 [BZ #5077]
51942 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51943 rounding modes.
51944
0520adde
FB
519452012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
51946
51947 [BZ #6907]
51948 * manual/string.texi (strchr): Change when strchrnul is
51949 recommended.
51950
3f4081cd
DGM
519512012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
51952
51953 [BZ #174]
51954 * manual/locale.texi (setlocale): Document LOCPATH.
51955
d1b10e78
JM
519562012-02-17 Joseph Myers <joseph@codesourcery.com>
51957
51958 [BZ #10210]
51959 * manual/process.texi (execle): Move @dots{} before last argument.
51960
79c6869c
PB
519612012-02-17 Paul Bolle <pebolle@tiscali.nl>
51962
51963 [BZ #12047]
51964 * manual/charset.texi (Generic Charset Conversion): Fix typo
51965 (LC_TYPE -> LC_CTYPE).
51966
cc6e48bc
NB
519672012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
51968
51969 [BZ #5805]
51970 * manual/arith.texi (scalbn): Use @var{} on parameter names.
51971 (scalbnf): Likewise.
51972 (scalbnl): Likewise.
51973 (scalbln): Likewise.
51974 (scalblnf): Likewise.
51975 (scalblnl): Likewise.
51976 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51977 (vwarnx): Likewise.
51978 (verr): Likewise.
51979 (verrx): Likewise.
51980 * manual/filesys.texi (telldir): Use braces around return type.
51981 * manual/llio.texi (mmap): Add space after comma.
51982 (mmap64): Likewise.
51983 * manual/math.texi (jn): Use @var{} on parameter names.
51984 (jnf): Likewise.
51985 (jnl): Likewise.
51986 (yn): Likewise.
51987 (ynf): Likewise.
51988 (ynl): Likewise.
51989 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51990 line.
51991 * manual/resource.texi (ulimit): Use @dots{} instead of literal
51992 "...".
51993 (sched_get_priority_min): Remove semicolon on @deftypefun line.
51994 (sched_get_priority_max): Likewise.
51995 * manual/signal.texi (sigvec): Add space after comma.
51996 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51997 names.
51998 (if_indextoname): Likewise.
51999 (if_freenameindex): Likewise.
52000 (sendto): Use ',' instead of '.' in prototype.
52001 * manual/startup.texi (syscall): Use @dots{} instead of literal
52002 "...".
52003 * manual/stdio.texi (__fpending): Separate initial words of
52004 paragraph from @deftypefun line.
52005 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52006 "...".
52007 (vsyslog): Use @var{} on parameter names.
52008 * manual/terminal.texi (stty): Use @var{} on parameter names.
52009 * manual/users.texi (getutmp): Use @var{} on parameter names.
52010 (getutmpx): Likewise.
52011
5b23062f
JM
520122012-02-17 Joseph Myers <joseph@codesourcery.com>
52013
52014 [BZ #6884]
52015 * manual/stdio.texi (fopen): Fix typos in description of
52016 ",ccs=STRING".
52017
8dee4833
AJ
520182012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52019
52020 [BZ #4026]
52021 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52022 get clock_id definition.
52023
9078ce93
TS
520242012-02-17 Thomas Schwinge <thomas@schwinge.name>
52025
52026 [BZ #4822]
52027 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52028 (madvise): Cast every argument to void on its own.
52029
3835c55f
JM
520302012-02-17 Joseph Myers <joseph@codesourcery.com>
52031
52032 [BZ #9902]
52033 * manual/startup.texi (Exit Status): Fix typo.
52034
35c47e37
JM
520352012-02-17 Joseph Myers <joseph@codesourcery.com>
52036
52037 [BZ #10140]
52038 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52039 * manual/examples/argp-ex2.c: Likewise.
52040 * manual/examples/argp-ex3.c: Likewise.
52041
e3b69ca7
RH
520422012-02-16 Richard Henderson <rth@redhat.com>
52043
52044 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52045 * sysdeps/s390/s390-32/initfini.c: Remove.
52046 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52047 * sysdeps/s390/s390-64/initfini.c: Remove.
52048
df83af67
KK
520492012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52050
52051 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52052 compiler output for sysdeps/generic/initfini.c.
52053 * sysdeps/sh/elf/initfini.c: Remove file.
52054
f63f3380
DM
520552012-02-16 David S. Miller <davem@davemloft.net>
52056
fb59b3a4
DM
52057 [BZ #11494]
52058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52059
f63f3380
DM
52060 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52061 * sysdeps/sparc/crti.S: New file.
52062 * sysdeps/sparc/crtn.S: New file.
52063 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52064 * sysdeps/sparc/sparc64/Makefile: Likewise.
52065
df6a4a4a
MF
520662012-02-15 Mike Frysinger <vapier@gentoo.org>
52067
6dd8f3dc 52068 [BZ #3335]
df6a4a4a
MF
52069 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52070
1cac7236
RM
520712012-02-15 Roland McGrath <roland@hack.frob.com>
52072
d2c736f8
RM
52073 [BZ #4822]
52074 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52075
1cac7236
RM
52076 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52077 (write, read, close): Likewise.
52078 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52079
8e475601
JM
520802012-02-15 Joseph Myers <joseph@codesourcery.com>
52081
52082 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52083 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52084 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52085 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52086 <bits/signalfd.h>.
52087 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52089 bits/signalfd.h.
52090
ed656b40
MP
520912012-02-14 Marek Polacek <polacek@redhat.com>
52092
52093 * sysdeps/x86_64/crti.S: New file.
52094 * sysdeps/x86_64/crtn.S: New file.
52095 * sysdeps/x86_64/elf/initfini.c: Remove file.
52096
2a979d3a
JM
520972012-02-13 Joseph Myers <joseph@codesourcery.com>
52098
52099 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52100 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52101 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52102 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52103 <bits/inotify.h>.
52104 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52106 bits/inotify.h.
52107
2a418ac3
JM
521082012-02-13 Joseph Myers <joseph@codesourcery.com>
52109
52110 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52111 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52112 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52113 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52114 <bits/eventfd.h>.
52115 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52117 bits/eventfd.h.
52118
fb779be7
TS
521192012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52120
e19e83c5
RM
52121 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52122 __feraiseexcept instead of feraiseexcept.
7c35ffed 52123
fb779be7
TS
52124 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52125 nanosleep invocations.
52126 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52127 strings, and add error checking for a nanosleep invocations.
52128
59ba27a6
PE
521292012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52130
52131 Replace FSF snail mail address with URLs, as per GNU coding standards.
52132 Most of the snail mail addresses were wrong anyway, and omitting
52133 them makes the source code easier to maintain. Almost all of the
52134 changes are to license notices and to locale LC_IDENTIFICATION
52135 addresses, except for this one:
52136 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52137 not its snail mail address.
52138
57b957eb
RH
521392012-02-09 Richard Henderson <rth@twiddle.net>
52140
af850b1c
RH
52141 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52142 of kernel-features.h.
52143
57b957eb
RH
52144 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52145
6b73181a
MP
521462012-02-08 Marek Polacek <polacek@redhat.com>
52147
52148 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52149 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52150 * sysdeps/gnu/_G_config.h: Likewise.
52151 * sysdeps/generic/_G_config.h: Likewise.
52152
26ecc33a
AS
521532012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52154
6c6dbc63
AS
52155 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52156 tests.
52157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52158
e216c012
AS
52159 * sysdeps/powerpc/powerpc32/crti.S: New file.
52160 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52161 * sysdeps/powerpc/powerpc64/crti.S: New file.
52162 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52163
26ecc33a
AS
52164 * Makeconfig (have-initfini): Don't set.
52165 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52166 * configure.in (nopic_initfini): Don't substitute.
52167 * config.h.in (HAVE_INITFINI): Don't #undef.
52168 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52169 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52170
3add8e13
JM
521712012-02-08 Joseph Myers <joseph@codesourcery.com>
52172
52173 Support crti.S and crtn.S provided directly by architectures.
52174 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52175 [crti.S in sysdirs] (omit-deps): Likewise.
52176 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52177 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52178 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52179 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52180 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52181 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52182 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52183 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52184 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52185 compiler output for sysdeps/generic/initfini.c.
52186 * sysdeps/i386/elf/Makefile: Remove file.
52187 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52188
a22f12b4
MP
521892012-02-07 Marek Polacek <polacek@redhat.com>
52190
52191 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52192 * sysdeps/gnu/_G_config.h: Likewise.
52193 * sysdeps/mach/hurd/_G_config.h: Likewise.
52194
148cf100
MP
521952012-02-07 Marek Polacek <polacek@redhat.com>
52196
52197 * math/Makefile (tests): Add tst-CMPLX2.
52198 * math/tst-CMPLX2.c: New file.
52199
cfdc0dd7
AS
522002012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52201
84ba42c4
AS
52202 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52203
cfdc0dd7
AS
52204 * math/libm-test.inc (jn_test): Add missing L suffix.
52205
622c86f4
MP
522062012-02-06 Marek Polacek <polacek@redhat.com>
52207
52208 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52209 * sysdeps/i386/fpu/e_powf.S: Likewise.
52210 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52211 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52212 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52213 * sysdeps/i386/fpu/e_pow.S: Likewise.
52214 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52215 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52216 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52217 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52218 * sysdeps/i386/fpu/e_log2.S: Likewise.
52219 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52220 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52221 * sysdeps/i386/fpu/e_powl.S: Likewise.
52222 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52223 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52224 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52225 * sysdeps/i386/fpu/e_logl.S: Likewise.
52226 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52227 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52228 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52229 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52230 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52231 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52232 * sysdeps/i386/fpu/e_log.S: Likewise.
52233 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52234 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52235 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52236 * sysdeps/i386/fpu/e_logf.S: Likewise.
52237 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52238 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52239 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52240 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52241 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52242 * sysdeps/i386/fpu/e_log10.S: Likewise.
52243 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52244 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52245 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52246 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52247 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52248 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52249 * sysdeps/i386/asm-syntax.h: Likewise.
52250 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52251 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52252 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52253 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52254 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52255 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52256 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52257 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52258 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52259 * sysdeps/powerpc/sysdep.h: Likewise.
52260 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52261 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52262
d4a54ac6
JM
522632012-02-06 Joseph Myers <joseph@codesourcery.com>
52264
52265 [BZ #411]
52266 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52267
314054ea
JM
522682012-02-06 Joseph Myers <joseph@codesourcery.com>
52269
52270 * sysdeps/i386/sysdep.h: Include <features.h>.
52271 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52272 version.
52273
d8e0ca50
JM
522742012-02-05 Joseph Myers <joseph@codesourcery.com>
52275
52276 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52277 Define.
52278 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52279 LOAD_PIC_REG_STR.
52280
b1da7dd9
JM
522812012-02-03 Joseph Myers <joseph@codesourcery.com>
52282
52283 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52284 (SETUP_PIC_REG): Use GET_PC_THUNK.
52285 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52286 macro.
52287
9a1d9254
JM
522882012-02-03 Joseph Myers <joseph@codesourcery.com>
52289
52290 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52291 for non-PIC compilation.
52292 (SETUP_PIC_REG): Add .p2align directive.
52293 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52294 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52295 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52296 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52297 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52298 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52299 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52300 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52301 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52302 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52303 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52304 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52305 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52306 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52307 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52308 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52309 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52310 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52311 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52312 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52313 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52314 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52315 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52316 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52317 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52319 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52320 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52321 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52322 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52323 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52324 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52325 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52326 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52327 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52328 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52329 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52330 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52331 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52332 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52333 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52334
65dc3b75
JM
523352012-02-03 Joseph Myers <joseph@codesourcery.com>
52336
52337 * math/tst-CMPLX.c: Include <stdio.h>.
52338
d55bf177
JM
523392012-01-31 Joseph Myers <joseph@codesourcery.com>
52340
52341 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52342 float.
52343 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52344 * sysdeps/sparc/bits/mathdef.h: Likewise.
52345
69db4f8f
MP
523462012-01-31 Marek Polacek <polacek@redhat.com>
52347
52348 * libio/libio.h: Don't define _PARAMS.
52349 * locale/programs/config.h: Don't define PARAMS.
52350 * stdlib/strtol_l.c: Likewise.
52351 (__strtol_l): Remove PARAMS from the prototype.
52352
41b81892
UD
523532012-01-31 Ulrich Drepper <drepper@gmail.com>
52354
3b49edc0
UD
52355 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52356 names. Just use the correct names. Remove unnecessary wrapper
52357 functions.
52358 * malloc/arena.c: Likewise.
52359 * malloc/hooks.c: Likewise.
52360
41b81892
UD
52361 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52362 ARENA_TEST says not to. Simplify test for creation of a new arena.
52363 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52364
27a25b6e
UD
523652012-01-30 Ulrich Drepper <drepper@gmail.com>
52366
52367 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52368 into tail calls.
52369 (update_get_addr): New function.
52370 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52371 GET_ADDR_MODULE parameter.
52372
c8a89e7d
JM
523732012-01-30 Joseph Myers <joseph@codesourcery.com>
52374
52375 * crypt/cert.c: Remove __STDC__ conditionals.
52376 * crypt/crypt-entry.c: Likewise.
52377 * crypt/crypt_util.c: Likewise.
52378 * libio/filedoalloc.c: Likewise.
52379 * libio/fileops.c: Likewise.
52380 * libio/genops.c: Likewise.
52381 * libio/iofclose.c: Likewise.
52382 * libio/iofdopen.c: Likewise.
52383 * libio/iofopen.c: Likewise.
52384 * libio/iofopen64.c: Likewise.
52385 * libio/iogetdelim.c: Likewise.
52386 * libio/iopopen.c: Likewise.
52387 * libio/obprintf.c: Likewise.
52388 * libio/oldfileops.c: Likewise.
52389 * libio/oldiofclose.c: Likewise.
52390 * libio/oldiofdopen.c: Likewise.
52391 * libio/oldiofopen.c: Likewise.
52392 * libio/oldiopopen.c: Likewise.
52393 * libio/wfiledoalloc.c: Likewise.
52394 * libio/wgenops.c: Likewise.
52395 * locale/programs/xmalloc.c: Likewise.
52396 * misc/syslog.c: Likewise.
52397 * stdio-common/xbug.c: Likewise.
52398 * string/memchr.c: Likewise.
52399 * string/memcmp.c: Likewise.
52400 * string/memrchr.c: Likewise.
52401 * string/rawmemchr.c: Likewise.
52402 * sysdeps/posix/getcwd.c: Likewise.
52403 * time/strftime_l.c: Likewise.
52404
3b100462
JM
524052012-01-30 Joseph Myers <joseph@codesourcery.com>
52406
52407 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
52408 * config.make.in (config-cflags-sse2avx): Define.
52409 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52410 Fix typo.
52411
607998af
CM
524122012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52413
52414 * scripts/config.guess: Update from upstream config git repository.
52415 * scripts/config.sub: Likewise.
52416
3601428f
CM
524172012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52418
3ac8b282
CM
52419 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52420 (EM_NUM): Update.
52421 (R_TILEPRO_*, R_TILEGX_*): New macros.
52422
e034841e
CM
52423 * scripts/firstversions.awk: Fix bug in version range handling.
52424
540d7568
CM
52425 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52426
3601428f
CM
52427 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52428
463de862
CM
52429 * include/sys/epoll.h: New file.
52430 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52431 libc_hidden_def.
52432
73139a76
UD
524332012-01-28 Ulrich Drepper <drepper@gmail.com>
52434
96bc5b45
UD
52435 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52436 Avoid unnecessary __WORDSIZE == 64 test.
52437 (fmaxf): Use VEX format if possible.
52438 (fmax): Likewise.
52439 (fminf): Likewise.
52440 (fmin): Likewise.
52441
56f6f6a2
UD
52442 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52443 * math/math_private.h: Remove libc_fegetround* and
52444 libc_fesetround*.
52445 * sysdeps/i386/configure.in: Check for -msse2avx.
52446 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52447 also if SSE2AVX is defined.
52448 Remove libc_fegetround* and libc_fesetround*.
52449 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52450 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52452 of HAS_YMM_USABLE.
52453 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52454 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52455 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52456 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52457 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52458
73139a76
UD
52459 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52460
d73f93a4
AZ
524612012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52462
52463 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52464 size is not set.
52465 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52466
6ee65ed6
UD
524672012-01-27 Ulrich Drepper <drepper@gmail.com>
52468
52469 [BZ #13618]
52470 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52471 relocation.
52472 * Makeconfig (libm): Define.
52473 * elf/Makefile: Add rules to build and run tst-relsort1.
52474 * elf/tst-relsort1.c: New file.
52475 * elf/tst-relsort1mod1.c: New file.
52476 * elf/tst-relsort1mod2.c: New file.
52477
8db21882
JM
524782012-01-27 Joseph Myers <joseph@codesourcery.com>
52479
52480 * math/s_ldexp.c: Remove __STDC__ conditionals.
52481 * math/s_ldexpf.c: Likewise.
52482 * math/s_ldexpl.c: Likewise.
52483 * math/s_nextafter.c: Likewise.
52484 * math/s_nexttowardf.c: Likewise.
52485 * math/s_significand.c: Likewise.
52486 * math/s_significandf.c: Likewise.
52487 * math/s_significandl.c: Likewise.
52488 * math/w_jnl.c: Likewise.
52489 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52490 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52491 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52492 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52493 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52495 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52496 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52497 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52498 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52499 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52500 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52501 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52502 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52503 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52504 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52505 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52506 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52507 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52508 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52509 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52510 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52511 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52512 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52513 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52514 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52515 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52516 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52517 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52518 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52519 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52520 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52521 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52522 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52523 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52524 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52525 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52526 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52527 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52528 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52529 * sysdeps/ieee754/k_standard.c: Likewise.
52530 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52531 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52532 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52533 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52534 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52535 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52536 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52537 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52538 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52539 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52540 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52541 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52542 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52543 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52544 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52545 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52546 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52548 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52549 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52550 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52551 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52552 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52553 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52554 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52555 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52556 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52557 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52559 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52560 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52561 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52562 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52563 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52565 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52566 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52567 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52568 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52569 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52570 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52571 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52572 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52573 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52574 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52575 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52576 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52577 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52578 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52579 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52580 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52581 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52582 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52583 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52584 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52585 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52586 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52587 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52588 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52589 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52590 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52591 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52592 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52593 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52594 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52595 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52596 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52597 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52598 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52599 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52600 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52601 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52602 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52603 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52604 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52605 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52606 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52607 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52608 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52609 * sysdeps/ieee754/s_matherr.c: Likewise.
52610 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52611 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52613 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52614
965a54a4
JM
526152012-01-26 Joseph Myers <joseph@codesourcery.com>
52616
52617 * crypt/md5.h: Remove __STDC__ conditionals.
52618 * libio/libioP.h: Likewise.
52619 * locale/programs/config.h: Likewise.
52620 * sysdeps/generic/sysdep.h: Likewise.
52621 * sysdeps/i386/asm-syntax.h: Likewise.
52622 * sysdeps/s390/asm-syntax.h: Likewise.
52623 * sysdeps/unix/sysdep.h: Likewise.
52624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52626
7071ad79
JM
526272012-01-26 Joseph Myers <joseph@codesourcery.com>
52628
52629 * libio/libio.h: Remove __STDC__ conditionals.
52630 * malloc/obstack.h: Likewise.
52631 * math/complex.h: Likewise.
52632 * math/math.h: Likewise.
52633 * sysdeps/generic/_G_config.h: Likewise.
52634 * sysdeps/gnu/_G_config.h: Likewise.
52635 * sysdeps/mach/hurd/_G_config.h: Likewise.
52636 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52637 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52638 * sysdeps/sparc/bits/mathdef.h: Likewise.
52639
afc5ed09
UD
526402012-01-26 Ulrich Drepper <drepper@gmail.com>
52641
52642 [BZ #13583]
52643 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 52644 Clean up HAS_* macros.
afc5ed09 52645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
52646 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52647 possible.
52648 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52649 HAS_AVX.
52650 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52651 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52652 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52653 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52654 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 52655
bdb6de1d
JM
526562012-01-25 Joseph Myers <joseph@codesourcery.com>
52657
52658 * elf/tst-unique3.cc (gets): Remove declaration.
52659 * elf/tst-unique3lib.cc (gets): Likewise.
52660 * elf/tst-unique3lib2.cc (gets): Likewise.
52661 * elf/tst-unique4.cc (gets): Likewise.
52662
b15549e6
UD
526632012-01-24 Ulrich Drepper <drepper@gmail.com>
52664
52665 * include/stdio.h: Add C++ protection. Add gets declarations and
52666 definitions.
52667 * debug/tst-chk1.c: Don't declare gets here.
52668 * stdio-common/tst-gets.c: Likewise.
52669
a037381f
JM
526702012-01-24 Joseph Myers <joseph@codesourcery.com>
52671
52672 * posix/glob: Remove directory.
52673
f1d4aa75
JM
526742012-01-24 Joseph Myers <joseph@codesourcery.com>
52675
52676 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52677
81c0c964
PT
526782012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52679
52680 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52681 of the non-standard EPFNOSUPPORT.
52682
0ea698ae
ST
526832011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52684
52685 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52686 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52687 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52688
d220b117
UD
526892012-01-21 Ulrich Drepper <drepper@gmail.com>
52690
52691 * wcsmbs/uchar.h: Test __STDC_VERSION__.
52692
3e1aa84e
UD
526932012-01-20 Ulrich Drepper <drepper@gmail.com>
52694
52695 * nscd/aicache.c (addhstaiX): Do not cache negative results of
52696 transient errors.
52697 * nscd/grpcache.c (cache_addgr): Likewise.
52698 * nscd/hstcache.c (cache_addhst): Likewise.
52699 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52700 * nscd/pwdcache.c (cache_addpw): Likewise.
52701 * nscd/servicescache.c (cache_addserv): Likewise.
52702
400aa020
UD
527032012-01-16 Ulrich Drepper <drepper@gmail.com>
52704
d77e7869
UD
52705 * malloc/malloc.c: Various cleanups.
52706 * malloc/hooks.c: Likewise.
52707
400aa020
UD
52708 * stdlib/Makefile (tests): Add bug-fmtmsg1.
52709 * stdlib/bug-fmtmsg1.c: New file.
52710
52711 * stdlib/fmtmsg.c (init): Add missing unlock.
52712 Patch by Peng Haitao <penght@cn.fujitsu.com>.
52713
e0a309cf
MP
527142012-01-12 Marek Polacek <polacek@redhat.com>
52715
52716 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52717 and _GNU_SOURCE.
52718
929d11c7
WS
527192012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52720
52721 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52722 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52723 macro to ensure uniqueness of label name.
52724 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52725 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52726
41d0e869
UD
527272012-01-11 Ulrich Drepper <drepper@gmail.com>
52728
0cc5ed3b
UD
52729 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52730
41d0e869
UD
52731 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52732 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52733 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52734 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52735
a47a831a
UD
527362012-01-10 Ulrich Drepper <drepper@gmail.com>
52737
daa891c0
UD
52738 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52739
52740 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52741 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52742 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52743
e58ef0f2
UD
52744 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52745
a47a831a 52746 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
52747 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52748 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 52749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
52750
52751 * math/bits/math-finite.h: Add ldexp support.
52752
a0bfc9c7
MP
527532012-01-10 Marek Polacek <polacek@redhat.com>
52754
52755 * locale/programs/localedef.h (show_archive_content): Add noreturn
52756 attribute.
52757
d6e97a1d
UD
527582012-01-09 Ulrich Drepper <drepper@gmail.com>
52759
52760 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52761
d5835c26
UD
527622012-01-08 Ulrich Drepper <drepper@gmail.com>
52763
e5f484c6
UD
52764 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52765
d5835c26
UD
52766 * io/Makefile (headers): Add bits/poll2.h.
52767
d1f741e9
WS
527682011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
52769
52770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52771 typo #include statement.
52772
ec09c1c4
UD
527732012-01-08 Ulrich Drepper <drepper@gmail.com>
52774
52775 * include/sys/cdefs.h: Define __attribute_alloc_size.
52776 * catgets/gencat.c: Add alloc_size attribute and apply consistently
52777 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52778 * elf/pldd.c: Likewise.
52779 * iconv/iconv_charmap.c: Likewise.
52780 * iconv/iconvconfig.c: Likewise.
52781 * iconv/strtab.c: Likewise.
52782 * locale/programs/locale.c: Likewise.
52783 * locale/programs/localedef.h: Likewise.
52784 * locale/programs/simple-hash.c: Likewise.
52785 * nscd/nscd.h: Likewise.
52786 * nss/makedb.c: Likewise.
52787 * sysdeps/generic/ldconfig.h: Likewise.
52788 * locale/programs/localedef.c: Remove xmalloc prototype.
52789 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52790
20b38e03
PP
527912012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52792
52793 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52794 appropriate.
52795
a0da5fe1
UD
527962012-01-08 Ulrich Drepper <drepper@gmail.com>
52797
1d5a644a 52798 * math/Makefile (tests): Add tst-CMPLX.
669704fd 52799 * math/tst-CMPLX.c: New file.
1d5a644a 52800
8784a6db
UD
52801 * math/complex.h (CMPLXL): Fix typo.
52802
d9a216c0
UD
52803 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52804 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52805 GLIBC_2.16.
52806 * debug/tst-chk1.c: Add poll and ppoll tests.
52807 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52808 * include/sys/poll.h: Add hidden proto for ppoll.
52809 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52810 * sysdeps/mach/hurd/ppoll.c: Likewise.
52811 * io/ppoll.c: Likewise.
52812 * debug/poll_chk.c: New file.
52813 * debug/ppoll_chk.c: New file.
52814 * include/bits/poll2.h: New file.
52815 * io/bits/poll2.h: New file.
52816
ac097f5c
UD
52817 [BZ #1350]
52818 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52819
2119dcfa
UD
52820 * configure.in: static is always set to yes. Remove.
52821 * config.make.in: Don't set build-static.
52822 * Makeconfig: Remove use of build-static.
52823 * dlfcn/Makefile: Likewise.
52824 * elf/Makefile: Likewise.
52825 * math/Makefile: Likewise.
52826 * misc/Makefile: Likewise.
52827 * nptl/Makefile: Likewise.
52828 * sysdeps/mach/hurd/Makefile: Likewise.
52829
121766a9
UD
52830 * configure.in: PWD_P is not used anymore.
52831 * config.make.in: Remove PWD_P entry.
52832
51a1d39c 52833 * configure.in: Remove last remnants of RANLIB.
8720d066 52834 No need to check for signed size_t anymore.
215f4bdc
UD
52835 Don't set libc_commonpagesize and libc_relro_required here for Alpha
52836 and IA-64.
3857022a 52837 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
52838 * aclocal.m4: Likewise.
52839
d3ed7225
UD
52840 * wcsmbs/mbrtoc16.c: Implement using towc function.
52841 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52842 * wcsmbs/wcsmbsload.c: Likewise.
52843 * iconv/gconv_simple.c: Likewise.
52844 * iconv/gconv_int.h: Likewise.
52845 * iconv/gconv_builtin.h: Likewise.
52846 * iconv/iconv_prog.c: Remove CHAR16 handling.
52847
52848 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52849
52850 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52851
a0da5fe1
UD
52852 * configure.in: Remove --with-elf and --enable-bounded options.
52853 Dont set base_machine for ia64. More non-ELF conditions removed.
52854 Remove testing and setting of leading underscore information.
52855 * config.make.in (build-bounded): Set to no.
52856 * config.h.in: Remove NO_UNDERSCORES entry.
52857 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
52858 them.
52859 * csu/start.c: Remove !NO_UNDERSCORE code.
52860 * locale/localeinfo.h: Likewise.
52861 * sysdeps/generic/machine-gmon.h: Likewise.
52862 * sysdeps/generic/sysdep.h: Likewise.
52863 * sysdeps/i386/sysdep.h: Likewise.
52864 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52865 * sysdeps/mach/sysdep.h: Likewise.
52866 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52867 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52868 * sysdeps/sh/sysdep.h: Likewise.
52869 * sysdeps/sparc/sparc32/alloca.S: Likewise.
52870 * sysdeps/unix/i386/sysdep.S: Likewise.
52871 * sysdeps/unix/sparc/start.c: Likewise.
52872 * sysdeps/unix/sparc/sysdep.S: Likewise.
52873 * sysdeps/unix/sparc/sysdep.h: Likewise.
52874 * sysdeps/unix/start.c: Likewise.
52875 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52876 * sysdeps/x86_64/sysdep.h: Likewise.
52877
df78418a
UD
528782012-01-07 Ulrich Drepper <drepper@gmail.com>
52879
a784e502
UD
52880 [BZ #13553]
52881 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52882 for non-gcc.
52883 * argp/argp-fmtstream.h: Use const instead __const.
52884 * argp/argp.h: Likewise.
52885 * assert/assert.h: Likewise.
52886 * bits/fenv.h: Likewise.
52887 * bits/sched.h: Likewise.
52888 * bits/sigset.h: Likewise.
52889 * bits/sigthread.h: Likewise.
52890 * catgets/nl_types.h: Likewise.
52891 * conform/data/pthread.h-data: Likewise.
52892 * crypt/crypt-private.h: Likewise.
52893 * crypt/crypt.h: Likewise.
52894 * crypt/crypt_util.c: Likewise.
52895 * ctype/ctype.h: Likewise.
52896 * debug/execinfo.h: Likewise.
52897 * debug/mbsnrtowcs_chk.c: Likewise.
52898 * debug/mbsrtowcs_chk.c: Likewise.
52899 * debug/wcsnrtombs_chk.c: Likewise.
52900 * debug/wcsrtombs_chk.c: Likewise.
52901 * debug/wcstombs_chk.c: Likewise.
52902 * dirent/dirent.h: Likewise.
52903 * dlfcn/dlfcn.h: Likewise.
52904 * elf/neededtest4.c: Likewise.
52905 * grp/grp.h: Likewise.
52906 * gshadow/gshadow.h: Likewise.
52907 * iconv/gconv.h: Likewise.
52908 * iconv/gconv_int.h: Likewise.
52909 * iconv/gconv_simple.c: Likewise.
52910 * iconv/iconv.h: Likewise.
52911 * iconv/loop.c: Likewise.
52912 * iconv/skeleton.c: Likewise.
52913 * include/aio.h: Likewise.
52914 * include/aliases.h: Likewise.
52915 * include/argz.h: Likewise.
52916 * include/arpa/inet.h: Likewise.
52917 * include/assert.h: Likewise.
52918 * include/dirent.h: Likewise.
52919 * include/dlfcn.h: Likewise.
52920 * include/execinfo.h: Likewise.
52921 * include/fcntl.h: Likewise.
52922 * include/fenv.h: Likewise.
52923 * include/glob.h: Likewise.
52924 * include/grp.h: Likewise.
52925 * include/libintl.h: Likewise.
52926 * include/mntent.h: Likewise.
52927 * include/netdb.h: Likewise.
52928 * include/pwd.h: Likewise.
52929 * include/rpc/netdb.h: Likewise.
52930 * include/sched.h: Likewise.
52931 * include/search.h: Likewise.
52932 * include/shadow.h: Likewise.
52933 * include/signal.h: Likewise.
52934 * include/stdio.h: Likewise.
52935 * include/stdlib.h: Likewise.
52936 * include/string.h: Likewise.
52937 * include/sys/socket.h: Likewise.
52938 * include/sys/stat.h: Likewise.
52939 * include/sys/statfs.h: Likewise.
52940 * include/sys/statvfs.h: Likewise.
52941 * include/sys/syslog.h: Likewise.
52942 * include/sys/time.h: Likewise.
52943 * include/sys/uio.h: Likewise.
52944 * include/time.h: Likewise.
52945 * include/unistd.h: Likewise.
52946 * include/utmp.h: Likewise.
52947 * include/wchar.h: Likewise.
52948 * include/wctype.h: Likewise.
52949 * inet/aliases.h: Likewise.
52950 * inet/arpa/inet.h: Likewise.
52951 * inet/netinet/ether.h: Likewise.
52952 * inet/netinet/in.h: Likewise.
52953 * intl/libintl.h: Likewise.
52954 * io/bits/fcntl2.h: Likewise.
52955 * io/fcntl.h: Likewise.
52956 * io/ftw.h: Likewise.
52957 * io/sys/poll.h: Likewise.
52958 * io/sys/stat.h: Likewise.
52959 * io/sys/statfs.h: Likewise.
52960 * io/sys/statvfs.h: Likewise.
52961 * io/utime.h: Likewise.
52962 * libio/bits/stdio.h: Likewise.
52963 * libio/bits/stdio2.h: Likewise.
52964 * libio/libio.h: Likewise.
52965 * libio/libioP.h: Likewise.
52966 * libio/stdio.h: Likewise.
52967 * locale/lc-ctype.c: Likewise.
52968 * locale/locale.h: Likewise.
52969 * login/utmp.h: Likewise.
52970 * malloc/arena.c: Likewise.
52971 * malloc/malloc.c: Likewise.
52972 * malloc/malloc.h: Likewise.
52973 * malloc/mcheck.c: Likewise.
52974 * malloc/mtrace.c: Likewise.
52975 * math/bits/mathcalls.h: Likewise.
52976 * math/fenv.h: Likewise.
52977 * math/math_private.h: Likewise.
52978 * misc/bits/error.h: Likewise.
52979 * misc/bits/syslog.h: Likewise.
52980 * misc/err.h: Likewise.
52981 * misc/error.h: Likewise.
52982 * misc/fstab.h: Likewise.
52983 * misc/mntent.h: Likewise.
52984 * misc/regexp.h: Likewise.
52985 * misc/search.h: Likewise.
52986 * misc/sgtty.h: Likewise.
52987 * misc/sys/mman.h: Likewise.
52988 * misc/sys/syslog.h: Likewise.
52989 * misc/sys/uio.h: Likewise.
52990 * misc/sys/xattr.h: Likewise.
52991 * misc/ttyent.h: Likewise.
52992 * nis/rpcsvc/ypclnt.h: Likewise.
52993 * nss/nss.h: Likewise.
52994 * posix/bits/unistd.h: Likewise.
52995 * posix/fnmatch.h: Likewise.
52996 * posix/glob.h: Likewise.
52997 * posix/sched.h: Likewise.
52998 * posix/spawn.h: Likewise.
52999 * posix/sys/wait.h: Likewise.
53000 * posix/unistd.h: Likewise.
53001 * posix/wordexp.h: Likewise.
53002 * pwd/pwd.h: Likewise.
53003 * resolv/netdb.h: Likewise.
53004 * resource/sys/resource.h: Likewise.
53005 * rt/aio.h: Likewise.
53006 * rt/bits/mqueue2.h: Likewise.
53007 * rt/mqueue.h: Likewise.
53008 * shadow/shadow.h: Likewise.
53009 * signal/signal.h: Likewise.
53010 * socket/send.c: Likewise.
53011 * socket/sendto.c: Likewise.
53012 * socket/sys/socket.h: Likewise.
53013 * stdio-common/printf.h: Likewise.
53014 * stdlib/bits/stdlib.h: Likewise.
53015 * stdlib/fmtmsg.h: Likewise.
53016 * stdlib/monetary.h: Likewise.
53017 * stdlib/stdlib.h: Likewise.
53018 * stdlib/ucontext.h: Likewise.
53019 * streams/stropts.h: Likewise.
53020 * string/argz.h: Likewise.
53021 * string/bits/string2.h: Likewise.
53022 * string/string.h: Likewise.
53023 * string/strings.h: Likewise.
53024 * sunrpc/rpc/auth.h: Likewise.
53025 * sunrpc/rpc/auth_des.h: Likewise.
53026 * sunrpc/rpc/clnt.h: Likewise.
53027 * sunrpc/rpc/netdb.h: Likewise.
53028 * sunrpc/rpc/pmap_clnt.h: Likewise.
53029 * sunrpc/rpc/xdr.h: Likewise.
53030 * sysdeps/generic/inttypes.h: Likewise.
53031 * sysdeps/generic/net/if.h: Likewise.
53032 * sysdeps/generic/sys/swap.h: Likewise.
53033 * sysdeps/gnu/net/if.h: Likewise.
53034 * sysdeps/gnu/utmpx.h: Likewise.
53035 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53036 * sysdeps/i386/i486/bits/string.h: Likewise.
53037 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53038 * sysdeps/s390/bits/string.h: Likewise.
53039 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53040 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53041 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53042 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53043 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53044 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53045 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53046 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53047 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53048 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53049 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53050 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53051 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53052 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53053 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53054 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53055 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53057 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53058 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53059 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53060 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53061 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53062 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53063 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53064 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53065 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53066 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53067 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53068 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53069 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53070 * sysvipc/sys/ipc.h: Likewise.
53071 * sysvipc/sys/msg.h: Likewise.
53072 * sysvipc/sys/sem.h: Likewise.
53073 * sysvipc/sys/shm.h: Likewise.
53074 * termios/termios.h: Likewise.
53075 * time/sys/time.h: Likewise.
53076 * time/time.h: Likewise.
53077 * wcsmbs/bits/wchar2.h: Likewise.
53078 * wcsmbs/uchar.h: Likewise.
53079 * wcsmbs/wchar.h: Likewise.
53080 * wctype/wctype.h: Likewise.
53081
0269750c
UD
53082 [BZ #13551]
53083 * Makeconfig: Remove all but ELF support including AIX support.
53084 * Makerules: Likewise.
53085 * config.h.in: Likewise.
53086 * config.make.in: Likewise.
53087 * configure: Likewise.
53088 * configure.in: Likewise.
53089 * csu/Makefile: Likewise.
53090 * csu/version.c: Likewise.
53091 * debug/Makefile: Likewise.
53092 * dlfcn/Makefile: Likewise.
53093 * elf/Makefile: Likewise.
53094 * extra-lib.mk: Likewise.
53095 * iconv/Makefile: Likewise.
53096 * include/libc-symbols.h: Likewise.
53097 * include/shlib-compat.h: Likewise.
53098 * resolv/Makefile: Likewise.
53099 * resolv/res_libc.c: Likewise.
53100 * rt/Makefile: Likewise.
53101 * sysdeps/i386/asm-syntax.h: Likewise.
53102 * sysdeps/i386/sysdep.h: Likewise.
53103 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53104 * sysdeps/mach/sysdep.h: Likewise.
53105 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53106 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53107 * sysdeps/s390/asm-syntax.h: Likewise.
53108 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53110 * sysdeps/sh/sysdep.h: Likewise.
53111 * sysdeps/unix/sparc/sysdep.h: Likewise.
53112 * sysdeps/wordsize-32/divdi3.c: Likewise.
53113 * sysdeps/x86_64/sysdep.h: Likewise.
53114
00bbd29b
UD
53115 * argp/Versions: Remove _argp_unlock_xxx.
53116
53117 [BZ #13559]
53118 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53119 * abilist/libBrokenLocale.abilist: Likewise.
53120 * abilist/libanl.abilist: Likewise.
53121 * abilist/libc.abilist: Likewise.
53122 * abilist/libcrypt.abilist: Likewise.
53123 * abilist/libdl.abilist: Likewise.
53124 * abilist/libm.abilist: Likewise.
53125 * abilist/libnsl.abilist: Likewise.
53126 * abilist/libpthread.abilist: Likewise.
53127 * abilist/libresolv.abilist: Likewise.
53128 * abilist/librt.abilist: Likewise.
53129 * abilist/libthread_db.abilist: Likewise.
53130 * abilist/libutil.abilist: Likewise.
53131 * abilist/libnss_db.abilist: New file.
53132
53133 * scripts/abilist.awk: Add support for indirect functions.
53134
a2693a0e
UD
53135 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53136
3f05895f
UD
53137 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53138
ecb6fb48
UD
53139 * shlib-versions: Remove entries for ports architectures.
53140
664f8cb9
UD
53141 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53142 files in ports.
53143 * elf/stackguard-macros.h: Remove support for IA-64.
53144 * elf/tst-auditmod1.c: Likewise.
53145 * sysdeps/generic/ldsodefs.h: Likewise.
53146
7ae81d88
UD
53147 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53148 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53149 configure files.
53150
bdeba135
UD
53151 [BZ #13552]
53152 * configure.in: Remove --enable-omitfp support.
53153 * FAQ.in: Adjust.
53154 * config.make.in: Likewise.
53155 * Makeconfig: Likewise.
53156 * manual/install.texi: Likewise.
53157
d75a0a62
UD
53158 In case anyone cares, the IA-64 architecture could move to ports.
53159 * sysdeps/ia64/*: Removed.
53160 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 53161 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 53162
dcc9756b
UD
53163 [BZ #13555]
53164 * configure.in: Remove entries for unsupported architectures.
53165
d3761ebc 53166 [BZ #13533]
9954432e
UD
53167 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53168 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53169 routines.
53170 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53171 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53172 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53173 fall back to using wcrtomb.
53174 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53175 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53176 renaming.
53177 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53178 * wcsmbs/tst-c16c32-1.c: New file.
53179
53180 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53181 local variable.
53182
c3a87236
UD
53183 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53184
28926a1b
UD
53185 * elf/tst-unique3.cc: Add explicit declaration of gets.
53186 * elf/tst-unique3lib.cc: Likewise.
53187 * elf/tst-unique3lib2.cc: Likewise.
53188 * elf/tst-unique4.cc: Likewise.
53189
df78418a
UD
53190 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53191
8ecd6b2a
JM
531922012-01-06 Joseph Myers <joseph@codesourcery.com>
53193
53194 [BZ #13566]
53195 * assert/assert.h (static_assert): Don't define for C++.
53196 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53197 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53198
9f115170
UD
531992012-01-03 Ulrich Drepper <drepper@gmail.com>
53200
5e0d0300
UD
53201 * iconv/loop.c (single loop): Fix assertion in storing of
53202 remaining bytes.
53203
9f115170
UD
53204 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53205
81fb02b0
UD
532062012-01-01 Ulrich Drepper <drepper@gmail.com>
53207
53208 * posix/getconf.c: Update copyright year.
53209 * nss/getent.c: Likewise.
a316c1f6 53210 * nss/makedb.c: Likewise.
81fb02b0
UD
53211 * iconv/iconvconfig.c: Likewise.
53212 * iconv/iconv_prog.c: Likewise.
53213 * elf/ldconfig.c: Likewise.
a316c1f6
UD
53214 * elf/pldd.c: Likewise.
53215 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
53216 * catgets/gencat.c: Likewise.
53217 * csu/version.c: Likewise.
53218 * elf/ldd.bash.in: Likewise.
53219 * elf/sprof.c (print_version): Likewise.
53220 * locale/programs/locale.c: Likewise.
53221 * locale/programs/localedef.c: Likewise.
a316c1f6 53222 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
53223 * nscd/nscd.c (print_version): Likewise.
53224 * debug/xtrace.sh: Likewise.
53225 * malloc/memusage.sh: Likewise.
53226 * malloc/mtrace.pl: Likewise.
53227 * debug/catchsegv.sh: Likewise.
53228
2ba92745
JJ
532292011-12-30 Jakub Jelinek <jakub@redhat.com>
53230
53231 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53232 pure attribute.
53233
dadebdae
UD
532342011-12-24 Ulrich Drepper <drepper@gmail.com>
53235
d3761ebc 53236 [BZ #13533]
db6af3eb
UD
53237 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53238 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53239 transformations.
53240 * iconv/gconv_int.h: Likewise.
53241 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53242 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53243 from libc for GLIBC_2.16.
53244 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53245 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53246 * wcsmbs/uchar.h: Really define mbstate_t.
53247 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53248 * wcsmbs/c16rtomb.c: New file.
53249 * wcsmbs/mbrtoc16.c: New file.
53250 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53251 for C/POSIX locale.
53252 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53253 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53254
dadebdae
UD
53255 * wcsmbs/wchar.h: Add missing __restrict.
53256
67371b56
UD
532572011-12-23 Ulrich Drepper <drepper@gmail.com>
53258
74033a25
UD
53259 [BZ #13532]
53260 * time/Makefile (routines): Add timespec_get.
53261 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53262 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53263 timespec for ISO C11.
53264 * time/timespec_get.c: New file.
53265 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53266 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53267
380d7e87
UD
53268 [BZ #13531]
53269 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53270 * stdlib/stdlib.h: Declare aligned_alloc.
53271 * Versions.def: Add GLIBC_2.16 for libc.
53272 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53273
4e9e7a35
UD
53274 [BZ 13527]
53275 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53276 ISO C11.
53277
380d7e87 53278 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
53279 code.
53280
03a71829
UD
53281 [BZ #13528]
53282 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53283
839e283e
UD
53284 [BZ #13529]
53285 * assert/assert.h (static_assert): Define.
53286
ce5294e2 53287 * version.h: Update for 2.16 development version.
90fa7312 53288
8d44e150 53289 [BZ #13526]
d7809905
UD
53290 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53291 _ISOC11_SOURCE.
53292
c0da14cd
UD
53293 * version.h (RELEASE): Bump for 2.15 release.
53294 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53295
530a3249
MP
53296 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53297 Patch by Marek Polacek <mpolacek@redhat.com>.
53298
67371b56
UD
53299 * bits/byteswap.h: Protect long long constants with __extension__.
53300 * sysdeps/i386/bits/byteswap.h: Likewise.
53301 * sysdeps/ia64/bits/byteswap.h: Likewise.
53302 * sysdeps/s390/bits/byteswap.h: Likewise.
53303 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53304
15db4de1
LD
533052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53306
53307 [BZ #13540]
bbe315ea
LD
53308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53309 destination buffer.
15db4de1
LD
53310 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53311
2b2596b1
MP
533122011-12-23 Marek Polacek <polacek@redhat.com>
53313
53314 * elf/dl-addr.c (determine_info): Add inline keyword.
53315 * elf/tst-auditmod4b.c (check_avx): Likewise.
53316 * elf/tst-auditmod6b.c (check_avx): Likewise.
53317 * elf/tst-auditmod6c.c (check_avx): Likewise.
53318 * elf/tst-auditmod7b.c (check_avx): Likewise.
53319
70c6c246
UD
533202011-12-23 Ulrich Drepper <drepper@gmail.com>
53321
53322 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53323 !__SSE_MATH__.
53324
c044cf14
LD
533252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53326
15db4de1 53327 [BZ #13540]
c044cf14
LD
53328 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53329 processing for last bytes.
53330
6b13d9d9
BH
533312011-08-06 Bruno Haible <bruno@clisp.org>
53332
d455f537
BH
53333 [BZ #13061]
53334 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53335 U+0385, not to U+1FEE.
53336
6b13d9d9
BH
53337 [BZ #13062]
53338 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53339 entry for U+00A5 U+0301.
53340
db910efd
UD
533412011-12-22 Ulrich Drepper <drepper@gmail.com>
53342
27deeafc
UD
53343 [BZ #13166]
53344 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53345 buffer for the output is too small.
53346
aed9d171
UD
53347 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53348 optimization.
53349
db910efd
UD
53350 [BZ #13185]
53351 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53352 SSE flags if possible.
53353
2bd779ae
LD
533542011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53355
e7f9dac3 53356 [BZ #13540]
2bd779ae
LD
53357 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53358 processing for last bytes.
53359
154bfc16
JM
533602011-12-22 Joseph Myers <joseph@codesourcery.com>
53361
53362 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53363 (syscall-list-default-options, syscall-list-default-condition)
53364 (syscall-list-includes): Define.
53365 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53366 list of ABIs and options and #if conditions for each ABI. Do not
53367 handle common syscalls between ABIs specially.
53368 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53369 Remove.
53370 (syscall-list-variants, syscall-list-32bit-options)
53371 (syscall-list-32bit-condition, syscall-list-64bit-options)
53372 (syscall-list-64bit-condition): Define.
53373 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53374 (syscall-list-variants, syscall-list-32bit-options)
53375 (syscall-list-32bit-condition, syscall-list-64bit-options)
53376 (syscall-list-64bit-condition): Define.
53377 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53378 Remove.
53379 (syscall-list-variants, syscall-list-32bit-options)
53380 (syscall-list-32bit-condition, syscall-list-64bit-options)
53381 (syscall-list-64bit-condition): Define.
53382 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53383 Remove.
53384 (syscall-list-variants, syscall-list-32bit-options)
53385 (syscall-list-32bit-condition, syscall-list-64bit-options)
53386 (syscall-list-64bit-condition): Define.
53387
21eaf3a5
UD
533882011-12-22 Ulrich Drepper <drepper@gmail.com>
53389
16c6f992
UD
53390 * locale/iso-639.def: Add brx entry.
53391
41043168
UD
53392 [BZ #13328]
53393 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53394 Proposed by Mariusz_Cukr <marcukr@op.pl>.
53395
21eaf3a5
UD
53396 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53397 __feraiseexcept_renamed.
53398
e3a851a2
UD
533992011-12-21 Ulrich Drepper <drepper@gmail.com>
53400
4920765e
UD
53401 [BZ #13538]
53402 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53403 EPOLLET with unsigned values.
53404 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53405 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53406
e3a851a2
UD
53407 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53408 to large cancellation.
53409 * math/s_cacoshf.c: Likewise.
53410 * math/s_cacoshl.c: Likewise.
53411
b27e24b8
RK
534122011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53413
53414 [BZ #13305]
aebefeee 53415 [BZ #12786]
b27e24b8
RK
53416 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53417 * math/s_cacoshf.c: Likewise.
53418 * math/s_cacoshl.c: Likewise.
53419
ee190f67
UD
534202011-12-21 Ulrich Drepper <drepper@gmail.com>
53421
53422 [BZ #13439]
53423 * iconv/gconv.h: Define __GCONV_SWAP.
53424 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53425 * iconvdata/utf-16.c: Likewise.
53426 * iconvdata/utf-32.c: Likewise.
53427
707f25df
AS
534282011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53429
53430 [BZ #13524]
53431 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53432 numerator after shifting it by one limb.
53433
d2daaa1e
RÁE
534342011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53435
53436 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53437 under [__USE_EXTERN_INLINES].
53438
a4647e72
UD
534392011-12-17 Ulrich Drepper <drepper@gmail.com>
53440
53441 [BZ #13446]
53442 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53443
f0b264f1
AZ
534442011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53445
53446 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53447 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53448 optimized code.
53449 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53450 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53451 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53452 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53453 for strncasecmp/strncasecmp_l compilation.
53454 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53455 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53456
8ef4f244
MP
534572011-12-08 Marek Polacek <mpolacek@redhat.com>
53458
53459 [BZ #13484]
53460 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53461 of __asm__.
53462
97ac2654
UD
534632011-12-17 Ulrich Drepper <drepper@gmail.com>
53464
53465 [BZ #13506]
53466 * time/tzfile.c (__tzfile_read): Check values from file header.
53467
91d2a845
WS
534682011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53469
53470 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53471 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53472 * powerpc/powerpc32/dl-start.S: Likewise.
53473 * powerpc/powerpc32/elf/start.S: Likewise.
53474 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53475 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53476 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53477 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53478 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53479 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53480 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53481 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53482 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53483 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53484 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53485 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53486 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53487 * powerpc/powerpc32/memset.S: Likewise.
53488 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53489 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53490 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53491 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53492 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53493 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53494 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53495 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53496 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53497 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53498 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53499 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53500 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53501
a1267ba1
AZ
535022011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53503
53504 * math/libm-test.inc: Added more nearbyint tests.
53505 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53506 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53507 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53508 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53509
ad8ac1bd
RL
535102011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53511
53512 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53513 FD_CLOEXEC.
53514
1d3e4b61
UD
535152011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53516
53517 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53518 Add wcscpy-ssse3 wcscpy-c.
53519 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53520 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53521 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53522 * sysdeps/x86_64/wcschr.S: New file.
53523 * sysdeps/x86_64/wcsrchr.S: New file.
53524 * string/test-strcmp.c: Remove checking of wcscmp function for
53525 wrong alignments.
53526 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53527 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53528 wcsrchr-sse2 wcsrchr-c.
53529 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53530 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53531 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53532 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53533 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53534 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53535 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53536 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53537 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53538 * wcsmbc/wcschr.c (WCSCHR): New macro.
53539
5b330a2d
UD
535402011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53541
53542 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53543 * wcsmbs/test-wcsrchr.c: New file.
53544 * string/test-strrchr.c: Add wcsrchr support.
53545 (WIDE): New macro.
53546 * wcsmbs/test-wcscpy.c: New file.
53547 * string/test-strcpy.c: Add wcscpy support.
53548 (WIDE): New macro.
26428b7c 53549
f039c043
UD
535502011-12-10 Ulrich Drepper <drepper@gmail.com>
53551
53552 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53553 the inner loop.
53554
850fb039
AS
535552011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53556
53557 [BZ #13472]
53558 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53559
4efbd5cb
UD
535602011-12-04 Ulrich Drepper <drepper@gmail.com>
53561
52ff5dd0 53562 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 53563 Minor optimizations.
52ff5dd0 53564
4efbd5cb
UD
53565 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53566 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53567 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53568
8a426e12
UD
535692011-12-03 Ulrich Drepper <drepper@gmail.com>
53570
aff2453d
UD
53571 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53572 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53573 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53574 for gcc to avoid warnings.
53575 * inet/Makefile (tests): Add tst-checks.
53576 * inet/tst-checks.c: New file.
53577
53578 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53579 warning.
53580
53581 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53582 __wmemcmp_sse2.
53583
53584 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53585 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53586
8a426e12
UD
53587 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53588
9bea3473
UD
535892011-12-02 Ulrich Drepper <drepper@gmail.com>
53590
3a965496
UD
53591 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53592 problem.
53593
9bea3473
UD
53594 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53595
f101631b
UD
535962011-11-29 Joseph Myers <joseph@codesourcery.com>
53597
53598 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53599 conditional on GCC version.
53600 (__arch_compare_and_exchange_val_8_acq)
53601 (__arch_compare_and_exchange_val_16_acq)
53602 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53603 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53604 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53605
a98275aa
UD
536062011-12-02 Joseph Myers <joseph@codesourcery.com>
53607
53608 * sysdeps/sh/backtrace.c: New file.
53609
d4cc29a2
AS
536102011-12-02 Andreas Schwab <schwab@redhat.com>
53611
53612 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53613 parenthesis.
53614
6257af2d
AS
536152011-12-01 Andreas Schwab <schwab@redhat.com>
53616
53617 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53618 falling back to utime.
53619
b5f44c1a
AS
536202011-11-30 Andreas Schwab <schwab@redhat.com>
53621
53622 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53623 expectations for float.
53624
f3a6cc0a
AS
536252011-11-29 Andreas Schwab <schwab@redhat.com>
53626
53627 * locale/weight.h (findidx): Add parameter len.
53628 * locale/weightwc.h (findidx): Likewise.
53629 * posix/fnmatch_loop.c (FCT): Adjust caller.
53630 * posix/regcomp.c (build_equiv_class): Likewise.
53631 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53632 * posix/regexec.c (check_node_accept_bytes): Likewise.
53633 * string/strcoll_l.c (STRCOLL): Likewise.
53634 * string/strxfrm_l.c (STRXFRM): Likewise.
53635
9d65ea3a
UD
536362011-11-17 Ulrich Drepper <drepper@gmail.com>
53637
53638 * Makefile.in: Remove CVSOPT handling.
53639 * configure.in: Remove use of AC_REVISION.
53640 * iconvdata/Makefile (distribute): No need to filter out CVS.
53641 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53642 handling.
53643
5583a086
AS
536442011-11-16 Andreas Schwab <schwab@redhat.com>
53645
53646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53647 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53648 [USE_AS_STRNCASECMP_L]: Likewise.
53649 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53650 NO_TLS_DIRECT_SEG_REFS.
53651 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53652 Fix argument offsets for non-PIC.
53653 [USE_AS_STRNCASECMP_L]: Likewise.
53654 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53655 NO_TLS_DIRECT_SEG_REFS.
53656
d62a8200
UD
536572011-11-15 Ulrich Drepper <drepper@gmail.com>
53658
9d65ea3a 53659 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
53660 O_CLOEXEC.
53661 * locale/loadlocale.c (_nl_load_locale): Likewise.
53662
09f93bd3
AS
536632011-11-15 Andreas Schwab <schwab@redhat.com>
53664
446514f9
AS
53665 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53666 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53667 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53668 (SYSCALL_GETTIME): Set errno on error.
53669
09f93bd3
AS
53670 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53671 count references to noai6ai_cached.
53672
312be3f9
UD
536732011-11-15 Ulrich Drepper <drepper@gmail.com>
53674
53675 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53676
53677 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53678 FD_CLOEXEC for /proc/self/maps.
53679
53680 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53681 FD_CLOEXEC for /proc/meminfo.
53682
53683 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53684 gai.conf.
53685
53686 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53687 FD_CLOEXEC for given file.
53688
53689 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53690
53691 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53692 FD_CLOEXEC for /etc/hosts.
53693 (_gethtent): Likewise.
53694
53695 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53696
53697 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53698 cancellation and set FD_CLOEXEC for /etc/netgroup.
53699
53700 * nss/nss_files/files-key.c (search): Don't allow cancellation when
53701 reading /etc/publickey.
53702
53703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53704 allow cancellation when reading /etc/group.
53705
53706 * nss/nss_files/files-alias.c (internal_setent): Don't allow
53707 cancellation.
53708 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
53709
53710 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53711 when using data file.
53712
53713 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53714
53715 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53716 (write_nis_obj): Use "c" and "e" in fopen.
53717
53718 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53719
53720 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53721
53722 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53723
53724 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53725
53726 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53727 locale.alias.
53728
53729 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53730
53731 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53732
53733 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53734
53735 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53736 file parsing and set FD_CLOEXEC.
53737
82af0fa8
UD
537382011-11-14 Ulrich Drepper <drepper@gmail.com>
53739
53740 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53741
a5fb313c
AS
537422011-11-14 Andreas Schwab <schwab@redhat.com>
53743
53744 * malloc/arena.c (arena_get2): Don't call reused_arena when
53745 _int_new_arena failed.
53746
6abf3465
UD
537472011-11-14 Ulrich Drepper <drepper@gmail.com>
53748
53749 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53750 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53751 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53752 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53753 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53754 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53755 to compile strcasecmp and strncasecmp.
53756 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53757 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53758
53759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53760
76e3966e
UD
537612011-11-13 Ulrich Drepper <drepper@gmail.com>
53762
53763 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53764 locale-defines.sym to gen-as-const-headers.
53765 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53766 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53768 to compile strcasecmp and strncasecmp.
53769 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53770 strcasecmp_l and strncasecmp_l.
53771 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53772 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53773 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53774 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53775 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53776 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53777 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53778 * sysdeps/i386/i686/multiarch/strncase.S: New file.
53779 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53780 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53781 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53782
ab26144e
UD
537832011-11-12 Ulrich Drepper <drepper@gmail.com>
53784
7edb22ef
UD
53785 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53786 result of SYSDEP_GETTIME_CPU to retval.
53787 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53788 parameter list to macro. Remove trailing semicolon. Adjust users.
53789
9694fc44
UD
53790 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53791 variable.
53792
8ad89ef8
UD
53793 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53794 mantissa words.
53795 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53796
0c822ef9
UD
53797 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53798 from unused variable.
53799
874e0564
UD
53800 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53801 DWARF definitions.
53802 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53803 for assembling.
53804
3a2edc79
UD
53805 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53806 over namespaces.
53807
f3c2577f
UD
53808 * sunrpc/rpc_prot.c (rejected): Fix case value.
53809
294ce126
UD
53810 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53811 unsigned long long int to avoid warnings in shift.
53812
5e2b63c6
UD
53813 * posix/regex_internal.c (re_string_reconstruct): Actually use result
53814 of use of trans.
53815 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53816 variable tmp.
53817
e7f4b08e
UD
53818 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53819 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53820 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53821
ab26144e
UD
53822 * nis/nis_table.c (nis_list): Use variable of correct type for
53823 result of __follow_path call.
53824
8a6d5255
AZ
538252011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53826
53827 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53828 of math functions ceil, trunc, floor, round, and sqrt, when
53829 avaliable on the platform.
53830 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53831 name clash.
53832 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53833 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53834 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53835
aaddc98c
MP
538362011-10-30 Marek Polacek <mpolacek@redhat.com>
53837
53838 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53839 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53840
95b7042b
RM
538412011-11-11 Roland McGrath <roland@hack.frob.com>
53842
53843 * include/unistd.h: Fix __readlink return type.
53844 Reported by Chris Metcalf <cmetcalf@tilera.com>.
53845
57769839
UD
538462011-11-11 Ulrich Drepper <drepper@gmail.com>
53847
53848 * stdlib/ucontext.h: Undo last change for makecontext.
53849
edc5984d
AS
538502011-11-11 Andreas Schwab <schwab@redhat.com>
53851
98591e58
AS
53852 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53853
edc5984d
AS
53854 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53855 * setjmp/setjmp.h: Mark functions as non-leaf.
53856 * setjmp/bits/setjmp2.h: Likewise.
53857 * stdlib/ucontext.h: Likewise.
53858
77cdc054
AS
538592011-11-10 Andreas Schwab <schwab@redhat.com>
53860
53861 * malloc/arena.c (_int_new_arena): Don't increment narenas.
53862 (reused_arena): Don't check arena limit.
53863 (arena_get2): Atomically check arena limit.
53864
fe72eebd
UD
538652011-11-08 Ulrich Drepper <drepper@gmail.com>
53866
5f078c32
UD
53867 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
53868 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
53869
fe72eebd
UD
53870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53871 instructions.
53872
ae1bc2fa
AS
538732011-11-07 Andreas Schwab <schwab@redhat.com>
53874
7583a88d
AS
53875 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53876 handler when locking.
53877
ae1bc2fa
AS
53878 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53879 Fix size of allocated buffer.
53880
10fb0bfa
AS
538812011-11-04 Andreas Schwab <schwab@redhat.com>
53882
998832a4
AS
53883 [BZ #10103]
53884 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53885 declarations for long double functions.
53886 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53887
10fb0bfa
AS
53888 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53889
3d7ba52b
AS
538902011-11-03 Andreas Schwab <schwab@redhat.com>
53891
a9ae54a1
AS
53892 * nscd/nscd.c (main): Don't start AVC thread until credentials are
53893 installed.
53894
3d7ba52b
AS
53895 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53896 is disabled.
53897
bc8db248
ST
538982011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
53899
53900 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53901
45b96dd6
AS
539022011-11-01 Andreas Schwab <schwab@linux-m68k.org>
53903
647776f6
AS
53904 * include/alloca.h (stackinfo_alloca_round): Define.
53905 (extend_alloca): Use it.
53906 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53907 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53908 here.
53909
d91a8b93
AS
53910 * scripts/check-local-headers.sh: Ignore libaudit.h.
53911
45b96dd6
AS
53912 * nscd/Makefile (extra-objs): Make recursively expanded.
53913
432d41ce
UD
539142011-11-01 Ulrich Drepper <drepper@gmail.com>
53915
34372fc6
UD
53916 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53917 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53918
fadb59f8
UD
53919 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53920 * posix/tst-rfc3484-2.c: Likewise.
53921 * posix/tst-rfc3484-3.c: Likewise.
53922
78239589
UD
53923 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53924 process_vm_writev.
53925 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53926 process_vm_writev.
53927 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53928 process_vm_writev from libc using GLIBC_2.15 version.
53929
432d41ce
UD
53930 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53931
02f9c6cf
PP
539322011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
53933
53934 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53935 stack usage.
53936
3a2c0242
UD
539372011-10-31 Ulrich Drepper <drepper@gmail.com>
53938
f4ec4833
UD
53939 [BZ #13367]
53940 * nss/getent.c (initgroups_keys): Show error message in case no group
53941 names are given.
53942
3a2c0242
UD
53943 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53944 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53945 __bump_nl_timestamp.
53946 * nscd/connections (nscd_init): When host database is served open
53947 netlink socket and request notification about configuration changes.
53948 (main_loop_poll): Track netlink file descriptor and bump timestamp
53949 in case data becomes available.
53950 (main_loop_epoll): Likewise.
53951 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53952 (database_pers_head): Add extra_data fileds.
53953 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53954 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53955 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53956 Adjust caller.
53957 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53958 in6ai data, call __free_in6ai.
53959 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53960 Add -DHAVE_NETLINK.
53961 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
53962 interface information. Reuse previous data if netlink timestamp
53963 is not changed.
53964 (__bump_nl_timestamp): New function.
53965 (__free_in6ai): New function.
53966
636064eb
UD
539672011-10-30 Ulrich Drepper <drepper@gmail.com>
53968
53969 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53970 close_not_cancel_no_status here.
53971 (__check_pf): Reorganize code a bit to not call close twice if OOM.
53972
9beb2334
UD
539732011-10-29 Ulrich Drepper <drepper@gmail.com>
53974
6ef76f3b
UD
53975 [BZ #13276]
53976 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53977 return value.
53978
0ffc4f3e 53979 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
53980 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53981 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53982
cb95113e
UD
539832011-07-03 Andreas Jaeger <aj@suse.de>
53984
53985 [BZ #10709]
53986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53987 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53988 * math/libm-test.inc (sin_test): Add test case.
53989
a1b560ff
UD
539902011-10-29 Ulrich Drepper <drepper@gmail.com>
53991
c9aaface
UD
53992 [BZ #13337]
53993 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53994 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53995
d272e7f1
UD
53996 * elf/chroot_canon.c (chroot_canon): Cleanups.
53997
1bc33071
UD
53998 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
53999
1760874d
TJ
54000 [BZ #13335]
54001 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54002 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54003
51d91b18
UD
54004 * string/test-strchr.c: Make usable for strchrnul testing.
54005 * string/test-strchrnul.c: New file.
54006 * string/Makefile (strop-tests): Add strchrnul.
54007
a1b560ff 54008 * po/it.po: Update from translation team.
b611fb81 54009 * po/es.po: Likewise.
a1b560ff 54010
a5b81e1f
UD
540112011-10-28 Ulrich Drepper <drepper@gmail.com>
54012
fd52bc6d
UD
54013 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54014 the three constants needed as parameters. Drop the others.
54015 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54016 __m128i_strloadu_tolower.
52e4b9eb
UD
54017 Create and initialize variable zero and use it in all the places
54018 where _mm_setzero_si128 was used.
fd52bc6d 54019
a5b81e1f
UD
54020 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54021 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54022 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54023 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54024 anymore.
54025 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54026 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54027 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54028 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54029 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54030 __mpranred, __mptan.
54031 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54032 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54033 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54034 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54035 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54036 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54037 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54038 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54039 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54040
b4343346
AS
540412011-10-28 Andreas Schwab <schwab@redhat.com>
54042
0c92d8a8
AS
54043 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54044 redefine if SHARED.
54045 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54046
b4343346
AS
54047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54048 wide char related routines to wcsmbs subdir.
54049
3871f58f
AS
540502011-10-27 Andreas Schwab <schwab@redhat.com>
54051
54052 [BZ #13344]
54053 * misc/sys/cdefs.h (__THROWNL): Define.
54054 * posix/unistd.h: Use __THREADNL instead of __THREAD
54055 for memory synchronization functions.
54056
94d44d9f
RM
540572011-10-26 Roland McGrath <roland@hack.frob.com>
54058
21b64b15 54059 [BZ #13349]
94d44d9f
RM
54060 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54061 doesn't exist.
54062 * manual/stdio.texi (Obstack Streams): Node removed.
54063
f6ce9294
AS
540642011-10-26 Andreas Schwab <schwab@redhat.com>
54065
80479147
AS
54066 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54067 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54068 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54069
f6ce9294
AS
54070 * math/math_private.h (math_force_eval): Allow non-addressable
54071 arguments.
54072 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54073
618280a1
UD
540742011-10-25 Ulrich Drepper <drepper@gmail.com>
54075
e0016b11
UD
54076 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54077 file is not needed.
54078
54079 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54081 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54082 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54083 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54084 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54085 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54086 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54087 Add AVX variants.
54088 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54089 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54090 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54091 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54092 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54093 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54094 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54095 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54096 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54097 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54098 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54099 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54100 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54101 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54102 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54103 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54104 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54105 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54106 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54107
54108 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54109 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54110
618280a1
UD
54111 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54112 place. Use VEX encoding when compiling for AVX.
54113
37822576
AS
541142011-10-25 Andreas Schwab <schwab@redhat.com>
54115
1f1e1947
AS
54116 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54117 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54118
37822576
AS
54119 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54120
31ea014d
UD
541212011-10-25 Ulrich Drepper <drepper@gmail.com>
54122
d7826aa1 54123 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 54124 useless if() expression.
d7826aa1
UD
54125 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54126 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54127 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54128 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54129 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54130 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54131 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54132 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54133 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54134 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54135 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54136 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54137 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54138 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54139 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54140 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54141 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54142 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54143 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54144
31ea014d
UD
54145 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54146
16437fec
AS
541472011-10-25 Andreas Schwab <schwab@redhat.com>
54148
54149 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54150 condition.
54151 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54152
31d3cc00
UD
541532011-10-25 Ulrich Drepper <drepper@gmail.com>
54154
54155 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54156 .text section. Avoid duplicate constants.
54157 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54159 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54161 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54165 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54166 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54167 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54168 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54169 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54170 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54171 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54172 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54173 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54174 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54177 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54178 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54179 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54180 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54181 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54182 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54183 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54184 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54185 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54186 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54187 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54188 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54189 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54190 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54191 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54192 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54193 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54194 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54195 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54196 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54197 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54198 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54199 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54200 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54201 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54202
58985aa9
UD
542032011-10-24 Ulrich Drepper <drepper@gmail.com>
54204
202c9deb
UD
54205 * sysdeps/x86_64/dla.h: Move to ...
54206 * sysdeps/x86_64/fpu/dla.h: ...here.
54207 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54208 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 54209
af968f62
UD
54210 * config.make.in: Add have-mfma4 entry.
54211 * configure.in: Substitute libc_cv_cc_fma4.
54212 * math/Makefile (dbl-only-routines): Add sincostab.
54213 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54214 Use __sincostab not sincos.
54215 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54216 name is a macro.
54217 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54221 using __copysign.
54222 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54223 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54224 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54225 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54226 and __inv.
54227 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54228 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54229 __copysign.
54230 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54231 define aliases when function name is a macro.
54232 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54233 sysdeps/ieee754/dbl-64/sincos.tbl.
54234 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54235 fma4-enabled routines.
54236 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54237 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54238 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54239 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54240 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54241 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54243 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54245 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54246 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54247 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54248 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54249 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54250 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54251 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54252 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54253 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54254 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54256 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54257 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54258 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54259 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54260 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54261 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54262 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54263 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54264 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54265 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54266
58985aa9
UD
54267 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54268 rename.
54269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54270 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54276 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54277
a201fbcf
AS
542782011-10-24 Andreas Schwab <schwab@redhat.com>
54279
54280 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54281
fc2ee42a
LD
542822011-10-23 Ulrich Drepper <drepper@gmail.com>
54283
bb3129bd
UD
54284 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54285
0275fff8
UD
54286 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54287 prediction.
54288 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54289
2fa2ae85
UD
54290 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54291 Remove unused variable magic_bits.
54292 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54293
fc2ee42a
LD
54294 * string/strnlen.c: Define and use STRNLEN macro.
54295 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54296 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54298 * wcsmbs/wcslen.c: Define and use WCSLEN.
54299 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54300 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54301 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54302 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54303 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54304 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54305 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54306
ce7dd29f
LD
543072011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54308
54309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54310 strnlen-sse2-no-bsf.
54311 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54312 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54313 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54314 Add strnlen support.
54315 (USE_AS_STRNLEN): New macro.
54316 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54317 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54318 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54319 * sysdeps/x86_64/wcslen.S: New file.
54320
979c70a3
MZ
543212011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54322
54323 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54324 XMM-moves are used for copying on small sizes.
54325
2d09f82f
LD
543262011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54327
54328 * wcsmbs/Makefile (strop-tests): Add wcschr.
54329 * wcsmbs/test-wcschr.c: New file.
54330 * string/test-strchr.c: Update.
54331 Add wcschr support.
54332 (WIDE): New macro.
54333
619fccca
LD
543342011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54335
2d09f82f 54336 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
54337 * wcsmbs/test-wcslen.c: New file.
54338 * string/test-strlen.c: Update.
54339 Add wcslen support.
54340 (WIDE): New macro.
54341
09f699ea
UD
543422011-10-23 Ulrich Drepper <drepper@gmail.com>
54343
54344 * po/it.po: Update from translation team.
54345
95584d3b
LD
543462011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54347
54348 * sysdeps/x86_64/wcscmp.S: Update.
54349 Fix wrong comparison semantics.
54350 wcscmp shall use signed comparison not unsigned.
54351 Don't use substraction to avoid overflow bug.
54352 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54353 * wcsmbc/wcscmp.c: Likewise.
54354 * string/test-strcmp.c: Likewise.
54355 Add new tests to check cases with negative values.
54356
c8b3296b
UD
543572011-10-23 Ulrich Drepper <drepper@gmail.com>
54358
54359 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54360 * sysdeps/x86_64/dla.h: ...here. New file.
54361 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54363 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54364 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54366 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54370
246ad57a
AS
543712011-10-23 Andreas Schwab <schwab@linux-m68k.org>
54372
54373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54374 __ynl_finite aliases.
54375
a1a87169
UD
543762011-10-22 Ulrich Drepper <drepper@gmail.com>
54377
0d355eb7
UD
54378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54379
a1a87169
UD
54380 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54381 define DLA_FMA.
54382 [DLA_FMA] (EMULV): Use DLA_FMA.
54383 [DLA_FMA] (MUL12): Use EMULV.
54384 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54385 that are not needed.
54386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54391 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54393
ee2aafe0
AS
543942011-10-22 Andreas Schwab <schwab@linux-m68k.org>
54395
54396 * math/s_nan.c: Undef __nan.
54397 * math/s_nanf.c: Undef __nanf.
54398 * math/s_nanl.c: Undef __nanl.
54399 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54400 "math_private.h".
54401
bc62c2fb
UD
544022011-10-22 Ulrich Drepper <drepper@gmail.com>
54403
77425c63
UD
54404 * math/s_catan.c: Add branch predictions.
54405 * math/s_catanf.c: Likewise.
54406 * math/s_catanh.c: Likewise.
54407 * math/s_catanhf.c: Likewise.
54408 * math/s_catanhl.c: Likewise.
54409 * math/s_catanl.c: Likewise.
54410 * math/s_cexp.c: Likewise.
54411 * math/s_cexpf.c: Likewise.
54412 * math/s_cexpl.c: Likewise.
54413 * math/s_clog.c: Likewise.
54414 * math/s_clog10.c: Likewise.
54415 * math/s_clog10f.c: Likewise.
54416 * math/s_clog10l.c: Likewise.
54417 * math/s_clogf.c: Likewise.
54418 * math/s_clogl.c: Likewise.
54419 * math/s_csqrt.c: Likewise.
54420 * math/s_csqrtf.c: Likewise.
54421 * math/s_csqrtl.c: Likewise.
54422 * math/s_ctanf.c: Likewise.
54423 * math/s_ctanh.c: Likewise.
54424 * math/s_ctanhf.c: Likewise.
54425 * math/s_ctanhl.c: Likewise.
54426 * math/s_ctanl.c: Likewise.
54427
bc62c2fb
UD
54428 * math/math_private.h: Define __nan, __nanf, __nanl.
54429 * math/s_cacosh.c: Include <math_private.h>.
54430 * math/s_cacoshl.c: Likewise.
54431 * math/s_casinh.c: Likewise.
54432 * math/s_casinhf.c: Likewise.
54433 * math/s_casinhl.c: Likewise.
54434 * math/s_ccos.c: Rely entire on ccosh.
54435 * math/s_ccosf.c: Rely entire on ccoshf.
54436 * math/s_ccosl.c: Rely entirely on ccoshl.
54437 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54438 Remove tests for FE_INVALID.
54439 * math/s_ccoshf.c: Likewise.
54440 * math/s_ccoshl.c: Likewise.
54441 * math/s_csin.c: Likewise.
54442 * math/s_csinf.c: Likewise.
54443 * math/s_csinh.c Likewise.
54444 * math/s_csinhf.c: Likewise.
54445 * math/s_csinhl.c: Likewise.
54446 * math/s_csinl.c: Likewise.
54447 * math/s_ctan.c: Likewise.
54448 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54449 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54450 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54451
8ec250a4
UD
544522011-10-21 Ulrich Drepper <drepper@gmail.com>
54453
c196fed8
UD
54454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54455 compilation problems.
54456
8ec250a4
UD
54457 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54458 __builtin_expect.
54459
8d4f46c6
UD
544602011-10-20 Ulrich Drepper <drepper@gmail.com>
54461
ed72b654
UD
54462 * sysdeps/i386/configure.in: Test for -mfma4 option.
54463 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54464 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54465 COMMON_CPUID_INDEX_80000001.
54466 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54467 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54468 use it if FMA3 is not supported.
54469 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54470
8d4f46c6
UD
54471 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54472 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54473
d45c60c2
AS
544742011-10-20 Andreas Schwab <schwab@redhat.com>
54475
54476 [BZ #12892]
54477 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54478 it would create a cycle with a link time dependency.
54479
d9a4d2ab
UD
544802011-10-19 Ulrich Drepper <drepper@gmail.com>
54481
855d1560
UD
54482 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54483 instruction.
54484 * string/Makefile (strop-tests): Add rawmemchr.
54485 * string/test-rawmemchr.c: New file.
54486
d9a4d2ab
UD
54487 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54488 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54489 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54490 when compiling str{,n}casecmp and when AVX is available. Hook up
54491 new optimized code in initializers.
54492
8f3b1ffe
AS
544932011-10-19 Andreas Schwab <schwab@redhat.com>
54494
54495 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54496 __feraiseexcept instead of feraiseexcept.
54497
d38f1dba
UD
544982011-10-18 Ulrich Drepper <drepper@gmail.com>
54499
d9a8d0ab
UD
54500 * math/math_private.h: Define defaults for libc_fetestexcept and
54501 libc_feupdateenv.
54502 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54503 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54504 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54505 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54506 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54507 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54508 libc_fetestexcept and libc_feupdateenv.
54509
4855e3dd
UD
54510 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54511 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54512 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54513 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54514 libc_feholdexcept_setround.
54515
581d30e3
UD
54516 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54517 Add s_nearbyint-c and s_nearbyintf-c.
54518 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54519 nearbyintf inlines.
54520 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54521 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54522 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54523 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54524
d38f1dba
UD
54525 * math/math_private.h: Define defaults for libc_fegetround,
54526 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54527 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54528 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54529 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54530 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54531 standard functions.
54532 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54533 Remove comments and hacks for old compiler versions.
54534 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54535 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54536 libc_feholdexceptl.
54537
caa6c9d8
AS
545382011-10-18 Andreas Schwab <schwab@redhat.com>
54539
54540 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
54541 (__feraiseexcept_renamed): Add __NTH.
54542 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
54543 namespace violations.
54544
97c066e6
UD
545452011-10-17 Ulrich Drepper <drepper@gmail.com>
54546
99ce7b04
UD
54547 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54548
1004d182
UD
54549 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54550
228a984d
UD
54551 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54552 recently added interfaces.
54553 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54554
c8553a6a
UD
54555 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54556 about macro parameter expansion.
54557
ed22dcf6
UD
54558 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54559 __NO_MATH_INLINES is defined. Cleanups.
54560
54561 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54562 and __floorf is target has SSE4.1.
54563 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54564 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54565 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54566 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54567
b171c137
UD
54568 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54569 name.
54570 (floorf): Likewise.
54571
97c066e6
UD
54572 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54573
629f62ef
AS
545742011-10-17 Andreas Schwab <schwab@redhat.com>
54575
49a43d80
AS
54576 * misc/sys/cdefs.h: Fix last change.
54577
629f62ef
AS
54578 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54579 database lookup.
54580
e453f6cd
UD
545812011-10-16 Ulrich Drepper <drepper@gmail.com>
54582
aa78043a
UD
54583 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54584
ad0f5cad
UD
54585 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54586 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54587 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54588 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54589 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54590 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54591 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54592 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54593 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54594 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54595 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54596 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54597 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54598 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54599 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54600 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54601 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54602 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54603 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54604 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54605 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54606 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54607
54608 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54609 ceil, ceilf, floor, floorf.
54610
54611 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54612 Perform IRELATIVE relocations last.
54613
e453f6cd
UD
54614 * elf/do-rel.h: Add another parameter nrelative, replacing the
54615 local variable with the same name. Change name of the function
54616 to end in Rel or Rela (uppercase).
54617 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54618 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54619 elf_dynamic_do_##reloc function.
54620
fd5bdc09
UD
546212011-10-15 Ulrich Drepper <drepper@gmail.com>
54622
79b195b5
UD
54623 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54624 is sufficient, at least on modern CPUs.
54625
d4a28569
UD
54626 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54627
b61099b5
UD
54628 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54629 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54630
bcf01e6d
UD
54631 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54632 __expl_finite.
54633 * math/bits/math-finite.h: Add entries for exp.
54634 * math/e_expl.c: Add __*_finite alias.
54635 * sysdeps/i386/fpu/e_exp.S: Likewise.
54636 * sysdeps/i386/fpu/e_expf.S: Likewise.
54637 * sysdeps/i386/fpu/e_expl.c: Likewise.
54638 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54639 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54640 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54642 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54643 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54644 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54645
ba1a0d59
UD
54646 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54647 is sufficient, at least on modern CPUs.
54648
fd5bdc09
UD
54649 * ctype/ctype-info.c (__ctype_init): Define.
54650 * include/ctype.h (__ctype_init): Declare.
54651 (__ctype_b_loc): The variable is always initialized.
54652 (__ctype_toupper_loc): Likewise.
54653 (__ctype_tolower_loc): Likewise.
54654 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54655 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54656
7872cfb0
AS
546572011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54658
b468825a
AS
54659 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54660
7872cfb0
AS
54661 * configure.in: Also look in $cxxmachine/include for C++ system
54662 headers.
54663
be13f7bf
LD
546642011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54665
54666 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54667 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54668 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54669 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54670 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54671 (USE_AS_WMEMCMP): New macro.
54672 Fixing indents.
54673 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54674 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54675 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54676 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54678 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54679 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54680 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54681 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54682 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54683 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54684 (USE_AS_WMEMCMP): New macro.
54685 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54686 * sysdeps/string/test-memcmp.c: Update.
54687 Fix simple_wmemcmp.
54688 Add new tests.
54689 * wcsmbs/wmemcmp.c: Update.
54690 (WMEMCMP): New macro.
54691 Fix overflow bug.
54692
556a2007
AJ
546932011-10-12 Andreas Jaeger <aj@suse.de>
54694
54695 [BZ #13268]
54696 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54697
538faaa7
UD
546982011-10-15 Ulrich Drepper <drepper@gmail.com>
54699
ab6737ff
UD
54700 * libio/iofwide.c (do_length): Avoid warning.
54701
538faaa7
UD
54702 * ctype/ctype.h (__isctype_f): Add missing __THROW.
54703
396a21b1
UD
547042011-10-14 Ulrich Drepper <drepper@gmail.com>
54705
cdf2901f
UD
54706 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54707
38ad40ce
UD
54708 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54709 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54710 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54711 * sysdeps/i386/i686/fpu/e_log.S: New file.
54712 * sysdeps/i386/i686/fpu/e_logf.S: New file.
54713 * sysdeps/i386/i686/fpu/e_logl.S: New file.
54714
396a21b1
UD
54715 * ctype/ctype.h: Add support for inlined isXXX functions when
54716 compiling C++ code.
54717
6b1f68c9
AS
547182011-10-14 Andreas Schwab <schwab@redhat.com>
54719
349290c0
AS
54720 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54721
6b1f68c9
AS
54722 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54723
f2282d42
RM
547242011-10-13 Roland McGrath <roland@hack.frob.com>
54725
54726 [BZ #13291]
54727 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54728
5298ffa8
AS
547292011-10-13 Andreas Schwab <schwab@redhat.com>
54730
714fad23
AS
54731 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54732 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54733 feraiseexcept.
54734
81dcc7fb
AS
54735 * sysdeps/x86_64/memrchr.S: Check for zero size.
54736
5298ffa8
AS
54737 * string/stratcliff.c: Add memrchr tests.
54738
951fbcec
LD
547392011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54740
54741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54742 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54743 rawmemchr-sse2 rawmemchr-sse2-bsf.
54744 * sysdeps/i386/i686/multiarch/memchr.S: New file.
54745 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54746 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54747 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54748 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54749 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54750 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54751 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54752 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54753 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54754 * string/memrchr.c (MEMRCHR): New macro.
54755
0ac5ae23
UD
547562011-10-12 Ulrich Drepper <drepper@gmail.com>
54757
54758 Add integration with gcc's -ffinite-math-only and optimize wrapper
54759 functions in libm.
54760 * Versions.def: Define GLIBC_2.15 version for libm.
54761 * math/Makefile (headers): Add bits/math-finite.h.
54762 * math/bits/math-finite.h: New file.
54763 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54764 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54765 * math/e_acoshl.c: Add __*_finite alias.
54766 * math/e_acosl.c: Likewise.
54767 * math/e_asinl.c: Likewise.
54768 * math/e_atan2l.c: Likewise.
54769 * math/e_atanhl.c: Likewise.
54770 * math/e_coshl.c: Likewise.
54771 * math/e_exp10.c: Likewise.
54772 * math/e_exp10f.c: Likewise.
54773 * math/e_exp10l.c: Likewise.
54774 * math/e_exp2l.c: Likewise.
54775 * math/e_fmodl.c: Likewise.
54776 * math/e_gammal_r.c: Likewise.
54777 * math/e_hypotl.c: Likewise.
54778 * math/e_j0l.c: Likewise.
54779 * math/e_j1l.c: Likewise.
54780 * math/e_jnl.c: Likewise.
54781 * math/e_lgammal_r.c: Likewise.
54782 * math/e_log10l.c: Likewise.
54783 * math/e_log2l.c: Likewise.
54784 * math/e_logl.c: Likewise.
54785 * math/e_powl.c: Likewise.
54786 * math/e_sinhl.c: Likewise.
54787 * math/e_sqrtl.c: Likewise.
54788 * math/e_scalb.c: Completely rewritten and optimized.
54789 * math/e_scalbf.c: Likewise.
54790 * math/e_scalbl.c: Likewise.
54791 * math/w_acos.c: Likewise.
54792 * math/w_acosf.c: Likewise.
54793 * math/w_acosl.c: Likewise.
54794 * math/w_acosh.c: Likewise.
54795 * math/w_acoshf.c: Likewise.
54796 * math/w_acoshl.c: Likewise.
54797 * math/w_asin.c: Likewise.
54798 * math/w_asinf.c: Likewise.
54799 * math/w_asinl.c: Likewise.
54800 * math/w_atan2.c: Likewise.
54801 * math/w_atan2f.c: Likewise.
54802 * math/w_atan2l.c: Likewise.
54803 * math/w_atanh.c: Likewise.
54804 * math/w_atanhf.c: Likewise.
54805 * math/w_atanhl.c: Likewise.
54806 * math/w_exp10.c: Likewise.
54807 * math/w_exp10f.c: Likewise.
54808 * math/w_exp10l.c: Likewise.
54809 * math/w_fmod.c: Likewise.
54810 * math/w_fmodf.c: Likewise.
54811 * math/w_fmodl.c: Likewise.
54812 * math/w_j0.c: Likewise.
54813 * math/w_j0f.c: Likewise.
54814 * math/w_j0l.c: Likewise.
54815 * math/w_j1.c: Likewise.
54816 * math/w_j1f.c: Likewise.
54817 * math/w_j1l.c: Likewise.
54818 * math/w_jn.c: Likewise.
54819 * math/w_jnf.c: Likewise.
54820 * math/w_log.c: Likewise.
54821 * math/w_logf.c: Likewise.
54822 * math/w_logl.c: Likewise.
54823 * math/w_log10.c: Likewise.
54824 * math/w_log10f.c: Likewise.
54825 * math/w_log10l.c: Likewise.
54826 * math/w_log2.c: Likewise.
54827 * math/w_log2f.c: Likewise.
54828 * math/w_log2l.c: Likewise.
54829 * math/w_pow.c: Likewise.
54830 * math/w_powf.c: Likewise.
54831 * math/w_powl.c: Likewise.
54832 * math/w_remainder.c: Likewise.
54833 * math/w_remainderf.c: Likewise.
54834 * math/w_remainderl.c: Likewise.
54835 * math/w_scalb.c: Likewise.
54836 * math/w_scalbf.c: Likewise.
54837 * math/w_scalbl.c: Likewise.
54838 * math/w_sqrt.c: Likewise.
54839 * math/w_sqrtf.c: Likewise.
54840 * math/w_sqrtl.c: Likewise.
54841 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54842 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
54843 used.
54844 * math/math_private.h: Declare __kernel_standard_f.
54845 * math/w_cosh.c: Remove cruft and optimize a bit.
54846 * math/w_coshf.c: Likewise.
54847 * math/w_coshl.c: Likewise.
54848 * math/w_exp2.c: Likewise.
54849 * math/w_exp2f.c: Likewise.
54850 * math/w_exp2l.c: Likewise.
54851 * math/w_hypot.c: Likewise.
54852 * math/w_hypotf.c: Likewise.
54853 * math/w_hypotl.c: Likewise.
54854 * math/w_lgamma.c: Likewise.
54855 * math/w_lgamma_r.c: Likewise.
54856 * math/w_lgammaf.c: Likewise.
54857 * math/w_lgammaf_r.c: Likewise.
54858 * math/w_lgammal.c: Likewise.
54859 * math/w_lgammal_r.c: Likewise.
54860 * math/w_sinh.c: Likewise.
54861 * math/w_sinhf.c: Likewise.
54862 * math/w_sinhl.c: Likewise.
54863 * math/w_tgamma.c: Likewise.
54864 * math/w_tgammaf.c: Likewise.
54865 * math/w_tgammal.c: Likewise.
54866 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54867 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54868 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
54869 Minor optimizations. Pretty printing. Remove cruft.
54870 * sysdeps/i386/fpu/e_acosf.S: Likewise.
54871 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54872 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54873 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54874 * sysdeps/i386/fpu/e_acosl.c: Likewise.
54875 * sysdeps/i386/fpu/e_asin.S: Likewise.
54876 * sysdeps/i386/fpu/e_asinf.S: Likewise.
54877 * sysdeps/i386/fpu/e_atan2.S: Likewise.
54878 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54879 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54880 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54881 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54882 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54883 * sysdeps/i386/fpu/e_exp10.S: Likewise.
54884 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54885 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54886 * sysdeps/i386/fpu/e_exp2.S: Likewise.
54887 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54888 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54889 * sysdeps/i386/fpu/e_fmod.S: Likewise.
54890 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54891 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54892 * sysdeps/i386/fpu/e_hypot.S: Likewise.
54893 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54894 * sysdeps/i386/fpu/e_log.S: Likewise.
54895 * sysdeps/i386/fpu/e_log10.S: Likewise.
54896 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54897 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54898 * sysdeps/i386/fpu/e_log2.S: Likewise.
54899 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54900 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54901 * sysdeps/i386/fpu/e_logf.S: Likewise.
54902 * sysdeps/i386/fpu/e_logl.S: Likewise.
54903 * sysdeps/i386/fpu/e_pow.S: Likewise.
54904 * sysdeps/i386/fpu/e_powf.S: Likewise.
54905 * sysdeps/i386/fpu/e_powl.S: Likewise.
54906 * sysdeps/i386/fpu/e_remainder.S: Likewise.
54907 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54908 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54909 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54910 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54911 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54912 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54913 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54914 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54915 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54916 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54918 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54919 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54920 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54921 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54922 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54923 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54924 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54925 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54926 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54927 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54928 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54929 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54930 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54931 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54932 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54933 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54935 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54936 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54937 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54938 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54939 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54940 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54941 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54942 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54943 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54944 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54945 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54946 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54947 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54948 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54949 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54950 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54951 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54952 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54953 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54954 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54955 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54956 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54957 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54958 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54959 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54960 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54961 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54962 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54963 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54964 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54965 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54966 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54967 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54968 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54969 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54970 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54971 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54972 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54973 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54974 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54975 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54976 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54977 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54978 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54979 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54980 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54981 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54982 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54983 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54984 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54985 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54986 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54987 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54988 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54989 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54990 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54991 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54992 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54993 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54994 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54995 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54996 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54997 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54998 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54999 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55000 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55002 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55003 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55004 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55005 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55006 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55007 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55008 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55009 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55010 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55011 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55012 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55013 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55014 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55015 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55016 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55017 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55018 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55019 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55020 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55021 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55022 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55023 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55024 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55025 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55026 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55027 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55028 (__isnanf): Likewise.
55029 (__isinf_ns): Likewise.
55030 (__isinf_nsf): Likewise.
55031 (__finite): Likewise.
55032 (__finitef): Likewise.
55033 (__ieee754_sqrt): Define as macro.
55034 (__ieee754_sqrtf): Define as macro.
55035 (__ieee754_sqrtl): Define as macro.
55036 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55037 inlined copy.
55038 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55039 __FINITE_MATH_ONLY__ consistent.
55040 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55041
12cc2fcd
AS
550422011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55043
a843a204
AS
55044 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55045 of rawmemchr.
55046
12cc2fcd
AS
55047 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55048
c853acd5
UD
550492011-10-09 Ulrich Drepper <drepper@gmail.com>
55050
55051 * po/ja.po: Update from translation team.
55052
c658d255
RM
550532011-10-08 Roland McGrath <roland@hack.frob.com>
55054
110946e4
RM
55055 * locale/programs/locarchive.c (prepare_address_space): New function.
55056 (create_archive, enlarge_archive, open_archive): Use it.
55057
50604220
RM
55058 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55059 inside [SHARED], where it is used.
55060
c658d255
RM
55061 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55062
55063 * nss/getent.c (netgroup_keys): Remove unused variable.
55064 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55065
6a621eb7
UD
550662011-10-08 Ulrich Drepper <drepper@gmail.com>
55067
7edb55ce
UD
55068 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55069 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55070 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55071 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55072 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55073 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55074 * math/Makefile (libm-calls): Add s_isinf_ns.
55075 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55076 * math/multc3.c: Likewise.
55077 * math/s_casin.c: Likewise.
55078 * math/s_casinf.c: Likewise.
55079 * math/s_casinl.c: Likewise.
55080 * math/s_ccos.c: Likewise.
55081 * math/s_ccosf.c: Likewise.
55082 * math/s_ccosl.c: Likewise.
55083 * math/s_ctan.c: Likewise.
55084 * math/s_ctanf.c: Likewise.
55085 * math/s_ctanh.c: Likewise.
55086 * math/s_ctanhf.c: Likewise.
55087 * math/s_ctanhl.c: Likewise.
55088 * math/s_ctanl.c: Likewise.
55089 * math/w_fmod.c: Likewise.
55090 * math/w_fmodf.c: Likewise.
55091 * math/w_fmodl.c: Likewise.
55092 * math/w_remainder.c: Likewise.
55093 * math/w_remainderf.c: Likewise.
55094 * math/w_remainderl.c: Likewise.
55095 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55096 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55097 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55099 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55100 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55101 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55102 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55103
187da0ae
UD
55104 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55105 of the number.
55106 * stdio-common/printf_fphex.c: Likewise.
55107 * stdio-common/printf_size.c: Likewise.
55108
9277c064
UD
55109 * math/e_exp10.c: Include math_private.h using <...> not "...".
55110 * math/e_exp10f.c: Likewise.
55111 * math/e_exp10l.c: Likewise.
55112 * math/e_exp2l.c: Likewise.
55113 * math/e_j0l.c: Likewise.
55114 * math/e_j1l.c: Likewise.
55115 * math/e_jnl.c: Likewise.
55116 * math/e_lgammal_r.c: Likewise.
55117 * math/e_rem_pio2l.c: Likewise.
55118 * math/e_scalb.c: Likewise.
55119 * math/e_scalbf.c: Likewise.
55120 * math/e_scalbl.c: Likewise.
55121 * math/k_cosl.c: Likewise.
55122 * math/k_sinl.c: Likewise.
55123 * math/k_tanl.c: Likewise.
55124 * math/s_cacoshf.c: Likewise.
55125 * math/s_catan.c: Likewise.
55126 * math/s_catanf.c: Likewise.
55127 * math/s_catanh.c: Likewise.
55128 * math/s_catanhf.c: Likewise.
55129 * math/s_catanhl.c: Likewise.
55130 * math/s_catanl.c: Likewise.
55131 * math/s_ccosh.c: Likewise.
55132 * math/s_ccoshf.c: Likewise.
55133 * math/s_ccoshl.c: Likewise.
55134 * math/s_cexp.c: Likewise.
55135 * math/s_cexpf.c: Likewise.
55136 * math/s_cexpl.c: Likewise.
55137 * math/s_clog.c: Likewise.
55138 * math/s_clog10.c: Likewise.
55139 * math/s_clog10f.c: Likewise.
55140 * math/s_clog10l.c: Likewise.
55141 * math/s_clogf.c: Likewise.
55142 * math/s_clogl.c: Likewise.
55143 * math/s_csin.c: Likewise.
55144 * math/s_csinf.c: Likewise.
55145 * math/s_csinh.c: Likewise.
55146 * math/s_csinhf.c: Likewise.
55147 * math/s_csinhl.c: Likewise.
55148 * math/s_csinl.c: Likewise.
55149 * math/s_csqrt.c: Likewise.
55150 * math/s_csqrtf.c: Likewise.
55151 * math/s_csqrtl.c: Likewise.
55152 * math/s_ctan.c: Likewise.
55153 * math/s_ctanf.c: Likewise.
55154 * math/s_ctanh.c: Likewise.
55155 * math/s_ctanhf.c: Likewise.
55156 * math/s_ctanhl.c: Likewise.
55157 * math/s_ctanl.c: Likewise.
55158 * math/s_ldexp.c: Likewise.
55159 * math/s_ldexpf.c: Likewise.
55160 * math/s_ldexpl.c: Likewise.
55161 * math/s_significand.c: Likewise.
55162 * math/s_significandf.c: Likewise.
55163 * math/s_significandl.c: Likewise.
55164 * math/w_acos.c: Likewise.
55165 * math/w_acosf.c: Likewise.
55166 * math/w_acosh.c: Likewise.
55167 * math/w_acoshf.c: Likewise.
55168 * math/w_acoshl.c: Likewise.
55169 * math/w_acosl.c: Likewise.
55170 * math/w_asin.c: Likewise.
55171 * math/w_asinf.c: Likewise.
55172 * math/w_asinl.c: Likewise.
55173 * math/w_atan2.c: Likewise.
55174 * math/w_atan2f.c: Likewise.
55175 * math/w_atan2l.c: Likewise.
55176 * math/w_atanh.c: Likewise.
55177 * math/w_atanhf.c: Likewise.
55178 * math/w_atanhl.c: Likewise.
55179 * math/w_cosh.c: Likewise.
55180 * math/w_coshf.c: Likewise.
55181 * math/w_coshl.c: Likewise.
55182 * math/w_dremf.c: Likewise.
55183 * math/w_exp10.c: Likewise.
55184 * math/w_exp10f.c: Likewise.
55185 * math/w_exp10l.c: Likewise.
55186 * math/w_exp2.c: Likewise.
55187 * math/w_exp2f.c: Likewise.
55188 * math/w_fmod.c: Likewise.
55189 * math/w_fmodf.c: Likewise.
55190 * math/w_fmodl.c: Likewise.
55191 * math/w_hypot.c: Likewise.
55192 * math/w_hypotf.c: Likewise.
55193 * math/w_hypotl.c: Likewise.
55194 * math/w_j0.c: Likewise.
55195 * math/w_j0f.c: Likewise.
55196 * math/w_j0l.c: Likewise.
55197 * math/w_j1.c: Likewise.
55198 * math/w_j1f.c: Likewise.
55199 * math/w_j1l.c: Likewise.
55200 * math/w_jn.c: Likewise.
55201 * math/w_jnf.c: Likewise.
55202 * math/w_jnl.c: Likewise.
55203 * math/w_lgamma.c: Likewise.
55204 * math/w_lgamma_r.c: Likewise.
55205 * math/w_lgammaf.c: Likewise.
55206 * math/w_lgammaf_r.c: Likewise.
55207 * math/w_lgammal.c: Likewise.
55208 * math/w_lgammal_r.c: Likewise.
55209 * math/w_log.c: Likewise.
55210 * math/w_log10.c: Likewise.
55211 * math/w_log10f.c: Likewise.
55212 * math/w_log10l.c: Likewise.
55213 * math/w_log2.c: Likewise.
55214 * math/w_log2f.c: Likewise.
55215 * math/w_log2l.c: Likewise.
55216 * math/w_logf.c: Likewise.
55217 * math/w_logl.c: Likewise.
55218 * math/w_pow.c: Likewise.
55219 * math/w_powf.c: Likewise.
55220 * math/w_powl.c: Likewise.
55221 * math/w_remainder.c: Likewise.
55222 * math/w_remainderf.c: Likewise.
55223 * math/w_remainderl.c: Likewise.
55224 * math/w_scalb.c: Likewise.
55225 * math/w_scalbf.c: Likewise.
55226 * math/w_scalbl.c: Likewise.
55227 * math/w_sinh.c: Likewise.
55228 * math/w_sinhf.c: Likewise.
55229 * math/w_sinhl.c: Likewise.
55230 * math/w_sqrt.c: Likewise.
55231 * math/w_sqrtf.c: Likewise.
55232 * math/w_sqrtl.c: Likewise.
55233 * math/w_tgamma.c: Likewise.
55234 * math/w_tgammaf.c: Likewise.
55235 * math/w_tgammal.c: Likewise.
55236
6a621eb7
UD
55237 * po/ja.po: Update from translation team.
55238
bf582445
AJ
552392011-09-29 Andreas Jaeger <aj@suse.de>
55240
f9efbf3a
AJ
55241 [BZ #13179]
55242 * sunrpc/netname.c (netname2host): Fix logic.
55243
bf582445
AJ
55244 [BZ #6779]
55245 [BZ #6783]
55246 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55247 correctly.
55248 * math/w_remainder.c (__remainder): Likewise.
55249 * math/w_remainderf.c (__remainderf): Likewise.
55250 * math/libm-test.inc (remainder_test): Add test cases.
55251
48693bea
AK
552522011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55253
55254 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55255 sdiv_qrnnd.
55256
42622229
LD
552572011-10-07 Ulrich Drepper <drepper@gmail.com>
55258
55259 * string/test-memcmp.c: Avoid unncessary #defines.
55260 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55261
093ecf92
LD
552622011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55263
55264 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55265 Use new sse2 version for core i3 - i7 as it's faster
55266 than sse42 version.
55267 (bit_Prefer_PMINUB_for_stringop): New.
55268 * sysdeps/x86_64/rawmemchr.S: Update.
55269 Replace with faster SSE2 version.
55270 * sysdeps/x86_64/memrchr.S: New file.
55271 * sysdeps/x86_64/memchr.S: Update.
55272 Replace with faster SSE2 version.
55273
fde56e5c
MP
552742011-09-12 Marek Polacek <mpolacek@redhat.com>
55275
55276 * elf/dl-load.c (lose): Add cast to avoid warning.
55277
21fd49a9
UD
552782011-10-07 Ulrich Drepper <drepper@gmail.com>
55279
5a06e643
UD
55280 * po/ca.po: Update from translation team.
55281
684ae515
UD
55282 * inet/getnetgrent_r.c: Hook up nscd.
55283 * nscd/Makefile (routines): Add nscd_netgroup.
55284 (nscd-modules): Add netgroupcache.
55285 (CFLAGS-netgroupcache.c): Define.
55286 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55287 (cache_search): Add const to second parameter.
55288 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55289 INNETGR.
55290 (dbs): Add netgrdb entry.
55291 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55292 (verify_persistent_db): Handle netgrdb.
55293 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55294 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55295 GETFDNETGR.
55296 (netgroup_response_header): Define.
55297 (innetgroup_response_header): Define.
55298 (datahead): Add netgroup_response_header and innetgroup_response_header
55299 elements.
55300 * nscd/nscd.conf: Add entries for netgroup cache.
55301 * nscd/nscd.h (dbtype): Add netgrdb.
55302 (_PATH_NSCD_NETGROUP_DB): Define.
55303 (netgroup_iov_disabled): Declare.
55304 (xmalloc, xcalloc, xrealloc): Move declarations here.
55305 (cache_search): Adjust prototype.
55306 Add netgroup-related prototypes.
55307 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55308 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55309 (__nscd_innetgr): Declare.
55310 * nscd/selinux.c (perms): Use access_vector_t as element type and
55311 add netgroup-related initializers.
55312 * nscd/netgroupcache.c: New file.
55313 * nscd/nscd_netgroup.c: New file.
55314 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55315 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55316 For four parameters use innetgr.
55317 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55318 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55319 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55320 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55321
21fd49a9
UD
55322 * nscd/connections.c (register_traced_file): Don't register file
55323 for disabled databases.
55324
054c0457
UD
553252011-10-06 Ulrich Drepper <drepper@gmail.com>
55326
32b63198
UD
55327 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55328
054c0457
UD
55329 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55330 from tree and freeing node.
55331
64031225
JO
553322011-09-25 Jiri Olsa <jolsa@redhat.com>
55333
55334 * nss/nsswitch.c (__nss_database_lookup): Handle
55335 nss_parse_service_list out of memory case.
55336
0490345c
JO
553372011-09-15 Jiri Olsa <jolsa@redhat.com>
55338
55339 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55340 out of memory case.
55341
3a62d00d
AS
553422011-10-04 Andreas Schwab <schwab@redhat.com>
55343
55344 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55345 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55346 pass it down.
55347 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55348 elf_machine_rela, elf_machine_lazy_rel.
55349 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55350 (ELF_DYNAMIC_DO_REL): Likewise.
55351 (ELF_DYNAMIC_DO_RELA): Likewise.
55352 (ELF_DYNAMIC_RELOCATE): Likewise.
55353 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55354 to ELF_DYNAMIC_DO_REL.
55355 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55356 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55357 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55358 elf_machine_rela.
55359 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55360 skip_ifunc, don't call ifunc function if non-zero.
55361 (elf_machine_rela): Likewise.
55362 (elf_machine_lazy_rel): Likewise.
55363 (elf_machine_lazy_rela): Likewise.
55364 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55365 (elf_machine_lazy_rel): Likewise.
55366 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55367 Likewise.
55368 (elf_machine_lazy_rel): Likewise.
55369 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55370 Likewise.
55371 (elf_machine_lazy_rel): Likewise.
55372 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55373 (elf_machine_lazy_rel): Likewise.
55374 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55375 (elf_machine_lazy_rel): Likewise.
55376 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55377 (elf_machine_lazy_rel): Likewise.
55378 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55379 (elf_machine_lazy_rel): Likewise.
55380 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55381 (elf_machine_lazy_rel): Likewise.
55382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55383 (elf_machine_lazy_rel): Likewise.
55384
68577918
UD
553852011-09-28 Ulrich Drepper <drepper@gmail.com>
55386
55387 * nss/nss_files/files-init.c (_nss_files_init): Use static
55388 initialization for all the *_traced_file variables.
55389
68822d74
AS
553902011-09-28 Andreas Schwab <schwab@redhat.com>
55391
55392 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55393
2056100b
RM
553942011-09-27 Roland McGrath <roland@hack.frob.com>
55395
55396 [BZ #13226]
55397 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55398
32c76b63
AS
553992011-09-27 Andreas Schwab <schwab@redhat.com>
55400
55401 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55402 Reread the line before reparsing it.
55403
bf972c9d
AS
554042011-09-26 Andreas Schwab <schwab@redhat.com>
55405
55406 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55407
e057a1b5
JM
554082011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55409 Maxim Kuvyrkov <maxim@codesourcery.com>
55410 Joseph Myers <joseph@codesourcery.com>
55411
55412 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55413 if needed for __stack_chk_guard.
55414
bc7e1c36
RM
554152011-09-19 Roland McGrath <roland@hack.frob.com>
55416
ecb1482f
RM
55417 * sysdeps/posix/spawni.c (script_execute): Always define it.
55418 It will be optimized away if unused.
55419 (maybe_script_execute): New function.
55420 (__spawni): Call it.
55421
bc7e1c36
RM
55422 * Makerules: Don't include tls.make.
55423 (config-tls): Always set to thread.
55424 * tls.make.c: File removed.
55425
1c3b002b
MF
554262011-09-19 Mike Frysinger <vapier@gentoo.org>
55427
55428 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55429 * config.make.in (CPPFLAGS-config): New substituted variable.
55430
2840865d
UD
554312011-09-15 Ulrich Drepper <drepper@gmail.com>
55432
88738eb6
UD
55433 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55434
cbf645a6 55435 [BZ #13192]
2840865d
UD
55436 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55437 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55438
b402e91a
RM
554392011-09-15 Roland McGrath <roland@hack.frob.com>
55440
55441 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55442 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55443 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55444 (CALL_FAIL): Likewise.
55445 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55446 (CALL_FAIL): Macro removed.
55447 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55448
4c1a1f71
UD
554492011-09-15 Ulrich Drepper <drepper@gmail.com>
55450
55451 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55452 for __FINITE_MATH_ONLY__ == 1.
55453
edc121be
AS
554542011-09-15 Andreas Schwab <schwab@redhat.com>
55455
55456 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55457 __ieee754_sqrt instead of sqrt.
55458 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55459 __ieee754_sqrtf instead of sqrtf.
55460 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55461 __floorf instead of floorf.
55462 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55463 __floorf, __truncf instead of floorf, truncf.
55464
cd205654
UD
554652011-09-14 Ulrich Drepper <drepper@gmail.com>
55466
ee4d0315
UD
55467 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55468
cd205654
UD
55469 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55470 __extern_always_inline.
55471 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55472 32-bit.
55473
48b67d71
AS
554742011-09-14 Andreas Schwab <schwab@redhat.com>
55475
55476 * elf/rtld.c (dl_main): Also relocate in dependency order when
55477 doing symbol dependency testing.
55478
1ae12c75
AS
554792011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55480
55481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55482 Always define `refsym'.
55483
995a80df
AS
554842011-09-13 Andreas Schwab <schwab@redhat.com>
55485
e529793b
AS
55486 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55487 (__FD_ELT): Renamed from __FDELT.
55488 * misc/bits/select2.h (__FD_ELT): Likewise.
55489 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55490 __FD_MASK instead of __FDELT, __FDMASK.
55491 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55492 Likewise.
55493 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55494 Likewise.
55495
52d4fef8
AS
55496 * elf/Makefile (gen-ldd): Fix pattern.
55497
995a80df
AS
55498 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55499 (init_tls): Likewise.
55500
8682f8b0
UD
555012011-09-12 Ulrich Drepper <drepper@gmail.com>
55502
55503 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55504
de82006d
AS
555052011-09-12 Andreas Schwab <schwab@redhat.com>
55506
a7c8e6a1
AS
55507 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55508 `struct cmsghdr *' instead of `void *'.
55509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55510 Likewise.
55511
0f31fe77
AS
555122011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55513
55514 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55515 if non-absolute.
55516 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55517 ldd_rewrite_script.
0f31fe77 55518
32b4c839
UD
555192011-09-11 Ulrich Drepper <drepper@gmail.com>
55520
83cd1420
UD
55521 * configure.in: Remove --with-tls option.
55522 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55523 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55524 out in case it is missing.
55525 * sysdeps/ia64/elf/configure.in: Likewise.
55526 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55527 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55528 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55529 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55530 * sysdeps/sh/elf/configure.in: Likewise.
55531 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55532 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55533 * sysdeps/x86_64/elf/configure.in: Likewise.
55534 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55535 * sysdeps/mach/hurd/tls.h: Likewise.
55536
633f745d
UD
55537 [BZ #13067]
55538 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55539
f318beb8
UD
55540 [BZ #13090]
55541 * configure.in: Fix use of AC_INIT.
55542
32b4c839
UD
55543 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55544
3ce1f295
UD
555452011-09-10 Ulrich Drepper <drepper@gmail.com>
55546
bb016596
UD
55547 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55548 __set_errno.
8e58439c
UD
55549 * malloc/hooks.c: Likewise.
55550
aebae053 55551 [BZ #11929]
02d46fc4
UD
55552 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55553 variables statically.
55554 (narenas): Initialize.
55555 (list_lock): Initialize.
bb016596
UD
55556 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55557 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
55558 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55559 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55560 Add initializers to main_arena and mp_.
55561 (malloc_state): Remove pagesize member. Change all users to use
55562 GLRO(dl_pagesize).
55563
55564 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55565 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55566 is always initialized.
55567
22a89187
UD
55568 * malloc/malloc.c: Removed unused configurations and dead code.
55569 * malloc/arena.c: Likewise.
55570 * malloc/hooks.c: Likewise.
02d46fc4 55571 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 55572
d063d164
UD
55573 * include/tls.h: Removed. USE___THREAD must always be defined.
55574 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55575 * elf/dl-libc.c: Likewise.
55576 * elf/dl-tsd.c: Likewise.
55577 * include/errno.h: Likewise.
55578 * include/netdb.h: Likewise.
55579 * include/resolv.h: Likewise.
55580 * inet/herrno-loc.c: Likewise.
55581 * inet/herrno.c: Likewise.
55582 * malloc/arena.c: Likewise.
55583 * malloc/hooks.c: Likewise.
55584 * malloc/malloc.c: Likewise.
55585 * resolv/res-state.c: Likewise.
55586 * resolv/res_libc.c: Likewise.
55587 * sysdeps/i386/dl-machine.h: Likewise.
55588 * sysdeps/ia64/dl-machine.h: Likewise.
55589 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55590 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55591 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55592 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55593 * sysdeps/sh/dl-machine.h: Likewise.
55594 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55595 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55596 * sysdeps/unix/i386/sysdep.S: Likewise.
55597 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55598 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55599 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55600 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55602 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55603 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55607 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55608 * sysdeps/x86_64/dl-machine.h: Likewise.
55609 * tls.make.c: Likewise.
55610
3ce1f295
UD
55611 * configure.in: Remove --with-__thread option. Make tests for
55612 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55613 tls_model attribute fail if no support is available. Remove
55614 USE_IN_LIBIO.
55615 * Makeconfig: Adjust for dropped configure option. All features are
55616 now mandatory.
55617 * Makerules: Likewise.
55618 * Versions.def: Likewise.
55619 * argp/argp-fmtstream.c: Likewise.
55620 * argp/argp-fmtstream.h: Likewise.
55621 * argp/argp-help.c: Likewise.
55622 * assert/assert.c: Likewise.
55623 * config.h.in: Likewise.
55624 * config.make.in: Likewise.
55625 * configure: Likewise.
55626 * configure.in: Likewise.
55627 * csu/Versions: Likewise.
55628 * csu/init.c: Likewise.
55629 * elf/tst-audit2.c: Likewise.
55630 * elf/tst-tls10.c: Likewise.
55631 * elf/tst-tls10.h: Likewise.
55632 * elf/tst-tls11.c: Likewise.
55633 * elf/tst-tls12.c: Likewise.
55634 * elf/tst-tls14.c: Likewise.
55635 * elf/tst-tlsmod11.c: Likewise.
55636 * elf/tst-tlsmod12.c: Likewise.
55637 * elf/tst-tlsmod13.c: Likewise.
55638 * elf/tst-tlsmod13a.c: Likewise.
55639 * elf/tst-tlsmod14a.c: Likewise.
55640 * elf/tst-tlsmod15b.c: Likewise.
55641 * elf/tst-tlsmod16a.c: Likewise.
55642 * elf/tst-tlsmod16b.c: Likewise.
55643 * elf/tst-tlsmod7.c: Likewise.
55644 * elf/tst-tlsmod8.c: Likewise.
55645 * elf/tst-tlsmod9.c: Likewise.
55646 * gmon/gmon.c: Likewise.
55647 * grp/fgetgrent_r.c: Likewise.
55648 * grp/putgrent.c: Likewise.
55649 * hurd/fopenport.c: Likewise.
55650 * include/libc-symbols.h: Likewise.
55651 * include/tls.h: Likewise.
55652 * intl/gettextP.h: Likewise.
55653 * intl/loadinfo.h: Likewise.
55654 * locale/global-locale.c: Likewise.
55655 * locale/localeinfo.h: Likewise.
55656 * mach/devstream.c: Likewise.
55657 * malloc/arena.c: Likewise.
55658 * malloc/set-freeres.c: Likewise.
55659 * misc/err.c: Likewise.
55660 * misc/getttyent.c: Likewise.
55661 * misc/mntent_r.c: Likewise.
55662 * posix/getopt.c: Likewise.
55663 * posix/wordexp.c: Likewise.
55664 * pwd/fgetpwent_r.c: Likewise.
55665 * resolv/Versions: Likewise.
55666 * resolv/res_hconf.c: Likewise.
55667 * shadow/fgetspent_r.c: Likewise.
55668 * shadow/putspent.c: Likewise.
55669 * stdio-common/printf_fphex.c: Likewise.
55670 * stdio-common/tmpfile.c: Likewise.
55671 * stdlib/abort.c: Likewise.
55672 * stdlib/fmtmsg.c: Likewise.
55673 * sunrpc/auth_unix.c: Likewise.
55674 * sunrpc/clnt_perr.c: Likewise.
55675 * sunrpc/clnt_tcp.c: Likewise.
55676 * sunrpc/clnt_udp.c: Likewise.
55677 * sunrpc/clnt_unix.c: Likewise.
55678 * sunrpc/openchild.c: Likewise.
55679 * sunrpc/svc_simple.c: Likewise.
55680 * sunrpc/svc_tcp.c: Likewise.
55681 * sunrpc/svc_udp.c: Likewise.
55682 * sunrpc/svc_unix.c: Likewise.
55683 * sunrpc/xdr.c: Likewise.
55684 * sunrpc/xdr_array.c: Likewise.
55685 * sunrpc/xdr_rec.c: Likewise.
55686 * sunrpc/xdr_ref.c: Likewise.
55687 * sunrpc/xdr_stdio.c: Likewise.
55688
1248c1c4
PB
556892011-09-09 Ulrich Drepper <drepper@gmail.com>
55690
55691 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55692
556932011-07-03 Andreas Jaeger <aj@suse.de>
55694
55695 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55696 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55697 regenerate with gen-libm-tests.pl.
55698
556992010-05-12 Petr Baudis <pasky@suse.cz>
55700
55701 [BZ #11589]
55702 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55703 around j0() zero points by switching to j1().
55704 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55705 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55707 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55708
f22e1074
UD
557092011-09-09 Ulrich Drepper <drepper@gmail.com>
55710
f19009c1
UD
55711 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55712 instead of 0.
55713 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 55714 instead of 0.
f19009c1
UD
55715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55716 Patch in part by Pavel Roskin <proski@gnu.org>.
55717
3f8cc204
UD
55718 [BZ #13138]
55719 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55720 realloc.
55721 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
55722 Free memory block if necessary.
55723
f22e1074
UD
55724 [BZ #12847]
55725 * libio/genops.c (INTDEF): For string streams the _lock pointer can
55726 be NULL. Don't lock in this case.
55727
0a2349f9
RM
557282011-09-09 Roland McGrath <roland@hack.frob.com>
55729
55730 * elf/elf.h (ELFOSABI_GNU): New macro.
55731 (ELFOSABI_LINUX): Define to that.
55732
f3cdd467
DZ
557332011-07-29 Denis Zaitceff <zaitceff@gmail.com>
55734
55735 * string/strncat.c (strncat): Undef the symbol in case it has been
55736 defined in bits/string.h.
55737
74718d13
UD
557382011-09-09 Ulrich Drepper <drepper@gmail.com>
55739
633e9e0f
UD
55740 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55741
0a2349f9 55742 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
55743 link map.
55744
f9924780
AJ
557452011-08-17 Andreas Jaeger <aj@suse.de>
55746
55747 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55748
7f5517aa
PP
557492011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
55750 Ian Lance Taylor <iant@google.com>
55751
55752 * math/libm-test.inc (lround_test): New testcase.
55753 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55754
762011fe
UD
557552011-09-08 Ulrich Drepper <drepper@gmail.com>
55756
92963737
UD
55757 * Makefile: Remove support for automatic cvs check-ins.
55758 * Makerules: Likewise.
55759 * config.make.in: Likewise.
55760 * configure.in: Likewise.
55761 * intl/Makefile: Likewise.
55762 * locale/Makefile: Likewise.
55763 * po/Makefile: Likewise.
55764 * posix/Makefile: Likewise.
55765 * sysdeps/gnu/Makefile: Likewise.
55766 * sysdeps/mach/hurd/Makefile: Likewise.
55767 * sysdeps/sparc/sparc32/Makefile: Likewise.
55768
b0727fd8
JS
55769 [BZ #13118]
55770 * posix/Makefile (bug-regex32-ENV): Define.
55771 Patch by John Stanley <jpsinthemix@verizon.net>.
55772
a0f33f99
UD
55773 * misc/Makefile (headers): Add bits/select2.h.
55774 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55775 * misc/bits/select2.h: New file.
55776 * include/bits/select2.h: New file.
55777 * debug/Makefile (routines): Add fdelt_chk.
55778 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55779 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55780 FD_ISSET.
55781 * debug/fdelt_chk.c: New file.
55782
762011fe
UD
55783 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
55784 * wcsmbs/test-wmemcmp.c: Likewise.
55785 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 55786 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
55787
557882011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55789
55790 * string/Makefile (strop-tests): Add memcmp.
55791 * string/test-wmemcmp.c: New file.
55792 * string/test-memcmp.c: Add wmemcmp support.
55793
7f513ec8
RM
557942011-09-08 Roland McGrath <roland@hack.frob.com>
55795
0442afb4
RM
55796 [BZ #13153]
55797 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55798 2011-07-19 change.
55799
7f513ec8
RM
55800 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55801 garbage value in a __mach_port_mod_refs call in the cases of the
55802 task-self and thread-self ports.
55803
a12b2239
ST
558042011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55805
55806 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55807
610f9ab4
AS
558082011-09-08 Andreas Schwab <schwab@redhat.com>
55809
7f513ec8 55810 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 55811
48882a1a
LD
558122011-09-07 Ulrich Drepper <drepper@gmail.com>
55813
b49865be
UD
55814 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55815
fdc86bc9
UD
55816 * elf/dl-libc.c (dlerror_run): Pass back error code from
55817 dl_catch_error.
55818
c966526a
UD
55819 [BZ #13123]
55820 * elf/dl-load.c (lose): Free l_origin if it is valid.
55821
48882a1a
LD
55822 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55823 names.
55824 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55825 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55827 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55828 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55829 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55830
77a2a8b4
AZ
558312011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55832
55833 * sysdeps/powerpc/fpu/e_hypot.c: New file.
55834 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55835 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55836 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55837 * sysdeps/powerpc/fpu/k_cosf.c: New file.
55838 * sysdeps/powerpc/fpu/k_sinf.c: New file.
55839 * sysdeps/powerpc/fpu/s_cosf.c: New file.
55840 * sysdeps/powerpc/fpu/s_sinf.c: New file.
55841 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55842 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55843
24f579d8
AM
558442011-08-15 Alan Modra <amodra@gmail.com>
55845
55846 [BZ #13092]
55847 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55848 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55849 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
55850 ppc_mcount to static-only-routines.
55851 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55852 __mcount_internal.
55853 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55854 __mcount_internal with usual JUMPTARGET. Remove useless nop.
55855
3d4837df
UD
558562011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
55857
55858 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55859 for finite and infinity parameters.
55860
22700377
WS
558612011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55862
55863 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
55864 and add nop instructions for throughput optimization.
55865 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55866
5025581e
WS
558672011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
55868
55869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
55870 aligned copy for power7 with vector-scalar instructions.
55871 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55872
08a300c9
L
558732011-07-24 H.J. Lu <hongjiu.lu@intel.com>
55874
55875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55876 AVX check.
55877
59178ef9
AS
558782011-09-07 Andreas Schwab <schwab@redhat.com>
55879
55880 [BZ #13144]
55881 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55882 last change.
55883
e38ba7ab
UD
558842011-09-07 Ulrich Drepper <drepper@gmail.com>
55885
55886 * sysdeps/unix/sysv/linux/x86_64/init-first.c
55887 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55888 syscall wrapper around clock_gettime in __vdso_clock_gettime.
55889 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55890 clock_gettime.
55891
d53a73ac
UD
558922011-09-06 Ulrich Drepper <drepper@gmail.com>
55893
fc8bffcc
UD
55894 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55895 Forgot to demangle the pointer.
55896
ceaa0c5d
UD
55897 * sysdeps/i386/sysdep.h: Define atom_text_section.
55898 * sysdeps/x86_64/sysdep.h: Likewise.
55899 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55900 section with atom_text_section.
55901 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55902 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55903 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55904 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55905 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55906
a77d3c17
UD
55907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55908 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55909 already be defined. Change to take two parameters and don't assign
55910 result to variable. Adjust all users.
55911 Define INTERNAL_GETTIME if not already defined.
55912 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55913 call.
55914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55915 HAVE_CLOCK_GETTIME_VSYSCALL.
55916 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55917
d53a73ac
UD
55918 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55919 gettimeofday vsyscall, just use time.
55920
a8f84144
AS
559212011-09-06 Andreas Schwab <schwab@redhat.com>
55922
55923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55924 <errno.h>.
55925
ef606249
UD
559262011-09-06 Ulrich Drepper <drepper@gmail.com>
55927
55928 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55929 syscall on x86-64.
55930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55931 syscall.
55932 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55933 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55934 syscall if possible.
55935
6585cb60
UD
559362011-09-05 Ulrich Drepper <drepper@gmail.com>
55937
55938 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55939 e_ident. Don't pass to find_mapsXX.
55940 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55941
a5f524e4
LD
559422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55943
55944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55945 strchr-sse2-no-bsf strrchr-sse2-no-bsf
55946 * sysdeps/x86_64/multiarch/strchr.S: Update.
55947 Check bit_slow_BSF bit.
55948 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55949 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55950 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55951
554881ef
UD
559522011-09-05 Ulrich Drepper <drepper@gmail.com>
55953
d96de963
UD
55954 [BZ #13134]
55955 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55956 before glibc 2.15.
55957 (tryshell): Define.
55958 (__spawni): Change last parameter to be flag. Test
55959 SPAWN_XFLAGS_USE_PATH flag to use path or not.
55960 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55961 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55962 * posix/spawni.c: Likewise.
55963 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55964 * posix/spawnp.c: Likewise. Change normal version to use
55965 SPAWN_XFLAGS_USE_PATH.
55966 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55967 SPAWN_XFLAGS_TRY_SHELL.
55968
d48e5868
UD
55969 [BZ #13150]
55970 * posix/glob.h: Remove gcc 1.x support.
55971
554881ef
UD
55972 [BZ #13068]
55973 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55974
693fb948
LD
559752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55976
55977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55978 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55979 strrchr-sse2-bsf
55980 * sysdeps/i386/i686/multiarch/strchr.S: New file.
55981 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55982 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55983 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55984 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55985 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55986
1b48c537
UD
559872011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55988
49d42c37
UD
55989 * sysdeps/x86_64/wcscmp.S: New file.
55990
1b48c537
UD
55991 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55992 wcscmp-c wcscmp-sse2
55993 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55994 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55995 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55996 * wcsmbs/wcscmp.c: Allow renaming.
55997
15c95c5d
DM
559982011-09-05 David S. Miller <davem@davemloft.net>
55999
56000 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56001 stack slot, rather than the struct return pointer slot.
56002 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56003 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56005 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56006
2f0ad8f3
UD
560072011-09-05 Ulrich Drepper <drepper@gmail.com>
56008
d88ae418
UD
56009 * po/ja.po: Update from translation team.
56010
2f0ad8f3
UD
56011 [BZ #13144]
56012 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56013 kernel in 64-bit binaries.
56014
5f4318d1
DM
560152011-09-01 David S. Miller <davem@davemloft.net>
56016
56017 * elf/elf.h (HWCAP_SPARC_*): Move to..
56018 * sysdeps/sparc/sysdep.h: this new file and add new values.
56019 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56020 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56021 _DL_HWCAP_COUNT to 24.
56022 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56023 entries.
56024 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56025 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56026 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56028 instead of magic constants.
56029 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56030
3ba57516
DM
560312011-08-31 David S. Miller <davem@davemloft.net>
56032
56033 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56034 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56035 Reimplement to do errno handling inline.
56036 (SYSCALL_ERROR_HANDLER): New macro.
56037 (__SYSCALL_STRING): Do not do errno handling in asm.
56038 (__CLONE_SYSCALL_STRING): Delete.
56039 (__INTERNAL_SYSCALL_STRING): Delete.
56040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56041 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56042 (PSEUDO): Reimplement to do errno handling inline.
56043 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56044 (SYSCALL_ERROR_HANDLER): New macro.
56045 (__SYSCALL_STRING): Do not do errno handling in asm.
56046 (__CLONE_SYSCALL_STRING): Delete.
56047 (__INTERNAL_SYSCALL_STRING): Delete.
56048 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56049 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56050 i386.
56051 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56052 (inline_syscall*): Add 'err' argument.
56053 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56054 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56055 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56056 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56057
56058 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56059 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56060
2bc17433
AS
560612011-08-30 Andreas Schwab <schwab@redhat.com>
56062
56063 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56064
fbeb5f4d
JO
560652011-08-29 Jiri Olsa <jolsa@redhat.com>
56066
56067 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56068 directive.
56069
ad69cc26
DM
560702011-08-24 David S. Miller <davem@davemloft.net>
56071
56072 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56073
39dd69df
AS
560742011-08-24 Andreas Schwab <schwab@redhat.com>
56075
56076 * elf/Makefile: Add rules to build and run unload8 test.
56077 * elf/unload8.c: New file.
56078 * elf/unload8mod1.c: New file.
56079 * elf/unload8mod1x.c: New file.
56080 * elf/unload8mod2.c: New file.
56081 * elf/unload8mod3.c: New file.
56082
56083 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56084 it wasn't used.
56085
2c0b250a
DM
560862011-08-23 David S. Miller <davem@davemloft.net>
56087
56088 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56089 subtract stack bias.
56090 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56091 %sp not %fp in calculations.
56092 (_JMPBUF_UNWINDS_ADJ): Likewise.
56093
22044b48
DM
56094 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56095 (aio_suspend): Call it to force an exception region around the
56096 AIO_MISC_WAIT() invocation.
56097
2cae4995
AS
560982011-08-23 Andreas Schwab <schwab@redhat.com>
56099
56100 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56101 backslash.
56102
873a772e
AJ
561032011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56104
56105 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56106 protection macro.
56107 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56108 and <dl-machine.h>.
56109 (Elf64_FuncDesc): Remove.
56110
25ad0df1
DM
561112011-08-22 David S. Miller <davem@davemloft.net>
56112
56113 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56114 sigaltstack check, add missing cfi directives.
56115 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56116 missing cfi directives, and sigaltstack handling.
56117
e888bcbe
AS
561182011-08-16 Andreas Schwab <schwab@redhat.com>
56119
56120 [BZ #11724]
56121 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56122 object is seen twice.
56123 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56124
56125 * elf/Makefile (distribute): Add tst-initorder2.c.
56126 (tests): Add tst-initorder2.
56127 (modules-names): Add tst-initorder2a tst-initorder2b
56128 tst-initorder2c tst-initorder2d. Add rules to build them.
56129 ($(objpfx)tst-initorder2.out): New rule.
56130 * elf/tst-initorder2.c: New file.
56131 * elf/tst-initorder2.exp: New file.
56132
87162f46
AS
561332011-08-22 Andreas Schwab <schwab@redhat.com>
56134
70538b7f
AS
56135 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56136
f55ffe58
AS
56137 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56138 dependencies back to end of function.
56139
87162f46
AS
56140 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56141 $(elfobjdir)/ld.so.
56142
91b392a4
UD
561432011-08-21 Ulrich Drepper <drepper@gmail.com>
56144
56145 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56146 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56147 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56148 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56149 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56150 of __vdso_gettimeofday.
56151 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56152 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56153 attribute_hidden.
56154 (_libc_vdso_platform_setup): Remove initialization of
56155 __vdso_gettimeofday and __vdso_time.
56156
5c43483f
UD
561572011-08-20 Ulrich Drepper <drepper@gmail.com>
56158
775a77e7
UD
56159 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56160 and fgetc_unlocked.
56161 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56162 getc_unlocked.
89f447ed 56163
49c74ba9
UD
56164 * elf/dl-open.c (add_to_global): Report additions to the global scope
56165 for LD_DEBUG=scopes.
56166 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 56167 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 56168
5c43483f
UD
56169 [BZ #13114]
56170 * stdio-common/Makefile (tests): Add bug24.
56171 * stdio-common/bug24.c: New file.
56172
a101b025
AJ
561732011-08-19 Andreas Jaeger <aj@suse.de>
56174
56175 [BZ #13114]
56176 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56177 non-existant file when using close-on-exec mode.
56178
c88f1766
UD
561792011-08-20 Ulrich Drepper <drepper@gmail.com>
56180
0276a718
UD
56181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56182 the very first instruction.
56183
c88f1766
UD
56184 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56185 the CFI state in the end.
56186 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56187 inclusion of dl-trampoline.h.
56188 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56189
51ccffa0
AS
561902011-08-19 Andreas Schwab <schwab@redhat.com>
56191
94d7165f
AS
56192 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56193 expectations for long double.
56194
51ccffa0
AS
56195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56196 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56197
fd708658 561982011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
56199
56200 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56201 artificual limit depends upon the system page size.
56202
44f0a71e
UD
562032011-08-17 Ulrich Drepper <drepper@gmail.com>
56204
56205 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56206 * resolv/Makefile: Define CFLAGS-libresolv.
56207
8de79a24
AS
562082011-08-17 Andreas Schwab <schwab@redhat.com>
56209
56210 * nss/makedb.c (compute_tables): Make variables used in nested
56211 function static.
56212
27724598
UD
562132011-08-17 Ulrich Drepper <drepper@gmail.com>
56214
c5305d88
UD
56215 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56216 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56217 if buffer was too small.
56218
27724598
UD
56219 * elf/pldd.c (main): Attach to all threads in the process.
56220 Rewrite /proc handling to use *at functions.
56221
076fe015
UD
562222011-08-16 Ulrich Drepper <drepper@gmail.com>
56223
174baab3
UD
56224 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56225 specifies first scope to show.
56226 (dl_open_worker): Update callers. Move printing scope of new
56227 object to before the relocation.
44f0a71e 56228 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
56229 * sysdeps/generic/ldsodefs.h: Update declaration.
56230
076fe015
UD
56231 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56232 string for the scope number.
56233
a60df2c3
UD
562342011-08-14 Ulrich Drepper <drepper@gmail.com>
56235
56236 * nscd/servicescache.c (cache_addserv): Make sure written is always
56237 initialized.
56238
5e4287d1
RM
562392011-08-14 Roland McGrath <roland@hack.frob.com>
56240
85ae0589
RM
56241 * sysdeps/i386/i486/bits/atomic.h
56242 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56243 statement expression, so as to suppress "set but not used" warning.
56244 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56245
69f63097
RM
56246 * string/strncat.c (STRNCAT): Use prototype definition.
56247
675456ef
RM
56248 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56249 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56250 -Iprograms here.
56251 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56252 (localedef-modules): Add localedef.
56253 (locale-modules): Add locale.
56254
5e4287d1
RM
56255 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56256 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56257 to avoid a warning.
56258
9c96ff23
DM
562592011-08-14 David S. Miller <davem@davemloft.net>
56260
56261 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56262 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56263
f9ddf089
UD
562642011-08-13 Ulrich Drepper <drepper@gmail.com>
56265
44f0a71e 56266 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
56267 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56268 * elf/rtld.c (dl_main): Set l_name of vDSO.
56269 Call _dl_show_scope when DL_DEBUG_SCOPES.
56270 (process_dl_debug): Recognize scopes flag and also set it for all.
56271 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56272 Declare _dl_show_scope.
56273
1dc27704
UD
56274 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56275 (do_dlopen): Pass caller_dlopen to dl_open.
56276 (__libc_dlopen_mode): Initialize caller_dlopen.
56277
f9ddf089
UD
56278 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56279 of libc. Make tolower call locale-independent. Optimize a bit by
56280 using isdigit instead of isalnum.
56281 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56282
9ac533d3
UD
562832011-08-12 Ulrich Drepper <drepper@gmail.com>
56284
56285 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56286 was a dependency or dynamically loaded.
56287
89edf2e9
UD
562882011-08-11 Ulrich Drepper <drepper@gmail.com>
56289
8e999d29
UD
56290 * intl/l10nflist.c: Allow architecture-specific pop function.
56291 * sysdeps/x86_64/l10nflist.c: New file.
56292
89edf2e9
UD
56293 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56294 classification.
56295
14d96785
AS
562962011-08-10 Andreas Schwab <schwab@redhat.com>
56297
56298 * include/dirent.h: Add libc_hidden_proto for scandirat and
56299 scandirat64. Don't declare __scandirat64.
56300 * dirent/scandirat.c: Add libc_hidden_def.
56301 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56302 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56303
6761ac04
DM
563042011-08-10 David S. Miller <davem@davemloft.net>
56305
56306 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56307 enum.
56308 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56311
c55fbd1e
UD
563122011-08-09 Ulrich Drepper <drepper@gmail.com>
56313
56314 * Versions.def [libc]: Add GLIBC_2.15.
56315 * dirent/Makefile (routines): Add scandirat and scandirat64.
56316 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56317 GLIBC_2.15.
56318 * dirent/dirent.h: Declare scandirat and scandirat64.
56319 * dirent/scandirat.c: New file.
56320 * dirent/scandirat64.c: New file.
56321 * sysdeps/wordsize-64/scandirat.c: New file.
56322 * sysdeps/wordsize-64/scandirat64.c: New file.
56323 * dirent/opendir.c: Define opendirat.
56324 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56325 using scandirat.
56326 * dirent/scandir64.c: Adjust for scandir.c change.
56327 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56328 __scandirat64, and __scandir_cancel_handler.
56329 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56330 additional parameter and use openat instead of open (outside of ld.so).
56331 Add new __opendir as wrapper around __opendirat.
56332 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56333 here without requiring old scandirat implementation.
56334
879165f2
UD
563352011-08-08 Ulrich Drepper <drepper@gmail.com>
56336
56337 * dirent/scandir.c (cancel_handler): Renamed to
56338 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56339 defined. Adjust users.
56340 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56341 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56342
cb7e923b
UD
563432011-08-04 Ulrich Drepper <drepper@gmail.com>
56344
16292edd
UD
56345 * string/test-string.h (IMPL): Use __STRING to expand name and then
56346 stringify it.
56347
cb7e923b
UD
56348 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56349 of cleanups.
56350
cff82933
LD
563512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56352
56353 * string/Makefile: Update.
56354 (strop-tests): Append strncat.
56355 * string/test-wcscmp.c: New file.
56356 New comprehensive test for wcscmp.
56357 * string/test-strcmp.c: Update.
56358 (WIDE): New define.
56359
9be9bfcc
AS
563602011-07-22 Andreas Schwab <schwab@redhat.com>
56361
56362 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56363 line.
56364
2e96f1c7
AS
563652011-07-26 Andreas Schwab <schwab@redhat.com>
56366
56367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56368 encoding to ACE if AI_IDN.
56369
85188888
JJ
563702011-08-01 Jakub Jelinek <jakub@redhat.com>
56371
56372 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56373 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56374
5fa16e9b
LD
563752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56376
56377 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56378 Fix overflow bug in strncat.
56379 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56380
56381 * string/test-strncat.c: Update.
56382 Add new tests for checking overflow bugs.
56383
563842011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56385
56386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56387 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56388 * sysdeps/i386/i686/multiarch/strcat.S: New file.
56389 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56391 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56392 * sysdeps/i386/i686/multiarch/strncat.S: New file.
56393 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56394 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56395
56396 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56397 (USE_AS_STRCAT): Define.
56398 Add strcat and strncat support.
56399 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56400
8c1a459f
AS
564012011-07-25 Andreas Schwab <schwab@redhat.com>
56402
56403 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56404 __n bigger than INT_MAX+1.
56405 (__strncmp_g): Likewise.
56406
bba33c28
UD
564072011-07-23 Ulrich Drepper <drepper@gmail.com>
56408
798be72d
UD
56409 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56410 * libio/stido.h: Likewise.
56411
8accd4dc
UD
56412 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56413 (AF_NFC): Define.
56414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56415 (AF_NFC): Define.
56416
cbff0d96
UD
56417 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56418 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56420 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56421 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56422
9191c04a
UD
56423 [BZ #13021]
56424 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56425 installed.
56426
bba33c28
UD
56427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56428 typo.
56429 (_dl_x86_64_save_sse): Likewise.
56430
90f139dd
UD
564312011-07-22 Ulrich Drepper <drepper@gmail.com>
56432
1aae088a
UD
56433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56434 OSXSAVE.
56435 (_dl_x86_64_save_sse): Likewise.
56436
8e2045f5
UD
56437 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56438
90f139dd
UD
56439 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56440
1d002f25
AS
564412011-07-21 Andreas Schwab <schwab@redhat.com>
56442
56443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56444 change.
56445 (_dl_x86_64_save_sse): Use correct AVX check.
56446
21137f89
UD
564472011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56448
56449 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56450 bug in strncpy/strncat.
56451 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56452
a65c0b7a
UD
564532011-07-21 Ulrich Drepper <drepper@gmail.com>
56454
56455 * string/tester.c (test_strcat): Add tests for different alignments
56456 of source and destination.
56457 (test_strncat): Likewise.
56458
6986b98a
UD
564592011-07-20 Ulrich Drepper <drepper@gmail.com>
56460
90bb2039
UD
56461 [BZ #12852]
56462 * posix/glob.c (glob): Check passed in values before using them in
56463 expressions to avoid some overflows.
56464 (glob_in_dir): Likewise.
56465
5644ef54
UD
56466 [BZ #13007]
56467 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56468 check for AVX enablement so that we don't crash with old kernels and
56469 new hardware.
56470 * elf/tst-audit4.c: Add same checks here.
56471 * elf/tst-audit6.c: Likewise.
56472
56473 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 56474
bfc9dc9b
AS
564752011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56476
56477 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56478
702e64bb
UD
564792011-07-20 Ulrich Drepper <drepper@gmail.com>
56480
56481 * po/cs.po: Update from translation team.
56482 * po/bg.po: Likewise.
56483
295e904f
MP
564842011-07-12 Marek Polacek <mpolacek@redhat.com>
56485
56486 * misc/sys/cdefs.h: Add support for const attribute.
56487 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56488 to gnu_dev_{major,minor,makedev} functions.
56489
3ff94596
MP
564902011-07-20 Marek Polacek <mpolacek@redhat.com>
56491
56492 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56493
28b59fca
AS
564942011-07-20 Andreas Schwab <schwab@redhat.com>
56495
56496 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56497 strlen results.
56498
19df733e
AK
564992011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56500
56501 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56502 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56503 register in order to avoid conflicts with the soft frame pointer
56504 being held in r11 when necessary.
56505 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56506 (INTERNAL_VSYSCALL_NCS): Likewise.
56507
c8835729
MP
565082011-07-14 Marek Polacek <mpolacek@redhat.com>
56509
56510 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56511 * elf/dl-fini.c (_dl_fini): Adjust caller.
56512 * elf/dl-close.c (_dl_close_worker): Likewise.
56513 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56514
b902330c
MP
565152011-07-15 Marek Polacek <mpolacek@redhat.com>
56516
8991e135
MP
56517 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56518 "aux_cache->nlibs < 0".
56519
b902330c
MP
56520 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56521 in the reload-count case.
56522
99710781
LD
565232011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56524
56525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56526 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56527 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56528 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56529 * sysdeps/x86_64/multiarch/strcat.S: New file.
56530 * sysdeps/x86_64/multiarch/strncat.S: New file.
56531 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56532 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56533 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56534 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56535 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56536 (USE_AS_STRCAT): Define.
56537 Add strcat and strncat support.
56538 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56539 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56540 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56541 * string/strncat.c: Update.
56542 (USE_AS_STRNCAT): Define.
56543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56544 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56545 and i7.
56546 * sysdeps/x86_64/multiarch/init-arch.h
56547 (bit_Prefer_PMINUB_for_stringop): New.
56548 (index_Prefer_PMINUB_for_stringop): Likewise.
56549 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56550 bit_Prefer_PMINUB_for_stringop.
56551
7dc6bd90
UD
565522011-07-19 Ulrich Drepper <drepper@gmail.com>
56553
56554 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56555 buffer64.
56556 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56557 of casting of buffer.
56558 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56559 buffer32 and buffer64.
56560 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56561 writes instead of casting of buffer.
56562 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56563 buffer32.
56564 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56565 casting of buffer.
56566
e0e72284
AS
565672011-07-19 Andreas Schwab <schwab@redhat.com>
56568
56569 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56570
feb1eb0b
UD
565712011-07-19 Ulrich Drepper <drepper@gmail.com>
56572
56573 * nscd/nscd.c (termination_handler): Don't do anything for a database
56574 if it has not yet been initialized.
56575
298711ff
UD
565762011-07-18 Ulrich Drepper <drepper@gmail.com>
56577
56578 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56579
565802011-07-15 Marek Polacek <mpolacek@redhat.com>
56581
56582 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56583
f9d68389
UD
565842011-07-18 Ulrich Drepper <drepper@gmail.com>
56585
56586 * po/nl.po: Update from translation team.
56587 * po/sv.po: Likewise.
56588
db290cf5
RM
565892011-07-16 Roland McGrath <roland@hack.frob.com>
56590
56591 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56592 now disallowed by GCC.
5c550700 56593
fd5e21c7
RM
56594 * configure.in (use-default-link): Default to yes if a test -shared
56595 link meets our qualifications.
56596 * configure: Regenerated.
56597
5c550700
RM
56598 * config.make.in (output-format): New variable.
56599 * configure.in: Check for ld --print-output-format support.
56600 * configure: Regenerated.
56601 * Makerules ($(common-objpfx)format.lds)
56602 [$(output-format) != unknown]: Just use $(output-format),
56603 instead of the linker-script munging.
56604
9fa2c032
RM
566052011-07-14 Roland McGrath <roland@hack.frob.com>
56606
a6928d51
RM
56607 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56608 of $(common-objpfx)shlib.lds.
56609 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56610
661607b3
RM
56611 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56612 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56613
9fa2c032
RM
56614 * configure.in (-z relro check): Adjust test code to add a large
56615 writable data section after it.
56616 * configure: Regenerated.
56617
defe9061
RM
566182011-07-11 Roland McGrath <roland@hack.frob.com>
56619
56620 * configure.in (-z relro check): Fix test code to make the variable
56621 truly const.
56622 * configure: Regenerated.
56623
319b9ad4
UD
566242011-07-11 Ulrich Drepper <drepper@gmail.com>
56625
56626 * nscd/nscd.h (struct traced_file): Define.
56627 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56628 elements. Add traced_files.
56629 (inotify_fd): Declare.
56630 (register_traced_file): Declare.
56631 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56632 (inotify_fd): Export.
56633 (resolv_conf_descr): Remove.
56634 (nscd_init): Move inotify descriptor creation to main.
56635 Don't register files for notification here.
56636 (register_traced_file): New function.
56637 (invalidate_cache): Don't use reset_res to determine whether to call
56638 res_init, go through the list of registered files.
56639 (main_loop_poll): The inotify descriptors are now stored in the
56640 structures for the traced files.
56641 (main_loop_epoll): Likewise
56642 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56643 to __nss_disable_nscd.
56644 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56645 for a database anymore. Check the records for all the registered
56646 files instead.
56647 * nss/Makefile (libnss_files-routines): Add files-init.
56648 (libnss_db-routines): Add db-init.
56649 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56650 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56651 * nss/nss_db/db-init.c: New file.
56652 * nss/nss_files/files-init.c: New file.
56653 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56654 __nss_lookup_function.
56655 (__nss_lookup_function): Call nss_load_library.
56656 (nss_load_all_libraries): New function.
56657 (__nss_disable_nscd): Take parameter with callback function for files
56658 to register. Set is_nscd. Load all the DSOs for the NSS modules
56659 used for the cached services.
56660 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56661 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56662 options for features to all the files in nscd.
56663
56664 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56665
23bee3e8
RM
566662011-07-10 Roland McGrath <roland@hack.frob.com>
56667
56668 * csu/elf-init.c (__libc_csu_init): Comment typo.
56669
46a5b7f0
UD
566702011-07-09 Ulrich Drepper <drepper@gmail.com>
56671
56672 * po/pl.po: Update from translation team.
56673 * po/ja.po: Likewise.
56674 * po/ru.po: Likewise.
56675 * po/ko.po: Likewise.
56676 * po/fr.po: Likewise.
56677
d30cf5bb
RM
566782011-07-09 Roland McGrath <roland@hack.frob.com>
56679
113ddea4
RM
56680 * configure.in (.ctors/.dtors header and trailer check):
56681 Use an empirical test on a built program.
56682 * configure: Regenerated.
56683
574920b4
RM
56684 * configure.in (-z relro check): Use an empirical test on a built DSO.
56685 Detect, but do not require, on ia64.
56686 * configure: Regenerated.
56687
d30cf5bb
RM
56688 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56689 Update tests that use readelf to use $READELF instead.
56690 * configure: Regenerated.
56691
8538fdb3
UD
566922011-07-08 Ulrich Drepper <drepper@gmail.com>
56693
56694 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56695 if the result is not used.
56696
04d08991
AJ
566972011-07-05 Andreas Jaeger <aj@suse.de>
56698
56699 [BZ#9696]
56700 * stdlib/tst-strtod.c: Add testcase.
56701
de283087
AD
567022011-07-07 Ulrich Drepper <drepper@gmail.com>
56703
4e5f31c8 56704 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 56705 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
56706 The latter has a higher limit. Take additional parameter to pass to
56707 the new function.
56708 (__pathconf): Pass file to __statfs_link_max.
56709 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56710 __statfs_link_max.
56711 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56712 __statfs_link_max.
56713
de283087
AD
56714 [BZ #12868]
56715 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56716 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56717 Handle Lustre.
56718 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56719 (__statfs_filesize_max): Likewise.
56720 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56721
c75fa153
AJ
567222011-07-05 Andreas Jaeger <aj@suse.de>
56723
56724 * resolv/res_comp.c (dn_skipname): Remove unused variable.
56725
1a544854
UD
567262011-07-06 Marek Polacek <mpolacek@redhat.com>
56727
56728 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56729 `status' variable.
56730 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56731 Likewise.
56732
6f0eec67
UD
567332011-07-04 H.J. Lu <hongjiu.lu@intel.com>
56734
56735 * Makefile (strop-tests): Add strncat.
56736 * string/test-strncat.c: New file.
56737
aae30307
UD
567382011-06-30 Marek Polacek <mpolacek@redhat.com>
56739
56740 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56741
c0cfb5eb
UD
567422011-06-21 Andreas Jaeger <aj@suse.de>
56743
56744 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56745 Copy rule from iconvdata/Makefile.
56746
01636b21
UD
567472011-07-06 Ulrich Drepper <drepper@gmail.com>
56748
56749 [BZ #12922]
56750 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56751 but no long options are defined, just return 'W'.
56752
9895c8bc
UD
567532011-06-22 Marek Polacek <mpolacek@redhat.com>
56754
56755 [BZ #9696]
56756 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56757
5d4cf042
UD
567582011-07-06 Ulrich Drepper <drepper@gmail.com>
56759
56760 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56761 netgroups to read.
960e5535 56762 (innetgr): Likewise.
5d4cf042 56763
751eb97e
RM
567642011-07-05 Roland McGrath <roland@hack.frob.com>
56765
56766 * config.make.in (install_root): Default to $(DESTDIR).
56767
f15f1e45
UD
567682011-07-05 Ulrich Drepper <drepper@gmail.com>
56769
56770 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56771
4e34ac6a
RM
567722011-07-02 Roland McGrath <roland@hack.frob.com>
56773
5e9b6af4
RM
56774 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56775
84f9ea0f
RM
56776 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56777 containing directory rather than embedding absolute directory names.
56778
ea5ee9f7
RM
56779 * scripts/check-local-headers.sh: Rewritten using awk.
56780 Match by word, not by line. Print error messages for matches.
56781 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56782
1b74661a
RM
56783 * Makerules [shlib-lds-flags empty]:
56784 ($(common-objpfx)libc_pic.opts): New target.
56785 ($(common-objpfx)libc_pic.os.clean): New target.
56786 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56787
56788 * config.make.in (OBJCOPY): New variable.
56789 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56790 * configure: Regenerated.
56791
f781ef40
RM
56792 * config.make.in (use-default-link): New variable.
56793 * configure.in (use_default_link): Grok --with-default-link to set it.
56794 * configure: Regenerated.
56795 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56796 (shlib-lds, shlib-lds-flags): Define to empty.
56797
2d4fa81e
RM
56798 * Makerules (shlib-lds): New variable.
56799 (shlib-lds-flags): New variable.
56800 (build-shlib, build-moduile, build-module-asneeded): Use it.
56801 ($(common-objpfx)libc.so): Use $(shlib-lds).
56802 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56803 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56804
31fffa6b
RM
56805 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56806 DT_FLAGS/DT_FLAGS_1 with zero flags.
56807
4e34ac6a
RM
56808 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56809 linker script munging.
56810
fcfc776b
UD
568112011-07-02 Ulrich Drepper <drepper@gmail.com>
56812
56813 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56814 as 128-bit value.
56815 * crypt/sha512.c (sha512_process_block): Perform total addition using
56816 128-bit if possible.
56817 (__sha512_finish_ctx): Likewise.
56818 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56819 as 64-bit value.
56820 * crypt/sha256.c (SWAP64): Define.
56821 (sha256_process_block): Perform total addition using 64-bit if
56822 possible.
56823 (__sha256_finish_ctx): Likewise.
56824
99231d9a
UD
568252011-07-01 Ulrich Drepper <drepper@gmail.com>
56826
56827 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
56828 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56829 * nscd/hstcache.c (cache_addhst): Likewise.
56830 * nscd/grpcache.c (cache_addgr): Likewise.
56831 * nscd/aicache.c (addhstaiX): Likewise
56832 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56833
445b4a53
TK
568342011-07-01 Thorsten Kukuk <kukuk@suse.de>
56835
56836 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56837 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56838 * nscd/hstcache.c (cache_addhst): Likewise.
56839 * nscd/grpcache.c (cache_addgr): Likewise.
56840 * nscd/aicache.c (addhstaiX): Likewise
56841
6d4d8e8e
AS
568422011-07-01 Andreas Schwab <schwab@redhat.com>
56843
56844 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56845 domain only when needed.
56846
89f654c5
AS
568472011-06-30 Andreas Schwab <schwab@redhat.com>
56848
56849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56850 is always restored.
56851
cf3b23ff
UD
568522011-06-29 Ulrich Drepper <drepper@gmail.com>
56853
56854 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56855 are re-adding the entry.
56856 * nscd/servicescache.c (cache_addserv): Likewise.
56857
751626f9
AJ
568582011-06-30 Aurelien Jarno <aurelien@aurel32.net>
56859
56860 * sysdeps/generic/dl-irel.h: fix protection against multiple
56861 inclusions.
56862 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
56863
9113ea1f
UD
568642011-06-28 Ulrich Drepper <drepper@gmail.com>
56865
5c0b8d90
UD
56866 [BZ #12935]
56867 * malloc/memusage.sh: Fix quoting in message.
56868 * debug/xtrace.sh: Likewise.
56869
9113ea1f
UD
56870 * configure.in: Remove support for --experimental-malloc option, make
56871 it the default.
56872 * config.make.in: Likewise.
56873 * malloc/Makefile: Likewise.
56874
a4172181
AS
568752011-06-27 Andreas Schwab <schwab@redhat.com>
56876
56877 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56878 two-byte characters.
56879
78a7eee7
RM
568802011-06-27 Roland McGrath <roland@hack.frob.com>
56881
62bede13
RM
56882 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56883 AC_CACHE_CHECK invocation.
56884 * configure: Regenerated.
56885
78a7eee7
RM
56886 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56887
5ce33a62
UD
568882011-06-27 Ulrich Drepper <drepper@gmail.com>
56889
034807a9
UD
56890 [BZ #12350]
56891 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
56892 bit from old_res_options.
56893
4902da17
UD
56894 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56895
5ce33a62
UD
56896 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56897 value type for setfct.
56898
c2344f56
L
568992011-06-23 H.J. Lu <hongjiu.lu@intel.com>
56900
56901 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56902 __gettimeofday instead of gettimeofday.
56903
68468076
UD
569042011-06-26 Ulrich Drepper <drepper@gmail.com>
56905
56906 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56907
acb0d739
L
569082011-06-24 H.J. Lu <hongjiu.lu@intel.com>
56909
56910 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56911
56912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56913 info.
56914
8912479f
L
569152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56916
56917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56918 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56919 strcpy-sse2-unaligned strncpy-sse2-unaligned
56920 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56921 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56922 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56923 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56924 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56925 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56926 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56927 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56928 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56929 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56930 (STRCPY): Support SSE2 and SSSE3 versions.
56931
d5495a11
UD
569322011-06-24 Ulrich Drepper <drepper@gmail.com>
56933
56934 [BZ #12874]
56935 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56936 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56937 kernels which artificially limit size of requests.
56938
0b1cbaae
L
569392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56940
56941 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56942 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56943 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56944 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56945 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56946 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56947 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56948 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56951 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56952 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56953 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56954 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56955 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56957 Enable unaligned load optimization for Intel Core i3, i5 and i7
56958 processors.
56959 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56960 Define.
56961 (index_Fast_Unaligned_Load): Define.
56962 (HAS_FAST_UNALIGNED_LOAD): Define.
56963
07f494a0
MP
569642011-06-23 Marek Polacek <mpolacek@redhat.com>
56965
56966 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56967
fa3fc0fe
UD
569682011-06-22 Ulrich Drepper <drepper@gmail.com>
56969
56970 [BZ #12907]
56971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56972 until it is clear that the information is realy needed.
56973 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56974
e12df166
AS
569752011-06-22 Andreas Schwab <schwab@redhat.com>
56976
56977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56978
852eb34d
UD
569792011-06-22 Ulrich Drepper <drepper@gmail.com>
56980
84e2a551
UD
56981 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56982 /sys/devices/system/cpu/online if it is usable.
56983
852eb34d
UD
56984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56985 reading the information from the /proc filesystem to once a second.
56986
6e502e19
UD
569872011-06-21 Andreas Jaeger <aj@suse.de>
56988
56989 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56990 NULL after inclusion of kernel headers.
56991
75d39ff2
UD
569922011-06-21 Ulrich Drepper <drepper@gmail.com>
56993
51f9aa6a
UD
56994 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56995 calls to internal_setent.
56996
c0244a9d
UD
56997 [BZ #12885]
56998 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56999 addresses using gethostbyname4_r ignore IPv4 addresses.
57000
c5e3c2ae
UD
57001 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57002 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57003
75d39ff2
UD
57004 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57005
42675c6f
DM
570062011-06-20 David S. Miller <davem@davemloft.net>
57007
57008 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57009 inclusions.
57010 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57011
57012 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57013 (elf_irel): Use it.
57014 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57015 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57016 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57017 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57018 * sysdeps/x86_64/dl-irel.h: Likewise.
57019
57020 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57021 * elf/dl-sym.c: Likewise.
57022
57912a71
UD
570232011-06-15 Ulrich Drepper <drepper@gmail.com>
57024
57025 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57026 need to dereference resplen2.
57027
ee22793d
AS
570282011-06-14 Andreas Schwab <schwab@redhat.com>
57029
57030 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57031
a9e836b0
UD
570322011-06-15 Ulrich Drepper <drepper@gmail.com>
57033
77fb9117
UD
57034 * Makeconfig: Define vardbdir and inst_vardbdir.
57035 * nss/Makefile: Add rules to install db-Makefile.
57036
40c1b22c
UD
57037 * nss/nss_db/db-XXX.c: Cleanup.
57038
9f2da732
UD
57039 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57040 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57041 GLIBC_PRIVATE.
57042 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57043 * nss/makedb.c: Implement -g option to specify that value strings
57044 are generated and should not be added to table iterated over for
57045 get*ent calls.
57046 * nss/nss_db/db-initgroups.c: New file.
57047
82e9a1f7
UD
57048 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57049 interface.
57050
c41af17e
UD
57051 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57052 (internal_getgrouplist): Adjust to name change.
57053 Update use_initgroups_entry if this is not the first call.
57054 * nss/databases.def: Add initgroups entry.
57055
a9e836b0
UD
57056 * nss/makedb.c (compute_tables): Check result of multiple hash table
57057 sizes to minimize maximum chain length.
57058
2666d441
UD
570592011-06-14 Ulrich Drepper <drepper@gmail.com>
57060
57061 * Versions.def: Add entry for libnss_db.
57062 * shlib-versions: Likewise.
57063 * nss/Makefile: Add rules to build libnss_db.
57064 * nss/Versions: Add libnss_db information. Organize libnss_files
57065 entries better.
57066 * nss/db-Makefile: Add gshadow support. Change rules for the new
57067 makedb progra. Some minor improvements to generate smaller files.
57068 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57069 here from...
57070 * nss/makedb.c: ...here.
57071 Improve database format to be smaller and require less memory at
57072 runtime.
57073 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57074 db anymore.
57075 * nss/nss_db/db-netgrp.c: Likewise.
57076 * nss/nss_db/db-open.c: Likewise.
57077 * nss/nss_files/flies-XXX.x: Adjust comments.
57078 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57079 * nss/nss_files/files-grp.c: Likewise.
57080 * nss/nss_files/files-hosts.c: Likewise.
57081 * nss/nss_files/files-network.c: Likewise.
57082 * nss/nss_files/files-proto.c: Likewise.
57083 * nss/nss_files/files-pwd.c: Likewise.
57084 * nss/nss_files/files-rpc.c: Likewise.
57085 * nss/nss_files/files-service.c: Likewise.
57086 * nss/nss_files/files-sgrp.c: Likewise.
57087 * nss/nss_files/files-spwd.c: Likewise.
57088 * nss/nss_db/db-alias.c: Removed.
57089 * nss/nss_db/dummy-db.h: Removed.
57090
9ee76b5a
UD
570912011-06-02 Ulrich Drepper <drepper@gmail.com>
57092
57093 * nss/makedb.c: Rewritten to not use database library.
57094 * nss/Makefile: Update to build new makedb program.
57095
c71ca1f8
AJ
570962011-06-14 Andreas Jaeger <aj@suse.de>
57097
57098 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57099 memset declaration.
57100
3154bfb8
UD
571012011-06-10 Andreas Schwab <schwab@redhat.com>
57102
57103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57104 tmpbuf.
57105
b350afab
RM
571062011-06-10 Roland McGrath <roland@hack.frob.com>
57107
decd4e50
RM
57108 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57109 * elf/Makefile ($(objpfx)ld.so): Likewise.
57110
5615eaf2
RM
57111 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57112 Don't list ld.so twice in dependencies.
57113
57114 * posix/bug-regex31.c: Include <stdlib.h>.
57115
57116 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57117
57118 * nis/nss_compat/compat-spwd.c
57119 (getspent_next_nss_netgr): Remove unused variable.
57120 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57121
57122 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57123 nonmembers" output to use the right array.
57124
57125 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57126
57127 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57128
57129 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57130 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57131 * catgets/gencat.c (read_input_file): Likewise.
57132 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57133
57134 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57135 variable definition inside #if's controlling its use.
57136
57137 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57138
57139 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57140
57141 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57142
57143 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57144 unreachable code.
57145
57146 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57147
b68e08db
RM
57148 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57149 * configure: Regenerated.
57150
b350afab
RM
57151 * Makerules: Revert last change.
57152 * elf/Makefile: Likewise.
57153
28368601
RM
571542011-06-09 Roland McGrath <roland@hack.frob.com>
57155
57156 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57157 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57158 (reloc-link): Likewise.
57159
11988f8f
UD
571602011-06-09 Ulrich Drepper <drepper@gmail.com>
57161
57162 * elf/Makefile: Add rules to build pldd.
57163 * elf/pldd.c: New file.
57164 * elf/pldd-xx.c: New file.
57165
e80fab37
UD
571662011-06-07 Ulrich Drepper <drepper@gmail.com>
57167
57168 * version.h: Update for 2.15 development version.
57169
9b849836
DM
571702011-06-07 David S. Miller <davem@davemloft.net>
57171
57172 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57173 ifuncs.
57174 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57175 elf_machine_lazy_rel): Likewise.
57176 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57178 elf_machine_lazy_rel): Likewise.
57179 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57180 dl_hwcap via passed in argument.
57181 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57182 Likewise.
57183
5a31b283
AK
571842011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57185
57186 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57187
069e52f8
RM
571882011-06-06 Roland McGrath <roland@hack.frob.com>
57189
57190 [BZ #12849]
57191 * manual/fdl-1.1.texi: New file, verbatim from:
57192 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57193 * manual/lgpl-2.1.texi: New file, verbatim from:
57194 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57195 * manual/Makefile (licenses): New variable, list those new file names.
57196 (texis): Use it.
57197 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57198
57199 * manual/fdl.texi: File removed.
57200 * manual/lesser.texi: File removed.
57201 * manual/libc.texinfo (Copying, Documentation License):
57202 Use new @include file names, put @appendix directive before @include.
57203
f16846a5
JJ
572042011-06-04 Jakub Jelinek <jakub@redhat.com>
57205
57206 [BZ #12841]
57207 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57208 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57209 (mq_open): Add __NTH.
57210
3d29045b
L
572112011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57212
57213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57214 Assume Intel Core i3/i5/i7 processor if AVX is available.
57215
8c297311
UD
572162011-05-31 Ulrich Drepper <drepper@gmail.com>
57217
57218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57219 typo.
57220
c8fc0c91
UD
572212011-05-31 Andreas Schwab <schwab@redhat.com>
57222
57223 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57224 memory. Use alloca_account. Fix memory leak when retrying.
57225
5b27a807
UD
572262011-05-31 Ulrich Drepper <drepper@gmail.com>
57227
356f8bc6
UD
57228 * version.h (RELEASE): Bump for 2.14 release.
57229 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57230
5b27a807
UD
57231 * config.make.in (RANLIB): Remove entry.
57232
01f16ab0
UD
572332011-05-30 Ulrich Drepper <drepper@gmail.com>
57234
41fce8bd
UD
57235 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57236 (libc.pot): Work around missing support for .ksh extension in xgettext.
57237
4769ae77
UD
57238 [BZ #12684]
57239 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57240 if both request failed.
57241 (send_dg): In case of server errors clear resplen or *resplen2.
57242
6b1e7d19
UD
57243 [BZ #12454]
57244 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57245 when there are multiple maps.
57246 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57247 (_dl_fini): Remove test here.
57248
01f16ab0
UD
57249 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57250
b1ebd700
UD
572512011-05-29 Ulrich Drepper <drepper@gmail.com>
57252
7ae22829
UD
57253 [BZ #12350]
57254 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57255 bit from old_res_options.
57256 (gaih_inet): Likewise.
57257
553149f6 57258 [BZ #11099]
18a84741 57259 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
57260 as signed.
57261
652ffab1
UD
57262 * resolv/res_init.c (res_setoptions): Make the code more compact.
57263
16985fd0
UD
57264 [BZ #11558]
57265 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57266 set RES_USEVC.
57267
0464f746
UD
57268 [BZ #11634]
57269 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57270
7d17596c
UD
57271 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57272
cf6bbbd7
UD
57273 [BZ #11781]
57274 * malloc/malloc.h: Declare malloc hook variables as volatile.
57275
13f1ab36
UD
57276 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57277 in last patch.
57278
b1ebd700
UD
57279 [BZ #11799]
57280 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 57281 raise in the comment.
80e2212d
UD
57282 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57284 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 57285
ce67228d
UD
572862011-05-28 Ulrich Drepper <drepper@gmail.com>
57287
8887a920
UD
57288 [BZ #12811]
57289 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57290 grow the buffers more if it already has to be sufficient.
57291 (build_wcs_upper_buffer): Likewise.
57292 * posix/regexec.c (check_matching): Likewise.
57293 (clean_state_log_if_needed): Likewise.
57294 (extend_buffers): Don't enlarge buffers beyond size of the input
57295 buffer.
57296 Patches mostly by Emil Wojak <emil@wojak.eu>.
57297 * posix/bug-regex32.c: New file.
57298 * posix/Makefile (tests): Add bug-regex32.
57299
4f031072
UD
57300 * locale/findlocale.c (_nl_find_locale): Return right away if
57301 _nl_explode_name failed.
57302 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57303
d0478f0c
UD
57304 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57305
de81b246
UD
57306 * debug/xtrace.sh: Unify messages.
57307 * malloc/memusage.sh: Likewise.
57308
c738465a
UD
57309 [BZ #12813]
57310 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57311 time symbol from vDSO. Substitute with vsyscall if not available.
57312 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57313 __vdso_time.
57314
f1f929d7
UD
57315 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57316 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57317 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57318 Add sendmmsg and internal_sendmmsg.
57319 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57320 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57321 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57322
ce67228d
UD
57323 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57324 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57325 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57326
e57420c6
UD
573272011-05-27 Ulrich Drepper <drepper@gmail.com>
57328
a8509ca5
UD
57329 [BZ #12813]
57330 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57331 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57332 available.
57333 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57334 __vdso_getcpu.
57335
e57420c6
UD
57336 [BZ #12814]
57337 * iconvdata/Makefile (tests): Add bug-iconv9.
57338 * iconvdata/bug-iconv9.c: New file.
57339
4d07db15
AS
573402011-05-27 Andreas Schwab <schwab@redhat.com>
57341
57342 [BZ #12814]
57343 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57344
ea486f69
JJ
573452011-05-25 Jakub Jelinek <jakub@redhat.com>
57346
57347 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57348 (struct user_regs_struct): Change intcs field back to cs.
57349
6f038433
UD
573502011-05-25 Ulrich Drepper <drepper@gmail.com>
57351
57352 * po/ja.po: Update from translation team.
57353
67f86a25
UD
573542011-05-23 Ulrich Drepper <drepper@gmail.com>
57355
57356 [BZ #12795]
57357 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57358 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57359
def7fbd6
AS
573602011-05-20 Andreas Schwab <schwab@redhat.com>
57361
57362 * stdlib/longlong.h: Update from GCC.
57363
f50ef8f1
AS
573642011-05-23 Andreas Schwab <schwab@redhat.com>
57365
57366 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57367 parameter name.
57368 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57369 Add parameter name.
57370 (__sysconf): Pass it down.
57371
de7ce8f1
UD
573722011-05-22 Ulrich Drepper <drepper@gmail.com>
57373
f2962a71
UD
57374 [BZ #12671]
57375 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57376 some situations.
57377 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57378 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57379 add in in __libc_use_alloca calls. Adjust callers.
57380 (glob): Use malloc in some situations.
57381
de7ce8f1
UD
57382 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57383 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57384 pltexit.
57385
aec84f53
UD
573862011-05-21 Ulrich Drepper <drepper@gmail.com>
57387
05bb4a68
UD
57388 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57389 and CLOCK_BOOTTIME_ALARM.
57390
7ea72f99
UD
57391 [BZ #12782]
57392 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57393 is returned.
57394
7e4afad5
UD
57395 * string/_strerror.c (__strerror_r): Print negative errors as signed
57396 numbers.
57397
8e211fec
UD
57398 [BZ #12777]
57399 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57400 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57401 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57402
f7d82dc9
UD
57403 * configure.in: Fix typo in redirection and correct removal of test
57404 files in two cases.
57405
cc9e536d
UD
57406 [BZ #12788]
57407 * locale/setlocale.c (new_composite_name): Fix test to check for
57408 identical name of all categories.
57409
aec84f53
UD
57410 [BZ #12792]
57411 * libio/filedoalloc.c (local_isatty): New function.
57412 (_IO_file_doallocate): Use local_isatty.
57413 * stdio-common/perror.c (perror): In case a new stream is used
57414 forward the stream error.
57415 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57416 error flag.
57417
78e64fdc
RT
574182011-05-20 Ulrich Drepper <drepper@gmail.com>
57419
34a9094f
UD
57420 [BZ #11869]
57421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57422 alloca.
57423 * include/alloca.h (extend_alloca_account): Define.
57424
78e64fdc
RT
57425 [BZ #11857]
57426 * posix/regex.h: Fix comments with documentation of user-accessible
57427 fields after compilation and describe correct free'ing of pattern
57428 after re_compile_pattern.
57429 Patch by Reuben Thomas <rrt@sc3d.org>.
57430
457bddfc
RA
574312011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57432
57433 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57434 and -mno-altivec to prevent the compiler from using Altivec and/or
57435 VSX instructions when the corresponding registers are not available.
57436
a4527b51
AS
574372011-05-19 Andreas Schwab <schwab@redhat.com>
57438
57439 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57440
ed690b2f
UD
574412011-05-19 Ulrich Drepper <drepper@gmail.com>
57442
57443 * libio/freopen.c (freopen): Use __dup2, not dup2.
57444 * libio/freopen64.c (freopen64): Likewise.
57445
8db73634
L
574462011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57447
57448 [BZ #12775]
57449 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57450 * math/Makefile (tests): Add test-powl.
57451 (CFLAGS-test-powl.c): Define.
57452 * math/test-powl.c: New file.
57453
0a197a9d
L
574542011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57455
57456 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57457
ee30c380
UD
574582011-05-17 Ulrich Drepper <drepper@gmail.com>
57459
57460 [BZ #11837]
57461 * iconvdata/gb18030.c: Update to GB18020-2005.
57462
6ce75379
UD
574632011-05-16 Ulrich Drepper <drepper@gmail.com>
57464
a4b89fd8
AR
57465 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57466 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57467 Patch by Aharon Robbins <arnold@skeeve.com>.
57468
ea389b12
UD
57469 [BZ #11892]
57470 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57471 on the stack.
57472
68a3f91f
UD
57473 [BZ #11895]
57474 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57475 through underflows.
57476
15cc7dd1
UD
57477 [BZ #12766]
57478 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57479 point to strings before performing equality test for error_one_per_line
57480 mode.
57481
f3799213
UD
57482 [BZ #11697]
57483 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57484
d79a9c94
UD
57485 [BZ #11820]
57486 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57487 (struct user_fpregs_struct): Avoid __uint*_t types.
57488
56e5eb46
UD
57489 [BZ #6420]
57490 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57491 symbol info. Use it instead of calling _dl_addr locally.
57492 (lock_and_info): New function.
57493 (tr_freehook): Call lock_and_info and pass symbol info as additional
57494 parameter to tr_where.
57495 (tr_mallochook): Likewise.
57496 (tr_reallochook): Likewise.
57497 (tr_memalignhook): Likewise.
57498
6ce75379
UD
57499 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57500 used and couldn't be at all thread-safe.
57501
f8a3b5bf
UD
575022011-05-15 Ulrich Drepper <drepper@gmail.com>
57503
94b7cc37
UD
57504 * libio/freopen.c (freopen): Don't close old file descriptor
57505 before the new one is opened. Instead dup the new file descriptor
57506 to the old one after the new stream is created.
57507 * libio/freopen64.c (freopen64): Likewise.
57508 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57509 * libio/fileops.c (_IO_new_file_close_it): Handle new
57510 _IO_FLAGS2_NOCLOSE flag.
57511 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57512 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57513 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57514 _IO_FLAGS2_NOCLOSE flag.
57515 * include/unistd.h: Add hidden_proto for dup3.
57516 Define __have_dup3.
57517 * io/dup3.c: Define hidden symbol.
57518 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57519
bd25564e
UD
57520 [BZ #7101]
57521 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57522 when an incomplete long option is used.
57523 * posix/tst-getopt_long1.c: New file.
57524 * posix/Makefile (tests): Add tst-getopt_long1.
57525
c84cfef4
UD
57526 [BZ #10138]
57527 * scripts/config.guess: Update from autoconf-2.68.
57528 * scripts/config.sub: Likewise.
57529
3b85df27
UD
57530 [BZ #10157]
57531 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57532 tests into ...
57533 (has_cpuclock): ...this. New function.
57534 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57535 macro here based on has_cpuclock code.
57536
15a856b1
UD
57537 [BZ #10149]
57538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57539 First byte (not low byte) is now always NUL.
57540 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57541
05f399e6
UD
57542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57543 Use non-cancelable interfaces.
57544
10a52685 57545 [BZ #9809]
94ecc67d
UD
57546 * locale/iso-639.def: Add entry for Sorani.
57547
f8a3b5bf
UD
57548 [BZ #11901]
57549 * include/stdlib.h: Move include protection to the right place.
57550 Define abort_msg_s. Declare __abort_msg with it.
57551 * stdlib/abort.c (__abort_msg): Adjust type.
57552 * assert/assert.c (__assert_fail_base): New function. Majority
57553 of code from __assert_fail. Allocate memory for __abort_msg with
57554 mmap.
57555 (__assert_fail): Now call __assert_fail_base.
57556 * assert/assert-perr.c: Remove bulk of implementation. Use
57557 __assert_fail_base.
57558 * include/assert.hL Declare __assert_fail_base.
57559 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57560 mmap.
57561 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57562
1af4e298
UD
575632011-05-14 Ulrich Drepper <drepper@gmail.com>
57564
f8a3b5bf 57565 [BZ #11952]
d26dfc60
MG
57566 [BZ #12453]
57567 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57568 until all modules are registered in the DTV.
57569 * elf/Makefile: Add rules to build and run tst-tls19.
57570 * elf/tst-tls19.c: New file.
57571 * elf/tst-tls19mod1.c: New file.
57572 * elf/tst-tls19mod2.c: New file.
57573 * elf/tst-tls19mod3.c: New file.
57574 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57575
2fc54d6f
UD
57576 [BZ #12083]
57577 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57578 correctly.
57579
98d76b46
UD
57580 [BZ #12601]
57581 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57582 two-byte sequence errors.
57583 * iconvdata/Makefile (tests): Add bug-iconv8.
57584 * iconvdata/bug-iconv8.c: New file.
57585
da3c19ef
UD
57586 [BZ #12626]
57587 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57588 buf2 definition.
57589
ca408c15
UD
57590 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57591
d6f67f7d
UD
57592 [BZ #12432]
57593 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57594 (dummy_getcfa): New function.
57595 (init): Get _Unwind_GetCFA address, use dummy if not found.
57596 (backtrace_helper): In recursion check, also check whether CFA changes.
57597 (__backtrace): Completely initialize arg.
57598
1af4e298 57599 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
57600 storing incomplete byte sequence in state object. Avoid testing for
57601 guaranteed too small input if we know there is enough data available.
1af4e298 57602
da62f81b
AS
576032011-05-11 Andreas Schwab <schwab@redhat.com>
57604
57605 * Makeconfig (+link-pie): Indent.
57606 * Rules (binaries-pie): Define if $(have-fpie) and
57607 $(build-shared).
57608 (binaries-shared): Also filter out $(binaries-pie).
57609 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57610 * nscd/Makefile (others-pie): Add nscd.
57611 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57612 ($(objpfx)nscd): Remove command override.
57613 * login/Makefile (others-pie): Add pt_chown.
57614 ($(objpfx)pt_chown): Remove command override.
57615 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57616 remove command overrides.
57617
fcabc0f8
UD
576182011-05-13 Ulrich Drepper <drepper@gmail.com>
57619
20030ae6
UD
57620 * libio/tst_putwc.c: Fix error messages.
57621
fcabc0f8
UD
57622 [BZ #12724]
57623 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57624 currently writing and seek to current position when not.
57625 * libio/Makefile (tests): Add bug-fclose1.
57626 * libio/bug-fclose1.c: New file.
57627
320a5dc0
PB
576282011-05-12 Ulrich Drepper <drepper@gmail.com>
57629
57630 [BZ #12511]
57631 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57632 don't set DF_1_NODELETE here.
57633 (do_lookup_x): When entering new entry test for copy relocation
57634 and if necessary set DF_1_NODELETE flag.
57635 * elf/tst-unique4.cc: New file.
57636 * elf/tst-unique4.h: New file.
57637 * elf/tst-unique4lib.cc: New file.
57638 * elf/Makefile: Add rules to build and run tst-unique4.
57639 Patch by Piotr Bury <pbury@goahead.com>.
57640
22836f52
UD
576412011-05-11 Ulrich Drepper <drepper@gmail.com>
57642
f574184a
UD
57643 [BZ #12052]
57644 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57645
e1fb097f
UD
57646 [BZ #12625]
57647 * misc/mntent_r.c (addmntent): Flush the stream after the output
57648
22836f52
UD
57649 [BZ #12393]
57650 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57651 (is_trusted_path_normalize): Skip initial colon. Append slash
57652 to empty buffer. Duplicate is_trusted_path code but allow
57653 constructed patch to be prefix.
57654 (is_dst): Allow $ORIGIN followed by /.
57655 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57656 Correct testing of result of is_trusted_path_normalize
57657 (decompose_rpath): Fix warning.
57658
7b3b0b2a
UD
576592011-05-10 Ulrich Drepper <drepper@gmail.com>
57660
57661 [BZ #11257]
57662 * grp/initgroups.c (internal_getgrouplist): When we found the service
57663 list through the initgroups entry in nsswitch.conf do not always
57664 continue on a successful lookup. Don't always use the
eac80ce2 57665 __nss_group_database value if it is set.
7b3b0b2a
UD
57666 * nss/nsswitch.conf (initgroups): Change action for successful db
57667 lookup to continue for compatibility.
57668
2a81eaa5
UD
576692011-05-09 Ulrich Drepper <drepper@gmail.com>
57670
be97a69e
UD
57671 [BZ #11532]
57672 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57673 and CP774 modules.
57674 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57675 and CP774 modules.
57676 * iconvdata/tst-tables.sh: Likewise.
57677 * iconvdata/cp770.c: New file.
57678 * iconvdata/cp771.c: New file.
57679 * iconvdata/cp772.c: New file.
57680 * iconvdata/cp773.c: New file.
57681 * iconvdata/cp774.c: New file.
57682 * iconvdata/testdata/CP770: New file.
57683 * iconvdata/testdata/CP770..UTF8: New file.
57684 * iconvdata/testdata/CP771: New file.
57685 * iconvdata/testdata/CP771..UTF8: New file.
57686 * iconvdata/testdata/CP772: New file.
57687 * iconvdata/testdata/CP772..UTF8: New file.
57688 * iconvdata/testdata/CP773: New file.
57689 * iconvdata/testdata/CP773..UTF8: New file.
57690 * iconvdata/testdata/CP774: New file.
57691 * iconvdata/testdata/CP774..UTF8: New file.
57692
57693 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57694 END CHARMAP line.
57695 * iconvdata/gen-8bit-gap.sh: Likewise.
57696 * iconvdata/gen-8bit.sh: Likewise.
57697
c1e9e399
UD
57698 * locale/iso-639.def: Add ary entry.
57699
24c55fb3 57700 [BZ #11258]
96b4b1b0
UD
57701 * locale/C-translit.h.in: Add U20A1 transliteration.
57702
bdc2f971
KB
57703 [BZ #12178]
57704 * locale/iso-639.def: Add wae entry.
57705 Patch by Kevin Bortis <bortis@translate-wae.ch>.
57706
2952b117
UD
57707 [BZ #12545]
57708 * locale/programs/localedef.c (construct_output_path): Use ssize_t
57709 for n.
57710
2a81eaa5
UD
57711 [BZ #12711]
57712 * locale/C-translit.h.in: Add entry for U20B9.
57713 Patch by pravin.d.s@gmail.com.
57714
28377d1b
UD
577152011-05-08 Ulrich Drepper <drepper@gmail.com>
57716
7fb90fb8
UD
57717 [BZ #12713]
57718 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57719 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
57720 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
57721 in rtld. Use *stat64.
7fb90fb8 57722 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 57723 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 57724 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
57725 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57726 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57727 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57728 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57729 __fstatat64 macros.
7fb90fb8
UD
57730 * include/dirent.h: Add libc_hidden_proto for rewinddir.
57731 * dirent/rewinddir.c: Add libc_hidden_def.
57732 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 57733 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 57734
28377d1b
UD
57735 * include/dirent.h (__alloc_dir): Add flags parameter.
57736 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57737 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57738 __alloc_dir.
57739 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
57740 from fdopendir if O_CLOEXEC is already set.
57741
66bdbaa4
AM
577422011-03-15 Alan Modra <amodra@gmail.com>
57743
57744 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57745 l_tls_firstbyte_offset non-zero. Save padding offset in
57746 l_tls_firstbyte_offset for later use.
57747 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57748 freeing static tls block.
57749
95721191
JN
577502011-03-05 Jonathan Nieder <jrnieder@gmail.com>
57751
57752 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57753 where #ifdef was intended. The intent is to prevent ARG_MAX from
57754 being defined by the kernel headers.
57755
f87dfb1f
UD
577562011-05-07 Ulrich Drepper <drepper@gmail.com>
57757
57758 [BZ #12734]
57759 * resolv/resolv.h: Define RES_NOTLDQUERY.
57760 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57761 no-tld-query and set RES_NOTLDQUERY.
57762 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57763 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57764 modern BIND to search name as TLD unless forbidden.
57765
47c3cd7a
UD
577662011-05-07 Petr Baudis <pasky@suse.cz>
57767 Ulrich Drepper <drepper@gmail.com>
57768
57769 [BZ #12393]
57770 * elf/dl-load.c (fillin_rpath): Move trusted path check...
57771 (is_trusted_path): ...to here.
c1e9ea35 57772 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 57773 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 57774 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 57775
8a35c912
PP
577762011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
57777
57778 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57779 __BEGIN/__END_DECLS.
57780
acd41f47
UD
577812011-05-06 Ulrich Drepper <drepper@gmail.com>
57782
57783 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57784 NSS_STATUS_NOTFOUND if no record was found.
57785
597df647
AS
577862011-05-05 Andreas Schwab <schwab@redhat.com>
57787
57788 * sunrpc/Makefile (headers): Add rpc/netdb.h.
57789 (headers-not-in-tirpc): Remove rpc/netdb.h
57790 * resolv/netdb.h: Revert last change.
57791
b9af1301
PP
577922011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57793
57794 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57795 circular dependency between libgcc.a and libc.a.
57796
4e34d5f5
AS
577972011-05-05 Andreas Schwab <schwab@redhat.com>
57798
57799 * resolv/netdb.h: Don't include <rpc/netdb.h>.
57800 * nis/Makefile: Don't install rpcsvc/*.
57801 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57802 instead of <rpc/types.h>.
57803 (MAXHOSTNAMELEN): Define.
57804
00ee369c
AS
578052011-05-03 Andreas Schwab <schwab@redhat.com>
57806
57807 * elf/ldconfig.c (add_dir): Don't crash on empty path.
57808
0b592a30
MB
578092011-04-28 Maciej Babinski <mbabinski@google.com>
57810
57811 [BZ #12714]
57812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57813 gethostbyname4_r when IPv6 results are possible.
57814
6e04cbbe
UD
578152011-05-02 Ulrich Drepper <drepper@gmail.com>
57816
57817 [BZ #12723]
57818 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57819 _PC_PIPE_BUF handling.
57820
e4ecafe0
BH
578212011-04-30 Bruno Haible <bruno@clisp.org>
57822
57823 [BZ #12717]
57824 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57825 * resolv/netdb.h (getnameinfo): Change type of flags parameter
57826 to 'int'.
57827 * inet/getnameinfo.c (getnameinfo): Likewise.
57828
125ee683
UD
578292011-04-29 Ulrich Drepper <drepper@gmail.com>
57830
57831 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57832 to groups setting in database lookup.
57833 * nss/nsswitch.conf: Add initgroups entry.
57834
b722481a
EB
578352011-04-22 Ulrich Drepper <drepper@gmail.com>
57836
57837 [BZ #12685]
57838 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57839 mode string.
57840 Patch by Eric Blake <eblake@redhat.com>.
57841
4df46dbd
L
578422011-04-20 H.J. Lu <hongjiu.lu@intel.com>
57843
57844 * sunrpc/Makefile (need-export-routines): Add svc_run.
57845 (routines): Remove svc_run.
57846 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57847 * sunrpc/clnt_perr.c (clnt_perrno): Export.
57848 * sunrpc/svc_run.c (svc_run): Likewise.
57849 * sunrpc/svc_udp.c (svcudp_create): Likewise.
57850
e84142d2
UD
578512011-04-21 Ulrich Drepper <drepper@gmail.com>
57852
57853 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57854 problem in reallocation in last patch.
57855
877175d8
UD
578562011-04-20 Ulrich Drepper <drepper@gmail.com>
57857
57858 * sunrpc/Makefile: Move inclusion of Rules.
57859
ab8eed78
UD
578602011-04-19 Ulrich Drepper <drepper@gmail.com>
57861
57862 * nss/nss_files/files-initgroups.c: New file.
57863 * nss/Makefile (libnss_files-routines): Add files-initgroups.
57864 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
57865 _nss_files_initgroups_dyn.
57866
e3d8f584
RS
578672011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
57868
57869 * elf/elf.h (R_ARM_IRELATIVE): Define.
57870
af190f45
UD
578712011-04-19 Ulrich Drepper <drepper@gmail.com>
57872
57873 * po/ru.po: Update from translation team.
57874
53cf59ef
UD
578752011-04-17 Ulrich Drepper <drepper@gmail.com>
57876
57877 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57878 dependencies.
57879
4c559bcd
MF
578802011-02-06 Mike Frysinger <vapier@gentoo.org>
57881
57882 [BZ #12653]
57883 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57884 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57885 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57886 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57888
4420675c
AS
578892011-03-28 Andreas Schwab <schwab@linux-m68k.org>
57890
57891 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57892 differing bytes.
57893 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57894 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57895 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57896
75ea32ab
UD
578972011-04-17 Ulrich Drepper <drepper@gmail.com>
57898
57899 [BZ #12420]
57900 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57901 storing it.
57902 * stdlib/bug-getcontext.c: New file.
57903 * stdlib/Makefile: Add rules to build and run bug-getcontext.
57904
27390476
AK
579052011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57906
57907 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57908 instructions into .machine "z9-109".
57909 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57910 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57911
10442705
AK
579122011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57913
57914 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57915 between environment variables and auxiliary vector.
57916
7b57bfe5
UD
579172011-04-16 Ulrich Drepper <drepper@gmail.com>
57918
57919 * Makefile: Add rules to build linkobj/libc.so.
57920 * include/libc-symbols.h: Define libc_hidden_nolink.
57921 * include/rpc/auth.h: Mark functions which are to be hidden.
57922 * include/rpc/auth_des.h: Likewise.
57923 * include/rpc/auth_unix.h: Likewise.
57924 * include/rpc/clnt.h: Likewise.
57925 * include/rpc/des_crypt.h: Likewise.
57926 * include/rpc/key_prot.h: Likewise.
57927 * include/rpc/pmap_clnt.h: Likewise.
57928 * include/rpc/pmap_prot.h: Likewise.
57929 * include/rpc/pmap_rmt.h: Likewise.
57930 * include/rpc/rpc_msg.h: Likewise.
57931 * include/rpc/svc.h: Likewise.
57932 * include/rpc/svc_auth.h: Likewise.
57933 * include/rpc/xdr.h: Likewise.
57934 * nis/Makefile: Link all DSOs against linkobj/libc.so.
57935 * nss/Makefile: Likewise.
57936 * sunrpc/Makefile: Don't install headers. Build library with normal
57937 entry points. Don't build rpcinfo. Link RPC tests appropriately.
57938 * sunrpc/auth_des.c: Hide exported symbols by default, export some
57939 for the compat linking library. Remove use of INTDEF/INTUSE.
57940 * sunrpc/auth_none.c: Likewise.
57941 * sunrpc/auth_unix.c: Likewise.
57942 * sunrpc/authdes_prot.c: Likewise.
57943 * sunrpc/authuxprot.c: Likewise.
57944 * sunrpc/clnt_gen.c: Likewise.
57945 * sunrpc/clnt_perr.c: Likewise.
57946 * sunrpc/clnt_raw.c: Likewise.
57947 * sunrpc/clnt_simp.c: Likewise.
57948 * sunrpc/clnt_tcp.c: Likewise.
57949 * sunrpc/clnt_udp.c: Likewise.
57950 * sunrpc/clnt_unix.c: Likewise.
57951 * sunrpc/des_crypt.c: Likewise.
57952 * sunrpc/des_soft.c: Likewise.
57953 * sunrpc/get_myaddr.c: Likewise.
57954 * sunrpc/key_call.c: Likewise.
57955 * sunrpc/key_prot.c: Likewise.
57956 * sunrpc/netname.c: Likewise.
57957 * sunrpc/pm_getmaps.c: Likewise.
57958 * sunrpc/pm_getport.c: Likewise.
57959 * sunrpc/pmap_clnt.c: Likewise.
57960 * sunrpc/pmap_prot.c: Likewise.
57961 * sunrpc/pmap_prot2.c: Likewise.
57962 * sunrpc/pmap_rmt.c: Likewise.
57963 * sunrpc/publickey.c: Likewise.
57964 * sunrpc/rpc_cmsg.c: Likewise.
57965 * sunrpc/rpc_common.c: Likewise.
57966 * sunrpc/rpc_dtable.c: Likewise.
57967 * sunrpc/rpc_prot.c: Likewise.
57968 * sunrpc/rpc_thread.c: Likewise.
57969 * sunrpc/rtime.c: Likewise.
57970 * sunrpc/svc.c: Likewise.
57971 * sunrpc/svc_auth.c: Likewise.
57972 * sunrpc/svc_authux.c: Likewise.
57973 * sunrpc/svc_raw.c: Likewise.
57974 * sunrpc/svc_run.c: Likewise.
57975 * sunrpc/svc_simple.c: Likewise.
57976 * sunrpc/svc_tcp.c: Likewise.
57977 * sunrpc/svc_udp.c: Likewise.
57978 * sunrpc/svc_unix.c: Likewise.
57979 * sunrpc/svcauth_des.c: Likewise.
57980 * sunrpc/xcrypt.c: Likewise.
57981 * sunrpc/xdr.c: Likewise.
57982 * sunrpc/xdr_array.c: Likewise.
57983 * sunrpc/xdr_float.c: Likewise.
57984 * sunrpc/xdr_intXX_t.c: Likewise.
57985 * sunrpc/xdr_mem.c: Likewise.
57986 * sunrpc/xdr_rec.c: Likewise.
57987 * sunrpc/xdr_ref.c: Likewise.
57988 * sunrpc/xdr_sizeof.c: Likewise.
57989 * sunrpc/xdr_stdio.c: Likewise.
57990
e6c61494
UD
579912011-04-10 Ulrich Drepper <drepper@gmail.com>
57992
57993 [BZ #12650]
57994 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57995 * sysdeps/ia64/dl-tls.h: Likewise.
57996 * sysdeps/powerpc/dl-tls.h: Likewise.
57997 * sysdeps/s390/dl-tls.h: Likewise.
57998 * sysdeps/sh/dl-tls.h: Likewise.
57999 * sysdeps/sparc/dl-tls.h: Likewise.
58000 * sysdeps/x86_64/dl-tls.h: Likewise.
58001 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58002
34fe483e
AS
580032011-03-14 Andreas Schwab <schwab@redhat.com>
58004
58005 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58006 rpath element also skip the following colon.
58007 (expand_dynamic_string_token): Add is_path parameter and pass
58008 down to DL_DST_REQUIRED and _dl_dst_substitute.
58009 (decompose_rpath): Call expand_dynamic_string_token with
58010 non-zero is_path. Ignore empty rpaths.
58011 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58012 with zero is_path.
58013
f12a32e6
AS
580142011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58015
58016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58017 Make cancelable.
58018
38a7d692
UD
580192011-04-09 Ulrich Drepper <drepper@gmail.com>
58020
58021 [BZ #12655]
58022 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58023 Patch by Filipe David Manana <fdmanana@apache.org>.
58024
e451d22b
AS
580252011-04-07 Andreas Schwab <schwab@redhat.com>
58026
58027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58028 Maintain aligned stack.
58029 (CHECK_RSP): Remove unused macro.
58030
dedc7c7b
UD
580312011-04-03 Ulrich Drepper <drepper@gmail.com>
58032
58033 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58034 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58035
94521213
UD
580362011-04-02 Ulrich Drepper <drepper@gmail.com>
58037
58038 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58039
8cb700c0 58040 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 58041
0354e355
L
580422011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58043
58044 [BZ #12518]
58045 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58046 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58047 * sysdeps/x86_64/memmove.c: New file.
58048 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58049 (memcpy): Renamed to ...
58050 (__new_memcpy): This.
58051 (memcpy): Provide GLIBC_2_14 memcpy.
58052 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58053 (memcpy): Provide GLIBC_2_2_5 memcpy.
58054
8593482f
UD
580552011-04-01 Ulrich Drepper <drepper@gmail.com>
58056
58057 [BZ #12631]
58058 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58059
81a5726b
AS
580602011-03-30 Andreas Schwab <schwab@redhat.com>
58061
58062 * misc/syncfs.c: New file.
58063 * misc/Makefile (routines): Add syncfs.
58064 * posix/unistd.h: Declare syncfs.
58065 * sysdeps/unix/syscalls.list: Add syncfs.
58066
00e5419f
AS
580672011-04-01 Andreas Schwab <schwab@redhat.com>
58068
58069 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58070 open_by_handle_at.
58071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58072 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58074 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58076 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58078
748876bf
UD
580792011-04-01 Ulrich Drepper <drepper@gmail.com>
58080
658e451d
UD
58081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58082 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58083 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58088
748876bf
UD
58089 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58090 sync_file_range.c with -fexceptions.
58091 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58092 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58093 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58094 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58095 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58096 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58097 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
58098 sync_file_range as cancellation point
58099 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58100 now a wrapper around __call_sync_file_range with cancellation handling.
58101 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58102 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58103 function name to __call_sync_file_range.
58104 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58105 Add call_sync_file_range.
748876bf 58106
6e63d5e1
AS
581072011-04-01 Andreas Schwab <schwab@redhat.com>
58108
58109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 58110 bits/timex.h.
6e63d5e1 58111
46998f74
UD
581122011-04-01 Ulrich Drepper <drepper@gmail.com>
58113
4c1423ed
UD
58114 * iconv/iconv.h: Fix typo in comment.
58115 * io/fcntl.h: Likewise.
58116 * libio/stdio.h: Likewise.
58117 * posix/spawn.h: Likewise.
58118 * posix/unistd.h: Likewise.
58119 * stdlib/stdlib.h: Likewise.
58120 * time/time.h: Likewise.
58121 * wcsmbs/wchar.h: Likewise.
58122
158648c0
UD
58123 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58124 open_by_handle): Add.
58125 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58126 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58127 Augment a few comments.
58128 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58129 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58133 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58134 open_by_handle.
58135
46998f74
UD
58136 * io/fcntl.h (AT_EMPTY_PATH): Define.
58137
83fe108b
UD
581382011-03-30 Ulrich Drepper <drepper@gmail.com>
58139
58140 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58141 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58142 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58143 to...
58144 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
58145 * Versions.def: Add GLIBC_2.14.
58146 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58147 Export.
83fe108b 58148
bb242059
UD
581492011-03-22 Ulrich Drepper <drepper@gmail.com>
58150
58151 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58152 round counter.
58153 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58154
c97a1282
L
581552011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58156
58157 [BZ #12597]
58158 * string/test-strncmp.c (do_page_test): New function.
58159 (check2): Likewise.
58160 (test_main): Call check2.
58161 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58162
2a115601
UD
581632011-03-20 Ulrich Drepper <drepper@gmail.com>
58164
58165 [BZ #12587]
58166 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58167 Handle cache information in CPU leaf 4.
58168 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58169
8126d904
UD
581702011-03-18 Ulrich Drepper <drepper@gmail.com>
58171
042c49c6 58172 [BZ #12583]
8126d904
UD
58173 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58174 character representation.
58175 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58176
ccfe366e
RA
581772011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58178
58179 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58180 END(__isnan) to END(__isnanf) to match function entry point/label
58181 EALIGN(__isnanf,...).
58182
c6e13027
JJ
581832011-03-10 Jakub Jelinek <jakub@redhat.com>
58184
58185 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58186
33f85a3f
UD
581872011-03-10 Ulrich Drepper <drepper@gmail.com>
58188
028478fa
UD
58189 [BZ #12510]
58190 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58191 copy from the symbol referenced in the relocation to initialize the
58192 used variable.
58193 Patch by Piotr Bury <pbury@goahead.com>.
58194 * elf/Makefile: Add rules to build and tst-unique3.
58195 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58196 * elf/tst-unique3.cc: New file.
58197 * elf/tst-unique3.h: New file.
58198 * elf/tst-unique3lib.cc: New file.
58199 * elf/tst-unique3lib2.cc: New file.
58200
33f85a3f
UD
58201 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58202
03592fc7
MF
582032011-03-10 Mike Frysinger <vapier@gentoo.org>
58204
58205 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58206 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58207 to _start.
03592fc7 58208
6a5ee102
UD
582092011-03-06 Ulrich Drepper <drepper@gmail.com>
58210
58211 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58212 to-be-loaded object along a path to loader is ld.so.
58213
7e4ba49c
HJ
582142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58215 Ulrich Drepper <drepper@gmail.com>
58216
58217 * sysdeps/x86_64/memset.S: After aligning destination, code
58218 branches to different locations depending on the value of
58219 misalignment, when multiarch is enabled. Fix this.
58220
582212011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58222
58223 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58224 Set _x86_64_preferred_memory_instruction for AMD processsors.
58225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58226 Set bit_Prefer_SSE_for_memop for AMD processors.
58227
13a804de
UD
582282011-03-04 Ulrich Drepper <drepper@gmail.com>
58229
58230 * libio/fmemopen.c (fmemopen): Optimize a bit.
58231
9d25c392
AS
582322011-03-03 Andreas Schwab <schwab@redhat.com>
58233
58234 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58235
a5543c6a
RM
582362011-03-03 Roland McGrath <roland@redhat.com>
58237
58238 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58239
012d35f7
DM
582402011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58241
7e4ba49c 58242 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
58243 __bzero_ultra1 instead of __memset_ultra1.
58244
4bff6e01
AS
582452011-02-23 Andreas Schwab <schwab@redhat.com>
58246 Ulrich Drepper <drepper@gmail.com>
58247
58248 [BZ #12509]
58249 * include/link.h (struct link_map): Add l_orig_initfini.
58250 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58251 returning unsuccessfully.
58252 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58253 close of a file loaded at startup, restore the original l_initfini
58254 list.
58255 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58256 list, store the pointer.
58257 * elf/Makefile ($(objpfx)noload-mem): New rule.
58258 (noload-ENV): Define.
58259 (tests): Add $(objpfx)noload-mem.
58260 * elf/noload.c: Include <memcheck.h>.
58261 (main): Call mtrace. Close all opened handles.
58262
f2092faf
AS
582632011-02-17 Andreas Schwab <schwab@redhat.com>
58264
58265 [BZ #12454]
58266 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58267 dependencies are missing.
58268
6c8a2e88
ST
582692011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58270
f2092faf 58271 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
58272 Hurd needs munmap.
58273 * sysdeps/mach/hurd/ifreq.h: New file.
58274
84a42118
PB
582752011-01-27 Petr Baudis <pasky@suse.cz>
58276 Ulrich Drepper <drepper@gmail.com>
58277
071f805e 58278 [BZ 12445]#
84a42118
PB
58279 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58280 to extend_alloca().
58281 * stdio-common/bug23.c: New file.
58282 * stdio-common/Makefile (tests): Add bug23.
58283
e23fe25b
AS
582842010-09-28 Andreas Schwab <schwab@redhat.com>
58285 Ulrich Drepper <drepper@gmail.com>
58286
58287 [BZ #12489]
58288 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58289 before performing relro protection. At old place add assertion
58290 to make sure nothing changed.
58291
d3f02e10
NS
582922011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58293 Glauber de Oliveira Costa <glommer@gmail.com>
58294
58295 * elf/elf.h: Add new ARM TLS relocs.
58296
d55fd7a5
RA
582972011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58298
58299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58300 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58301 cast from r3.
58302 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58303 'tests' variable.
58304 * sysdeps/wordsize-64/tst-writev.c: New file.
58305
2206397e
RA
583062011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58307
58308 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58309 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58310 insns in _dl_start to prevent a TOC reference before relocs are
58311 resolved.
58312
e9433893
UD
583132011-02-15 Ulrich Drepper <drepper@gmail.com>
58314
58315 [BZ #12469]
58316 * Makeconfig: Remove RANLIB definition.
58317 * Makerules: Don't use RANLIB.
58318 * aclocal.m4: Remove ranlib test.
58319 * configure.in: No need to check for ranlib.
58320 * elf/rtld-Rules: Don't use RANLIB.
58321
f75286c6
ST
583222011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58323
8e31c82d
ST
58324 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58325 protection macro.
58326 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58327 inclusion protection macro.
58328
f75286c6
ST
58329 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58330 SIGRTMIN and SIGRTMAX and print information in that case only when
58331 SIGRTMIN is defined.
58332
c1d0e639
JJ
583332011-02-11 Jakub Jelinek <jakub@redhat.com>
58334
58335 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58336 arginfo fn returning -1.
58337
58338 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58339 and thousands string is zero terminated.
58340
edf9294e
AS
583412011-02-03 Andreas Schwab <schwab@redhat.com>
58342
58343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58344 sysdeps/unix/sysv/linux/bits/socket.h.
58345
2b7e92df
ST
583462011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58347
edf9294e
AS
58348 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58349 (__CPU_COUNT): Remove old macros.
58350 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58351 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58352 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
58353 (__sched_cpualloc, __sched_cpufree): Add declarations.
58354
a4c7ea7b
UD
583552011-02-05 Ulrich Drepper <drepper@gmail.com>
58356
58357 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58358 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58359 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58360 (readdhstai): Return value of addhstaiX call.
58361 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58362 (addgrbyX): Return value returned by cache_addgr.
58363 (readdgrbyname): Return value returned by addgrbyX.
58364 (readdgrbygid): Likewise.
58365 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58366 (addpwbyX): Return value returned by cache_addpw.
58367 (readdpwbyname): Return value returned by addhstbyX.
58368 (readdpwbyuid): Likewise.
58369 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58370 (addservbyX): Return value returned by cache_addserv.
58371 (readdservbyname): Return value returned by addservbyX:
58372 (readdservbyport): Likewise.
58373 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58374 (addhstbyX): Return value returned by cache_addhst.
58375 (readdhstbyname): Return value returned by addhstbyX.
58376 (readdhstbyaddr): Likewise.
58377 (readdhstbynamev6): Likewise.
58378 (readdhstbyaddrv6): Likewise.
58379 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58380 (readdinitgroups): Return value returned by addinitgroupsX.
58381 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58382 (prune_cache): Keep track of timeout value of re-added entries.
58383 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58384 * nscd/nscd.h: Adjust prototypes of readd* functions.
58385
a0bf67cc
RM
583862011-02-04 Roland McGrath <roland@redhat.com>
58387
58388 * nis/nis_server.c (nis_servstate): Use the right name for 0.
58389 (nis_stats): Likewise.
58390 * nis/nis_modify.c (nis_modify): Likewise.
58391 * nis/nis_remove.c (nis_remove): Likewise.
58392 * nis/nis_add.c (nis_add): Likewise.
58393
58394 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58395
58396 * posix/fnmatch_loop.c: Add some consts.
58397
58398 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58399
435b95eb
L
584002011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58401
58402 [BZ #12460]
58403 * config.make.in (config-cflags-novzeroupper): Define.
58404 * configure.in: Substitute libc_cv_cc_novzeroupper.
58405 * elf/Makefile (AVX-CFLAGS): Define.
58406 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58407 (CFLAGS-tst-auditmod4a.c): Likewise.
58408 (CFLAGS-tst-auditmod4b.c): Likewise.
58409 (CFLAGS-tst-auditmod6b.c): Likewise.
58410 (CFLAGS-tst-auditmod6c.c): Likewise.
58411 (CFLAGS-tst-auditmod7b.c): Likewise.
58412 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58413
8517b15e
UD
584142011-02-02 Ulrich Drepper <drepper@gmail.com>
58415
58416 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58417 function to the callback.
58418 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58419
10a656fe
AS
584202011-02-02 Andreas Schwab <schwab@redhat.com>
58421
58422 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58423 of errno.
58424
968dad0a
UD
584252011-01-19 Ulrich Drepper <drepper@gmail.com>
58426
9f94d2ea 58427 [BZ #11724]
968dad0a
UD
58428 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58429 of constructors.
58430 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58431 of destructors.
58432 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58433
58434 [BZ #11724]
58435 * elf/Makefile: Add rules to build and run new test.
58436 * elf/tst-initorder.c: New file.
58437 * elf/tst-initorder.exp: New file.
58438 * elf/tst-initordera1.c: New file.
58439 * elf/tst-initordera2.c: New file.
58440 * elf/tst-initordera3.c: New file.
58441 * elf/tst-initordera4.c: New file.
58442 * elf/tst-initorderb1.c: New file.
58443 * elf/tst-initorderb2.c: New file.
58444 * elf/tst-order-a1.c: New file.
58445 * elf/tst-order-a2.c: New file.
58446 * elf/tst-order-a3.c: New file.
58447 * elf/tst-order-a4.c: New file.
58448 * elf/tst-order-b1.c: New file.
58449 * elf/tst-order-b2.c: New file.
58450 * elf/tst-order-main.c: New file.
58451 New test case by George Gensure <werkt0@gmail.com>.
58452
86e92359
UD
584532010-10-01 Andreas Schwab <schwab@redhat.com>
58454
58455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58456 decoding ACE if AI_CANONIDN.
58457
5d5732b0
UD
584582011-01-18 Ulrich Drepper <drepper@gmail.com>
58459
58460 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58461
a77e8cbc
UD
584622011-01-17 Ulrich Drepper <drepper@gmail.com>
58463
6392473f
UD
58464 * version.h (RELEASE): Bump for 2.13 release.
58465 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58466
620a0529
UD
58467 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58468
18ba70a5
UD
58469 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58470 MADV_NOHUGEPAGE.
32465c3e
UD
58471 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58472 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58473 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58474 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58475 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58476 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58477
c0dafcf1
UD
58478 * posix/getconf.c: Update copyright year.
58479 * catgets/gencat.c: Likewise.
58480 * csu/version.c: Likewise.
58481 * debug/catchsegv.sh: Likewise.
58482 * debug/xtrace.sh: Likewise.
58483 * elf/ldconfig.c: Likewise.
58484 * elf/ldd.bash.in: Likewise.
58485 * elf/sprof.c (print_version): Likewise.
58486 * iconv/iconv_prog.c: Likewise.
58487 * iconv/iconvconfig.c: Likewise.
58488 * locale/programs/locale.c: Likewise.
58489 * locale/programs/localedef.c: Likewise.
58490 * malloc/memusage.sh: Likewise.
58491 * malloc/mtrace.pl: Likewise.
58492 * nscd/nscd.c (print_version): Likewise.
58493 * nss/getent.c: Likewise.
58494
a77e8cbc
UD
58495 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58496 PF_CAIF, and PF_ALG.
58497 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58498
77e8bddf
AS
584992011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58500
1f20b93a
AS
58501 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58502 (modules-names): Use them.
58503 (ifunc-test-modules, ifunc-pie-tests): Define.
58504 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58505 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58506 (test-extras): Likewise.
58507 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58508 $(compile-command.c).
58509 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58510 (all-built-dso): Define.
58511 (check-textrel.out, check-execstack.out): Depend on it.
58512
77e8bddf
AS
58513 * configure.in: Don't override --enable-multi-arch.
58514
bc425b33
UD
585152011-01-15 Ulrich Drepper <drepper@gmail.com>
58516
58517 [BZ #6812]
58518 * nscd/hstcache.c (tryagain): Define.
58519 (cache_addhst): Return tryagain not notfound for temporary errors.
58520 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58521 failed.
58522
794c3ad3
UD
585232011-01-14 Ulrich Drepper <drepper@gmail.com>
58524
70181fdd
UD
58525 [BZ #10563]
58526 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58527 to make the syscall.
58528 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58529
794c3ad3
UD
58530 [BZ #12378]
58531 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58532 and fall back to matching as normal character if the string ends before
58533 the matching ']' is found. This is what POSIX requires.
58534 * posix/testfnm.c: Adjust test result.
58535 * posix/globtest.sh: Adjust test result. Add new test.
58536 * posix/tst-fnmatch.input: Likewise.
58537 * posix/tst-fnmatch2.c: Add new test.
58538
68dc9497
AS
585392010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58540
58541 * elf/Makefile (check-execstack): Revert last change. Depend on
58542 check-execstack.h.
58543 (check-execstack.h): New target.
58544 (generated): Add check-execstack.h.
58545 * elf/check-execstack.c: Include "check-execstack.h".
58546 (main): Revert last change.
58547 (handle_file): Return zero if GNU_STACK is absent and
58548 DEFAULT_STACK_PERMS doesn't include PF_X.
58549
451f001b
UD
585502011-01-13 Ulrich Drepper <drepper@gmail.com>
58551
cfa28e56
UD
58552 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58553 in child fails because the descriptor is already closed.
8cf8ce17
UD
58554 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58555 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58556 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 58557
1086d70d
UD
58558 [BZ #12397]
58559 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58560 syscall.
58561
451f001b
UD
58562 [BZ #10484]
58563 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58564 temporary buffer used to handle multi lookups locally.
a85b5cb4 58565 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 58566
08769175
UD
585672011-01-12 Ulrich Drepper <drepper@gmail.com>
58568
58569 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58570 loader is ld.so.
58571
5e49c52e
UD
585722011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58573
58574 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58575 alignment for SSE2.
58576
60522a5f
UD
585772011-01-12 Ulrich Drepper <drepper@gmail.com>
58578
58579 [BZ #12394]
58580 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58581 characters. When rounding increased number of integer digits recompute
58582 number of groups.
58583 * stdio-common/tst-grouping.c: New file.
58584 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58585
f257bbd7
UD
585862011-01-09 Ulrich Drepper <drepper@gmail.com>
58587
58588 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58589 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58590
58591 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58592 void.
58593 * bits/select.h: Likewise.
58594
fa9c15cb
UD
585952011-01-08 Ulrich Drepper <drepper@gmail.com>
58596
58597 * po/ja.po: Update from translation team.
58598
16c2895f
DM
585992011-01-04 David S. Miller <davem@sunset.davemloft.net>
58600
58601 [BZ #11155]
58602 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58603 implementation just like for lxstat, fxstatat, et al.
58604
2543fef2
JM
586052010-12-27 Jim Meyering <meyering@redhat.com>
58606
58607 [BZ #12348]
58608 * posix/regexec.c (build_trtable): Return failure indication upon
58609 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58610
98727dbe
UD
586112010-12-25 Ulrich Drepper <drepper@gmail.com>
58612
5bd6dc5c
UD
58613 [BZ #12201]
58614 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58615 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58616 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58617 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58618
97983464
UD
58619 [BZ #12207]
58620 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58621
98727dbe
UD
58622 [BZ #12204]
58623 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58624 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58625
4a531bb0
L
586262010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58627
58628 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58629 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58630 script has SORT_BY_INIT_PRIORITY.
58631 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58632 NO_CTORS_DTORS_SECTIONS is defined.
58633 * elf/soinit.c: Likewise.
58634 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58635 NO_CTORS_DTORS_SECTIONS is defined.
58636 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58637 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58638 * sysdeps/sh/init-first.c: Likewise.
58639 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58640
07eb4b71
UD
586412010-12-24 Ulrich Drepper <drepper@gmail.com>
58642
58643 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58644 always use the slow path.
58645
30950a5f
RA
586462010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58647
58648 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58649 similar rule which adds the sysdep directories to the header search in
58650 order to pick up the correct platform stackinfo.h.
58651 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58652 perform test if it is, otherwise return successfully without testing.
58653 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58654 DEFAULT_STACK_PERMS define in stackinfo.h.
58655 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58656 defined in stackinfo.h.
58657 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58658 DEFAULT_STACK_PERMS defined in stackinfo.h.
58659 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58660 * sysdeps/ia64/stackinfo.h: Likewise.
58661 * sysdeps/s390/stackinfo.h: Likewise.
58662 * sysdeps/sh/stackinfo.h: Likewise.
58663 * sysdeps/sparc/stackinfo.h: Likewise.
58664 * sysdeps/x86_64/stackinfo.h: Likewise.
58665 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58666 PF_X for powerpc64. Retain PF_X for powerpc32.
58667
db753e2c
UD
586682010-12-19 Ulrich Drepper <drepper@gmail.com>
58669
14b697f7
UD
58670 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58671 accurately.
db753e2c
UD
58672 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58673 GETDENTS_64BIT_ALIGNED.
58674
28300719
UD
586752010-12-14 Ulrich Drepper <dreper@gmail.com>
58676
14b697f7 58677 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 58678
4f197237
AS
586792010-12-10 Andreas Schwab <schwab@redhat.com>
58680
dbb0472f
AS
58681 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58682 _GNU_SOURCE.
58683
4f197237
AS
58684 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58685 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58686 Remove __restrict.
58687 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58688 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58689
fb88ac72
UD
586902010-12-09 Ulrich Drepper <drepper@gmail.com>
58691
58692 [BZ #11655]
58693 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58694 are initialized.
58695
42acbb92
JJ
586962010-12-09 Jakub Jelinek <jakub@redhat.com>
58697
58698 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58699
c038d98d
UD
587002010-12-03 Ulrich Drepper <drepper@gmail.com>
58701
58702 * po/it.po: Update from translation team.
58703
3a4a2499
L
587042010-12-01 H.J. Lu <hongjiu.lu@intel.com>
58705
58706 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58707 unused codes.
58708
1e24cf6e
UD
587092010-11-30 Ulrich Drepper <drepper@gmail.com>
58710
58711 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58712
a7690819
AS
587132010-11-24 Andreas Schwab <schwab@redhat.com>
58714
58715 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58716 specially.
58717 (gaih_getanswer_slice): Likewise.
58718
3bf8d1b1
JJ
587192010-10-20 Jakub Jelinek <jakub@redhat.com>
58720
58721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58722
6db52fbb
PB
587232010-05-31 Petr Baudis <pasky@suse.cz>
58724
58725 [BZ #11149]
58726 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58727 silently even in the chroot mode.
58728
eaca7569
UD
587292010-11-22 Ulrich Drepper <drepper@gmail.com>
58730
58731 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58732 last patch a bit. Pretty printing
58733
3056dcdb
UD
587342010-05-31 Petr Baudis <pasky@suse.cz>
58735
58736 [BZ #10085]
58737 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58738 initialization of skip_initgroups_dyn.
58739
cf7c9078
UD
587402010-11-19 Ulrich Drepper <drepper@gmail.com>
58741
58742 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58743 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58744
a1fb5e3e
UD
587452010-11-16 Ulrich Drepper <drepper@gmail.com>
58746
58747 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58748
3540d66b
AS
587492010-11-11 Andreas Schwab <schwab@redhat.com>
58750
58751 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58752 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58753 (tst-fnmatch-ENV): Set MALLOC_TRACE.
58754 ($(objpfx)tst-fnmatch-mem): New rule.
58755 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58756 * posix/tst-fnmatch.c (main): Call mtrace.
58757
13b69574
L
587582010-11-11 H.J. Lu <hongjiu.lu@intel.com>
58759
58760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58761 Support Intel processor model 6 and model 0x2c.
58762
da93d214
LM
587632010-11-10 Luis Machado <luisgpm@br.ibm.com>
58764
58765 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58766 signed comparison.
58767
8ca52c6e
L
587682010-11-09 H.J. Lu <hongjiu.lu@intel.com>
58769
58770 [BZ #12205]
58771 * string/test-strncasecmp.c (check_result): New function.
58772 (do_one_test): Use it.
58773 (check1): New function.
58774 (test_main): Use it.
58775 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58776 Support strcasecmp and strncasecmp.
58777
69da074d
UD
587782010-11-08 Ulrich Drepper <drepper@gmail.com>
58779
58780 [BZ #12194]
58781 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58782 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58783
ff02d528
L
587842010-11-07 H.J. Lu <hongjiu.lu@intel.com>
58785
58786 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58787 IFUNC support.
58788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58789 memset-x86-64.
58790 * sysdeps/x86_64/multiarch/bzero.S: New file.
58791 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58792 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58793 * sysdeps/x86_64/multiarch/memset.S: New file.
58794 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58796 Set bit_Prefer_SSE_for_memop for Intel processors.
58797 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58798 Define.
58799 (index_Prefer_SSE_for_memop): Define.
58800 (HAS_PREFER_SSE_FOR_MEMOP): Define.
58801
344d0b54
LM
588022010-11-04 Luis Machado <luisgpm@br.ibm.com>
58803
58804 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58805 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58806
c0dde15b
UD
588072010-11-03 H.J. Lu <hongjiu.lu@intel.com>
58808
58809 [BZ #12191]
58810 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58811 (__x86_64_raw_data_cache_size_half): Likewise.
58812 (__x86_64_raw_shared_cache_size): Likewise.
58813 (__x86_64_raw_shared_cache_size_half): Likewise.
58814
58815 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58816 (__x86_64_raw_data_cache_size_half): Likewise.
58817 (__x86_64_raw_shared_cache_size): Likewise.
58818 (__x86_64_raw_shared_cache_size_half): Likewise.
58819 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58820 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58821 and __x86_64_raw_shared_cache_size_half. Round
58822 __x86_64_data_cache_size_half, __x86_64_data_cache_size
58823 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58824 to multiple of 256 bytes.
58825
0e516e0e
MS
588262010-11-03 Ulrich Drepper <drepper@gmail.com>
58827
58828 [BZ #12167]
58829 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58830 of inacessible symlinks. Verify result of symlink before returning it.
58831 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58832 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58833
0e012e87
ER
588342010-10-28 Erich Ritz <erichritz@gmail.com>
58835
58836 * math/math.h (isinf): Fix typo in comment.
58837
de0ff7bc
UD
588382010-11-01 Ulrich Drepper <drepper@gmail.com>
58839
58840 * po/da.po: Update from translation team.
58841
fa41c84d
UD
588422010-10-26 Ulrich Drepper <drepper@gmail.com>
58843
58844 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58845 is added to the list.
58846
f0967738
AK
588472010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58848 Ulrich Drepper <drepper@gmail.com>
58849
58850 * elf/dl-object.c (_dl_new_object): Don't append the new object to
58851 the global list here. Move code to...
58852 (_dl_add_to_namespace_list): ...here. New function.
58853 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58854 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58855 * elf/dl-load.c (lose): Don't remove the element from the list.
58856 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58857 (_dl_map_object): Likewise.
58858
588592010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
58860
58861 [BZ #12159]
58862 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58863 into all bytes of SSE register.
58864 Patch by Richard Li <richardpku@gmail.com>.
58865
f0967738 588662010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
58867
58868 [BZ #12140]
58869 * malloc/malloc.c (_int_free): Fill correct number of bytes when
58870 perturbing.
58871
d0b9e94f
MB
588722010-10-20 Michael B. Brutman <brutman@us.ibm.com>
58873
58874 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58875 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58876 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58877 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58879 submachine.
58880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58881
8e9f92e9
AS
588822010-10-22 Andreas Schwab <schwab@redhat.com>
58883
58884 * include/dlfcn.h (__RTLD_SECURE): Define.
58885 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
58886 mode & __RTLD_SECURE instead.
58887 (open_path): Rename preloaded parameter to secure.
58888 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58889 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58890 * elf/dl-deps.c (openaux): Likewise.
58891 * elf/rtld.c (struct map_args): Remove is_preloaded.
58892 (map_doit): Don't use it.
58893 (dl_main): Likewise.
58894 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58895 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58896
bc96fbda
AS
588972010-09-09 Andreas Schwab <schwab@redhat.com>
58898
58899 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58900 (sysd-rules-targets): Remove duplicates.
58901 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58902 rtld-%.$o dependency.
58903
22cd1c9b
AS
589042010-10-18 Andreas Schwab <schwab@redhat.com>
58905
58906 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58907 _dl_map_object do it.
58908
18edac48
UD
589092010-10-19 Ulrich Drepper <drepper@gmail.com>
58910
58911 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58912 fast fma builtins, define the macros in the C99 standard.
58913 (FP_FAST_FMAF): Likewise.
58914 (FP_FAST_FMAL): Likewise.
58915 * sysdeps/x86_64/bits/mathdef.h: Likewise.
58916
58917 * bits/mathdef.h: Update copyright year.
58918 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58919
d2050124
MM
589202010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
58921
58922 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58923 builtins, define the macros in the C99 standard.
58924 (FP_FAST_FMAF): Likewise.
58925 (FP_FAST_FMAL): Likewise.
58926 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58927 multiply/add.
58928 (FP_FAST_FMAF): Likewise.
58929
475facd1
JJ
589302010-10-15 Jakub Jelinek <jakub@redhat.com>
58931
58932 [BZ #3268]
58933 * math/libm-test.inc (fma_test): Some new testcases.
58934 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58935 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58936 y and infinite z. Do multiplication by C already in long double.
58937 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58938 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58939 y and infinite z. Do bitwise or of inexact bit into u.d.
58940 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58941 * sysdeps/i386/fpu/s_fmaf.S: Removed.
58942 * sysdeps/i386/fpu/s_fma.S: Removed.
58943 * sysdeps/i386/fpu/s_fmal.S: Removed.
58944
7c08a05c
JJ
589452010-10-16 Jakub Jelinek <jakub@redhat.com>
58946
58947 [BZ #3268]
58948 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58949 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58950 computation is not scheduled after fetestexcept. Fix value
58951 of minimum denormal long double.
58952
f3f7372d
JJ
589532010-10-14 Jakub Jelinek <jakub@redhat.com>
58954
58955 [BZ #3268]
58956 * math/libm-test.inc (fma_test): Add some more tests.
58957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58958 correctly.
58959
14d43591
AS
589602010-10-15 Andreas Schwab <schwab@redhat.com>
58961
58962 * scripts/data/localplt-s390-linux-gnu.data: New file.
58963 * scripts/data/localplt-s390x-linux-gnu.data: New file.
58964
5e908464
JJ
589652010-10-13 Jakub Jelinek <jakub@redhat.com>
58966
58967 [BZ #3268]
58968 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58969 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58970 instead of dbl-64.
58971 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58972 inlines.
58973 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58975 if one of x and y is very large and the other is subnormal.
58976 * sysdeps/s390/fpu/s_fmaf.c: New file.
58977 * sysdeps/s390/fpu/s_fma.c: New file.
58978 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58979 * sysdeps/powerpc/fpu/s_fma.S: New file.
58980 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58981 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58982 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58983
589842010-10-12 Jakub Jelinek <jakub@redhat.com>
58985
58986 [BZ #3268]
58987 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58988 fma tests.
58989 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58990 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58991 * sysdeps/i386/i686/multiarch/s_fma.c: Include
58992 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58993 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58994 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58995 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58996
b833d51f
UD
589972010-10-12 Ulrich Drepper <drepper@redhat.com>
58998
58999 [BZ #12078]
59000 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59001 * posix/bug-regex31.input: Add test case.
59002
1751705d
UD
590032010-10-11 Ulrich Drepper <drepper@gmail.com>
59004
e9b9cbf5
UD
59005 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59006 * posix/bug-regex31.input: New file.
59007
59008 [BZ #12078]
59009 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59010 (parse_sub_exp): Fix last change, use postorder.
59011
ef06edbe
UD
59012 * posix/bug-regex31.c: New file.
59013 * posix/Makefile: Add rules to build and run bug-regex31.
59014
a129c80d
UD
59015 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59016
59017 [BZ #12078]
59018 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59019
b76b818e
UD
59020 [BZ #12108]
59021 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59022 to have entries in sys_siglist.
59023
1751705d
UD
59024 [BZ #12093]
59025 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59026 be NULL.
59027
9ff8d36f
JJ
590282010-10-07 Jakub Jelinek <jakub@redhat.com>
59029
59030 [BZ #3268]
59031 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59032 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59033 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59034 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59035 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59036 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59037 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59038 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59039 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59040 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59041 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59042 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59043 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59044 * math/ftestexcept.c (fetestexcept): Likewise.
59045 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59046 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59047 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59048 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59049 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59050 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59051 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59052
af325969
UD
590532010-10-11 Ulrich Drepper <drepper@gmail.com>
59054
c579b202 59055 [BZ #12107]
af325969
UD
59056 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59057 newline.
59058
67a67b95
UD
590592010-10-06 Ulrich Drepper <drepper@gmail.com>
59060
59061 * string/bug-strstr1.c: New file.
59062 * string/Makefile: Add rules to build and run bug-strstr1.
59063
5fb308bc
EB
590642010-10-05 Eric Blake <eblake@redhat.com>
59065
59066 [BZ #12092]
59067 * string/str-two-way.h (two_way_long_needle): Always clear memory
59068 when skipping input due to the shift table.
59069
45db99c7
UD
590702010-10-03 Ulrich Drepper <drepper@gmail.com>
59071
3b111893
UD
59072 [BZ #12005]
59073 * malloc/mcheck.c: Handle large requests.
59074
45db99c7
UD
59075 [BZ #12077]
59076 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59077 for strncmp and strncasecmp.
59078 * string/stratcliff.c: Add tests for strcmp and strncmp.
59079 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59080
cf7a1eb8
NI
590812010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59082
59083 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59084 __set_fpscr.
59085
6484ba5e
AJ
590862010-09-30 Andreas Jaeger <aj@suse.de>
59087
59088 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59089 (CGROUP_SUPER_MAGIC): Define.
59090 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59091 Handle btrfs and cgroup file systems.
59092 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59093 Likewise.
59094
91c42559
LM
590952010-09-27 Luis Machado <luisgpm@br.ibm.com>
59096
59097 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59098 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59099
87a97932
AK
591002010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59101
59102 [BZ #12067]
59103 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59104 trying to locate the ELF header.
59105
c21cc9bc
AS
591062010-09-27 Andreas Schwab <schwab@redhat.com>
59107
59108 [BZ #11611]
59109 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59110 Mask out sign-bit copies when constructing f_fsid.
59111
315970f6
PB
591122010-09-24 Petr Baudis <pasky@suse.cz>
59113
59114 * debug/stack_chk_fail_local.c: Add missing licence exception.
59115 * debug/warning-nop.c: Likewise.
59116
1ac7a2c7
JM
591172010-09-15 Joseph Myers <joseph@codesourcery.com>
59118
59119 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59120 implementing getdents64 using getdents syscall, set d_type if
59121 __ASSUME_GETDENTS32_D_TYPE.
59122
56801c50
AS
591232010-09-16 Andreas Schwab <schwab@redhat.com>
59124
59125 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59126 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59127
dda51327
UD
591282010-09-21 Ulrich Drepper <drepper@redhat.com>
59129
59130 [BZ #12037]
59131 * posix/unistd.h: Undo change of feature selection for ftruncate from
59132 2010-01-11.
59133
8ffcee4a
UD
591342010-09-20 Ulrich Drepper <drepper@redhat.com>
59135
a545ecd9 59136 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
59137 detection.
59138
e24f0a8b
AS
591392010-09-20 Andreas Schwab <schwab@redhat.com>
59140
59141 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59142 fanotify_mark.
59143 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59144
7291c56f
AS
591452010-09-14 Andreas Schwab <schwab@redhat.com>
59146
59147 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59148 variables after CHECK_SP call.
59149 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59150
bc5fb037
AS
591512010-09-13 Andreas Schwab <schwab@redhat.com>
59152 Ulrich Drepper <drepper@redhat.com>
59153
59154 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59155 re-relocationg ld.so.
59156 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59157 _dl_init_paths call.
59158 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59159 here anymore.
59160
e66e7419
UD
591612010-09-14 Ulrich Drepper <drepper@redhat.com>
59162
59163 * resolv/res_init.c (__res_vinit): Count the default server we added.
59164
c044aa75
CLT
591652010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59166 Ulrich Drepper <drepper@redhat.com>
59167
59168 [BZ #11968]
59169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59170 (____longjmp_chk): Use %ebx for saving value across system call.
59171 Add unwind info.
59172
32cf4069
AS
591732010-09-06 Andreas Schwab <schwab@redhat.com>
59174
59175 * manual/Makefile: Don't mix pattern rules with normal rules.
59176
817328ee
AS
591772010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59178
59179 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59180 operation.
59181 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59182 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59183 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59184 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59186 Likewise.
59187
29fddf61
UD
591882010-09-04 Ulrich Drepper <drepper@redhat.com>
59189
59190 [BZ #11979]
59191 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59192 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59193
0959ffc9
UD
591942010-09-02 Ulrich Drepper <drepper@redhat.com>
59195
59196 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59197 * sysdeps/x86_64/addmul_1.S: Likewise.
59198 * sysdeps/x86_64/lshift.S: Likewise.
59199 * sysdeps/x86_64/mul_1.S: Likewise.
59200 * sysdeps/x86_64/rshift.S: Likewise.
59201 * sysdeps/x86_64/sub_n.S: Likewise.
59202 * sysdeps/x86_64/submul_1.S: Likewise.
59203
ece29840
ST
592042010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59205
0959ffc9
UD
59206 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59207 Define __sched_param instead of SCHED_* and sched_param when
ece29840 59208 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 59209 * bits/sched.h [__need_schedparam]
ece29840 59210 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
59211 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59212 (__defined_schedparam): Define to 1.
ece29840
ST
59213 (__sched_param): New structure, identical to sched_param.
59214 (__need_schedparam): Undefine.
59215
e53a31fe
MF
592162010-08-31 Mike Frysinger <vapier@gentoo.org>
59217
fdc0c10d
MF
59218 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59219 (epoll_create1): Declare.
59220
e53a31fe
MF
59221 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59222
a726d796
AS
592232010-08-31 Andreas Schwab <schwab@redhat.com>
59224
59225 [BZ #7066]
59226 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59227 shifting retval into place.
59228
2f3e3dc7
UD
592292010-09-01 Ulrich Drepper <drepper@redhat.com>
59230
f2933da9
UD
59231 * nis/rpcsvc/nis.h: Update copyright notice.
59232 * nis/rpcsvc/nis.x: Likewise.
59233 * nis/rpcsvc/nis_callback.h: Likewise.
59234 * nis/rpcsvc/nis_callback.x: Likewise.
59235 * nis/rpcsvc/nis_object.x: Likewise.
59236 * nis/rpcsvc/nis_tags.h: Likewise.
59237 * nis/rpcsvc/yp.h: Likewise.
59238 * nis/rpcsvc/yp.x: Likewise.
59239 * nis/rpcsvc/ypupd.h: Likewise.
59240 * nis/yp_xdr.c: Likewise.
59241 * nis/ypupdate_xdr.c: Likewise.
59242
2f3e3dc7
UD
59243 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59244 mainly the body of pmap_getport. Add parameters to specify timeouts.
59245 (pmap_getport): Use __libc_rpc_getport.
59246 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59247 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59248 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59249
f3dcc2f9
AS
592502010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59251
59252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59253 fanotify_mark.
59254
6d34eb5b
RM
592552010-08-27 Roland McGrath <roland@redhat.com>
59256
59257 * sysdeps/i386/i686/multiarch/Makefile
59258 (CFLAGS-varshift.c): New variable.
59259
9ea3de11
UD
592602010-08-27 Ulrich Drepper <drepper@redhat.com>
59261
c96d23fc
UD
59262 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59263 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59264
9ea3de11
UD
59265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59266
59267 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59268
623aac7f
L
592692010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59270
59271 * sysdeps/x86_64/strlen.S: Unroll the loop.
59272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59273 strlen-sse2 strlen-sse2-bsf.
59274 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59275 __strlen_no_bsf if bit_Slow_BSF is set.
59276 (__strlen_sse42): Removed.
59277 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59278 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59279
8b2b7715
RM
592802010-08-25 Roland McGrath <roland@redhat.com>
59281
59282 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59283 * sysdeps/x86_64/multiarch/varshift.c: New file.
59284 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59285 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59286 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59287 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59288
e73015f2
L
592892010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59290
59291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59292 strlen-sse2 strlen-sse2-bsf.
59293 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59294 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59295 (__strlen_sse2): Removed.
59296 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59299 bit_Slow_BSF for Atom.
59300 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59301 (index_Slow_BSF): Define.
59302 (HAS_SLOW_BSF): Define.
59303
df24a73e
UD
593042010-08-25 Ulrich Drepper <drepper@redhat.com>
59305
59306 [BZ #10851]
59307 * resolv/res_init.c (__res_vinit): When no server address at all
59308 is given default to loopback.
59309
f2ac4868
RM
593102010-08-24 Roland McGrath <roland@redhat.com>
59311
09055553
RM
59312 * configure.in: Remove config-name.h generation.
59313 * configure: Regenerated.
59314 * config-name.in: File removed.
59315 * scripts/config-uname.sh: New file.
59316 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59317 ($(objdir)config-name.h): New target.
59318
f2ac4868
RM
59319 * sunrpc/rpc_parse.h: Avoid nested comment.
59320
73f27d5e
RH
593212010-08-24 Richard Henderson <rth@redhat.com>
59322 Ulrich Drepper <drepper@redhat.com>
59323 H.J. Lu <hongjiu.lu@intel.com>
59324
59325 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59327 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59328 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59329 _mm_alignr_epi8 with _mm_loadu_si128.
59330 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59331 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59332 (__m128i_shift_right): Removed.
59333 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59334 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59335 * sysdeps/x86_64/multiarch/varshift.h: New file.
59336 * sysdeps/x86_64/multiarch/varshift.S: New file.
59337
84b9230c
MF
593382010-08-21 Mike Frysinger <vapier@gentoo.org>
59339
59340 * configure.in: Move assembler checks to before sysdep dir checking.
59341
9bbd0ddc
PB
593422010-08-20 Petr Baudis <pasky@suse.cz>
59343
59344 * LICENSES: Sync the sunrpc license.
59345
9da4bb31
UD
593462010-08-19 Ulrich Drepper <drepper@redhat.com>
59347
a7ab6ec8
UD
59348 * sunrpc/auth_des.c: Update copyright notice once again.
59349 * sunrpc/auth_none.c: Likewise.
59350 * sunrpc/auth_unix.c: Likewise.
59351 * sunrpc/authdes_prot.c: Likewise.
59352 * sunrpc/authuxprot.c: Likewise.
59353 * sunrpc/bindrsvprt.c: Likewise.
59354 * sunrpc/clnt_gen.c: Likewise.
59355 * sunrpc/clnt_perr.c: Likewise.
59356 * sunrpc/clnt_raw.c: Likewise.
59357 * sunrpc/clnt_simp.c: Likewise.
59358 * sunrpc/clnt_tcp.c: Likewise.
59359 * sunrpc/clnt_udp.c: Likewise.
59360 * sunrpc/clnt_unix.c: Likewise.
59361 * sunrpc/des_crypt.c: Likewise.
59362 * sunrpc/des_soft.c: Likewise.
59363 * sunrpc/get_myaddr.c: Likewise.
59364 * sunrpc/getrpcport.c: Likewise.
59365 * sunrpc/key_call.c: Likewise.
59366 * sunrpc/key_prot.c: Likewise.
59367 * sunrpc/openchild.c: Likewise.
59368 * sunrpc/pm_getmaps.c: Likewise.
59369 * sunrpc/pm_getport.c: Likewise.
59370 * sunrpc/pmap_clnt.c: Likewise.
59371 * sunrpc/pmap_prot.c: Likewise.
59372 * sunrpc/pmap_prot2.c: Likewise.
59373 * sunrpc/pmap_rmt.c: Likewise.
59374 * sunrpc/rpc/auth.h: Likewise.
59375 * sunrpc/rpc/auth_unix.h: Likewise.
59376 * sunrpc/rpc/clnt.h: Likewise.
59377 * sunrpc/rpc/des_crypt.h: Likewise.
59378 * sunrpc/rpc/key_prot.h: Likewise.
59379 * sunrpc/rpc/netdb.h: Likewise.
59380 * sunrpc/rpc/pmap_clnt.h: Likewise.
59381 * sunrpc/rpc/pmap_prot.h: Likewise.
59382 * sunrpc/rpc/pmap_rmt.h: Likewise.
59383 * sunrpc/rpc/rpc.h: Likewise.
59384 * sunrpc/rpc/rpc_des.h: Likewise.
59385 * sunrpc/rpc/rpc_msg.h: Likewise.
59386 * sunrpc/rpc/svc.h: Likewise.
59387 * sunrpc/rpc/svc_auth.h: Likewise.
59388 * sunrpc/rpc/types.h: Likewise.
59389 * sunrpc/rpc/xdr.h: Likewise.
59390 * sunrpc/rpc_clntout.c: Likewise.
59391 * sunrpc/rpc_cmsg.c: Likewise.
59392 * sunrpc/rpc_common.c: Likewise.
59393 * sunrpc/rpc_cout.c: Likewise.
59394 * sunrpc/rpc_dtable.c: Likewise.
59395 * sunrpc/rpc_hout.c: Likewise.
59396 * sunrpc/rpc_main.c: Likewise.
59397 * sunrpc/rpc_parse.c: Likewise.
59398 * sunrpc/rpc_parse.h: Likewise.
59399 * sunrpc/rpc_prot.c: Likewise.
59400 * sunrpc/rpc_sample.c: Likewise.
59401 * sunrpc/rpc_scan.c: Likewise.
59402 * sunrpc/rpc_scan.h: Likewise.
59403 * sunrpc/rpc_svcout.c: Likewise.
59404 * sunrpc/rpc_tblout.c: Likewise.
59405 * sunrpc/rpc_util.c: Likewise.
59406 * sunrpc/rpc_util.h: Likewise.
59407 * sunrpc/rpcinfo.c: Likewise.
59408 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59409 * sunrpc/rpcsvc/key_prot.x: Likewise.
59410 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59411 * sunrpc/rpcsvc/mount.x: Likewise.
59412 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59413 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59414 * sunrpc/rpcsvc/rex.x: Likewise.
59415 * sunrpc/rpcsvc/rstat.x: Likewise.
59416 * sunrpc/rpcsvc/rusers.x: Likewise.
59417 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59418 * sunrpc/rpcsvc/spray.x: Likewise.
59419 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59420 * sunrpc/rtime.c: Likewise.
59421 * sunrpc/svc.c: Likewise.
59422 * sunrpc/svc_auth.c: Likewise.
59423 * sunrpc/svc_authux.c: Likewise.
59424 * sunrpc/svc_raw.c: Likewise.
59425 * sunrpc/svc_run.c: Likewise.
59426 * sunrpc/svc_simple.c: Likewise.
59427 * sunrpc/svc_tcp.c: Likewise.
59428 * sunrpc/svc_udp.c: Likewise.
59429 * sunrpc/svc_unix.c: Likewise.
59430 * sunrpc/svcauth_des.c: Likewise.
59431 * sunrpc/xcrypt.c: Likewise.
59432 * sunrpc/xdr.c: Likewise.
59433 * sunrpc/xdr_array.c: Likewise.
59434 * sunrpc/xdr_float.c: Likewise.
59435 * sunrpc/xdr_mem.c: Likewise.
59436 * sunrpc/xdr_rec.c: Likewise.
59437 * sunrpc/xdr_ref.c: Likewise.
59438 * sunrpc/xdr_sizeof.c: Likewise.
59439 * sunrpc/xdr_stdio.c: Likewise.
59440
9da4bb31
UD
59441 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59442 handling.
59443
bdaa77bc
AS
594442010-08-19 Andreas Schwab <schwab@redhat.com>
59445
59446 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59447
fe2f79db
LM
594482010-08-19 Luis Machado <luisgpm@br.ibm.com>
59449
59450 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59451 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59452 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59453 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59454 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59455 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59456 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59457 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59458 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59459 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59460 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59461 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59462 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59463 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59464
b9b42ee0
AB
594652010-07-26 Anton Blanchard <anton@samba.org>
59466
59467 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59468 * malloc/arena.c (heap_trim): Likewise.
59469
1c06ba31
UD
594702010-08-16 Ulrich Drepper <drepper@redhat.com>
59471
59472 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59473 here. Not...
59474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59475 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59476
f8392f40
L
594772010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59478
59479 * sysdeps/i386/elf/Makefile: New file.
59480
3162f12e
AS
594812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59482
59483 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59484 from fanotify_init.
59485 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59486 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59487
28c90b2c
UD
594882010-08-15 Ulrich Drepper <drepper@redhat.com>
59489
59490 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59491 of strncasecmp_l.
1feccb6c 59492 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 59493
ca6bb004
UD
594942010-08-14 Ulrich Drepper <drepper@redhat.com>
59495
e9f82e0d
UD
59496 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59497 strncase_l-nonascii.
59498 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59499 Add strncase_l-ssse3.
59500 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59501 * sysdeps/x86_64/strcmp.S: Likewise.
59502 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59503 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59504 * sysdeps/x86_64/strncase.S: New file.
59505 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59506 * sysdeps/x86_64/strncase_l.S: New file.
59507 * string/Makefile (strop-tests): Add strncasecmp.
59508 * string/test-strncasecmp.c: New file.
59509
59510 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59511 warning.
59512
ca6bb004
UD
59513 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59514 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59515
052fa7b3
AS
595162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59517
59518 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59519
962dba78
UD
595202010-08-12 Ulrich Drepper <drepper@redhat.com>
59521
59522 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59523 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59524 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59525
bebff237
AM
595262010-05-01 Alan Modra <amodra@gmail.com>
59527
59528 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59529 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59530 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59531 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59532 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59533 tidying. Don't tail-call __sigjmp_save for static lib.
59534 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59535 save location.
59536 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59537 (CALL_MCOUNT): Add eh info, and nop after bl.
59538 (TAIL_CALL_SYSCALL_ERROR): New macro.
59539 (PSEUDO_RET): Use it.
59540 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59541 Correct save location of integer regs and cr.
59542 (_dl_profile_resolve): Correct cr save location. Delete nops
59543 after bl when SHARED. Reduce cfi size a little by better
59544 placement of cfi directives.
59545 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59546 make a stack frame. Instead use parm save area as a temp.
59547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59548 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59550 Don't make a stack frame for parent, use parm save area.
59551 Increase child stack frame to 112 bytes. Don't save unused reg,
59552 and adjust reg usage. Set up cfi on error recovery and
59553 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59555 (__makecontext): Add dummy nop after jump to exit.
59556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59557 Use correct parm save area and cr save, reduce stack frame.
59558 Correct cfi for possible PSEUDO_RET frame setup.
59559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59560 Branch to local label emitted by PSEUDO_RET rather than
59561 __syscall_error.
59562
02637374
AS
595632010-08-12 Andreas Schwab <schwab@redhat.com>
59564
59565 [BZ #11904]
59566 * locale/programs/locale.c (print_assignment): New function.
59567 (show_locale_vars): Use it.
59568
c3e2f19b
UD
595692010-08-11 Ulrich Drepper <drepper@redhat.com>
59570
3cdaa6ad
UD
59571 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59572 field.
59573 (struct statfs64): Likewise.
59574 (_STATFS_F_FLAGS): Define.
59575 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59577 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59578 (ST_VALID): Define locally.
59579 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59580 __statvfs_getflags, use the provided value.
59581 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59582 __ASSUME_STATFS_F_FLAGS.
59583
754f7da3
UD
59584 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59585
10b3bedc
UD
59586 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59587 Add sys/fanotify.h.
59588 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59589 fanotify_mask for GLIBC_2.13.
59590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59591 fanotify_init and fanotify_mark.
59592 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59593 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59594
c08fb0d7
UD
59595 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59596 Add prlimit.
59597 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59598 prlimit64 for GLIBC_2.13.
59599 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59600 prlimit64.
59601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59602 syscall.
59603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59605 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59606 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59607 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59608 add prlimit alias.
59609 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59610
15bac72b
UD
59611 [BZ #11903]
59612 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59613 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59614
c3e2f19b
UD
59615 * nss/Makefile: Add rules to build and run tst-nss-test1.
59616 * shlib-versions: Add entry for libnss_test1.
59617 * nss/nss_test1.c: New file.
59618 * nss/tst-nss-test1.c: New file.
59619
59620 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59621 (__nss_configure_lookup): Set appropriate entry in
59622 __nss_configure_lookup to true.
59623 * nss/nsswitch.h: Define enum with indeces of databases in
59624 databases and __nss_database_custom arrays. Declare
59625 __nss_database_custom.
59626 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59627 to avoid using nscd when custom rules are installed.
59628 * nss/getXXbyYY_r.c: Likewise.
59629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59630
59631 * nss/nss_files/files-parse.c: Whitespace fixes.
59632
f15ce4d8
UD
596332010-08-09 Ulrich Drepper <drepper@redhat.com>
59634
59635 [BZ #11883]
59636 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59637 * posix/fnmatch_loop.c: Likewise.
59638
d22e4cc9
AK
596392010-07-17 Andi Kleen <ak@linux.intel.com>
59640
59641 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59642 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59643 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59644 * Versions.def [GLIBC_2.13]: Add.
59645
805bc17d
UD
596462010-08-06 Ulrich Drepper <drepper@redhat.com>
59647
59648 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59649 Also fail if tpwd after pwuid call is NULL.
59650
5a42321d
ST
596512010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59652
59653 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59654 when converting to ms.
59655
fd3ebeda
ST
596562010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59657
59658 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59659 EOPNOTSUPP errors with ENOTTY.
59660 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59661 EOPNOTSUPP errors with ENOTTY.
59662
73507d3a
UD
596632010-07-31 Ulrich Drepper <drepper@redhat.com>
59664
59665 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59666 Add strcasecmp_l-ssse3.
59667 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59668 strcasecmp.
59669 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59670 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59671 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59672
fe36dd02
UD
596732010-07-30 Ulrich Drepper <drepper@redhat.com>
59674
66f6765a
UD
59675 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59676
42e08a54
UD
59677 * string/Makefile (strop-tests): Add strcasecmp.
59678 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59679 strcasecmp_l-nonascii.
59680 (gen-as-const-headers): Add locale-defines.sym.
59681 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59682 * sysdeps/x86_64/strcasecmp.S: New file.
59683 * sysdeps/x86_64/strcasecmp_l.S: New file.
59684 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59685 * sysdeps/x86_64/locale-defines.sym: New file.
59686 * string/test-strcasecmp.c: New file.
59687
fe36dd02
UD
59688 * string/test-strcasestr.c: Test both ends of the range of characters.
59689 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59690
48cbc0d6
RM
596912010-07-29 Roland McGrath <roland@redhat.com>
59692
76e6d6bc 59693 [BZ #11856]
48cbc0d6
RM
59694 * manual/locale.texi (Yes-or-No Questions): Fix example code.
59695
880113d9
UD
596962010-07-27 Ulrich Drepper <drepper@redhat.com>
59697
59698 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59699 for ld.so.
59700
deb9cabb
AS
597012010-07-27 Andreas Schwab <schwab@redhat.com>
59702
59703 * manual/memory.texi (Malloc Tunable Parameters): Document
59704 M_PERTURB.
59705
1c7570ff
RM
597062010-07-26 Roland McGrath <roland@redhat.com>
59707
59708 [BZ #11840]
59709 * configure.in (-fgnu89-inline check): Set and substitute
59710 gnu89_inline, not libc_cv_gnu89_inline.
59711 * configure: Regenerated.
59712 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59713
24fb0f88
UD
597142010-07-26 Ulrich Drepper <drepper@redhat.com>
59715
59716 * string/test-strnlen.c: New file.
59717 * string/Makefile (strop-tests): Add strnlen.
59718 * string/tester.c (test_strnlen): Add a few more test cases.
59719 * string/tst-strlen.c: Better error reporting.
59720
59721 * sysdeps/x86_64/strnlen.S: New file.
59722
8e96b93a
UD
597232010-07-24 Ulrich Drepper <drepper@redhat.com>
59724
59725 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59726 lower-latency instructions.
59727
dbc676d4
UD
597282010-07-23 Ulrich Drepper <drepper@redhat.com>
59729
59730 * string/test-strcasestr.c: New file.
59731 * string/test-strstr.c: New file.
59732 * string/Makefile (strop-tests): Add strstr and strcasestr.
59733 * string/str-two-way.h: Don't undefine MAX.
59734 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59735
f6a31e0e
AS
597362010-07-21 Andreas Schwab <schwab@redhat.com>
59737
59738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59739 strcasestr-nonascii.
59740 (CFLAGS-strcasestr-nonascii.c): Define.
59741 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59742 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59743 Remove unused attribute.
59744
5dbc3b6c
RM
597452010-07-20 Roland McGrath <roland@redhat.com>
59746
59747 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59748 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
59749 ld.so.cache was broken. With it, there is no way to disable dsocaps
59750 like LD_HWCAP_MASK can disable hwcaps.
59751
23d101d8
EPM
597522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59753
59754 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59755
cc9f2e47
UD
597562010-07-16 Ulrich Drepper <drepper@redhat.com>
59757
59758 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59759 call in strcasestr.
59760 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59761 __strcasestr_sse42_nonascii.
59762 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59763 strcasestr-nonascii.c.
59764 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59765
77c1b069
LM
597662010-06-15 Luis Machado <luisgpm@br.ibm.com>
59767
59768 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59769 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59770 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59771 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59772
440566c3
UD
597732010-07-09 Ulrich Drepper <drepper@redhat.com>
59774
59775 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59776 fcntl.
59777
5be9d05d
AS
597782010-07-06 Andreas Schwab <schwab@redhat.com>
59779
c30b7ee2 59780 [BZ #11577]
5be9d05d
AS
59781 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59782 dl_signal_cerror.
59783
8a492a67
UD
597842010-07-06 Ulrich Drepper <drepper@redhat.com>
59785
59786 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59787 _PC_PIPE_BUF using F_GETPIPE_SZ.
59788
713df3d5
RM
597892010-07-05 Roland McGrath <roland@redhat.com>
59790
59791 * manual/arith.texi (Rounding Functions): Fix rint description
59792 implicit in round description.
59793
702e8f14
UD
597942010-07-02 Ulrich Drepper <drepper@redhat.com>
59795
59796 * elf/Makefile: Fix linking for a few tests to make recent linker
59797 happy.
59798
52ed8be9
AS
597992010-06-30 Andreas Schwab <schwab@redhat.com>
59800
59801 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59802 $(common-objpfx)libc_nonshared.a.
59803
f47c9a11
LM
598042010-06-21 Luis Machado <luisgpm@br.ibm.com>
59805
59806 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59807 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59808 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59809 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59810 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59811 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59812 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59813 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59828 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59829 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59830 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59831 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59832 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59833 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59834 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59835 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59836 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59837 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59838 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59839 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59854
6fb8cbcb
L
598552010-06-25 H.J. Lu <hongjiu.lu@intel.com>
59856
59857 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59858 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
59859 * string/memmove.c (memmove): Renamed to ...
59860 (MEMMOVE): ...this. Default to memmove.
59861 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59862 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
59863 (END_CHK): Define.
59864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59865 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
59866 mempcpy-ssse3-back memmove-ssse3-back.
59867 * sysdeps/x86_64/multiarch/bcopy.S: New file .
59868 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
59869 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
59870 * sysdeps/x86_64/multiarch/memcpy.S: New file.
59871 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59872 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59873 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59874 * sysdeps/x86_64/multiarch/memmove.c: New file.
59875 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59876 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59877 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59878 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59879 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59880 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59881 Define.
59882 (index_Fast_Copy_Backward): Define.
59883 (HAS_ARCH_FEATURE): Define.
59884 (HAS_FAST_REP_STRING): Define.
59885 (HAS_FAST_COPY_BACKWARD): Define.
59886
4e733bac 598872010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
59888
59889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59890 Restore proper fallback handling.
59891
63c4ed22
UD
598922010-06-19 Ulrich Drepper <drepper@redhat.com>
59893
ac2b484c
UD
59894 [BZ #11701]
59895 * posix/group_member.c (__group_member): Correct checking loop.
59896
63c4ed22
UD
59897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59898 OOM in getpwuid_r correctly. Return error number when the caller
59899 should return, otherwise -1.
59900 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59901 call returning > 0 value.
59902 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59903
765ade4b
AS
599042010-06-07 Andreas Schwab <schwab@redhat.com>
59905
59906 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59907 libc_nonshared.a from targets in modules-names.
59908
80da2e09
KS
599092010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
59910
59911 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59912 requires it.
59913
158db122
LM
599142010-06-10 Luis Machado <luisgpm@br.ibm.com>
59915
59916 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59917 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59918 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59919 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59920
caa78cf8
AS
599212010-06-02 Andreas Schwab <schwab@redhat.com>
59922
59923 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59924
b2ef2c01
UD
599252010-06-14 Ulrich Drepper <drepper@redhat.com>
59926
59927 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59928 and F_GETPIPE_SZ.
59929 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59933 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59934 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59935
fbd643b6
RM
599362010-06-14 Roland McGrath <roland@redhat.com>
59937
59938 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59939
f32f2869
JJ
599402010-06-07 Jakub Jelinek <jakub@redhat.com>
59941
59942 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59943 __REDIRECT followed by __THROW.
59944 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59945 * posix/getopt.h (getopt): Likewise.
59946
2a50c078
EPM
599472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59948
59949 * hurd/lookup-at.c (__file_name_lookup_at): Accept
59950 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
59951 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59952 in AT_FLAGS.
59953 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59954 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59955
eb5ad2eb
LM
599562010-05-28 Luis Machado <luisgpm@br.ibm.com>
59957
59958 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59959
3c88fe1e
L
599602010-05-26 H.J. Lu <hongjiu.lu@intel.com>
59961
59962 [BZ #11640]
59963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59964 Properly check family and model.
59965
d2f73151
TY
599662010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
59967
59968 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59969
ebd2e13d
LM
599702010-05-24 Luis Machado <luisgpm@br.ibm.com>
59971
59972 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59973
b32b8b45
UD
599742010-05-21 Ulrich Drepper <drepper@redhat.com>
59975
59976 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59977 symbol reference.
59978
9acbe24d
AS
599792010-05-19 Andreas Schwab <schwab@redhat.com>
59980
59981 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59982 symbol reference.
59983
f0ccf6ea
AS
599842010-05-21 Andreas Schwab <schwab@redhat.com>
59985
3d04ff3a
AS
59986 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59987 and internal_recvmmsg.
59988 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59989 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59990 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59991 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59992
f0ccf6ea
AS
59993 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59994 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59995 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59996
5b08ac57
AS
599972010-05-20 Andreas Schwab <schwab@redhat.com>
59998
59999 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60000
4828935d
LM
600012010-05-17 Luis Machado <luisgpm@br.ibm.com>
60002
60003 POWER7 optimizations.
60004 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60005 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60006
373d545e
UD
600072010-05-19 Ulrich Drepper <drepper@redhat.com>
60008
60009 * version.h: Update for 2.13 development version.
60010
21a2b1ae
AS
600112010-05-12 Andrew Stubbs <ams@codesourcery.com>
60012
60013 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60014 exceptions. Return 0.
60015
3f7dcb2b
RM
600162010-05-07 Roland McGrath <roland@redhat.com>
60017
60018 * elf/ldconfig.c (main): Add a const.
60019
5f24d53a 600202010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 60021
a160f8d8
UD
60022 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60023 (args_options): Add no-idn option.
60024 (ahosts_keys_int): Add idn_flags to ai_flags.
60025 (parse_option): Handle 'i' option to clear idn_flags.
60026
5f24d53a
UD
60027 * malloc/malloc.c (_int_free): Possible race in the most recently
60028 added check. Only act on the data if no current modification
60029 happened.
265bb1ce
UD
60030
60031See ChangeLog.17 for earlier changes.