]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
i386: Remove useless pthread_spin_{init,unlock} wrapper files.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5675da1e
RM
12014-05-14 Roland McGrath <roland@hack.frob.com>
2
708f0813
RM
3 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5
c96067bc
RM
6 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
23 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
24 Moved ...
25 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29 Moved ...
30 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
31 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
38 Moved ...
39 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
40 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41 Moved ...
42 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
44 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
45 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
47 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
48 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
49 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
51 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
53 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
54 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
55 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
56 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
57 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
58 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
59
ec136444
RM
60 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
61 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
62 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
63 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
64 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
65
2fbdf533
RM
66 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
67 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
68 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
69 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
70 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
71 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
72 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
73 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
74 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
75 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
76
4c68138b
RM
77 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
78 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
79
4eaae765
RM
80 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
81 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
82 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
83 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
84 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
85 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
86 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
87 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
88 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
89 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
90 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
91 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
92 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
93 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
94 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
95 Update #include.
96 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
97 Likewise.
98 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
99 Likewise.
100 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
101 Likewise.
102 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
103 Likewise.
104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
105 Likewise.
106 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
107 Likewise.
108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
109 Likewise.
110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
111 Likewise.
112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
113 Likewise.
4ef6befa
RM
114 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
115 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
116 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
117 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
118 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3a51fb60 119
941d7dfd
RM
120 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
121 that was previously under [RESET_PID].
122 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
123 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
124 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
125
1b731c35
RM
126 * sysdeps/i386/nptl/Implies: New file.
127 * sysdeps/x86_64/nptl/Implies: New file.
128 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
129 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
130 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
131 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
132
e2787137
RM
133 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
134 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
135 (__libc_vfork): New strong alias.
136 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
137 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
138
139 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
140 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
141 (__libc_vfork): New strong alias.
142 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
143 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
144
5675da1e
RM
145 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
146 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
147 (__libc_vfork): New strong alias.
148 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
149 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
150 * nptl/pt-vfork.c: New file.
151 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
152 (libpthread: GLIBC_2.20): New version set (empty).
153
4f02e2b8
WN
1542014-05-14 Will Newton <will.newton@linaro.org>
155
156 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
157 rather than #if.
158
0bf061d3
JM
1592014-05-14 Joseph Myers <joseph@codesourcery.com>
160
1a84c3d6
JM
161 [BZ #16564]
162 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
163 arguments with exponent 65 or above.
164 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
165 arguments 0x1p113L or above.
166 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
167 to arguments 0x1p107L or above.
168 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
169 positive arguments with exponent 65 or above.
170 * math/auto-libm-test-in: Add more tests of log1p.
171 * math/auto-libm-test-out: Regenerated.
172
01dbacd2
JM
173 [BZ #16928]
174 * math/s_cacos.c (__cacos): Ensure zero real part of result from
175 non-finite arguments is +0.
176 * math/s_cacosf.c (__cacosf): Likewise.
177 * math/s_cacosl.c (__cacosl): Likewise.
178 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
179 * sysdeps/i386/fpu/libm-test-ulps: Update.
180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
181
913d03c8
JM
182 [BZ #16927]
183 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
184 value.
185 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
186 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
187 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
188 for explicit high bit of mantissa when testing for argument equal
189 to 1.
190 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
191 * sysdeps/i386/fpu/libm-test-ulps: Update.
192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
193
0bf061d3
JM
194 [BZ #16516]
195 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
196 (__erf): Scale by 16 instead of 8 in potentially underflowing
197 case. Ensure exception if result actually underflows.
198 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
199 (__erff): Scale by 16 instead of 8 in potentially underflowing
200 case. Ensure exception if result actually underflows.
201 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
202 (efx8): Remove variable.
203 (__erfl): Scale by 16 instead of 8 in potentially underflowing
204 case. Ensure exception if result actually underflows.
205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
206 (efx8): Remove variable.
207 (__erfl): Scale by 16 instead of 8 in potentially underflowing
208 case. Ensure exception if result actually underflows.
209 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
210 (efx8): Remove variable.
211 (__erfl): Scale by 16 instead of 8 in potentially underflowing
212 case. Ensure exception if result actually underflows.
213 * math/auto-libm-test-in: Add more tests of erf.
214 * math/auto-libm-test-out: Regenerated.
215
73ba67cb
AS
2162014-05-14 Andreas Schwab <schwab@suse.de>
217
3d8c8bff
AS
218 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
219 Remove code conditionalized on USE___THREAD.
220
73ba67cb
AS
221 * config.h.in (HAVE_PT_CHOWN): Define as 0.
222 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
223 not definedness.
224
5c521ecd
JM
2252014-05-14 Joseph Myers <joseph@codesourcery.com>
226
5e7698c6
JM
227 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
228 Define unconditionally.
229 (__ASSUME_O_CLOEXEC): Likewise.
230 (__ASSUME_SOCK_CLOEXEC): Likewise.
231 (__ASSUME_IN_NONBLOCK): Likewise.
232 (__ASSUME_PIPE2): Likewise.
233 (__ASSUME_EVENTFD2): Likewise.
234 (__ASSUME_SIGNALFD4): Likewise.
235 (__ASSUME_DUP3): Likewise.
236 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
237 (__ASSUME_DUP3): Do not define.
238 (__ASSUME_EVENTFD2): Likewise.
239 (__ASSUME_IN_NONBLOCK): Likewise.
240 (__ASSUME_O_CLOEXEC): Likewise.
241 (__ASSUME_PIPE2): Likewise.
242 (__ASSUME_SIGNALFD4): Likewise.
243 (__ASSUME_SOCK_CLOEXEC): Likewise.
244 (__ASSUME_UTIMES): Undefine.
245 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
246 (__ASSUME_UTIMES): Do not define.
247 (__ASSUME_O_CLOEXEC): Likewise.
248 (__ASSUME_SOCK_CLOEXEC): Likewise.
249 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
250 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
251 0x020621].
252 (__ASSUME_PIPE2): Likewise.
253 (__ASSUME_EVENTFD2): Likewise.
254 (__ASSUME_SIGNALFD4): Likewise.
255 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
256 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
257 Do not define.
258 (__ASSUME_EVENTFD2): Likewise.
259 (__ASSUME_SIGNALFD4): Likewise.
260 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
261 (__ASSUME_32BITUIDS): Likewise.
262 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
263 (__ASSUME_IPC64): Likewise.
264 (__ASSUME_ST_INO_64_BIT): Likewise.
265 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
266 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
267 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
268 (__ASSUME_UTIMES): Do not define.
269 (__ASSUME_PSELECT): Likewise.
270 (__ASSUME_PPOLL): Likewise.
271 (__ASSUME_O_CLOEXEC): Likewise.
272 (__ASSUME_SOCK_CLOEXEC): Likewise.
273 (__ASSUME_IN_NONBLOCK): Likewise.
274 (__ASSUME_PIPE2): Likewise.
275 (__ASSUME_EVENTFD2): Likewise.
276 (__ASSUME_SIGNALFD4): Likewise.
277 (__ASSUME_DUP3): Likewise.
278 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
279 (__ASSUME_UTIMES): Likewise.
280 (__ASSUME_O_CLOEXEC): Likewise.
281 (__ASSUME_SOCK_CLOEXEC): Likewise.
282 (__ASSUME_IN_NONBLOCK): Likewise.
283 (__ASSUME_PIPE2): Likewise.
284 (__ASSUME_EVENTFD2): Likewise.
285 (__ASSUME_SIGNALFD4): Likewise.
286 (__ASSUME_DUP3): Likewise.
287 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
288 (__ASSUME_UTIMES): Likewise.
289 (__ASSUME_O_CLOEXEC): Likewise.
290 (__ASSUME_SOCK_CLOEXEC): Likewise.
291 (__ASSUME_IN_NONBLOCK): Likewise.
292 (__ASSUME_PIPE2): Likewise.
293 (__ASSUME_EVENTFD2): Likewise.
294 (__ASSUME_SIGNALFD4): Likewise.
295 (__ASSUME_DUP3): Likewise.
296 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
297 Likewise.
298 (__ASSUME_UTIMES): Likewise.
299 (__ASSUME_EVENTFD2): Likewise.
300 (__ASSUME_SIGNALFD4): Likewise.
301 * sysdeps/unix/sysv/linux/tile/kernel-features.h
302 (__ASSUME_O_CLOEXEC): Likewise.
303 (__ASSUME_SOCK_CLOEXEC): Likewise.
304 (__ASSUME_IN_NONBLOCK): Likewise.
305 (__ASSUME_PIPE2): Likewise.
306 (__ASSUME_EVENTFD2): Likewise.
307 (__ASSUME_SIGNALFD4): Likewise.
308 (__ASSUME_DUP3): Likewise.
309 (__ASSUME_UTIMES): Undefine.
310
5c521ecd
JM
311 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
312 feclearexcept. Remove symbol versioning code.
313 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
314 symbol versioning code.
315 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
316 symbol versioning code.
317 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
318 feupdateenv. Remove symbol versioning code.
319 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
320 fegetexceptflag. Remove symbol versioning code.
321 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
322 fesetexceptflag. Remove symbol versioning code.
323 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
324 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
325 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
326 (__posix_fadvise64_l32): Remove prototype.
327 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
328 code.
329
5da9dfad
RM
3302014-05-13 Roland McGrath <roland@hack.frob.com>
331
332 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
333 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
334 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
335 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
336
893b4f37
SK
3372014-05-13 Sami Kerola <kerolasa@iki.fi>
338
339 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
340 current working directory
341
e0db6517
RM
3422014-05-13 Roland McGrath <roland@hack.frob.com>
343
58aa195d
RM
344 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
345 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
346 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
347 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
348 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
349 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
350 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
351 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
352 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
353 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
354 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
355 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
356 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
357 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
358 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
359 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
360 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
361 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
362 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
363 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
364 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
365 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
366 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
367 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
368 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
369 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
370 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
371 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
372 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
373 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
374 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
375 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
376 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
377 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
378 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
379 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
380 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
381 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
382 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
383 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
384 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
385 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
386
8c6d01f0
RM
387 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
388 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
389
390 * sysdeps/unix/sysv/linux/arm/Makefile
391 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
392 Add rt-aeabi_unwind_cpp_pr1.
393 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
394 Add nptl-aeabi_unwind_cpp_pr1.
395 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
396 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
397 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
398 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
399 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
400 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
401
402 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
403 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
404 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
405 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
406
bba6da4e
RM
407 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
408 Deconditionalize the code that was previously under [RESET_PID].
409 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
410
e0db6517
RM
411 * sysdeps/generic/exit-thread.h: New file.
412 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
413 * include/unistd.h (__exit_thread): Remove declaration.
414 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
415 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
416 * csu/libc-start.c: Include <exit-thread.h>.
417 (LIBC_START_MAIN): Pass no argument to __exit_thread.
418 * nptl/pthread_create.c: Include <exit-thread.h>.
419 (start_thread): Call __exit_thread in place of __exit_thread_inline.
420 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
421 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
422 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
423 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
424 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
425 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
426 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
427 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
428 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
429 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
430 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
431 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
432 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
433 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
434 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
435 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
436
01eb16fd
AS
4372014-05-13 Andreas Schwab <schwab@suse.de>
438
439 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
440
637461d9
JM
4412014-05-12 Joseph Myers <joseph@codesourcery.com>
442
443 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
444 (__ASSUME_UTIMES): Do not condition on kernel version.
445 (__ASSUME_PSELECT): Define unconditionally.
446 (__ASSUME_PPOLL): Likewise.
447 (__ASSUME_ATFCTS): Likewise.
448 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
449 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
450 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
451 (__ASSUME_UTIMENSAT): Define unconditionally.
452 (__ASSUME_PRIVATE_FUTEX): Likewise.
453 (__ASSUME_FALLOCATE): Likewise.
454 (__ASSUME_O_CLOEXEC): Likewise.
455 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
456 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
457 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
458 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
459 (__ASSUME_IN_NONBLOCK): Likewise.
460 (__ASSUME_PIPE2): Likewise.
461 (__ASSUME_EVENTFD2): Likewise.
462 (__ASSUME_SIGNALFD4): Likewise.
463 (__ASSUME_DUP3): Likewise.
464 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
465 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
466 (__ASSUME_AT_RANDOM): Likewise.
467 (__ASSUME_PREADV): Likewise.
468 (__ASSUME_PWRITEV): Likewise.
469 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
470 (__ASSUME_F_GETOWN_EX): Define unconditionally.
471 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
472 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
473 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
474 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
475 (__ASSUME_O_CLOEXEC): Define unconditionally.
476 (__ASSUME_PSELECT): Do not undefine conditionally.
477 (__ASSUME_PPOLL): Likewise.
478 (__ASSUME_ATFCTS): Likewise.
479 (__ASSUME_SET_ROBUST_LIST): Likewise.
480 (__ASSUME_UTIMENSAT): Likewise.
481 (__ASSUME_FDATASYNC): Define unconditionally.
482 * sysdeps/unix/sysv/linux/arm/kernel-features.h
483 (__ASSUME_SIGFRAME_V2): Likewise.
484 )__ASSUME_EVENTFD2): Likewise.
485 (__ASSUME_SIGNALFD4): Likewise.
486 (__ASSUME_PSELECT): Do not undefine conditionally.
487 (__ASSUME_PPOLL): Likewise.
488 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
489 (__ASSUME_PSELECT): Define unconditionally.
490 (__ASSUME_PPOLL): Likewise.
491 (__ASSUME_O_CLOEXEC): Likewise.
492 (__ASSUME_SOCK_CLOEXEC): Likewise.
493 (__ASSUME_IN_NONBLOCK): Likewise.
494 (__ASSUME_PIPE2): Likewise.
495 (__ASSUME_EVENTFD2): Likewise.
496 (__ASSUME_SIGNALFD4): Likewise.
497 (__ASSUME_DUP3): Likewise.
498 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
499 (__ASSUME_O_CLOEXEC): Likewise.
500 (__ASSUME_SOCK_CLOEXEC): Likewise.
501 (__ASSUME_IN_NONBLOCK): Likewise.
502 (__ASSUME_PIPE2): Likewise.
503 (__ASSUME_EVENTFD2): Likewise.
504 (__ASSUME_SIGNALFD4): Likewise.
505 (__ASSUME_DUP3): Likewise.
506 * sysdeps/unix/sysv/linux/mips/kernel-features.h
507 (__ASSUME_EVENTFD2): Likewise.
508 (__ASSUME_SIGNALFD4): Likewise.
509 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
510
315eb1d8
AS
5112014-05-12 Andreas Schwab <schwab@suse.de>
512
513 [BZ #16932]
514 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
515 (_nss_nis_gethostbyname4_r): Return error if item length is larger
516 than maximum RPC packet size.
517 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
518 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
519 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
520 (_nss_nis_getservbyport_r): Likewise.
521
91df99f7
WN
5222014-05-12 Will Newton <will.newton@linaro.org>
523
524 * malloc/Makefile (tests): Add tst-mallopt.
525 * malloc/tst-mallopt.c: New file.
526
0a982a29
RM
5272014-05-09 Roland McGrath <roland@hack.frob.com>
528
529 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
530 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
531
0ded08a5
AZ
5322014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
533
534 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
535 (tst-tlsmod6.so): Likewise.
536
55d4d550
RM
5372014-05-09 Roland McGrath <roland@hack.frob.com>
538
539 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
540
77d08aca
JM
5412014-05-09 Joseph Myers <joseph@codesourcery.com>
542
543 [BZ #16064]
544 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
545 and <dl-procinfo.h>.
546 (__fegetenv): Save SSE state in envp->__eip if supported.
547 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
548 envp->__eip if supported.
549 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
550 and <dl-procinfo.h>.
551 (__fesetenv): Always set __eip, __cs_selector, __opcode,
552 __data_offset and __data_selector in environment to 0. Set SSE
553 state if supported.
554 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
555 test-fenv-sse.
556 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
557 -mfpmath=sse.
558 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
559
28162f4d
WN
5602014-05-09 Will Newton <will.newton@linaro.org>
561
562 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
563 and libc_relro_required for ARM.
564 * sysdeps/arm/preconfigure: Regenerate.
565
5a414ff7
DV
5662014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
567 Stefan Liebler <stli@linux.vnet.ibm.com>
568
569 * config.make.in (enable-lock-elision): New Makefile variable.
570 * configure.ac: Likewise.
571 * configure: Regenerate.
572 * sysdeps/s390/configure.ac:
573 Add check for gcc transactions support.
574 * sysdeps/s390/configure: Regenerate.
575 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
576 Build elision files if enabled.
577 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
578 Add lock elision support for s390.
579 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
580 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
581 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
582 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
583 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
584 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
585 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
586 Likewise.
587 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
588 Likewise.
589 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
590 Likewise.
591 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
592 Likewise.
593 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
594 (__lll_timedlock_elision, __lll_lock_elision)
595 (__lll_unlock_elision, __lll_trylock_elision)
596 (lll_timedlock_elision, lll_lock_elision)
597 (lll_unlock_elision, lll_trylock_elision): Add.
598 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
599 (pthread_mutex_t): Add lock elision support for s390.
600
f63c86fe
WN
6012014-05-09 Will Newton <will.newton@linaro.org>
602
603 * sysdeps/arm/armv7/strcmp.S: New file.
604 * NEWS: Mention addition of ARMv7 optimized strcmp.
605
7a1a51b5
RM
6062014-05-08 Roland McGrath <roland@hack.frob.com>
607
95afbbe5
RM
608 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
609 look for %.ac rather than %.in.
610
611 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
612 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
613 * sysdeps/mach/hurd/configure: Regenerated.
614 * sysdeps/unix/sysv/linux/configure: Regenerated.
615
7a1a51b5
RM
616 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
617
5057ad3b
SE
6182014-05-07 Steve Ellcey <sellcey@mips.com>
619
620 [BZ# 16922]
621 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
622 (LONG_SUB): Ditto.
623 (PTR_SUB): Ditto.
624
8dc97517
AS
6252014-05-07 Andreas Schwab <schwab@suse.de>
626
627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
628 when skipping over non-matching result from nscd.
629
ce0c5b8f
OB
6302014-05-07 Ondřej Bílka <neleai@seznam.cz>
631
632 [BZ #16876]
633 * nptl/sockperf.c (client): Check socket return value.
8dc97517 634
a1189263
OB
635 [BZ #16877]
636 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
637 nscd security class.
ce0c5b8f 638
0f58d252
RM
6392014-05-06 Roland McGrath <roland@hack.frob.com>
640
641 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
642 * sysdeps/arm/unwind.h: ... here.
643
83df9ad0
AJ
6442014-05-06 Aurelien Jarno <aurelien@aurel32.net>
645
ce0c5b8f
OB
646 [BZ# 16916]
647 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
648 Define.
83df9ad0 649
f360f94a
VR
6502014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
651
652 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
653 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
654 multiarch strncpy for PPC64.
655 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
656 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
658 multiarch optimizations.
659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
660 (__libc_ifunc_impl_list): Likewise.
661 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
662 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
663 multiarch stpncpy for PPC64.
664 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
665 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
666
978a41c3
AS
6672014-05-06 Andreas Schwab <schwab@suse.de>
668
669 [BZ #16912]
670 * gmon/mcount.c (_MCOUNT_DECL): Use
671 atomic_compare_and_exchange_bool_acq instead of
672 catomic_compare_and_exchange_bool_acq.
673
eb1ed03d
RM
6742014-05-05 Roland McGrath <roland@hack.frob.com>
675
fe658845
RM
676 * elf/Makefile (others, install-bin): Remove pldd.
677 (pldd-modules): Variable removed.
678 ($(objpfx)pldd): Target removed.
679 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
680 (others, install-bin): Append pldd here.
681 ($(objpfx)pldd): New target.
682
eb1ed03d
RM
683 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
684 to 0, so the first #if test emitted later doesn't see it undefined.
685 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
686 * sysdeps/gnu/errlist.c: Regenerated.
687
19c4bec0
AZ
6882014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
689
690 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
691 [libc_hidden_builtin_def]: Define to empty value.
692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
693 [libc_hidden_builtin_def]: Likewise.
694 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
695 [libc_hidden_builtin_def]: Likewise.
696 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
697 [libc_hidden_builtin_def]: Likewise.
698 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
699 __redirect_memcpy and define ifunc as default hidden symbol.
700 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
701 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
702
7776e669
AC
7032014-05-04 Adam Conrad <adconrad@0c3.net>
704
705 * locale/iso-4217.def: Reintroduce XDR currency.
706
d69aeb12
AM
7072014-05-04 Allan McRae <allan@archlinux.org>
708
709 * po/eo.po: Update Esperanto translation from translation project.
710
8f1df5cf
CD
7112014-05-02 Carlos O'Donell <carlos@redhat.com>
712
713 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
714 and FEATURE_INDEX_MAX to 1.
715 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
716
13e402e7
SE
7172014-05-01 Steve Ellcey <sellcey@mips.com>
718
719 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
720 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
721 * iconvdata/big5.c (ONE_DIRECTION): Define.
722 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
723 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
724 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
725 * iconvdata/cp932.c (ONE_DIRECTION): Define.
726 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
727 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
728 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
729 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
730 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
731 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
732 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
733 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
734 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
735 * iconvdata/gbk.c (ONE_DIRECTION): Define.
736 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
737 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
738 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
739 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
740 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
741 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
742 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
743 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
744 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
745 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
746 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
747 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
748 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
749 * iconvdata/iso646.c (ONE_DIRECTION): Define.
750 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
751 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
752 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
753 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
754 * iconvdata/johab.c (ONE_DIRECTION): Define.
755 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
756 * iconvdata/sjis.c (ONE_DIRECTION): Define.
757 * iconvdata/t.61.c (ONE_DIRECTION): Define.
758 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
759 * iconvdata/tscii.c (ONE_DIRECTION): Define.
760 * iconvdata/uhc.c (ONE_DIRECTION): Define.
761 * iconvdata/unicode.c (ONE_DIRECTION): Define.
762 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
763 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
764 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
765
c727f032
RM
7662014-05-01 Roland McGrath <roland@hack.frob.com>
767
8f2f08d0
RM
768 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
769 (_IO_JUMPS_OFFSET): Define to 0.
770
c727f032
RM
771 * nptl/sysdeps/pthread/bits/libc-lock.h
772 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
773 (__libc_lock_define_initialized_recursive): Always define using
774 initializer. Modern compilers treat uninitialized (implicit zero) and
775 explicit zero initializers the same (i.e. put the datum in bss).
776
a849e800
AS
7772014-05-01 Andreas Schwab <schwab@linux-m68k.org>
778
779 * nscd/nscd-client.h: Include <string.h>.
780
5331255b
DM
7812014-05-01 David S. Miller <davem@davemloft.net>
782
783 [BZ #16885]
784 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
785 multiple zero bytes exist at the end of a string.
786 Reported by Aurelien Jarno <aurelien@aurel32.net>
787
788 * string/test-strcmp.c (check): Add explicit test for situations where
789 there are multiple zero bytes after the first.
790
4fdfe821
AS
7912014-05-01 Andreas Schwab <schwab@linux-m68k.org>
792
793 [BZ #16890]
794 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
795 when compiling wprintf.
796 * stdio-common/tstdiomisc.c (t3): New function.
797 (main): Call it.
798
0cdddc25
SE
7992014-05-01 Steve Ellcey <sellcey@mips.com>
800
801 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
802 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
803 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
804 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
805
6426d77e
SE
8062014-05-01 Steve Ellcey <sellcey@mips.com>
807
808 * stdlib/longlong.h: Updated from GCC.
809
6d96f5e4
WN
8102014-05-01 Will Newton <will.newton@linaro.org>
811 Bernard Ogden <bernie.ogden@linaro.org>
812
7470db0c
WN
813 * NEWS: Update fixed bug list.
814
6d96f5e4
WN
815 [BZ #15119]
816 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
817
211d653c
DM
8182014-04-30 David S. Miller <davem@davemloft.net>
819
4fa262fa
DM
820 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
821 (libc_feholdexcept_setround_sparc_ctx): New function.
822 (libc_fesetenv_sparc_ctx): Likewise.
823 (libc_feupdateenv_sparc_ctx): Likewise.
824 (libc_feholdsetround_sparc_ctx): Likewise.
825 (libc_feholdexcept_setround_ctx): Define.
826 (libc_feholdexcept_setroundf_ctx): Likewise.
827 (libc_feholdexcept_setroundl_ctx): Likewise.
828 (libc_fesetenv_ctx): Likewise.
829 (libc_fesetenvf_ctx): Likewise.
830 (libc_fesetenvl_ctx): Likewise.
831 (libc_feupdateenv_ctx): Likewise.
832 (libc_feupdateenvf_ctx): Likewise.
833 (libc_feupdateenvl_ctx): Likewise.
834 (libc_feresetround_ctx): Likewise.
835 (libc_feresetroundf_ctx): Likewise.
836 (libc_feresetroundl_ctx): Likewise.
837 (libc_feholdsetround_ctx): Likewise.
838 (libc_feholdsetroundf_ctx): Likewise.
839 (libc_feholdsetroundl_ctx): Likewise.
840
1d3d93ef
DM
841 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
842 with __USE_GNU instead of XOPEN cpp guards.
843
8aa583c3
DM
844 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
845 0.
846
211d653c
DM
847 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
848 with XOPEN cpp guards.
849
60c8f1f6
JB
8502014-04-30 Julian Brown <julian@codesourcery.com>
851
852 [BZ #16888]
853 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
854 handling.
855
9a461d46
JM
8562014-04-30 Joseph Myers <joseph@codesourcery.com>
857
d0f5b3f8
JM
858 [BZ #9894]
859 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
860 Change to 2.6.32.
861 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
862 * sysdeps/unix/sysv/linux/configure: Regenerated.
863 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
864 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
865 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
866 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
867 * README: Update reference to required Linux kernel version.
868 * manual/install.texi (Linux): Update reference to required Linux
869 kernel headers version.
870 * INSTALL: Regenerated.
871
9a461d46
JM
872 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
873 header inclusion.
874 [POSIX] (limits.h): Likewise.
875 [POSIX] (math.h): Likewise.
876 [POSIX] (sys/wait.h): Likewise.
877 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
878 function.
879 [POSIX] (stddef.h): Do not allow header inclusion.
880
1775babf
AZ
8812014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
882
57f41c40 883 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 884
8f630cca
YY
8852014-04-30 Yang Yingliang <yangyingliang@huawei.com>
886
887 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
888 Return immediately after lll_futex_wake.
889
1cdeb237
SP
8902014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
891
bc8f194c
SP
892 [BZ #16791]
893 * nscd/nscd-client.h (datahead_init_common): Initialize entire
894 structure.
895 (datahead_init_pos): Call datahead_init_common early.
896 (datahead_init_neg): Likewise.
897
1cdeb237
SP
898 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
899 datahead_init_neg): New functions.
900 * nscd/aicache.c (addhstaiX): Use them.
901 * nscd/grpcache.c (cache_addgr): Likewise.
902 * nscd/hstcache.c (cache_addhst): Likewise.
903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
904 * nscd/netgroupcache.c (do_notfound): Likewise.
905 (addgetnetgrentX): Likewise.
906 (addinnetgrX): Likewise.
907 * nscd/pwdcache.c (cache_addpw): Likewise.
908 * nscd/servicescache.c (cache_addserv): Likewise.
909
16b293a7
SP
9102014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
911 Atsushi Onoe <atsushi@onoe.org>
912
913 [BZ #14308]
914 [BZ #12994]
915 [BZ #13651]
916 * resolv/res_query.c (__libc_res_nsearch): Return if at least
917 one response is valid.
918 * resolv/res_send.c (send_dg): Check for validity of other
919 response if the current response is a referral.
920
a28a9b94
SE
9212014-04-29 Steve Ellcey <sellcey@mips.com>
922
923 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
924
2ca180e9
SL
9252014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
926
927 [BZ #16823]
928 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
929 Always divide by positive zero when computing -Inf result.
930 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
931 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
932
18f2945a
AZ
9332014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
934
935 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
936 FPSCR if value do not change.
937 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
938 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
939 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
940 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
941 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
942 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
943 function.
944
5abebba4
CD
9452014-05-29 Carlos O'Donell <carlos@systemhalted.org>
946
947 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
948 * sysdeps/unix/sysv/linux/hppa: Move directory from
949 ports/systeps/unix/sysv/linux/hppa.
950 * README: Update listing for hppa-*-linux-gnu.
951
f7ed60c2
OB
9522014-04-28 Ondřej Bílka <neleai@seznam.cz>
953
fff763a5
OB
954 [BZ #16754]
955 * manual/stdio.texi (Hook functions): Fix types of stream hook
956 functions.
f7ed60c2
OB
957 [BZ #16854]
958 * socket/sys/socket.h: Fix typo in comment.
959
df639d73
WD
9602014-04-28 Wilco <wdijkstr@arm.com>
961
f7ed60c2 962 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
963 * sysdeps/arm/math_private.h: New file.
964 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
965
48332d82
L
9662014-04-25 H.J. Lu <hongjiu.lu@intel.com>
967
968 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
969 with __int128_t.
970 (La_x86_64_retval): Likewise.
971
e5e0d9a4
IB
9722014-04-24 Ian Bolton <ian.bolton@arm.com>
973
974 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
975 fpsr if value didn't change.
976 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
977 to fpcr if value didn't change.
978 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
979 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
980 fpsr or fpcr if value didn't change.
981 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
982 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
983 fpcr if value didn't change.
984 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
985 to fpsr if value didn't change.
986
bacc75f7
SP
9872014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
988
989 * nptl/tst-sem3.c: Use test-skeleton.c
990 (main): Rename to do_test. Use return instead of
991 exit.
992 * nptl/tst-sem4.c: Use test-skeleton.c
993 (main): Rename to do_test.
994
a059d359
DM
9952014-04-22 David S. Miller <davem@davemloft.net>
996
997 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
998 (struct sigaction): New struct member __glibc_reserved0, change
999 type of sa_flags to int.
1000
ea6c92f3
YZ
10012014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1002
1003 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1004 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1005
766c4a36
SP
10062014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1007
1008 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1009 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1010
140cc7ab
VK
10112014-04-22 Will Newton <will.newton@linaro.org>
1012 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1013
1014 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1015 (__longjmp): Add longjmp and longjmp_target SystemTap
1016 probes.
1017 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1018 (__sigsetjmp): Add setjmp SystemTap probe.
1019
c54e5cf7
CD
10202014-04-17 Carlos O'Donell <carlos@redhat.com>
1021
1022 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1023 match manual order.
1024
75ffb047
AZ
10252014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1026
1027 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1028
2cd925f7
AZ
1029 * sysdeps/powerpc/fpu/fenv_private.h
1030 (libc_feholdexcept_setroundl_ctx): Define to
1031 libc_feholdexcept_setround_ppc_ctx.
1032 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1033 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1034 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1035 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1036
39e6cd8d
IB
10372014-04-17 Ian Bolton <ian.bolton@arm.com>
1038
1039 * sysdeps/aarch64/math-tests.h: New file.
1040
f9281df9
SY
10412014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1042
1043 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1044 New.
1045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1046 Check and set bit_AVX2_Usable.
1047 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1048 macro.
1049 (bit_AVX2): Likewise.
1050 (index_AVX2_Usable): Likewise.
1051 (CPUID_AVX2): Likewise.
1052 (HAS_AVX2): Likewise.
1053
37d35007
WN
10542014-04-17 Will Newton <will.newton@linaro.org>
1055
7c677662
WN
1056 * manual/setjmp.texi (System V contexts): Add note that
1057 calling setcontext on a context created by a call to a
1058 signal handler is undefined. Update text to note that
1059 setcontext from a signal handler is possible but not
1060 recommended.
1061
37d35007 1062 [BZ #16629]
e04a4e9d
WN
1063 * stdlib/tst-setcontext.c: Include signal.h.
1064 (main): Check that the signal stack before and
1065 after swapcontext is the same.
1066
37d35007
WN
1067 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1068 Re-implement to restore registers in user code and avoid
1069 rt_sigreturn system call.
1070
423a7160
W
10712014-04-17 Wilco <wdijkstr@arm.com>
1072
1073 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1074 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1075 * math/test-fenv.c: Skip exception trap tests on targets which only
1076 support non-stop mode.
1077
bc93ab29
IB
10782014-04-17 Ian Bolton <ian.bolton@arm.com>
1079 Wilco Dijkstra <wilco.dijkstra@arm.com>
1080
1081 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1082 (libc_feholdsetround_aarch64_ctx)
1083 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1084 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1085 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1086 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1087 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1088 (libc_feresetround_noexl_ctx): Define.
1089
95fc5fa3
RH
10902014-04-16 Richard Henderson <rth@redhat.com>
1091
ddb04724
RH
1092 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1093
d77c0899
RH
1094 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1095 unwind tables.
1096
a3df56fc
RH
1097 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1098 const from the non-libc, non-ldso copy.
1099
95fc5fa3
RH
1100 * sysdeps/alpha/libm-test-ulps: Regenerate.
1101
7e0b6763
IB
11022014-04-16 Ian Bolton <ian.bolton@arm.com>
1103 Wilco Dijkstra <wilco.dijkstra@arm.com>
1104
1105 * sysdeps/aarch64/fpu/math_private.h: New file.
1106
a9ea2e0c
MS
11072014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1108
1109 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1110
ea8ba7cd
IZ
11112014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1112
1113 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1114 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1116 Intel MPX bound registers before _dl_profile_fixup.
1117 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1118 registers after _dl_profile_fixup. Save and restore bound
1119 registers bnd0/bnd1 when calling _dl_call_pltexit.
1120 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1121 (LR_BND_OFFSET): Likewise.
1122 (LRV_BND0_OFFSET): Likewise.
1123 (LRV_BND1_OFFSET): Likewise.
1124
9f2a4fbc
ST
11252014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1126
1127 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1128 to...
1129 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1130 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1131 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1132 fields.
9f2a4fbc 1133
fd15a59b
ST
11342014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1135
1136 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1137
f19dfa0a
SL
11382014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1139
1140 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1141
4fa8bc3b
SL
11422014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1143
1144 [BZ #14770]
1145 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1146 * sysdeps/s390/configure: Regenerate.
1147
8ea587db
SL
1148 [BZ #16824]
1149 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1150 Set round-to-nearest internally to reduce error accumulation.
1151
aa5f0ff1
AM
11522014-04-16 Alan Modra <amodra@gmail.com>
1153
1154 [BZ #16740]
1155 [BZ #16619]
1156 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1157 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 1158 * NEWS: Update fixed bug list.
aa5f0ff1 1159
bb9c256f
SP
11602014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1161
1162 * benchtests/Makefile: Depend on libraries in build directory.
1163 (bench-math): Separate out math tests.
1164 (bench-pthread): Separate out pthread tests.
1165 (bench): Include math and pthread tests.
1166
f737dfd0
CD
11672014-04-14 Carlos O'Donell <carlos@redhat.com>
1168
1169 [BZ #16831]
1170 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1171 _dl_debug_initialize.
1172
0699f766
CD
1173 * configure.ac: Remove SELinux header check.
1174 * configure: Regenerate.
1175 * nscd/selinux.c (perms): Array of const char* to permission names.
1176 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1177 default policy. Call string_to_security_class and string_to_av_perm to
1178 translate strings. Enforce default policy and call avs_has_perm with
1179 results of translated strings.
1180
809bd45f
DM
11812014-04-13 David S. Miller <davem@davemloft.net>
1182
1183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1184
89e691f2
AM
11852014-04-12 Allan McRae <allan@archlinux.org>
1186
1187 [BZ #16838]
1188 * manual/string.texi (Collation Functions): Fix qsort argument
1189 order in example.
1190 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1191
9c9daaeb
CM
11922014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1193
1194 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1195 Make the test a no-op if there are no exceptions defined.
1196
95561fb9
PP
11972014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1198
fe8d072c 1199 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
1200 enable-hardcoded-path-in-tests
1201
970c602a
WN
12022014-04-11 Will Newton <will.newton@linaro.org>
1203
1204 * benchtests/Makefile (extra-objs): Add json-lib.o.
1205 (bench-func): Tidy up JSON output.
1206 * benchtests/bench-skeleton.c: Include json-lib.h.
1207 (main): Use JSON library functions to do output of
1208 benchmark results.
1209 * benchtests/bench-timing-type.c (main): Output the
1210 timing type simply, leaving formatting to the user.
1211 * benchtests/json-lib.c: New file.
1212 * benchtests/json-lib.h: Likewise.
1213
36875b06
TR
12142014-04-11 Torvald Riegel <triegel@redhat.com>
1215
1216 [BZ #15215]
1217 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1218 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1219 memory barriers. Add comments.
1220 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1221 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1222 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1223 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1224 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1225 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1226
579db35a
SL
12272014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1228
1229 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1230 * sysdeps/s390/s390-64/configure.ac: ... this ...
1231 * sysdeps/s390/configure.ac: ... to here.
1232 * sysdeps/s390/s390-32/configure: Delete file.
1233 * sysdeps/s390/s390-64/configure: Delete file.
1234 * sysdeps/s390/configure: Regenerate.
1235
c12e9f37
JAPH
12362014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1237
1238 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1239
439bda32
WN
12402014-04-11 Will Newton <will.newton@linaro.org>
1241
1242 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1243 to zero if it is not defined elsewhere. (mtrim): Test
1244 the value of MALLOC_DEBUG with #if rather than #ifdef.
1245
6a5d6ea1
TR
12462014-04-10 Torvald Riegel <triegel@redhat.com>
1247
1248 * benchtests/pthread_once-inputs: New file.
1249 * benchtests/pthread_once-source.c: New file.
1250 * benchtests/README: Update documentation.
1251
a4c75cfd
IZ
12522014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1253 H.J. Lu <hongjiu.lu@intel.com>
1254
1255 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1256 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1257 * sysdeps/x86_64/configure: Regenerated.
1258 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1259 macro.
1260 (REGISTER_SAVE_RAX): Likewise.
1261 (REGISTER_SAVE_RCX): Likewise.
1262 (REGISTER_SAVE_RDX): Likewise.
1263 (REGISTER_SAVE_RSI): Likewise.
1264 (REGISTER_SAVE_RDI): Likewise.
1265 (REGISTER_SAVE_R8): Likewise.
1266 (REGISTER_SAVE_R9): Likewise.
1267 (REGISTER_SAVE_BND0): Likewise.
1268 (REGISTER_SAVE_BND1): Likewise.
1269 (REGISTER_SAVE_BND2): Likewise.
1270 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1271 bound registers when calling _dl_fixup.
1272
27822ce6
AZ
12732014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1274
1275 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1276 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1277 of its definition.
27822ce6
AZ
1278 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1279 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1280 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1281 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1282 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1283 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1284 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1285
a88ddc90
PTB
12862014-04-09 Peter Brett <peter@peter-b.co.uk>
1287
1288 [BZ #15514]
1289 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1290 pathconf(_PC_NAME_MAX).
1291
01f8eac2
AZ
12922014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1293
1294 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1295 Remove macro usage.
1296 (__PTHREAD_SPINS): Move definition to ...
1297 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1298 (__PTHREAD_SPINS): ... here.
1299 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1300 (__PTHREAD_SPIN): Likewise.
1301 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1302 (__PTHREAD_SPIN): Likewise.
1303 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1304 (__PTHREAD_SPIN): Likewise.
1305 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1306 (__PTHREAD_SPIN): Likewise.
1307 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1308 (__PTHREAD_SPIN): Likewise.
1309 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1310 (__PTHREAD_SPIN): Likewise.
1311 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1312 (__PTHREAD_SPIN): Likewise.
1313 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1314 (__PTHREAD_SPIN): Likewise.
1315 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1316 (__PTHREAD_SPIN): Likewise.
1317 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1318 (__PTHREAD_SPIN): Likewise.
1319 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1320 (__PTHREAD_SPIN): Likewise.
1321 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1322 (__PTHREAD_SPIN): Likewise.
1323
de21c33c
AZ
1324 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1325 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1326 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1327 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1328 imply folder.
1329 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1330 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1331 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1332 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1333 correct imply path.
1334 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1335 strlen symbol for non multi-arch builds.
1336 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1337 missing hidden_def and weak_alias.
1338
862c472e
CD
13392014-04-08 Carlos O'Donell <carlos@redhat.com>
1340
1341 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1342
8667f90e
WN
13432014-04-07 Will Newton <will.newton@linaro.org>
1344
1345 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1346 and contents. [!_LIBC] Remove #ifndef and contents.
1347 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1348 * string/memccpy.c (__memccpy): Use ANSI prototype.
1349 * string/memfrob.c (memfrob): Likewise.
1350 * string/strcoll.c (STRCOLL): Likewise.
1351 * string/strlen.c (strlen): Likewise.
1352 * string/strtok.c (STRTOK): Likewise.
1353 * string/strcat.c: Remove unused #include of memcopy.h.
1354 (strcat): Use ANSI prototype.
1355 * string/strchr.c: Remove unused #include of memcopy.h.
1356 (strchr): Use ANSI prototype.
1357 * string/strcmp.c: Remove unused #include of memcopy.h.
1358 (strcmp): Use ANSI prototype.
1359 * string/strcpy.c: Remove unused #include of memcopy.h.
1360 (strcpy): Use ANSI prototype.
1361
7ffa9423
AZ
13622014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1363
1364 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1365 * config.make.in (config-extra-cppflags): Set it from
1366 libc_extra_cppflags.
1367 * configure.ac (libc_extra_cflags): Make it accumulate over
1368 configure fragments.
1369 (libc_extra_cppflags): New flag.
1370 * configure. Regenerate.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
1372 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1373 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1375
8bd70862
AZ
1376 [BZ #16815]
1377 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1378 result for FE_DOWNWARD rounding mode.
1379 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1380 Likewise.
1381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1382
d42f3448
CM
13832014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1384
1385 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1386 in function argument name.
1387
1c21d115
DS
13882014-04-03 David Svoboda <svoboda@cert.org>
1389
1390 [BZ #5666]
1391 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1392 explicitly.
1393
fcccd512
RM
13942014-04-03 Roland McGrath <roland@hack.frob.com>
1395
1396 * elf/dl-unmap-segments.h: New file.
1397 * sysdeps/generic/ldsodefs.h
1398 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1399 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1400 * elf/dl-fptr.c: Likewise.
1401 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1402 * sysdeps/aarch64/tlsdesc.c: Likewise.
1403 * sysdeps/arm/tlsdesc.c: Likewise.
1404 * sysdeps/i386/tlsdesc.c: Likewise.
1405 * sysdeps/tile/dl-runtime.c: Likewise.
1406 * sysdeps/x86_64/tlsdesc.c: Likewise.
1407 * elf/dl-load.h: New file.
1408 * elf/dl-load.c: Include it.
1409 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1410 Macros moved to dl-load.h.
1411 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1412 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1413 Use _dl_unmap_segments in place of __munmap.
1414 Break out segment-mapping loop into ...
1415 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1416
f6488e2b
WN
14172014-04-03 Will Newton <will.newton@linaro.org>
1418
1419 * elf/dl-lookup.c (do_lookup_x): Remove comment
1420 referring to nested function and move variable
1421 declarations down to before first use.
1422
6f05bafe
JM
14232014-04-02 Joseph Myers <joseph@codesourcery.com>
1424
a84e78c8
JM
1425 [BZ #16799]
1426 [BZ #16800]
1427 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1428 with 0 numerator.
1429 * math/s_catanf.c (__catanf): Likewise.
1430 * math/s_catanh.c (__catanh): Likewise.
1431 * math/s_catanhf.c (__catanhf): Likewise.
1432 * math/s_catanhl.c (__catanhl): Likewise.
1433 * math/s_catanl.c (__catanl): Likewise.
1434 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1435 by positive zero when computing -Inf result.
1436 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1437 (catanh_test): Likewise.
1438 * sysdeps/i386/fpu/libm-test-ulps: Update.
1439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1440
6f05bafe
JM
1441 [BZ #16789]
1442 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1443 instead of using underflowing value in computing result.
1444 * math/s_clog10.c (__clog10): Likewise.
1445 * math/s_clog10f.c (__clog10f): Likewise.
1446 * math/s_clog10l.c (__clog10l): Likewise.
1447 * math/s_clogf.c (__clogf): Likewise.
1448 * math/s_clogl.c (__clogl): Likewise.
1449 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1450 (clog10_test): Likewise.
1451 * sysdeps/i386/fpu/libm-test-ulps: Update.
1452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1453
b0abbc21
AM
14542014-04-02 Alan Modra <amodra@gmail.com>
1455
1456 [BZ #16739]
1457 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1458 output when value is near a power of two. Use int64_t for lx and
1459 remove casts. Use decimal rather than hex exponent constants.
1460 Don't use long double multiplication when double will suffice.
1461 * math/libm-test.inc (nextafter_test_data): Add tests.
1462 * NEWS: Add 16739 and 16786 to bug list.
1463
af6b1797
AM
1464 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1465
483818d7
AM
1466 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1467
f6c55796
WN
14682014-04-01 Will Newton <will.newton@linaro.org>
1469
1470 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1471 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1472
13f7fe35
FW
14732014-04-01 Florian Weimer <fweimer@redhat.com>
1474
1475 [BZ #13347]
1476 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1477 * nptl/tst-setuid2.c: New file.
1478 * nptl/Makefile (xtests): Add tst-setuid2.
1479
c859b32e
AM
14802014-04-01 Alan Modra <amodra@gmail.com>
1481
1482 [BZ #16786]
1483 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1484
54fa2475
JM
14852014-03-31 Joseph Myers <joseph@codesourcery.com>
1486
8795b4a4
JM
1487 [BZ #6803]
1488 [BZ #6804]
1489 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1490 set errno as appropriate.
1491 * math/w_scalbf.c (__scalbf): Likewise.
1492 * math/w_scalbl.c (__scalbl): Likewise.
1493 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1494 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1495 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1496 Add more NaN tests.
1497
54fa2475
JM
1498 [BZ #16349]
1499 * math/w_atan2.c: Include <errno.h>.
1500 (__atan2): Set errno for result underflowing to zero.
1501 * math/w_atan2f.c: Include <errno.h>.
1502 (__atan2f): Set errno for result underflowing to zero.
1503 * math/w_atan2l.c: Include <errno.h>.
1504 (__atan2l): Set errno for result underflowing to zero.
1505 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1506 tests.
1507 * math/auto-libm-test-out: Regenerated.
1508
757d9dd5
AZ
15092014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1510
1511 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1512 Encode instruction correctly in little endian.
1513 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1514 Likewise.
1515 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1516 Likewise.
1517 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1518 Likewise.
1519 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1520 Likewise.
1521
d7a68734
JM
15222014-03-31 Joseph Myers <joseph@codesourcery.com>
1523
47c5adeb
JM
1524 [BZ #9894]
1525 * sysdeps/unix/sysv/linux/kernel-features.h
1526 [__sparc__ && !__arch64__ && !__sparc_v9__]
1527 (__ASSUME_SET_ROBUST_LIST): Do not define.
1528 [__sparc__ && !__arch64__ && !__sparc_v9__]
1529 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1530 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1531 Likewise.
1532 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1533 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1534 (__ASSUME_REQUEUE_PI): Likewise.
1535 (__ASSUME_SET_ROBUST_LIST): Likewise.
1536 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1537 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1538 Undefine.
1539 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1540 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1541 Likewise.
1542 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1543 Likewise.
1544 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1545 Likewise.
1546 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1547 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1548 Undefine.
1549 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1550 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1551 Likewise.
1552
d7a68734
JM
1553 [BZ #16648]
1554 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1555 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1556 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1557
c760f5c2
WN
15582014-03-31 Will Newton <will.newton@linaro.org>
1559
1560 * benchtests/Makefile (bench): Add ffs and ffsll to list
1561 of tests.
1562 * benchtests/ffs-inputs: New file.
1563 * benchtests/ffsll-inputs: Likewise.
1564
ea6029b1
JM
15652014-03-29 Joseph Myers <joseph@codesourcery.com>
1566
1567 [BZ #16770]
1568 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1569 too large before casting to int.
1570 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1571 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1572 * math/libm-test.inc (scalb_test_data): Add more tests.
1573
cf806aff
SP
15742014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1575
56737508
SP
1576 * benchtests/Makefile (DETAILED_OPT): New make option.
1577 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1578 set.
1579 * benchtests/bench-skeleton.c: Include stdbool.h.
1580 (main): Store and print timings per input.
1581 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1582 member to each argument value.
1583 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1584 (_print_arg_data): Initialize per-input timing to 0.
1585
cb5e4aad
SP
1586 * benchtests/Makefile (timing-type): New binary.
1587 (bench-clean): Also remove bench-timing-type.
1588 (bench): New target for timing-type.
1589 (bench-func): Print output in JSON format.
1590 * benchtests/bench-skeleton.c (main): Print output in JSON
1591 format.
1592 * benchtests/bench-timing-type.c: New file.
1593 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1594 (TIMING_PRINT_STATS): Remove.
1595 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1596 name separately.
1597
cf806aff
SP
1598 * benchtests/bench-modf.c: Remove.
1599 * benchtests/modf-inputs: New inputs file.
1600
289e0779
JM
16012014-03-28 Joseph Myers <joseph@codesourcery.com>
1602
1603 [BZ #16362]
1604 * math/s_clog10.c (M_PI_LOG10E): New macro.
1605 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1606 imaginary parts are 0.
1607 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1608 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1609 imaginary parts are 0.
1610 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1611 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1612 imaginary parts are 0.
1613 * math/libm-test.inc (clog10_test_data): Update expected results
1614 for when real and imaginary parts are 0.
1615
277ae3f1
PP
16162014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1617
1618 * elf/dl-load.c: Finish conversion of __builtin_expect into
1619 __glibc_{un}likely.
1620
03a7091f
JM
16212014-03-27 Joseph Myers <joseph@codesourcery.com>
1622
1623 [BZ #16348]
1624 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1625 1+x for argument with exponent below -67.
1626 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1627 Likewise.
1628 * math/auto-libm-test-in: Add more tests of exp.
1629 * math/auto-libm-test-out: Regenerated.
1630
ea7d8b95
SP
16312014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1632
dd3022d7
SP
1633 [BZ #16759]
1634 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1635 (nscd_getnetgrent): Use it.
1636
ea7d8b95
SP
1637 [BZ #16760]
1638 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1639 of stpcpy.
1640
df5b85da
AK
16412014-03-27 Andi Kleen <ak@linux.intel.com>
1642
57f41c40
AS
1643 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1644 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1645 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1646 (lll_robust_unlock): Remove out of line section. Use cfi
1647 intrinsics.
df5b85da 1648 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
1649 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1650 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1651 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1652 (lll_robust_unlock): Remove out of line section. Use cfi
1653 intrinsics.
df5b85da
AK
1654 (LLL_STUB_UNWIND_INFO*): Remove.
1655
fbd6b5a4
SP
16562014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1657
1658 [BZ #16758]
1659 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1660 blank values.
1661
1b26b855
PP
16622014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1663
1664 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1665
9be36fb8
JM
16662014-03-26 Joseph Myers <joseph@codesourcery.com>
1667
1668 [BZ #16198]
1669 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1670 fnstenv.
1671 * math/test-fenv-preserve.c: New file.
1672 * math/Makefile (tests): Add test-fenv-preserve.
1673
60a2f3c1
WN
16742014-03-26 Will Newton <will.newton@linaro.org>
1675
1676 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1677
a5e5f1e2
RM
16782014-03-25 Roland McGrath <roland@hack.frob.com>
1679
1680 * scripts/versionlist.awk: Partition the version sets and emit all
1681 GLIBC_* (sorted) before all others (sorted).
1682
00f4012a
JM
16832014-03-25 Joseph Myers <joseph@codesourcery.com>
1684
1685 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1686 GLIBC_2.2.5 version.
1687
7bc5a741
AZ
16882014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1689
1690 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1691 calls.
1692
7578473b
AZ
1693 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1694 previous change.
1695
f3f1dab3
AZ
1696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1697
6da36183
AS
16982014-03-25 Andreas Schwab <schwab@suse.de>
1699
1700 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1701 label to be used after in6ailist is initialized.
1702
f3f1dab3 17032014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1704
7578473b 1705 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1706 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1707
046651c1
JM
17082014-03-25 Joseph Myers <joseph@codesourcery.com>
1709
1710 [BZ #16357]
1711 [BZ #16599]
1712 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1713 min_plus_half.
1714 (fp_formats): Update initializers.
1715 (init_fp_formats): Initialize new field.
1716 (output_for_one_input_case): Allow underflow for results up to
1717 min_plus_half.
1718 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1719 * math/auto-libm-test-in: Don't mark some underflows from asin and
1720 atanh as spurious.
1721 * math/auto-libm-test-out: Regenerated.
1722 * sysdeps/i386/fpu/libm-test-ulps: Update.
1723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1724
003e49ed
AS
17252014-03-25 Andreas Schwab <schwab@suse.de>
1726
1727 * libio/Makefile (tst-ftell-partial-wide-ENV)
1728 (tst-ftell-active-handler-ENV): Define.
1729
de031874
SL
17302014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1731
1732 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1733
55a81e3b
PP
17342014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1735
1736 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1737
f3426898
JM
17382014-03-24 Joseph Myers <joseph@codesourcery.com>
1739
1740 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1741 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1742 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1743
a42faf59
PP
17442014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1745
1746 [BZ #16634]
a42faf59 1747 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1748 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1749 (open_path): Change from boolean 'secure' to complete flag 'mode'
1750 (_dl_map_object): Adjust.
a42faf59
PP
1751 * elf/Makefile (tests): Add tst-dlopen-aout.
1752 * elf/tst-dlopen-aout.c: New test.
1753
50936127
SL
17542014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1755
1756 [BZ #16714]
1757 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1758 (struct stat): Rename member pad0 to __glibc_reserved0.
1759
26011b5c
SL
1760 [BZ #16712]
1761 * sysdeps/s390/s390-32/bits/wordsize.h
1762 (__WORDSIZE32_SIZE_ULONG): New define.
1763 * sysdeps/s390/s390-64/bits/wordsize.h
1764 (__WORDSIZE32_SIZE_ULONG): Likewise.
1765 * sysdeps/generic/stdint.h (SIZE_MAX):
1766 Define as UL if __WORDSIZE32_SIZE_ULONG.
1767
a2d86bf1
SL
1768 [BZ #16713]
1769 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1770 (__glibc_reserved0): New variable.
1771 (sa_flags): Change type to int.
1772
78b6eebc
SL
1773 * posix/Makefile (before-compile): Use += before-compile instead
1774 of a :=.
1775
f1399b5a
SL
1776 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1777 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1778
a071766e
AS
17792014-03-20 Andreas Schwab <schwab@suse.de>
1780
1781 [BZ #16743]
1782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1783 non-matching result from nscd.
1784
27c673b8
SP
17852014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1786
1787 * scripts/bench.py: Moved to ...
1788 * benchtests/scripts/bench.py: ... here.
1789 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1790
44152e4b
AS
17912014-03-24 Andreas Schwab <schwab@suse.de>
1792
1793 [BZ #16002]
1794 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1795 alloca_account and account alloca use for struct in6ailist.
1796
b376a11a
JM
17972014-03-24 Joseph Myers <joseph@codesourcery.com>
1798
1799 [BZ #16284]
1800 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1801 rounding mode to recompute results that overflow to infinity or
1802 underflow to zero.
1803 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1804 bug 16284.
1805 * math/auto-libm-test-out: Regenerated.
1806 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1807 (ccosh_test): Likewise.
1808 (csin_test_data): Use plus_oflow.
1809 (csin_test): Use ALL_RM_TEST.
1810 (csinh_test_data): Use plus_oflow.
1811 (csinh_test): Use ALL_RM_TEST.
1812 * sysdeps/i386/fpu/libm-test-ulps: Update.
1813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1814
f7be7376
JM
18152014-03-21 Joseph Myers <joseph@codesourcery.com>
1816
1ca2d03e
JM
1817 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1818 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1819 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1820
f7be7376
JM
1821 [BZ #16731]
1822 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1823 when x - 1 is zero.
1824 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1825 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1826 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1827 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1828 argument is 1.
1829 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1830 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1831 zero.
1832 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1833 * sysdeps/i386/fpu/libm-test-ulps: Update.
1834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1835
fdf4534d
SP
18362014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1837
df26ea53
SP
1838 * scripts/bench.pl: Remove file.
1839 * scripts/bench.py: New benchmark script.
1840 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1841 * benchtests/README: Mention python dependency.
1842 * scripts/pylintrc: New file.
1843 * scripts/pylint: New file.
1844
fdf4534d
SP
1845 * bits/mathdef.h: Use #ifdef instead of #if.
1846 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1847 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1848 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1849 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1850 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1851 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1852
6f23d093
AZ
18532014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1854 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1855
1856 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1858 and strpbrk-ppc64 objects.
1859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1860 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1861 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1862 multiarch strpbrk for POWER7.
1863 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1864 multiarch strpbrk for PPC64.
1865 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1866 ifunc selector.
1867 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1868 strpbrk for POWER7.
1869
8c92dfff
JM
18702014-03-20 Joseph Myers <joseph@codesourcery.com>
1871
1872 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1873 (atan_test): Likewise.
1874 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1875 (atanh_test): Use ALL_RM_TEST.
1876 (atan2_test_data): Likewise.
1877 (cabs_test): Likewise.
1878 (cacosh_test): Likewise.
1879 (carg_test): Likewise.
1880 (casin_test): Likewise.
1881 (casinh_test): Likewise.
1882 (cbrt_test): Likewise.
1883 (csqrt_test): Likewise.
1884 (erf_test): Likewise.
1885 (erfc_test): Likewise.
1886 (pow10_test): Likewise.
1887 (exp2_test): Likewise.
1888 (hypot_test): Likewise.
1889 (j0_test): Likewise.
1890 (j1_test): Likewise.
1891 (lgamma_test): Likewise.
1892 (gamma_test): Likewise.
1893 (sincos_test): Likewise.
1894 (tanh_test): Likewise.
1895 (y0_test): Likewise.
1896 (y1_test): Likewise.
1897 * sysdeps/i386/fpu/libm-test-ulps: Update.
1898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1899
6eaf95cb
AZ
19002014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1901
a387428c
SP
1902 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1904 and strcspn-ppc64 objects.
1905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1906 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1907 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1908 multiarch strcspn for POWER7.
1909 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1910 multiarch strcspn for PPC64.
1911 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1912 ifunc selector.
1913 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1914 strcspn for POWER7.
1915
ae3a5dff
JM
19162014-03-20 Joseph Myers <joseph@codesourcery.com>
1917
1918 * math/gen-libm-test.pl (generate_testfile): Expect only function
1919 name as argument to AUTO_TESTS_* and pass results for all rounding
1920 modes to parse_args.
1921 (parse_auto_input): Separate inputs of automatic tests from
1922 outputs before storing in %auto_tests.
1923 * math/libm-test.inc (acos_test_data): Update call to
1924 AUTO_TESTS_f_f.
1925 (acos_test): Use ALL_RM_TEST.
1926 (acos_tonearest_test_data): Remove.
1927 (acos_test_tonearest): Likewise.
1928 (acos_towardzero_test_data): Likewise.
1929 (acos_test_towardzero): Likewise.
1930 (acos_downward_test_data): Likewise.
1931 (acos_test_downward): Likewise.
1932 (acos_upward_test_data): Likewise.
1933 (acos_test_upward): Likewise.
1934 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1935 (asin_test_data): Likewise.
1936 (asin_test): Use ALL_RM_TEST.
1937 (asin_tonearest_test_data): Remove.
1938 (asin_test_tonearest): Likewise.
1939 (asin_towardzero_test_data): Likewise.
1940 (asin_test_towardzero): Likewise.
1941 (asin_downward_test_data): Likewise.
1942 (asin_test_downward): Likewise.
1943 (asin_upward_test_data): Likewise.
1944 (asin_test_upward): Likewise.
1945 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1946 (atan_test_data): Likewise.
1947 (atanh_test_data): Likewise.
1948 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1949 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1950 (carg_test_data): Likewise.
1951 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1952 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1953 (ccosh_test_data): Likewise.
1954 (cexp_test_data): Likewise.
1955 (clog_test_data): Likewise.
1956 (clog10_test_data): Likewise.
1957 (cos_test_data): Update call to AUTO_TESTS_f_f.
1958 (cos_test): Use ALL_RM_TEST.
1959 (cos_tonearest_test_data): Remove.
1960 (cos_test_tonearest): Likewise.
1961 (cos_towardzero_test_data): Likewise.
1962 (cos_test_towardzero): Likewise.
1963 (cos_downward_test_data): Likewise.
1964 (cos_test_downward): Likewise.
1965 (cos_upward_test_data): Likewise.
1966 (cos_test_upward): Likewise.
1967 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1968 (cosh_test): Use ALL_RM_TEST.
1969 (cosh_tonearest_test_data): Remove.
1970 (cosh_test_tonearest): Likewise.
1971 (cosh_towardzero_test_data): Likewise.
1972 (cosh_test_towardzero): Likewise.
1973 (cosh_downward_test_data): Likewise.
1974 (cosh_test_downward): Likewise.
1975 (cosh_upward_test_data): Likewise.
1976 (cosh_test_upward): Likewise.
1977 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1978 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1979 (ctan_test_data): Likewise.
1980 (ctan_test): Use ALL_RM_TEST.
1981 (ctan_tonearest_test_data): Remove.
1982 (ctan_test_tonearest): Likewise.
1983 (ctan_towardzero_test_data): Likewise.
1984 (ctan_test_towardzero): Likewise.
1985 (ctan_downward_test_data): Likewise.
1986 (ctan_test_downward): Likewise.
1987 (ctan_upward_test_data): Likewise.
1988 (ctan_test_upward): Likewise.
1989 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1990 (ctanh_test): Use ALL_RM_TEST.
1991 (ctanh_tonearest_test_data): Remove.
1992 (ctanh_test_tonearest): Likewise.
1993 (ctanh_towardzero_test_data): Likewise.
1994 (ctanh_test_towardzero): Likewise.
1995 (ctanh_downward_test_data): Likewise.
1996 (ctanh_test_downward): Likewise.
1997 (ctanh_upward_test_data): Likewise.
1998 (ctanh_test_upward): Likewise.
1999 (erf_test_data): Update call to AUTO_TESTS_f_f.
2000 (erfc_test_data): Likewise.
2001 (exp_test_data): Likewise.
2002 (exp_test): Use ALL_RM_TEST.
2003 (exp_tonearest_test_data): Remove.
2004 (exp_test_tonearest): Likewise.
2005 (exp_towardzero_test_data): Likewise.
2006 (exp_test_towardzero): Likewise.
2007 (exp_downward_test_data): Likewise.
2008 (exp_test_downward): Likewise.
2009 (exp_upward_test_data): Likewise.
2010 (exp_test_upward): Likewise.
2011 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2012 (exp10_test): Use ALL_RM_TEST.
2013 (exp10_tonearest_test_data): Remove.
2014 (exp10_test_tonearest): Likewise.
2015 (exp10_towardzero_test_data): Likewise.
2016 (exp10_test_towardzero): Likewise.
2017 (exp10_downward_test_data): Likewise.
2018 (exp10_test_downward): Likewise.
2019 (exp10_upward_test_data): Likewise.
2020 (exp10_test_upward): Likewise.
2021 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2022 (expm1_test_data): Likewise.
2023 (expm1_test): Use ALL_RM_TEST.
2024 (expm1_tonearest_test_data): Remove.
2025 (expm1_test_tonearest): Likewise.
2026 (expm1_towardzero_test_data): Likewise.
2027 (expm1_test_towardzero): Likewise.
2028 (expm1_downward_test_data): Likewise.
2029 (expm1_test_downward): Likewise.
2030 (expm1_upward_test_data): Likewise.
2031 (expm1_test_upward): Likewise.
2032 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2033 (fma_test): Use ALL_RM_TEST.
2034 (fma_towardzero_test_data): Remove.
2035 (fma_test_towardzero): Likewise.
2036 (fma_downward_test_data): Likewise.
2037 (fma_test_downward): Likewise.
2038 (fma_upward_test_data): Likewise.
2039 (fma_test_upward): Likewise.
2040 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2041 (j0_test_data): Update call to AUTO_TESTS_f_f.
2042 (j1_test_data): Likewise.
2043 (jn_test_data): Update call to AUTO_TESTS_if_f.
2044 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2045 (log_test_data): Update call to AUTO_TESTS_f_f.
2046 (log10_test_data): Likewise.
2047 (log1p_test_data): Likewise.
2048 (log2_test_data): Likewise.
2049 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2050 (pow_tonearest_test_data): Likewise.
2051 (sin_test_data): Update call to AUTO_TESTS_f_f.
2052 (sin_test): Use ALL_RM_TEST.
2053 (sin_tonearest_test_data): Remove.
2054 (sin_test_tonearest): Likewise.
2055 (sin_towardzero_test_data): Likewise.
2056 (sin_test_towardzero): Likewise.
2057 (sin_downward_test_data): Likewise.
2058 (sin_test_downward): Likewise.
2059 (sin_upward_test_data): Likewise.
2060 (sin_test_upward): Likewise.
2061 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2062 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2063 (sinh_test): Use ALL_RM_TEST.
2064 (sinh_tonearest_test_data): Remove.
2065 (sinh_test_tonearest): Likewise.
2066 (sinh_towardzero_test_data): Likewise.
2067 (sinh_test_towardzero): Likewise.
2068 (sinh_downward_test_data): Likewise.
2069 (sinh_test_downward): Likewise.
2070 (sinh_upward_test_data): Likewise.
2071 (sinh_test_upward): Likewise.
2072 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2073 (sqrt_test): Use ALL_RM_TEST.
2074 (sqrt_tonearest_test_data): Remove.
2075 (sqrt_test_tonearest): Likewise.
2076 (sqrt_towardzero_test_data): Likewise.
2077 (sqrt_test_towardzero): Likewise.
2078 (sqrt_downward_test_data): Likewise.
2079 (sqrt_test_downward): Likewise.
2080 (sqrt_upward_test_data): Likewise.
2081 (sqrt_test_upward): Likewise.
2082 (tan_test_data): Update call to AUTO_TESTS_f_f.
2083 (tan_test): Use ALL_RM_TEST.
2084 (tan_tonearest_test_data): Remove.
2085 (tan_test_tonearest): Likewise.
2086 (tan_towardzero_test_data): Likewise.
2087 (tan_test_towardzero): Likewise.
2088 (tan_downward_test_data): Likewise.
2089 (tan_test_downward): Likewise.
2090 (tan_upward_test_data): Likewise.
2091 (tan_test_upward): Likewise.
2092 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2093 (tgamma_test_data): Likewise.
2094 (y0_test_data): Likewise.
2095 (y1_test_data): Likewise.
2096 (yn_test_data): Update call to AUTO_TESTS_if_f.
2097 (main): Do not call removed functions.
2098
d71aeee8
JM
20992014-03-19 Joseph Myers <joseph@codesourcery.com>
2100
2101 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2102 (ldexp_test_data): Remove.
2103 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2104 scalbn_test_data.
2105 (scalb_test): Use ALL_RM_TEST.
2106
baaf1ded
AS
21072014-03-19 Andreas Schwab <schwab@suse.de>
2108
2109 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2110
b1115e91
JM
21112014-03-19 Joseph Myers <joseph@codesourcery.com>
2112
2113 [BZ #16649]
2114 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2115 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2116 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2117 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2118 (__ASSUME_PREADV): Undefine.
2119 (__ASSUME_PWRITEV): Likewise.
2120
0283ecca
RM
21212014-03-18 Roland McGrath <roland@hack.frob.com>
2122
7d375303
RM
2123 * bits/mman-linux.h: Add comment about non-Linux use.
2124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2125 bits/mman-linux.h resting place.
2126
0283ecca
RM
2127 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2128 * bits/mman-linux.h: ... here.
2129
aebe1003
AZ
21302014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131
2132 * conform/conformtest.pl: Add standard definition when calling C
2133 preprocessor on data files.
2134 (checknamespace): Remove unused variable.
2135
b29b6bb8
JM
21362014-03-18 Joseph Myers <joseph@codesourcery.com>
2137
2138 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2139 minus_oflow, plus_uflow and minus_uflow in expected results.
2140 * math/libm-test.inc (scalbn_test_data): Add more tests of
2141 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2142 minus_uflow.
2143 (scalbn_test): Use ALL_RM_TEST.
2144 (scalbln_test_data): Add more tests of negative arguments. Use
2145 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2146 (scalbln_test): Use ALL_RM_TEST.
2147
c8f8fa15
RM
21482014-03-18 Roland McGrath <roland@hack.frob.com>
2149
2150 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2151
fede7a5f
WN
21522014-03-18 Will Newton <will.newton@linaro.org>
2153
2154 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2155 inaccurate comment.
2156
80cf0a58
JM
21572014-03-18 Joseph Myers <joseph@codesourcery.com>
2158
2159 * Makerules [!subdir] (check-abi): Exit with error status if a
2160 test failed.
2161
b3620862
JM
21622014-03-17 Joseph Myers <joseph@codesourcery.com>
2163
2164 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2165 for rint. Include results for all rounding modes.
2166 (nearbyint_test): Use ALL_RM_TEST.
2167 (rint_test_data): Include all tests used for nearbyint.
2168
788bba36
WN
21692014-03-17 Will Newton <will.newton@linaro.org>
2170
04ec140a
WN
2171 * nptl/sysdeps/pthread/pthread.h: Revert previous
2172 change.
2173
7579d8d5
WN
2174 * sysdeps/generic/ldsodefs.h: Revert previous
2175 change.
2176
c15cf13a
WN
2177 * libio/genops.c: Revert previous change.
2178 * libio/libioP.h: Likewise.
2179 * stdio-common/vfprintf.c: Likewise.
2180
d0ac1324
WN
2181 * sysdeps/generic/math_private.h: Revert previous
2182 change.
2183
9290130a
WN
2184 * sysdeps/generic/math_private.h: Check whether
2185 HAVE_RM_CTX is defined with #ifdef rather
2186 than #if.
2187
afb466fc
WN
2188 * argp/argp-fmtstream.h: Check whether
2189 __STRICT_ANSI__ is defined with #ifdef rather
2190 than #if.
2191 * argp/argp.h: Likewise.
2192
f7efd7c3
WN
2193 * libio/genops.c: Check whether
2194 _IO_JUMPS_OFFSET is defined with #ifdef rather
2195 than #if.
2196 * libio/libioP.h: Likewise.
2197 * stdio-common/vfprintf.c: Likewise.
2198
53f1bed3
WN
2199 * sysdeps/generic/ldsodefs.h: Check whether
2200 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2201 than #if.
2202
788bba36
WN
2203 * nptl/sysdeps/pthread/pthread.h: Check
2204 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2205 its value.
2206
fcd89ebe
SP
22072014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2208
ae42bbc5
SP
2209 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2210 setting O_APPEND.
2211 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2212 test case.
2213
ea33158c
SP
2214 [BZ #16680]
2215 * libio/fileops.c (_IO_file_open): Seek to end of file but
2216 don't cache the offset.
2217 (get_file_offset): Remove function.
2218 (do_ftell): Use cached offset when available.
2219 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2220 don't cache the offset.
2221 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2222 case.
2223 (do_one_test): Call it.
2224 (do_ftell_test): Fix up expected old offset for a+ mode.
2225 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2226 available.
2227
b1dbb426
SP
2228 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2229 up test status with function return status.
2230 (do_write_test): Likewise.
2231 (do_append_test): Likewise.
2232
fcd89ebe
SP
2233 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2234 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2235 Remove.
2236
9962a2d3
JM
22372014-03-17 Joseph Myers <joseph@codesourcery.com>
2238
2239 * math/gen-libm-test.pl (parse_args): Handle results specified for
2240 each rounding mode separately.
2241 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2242 tests and results from lrint_tonearest_test_data,
2243 lrint_towardzero_test_data, lrint_downward_test_data and
2244 lrint_upward_test_data.
2245 (lrint_test): Use ALL_RM_TEST.
2246 (lrint_tonearest_test_data): Remove.
2247 (lrint_test_tonearest): Likewise.
2248 (lrint_towardzero_test_data): Likewise.
2249 (lrint_test_towardzero): Likewise.
2250 (lrint_downward_test_data): Likewise.
2251 (lrint_test_downward): Likewise.
2252 (lrint_upward_test_data): Likewise.
2253 (lrint_test_upward): Likewise.
2254 (llrint_test_data): Merge in per-rounding-mode tests and results
2255 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2256 llrint_downward_test_data and llrint_upward_test_data.
2257 (llrint_test): Use ALL_RM_TEST.
2258 (llrint_tonearest_test_data): Remove.
2259 (llrint_test_tonearest): Likewise.
2260 (llrint_towardzero_test_data): Likewise.
2261 (llrint_test_towardzero): Likewise.
2262 (llrint_downward_test_data): Likewise.
2263 (llrint_test_downward): Likewise.
2264 (llrint_upward_test_data): Likewise.
2265 (llrint_test_upward): Likewise.
2266 (rint_test_data): Merge in per-rounding-mode tests and results
2267 from rint_tonearest_test_data, rint_towardzero_test_data,
2268 rint_downward_test_data and rint_upward_test_data. Add
2269 per-rounding-mode results for tests not in those arrays.
2270 (rint_test): Use ALL_RM_TEST.
2271 (rint_tonearest_test_data): Remove.
2272 (rint_test_tonearest): Likewise.
2273 (rint_towardzero_test_data): Likewise.
2274 (rint_test_towardzero): Likewise.
2275 (rint_downward_test_data): Likewise.
2276 (rint_test_downward): Likewise.
2277 (rint_upward_test_data): Likewise.
2278 (rint_test_upward): Likewise.
2279 (main): Don't call removed functions.
2280
5006148e
RM
22812014-03-14 Roland McGrath <roland@hack.frob.com>
2282
2283 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2284 "Compiled on ..." crapola. It is anti-useful.
2285
d6fe5e58
JM
22862014-03-14 Joseph Myers <joseph@codesourcery.com>
2287
2288 * scripts/evaluate-test.sh: Handle fourth argument to determine
2289 whether test run should stop on failure.
2290 * Makeconfig (stop-on-test-failure): New variable.
2291 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2292 $(stop-on-test-failure).
2293 * Makefile (tests): Give a summary of results from testing and
2294 exit with failure status if they include an ERROR or FAIL.
2295 (xtests): Likewise.
2296 * manual/install.texi (Configuring and compiling): Mention
2297 stop-on-test-failure=y.
2298 * INSTALL: Regenerated.
2299
498a2233
RM
23002014-03-14 Roland McGrath <roland@hack.frob.com>
2301
22dbc19d
RM
2302 * scripts/versionlist.awk: New file.
2303 * Makerules [$(build-shared) = yes]
2304 (postclean-generated): Add Versions.def, not Versions.def.v and
2305 Versions.def.v.i.
2306 ($(common-objpfx)Versions.def.v.i): Target removed.
2307 ($(common-objpfx)Versions.def): New target.
2308 ($(common-objpfx)Versions.all): Depend on that rather that
2309 $(common-objpfx)Versions.def.v.
2310 * Versions.def: File removed.
2311
498a2233
RM
2312 * Makeconfig (+gccwarn): Add -Wundef.
2313 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2314 a dl-sysdep.h breaking its contract.
2315 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2316 * include/stackinfo.h: New file.
2317 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2318 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2319 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2320 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2321 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2322 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2323 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2324 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2325 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2326 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2327 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2328 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2329 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2330 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2331 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2332
c7de5025
AZ
23332014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2334
2335 [BZ #16707]
2336 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2337 implementation.
2338 * math/libm-test.inc (round_test_data): Add more tests.
2339
98fb27a3
AZ
2340 [BZ #16706]
2341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2342 implementation.
2343 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2344
374f7f61
AZ
2345 [BZ #16701]
2346 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2347 implementation.
2348 * math/libm-test.inc (ceil_test_data): Add more tests.
2349
4655c291
AZ
2350 * math/libm-test.inc (trunc_test_data): Add more tests related to
2351 BZ#16414.
2352
d7329d4b
RM
23532014-03-14 Roland McGrath <roland@hack.frob.com>
2354
2355 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2356 with #if rather than #ifdef.
2357 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2358
aa4de9ce
L
23592014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2360
2361 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2362 first. Disable AVX-512 GCC support if assembler doesn't support
2363 it.
2364 * sysdeps/x86_64/configure: Regenerated.
2365
2e03fae7
CD
23662014-03-13 Carlos O'Donell <carlos@redhat.com>
2367
2368 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2369 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2370 (__old_pthread_attr_setstack): Likewise.
2371 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2372 [!_STACK_GROWS_DOWN]: Likewise.
2373
43ca83ec
MF
23742014-03-13 Mike Frysinger <vapier@gentoo.org>
2375
2376 * config.make.in (have-bash2): Delete.
2377 * configure.ac (libc_cv_have_bash2): Delete.
2378 * configure: Regenerate.
2379 * elf/Makefile (common-ldd-rewrite): Rename to ...
2380 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2381 (sh-ldd-rewrite): Delete.
2382 (bash-ldd-rewrite): Delete.
2383 (have-bash2): Delete checks.
57f41c40
AS
2384 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2385 ldd-rewrite.
c66e48b4
MF
2386
2387 * config.make.in (have-ksh): Delete.
2388 (KSH): Delete.
2389 * configure.ac (libc_cv_have_ksh): Delete.
2390 * configure: Regenerate.
2391
b93834ef
MF
2392 * elf/Makefile: Delete $(have-ksh) check.
2393 ($(objpfx)sotruss): Change KSH to BASH.
2394 * elf/sotruss.ksh: Rename to ...
2395 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2396 function style to match POSIX. Drop ksh vim mode setting.
2397
f3a4632a
MF
2398 * manual/time.texi (Specifying the Time Zone with TZ): Change
2399 Tuesday to Thursday.
2400
5896c8bd
MF
2401 * debug/tst-longjmp_chk2.c: Update header comment.
2402 (stackoverflow_handler): Add comment. Call assert on pass value.
2403
2d63a517
IZ
24042014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2405
2406 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2407 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2408 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2409 (La_x86_64_vector): Add zmm.
2410 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2411 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2412 ($(objpfx)tst-audit10): New target.
2413 ($(objpfx)tst-audit10.out): Likewise.
2414 (tst-audit10-ENV): New.
2415 (AVX512-CFLAGS): Likewise.
2416 (CFLAGS-tst-audit10.c): Likewise.
2417 (CFLAGS-tst-auditmod10a.c): Likewise.
2418 (CFLAGS-tst-auditmod10b.c): Likewise.
2419 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2420 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2421 * sysdeps/x86_64/configure: Regenerated.
2422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2423 AVX-512 zmm register support.
2424 (_dl_x86_64_save_sse): Likewise.
2425 (_dl_x86_64_restore_sse): Likewise.
2426 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2427 size vector registers.
2428 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2429 (ZMM_SIZE): Likewise.
2430 * sysdeps/x86_64/tst-audit10.c: New file.
2431 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2432 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2433
44c4e5d5
RM
24342014-03-13 Roland McGrath <roland@hack.frob.com>
2435
2436 * configure.ac (HAVE_EHDR_START): New check.
2437 * configure: Regenerated.
2438 * config.h.in (HAVE_EHDR_START): New #undef.
2439 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2440 assuming the lowest-addressed segment maps the start of the file.
2441
acd6e389
JM
24422014-03-13 Joseph Myers <joseph@codesourcery.com>
2443
2444 * INSTALL: Regenerated.
2445
6f918f36
WN
24462014-03-13 Will Newton <will.newton@linaro.org>
2447
2448 * manual/setjmp.texi (System V contexts): Improve
2449 clarity and grammar of documentation.
2450
798212a0
PP
24512014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2452
2453 [BZ #16381]
798212a0 2454 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 2455 (tests-pie): Add tst-pie2.
798212a0
PP
2456 * elf/tst-pie2.c: New file.
2457 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2458 for ET_EXEC.
2459 * elf/rtld.c (map_doit): Load executable as lt_executable.
2460 (dl_main): Likewise.
2461
abe6d90c
JM
24622014-03-12 Joseph Myers <joseph@codesourcery.com>
2463
2464 [BZ #16642]
2465 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2466 (__ASSUME_PSELECT): Undefine.
2467
dd3946c6
AZ
24682014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2469
2470 [BZ #16689]
2471 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2472 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2473 static build.
2474 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2475 selector for static builds.
2476
c44496df
SP
24772014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2478
2479 [BZ #16695]
2480 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2481 key in the buffer.
2482
27c7220a
AZ
24832014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2484
57f41c40
AS
2485 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2486 IFUNC selector for static builds.
27c7220a 2487
600fa361
JM
24882014-03-11 Joseph Myers <joseph@codesourcery.com>
2489
76c96cf7
JM
2490 * sysdeps/mips/math_private.h [__mips_hard_float]
2491 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2492 libc_feresetround_mips_ctx.
2493 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2494 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2495 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2496
600fa361
JM
2497 [BZ #16677]
2498 * math/s_nextafter.c (__nextafter): Do not return value from
2499 overflowing computation.
2500 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2501 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2502 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2503 Likewise.
2504 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2505 Likewise.
2506 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2507 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2508
d7706c32
RM
25092014-03-11 Roland McGrath <roland@hack.frob.com>
2510
2511 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2512 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2513 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2514 the new mov targetting sp.
2515
4facea47
AZ
25162014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2517
2518 [BZ #16683]
2519 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2520 Define it for static builds as well.
2521 (NO_BZERO_IMPL): Likewise.
2522
e65caf1f
VR
25232014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2524
2525 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2526 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2527 multiarch strspn for PPC64.
2528 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2529 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2531 (__libc_ifunc_impl_list): Likewise.
2532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2533 multiarch optimizations
2534 * string/strspn.c (strspn): Using macro to redefine symbol name.
2535
ba9cc071
AZ
25362014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2537 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2538
2539 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2540 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2541 multiarch strncat for PPC64.
2542 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2543 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2545 (__libc_ifunc_impl_list): Likewise.
2546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2547 multiarch optimizations
2548
8b4ff974
SP
25492014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2550
2551 [BZ #16639]
2552 * nscd/nscd.service: Make service type forking.
2553
54b46a4b
AZ
25542014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2555
2556 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2557 sign in non default rounding modes.
2558 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2559
e9996ef7
JM
25602014-03-08 Joseph Myers <joseph@codesourcery.com>
2561
2562 * math/libm-test.inc (ALL_RM_TEST): New macro.
2563 (ceil_test): Use ALL_RM_TEST.
2564 (cimag_test): Likewise.
2565 (conj_test): Likewise.
2566 (copysign_test): Likewise.
2567 (cproj_test): Likewise.
2568 (creal_test): Likewise.
2569 (fabs_test): Likewise.
2570 (floor_test): Likewise.
2571 (fmax_test): Likewise.
2572 (fmin_test): Likewise.
2573 (fmod_test): Likewise.
2574 (fpclassify_test): Likewise.
2575 (frexp_test): Likewise.
2576 (ilogb_test): Likewise.
2577 (isfinite_test): Likewise.
2578 (finite_test): Likewise.
2579 (isgreater_test): Likewise.
2580 (isgreaterequal_test): Likewise.
2581 (isinf_test): Likewise.
2582 (isless_test): Likewise.
2583 (islessequal_test): Likewise.
2584 (islessgreater_test): Likewise.
2585 (isnan_test): Likewise.
2586 (isnormal_test): Likewise.
2587 (issignaling_test): Likewise.
2588 (isunordered_test): Likewise.
2589 (logb_test): Likewise.
2590 (logb_downward_test_data): Remove.
2591 (logb_test_downward): Likewise.
2592 (lround_test): Use ALL_RM_TEST.
2593 (llround_test): Likewise.
2594 (modf_test): Likewise.
2595 (nexttoward_test): Likewise.
2596 (remainder_test): Likewise.
2597 (drem_test): Likewise.
2598 (remainder_tonearest_test_data): Likewise.
2599 (remainder_test_tonearest): Likewise.
2600 (drem_test_tonearest): Likewise.
2601 (remainder_towardzero_test_data): Likewise.
2602 (remainder_test_towardzero): Likewise.
2603 (drem_test_towardzero): Likewise.
2604 (remainder_downward_test_data): Likewise.
2605 (remainder_test_downward): Likewise.
2606 (drem_test_downward): Likewise.
2607 (remainder_upward_test_data): Likewise.
2608 (remainder_test_upward): Likewise.
2609 (drem_test_upward): Likewise.
2610 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2611 (round_test): Use ALL_RM_TEST.
2612 (signbit_test): Likewise.
2613 (trunc_test): Likewise.
2614 (significand_test): Likewise.
2615 (main): Don't call removed functions.
2616
bc61d27c
JM
26172014-03-07 Joseph Myers <joseph@codesourcery.com>
2618
5c780849
JM
2619 [BZ #16674]
2620 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2621 || __USE_XOPEN2K8].
2622 (ILL_ILLOPN): Likewise.
2623 (ILL_ILLADR): Likewise.
2624 (ILL_ILLTRP): Likewise.
2625 (ILL_PRVOPC): Likewise.
2626 (ILL_PRVREG): Likewise.
2627 (ILL_COPROC): Likewise.
2628 (ILL_BADSTK): Likewise.
2629 (FPE_INTDIV): Likewise.
2630 (FPE_INTOVF): Likewise.
2631 (FPE_FLTDIV): Likewise.
2632 (FPE_FLTOVF): Likewise.
2633 (FPE_FLTUND): Likewise.
2634 (FPE_FLTRES): Likewise.
2635 (FPE_FLTINV): Likewise.
2636 (FPE_FLTSUB): Likewise.
2637 (SEGV_MAPERR): Likewise.
2638 (SEGV_ACCERR): Likewise.
2639 (BUS_ADRALN): Likewise.
2640 (BUS_ADRERR): Likewise.
2641 (BUS_OBJERR): Likewise.
2642 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2643 (TRAP_TRACE): Likewise.
2644 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2645 __USE_XOPEN2K8].
2646 (CLD_KILLED): Likewise.
2647 (CLD_DUMPED): Likewise.
2648 (CLD_TRAPPED): Likewise.
2649 (CLD_STOPPED): Likewise.
2650 (CLD_CONTINUED): Likewise.
2651 (POLL_IN): Likewise.
2652 (POLL_OUT): Likewise.
2653 (POLL_MSG): Likewise.
2654 (POLL_ERR): Likewise.
2655 (POLL_PRI): Likewise.
2656 (POLL_HUP): Likewise.
2657 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2658 Likewise.
2659 (ILL_ILLOPN): Likewise.
2660 (ILL_ILLADR): Likewise.
2661 (ILL_ILLTRP): Likewise.
2662 (ILL_PRVOPC): Likewise.
2663 (ILL_PRVREG): Likewise.
2664 (ILL_COPROC): Likewise.
2665 (ILL_BADSTK): Likewise.
2666 (FPE_INTDIV): Likewise.
2667 (FPE_INTOVF): Likewise.
2668 (FPE_FLTDIV): Likewise.
2669 (FPE_FLTOVF): Likewise.
2670 (FPE_FLTUND): Likewise.
2671 (FPE_FLTRES): Likewise.
2672 (FPE_FLTINV): Likewise.
2673 (FPE_FLTSUB): Likewise.
2674 (SEGV_MAPERR): Likewise.
2675 (SEGV_ACCERR): Likewise.
2676 (BUS_ADRALN): Likewise.
2677 (BUS_ADRERR): Likewise.
2678 (BUS_OBJERR): Likewise.
2679 (BUS_MCEERR_AR): Likewise.
2680 (BUS_MCEERR_AO): Likewise.
2681 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2682 (TRAP_TRACE): Likewise.
2683 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2684 __USE_XOPEN2K8].
2685 (CLD_KILLED): Likewise.
2686 (CLD_DUMPED): Likewise.
2687 (CLD_TRAPPED): Likewise.
2688 (CLD_STOPPED): Likewise.
2689 (CLD_CONTINUED): Likewise.
2690 (POLL_IN): Likewise.
2691 (POLL_OUT): Likewise.
2692 (POLL_MSG): Likewise.
2693 (POLL_ERR): Likewise.
2694 (POLL_PRI): Likewise.
2695 (POLL_HUP): Likewise.
2696 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2697 (ILL_ILLOPN): Likewise.
2698 (ILL_ILLADR): Likewise.
2699 (ILL_ILLTRP): Likewise.
2700 (ILL_PRVOPC): Likewise.
2701 (ILL_PRVREG): Likewise.
2702 (ILL_COPROC): Likewise.
2703 (ILL_BADSTK): Likewise.
2704 (FPE_INTDIV): Likewise.
2705 (FPE_INTOVF): Likewise.
2706 (FPE_FLTDIV): Likewise.
2707 (FPE_FLTOVF): Likewise.
2708 (FPE_FLTUND): Likewise.
2709 (FPE_FLTRES): Likewise.
2710 (FPE_FLTINV): Likewise.
2711 (FPE_FLTSUB): Likewise.
2712 (SEGV_MAPERR): Likewise.
2713 (SEGV_ACCERR): Likewise.
2714 (BUS_ADRALN): Likewise.
2715 (BUS_ADRERR): Likewise.
2716 (BUS_OBJERR): Likewise.
2717 (BUS_MCEERR_AR): Likewise.
2718 (BUS_MCEERR_AO): Likewise.
2719 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2720 (TRAP_TRACE): Likewise.
2721 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2722 __USE_XOPEN2K8].
2723 (CLD_KILLED): Likewise.
2724 (CLD_DUMPED): Likewise.
2725 (CLD_TRAPPED): Likewise.
2726 (CLD_STOPPED): Likewise.
2727 (CLD_CONTINUED): Likewise.
2728 (POLL_IN): Likewise.
2729 (POLL_OUT): Likewise.
2730 (POLL_MSG): Likewise.
2731 (POLL_ERR): Likewise.
2732 (POLL_PRI): Likewise.
2733 (POLL_HUP): Likewise.
2734 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2735 Likewise.
2736 (ILL_ILLOPN): Likewise.
2737 (ILL_ILLADR): Likewise.
2738 (ILL_ILLTRP): Likewise.
2739 (ILL_PRVOPC): Likewise.
2740 (ILL_PRVREG): Likewise.
2741 (ILL_COPROC): Likewise.
2742 (ILL_BADSTK): Likewise.
2743 (ILL_BADIADDR): Likewise.
2744 (ILL_BREAK): Likewise.
2745 (FPE_INTDIV): Likewise.
2746 (FPE_INTOVF): Likewise.
2747 (FPE_FLTDIV): Likewise.
2748 (FPE_FLTOVF): Likewise.
2749 (FPE_FLTUND): Likewise.
2750 (FPE_FLTRES): Likewise.
2751 (FPE_FLTINV): Likewise.
2752 (FPE_FLTSUB): Likewise.
2753 (FPE_DECOVF): Likewise.
2754 (FPE_DECDIV): Likewise.
2755 (FPE_DECERR): Likewise.
2756 (FPE_INVASC): Likewise.
2757 (FPE_INVDEC): Likewise.
2758 (SEGV_MAPERR): Likewise.
2759 (SEGV_ACCERR): Likewise.
2760 (SEGV_PSTKOVF): Likewise.
2761 (BUS_ADRALN): Likewise.
2762 (BUS_ADRERR): Likewise.
2763 (BUS_OBJERR): Likewise.
2764 (BUS_MCEERR_AR): Likewise.
2765 (BUS_MCEERR_AO): Likewise.
2766 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2767 (TRAP_TRACE): Likewise.
2768 (TRAP_BRANCH): Likewise.
2769 (TRAP_HWBKPT): Likewise.
2770 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2771 __USE_XOPEN2K8].
2772 (CLD_KILLED): Likewise.
2773 (CLD_DUMPED): Likewise.
2774 (CLD_TRAPPED): Likewise.
2775 (CLD_STOPPED): Likewise.
2776 (CLD_CONTINUED): Likewise.
2777 (POLL_IN): Likewise.
2778 (POLL_OUT): Likewise.
2779 (POLL_MSG): Likewise.
2780 (POLL_ERR): Likewise.
2781 (POLL_PRI): Likewise.
2782 (POLL_HUP): Likewise.
2783 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2784 (ILL_ILLOPN): Likewise.
2785 (ILL_ILLADR): Likewise.
2786 (ILL_ILLTRP): Likewise.
2787 (ILL_PRVOPC): Likewise.
2788 (ILL_PRVREG): Likewise.
2789 (ILL_COPROC): Likewise.
2790 (ILL_BADSTK): Likewise.
2791 (FPE_INTDIV): Likewise.
2792 (FPE_INTOVF): Likewise.
2793 (FPE_FLTDIV): Likewise.
2794 (FPE_FLTOVF): Likewise.
2795 (FPE_FLTUND): Likewise.
2796 (FPE_FLTRES): Likewise.
2797 (FPE_FLTINV): Likewise.
2798 (FPE_FLTSUB): Likewise.
2799 (SEGV_MAPERR): Likewise.
2800 (SEGV_ACCERR): Likewise.
2801 (BUS_ADRALN): Likewise.
2802 (BUS_ADRERR): Likewise.
2803 (BUS_OBJERR): Likewise.
2804 (BUS_MCEERR_AR): Likewise.
2805 (BUS_MCEERR_AO): Likewise.
2806 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2807 (TRAP_TRACE): Likewise.
2808 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2809 __USE_XOPEN2K8].
2810 (CLD_KILLED): Likewise.
2811 (CLD_DUMPED): Likewise.
2812 (CLD_TRAPPED): Likewise.
2813 (CLD_STOPPED): Likewise.
2814 (CLD_CONTINUED): Likewise.
2815 (POLL_IN): Likewise.
2816 (POLL_OUT): Likewise.
2817 (POLL_MSG): Likewise.
2818 (POLL_ERR): Likewise.
2819 (POLL_PRI): Likewise.
2820 (POLL_HUP): Likewise.
2821 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2822 (ILL_ILLOPN): Likewise.
2823 (ILL_ILLADR): Likewise.
2824 (ILL_ILLTRP): Likewise.
2825 (ILL_PRVOPC): Likewise.
2826 (ILL_PRVREG): Likewise.
2827 (ILL_COPROC): Likewise.
2828 (ILL_BADSTK): Likewise.
2829 (FPE_INTDIV): Likewise.
2830 (FPE_INTOVF): Likewise.
2831 (FPE_FLTDIV): Likewise.
2832 (FPE_FLTOVF): Likewise.
2833 (FPE_FLTUND): Likewise.
2834 (FPE_FLTRES): Likewise.
2835 (FPE_FLTINV): Likewise.
2836 (FPE_FLTSUB): Likewise.
2837 (SEGV_MAPERR): Likewise.
2838 (SEGV_ACCERR): Likewise.
2839 (BUS_ADRALN): Likewise.
2840 (BUS_ADRERR): Likewise.
2841 (BUS_OBJERR): Likewise.
2842 (BUS_MCEERR_AR): Likewise.
2843 (BUS_MCEERR_AO): Likewise.
2844 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2845 (TRAP_TRACE): Likewise.
2846 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2847 __USE_XOPEN2K8].
2848 (CLD_KILLED): Likewise.
2849 (CLD_DUMPED): Likewise.
2850 (CLD_TRAPPED): Likewise.
2851 (CLD_STOPPED): Likewise.
2852 (CLD_CONTINUED): Likewise.
2853 (POLL_IN): Likewise.
2854 (POLL_OUT): Likewise.
2855 (POLL_MSG): Likewise.
2856 (POLL_ERR): Likewise.
2857 (POLL_PRI): Likewise.
2858 (POLL_HUP): Likewise.
2859 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2860 (ILL_ILLOPN): Likewise.
2861 (ILL_ILLADR): Likewise.
2862 (ILL_ILLTRP): Likewise.
2863 (ILL_PRVOPC): Likewise.
2864 (ILL_PRVREG): Likewise.
2865 (ILL_COPROC): Likewise.
2866 (ILL_BADSTK): Likewise.
2867 (FPE_INTDIV): Likewise.
2868 (FPE_INTOVF): Likewise.
2869 (FPE_FLTDIV): Likewise.
2870 (FPE_FLTOVF): Likewise.
2871 (FPE_FLTUND): Likewise.
2872 (FPE_FLTRES): Likewise.
2873 (FPE_FLTINV): Likewise.
2874 (FPE_FLTSUB): Likewise.
2875 (SEGV_MAPERR): Likewise.
2876 (SEGV_ACCERR): Likewise.
2877 (BUS_ADRALN): Likewise.
2878 (BUS_ADRERR): Likewise.
2879 (BUS_OBJERR): Likewise.
2880 (BUS_MCEERR_AR): Likewise.
2881 (BUS_MCEERR_AO): Likewise.
2882 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2883 (TRAP_TRACE): Likewise.
2884 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2885 __USE_XOPEN2K8].
2886 (CLD_KILLED): Likewise.
2887 (CLD_DUMPED): Likewise.
2888 (CLD_TRAPPED): Likewise.
2889 (CLD_STOPPED): Likewise.
2890 (CLD_CONTINUED): Likewise.
2891 (POLL_IN): Likewise.
2892 (POLL_OUT): Likewise.
2893 (POLL_MSG): Likewise.
2894 (POLL_ERR): Likewise.
2895 (POLL_PRI): Likewise.
2896 (POLL_HUP): Likewise.
2897 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2898 (ILL_ILLOPN): Likewise.
2899 (ILL_ILLADR): Likewise.
2900 (ILL_ILLTRP): Likewise.
2901 (ILL_PRVOPC): Likewise.
2902 (ILL_PRVREG): Likewise.
2903 (ILL_COPROC): Likewise.
2904 (ILL_BADSTK): Likewise.
2905 (ILL_DBLFLT): Likewise.
2906 (ILL_HARDWALL): Likewise.
2907 (FPE_INTDIV): Likewise.
2908 (FPE_INTOVF): Likewise.
2909 (FPE_FLTDIV): Likewise.
2910 (FPE_FLTOVF): Likewise.
2911 (FPE_FLTUND): Likewise.
2912 (FPE_FLTRES): Likewise.
2913 (FPE_FLTINV): Likewise.
2914 (FPE_FLTSUB): Likewise.
2915 (SEGV_MAPERR): Likewise.
2916 (SEGV_ACCERR): Likewise.
2917 (BUS_ADRALN): Likewise.
2918 (BUS_ADRERR): Likewise.
2919 (BUS_OBJERR): Likewise.
2920 (BUS_MCEERR_AR): Likewise.
2921 (BUS_MCEERR_AO): Likewise.
2922 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2923 (TRAP_TRACE): Likewise.
2924 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2925 __USE_XOPEN2K8].
2926 (CLD_KILLED): Likewise.
2927 (CLD_DUMPED): Likewise.
2928 (CLD_TRAPPED): Likewise.
2929 (CLD_STOPPED): Likewise.
2930 (CLD_CONTINUED): Likewise.
2931 (POLL_IN): Likewise.
2932 (POLL_OUT): Likewise.
2933 (POLL_MSG): Likewise.
2934 (POLL_ERR): Likewise.
2935 (POLL_PRI): Likewise.
2936 (POLL_HUP): Likewise.
2937 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2938 (ILL_ILLOPN): Likewise.
2939 (ILL_ILLADR): Likewise.
2940 (ILL_ILLTRP): Likewise.
2941 (ILL_PRVOPC): Likewise.
2942 (ILL_PRVREG): Likewise.
2943 (ILL_COPROC): Likewise.
2944 (ILL_BADSTK): Likewise.
2945 (FPE_INTDIV): Likewise.
2946 (FPE_INTOVF): Likewise.
2947 (FPE_FLTDIV): Likewise.
2948 (FPE_FLTOVF): Likewise.
2949 (FPE_FLTUND): Likewise.
2950 (FPE_FLTRES): Likewise.
2951 (FPE_FLTINV): Likewise.
2952 (FPE_FLTSUB): Likewise.
2953 (SEGV_MAPERR): Likewise.
2954 (SEGV_ACCERR): Likewise.
2955 (BUS_ADRALN): Likewise.
2956 (BUS_ADRERR): Likewise.
2957 (BUS_OBJERR): Likewise.
2958 (BUS_MCEERR_AR): Likewise.
2959 (BUS_MCEERR_AO): Likewise.
2960 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2961 (TRAP_TRACE): Likewise.
2962 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2963 __USE_XOPEN2K8].
2964 (CLD_KILLED): Likewise.
2965 (CLD_DUMPED): Likewise.
2966 (CLD_TRAPPED): Likewise.
2967 (CLD_STOPPED): Likewise.
2968 (CLD_CONTINUED): Likewise.
2969 (POLL_IN): Likewise.
2970 (POLL_OUT): Likewise.
2971 (POLL_MSG): Likewise.
2972 (POLL_ERR): Likewise.
2973 (POLL_PRI): Likewise.
2974 (POLL_HUP): Likewise.
2975 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2976 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2977
bc61d27c
JM
2978 [BZ #16670]
2979 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2980 before #include of <time.h>.
2981 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2982 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2983 (test-xfail-UNIX98/sched.h/conform): Likewise.
2984
302949e2
MS
29852014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2986
2987 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2988 error absence of trapping exception support.
2989 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2990
a00f522a
JM
29912014-03-07 Joseph Myers <joseph@codesourcery.com>
2992
6f99f280
JM
2993 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2994 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2995 * timezone/Makefile (testdata): Move definition above include of
2996 Rules.
2997 (test-zones): New variable.
2998 (tests-special): Add zone files.
2999 (build-testdata): Use $(evaluate-test).
3000
0b20a9e8
JM
3001 * elf/Makefile (tests-special): Rename tests to end with .out.
3002 ($(objpfx)noload-mem): Likewise.
3003 ($(objpfx)tst-leaks1-mem): Likewise.
3004 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3005 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3006 $(objpfx)test-iconvconfig.out.
3007 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3008 set -e inside subshell and redirect output to file.
3009 * iconvdata/Makefile (generated): Rename tests to end with .out.
3010 Correct type.
3011 (tests-special): Rename tests to end with .out.
3012 ($(objpfx)mtrace-tst-loading): Likewise.
3013 * intl/Makefile (generated): Likewise.
3014 (tests-special): Likewise.
3015 ($(objpfx)mtrace-tst-gettext): Likewise.
3016 * misc/Makefile (generated): Likewise.
3017 (tests-special): Likewise.
3018 ($(objpfx)tst-error1-mem): Likewise.
3019 * nptl/Makefile (tests-special): Likewise.
3020 ($(objpfx)tst-stack3-mem): Likewise.
3021 (generated): Likewise.
3022 * posix/Makefile (generated): Likewise.
3023 (tests-special): Likewise.
3024 (xtests-special): Likewise.
3025 ($(objpfx)tst-fnmatch-mem): Likewise.
3026 ($(objpfx)bug-regex2-mem): Likewise.
3027 ($(objpfx)bug-regex14-mem): Likewise.
3028 ($(objpfx)bug-regex21-mem): Likewise.
3029 ($(objpfx)bug-regex31-mem): Likewise.
3030 ($(objpfx)tst-vfork3-mem): Likewise.
3031 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3032 ($(objpfx)tst-pcre-mem): Likewise.
3033 ($(objpfx)tst-boost-mem): Likewise.
3034 ($(objpfx)bug-ga2-mem): Likewise.
3035 ($(objpfx)bug-glob2-mem): Likewise.
3036 * resolv/Makefile (generate): Likewise.
3037 (tests-special): Likewise.
3038 (xtests-special): Likewise.
3039 (generated): Likewise.
3040 ($(objpfx)mtrace-tst-leaks): Likewise.
3041 ($(objpfx)mtrace-tst-leaks2): Likewise.
3042
265d52ab
JM
3043 * scripts/merge-test-results.sh: New file.
3044 * Makefile (tests-special-notdir): New variable.
3045 (tests): Run merge-test-results.sh.
3046 (xtests): Likewise.
3047 * Rules (tests-special-notdir): New variable.
3048 (xtests-special-notdir): Likewise.
3049 (tests): Run merge-test-results.sh
3050 (xtests): Likewise.
3051
54ee292d
JM
3052 * Makeconfig (test-xfail-name): New variable.
3053 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3054 compute variable name for expected failures.
3055 * conform/Makefile (conformtest-headers-data): New variable.
3056 (conformtest-standards): Likewise.
3057 (conformtest-headers-ISO): Likewise.
3058 (conformtest-headers-ISO99): Likewise.
3059 (conformtest-headers-ISO11): Likewise.
3060 (conformtest-headers-POSIX): Likewise.
3061 (conformtest-headers-XPG3): Likewise.
3062 (conformtest-headers-XPG4): Likewise.
3063 (conformtest-headers-UNIX98): Likewise.
3064 (conformtest-headers-XOPEN2K): Likewise.
3065 (conformtest-headers-POSIX2008): Likewise.
3066 (conformtest-headers-XOPEN2K8): Likewise.
3067 (conformtest-header-list-base): Likewise.
3068 (conformtest-header-list-tests): Likewise.
3069 (conformtest-header-base): Likewise.
3070 (conformtest-header-tests): Likewise.
3071 (tests-special): Add $(conformtest-header-list-tests). If
3072 [$(fast-check) && !$(cross-compiling)], add
3073 $(conformtest-header-tests) instead of
3074 $(objpfx)run-conformtest.out.
3075 (generated): Add $(conformtest-header-list-base). If
3076 [$(fast-check) && !$(cross-compiling)], add
3077 $(conformtest-header-base). Remove previous setting.
3078 ($(conformtest-header-list-tests)): New target.
3079 (test-xfail-run-conformtest): Remove variable.
3080 ($(objpfx)run-conformtest.out): Remove target.
3081 (test-xfail-ISO11/complex.h/conform): New variable.
3082 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3083 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3084 (test-xfail-XPG3/varargs.h/conform): Likewise.
3085 (test-xfail-XPG4/varargs.h/conform): Likewise.
3086 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3087 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3088 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3089 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3090 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3091 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3092 (test-xfail-XPG3/ftw.h/conform): Likewise.
3093 (test-xfail-XPG3/grp.h/conform): Likewise.
3094 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3095 (test-xfail-XPG3/limits.h/conform): Likewise.
3096 (test-xfail-XPG3/pwd.h/conform): Likewise.
3097 (test-xfail-XPG3/search.h/conform): Likewise.
3098 (test-xfail-XPG3/signal.h/conform): Likewise.
3099 (test-xfail-XPG3/stdio.h/conform): Likewise.
3100 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3101 (test-xfail-XPG3/string.h/conform): Likewise.
3102 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3103 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3104 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3105 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3106 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3107 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3108 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3109 (test-xfail-XPG3/termios.h/conform): Likewise.
3110 (test-xfail-XPG3/time.h/conform): Likewise.
3111 (test-xfail-XPG3/unistd.h/conform): Likewise.
3112 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3113 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3114 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3115 (test-xfail-XPG4/netdb.h/conform): Likewise.
3116 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3117 (test-xfail-XPG4/signal.h/conform): Likewise.
3118 (test-xfail-XPG4/stdio.h/conform): Likewise.
3119 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3120 (test-xfail-XPG4/stropts.h/conform): Likewise.
3121 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3122 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3123 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3124 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3125 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3126 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3127 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3128 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3129 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3130 (test-xfail-XPG4/termios.h/conform): Likewise.
3131 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3132 (test-xfail-XPG4/unistd.h/conform): Likewise.
3133 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3134 (test-xfail-POSIX/sched.h/conform): Likewise.
3135 (test-xfail-POSIX/signal.h/conform): Likewise.
3136 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3137 (test-xfail-POSIX/tar.h/conform): Likewise.
3138 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3139 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3140 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3141 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3142 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3143 (test-xfail-UNIX98/sched.h/conform): Likewise.
3144 (test-xfail-UNIX98/signal.h/conform): Likewise.
3145 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3146 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3147 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3148 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3149 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3150 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3151 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3152 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3153 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3154 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3155 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3156 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3157 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3158 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3159 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3160 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3161 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3162 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3163 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3164 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3165 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3166 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3167 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3168 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3169 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3170 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3171 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3172 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3173 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3174 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3175 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3176 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3177 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3178 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3179 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3180 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3181 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3182 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3183 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3184 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3185 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3186 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3187 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3188 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3189 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3190 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3191 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3192 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3193 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3194 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3195 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3196 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3197 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3198 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3199 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3200 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3201 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3202 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3203 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3204 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3205 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3206 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3207 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3208 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3209 (conformtest-cc-flags): Likewise.
3210 ($(conformtest-header-tests): New target.
3211 * conform/check-header-lists.sh: New file.
3212 * conform/run-conformtest.sh: Remove.
3213
a00f522a
JM
3214 * conform/conformtest.pl: Allow ' and \ in values given for
3215 constants.
3216 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3217 inclusion.
3218 [POSIX] (sys/types.h): Likewise.
3219 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3220 inclusion.
3221 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3222 inclusion.
3223 * conform/data/signal.h-data (SIGIO): Remove expectation.
3224 [XPG3] (SIGBUS): Do not expect.
3225 [POSIX || XPG3] (SIGPOLL): Likewise.
3226 [POSIX || XPG3] (SIGPROF): Likewise.
3227 [POSIX || XPG3] (SIGSYS): Likewise.
3228 [XPG3] (SIGTRAP): Likewise.
3229 [POSIX || XPG3] (SIGURG): Likewise.
3230 [POSIX || XPG3] (SIGVTALRM): Likewise.
3231 [POSIX || XPG3] (SIGXCPU): Likewise.
3232 [POSIX || XPG3] (SIGXFSZ): Likewise.
3233 [POSIX] (SA_SIGINFO): Expect.
3234 [XPG3] (siginfo_t): Do not expect type or contents.
3235 [POSIX] (si_pid): Do not expect element.
3236 [POSIX] (si_uid): Likewise.
3237 [POSIX] (si_addr): Likewise.
3238 [POSIX] (si_status): Likewise.
3239 [POSIX] (si_band): Likewise.
3240 [XPG4] (si_value): Likewise.
3241 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3242 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3243 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3244 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3245 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3246 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3247 [POSIX || XPG3] (ILL_COPROC): Likewise.
3248 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3249 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3250 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3251 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3252 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3253 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3254 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3255 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3256 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3257 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3258 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3259 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3260 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3261 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3262 [POSIX || XPG3] (CLD_EXITED): Likewise.
3263 [POSIX || XPG3] (CLD_KILLED): Likewise.
3264 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3265 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3266 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3267 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3268 [POSIX || XPG3] (POLL_IN): Likewise.
3269 [POSIX || XPG3] (POLL_OUT): Likewise.
3270 [POSIX || XPG3] (POLL_MSG): Likewise.
3271 [POSIX || XPG3] (POLL_ERR): Likewise.
3272 [POSIX || XPG3] (POLL_PRI): Likewise.
3273 [POSIX || XPG3] (POLL_HUP): Likewise.
3274 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3275 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3276 (SIG*): Do not allow.
3277 [XPG3] (si_*): Likewise.
3278 [XPG3] (SI_*): Likewise.
3279 [XPG3 || XPG4] (sigev_*): Likewise.
3280 [XPG3 || XPG4] (SIGEV_*): Likewise.
3281 [XPG3 || XPG4] (sival_*): Likewise.
3282 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3283 [POSIX || XPG3] (BUS_*): Likewise.
3284 [POSIX || XPG3] (CLD_*): Likewise.
3285 [POSIX || XPG3] (FPE_*): Likewise.
3286 [POSIX || XPG3] (ILL_*): Likewise.
3287 [POSIX || XPG3] (POLL_*): Likewise.
3288 [POSIX || XPG3] (SEGV_*): Likewise.
3289 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3290 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3291 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3292 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3293 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3294 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3295 Specify type and value.
3296 (TVERSLEN): Likewise.
3297 (REGTYPE): Likewise.
3298 (AREGTYPE): Likewise.
3299 (LNKTYPE): Likewise.
3300 (SYMTYPE): Likewise.
3301 (CHRTYPE): Likewise.
3302 (BLKTYPE): Likewise.
3303 (DIRTYPE): Likewise.
3304 (FIFOTYPE): Likewise.
3305 (CONTTYPE): Likewise.
3306 (TSUID): Likewise.
3307 (TSGID): Likewise.
3308 (TSVTX): Likewise.
3309 (TUREAD): Likewise.
3310 (TUWRITE): Likewise.
3311 (TUEXEC): Likewise.
3312 (TGREAD): Likewise.
3313 (TGWRITE): Likewise.
3314 (TGEXEC): Likewise.
3315 (TOREAD): Likewise.
3316 (TOWRITE): Likewise.
3317 (TOEXEC): Likewise.
3318 [POSIX] (TSVTX): Expect constant.
3319
aa97dee1
JM
33202014-03-06 Joseph Myers <joseph@codesourcery.com>
3321
f214606a
JM
3322 * Makefile (tests): Change dependencies to ....
3323 (tests-special): ... additions to this variable.
3324 (tests): Depend on $(tests-special).
3325 * Makerules (check-abi-list): New variable.
3326 (check-abi): Depend on $(check-abi-list).
3327 [$(subdir) = elf] (tests-special): Add
3328 $(objpfx)check-abi-libc.out.
3329 [$(build-shared) = yes && subdir] (tests-special): Add
3330 $(check-abi-list).
3331 [$(build-shared) = yes && subdir] (tests): Do not depend on
3332 check-abi.
3333 * Rules (tests): Depend on $(tests-special).
3334 (xtests): Depend on $(xtests-special).
3335 * catgets/Makefile (tests): Change dependencies to ....
3336 (tests-special): ... additions to this variable.
3337 * conform/Makefile (tests): Change dependencies to ....
3338 (tests-special): ... additions to this variable.
3339 * elf/Makefile (tests): Change dependencies to ....
3340 (tests-special): ... additions to this variable.
3341 * grp/Makefile (tests): Change dependencies to ....
3342 (tests-special): ... additions to this variable.
3343 * iconv/Makefile (xtests): Change dependencies to ....
3344 (xtests-special): ... additions to this variable.
3345 * iconvdata/Makefile (tests): Change dependencies to ....
3346 (tests-special): ... additions to this variable.
3347 * intl/Makefile (tests): Change dependencies to ....
3348 (tests-special): ... additions to this variable. Also add
3349 $(objpfx)tst-gettext.out.
3350 * io/Makefile (tests): Change dependencies to ....
3351 (tests-special): ... additions to this variable.
3352 * libio/Makefile (tests): Change dependencies to ....
3353 (tests-special): ... additions to this variable.
3354 * malloc/Makefile (tests): Change dependencies to ....
3355 (tests-special): ... additions to this variable.
3356 * misc/Makefile (tests): Change dependencies to ....
3357 (tests-special): ... additions to this variable.
3358 * nptl/Makefile (tests): Change dependencies to ....
3359 (tests-special): ... additions to this variable.
3360 * nptl_db/Makefile (tests): Change dependencies to ....
3361 (tests-special): ... additions to this variable.
3362 * posix/Makefile (tests): Change dependencies to ....
3363 (tests-special): ... additions to this variable.
3364 (xtests): Change dependencies to ....
3365 (xtests-special): ... additions to this variable.
3366 * resolv/Makefile (tests): Change dependencies to ....
3367 (tests-special): ... additions to this variable.
3368 (xtests): Change dependencies to ....
3369 (xtests-special): ... additions to this variable.
3370 * stdio-common/Makefile (tests): Change dependencies to ....
3371 (tests-special): ... additions to this variable.
3372 (do-tst-unbputc): Remove target.
3373 (do-tst-printf): Likewise.
3374 * stdlib/Makefile (tests): Change dependencies to ....
3375 (tests-special): ... additions to this variable.
3376 * string/Makefile (tests): Change dependencies to ....
3377 (tests-special): ... additions to this variable.
3378 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3379 (tests-special): ... additions to this variable.
3380
81700b53
JM
3381 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3382 whole file.
3383 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3384 whole file.
3385 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3386 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3387
2ea18461
JM
3388 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3389 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3390 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3391 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3392 * conform/data/libgen.h-data [XPG3]: Likewise.
3393 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3394 * conform/data/ndbm.h-data [XPG3]: Likewise.
3395 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3396 * conform/data/netdb.h-data [XPG3]: Likewise.
3397 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3398 * conform/data/poll.h-data [XPG3]: Likewise.
3399 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3400 * conform/data/strings.h-data [XPG3]: Likewise.
3401 * conform/data/stropts.h-data [XPG3]: Likewise.
3402 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3403 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3404 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3405 Likewise.
3406 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3407 * conform/data/sys/time.h-data [XPG3]: Likewise.
3408 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3409 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3410 * conform/data/sys/un.h-data [XPG3]: Likewise.
3411 * conform/data/syslog.h-data [XPG3]: Likewise.
3412 * conform/data/ucontext.h-data [XPG3]: Likewise.
3413 * conform/data/utmpx.h-data [XPG3]: Likewise.
3414 * conform/data/varargs.h-data [UNIX98]: Enable file.
3415
355bc986
JM
3416 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3417
215db402
JM
3418 * math/libm-test.inc (struct test_f_f_data): Move expected results
3419 into structure for each rounding mode.
3420 (struct test_ff_f_data): Likewise.
3421 (struct test_ff_f_data_nexttoward): Likewise.
3422 (struct test_fi_f_data): Likewise.
3423 (struct test_fl_f_data): Likewise.
3424 (struct test_if_f_data): Likewise.
3425 (struct test_fff_f_data): Likewise.
3426 (struct test_c_f_data): Likewise.
3427 (struct test_f_f1_data): Likewise.
3428 (struct test_fF_f1_data): Likewise.
3429 (struct test_ffI_f1_data): Likewise.
3430 (struct test_c_c_data): Likewise.
3431 (struct test_cc_c_data): Likewise.
3432 (struct test_f_i_data): Likewise.
3433 (struct test_ff_i_data): Likewise.
3434 (struct test_f_l_data): Likewise.
3435 (struct test_f_L_data): Likewise.
3436 (struct test_fFF_11_data): Likewise.
3437 (RM_): New macro.
3438 (RM_FE_DOWNWARD): Likewise.
3439 (RM_FE_TONEAREST): Likewise.
3440 (RM_FE_TOWARDZERO): Likewise.
3441 (RM_FE_UPWARD): Likewise.
3442 (RUN_TEST_LOOP_f_f): Update references to expected results.
3443 (RUN_TEST_LOOP_2_f): Likewise.
3444 (RUN_TEST_LOOP_fff_f): Likewise.
3445 (RUN_TEST_LOOP_c_f): Likewise.
3446 (RUN_TEST_LOOP_f_f1): Likewise.
3447 (RUN_TEST_LOOP_fF_f1): Likewise.
3448 (RUN_TEST_LOOP_fI_f1): Likewise.
3449 (RUN_TEST_LOOP_ffI_f1): Likewise.
3450 (RUN_TEST_LOOP_c_c): Likewise.
3451 (RUN_TEST_LOOP_cc_c): Likewise.
3452 (RUN_TEST_LOOP_f_i): Likewise.
3453 (RUN_TEST_LOOP_f_i_tg): Likewise.
3454 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3455 (RUN_TEST_LOOP_f_b): Likewise.
3456 (RUN_TEST_LOOP_f_b_tg): Likewise.
3457 (RUN_TEST_LOOP_f_l): Likewise.
3458 (RUN_TEST_LOOP_f_L): Likewise.
3459 (RUN_TEST_LOOP_fFF_11): Likewise.
3460 * math/gen-libm-test.pl (parse_args): Output four copies of
3461 expected results for each test.
3462
67737b8f
JM
3463 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3464 (__ASSUME_UTIMES): Remove.
3465 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3466 (__ASSUME_UTIMES): Likewise.
3467
aa97dee1
JM
3468 * math/gen-auto-libm-tests.c: Update comment on output format.
3469 (output_for_one_input_case): Generate before-rounding and
3470 after-rounding information as conditions on output flags not
3471 floating-point format.
3472 * math/auto-libm-test-out: Regenerated.
3473 * math/gen-libm-test.pl (cond_value): New function.
3474 (or_cond_value): Use cond_value.
3475 (generate_testfile): Handle conditional exceptions.
3476
e6b6a857
JM
34772014-03-05 Joseph Myers <joseph@codesourcery.com>
3478
2f0a0f44
JM
3479 * math/libm-test.inc (max_valid_error): New variable.
3480 (init_max_error): Take new argument specifying whether function
3481 results are exactly determined. Set max_valid_error and bound
3482 other variables for errors based on this argument.
3483 (set_max_error): Do not record results above max_valid_error.
3484 (check_float_internal): Only accept errors of up to 0.5ulps if
3485 also at most max_valid_error.
3486 (START): Take new argument EXACT and pass it to init_max_error.
3487 (acos_test): Update call to START.
3488 (acos_test_tonearest): Likewise.
3489 (acos_test_towardzero): Likewise.
3490 (acos_test_downward): Likewise.
3491 (acos_test_upward): Likewise.
3492 (acosh_test): Likewise.
3493 (asin_test): Likewise.
3494 (asin_test_tonearest): Likewise.
3495 (asin_test_towardzero): Likewise.
3496 (asin_test_downward): Likewise.
3497 (asin_test_upward): Likewise.
3498 (asinh_test): Likewise.
3499 (atan_test): Likewise.
3500 (atanh_test): Likewise.
3501 (atan2_test): Likewise.
3502 (cabs_test): Likewise.
3503 (cacos_test): Likewise.
3504 (cacosh_test): Likewise.
3505 (carg_test): Likewise.
3506 (casin_test): Likewise.
3507 (casinh_test): Likewise.
3508 (catan_test): Likewise.
3509 (catanh_test): Likewise.
3510 (cbrt_test): Likewise.
3511 (ccos_test): Likewise.
3512 (ccosh_test): Likewise.
3513 (ceil_test): Likewise.
3514 (cexp_test): Likewise.
3515 (cimag_test): Likewise.
3516 (clog_test): Likewise.
3517 (clog10_test): Likewise.
3518 (conj_test): Likewise.
3519 (copysign_test): Likewise.
3520 (cos_test): Likewise.
3521 (cos_test_tonearest): Likewise.
3522 (cos_test_towardzero): Likewise.
3523 (cos_test_downward): Likewise.
3524 (cos_test_upward): Likewise.
3525 (cosh_test): Likewise.
3526 (cosh_test_tonearest): Likewise.
3527 (cosh_test_towardzero): Likewise.
3528 (cosh_test_downward): Likewise.
3529 (cosh_test_upward): Likewise.
3530 (cpow_test): Likewise.
3531 (cproj_test): Likewise.
3532 (creal_test): Likewise.
3533 (csin_test): Likewise.
3534 (csinh_test): Likewise.
3535 (csqrt_test): Likewise.
3536 (ctan_test): Likewise.
3537 (ctan_test_tonearest): Likewise.
3538 (ctan_test_towardzero): Likewise.
3539 (ctan_test_downward): Likewise.
3540 (ctan_test_upward): Likewise.
3541 (ctanh_test): Likewise.
3542 (ctanh_test_tonearest): Likewise.
3543 (ctanh_test_towardzero): Likewise.
3544 (ctanh_test_downward): Likewise.
3545 (ctanh_test_upward): Likewise.
3546 (erf_test): Likewise.
3547 (erfc_test): Likewise.
3548 (exp_test): Likewise.
3549 (exp_test_tonearest): Likewise.
3550 (exp_test_towardzero): Likewise.
3551 (exp_test_downward): Likewise.
3552 (exp_test_upward): Likewise.
3553 (exp10_test): Likewise.
3554 (exp10_test_tonearest): Likewise.
3555 (exp10_test_towardzero): Likewise.
3556 (exp10_test_downward): Likewise.
3557 (exp10_test_upward): Likewise.
3558 (pow10_test): Likewise.
3559 (exp2_test): Likewise.
3560 (expm1_test): Likewise.
3561 (expm1_test_tonearest): Likewise.
3562 (expm1_test_towardzero): Likewise.
3563 (expm1_test_downward): Likewise.
3564 (expm1_test_upward): Likewise.
3565 (fabs_test): Likewise.
3566 (fdim_test): Likewise.
3567 (floor_test): Likewise.
3568 (fma_test): Likewise.
3569 (fma_test_towardzero): Likewise.
3570 (fma_test_downward): Likewise.
3571 (fma_test_upward): Likewise.
3572 (fmax_test): Likewise.
3573 (fmin_test): Likewise.
3574 (fmod_test): Likewise.
3575 (fpclassify_test): Likewise.
3576 (frexp_test): Likewise.
3577 (hypot_test): Likewise.
3578 (ilogb_test): Likewise.
3579 (isfinite_test): Likewise.
3580 (finite_test): Likewise.
3581 (isgreater_test): Likewise.
3582 (isgreaterequal_test): Likewise.
3583 (isinf_test): Likewise.
3584 (isless_test): Likewise.
3585 (islessequal_test): Likewise.
3586 (islessgreater_test): Likewise.
3587 (isnan_test): Likewise.
3588 (isnormal_test): Likewise.
3589 (issignaling_test): Likewise.
3590 (isunordered_test): Likewise.
3591 (j0_test): Likewise.
3592 (j1_test): Likewise.
3593 (jn_test): Likewise.
3594 (ldexp_test): Likewise.
3595 (lgamma_test): Likewise.
3596 (gamma_test): Likewise.
3597 (lrint_test): Likewise.
3598 (lrint_test_tonearest): Likewise.
3599 (lrint_test_towardzero): Likewise.
3600 (lrint_test_downward): Likewise.
3601 (lrint_test_upward): Likewise.
3602 (llrint_test): Likewise.
3603 (llrint_test_tonearest): Likewise.
3604 (llrint_test_towardzero): Likewise.
3605 (llrint_test_downward): Likewise.
3606 (llrint_test_upward): Likewise.
3607 (log_test): Likewise.
3608 (log10_test): Likewise.
3609 (log1p_test): Likewise.
3610 (log2_test): Likewise.
3611 (logb_test): Likewise.
3612 (logb_test_downward): Likewise.
3613 (lround_test): Likewise.
3614 (llround_test): Likewise.
3615 (modf_test): Likewise.
3616 (nearbyint_test): Likewise.
3617 (nextafter_test): Likewise.
3618 (nexttoward_test): Likewise.
3619 (pow_test): Likewise.
3620 (pow_test_tonearest): Likewise.
3621 (pow_test_towardzero): Likewise.
3622 (pow_test_downward): Likewise.
3623 (pow_test_upward): Likewise.
3624 (remainder_test): Likewise.
3625 (drem_test): Likewise.
3626 (remainder_test_tonearest): Likewise.
3627 (drem_test_tonearest): Likewise.
3628 (remainder_test_towardzero): Likewise.
3629 (drem_test_towardzero): Likewise.
3630 (remainder_test_downward): Likewise.
3631 (drem_test_downward): Likewise.
3632 (remainder_test_upward): Likewise.
3633 (drem_test_upward): Likewise.
3634 (remquo_test): Likewise.
3635 (rint_test): Likewise.
3636 (rint_test_tonearest): Likewise.
3637 (rint_test_towardzero): Likewise.
3638 (rint_test_downward): Likewise.
3639 (rint_test_upward): Likewise.
3640 (round_test): Likewise.
3641 (scalb_test): Likewise.
3642 (scalbn_test): Likewise.
3643 (scalbln_test): Likewise.
3644 (signbit_test): Likewise.
3645 (sin_test): Likewise.
3646 (sin_test_tonearest): Likewise.
3647 (sin_test_towardzero): Likewise.
3648 (sin_test_downward): Likewise.
3649 (sin_test_upward): Likewise.
3650 (sincos_test): Likewise.
3651 (sinh_test): Likewise.
3652 (sinh_test_tonearest): Likewise.
3653 (sinh_test_towardzero): Likewise.
3654 (sinh_test_downward): Likewise.
3655 (sinh_test_upward): Likewise.
3656 (sqrt_test): Likewise.
3657 (sqrt_test_tonearest): Likewise.
3658 (sqrt_test_towardzero): Likewise.
3659 (sqrt_test_downward): Likewise.
3660 (sqrt_test_upward): Likewise.
3661 (tan_test): Likewise.
3662 (tan_test_tonearest): Likewise.
3663 (tan_test_towardzero): Likewise.
3664 (tan_test_downward): Likewise.
3665 (tan_test_upward): Likewise.
3666 (tanh_test): Likewise.
3667 (tgamma_test): Likewise.
3668 (trunc_test): Likewise.
3669 (y0_test): Likewise.
3670 (y1_test): Likewise.
3671 (yn_test): Likewise.
3672 (significand_test): Likewise.
3673
e6b6a857
JM
3674 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3675 individual tests in comment.
3676 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3677 (prev_max_error): New variable.
3678 (prev_real_max_error): Likewise.
3679 (prev_imag_max_error): Likewise.
3680 (compare_ulp_data): Don't refer to test names in comment.
3681 (find_test_ulps): Remove function.
3682 (find_function_ulps): Likewise.
3683 (find_complex_function_ulps): Likewise.
3684 (init_max_error): Take function name as argument. Look up ulps
3685 for that function.
3686 (print_ulps): Remove function.
3687 (print_max_error): Use prev_max_error instead of calling
3688 find_function_ulps.
3689 (print_complex_max_error): Use prev_real_max_error and
3690 prev_imag_max_error instead of calling find_complex_function_ulps.
3691 (check_float_internal): Take max_ulp parameter instead of calling
3692 find_test_ulps. Don't call print_ulps.
3693 (check_float): Update call to check_float_internal.
3694 (check_complex): Update calls to check_float_internal.
3695 (START): Pass argument to init_max_error.
3696 * math/gen-libm-test.pl (%results): Don't include "kind"
3697 information.
3698 (parse_ulps): Don't handle ulps of individual tests.
3699 (print_ulps_file): Likewise.
3700 (output_ulps): Likewise.
3701 * math/README.libm-test: Update.
3702 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3703 individual tests.
3704 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3705 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3706 * sysdeps/arm/libm-test-ulps: Likewise.
3707 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3708 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3709 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3710 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3711 * sysdeps/microblaze/libm-test-ulps: Likewise.
3712 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3713 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3714 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3715 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3716 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3717 * sysdeps/sh/libm-test-ulps: Likewise.
3718 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3719 * sysdeps/tile/libm-test-ulps: Likewise.
3720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3721
45adef3c
JM
37222014-03-04 Joseph Myers <joseph@codesourcery.com>
3723
3724 * math/libm-test.inc (print_complex_max_error): Check separately
3725 whether real and imaginary errors are within allowed range and
3726 pass 0 to print_complex_function_ulps instead of value within
3727 allowed range.
3728
000232b9
SP
37292014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3730
d4b17258
SP
3731 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3732 formatting.
3733 (get_handles_fopen): Likewise.
3734 (do_write_test): Likewise.
3735
091eff71
SP
3736 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3737
fa3cd248
SP
3738 * libio/fileops.c (do_ftell): Use cached offset when
3739 available.
3740 * libio/iofwide.c (do_ftell_wide): Likewise.
3741 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3742 _IO_file_attach.
3743 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3744
000232b9
SP
3745 [BZ #16532]
3746 * libio/libioP.h (get_file_offset): New function.
3747 * libio/fileops.c (get_file_offset): Likewise.
3748 (do_ftell): Likewise.
3749 (_IO_new_file_seekoff): Split out ftell logic.
3750 * libio/wfileops.c (do_ftell_wide): Likewise.
3751 (_IO_wfile_seekoff): Split out ftell logic.
3752 * libio/tst-ftell-active-handler.c: New test case.
3753 * libio/Makefile (tests): Add it.
3754
116f4d1a
RM
37552014-03-03 Roland McGrath <roland@hack.frob.com>
3756
3757 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3758 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3759
532a6035
SP
37602014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3761
3762 [BZ #16639]
3763 * nscd/connections.c (nscd_init): Call do_exit.
3764 (start_threads): Call do_exit and notify_parent.
3765 (begin_drop_privileges): Call do_exit.
3766 (finish_drop_privileges): Likewise.
3767 * nscd/selinux.c (preserve_capabilities): Likewise.
3768 (install_real_capabilities): Likewise.
3769 (nscd_selinux_enabled): Likewise.
3770 (avc_create_thread): Likewise.
3771 (avc_alloc_lock): Likewise.
3772 (nscd_avc_init): Likewise.
3773 * nscd/nscd.c (parent_fd): New static variable.
3774 (main): Create a pipe between parent and child processes.
3775 Skip closing parent_fd.
3776 (monitor_child): New function.
3777 (do_exit): Likewise.
3778 (notify_parent): Likewise.
3779 * nscd/nscd.h (notify_parent): Likewise.
3780 (do_exit): Likewise.
3781
d6285c9f
CD
37822014-03-03 Carlos O'Donell <carlos@redhat.com>
3783
3784 * malloc/malloc.c (__libc_calloc): Revert last change.
3785
2b85d2a0
AZ
37862014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3787
3788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3789
c7debbdf
RS
37902014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3791
3792 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3794 implementation.
3795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3796 (__libc_ifunc_impl_list): Likewise.
3797 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3798 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3799 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3800 * string/strrchr.c: Define STRRCHR.
3801
235eed86
OB
38022014-02-28 Ondřej Bílka <neleai@seznam.cz>
3803
3804 * benchtest/bench-strtok.c (simple_strtok): Delete.
3805 (strtok_string): Use as benchmark.
3806 * string/strtok (STRTOK): New macro.
3807
8e25d1e7
CD
38082014-02-28 Carlos O'Donell <carlos@redhat.com>
3809
ef563f92
CD
3810 * manual/threads.texi: Add header and standard comments to all
3811 functions.
3812
8e25d1e7
CD
3813 * elf/dl-lookup.c (check_match): New function.
3814 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3815 (do_lookup_x): Remove nested function check_match. Use non-nested
3816 function check_match.
3817
ff71cc37
RM
38182014-02-28 Roland McGrath <roland@hack.frob.com>
3819
f08e9a26
RM
3820 * csu/Makefile (generated, before-compile): Use += rather than =.
3821 * catgets/Makefile (generated, generated-dirs): Likewise.
3822 * debug/Makefile (generated): Likewise.
3823 * dlfcn/Makefile (generated): Likewise.
3824 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3825 * iconvdata/Makefile (before-compile, generated): Likewise.
3826 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3827 * libio/Makefile (generated): Likewise.
3828 * malloc/Makefile (generated): Likewise.
3829 * manual/Makefile (generated, generated-dirs): Likewise.
3830 * misc/Makefile (generated): Likewise.
3831 * posix/Makefile (generated): Likewise.
3832 * resolv/Makefile (generated): Likewise.
3833 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3834 * timezone/Makefile (generated, generated-dirs): Likewise.
3835
ff71cc37
RM
3836 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3837
fe13a20c
AZ
38382014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3839
57f41c40
AS
3840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3841 power8 implementation.
3842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3843 file: POWER8 llround ifunc implementation.
3844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3845 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3846 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3847 POWER8 llround implementation.
3848
57f41c40
AS
3849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3850 power8 implementation.
3851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3852 file: POWER8 llrint ifunc implementation.
3853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3854 Add POWER8 implementation.
1ad8950a
AZ
3855 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3856 POWER8 llrint implementation.
3857
57f41c40
AS
3858 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3859 power8 implementation.
3860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3861 file: POWER8 finite ifunc implementation.
3862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3863 Add POWER8 implementation.
cac626d6
AZ
3864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3865 Likewise.
3866 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3867 POWER8 finite implementation.
3868 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3869
57f41c40
AS
3870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3871 power8 implementation.
3872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3873 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3875 POWER8 implementation.
3876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3877 Likewise.
57f41c40
AS
3878 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3879 isinf implementation.
4393fc11
AZ
3880 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3881
57f41c40
AS
3882 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3883 (INIT_ARCH): Add hwcap2 initialization.
3884 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3885 power8 implementation.
3886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3887 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3889 POWER8 implementation.
3890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3891 Likewise.
57f41c40
AS
3892 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3893 isnan implementation.
487972ae
AZ
3894 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3895
7d92b787
JY
38962014-02-27 Joey Ye <joey.ye@arm.com>
3897
3898 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3899 (_FP_NANFRAC_Q): Set to zero.
3900
1cadc858
SP
39012014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3902
3903 [BZ #16623]
3904 * math/auto-libm-test-in: New test inputs.
3905 * math/auto-libm-test-out: Regenerate.
3906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3907 and DA.
3908 (__cos): Likewise.
3909 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3910
f8c17e79
JM
39112014-02-27 Joseph Myers <joseph@codesourcery.com>
3912
3913 * scripts/evaluate-test.sh: Take new argument indicating whether
3914 failure is expected.
3915 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3916 indicating whether failure is expected.
3917 * conform/Makefile (test-xfail-run-conformtest): New variable.
3918 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3919 level.
3920 * posix/Makefile (test-xfail-annexc): New variable.
3921 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3922
a5f891ac
JM
39232014-02-26 Joseph Myers <joseph@codesourcery.com>
3924
3925 * argp/Makefile: Include Makeconfig immediately after defining
3926 subdir.
3927 * assert/Makefile: Likewise.
3928 * benchtests/Makefile: Likewise.
3929 * catgets/Makefile: Likewise.
3930 * conform/Makefile: Likewise.
3931 * crypt/Makefile: Likewise.
3932 * csu/Makefile: Likewise.
3933 (all): Remove target.
3934 * ctype/Makefile: Include Makeconfig immediately after defining
3935 subdir.
3936 * debug/Makefile: Likewise.
3937 * dirent/Makefile: Likewise.
3938 * dlfcn/Makefile: Likewise.
3939 * gmon/Makefile: Likewise.
3940 * gnulib/Makefile: Likewise.
3941 * grp/Makefile: Likewise.
3942 * gshadow/Makefile: Likewise.
3943 * hesiod/Makefile: Likewise.
3944 * hurd/Makefile: Likewise.
3945 (all): Remove target.
3946 * iconvdata/Makefile: Include Makeconfig immediately after
3947 defining subdir.
3948 * inet/Makefile: Likewise.
3949 * intl/Makefile: Likewise.
3950 * io/Makefile: Likewise.
3951 * libio/Makefile: Likewise.
3952 (all): Remove target.
3953 * locale/Makefile: Include Makeconfig immediately after defining
3954 subdir.
3955 * login/Makefile: Likewise.
3956 * mach/Makefile: Likewise.
3957 (all): Remove target.
3958 * malloc/Makefile: Include Makeconfig immediately after defining
3959 subdir.
3960 (all): Remove target.
3961 * manual/Makefile: Include Makeconfig immediately after defining
3962 subdir.
3963 * math/Makefile: Likewise.
3964 * misc/Makefile: Likewise.
3965 * nis/Makefile: Likewise.
3966 * nss/Makefile: Likewise.
3967 * po/Makefile: Likewise.
3968 (all): Remove target.
3969 * posix/Makefile: Include Makeconfig immediately after defining
3970 subdir.
3971 * pwd/Makefile: Likewise.
3972 * resolv/Makefile: Likewise.
3973 * resource/Makefile: Likewise.
3974 * rt/Makefile: Likewise.
3975 * setjmp/Makefile: Likewise.
3976 * shadow/Makefile: Likewise.
3977 * signal/Makefile: Likewise.
3978 * socket/Makefile: Likewise.
3979 * soft-fp/Makefile: Likewise.
3980 * stdio-common/Makefile: Likewise.
3981 * stdlib/Makefile: Likewise.
3982 * streams/Makefile: Likewise.
3983 * string/Makefile: Likewise.
3984 * sunrpc/Makefile: Likewise.
3985 (all): Remove target.
3986 * sysvipc/Makefile: Include Makeconfig immediately after defining
3987 subdir.
3988 * termios/Makefile: Likewise.
3989 * time/Makefile: Likewise.
3990 * timezone/Makefile: Likewise.
3991 (all): Remove target.
3992 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3993 subdir.
3994 * wctype/Makefile: Likewise.
3995
5b456e9d
SE
39962014-02-26 Steve Ellcey <sellcey@mips.com>
3997
3998 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3999 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4000 (libc_feholdexcept_setround_mips): Ditto.
4001 (libc_feholdsetround): New.
4002 (libc_feholdsetroundf): New.
4003 (libc_feholdsetroundl): New.
4004 (libc_feupdateenv_test_mips): New.
4005 (libc_feupdateenv_test): New.
4006 (libc_feupdateenv_testf): New.
4007 (libc_feupdateenv_testl): New.
4008 (libc_feresetround): New.
4009 (libc_feresetroundf): New.
4010 (libc_feresetroundl): New.
4011 (libc_fetestexcept_mips): New.
4012 (libc_fetestexcept): New.
4013 (libc_fetestexceptf): New.
4014 (libc_fetestexceptl): New.
4015 (HAVE_RM_CTX): New.
4016 (libc_feholdexcept_setround_mips_ctx): New.
4017 (libc_feholdexcept_setround_ctx): New.
4018 (libc_feholdexcept_setroundf_ctx): New.
4019 (libc_feholdexcept_setroundl_ctx): New.
4020 (libc_fesetenv_mips_ctx): New.
4021 (libc_fesetenv_ctx): New.
4022 (libc_fesetenv_ctxf): New.
4023 (libc_fesetenv_ctxl): New.
4024 (libc_feupdateenv_mips_ctx): New.
4025 (libc_feupdateenv_ctx): New.
4026 (libc_feupdateenvf_ctx): New.
4027 (libc_feupdateenvl_ctx): New.
4028 (libc_feholdsetround_mips_ctx): New.
4029 (libc_feholdsetround_ctx): New.
4030 (libc_feholdsetroundf_ctx): New.
4031 (libc_feholdsetroundl_ctx): New.
4032 (libc_feresetround_mips_ctx): New.
4033 (libc_feresetround_ctx): New.
4034 (libc_feresetroundf_ctx): New.
4035 (libc_feresetroundl_ctx): New.
4036
085d0e35
CD
40372014-02-26 Carlos O'Donell <carlos@redhat.com>
4038
f067bf1f
CD
4039 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4040
085d0e35
CD
4041 * manual/ipc.texi: New file.
4042 * manual/Makefile (chapters): Add ipc.
4043 * manual/job.texi: Add "Inter-Process Communication" to next.
4044 * manual/process.texi: Add "Inter-Process Communication" to prev.
4045
86e58c08
AZ
40462014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4047
4048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4049
4248f0da
OB
40502014-02-26 Ondřej Bílka <neleai@seznam.cz>
4051
4052 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4053
cf822e3c
OB
4054 * manual/arith.texi: Fix spaces after sentences.
4055 * manual/charset.texi: Likewise.
4056 * manual/errno.texi: Likewise.
4057 * manual/install.texi: Likewise.
4058 * manual/llio.texi: Likewise.
4059 * manual/locale.texi: Likewise.
4060 * manual/maint.texi: Likewise.
4061 * manual/math.texi: Likewise.
4062 * manual/memory.texi: Likewise.
4063 * manual/message.texi: Likewise.
4064 * manual/probes.texi: Likewise.
4065 * manual/resource.texi: Likewise.
4066 * manual/signal.texi: Likewise.
4067 * manual/socket.texi: Likewise.
4068 * manual/stdio.texi: Likewise.
4069 * manual/string.texi: Likewise.
4070 * manual/time.texi: Likewise.
4071 * manual/users.texi: Likewise.
4072
ade40b10
CD
40732014-02-25 Carlos O'Donell <carlos@redhat.com>
4074
4075 [BZ #16632]
4076 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4077 _DEFAULT_SOURCE is defined.
4078
d0503676
CD
40792014-02-25 Ulrich Drepper <drepper@gmail.com>
4080 Carlos O'Donell <carlos@redhat.com>
4081
4082 [BZ #16613]
4083 * elf/dl-tls.c (_dl_count_modids): New function.
4084 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4085 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4086 audit library and increment generation counter.
4087 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4088 * elf/tst-audit9.c: New file.
4089 * elf/tst-auditmod9a.c: New file.
4090 * elf/tst-auditmod9b.c: New file.
4091 * elf/Makefile: Add rules to build and run tst-audit9.
4092
4cbf380c
FW
40932014-02-25 Florian Weimer <fweimer@redhat.com>
4094
4095 [BZ #15347]
4096 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4097
80a56cc3
WN
40982014-02-25 Will Newton <will.newton@linaro.org>
4099
4100 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4101 (__longjmp): Restore sp and lr before restoring callee
4102 saved registers. Add longjmp and longjmp_target
4103 SystemTap probe point.
4104 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4105 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4106 Define to zero to match jmpbuf layout.
4107 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4108 (__sigsetjmp): Save sp and lr before saving callee
4109 saved registers. Add setjmp SystemTap probe point.
4110
3ea0f74e
SL
41112014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4112
4113 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4114
b04acb26
AS
41152014-02-24 Andreas Schwab <schwab@suse.de>
4116
4117 [BZ #15804]
4118 * elf/pldd.c (wait_for_ptrace_stop): New function.
4119 (main): Call it after attaching.
4120
098ad55c
RM
41212014-02-22 Roland McGrath <roland@hack.frob.com>
4122
d4ec6ae1
RM
4123 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4124 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4125 Versions files is now verboten.
4126 * hurd/Versions (libc: GLIBC_2.0):
4127 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4128 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4129 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4130 * mach/Versions: Likewise.
4131
098ad55c
RM
4132 * csu/Versions: Remove unused %include.
4133 * resolv/Versions: Likewise.
4134
acd7f096
JM
41352014-02-21 Joseph Myers <joseph@codesourcery.com>
4136
f0881698
JM
4137 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4138 ($(objpfx)check-local-headers.out): Likewise.
4139 ($(objpfx)begin-end-check.out): Likewise.
4140 * Makerules (check-abi-%.out): Likewise.
4141 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4142 ($(objpfx)test2.cat): Likewise.
4143 ($(objpfx)de/libc.cat): Likewise.
4144 ($(objpfx)test-gencat.out): Likewise.
4145 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4146 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4147 ($(objpfx)noload-mem): Likewise.
4148 ($(objpfx)tst-pathopt.out): Likewise.
4149 ($(objpfx)tst-rtld-load-self.out): Likewise.
4150 ($(objpfx)tst-array1-cmp.out): Likewise.
4151 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4152 ($(objpfx)tst-array2-cmp.out): Likewise.
4153 ($(objpfx)tst-array3-cmp.out): Likewise.
4154 ($(objpfx)tst-array4-cmp.out): Likewise.
4155 ($(objpfx)tst-array5-cmp.out): Likewise.
4156 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4157 ($(objpfx)check-textrel.out): Likewise.
4158 ($(objpfx)check-execstack.out): Likewise.
4159 ($(objpfx)check-localplt.out): Likewise.
4160 ($(objpfx)order2-cmp.out): Likewise.
4161 ($(objpfx)tst-leaks1-mem): Likewise.
4162 ($(objpfx)tst-leaks1-static-mem): Likewise.
4163 ($(objpfx)tst-initorder-cmp.out): Likewise.
4164 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4165 ($(objpfx)tst-unused-dep.out): Likewise.
4166 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4167 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4168 * iconv/Makefile (test-iconvconfig): Likewise.
4169 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4170 ($(objpfx)iconv-test.out): Likewise.
4171 ($(objpfx)tst-tables.out): Likewise.
4172 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4173 ($(objpfx)tst-gettext.out): Likewise.
4174 ($(objpfx)tst-translit.out): Likewise.
4175 ($(objpfx)tst-gettext2.out): Likewise.
4176 ($(objpfx)tst-gettext4.out): Likewise.
4177 ($(objpfx)tst-gettext6.out): Likewise.
4178 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4179 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4180 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4181 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4182 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4183 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4184 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4185 ($(objpfx)wordexp-tst.out): Likewise.
4186 ($(objpfx)annexc.out): Likewise.
4187 ($(objpfx)tst-fnmatch-mem): Likewise.
4188 ($(objpfx)bug-regex2-mem): Likewise.
4189 ($(objpfx)bug-regex14-mem): Likewise.
4190 ($(objpfx)bug-regex21-mem): Likewise.
4191 ($(objpfx)bug-regex31-mem): Likewise.
4192 ($(objpfx)tst-vfork3-mem): Likewise.
4193 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4194 ($(objpfx)tst-pcre-mem): Likewise.
4195 ($(objpfx)tst-boost-mem): Likewise.
4196 ($(objpfx)tst-getconf.out): Likewise.
4197 ($(objpfx)bug-ga2-mem): Likewise.
4198 ($(objpfx)bug-glob2-mem): Likewise.
4199 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4200 ($(objpfx)mtrace-tst-leaks2): Likewise.
4201 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4202 ($(objpfx)tst-printf.out): Likewise.
4203 ($(objpfx)tst-setvbuf1.out): Likewise.
4204 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4205 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4206 ($(objpfx)tst-fmtmsg.out): Likewise.
4207 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4208 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4209
acd7f096
JM
4210 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4211 * bits/sigaction.h [__USE_MISC]: Likewise.
4212 * bits/waitstatus.h: Update #endif comments.
4213 * ctype/ctype.h: Likewise.
4214 * dirent/dirent.h: Likewise.
4215 [__USE_MISC]: Remove redundant conditionals.
4216 * grp/grp.h: Update #endif comments.
4217 [__USE_GNU]: Remove redundant conditionals.
4218 [__USE_MISC]: Likewise.
4219 * inet/netinet/in.h [__USE_GNU]: Likewise.
4220 * io/sys/stat.h [__USE_MISC]: Likewise.
4221 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4222 * libio/bits/stdio.h: Update #endif comments.
4223 [__USE_MISC]: Remove redundant conditionals.
4224 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4225 * libio/stdio.h: Update #endif comments.
4226 [__USE_MISC]: Remove redundant conditionals.
4227 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4228 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4229 * math/math.h: Update #else and #endif comments.
4230 [__USE_MISC]: Remove redundant conditionals.
4231 * misc/sys/uio.h: Update #endif comments.
4232 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4233 * posix/glob.h [__USE_MISC]: Likewise.
4234 * posix/sys/types.h: Update #endif comments.
4235 [__USE_MISC]: Remove redundant conditionals.
4236 * posix/sys/wait.h: Update #endif comments.
4237 [__USE_MISC]: Remove redundant conditionals.
4238 * posix/unistd.h: Update #endif comments.
4239 [__USE_MISC]: Remove redundant conditionals.
4240 * pwd/pwd.h [__USE_GNU]: Likewise.
4241 [__USE_MISC]: Likewise.
4242 * resolv/netdb.h [__USE_GNU]: Likewise.
4243 * signal/signal.h: Update #endif comments.
4244 [__USE_MISC]: Remove redundant conditionals.
4245 * stdlib/stdlib.h: Update #else and #endif comments.
4246 [__USE_MISC]: Remove redundant conditionals.
4247 [__USE_GNU]: Likewise.
4248 * string/bits/string2.h [__USE_MISC]: Likewise.
4249 * string/string.h: Update #endif comments.
4250 [__USE_MISC]: Remove redundant conditionals.
4251 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4252 Likewise.
4253 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4254 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4255 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4256 Likewise.
4257 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4258 Likewise.
4259 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4260 comments.
4261 [__USE_MISC]: Remove redundant conditionals.
4262 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4263 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4264 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4265 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4266 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4267 Likewise.
4268 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4269 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4270 Likewise.
4271 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4272 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4273 Likewise.
4274 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4275 Likewise.
4276 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4277 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4278 Likewise.
4279 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4280 Likewise.
4281 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4282 * sysdeps/x86/bits/string.h: Update #endif comments.
4283 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4284 conditionals.
4285 * time/sys/time.h: Update #endif comments.
4286 * time/time.h: Likewise.
4287 [__USE_MISC]: Remove redundant conditionals.
4288
a5d82e4e
YG
42892014-02-21 Yury Gribov <y.gribov@samsung.com>
4290
4291 [BZ #16600]
4292 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4293
9a80491d
AS
42942014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4295
4296 * Versions.def (librt): Add GLIBC_2.17.
4297
105fa381
AC
42982014-02-21 Adam Conrad <adconrad@0c3.net>
4299
4300 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4301 synonym for _SYS_AUXV_H to allow direct inclusion.
4302 * sysdeps/sparc/bits/hwcap.h: Likewise.
4303 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4304 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4305 * sysdeps/sparc/sysdep.h: Likewise.
4306
b8cd1c4e
SP
43072014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4308
4309 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4310
bd939d23
RS
43112014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4312
4313 * benchtests/bench-strrchr.c: Print length instead of position.
4314
5d7b57ca
JM
43152014-02-20 Joseph Myers <joseph@codesourcery.com>
4316
bc688c10
JM
4317 [BZ #16611]
4318 * sysdeps/unix/sysv/linux/kernel-features.h
4319 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4320 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4321 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4322 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4323 Likewise.
4324 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4325 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4326 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4327 (__ASSUME_SENDMMSG): Define instead of using previous
4328 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4329 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4330 (__ASSUME_SENDMMSG_SYSCALL): Define.
4331 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4332 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4333 Likewise.
4334 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4335 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4336 Likewise.
4337 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4338 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4339 Likewise.
4340 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4341 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4342 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4343 [__ASSUME_SENDMMSG]: Change conditionals to
4344 [__ASSUME_SENDMMSG_SOCKETCALL].
4345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4346 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4347 Define.
4348 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4349 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4350 Likewise.
4351 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4352 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4353 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4354 [!__ASSUME_SENDMMSG]: Change conditional to
4355 [!__ASSUME_SENDMMSG_SOCKETCALL].
4356 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4357 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4358 Define.
4359
0e31b18c
JM
4360 [BZ #16610]
4361 * sysdeps/unix/sysv/linux/kernel-features.h
4362 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4363 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4364 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4365 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4366 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4367 [__i386__ || __sparc__]
4368 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4369 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4370 (__ASSUME_RECVMMSG): Define instead of using previous
4371 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4372 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4373 (__ASSUME_RECVMMSG_SYSCALL): Define.
4374 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4375 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4376 Likewise.
4377 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4378 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4379 Likewise.
4380 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4381 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4382 Likewise.
4383 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4384 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4385 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4386 [__ASSUME_RECVMMSG]: Change condition to
4387 [__ASSUME_RECVMMSG_SOCKETCALL].
4388 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4389 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4390 Define.
4391 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4392 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4393 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4394 Likewise.
4395 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4396 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4397 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4398 [!__ASSUME_RECVMMSG]: Change condition to
4399 [!__ASSUME_RECVMMSG_SOCKETCALL].
4400 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4401 (__ASSUME_RECVMMSG_SYSCALL): Define.
4402
dd481ccf
JM
4403 [BZ #16609]
4404 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4405 __powerpc__ || __s390__ || __sh__ || __sparc__]
4406 (__ASSUME_SOCKETCALL): Define.
4407 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4408 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4409 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4410 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4411 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4412 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4413 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4414 (__ASSUME_ACCEPT4): Define instead of using previous
4415 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4416 __powerpc__ || __sparc__ || __s390__)] condition.
4417 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4418 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4419 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4420 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4421 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4422 [!__ASSUME_ACCEPT4]: Change condition to
4423 [!__ASSUME_ACCEPT4_SOCKETCALL].
4424 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4425 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4426 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4427 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4428 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4429 __ASSUME_ACCEPT4_SYSCALL.
4430 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4431 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4432 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4433 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4434 __ASSUME_ACCEPT4_SYSCALL.
4435 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4436 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4437 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4438 [__ASSUME_ACCEPT4]: Change condition to
4439 [__ASSUME_ACCEPT4_SOCKETCALL].
4440 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4441 (__ASSUME_SOCKETCALL): Define.
4442 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4443 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4444 (__ASSUME_SOCKETCALL): Define.
4445 (__ASSUME_ACCEPT4): Remove.
4446 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4447 Define.
4448 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4449 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4450 Likewise.
4451 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4452 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4453
5d7b57ca
JM
4454 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4455 macro.
4456 (HWCAP_ARM_LPAE): Likewise.
4457 (HWCAP_ARM_EVTSTRM): Likewise.
4458 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4459 Add vpfd32, lpae and evtstrm.
4460 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4461 Increase to 22.
4462
63689d61
JM
44632014-02-19 Joseph Myers <joseph@codesourcery.com>
4464
4465 * math/auto-libm-test-in: Add tests of clog10.
4466 * math/auto-libm-test-out: Regenerated.
4467 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4468 * sysdeps/i386/fpu/libm-test-ulps: Update.
4469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4470
ab09bf61
AS
44712014-02-18 Andreas Schwab <schwab@suse.de>
4472
4473 [BZ #16574]
4474 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4475 Store non-zero if the second buffer was newly allocated.
4476 (send_dg): Likewise.
4477 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4478 to send_vc and send_dg.
4479 (res_nsend): Pass NULL for ansp2_malloced.
4480 * resolv/res_query.c (__libc_res_nquery): Add parameter
4481 answerp2_malloced and pass it down to __libc_res_nsend.
4482 (res_nquery): Pass additional NULL to __libc_res_nquery.
4483 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4484 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4485 second answer buffer if answerp2_malloced was set.
4486 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4487 (__libc_res_nquerydomain): Add parameter
4488 answerp2_malloced and pass it down to __libc_res_nquery.
4489 (res_nquerydomain): Pass additional NULL to
4490 __libc_res_nquerydomain.
4491 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4492 additional NULL to __libc_res_nsend and __libc_res_nquery.
4493 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4494 additional NULL to __libc_res_nsearch.
4495 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4496 parameter of __libc_res_nsearch to check for separately allocated
4497 second buffer.
4498 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4499 __libc_res_nquery.
4500 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4501 additional NULL to __libc_res_nquery.
4502 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4503 __libc_res_nsearch.
4504 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4505 * include/resolv.h: Update prototypes of __libc_res_nquery,
4506 __libc_res_nsearch, __libc_res_nsend.
4507
a4fb7861
JM
45082014-02-18 Joseph Myers <joseph@codesourcery.com>
4509
c6af2d89
JM
4510 * math/auto-libm-test-in: Add tests of fma.
4511 * math/auto-libm-test-out: Regenerated.
4512 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4513 (fma_towardzero_test_data): Likewise.
4514 (fma_downward_test_data): Likewise.
4515 (fma_upward_test_data): Likewise.
4516 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4517 mpc_mode.
4518 (rounding_modes): Add values for new field.
4519 (func_calc_method): Add value mpfr_fff_f.
4520 (func_calc_desc): Add mpfr_fff_f union field.
4521 (test_function): Add field exact_args.
4522 (FUNC): Add macro argument EXACT_ARGS.
4523 (FUNC_mpfr_f_f): Update call to FUNC.
4524 (FUNC_mpfr_f_f): Likewise.
4525 (FUNC_mpfr_ff_f): Likewise.
4526 (FUNC_mpfr_if_f): Likewise.
4527 (FUNC_mpc_c_f): Likewise.
4528 (FUNC_mpc_c_c): Likewise.
4529 (test_functions): Add fma. Update calls to FUNC.
4530 (handle_input_arg): Add argument exact_args.
4531 (add_test): Update call to handle_input_arg.
4532 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4533 (output_for_one_input_case): Update call to calc_generic_results.
4534 Recalculate exact zero results in each rounding mode.
4535
a4fb7861
JM
4536 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4537 non-negative before setting low bit.
4538 * math/auto-libm-test-in: Mark one asin test possibly having
4539 spurious underflow.
4540 * math/auto-libm-test-out: Regenerated.
4541 * sysdeps/i386/fpu/libm-test-ulps: Update.
4542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4543
ef114eaf
DH
45442014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4545
2b7f4f2c
SP
4546 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4547 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4548 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
4549 * README: Add missing listing for microblaze*-*-linux-gnu.
4550
c70a4b1d
MF
45512014-02-16 Mike Frysinger <vapier@gentoo.org>
4552
4553 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4554 * sysdeps/unix/sysv/linux/ia64: Move directory from
4555 ports/sysdeps/unix/sysv/linux/ia64.
4556 * README: Update listing for ia64-*-linux-gnu.
4557
591aeaf7
TD
45582014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4559 Joseph Myers <joseph@codesourcery.com>
4560
4561 * Makeconfig (test-name): New variable.
4562 (evaluate-test): Likewise.
4563 * Makerules (do-test-clean): Remove .test-result files.
4564 (common-mostlyclean): Likewise.
4565 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4566 * scripts/evaluate-test.sh: New file.
4567
6e89caf1
JM
45682014-02-14 Joseph Myers <joseph@codesourcery.com>
4569
7f98f180
JM
4570 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4571 separate $(objpfx)tst-fopenloc-cmp.out and
4572 $(objpfx)tst-fopenloc-mem.out targets.
4573 (tests): Update dependencies.
4574 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4575 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4576 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4577 (tst-rxspencer-no-utf8-ARGS): New variable.
4578 (tst-rxspencer-no-utf8-ENV): Likewise.
4579 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4580 instead of $(objpfx)tst-rxspencer-mem.
4581 ($(objpfx)tst-rxspencer-mem): Change target to
4582 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4583 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4584 * posix/tst-rxspencer-no-utf8.c: New file.
4585
6e89caf1
JM
4586 * elf/Makefile ($(objpfx)order.out): Remove rule.
4587 [$(run-built-tests) = yes] (tests): Depend on
4588 $(objpfx)order-cmp.out.
4589 ($(objpfx)order-cmp.out): New rule.
4590 [$(run-built-tests) = yes] (tests): Depend on
4591 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4592 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4593 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4594 $(objpfx)tst-array5-static-cmp.out.
4595 ($(objpfx)tst-array1.out): Remove rule.
4596 ($(objpfx)tst-array1-cmp.out): New rule.
4597 ($(objpfx)tst-array1-static.out): Remove rule.
4598 ($(objpfx)tst-array1-static-cmp.out): New rule.
4599 ($(objpfx)tst-array2.out): Remove rule.
4600 ($(objpfx)tst-array2-cmp.out): New rule.
4601 ($(objpfx)tst-array3.out): Remove rule.
4602 ($(objpfx)tst-array3-cmp.out): New rule.
4603 ($(objpfx)tst-array4.out): Remove rule.
4604 ($(objpfx)tst-array4-cmp.out): New rule.
4605 ($(objpfx)tst-array5.out): Remove rule.
4606 ($(objpfx)tst-array5-cmp.out): New rule.
4607 ($(objpfx)tst-array5-static.out): Remove rule.
4608 ($(objpfx)tst-array5-static-cmp.out): New rule.
4609 [$(run-built-tests) = yes] (tests): Depend on
4610 $(objpfx)order2-cmp.out.
4611 ($(objpfx)order2.out): Remove rule.
4612 ($(objpfx)order2-cmp.out): New rule.
4613 ($(objpfx)tst-initorder.out): Remove rule.
4614 [$(run-built-tests) = yes] (tests): Depend on
4615 $(objpfx)tst-initorder-cmp.out.
4616 ($(objpfx)tst-initorder-cmp.out): New rule.
4617 ($(objpfx)tst-initorder2.out): Remove rule.
4618 [$(run-built-tests) = yes] (tests): Depend on
4619 $(objpfx)tst-initorder2-cmp.out.
4620 ($(objpfx)tst-initorder2-cmp.out): New rule.
4621 [$(run-built-tests) = yes] (tests): Depend on
4622 $(objpfx)tst-unused-dep-cmp.out.
4623 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4624 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4625 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4626 on $(objpfx)tst-setvbuf1-cmp.out.
4627 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4628 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4629 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4630 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4631 ($(objpfx)tst-svc.out): Remove rule.
4632 ($(objpfx)tst-svc-cmp.out): New rule.
4633
ed9a38e2
JM
46342014-02-13 Joseph Myers <joseph@codesourcery.com>
4635
4636 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4637 * ctype/ctype.h [__USE_MISC]: Likewise.
4638 * dirent/dirent.h [__USE_MISC]: Likewise.
4639 * grp/grp.h [__USE_MISC]: Likewise.
4640 * io/fcntl.h [__USE_MISC]: Likewise.
4641 * io/sys/stat.h [__USE_MISC]: Likewise.
4642 * libio/stdio.h [__USE_MISC]: Likewise.
4643 * posix/unistd.h [__USE_MISC]: Likewise.
4644 * pwd/pwd.h [__USE_MISC]: Likewise.
4645 * stdlib.h [__USE_MISC]: Likewise.
4646 * string/bits/string2.h [__USE_MISC]: Likewise.
4647 * string/string.h [__USE_MISC]: Likewise.
4648 * time/time.h [__USE_MISC]: Likewise.
4649
d6680619
AS
46502014-02-13 Andreas Schwab <schwab@suse.de>
4651
4652 [BZ #16574]
4653 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4654 second answer buffer if it was separately allocated.
4655
ace614b8
JM
46562014-02-12 Joseph Myers <joseph@codesourcery.com>
4657
743151ae
JM
4658 * sysdeps/mips/math-tests.h: Include <features.h>.
4659 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4660 (ROUNDING_TESTS_long_double): Do not define.
4661 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4662 (EXCEPTION_TESTS_long_double): Likewise.
4663 * sysdeps/mips/mips64/libm-test-ulps: Update.
4664
498afc54
JM
4665 * include/features.h (__USE_BSD): Remove macro definitions.
4666 (__USE_SVID): Likewise.
4667 (_BSD_SOURCE): Likewise.
4668 (_SVID_SOURCE): Likewise.
4669 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4670 from definition of _DEFAULT_SOURCE.
4671 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4672 [_DEFAULT_SOURCE].
4673 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4674 * bits/mman.h [__USE_BSD]: Likewise.
4675 * bits/termios.h [__USE_BSD]: Likewise.
4676 * bits/waitstatus.h [__USE_BSD]: Likewise.
4677 * ctype/ctype.h [__USE_SVID]: Likewise.
4678 * dirent/dirent.h [__USE_BSD]: Likewise.
4679 * grp/grp.h [__USE_SVID]: Likewise.
4680 [__USE_BSD]: Likewise.
4681 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4682 * io/fcntl.h [__USE_BSD]: Likewise.
4683 * io/ftw.h [__USE_BSD]: Likewise.
4684 * io/sys/stat.h [__USE_BSD]: Likewise.
4685 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4686 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4687 * libio/stdio.h [__USE_SVID]: Likewise.
4688 [__USE_BSD]: Likewise.
4689 * math/math.h [__USE_SVID]: Likewise.
4690 [__USE_BSD]: Likewise.
4691 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4692 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4693 * misc/search.h [__USE_SVID]: Likewise.
4694 * misc/sys/mman.h [__USE_BSD]: Likewise.
4695 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4696 * misc/sys/uio.h [__USE_BSD]: Likewise.
4697 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4698 * posix/glob.h [__USE_BSD]: Likewise.
4699 * posix/regex.h [__USE_BSD]: Likewise.
4700 * posix/sys/types.h [__USE_BSD]: Likewise.
4701 [__USE_SVID]: Likewise.
4702 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4703 * posix/sys/wait.h [__USE_BSD]: Likewise.
4704 [__USE_SVID]: Likewise.
4705 * posix/unistd.h [__USE_BSD]: Likewise.
4706 [__USE_SVID]: Likewise.
4707 * pwd/pwd.h [__USE_SVID]: Likewise.
4708 * resolv/netdb.h [__USE_BSD]: Likewise.
4709 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4710 * signal/signal.h [__USE_BSD]: Likewise.
4711 [__USE_SVID]: Likewise.
4712 * socket/sys/socket.h [__USE_BSD]: Likewise.
4713 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4714 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4715 [__USE_SVID]: Likewise.
4716 * string/bits/string2.h [__USE_BSD]: Likewise.
4717 [__USE_SVID]: Likewise.
4718 * string/bits/string3.h [__USE_BSD]: Likewise.
4719 * string/endian.h [__USE_BSD]: Likewise.
4720 * string/string.h [__USE_SVID]: Likewise.
4721 [__USE_BSD]: Likewise.
4722 * string/strings.h [__USE_BSD]: Likewise.
4723 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4724 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4725 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4726 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4727 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4728 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4729 Likewise.
4730 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4731 Likewise.
4732 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4733 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4734 Likewise.
4735 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4736 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4737 Likewise.
4738 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4739 Likewise.
4740 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4741 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4742 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4743 Likewise.
4744 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4745 Likewise.
4746 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4747 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4748 * termios/termios.h [__USE_BSD]: Likewise.
4749 * time/sys/time.h [__USE_BSD]: Likewise.
4750 * time/time.h [__USE_BSD]: Likewise.
4751 [__USE_SVID]: Likewise.
4752
dd7b064c
JM
4753 * Makefile (subdir_targets): Remove subdir_lint.out.
4754
a2c4c199
JM
4755 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4756 (do-tst-printf): Likewise.
4757 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4758 $(objpfx)tst-printf.out.
4759
8756f740
JM
4760 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4761
1b6dd3f1
JM
4762 * Makerules (check-abi-%): Change target to
4763 $(objpfx)check-abi-%.out.
4764 (check-abi target): Update dependencies.
4765 (check-abi-pattern variable): Redirect output of diff to $@.
4766 (check-abi variable): Likewise.
4767 * elf/Makefile (check-abi): Update dependencies.
4768
ace614b8
JM
4769 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4770 unused.
4771 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4772 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4773 subnormal range.
4774 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4775 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4776 value has largest subnormal exponent.
4777 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4778 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4779 * sysdeps/aarch64/soft-fp/sfp-machine.h
4780 (_FP_TININESS_AFTER_ROUNDING): New macro.
4781 * sysdeps/alpha/soft-fp/sfp-machine.h
4782 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4783 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4784 Likewise.
4785 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4786 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4787 * sysdeps/mips/soft-fp/sfp-machine.h
4788 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4789 * sysdeps/powerpc/soft-fp/sfp-machine.h
4790 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4791 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4792 Likewise.
4793 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4794 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4795 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4796 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4797 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4798 Likewise.
4799
fbfdf9cb
DAS
48002014-02-12 Dylan Alex Simon <dylan@dylex.net>
4801
4802 [BZ #16545]
4803 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4804 model 1.
4805
68b7efaa
RH
48062014-02-12 Richard Henderson <rth@redhat.com>
4807
c70a4b1d 4808 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4809 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4810 * sysdeps/unix/sysv/linux/alpha: Move directory from
4811 ports/sysdeps/unix/sysv/linux/alpha.
4812 * README: Update listing for alpha-*-linux-gnu.
4813
cb4a2928
JM
48142014-02-11 Joseph Myers <joseph@codesourcery.com>
4815
c941736c
JM
4816 * include/features.h: Update comment documenting feature test
4817 macros.
4818 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4819 _DEFAULT_SOURCE.
4820 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4821 (_SVID_SOURCE): Likewise.
4822 (_DEFAULT_SOURCE): Update description of default features.
4823 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4824 with _GNU_SOURCE.
4825 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4826 (S_ISVTX): Likewise.
4827 * manual/math.texi (Mathematical Constants): Likewise.
4828 * manual/signal.texi (Interrupted Primitives): Likewise.
4829 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4830 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4831 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4832 Don't refer to _SVID_SOURCE in warning text.
4833
e8d8d7ec
JM
4834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4835
cb4a2928
JM
4836 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4837 already defined.
4838 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4839 * sysdeps/mips/dl-lookup.c: Remove.
4840 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4841
7e6424e3
AK
48422014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4843
4844 [BZ #16447]
4845 * math/auto-libm-test-in: Add testcase for expl.
4846 * math/auto-libm-test-out: Regenerate.
4847 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4848 calculation of unsafe.
4849 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4850
75eff3fe
MS
48512014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4852
4853 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4854 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4855 ports/sysdeps/unix/sysv/linux/aarch64.
4856 * README: Update listing for aarch64*-*-linux-gnu.
4857
d35f1e80
WN
48582014-02-11 Will Newton <will.newton@linaro.org>
4859
4860 * manual/probes.texi (Mathematical Function Probes): Use
4861 "triggered" instead of "hit".
4862
7b3436d4
WN
4863 * manual/probes.texi (Internal Probes): Add documentation
4864 of setjmp, longjmp and longjmp_target probes.
4865
b4f12ca3
WN
4866 * include/stap-probe.h: Add comment about probe argument
4867 format.
4868
c13a72b7
WN
4869 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4870 definition. (tr_where, tr_freehook, tr_mallochook,
4871 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4872
195b8165
DM
48732014-02-11 David S. Miller <davem@davemloft.net>
4874
4875 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4876 processing int_tests.
4877
2ad7600b
JM
48782014-02-10 Joseph Myers <joseph@codesourcery.com>
4879
4880 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4881 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4882 * sysdeps/unix/sysv/linux/mips: Move directory from
4883 ports/sysdeps/unix/sysv/linux/mips.
4884 * README: Update listing for mips-*-linux-gnu and
4885 mips64-*-linux-gnu.
4886
73588a72
AS
48872014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4888
4889 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4890 * sysdeps/unix/sysv/linux/m68k: Move directory from
4891 ports/sysdeps/unix/sysv/linux/m68k.
4892 * README: Update listing for m68k-*-linux-gnu.
4893
4372980f
CM
48942014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4895
4896 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4897 * sysdeps/unix/sysv/linux/generic: Move directory from
4898 ports/sysdeps/unix/sysv/linux/generic.
4899 * sysdeps/unix/sysv/linux/tile: Move directory from
4900 ports/sysdeps/unix/sysv/linux/tile.
4901 * README: Update listing for tile*-*-linux-gnu.
4902
a1ffb40e
OB
49032014-02-10 Ondřej Bílka <neleai@seznam.cz>
4904
57f41c40
AS
4905 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4906 __builtin_expect.
a1ffb40e
OB
4907 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4908 * catgets/open_catalog.c (__open_catalog): Likewise.
4909 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4910 * debug/confstr_chk.c: Likewise.
4911 * debug/fread_chk.c (__fread_chk): Likewise.
4912 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4913 * debug/getgroups_chk.c: Likewise.
4914 * debug/mbsnrtowcs_chk.c: Likewise.
4915 * debug/mbsrtowcs_chk.c: Likewise.
4916 * debug/mbstowcs_chk.c: Likewise.
4917 * debug/memcpy_chk.c: Likewise.
4918 * debug/memmove_chk.c: Likewise.
4919 * debug/mempcpy_chk.c: Likewise.
4920 * debug/memset_chk.c: Likewise.
4921 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4922 * debug/strcat_chk.c (__strcat_chk): Likewise.
4923 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4924 * debug/strncat_chk.c (__strncat_chk): Likewise.
4925 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4926 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4927 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4928 * debug/wcpncpy_chk.c: Likewise.
4929 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4930 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4931 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4932 * debug/wcsncpy_chk.c: Likewise.
4933 * debug/wcsnrtombs_chk.c: Likewise.
4934 * debug/wcsrtombs_chk.c: Likewise.
4935 * debug/wcstombs_chk.c: Likewise.
4936 * debug/wmemcpy_chk.c: Likewise.
4937 * debug/wmemmove_chk.c: Likewise.
4938 * debug/wmempcpy_chk.c: Likewise.
4939 * debug/wmemset_chk.c: Likewise.
4940 * dirent/scandirat.c (SCANDIRAT): Likewise.
4941 * dlfcn/dladdr1.c (dladdr1): Likewise.
4942 * dlfcn/dladdr.c (dladdr): Likewise.
4943 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4944 * dlfcn/dlerror.c (__dlerror): Likewise.
4945 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4946 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4947 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4948 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4949 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4950 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4951 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4952 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4953 Likewise.
4954 * elf/dl-conflict.c: Likewise.
4955 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4956 * elf/dl-dst.h: Likewise.
4957 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4958 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4959 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4960 * elf/dl-init.c (call_init, _dl_init): Likewise.
4961 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4962 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4963 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4964 Likewise.
a1ffb40e
OB
4965 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4966 Likewise.
4967 * elf/dl-minimal.c (__libc_memalign): Likewise.
4968 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4969 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4970 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4971 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4972 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4973 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4974 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4975 * elf/dl-writev.h (_dl_writev): Likewise.
4976 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4977 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4978 (dl_main): Likewise.
a1ffb40e
OB
4979 * elf/setup-vdso.h (setup_vdso): Likewise.
4980 * grp/compat-initgroups.c (compat_call): Likewise.
4981 * grp/fgetgrent.c (fgetgrent): Likewise.
4982 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4983 * grp/putgrent.c (putgrent): Likewise.
4984 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4985 Likewise.
4986 * hurd/hurdinit.c: Likewise.
4987 * iconvdata/8bit-gap.c (struct): Likewise.
4988 * iconvdata/ansi_x3.110.c : Likewise.
4989 * iconvdata/big5.c : Likewise.
4990 * iconvdata/big5hkscs.c : Likewise.
4991 * iconvdata/cp1255.c: Likewise.
4992 * iconvdata/cp1258.c : Likewise.
4993 * iconvdata/cp932.c : Likewise.
4994 * iconvdata/euc-cn.c: Likewise.
4995 * iconvdata/euc-jisx0213.c : Likewise.
4996 * iconvdata/euc-jp.c: Likewise.
4997 * iconvdata/euc-jp-ms.c : Likewise.
4998 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4999 * iconvdata/gb18030.c : Likewise.
5000 * iconvdata/gbbig5.c (const): Likewise.
5001 * iconvdata/gbgbk.c: Likewise.
5002 * iconvdata/gbk.c : Likewise.
5003 * iconvdata/ibm1364.c : Likewise.
5004 * iconvdata/ibm930.c : Likewise.
5005 * iconvdata/ibm932.c: Likewise.
5006 * iconvdata/ibm933.c : Likewise.
5007 * iconvdata/ibm935.c : Likewise.
5008 * iconvdata/ibm937.c : Likewise.
5009 * iconvdata/ibm939.c : Likewise.
5010 * iconvdata/ibm943.c: Likewise.
5011 * iconvdata/iso_11548-1.c: Likewise.
5012 * iconvdata/iso-2022-cn.c : Likewise.
5013 * iconvdata/iso-2022-cn-ext.c : Likewise.
5014 * iconvdata/iso-2022-jp-3.c: Likewise.
5015 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5016 * iconvdata/iso-2022-kr.c : Likewise.
5017 * iconvdata/iso646.c (gconv_end): Likewise.
5018 * iconvdata/iso_6937-2.c : Likewise.
5019 * iconvdata/iso_6937.c : Likewise.
5020 * iconvdata/iso8859-1.c: Likewise.
5021 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5022 * iconvdata/shift_jisx0213.c : Likewise.
5023 * iconvdata/sjis.c : Likewise.
5024 * iconvdata/t.61.c : Likewise.
5025 * iconvdata/tcvn5712-1.c : Likewise.
5026 * iconvdata/tscii.c: Likewise.
5027 * iconvdata/uhc.c : Likewise.
5028 * iconvdata/unicode.c (gconv_end): Likewise.
5029 * iconvdata/utf-16.c (gconv_end): Likewise.
5030 * iconvdata/utf-32.c (gconv_end): Likewise.
5031 * iconvdata/utf-7.c (base64): Likewise.
5032 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5033 * iconv/gconv_close.c (__gconv_close): Likewise.
5034 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5035 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5036 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5037 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5038 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5039 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5040 * iconv/iconv.c (iconv): Likewise.
5041 * iconv/iconv_close.c: Likewise.
5042 * iconv/loop.c (SINGLE): Likewise.
5043 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5044 * include/atomic.h: Likewise.
5045 * inet/inet6_option.c (option_alloc): Likewise.
5046 * intl/bindtextdom.c (set_binding_values): Likewise.
5047 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5048 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5049 * intl/localealias.c (read_alias_file): Likewise.
5050 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5051 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5052 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5053 * libio/fmemopen.c (fmemopen): Likewise.
5054 * libio/iofgets.c (_IO_fgets): Likewise.
5055 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5056 * libio/iofgetws.c (fgetws): Likewise.
5057 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5058 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5059 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5060 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5061 * locale/findlocale.c (_nl_find_locale): Likewise.
5062 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5063 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5064 Likewise.
5065 * locale/setlocale.c (setlocale): Likewise.
5066 * login/programs/pt_chown.c (main): Likewise.
5067 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5068 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5069 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5070 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5071 * math/e_exp2l.c: Likewise.
5072 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5073 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5074 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5075 * math/s_catan.c (__catan): Likewise.
5076 * math/s_catanf.c (__catanf): Likewise.
5077 * math/s_catanh.c (__catanh): Likewise.
5078 * math/s_catanhf.c (__catanhf): Likewise.
5079 * math/s_catanhl.c (__catanhl): Likewise.
5080 * math/s_catanl.c (__catanl): Likewise.
5081 * math/s_ccosh.c (__ccosh): Likewise.
5082 * math/s_ccoshf.c (__ccoshf): Likewise.
5083 * math/s_ccoshl.c (__ccoshl): Likewise.
5084 * math/s_cexp.c (__cexp): Likewise.
5085 * math/s_cexpf.c (__cexpf): Likewise.
5086 * math/s_cexpl.c (__cexpl): Likewise.
5087 * math/s_clog10.c (__clog10): Likewise.
5088 * math/s_clog10f.c (__clog10f): Likewise.
5089 * math/s_clog10l.c (__clog10l): Likewise.
5090 * math/s_clog.c (__clog): Likewise.
5091 * math/s_clogf.c (__clogf): Likewise.
5092 * math/s_clogl.c (__clogl): Likewise.
5093 * math/s_csin.c (__csin): Likewise.
5094 * math/s_csinf.c (__csinf): Likewise.
5095 * math/s_csinh.c (__csinh): Likewise.
5096 * math/s_csinhf.c (__csinhf): Likewise.
5097 * math/s_csinhl.c (__csinhl): Likewise.
5098 * math/s_csinl.c (__csinl): Likewise.
5099 * math/s_csqrt.c (__csqrt): Likewise.
5100 * math/s_csqrtf.c (__csqrtf): Likewise.
5101 * math/s_csqrtl.c (__csqrtl): Likewise.
5102 * math/s_ctan.c (__ctan): Likewise.
5103 * math/s_ctanf.c (__ctanf): Likewise.
5104 * math/s_ctanh.c (__ctanh): Likewise.
5105 * math/s_ctanhf.c (__ctanhf): Likewise.
5106 * math/s_ctanhl.c (__ctanhl): Likewise.
5107 * math/s_ctanl.c (__ctanl): Likewise.
5108 * math/w_pow.c: Likewise.
5109 * math/w_powf.c: Likewise.
5110 * math/w_powl.c: Likewise.
5111 * math/w_scalb.c (sysv_scalb): Likewise.
5112 * math/w_scalbf.c (sysv_scalbf): Likewise.
5113 * math/w_scalbl.c (sysv_scalbl): Likewise.
5114 * misc/error.c (error_tail): Likewise.
5115 * misc/pselect.c (__pselect): Likewise.
5116 * nis/nis_callback.c (__nis_create_callback): Likewise.
5117 * nis/nis_call.c (__nisfind_server): Likewise.
5118 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5119 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5120 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5121 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5122 * nis/nis_lookup.c (nis_lookup): Likewise.
5123 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5124 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5125 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5126 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5127 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5128 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5129 * nis/nss_compat/compat-initgroups.c (add_group)
5130 (internal_getgrent_r): Likewise.
5131 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5132 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5133 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5134 (internal_getspnam_r): Likewise.
5135 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5136 (_nss_nis_getaliasbyname_r): Likewise.
5137 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5138 (_nss_nis_getntohost_r): Likewise.
5139 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5140 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5141 (_nss_nis_getgrgid_r): Likewise.
5142 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5143 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5144 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5145 (_nss_nis_gethostbyname4_r): Likewise.
5146 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5147 (initgroups_netid): Likewise.
a1ffb40e 5148 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
5149 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5150 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5151 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5152 (_nss_nis_getprotobynumber_r): Likewise.
5153 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5154 (_nss_nis_getsecretkey): Likewise.
5155 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5156 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5157 (_nss_nis_getpwuid_r): Likewise.
5158 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5159 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5160 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5161 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5162 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5163 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
5164 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5165 Likewise.
57f41c40
AS
5166 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5167 (_nss_nisplus_getntohost_r): Likewise.
5168 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5169 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5170 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5171 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 5172 Likewise.
57f41c40
AS
5173 * nis/nss_nisplus/nisplus-initgroups.c
5174 (_nss_nisplus_initgroups_dyn): Likewise.
5175 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5176 (_nss_nisplus_getnetbyaddr_r): Likewise.
5177 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5178 (_nss_nisplus_getprotobynumber_r): Likewise.
5179 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5180 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
5181 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5182 Likewise.
57f41c40
AS
5183 * nis/nss_nisplus/nisplus-service.c
5184 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5185 (_nss_nisplus_getservbyport_r): Likewise.
5186 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5187 (_nss_nisplus_getspnam_r): Likewise.
5188 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5189 Likewise.
a1ffb40e
OB
5190 * nscd/aicache.c (addhstaiX): Likewise.
5191 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
5192 * nscd/connections.c (register_traced_file, send_ro_fd)
5193 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5194 (main_loop_epoll): Likewise.
a1ffb40e
OB
5195 * nscd/grpcache.c (addgrbyX): Likewise.
5196 * nscd/hstcache.c (addhstbyX): Likewise.
5197 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5198 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
5199 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5200 (addinnetgrX): Likewise.
5201 * nscd/nscd-client.h (__nscd_acquire_maplock)
5202 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
5203 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5204 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5205 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5206 Likewise.
5207 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5208 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
5209 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5210 (__nscd_get_map_ref): Likewise.
a1ffb40e 5211 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
5212 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5213 Likewise.
a1ffb40e
OB
5214 * nscd/pwdcache.c (addpwbyX): Likewise.
5215 * nscd/selinux.c (preserve_capabilities): Likewise.
5216 * nscd/servicescache.c (addservbyX): Likewise.
5217 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5218 * posix/fnmatch.c (fnmatch): Likewise.
5219 * posix/getopt.c (_getopt_internal_r): Likewise.
5220 * posix/glob.c (glob, glob_in_dir): Likewise.
5221 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5222 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5223 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5224 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5225 * resolv/res_init.c: Likewise.
5226 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5227 * resolv/res_query.c (__libc_res_nquery): Likewise.
5228 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5229 Likewise.
5230 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5231 * stdio-common/perror.c (perror): Likewise.
5232 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5233 * stdio-common/tmpnam.c (tmpnam): Likewise.
5234 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5235 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5236 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5237 Likewise.
a1ffb40e
OB
5238 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5239 * stdlib/putenv.c (putenv): Likewise.
5240 * stdlib/setenv.c (__add_to_environ): Likewise.
5241 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5242 * stdlib/strtol_l.c (INTERNAL): Likewise.
5243 * string/memmem.c (memmem): Likewise.
5244 * string/strerror.c (strerror): Likewise.
5245 * string/strnlen.c (__strnlen): Likewise.
5246 * string/test-memmem.c (simple_memmem): Likewise.
5247 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5248 * sunrpc/pm_getport.c (__get_socket): Likewise.
5249 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5250 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5251 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5252 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5253 Likewise.
5254 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5255 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5256 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5257 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5258 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5259 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5260 Likewise.
5261 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5262 Likewise.
a1ffb40e
OB
5263 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5264 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5265 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5266 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5267 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5269 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5270 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5271 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5272 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5273 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5274 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5275 Likewise.
5276 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5277 Likewise.
5278 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5279 Likewise.
5280 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5281 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5282 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5283 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5284 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5285 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5286 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5287 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5290 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5292 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5293 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5295 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5296 Likewise.
a1ffb40e
OB
5297 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5298 Likewise.
5299 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5300 Likewise.
5301 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5302 Likewise.
5303 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5304 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5305 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5306 Likewise.
5307 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5308 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5309 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5310 * sysdeps/posix/sleep.c: Likewise.
5311 * sysdeps/posix/tempname.c: Likewise.
5312 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5313 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5314 Likewise.
57f41c40
AS
5315 * sysdeps/powerpc/powerpc32/dl-machine.h
5316 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
5317 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5318 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5319 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5320 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5321 Likewise.
5322 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5323 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5324 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5325 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5326 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5327 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5328 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5329 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5330 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5331 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5332 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5333 (elf_machine_lazy_rel): Likewise.
a1ffb40e 5334 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5336 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5337 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5338 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5339 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5340 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5341 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5342 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5343 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5344 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5345 Likewise.
5346 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5347 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5348 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5349 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5350 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5351 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5352 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5353 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5354 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5355 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5356 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5357 Likewise.
5358 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5359 (__posix_fallocate64_l64): Likewise.
5360 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5361 (posix_fallocate): Likewise.
57f41c40
AS
5362 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5363 Likewise.
a1ffb40e 5364 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
5365 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5366 (getifaddrs_internal): Likewise.
a1ffb40e
OB
5367 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5368 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5369 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5370 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5371 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5372 (__posix_fallocate64_l64): Likewise.
5373 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5374 Likewise.
5375 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
5376 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5377 (__get_clockfreq): Likewise.
a1ffb40e
OB
5378 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5379 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5380 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5383 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5384 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5385 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5386 Likewise.
5387 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5388 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5389 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5390 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5391 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5392 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5393 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5394 Likewise.
5395 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5396 (posix_fallocate): Likewise.
5397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5398 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5399 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5400 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5401 (elf_machine_rela, elf_machine_rela_relative)
5402 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5403 * time/asctime.c (asctime_internal): Likewise.
5404 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5405 * time/tzset.c (__tzset_parse_tz): Likewise.
5406 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5407 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5408 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5409 * wcsmbs/wcsmbsload.h: Likewise.
5410
f3d338c9
OB
5411 [BZ #15894]
5412 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5413
57f41c40
AS
5414 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5415 (arena_get2): Remove THREAD_STATS conditionals.
5416 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5417 (__malloc_stats, int): Likewise.
bdfe308a 5418
d674667c
MF
54192014-02-08 Mike Frysinger <vapier@gentoo.org>
5420
5421 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5422 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5423
6349768c
MF
5424 * manual/setjmp.texi: Fix typos/grammar errors.
5425
0b7c7473
MF
5426 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5427 Only return early when n is <= 0. Delete unused return statement.
5428
ac8cc9e3
MF
5429 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5430 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5431 * debug/tst-longjmp_chk3.c: New file.
5432
c5bb8e23
MF
5433 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5434 (test_main): Replace code with set_fortify_handler call.
5435 * debug/test-strcpy_chk.c: Likewise.
5436 * debug/tst-chk1.c: Likewise.
5437 * debug/tst-longjmp_chk.c: Likewise.
5438 * test-skeleton.c: Include fcntl.h & paths.h
5439 (set_fortify_handler): Define.
5440
10444e42
MF
5441 * debug/tst-longjmp_chk.c: Add header comment and include
5442 ../test-skeleton.c.
5443 (do_test): Mark static.
5444 (TEST_FUNCTION): Define.
5445
1e805e8d
MF
5446 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5447 (IP_PMTUDISC_INTERFACE): Likewise.
5448 (IP_MULTICAST_IF): Likewise.
5449 (IP_MULTICAST_TTL): Likewise.
5450 (IP_MULTICAST_LOOP): Likewise.
5451 (IP_ADD_MEMBERSHIP): Likewise.
5452 (IP_DROP_MEMBERSHIP): Likewise.
5453 (IP_UNBLOCK_SOURCE): Likewise.
5454 (IP_BLOCK_SOURCE): Likewise.
5455 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5456 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5457 (IP_MSFILTER): Likewise.
5458 (MCAST_JOIN_GROUP): Likewise.
5459 (MCAST_BLOCK_SOURCE): Likewise.
5460 (MCAST_UNBLOCK_SOURCE): Likewise.
5461 (MCAST_LEAVE_GROUP): Likewise.
5462 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5463 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5464 (MCAST_MSFILTER): Likewise.
5465 (IP_MULTICAST_ALL): Likewise.
5466 (IP_UNICAST_IF): Likewise.
5467
73f79bb7
MF
5468 * timezone/Makefile: Delete $(have-ksh) check.
5469 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5470 * timezone/tzselect.ksh: Add +x mode bits.
5471
8da79b60
MF
5472 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5473 (ANON_INODE_FS_MAGIC): Likewise.
5474 (BDEVFS_MAGIC): Likewise.
5475 (BINFMTFS_MAGIC): Likewise.
5476 (BTRFS_TEST_MAGIC): Likewise.
5477 (CRAMFS_MAGIC_WEND): Likewise.
5478 (DEBUGFS_MAGIC): Likewise.
5479 (ECRYPTFS_SUPER_MAGIC): Likewise.
5480 (EXT3_SUPER_MAGIC): Likewise.
5481 (EXT4_SUPER_MAGIC): Likewise.
5482 (FUTEXFS_SUPER_MAGIC): Likewise.
5483 (HOSTFS_SUPER_MAGIC): Likewise.
5484 (HUGETLBFS_MAGIC): Likewise.
5485 (MINIX3_SUPER_MAGIC): Likewise.
5486 (MTD_INODE_FS_MAGIC): Likewise.
5487 (NILFS_SUPER_MAGIC): Likewise.
5488 (OPENPROM_SUPER_MAGIC): Likewise.
5489 (PIPEFS_MAGIC): Likewise.
5490 (PSTOREFS_MAGIC): Likewise.
5491 (QNX6_SUPER_MAGIC): Likewise.
5492 (RAMFS_MAGIC): Likewise.
5493 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5494 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5495 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5496 (SECURITYFS_MAGIC): Likewise.
5497 (SELINUX_MAGIC): Likewise.
5498 (SMACK_MAGIC): Likewise.
5499 (SOCKFS_MAGIC): Likewise.
5500 (SQUASHFS_MAGIC): Likewise.
5501 (STACK_END_MAGIC): Likewise.
5502 (TMPFS_MAGIC): Likewise.
5503 (USBDEVICE_SUPER_MAGIC): Likewise.
5504 (V9FS_MAGIC): Likewise.
5505 (XENFS_SUPER_MAGIC): Likewise.
5506 (CRAMFS_MAGIC): Fix typo in comment.
5507 (EXT2_SUPER_MAGIC): Update comment.
5508 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5509
464263cc
JM
55102014-02-08 Joseph Myers <joseph@codesourcery.com>
5511
c6bfe5c4
JM
5512 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5513 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5514 * sysdeps/unix/sysv/linux/arm: Move directory from
5515 ports/sysdeps/unix/sysv/linux/arm.
5516 * README: Update listing for arm-*-linux-gnueabi.
5517
464263cc
JM
5518 * README: Remove mention of am33.
5519
32749f6c
RM
55202014-02-07 Roland McGrath <roland@hack.frob.com>
5521
5522 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5523 than the comma operator, to avoid "rhs of comma has no effect"
5524 compiler warnings.
5525 (__sigfillset, __sigandset, __sigorset): Likewise.
5526 * include/signal.h (__sigemptyset): Likewise.
5527 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5528
d5b396c1
AM
55292014-02-07 Allan McRae <allan@archlinux.org>
5530
5531 * version.h (RELEASE): Set to "development".
5532 (VERSION): Set to "2.19.90"
5533 * NEWS: Add 2.20 section.
5534
3bfff2ed
CD
55352014-02-06 Carlos O'Donell <carlos@redhat.com>
5536
5537 [BZ #16529]
5538 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5539
ee7cc385
SP
55402014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5541
5542 * manual/contrib.texi: Update entry for Carlos O'Donell,
5543 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5544
f877c4f2
CD
55452014-02-05 Carlos O'Donell <carlos@rehdat.com>
5546
27e839f6
CD
5547 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5548
f877c4f2
CD
5549 * sysdeps/unix/sysv/linux/kernel-features.h
5550 [__LINUX_KERNEL_VERSION >= 0x020621]
5551 (__ASSUME_PROC_PID_TASK_COMM): Define.
5552
68159946
SP
55532014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5554
ba17cdbd
SP
5555 [BZ #16398]
5556 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5557 conversion when destination buffer does not have enough space.
5558 * libio/tst-ftell-partial-wide.c: New test case.
5559 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5560
68159946
SP
5561 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5562 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5563 Leonard and Allan McRae.
5564
2b528732
DM
55652014-02-04 David S. Miller <davem@davemloft.net>
5566
5567 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5568 32-bit.
5569
0ff82463
AZ
55702014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571
57f41c40
AS
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5573 New file
c01603f7
AZ
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5575 New file
57f41c40
AS
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5577 New file.
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5579 New file.
c01603f7
AZ
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5581 New file.
57f41c40
AS
5582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5583 New file.
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5585 New file.
c01603f7
AZ
5586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5587 New file.
5588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5589 New file.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5591 New file.
5592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5593 New file.
5594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5595 New file.
5596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5597 New file.
5598
55992014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5600
0ff82463
AZ
5601 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5602 * shlib-versions: Likewise.
5603
1695c773
AZ
56042014-02-04 Roland McGrath <roland@hack.frob.com>
5605 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5606
5607 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5608 (abilist-pattern): New variable, set to %-le.abilist.
5609
5610 * Makerules (abilist-pattern): New variable.
5611 (vpath): Use $(abilist-pattern) in place of %.abilist.
5612 (check-abi-% pattern rule): Likewise.
5613 (check-abi, update-abi): Likewise.
5614
6c0ce4b4
EW
56152014-02-04 Eric Wong <normalperson@yhbt.net>
5616
5617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5618
481e3524
CD
56192014-02-03 Carlos O'Donell <carlos@redhat.com>
5620
5621 * manual/startup.texi: Add next, previous, and top entries for
5622 the `Program Arguments' and `Environment Variables' nodes.
5623
375592d3
AO
56242014-02-03 Alexandre Oliva <aoliva@redhat.com>
5625
5626 * manual/macros.texi: Add comments before MTASC-safety macros.
5627
f54838ba
AO
5628 * manual/users.texi: Document MTASC-safety properties.
5629
57f41c40
AS
5630 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5631 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5632 @deftypefun, and add @safety note.
5633 * manual/signal.texi: Move comments that analyze the above
5634 functions to their home place.
5635
fd3daba4
AM
56362014-02-03 Allan McRae <allan@archlinux.org>
5637
5638 * po/sl.po: Update Slovenian translation from translation project.
5639
597636d7
AO
56402014-02-02 Alexandre Oliva <aoliva@redhat.com>
5641
5642 * manual/time.texi (timegm): Add missing blank after @c.
5643 Reported by Joseph Myers <joseph@codesourcery.com>.
5644
ee196e3c
AO
56452014-02-01 Alexandre Oliva <aoliva@redhat.com>
5646
5647 * manual/check-safety.sh: New.
5648 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5649
f8d529d5
AO
5650 * manual/terminal.texi: Document MTASC-safety properties.
5651
de55fdf4
AO
5652 * manual/filesys.texi: Document MTASC-safety properties.
5653
c3299c08
AO
5654 * manual/errno.texi: Document MTASC-safety properties.
5655
06e90b14
AO
5656 * manual/intro.texi: Document safety identifiers and
5657 conditionals.
5658
1acd4371
AO
5659 * manual/string.texi (wcstok): Fix prototype.
5660 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5661
23e5b8cb
AO
5662 * manual/time.texi: Document MTASC-safety properties.
5663
11087373
AO
5664 * manual/string.texi: Document MTASC-safety properties.
5665
5da2c93d
AO
5666 * manual/threads.texi: Document MTASC-safety properties.
5667
171e9210
AO
5668 * manual/stdio.texi: Document MTASC-safety properties.
5669
d9e02532
AO
5670 * manual/syslog.texi: Document MTASC-safety properties.
5671
6af8bab7
AO
5672 * manual/sysinfo.texi: Document MTASC-safety properties.
5673
663b02d7
AO
5674 * manual/startup.texi: Document MTASC-safety properties.
5675
973f180b
AO
5676 * manual/socket.texi: Document MTASC-safety properties.
5677
8f3c25c8
AO
5678 * manual/signal.texi: Document MTASC-safety properties.
5679
542210fb
AO
56802014-01-31 Alexandre Oliva <aoliva@redhat.com>
5681
5682 * manual/setjmp.texi: Document MTASC-safety properties.
5683
433c45a2
AO
5684 * manual/search.texi: Document MTASC-safety properties.
5685
c8ce789c
AO
5686 * manual/resource.texi: Document MTASC-safety properties.
5687
19f5d29c
AO
5688 * manual/process.texi: Document MTASC-safety properties.
5689
e2dfb7f4
AO
5690 * manual/platform.texi: Document MTASC-safety properties.
5691
8c1413f5
AO
5692 * manual/pipe.texi: Document MTASC-safety properties.
5693
03483ada
AO
5694 * manual/pattern.texi: Document MTASC-safety properties.
5695
29e7e2df
AO
5696 * manual/message.texi: Document MTASC-safety properties.
5697
9f529d7c
AO
5698 [BZ #12751]
5699 * manual/memory.texi: Document MTASC-safety properties.
5700
27aaa791
AO
5701 * manual/math.texi: Document MTASC-safety properties.
5702
f2d58726
AO
5703 * manual/locale.texi: Document MTASC-safety properties.
5704
2cc3615c
AO
5705 * manual/llio.texi: Document MTASC-safety properties.
5706
d9f0ec97
AO
5707 * manual/libdl.texi: New.
5708
e7c4409a
AO
5709 * manual/lang.texi: Document MTASC-safety properties.
5710
27bdc63c
AO
5711 * manual/job.texi: Document MTASC-safety properties.
5712
a7b90ea9
AO
5713 * manual/getopt.texi: Document MTASC-safety properties.
5714
c49130e3
AO
5715 * manual/ctype.texi: Document MTASC-safety properties.
5716
0d23a5c1
MR
57172014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5718
5719 [BZ #16046]
5720 * csu/libc-tls.c (static_map): Remove variable.
5721 (__libc_setup_tls): Use main executable's link map for TLS data.
5722 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5723 casing for LM_ID_BASE and GL(dl_nns).
5724 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5725 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5726 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5727 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5728 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5729 member.
5730 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5731 l_phnum members.
5732
0037bb60
AO
57332014-01-30 Alexandre Oliva <aoliva@redhat.com>
5734
5735 * manual/debug.texi: Document MTASC-safety properties.
5736
409e00bd
L
57372014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5738
5739 [BZ #16510]
5740 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5741 of __x86_64__ when disabling x87 inline functions.
5742
86e60666
AO
57432014-01-29 Alexandre Oliva <aoliva@redhat.com>
5744
5745 * manual/charset.texi: Document MTASC-safety properties.
5746
76167637
AO
5747 * manual/crypt.texi: Document MTASC-safety properties.
5748
e567f2a0
AO
5749 * manual/conf.texi: Document MTASC-safety properties.
5750
b719dafd
AO
5751 * manual/arith.texi: Document MTASC-safety properties.
5752
4a16c662
AO
5753 * manual/argp.texi: Document MTASC-safety properties.
5754
0a57b83e
AO
5755 * manual/macros.texi: Introduce macros to document multi
5756 thread, asynchronous signal and asynchronous cancellation
5757 safety properties.
5758 * manual/intro.texi: Introduce the properties themselves.
5759
feab2397
KK
57602014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5761
5762 * sysdeps/sh/sh4/Makefile: New file.
5763
1c0d11bc
AS
57642014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5765
5766 * math/gen-libm-test.pl ($srcdir): New variable.
5767 ($auto_input): Use it.
5768
af37a8a3
SP
57692014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5770
d7b00f98
SP
5771 [BZ #16506]
5772 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5773 access beyond array bounds when parsing netgroups file.
5774
af37a8a3
SP
5775 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5776 the old buffer before realloc.
5777
0c00f062
AM
57782014-01-27 Allan McRae <allan@archlinux.org>
5779
5780 * po/fr.po: Update French translation from translation project.
5781
7d69a1b0
KK
57822014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5783
5784 * sysdeps/sh/libm-test-ulps: Regenerate.
5785
6e697ff7
DM
57862014-01-24 David S. Miller <davem@davemloft.net>
5787
5788 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5789
9cadb35c
KK
57902014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5791
5792 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5793 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5794
5d41dadf
SP
57952013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5796
5797 [BZ #16474]
5798 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5799 string pointers after reallocation.
5800
0bad441c
KK
58012014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5802
5803 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5804 __SH4A__ instead of __SH_FPU_ANY__.
5805
7007c661
KK
58062014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5807
5808 * sysdeps/sh/fpu_control.h: New file.
5809 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5810 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5811 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5812 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5813 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5814 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5815 * sysdeps/sh/sys/ucontext.h: Remove.
5816 * sysdeps/sh/sys: Remove directory.
5817
0f0c35e4
AK
58182014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5819
5820 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5821 s390/sys/ucontext.h.
5822 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5823 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5824
4959e284
L
58252014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5826
5827 [BZ #15605]
5828 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5829
d98720e0
AZ
58302014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831
5832 [BZ#16431]
5833 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5834 Adjust the vDSO correctly for internal calls.
5835 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5836
91cbd0bc
AM
58372014-01-20 Allan McRae <allan@archlinux.org>
5838
5839 * po/ca.po: Update Catalan translation from translation project.
5840
7a02cfad
MF
58412014-01-16 Mike Frysinger <vapier@gentoo.org>
5842
5843 * sysdeps/s390/sotruss-lib.c: New file.
5844
736c304a
AZ
58452014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5846
5847 [BZ#16430]
6e077ee5 5848 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5849 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5850 local calls issues by not having a PLT stub required for IFUNC calls.
5851 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5852
94d0cea0
JM
58532014-01-16 Joseph Myers <joseph@codesourcery.com>
5854
5855 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5856 * math/test-fpucw-static.c: Likewise.
5857
980cb518
SP
58582013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5859
5860 [BZ #16453]
5861 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5862
2393fc01
AZ
58632014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5864
5865 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5866 implementation for powerpc.
5867
d359bcc2
OB
58682014-01-15 Ondřej Bílka <neleai@seznam.cz>
5869
5870 [BZ #14782]
5871 * sysdeps/posix/system.c (__libc_system): Do not enable
5872 asynchronous cancellation.
5873
7beb48cb
AK
58742014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5875
5876 [BZ #16427]
5877 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5878 handling only for numbers special also in the IEEE case.
5879
c20d5bf5
AK
58802014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5881
5882 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5883
e83bd4ee
AM
58842014-01-11 Allan McRae <allan@archlinux.org>
5885
76d0ea69
AM
5886 * po/bg.po: Update Bulgarian translation from translation project.
5887
e83bd4ee
AM
5888 * po/de.po: Update German translation from translation project.
5889
bc2ba20a
RM
58902014-01-10 Roland McGrath <roland@hack.frob.com>
5891
5892 * sysdeps/generic/gcc-compat.h: New file.
5893
649ecea2
SP
58942014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5895
5896 * benchtests/asin-inputs: Correct slow inputs.
5897 * benchtests/acos-inputs: Likewise.
5898
1b19c006
AM
58992014-01-10 Allan McRae <allan@archlinux.org>
5900
a46dab08
AM
5901 * po:sv.po: Update Swedish translation from translation project.
5902
421df74a
AM
5903 * po/vi.po: Update Vietnamese translation from translation project.
5904
d61c51a7
AM
5905 * po/eo.po: Update Esperanto translation from translation project.
5906
0339a319
AM
5907 * po/cs.po: Update Czech translation from translation project.
5908
94ad3e99
AM
5909 * po/nl.po: Update Dutch translation from translation project.
5910
e349ca71
AM
5911 * po/pl.po: Update Polish translation from translation project.
5912
ddf930c1
AM
5913 * po/ru.po: Update Russian translation from translation project.
5914
1b19c006
AM
5915 * po/uk.po: Update Ukrainian translation from translation project.
5916
9f236c49
BM
59172014-01-08 Brooks Moses <bmoses@google.com>
5918
5919 * elf/dl-load.c: Fix comment typo.
5920
cd6701cf
CD
59212014-01-08 Carlos O'Donell <carlos@redhat.com>
5922
5923 * po/header.pot: Rename to...
5924 * po/pot.header: ... this.
5925 * po/Makefile: Use pot.header.
5926
66671c84
YK
59272014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5928 Maxim Kuvyrkov <maxim@kugelworks.com>
5929
5930 [BZ #16394]
cd6701cf
CD
5931 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5932 SRC and DEST against LEN.
66671c84 5933
38f34581
AZ
59342014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935
5936 [BZ #16414]
5937 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5938 implementation.
5939 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5940
59412014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5942
5943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5944
4c327f2a
JM
59452014-01-08 Joseph Myers <joseph@codesourcery.com>
5946
5947 [BZ #16408]
5948 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5949 for large positive arguments.
5950
b821f414
JM
59512014-01-07 Joseph Myers <joseph@codesourcery.com>
5952
1f0f2067
JM
5953 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5954
a5a326f6
JM
5955 * math/auto-libm-test-in: Mark various tests with
5956 xfail-rounding:ldbl-128ibm.
5957 * math/auto-libm-test-out: Regenerated.
5958
b821f414
JM
5959 [BZ #16407]
5960 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5961 Increase overflow threshold.
5962
94c8a4bc
OB
59632014-01-07 Ondřej Bílka <neleai@seznam.cz>
5964
5965 [BZ #14286]
5966 * stdio-common/vfprintf.c: Check for integer overflow.
5967
87ded0c3
AK
59682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5969
5970 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5971 the first argument and return value of __tls_get_addr_internal.
5972
c5eebdd0
AK
59732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5974
5975 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5976 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5977
05d138ef
AK
59782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5979
5980 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5981 * sysdeps/s390/rtld-global-offsets.sym: New file.
5982 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5983 GLIBC_2.19 symbol.
5984 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5985 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5986 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5987 ... this.
5988 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5989 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5990 ... this.
5991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5992 Regenerate.
5993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5994 Regenerate.
5995 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5996 halfs of GPRs for high_gprs contexts.
5997 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5998 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5999 field.
6000 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6001 uc_flags field.
6002 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6003 64 bit versions:
6004 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6005 for high GPRs (uc_high_gprs) and for future extensions
6006 (__reserved).
6007 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6008 for future extensions (__reserved).
6009 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6010 64 bit versions:
6011 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6012 SC_HIGHGPRS offset definition.
6013 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6014 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6015
93a45ff1
AK
6016 * Versions.def: Add GLIBC_2.19 for libpthread.
6017 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6018 siglongjmp for libpthread with GLIBC_2.19 symver.
6019 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6020 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6021 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6022 * sysdeps/s390/__longjmp.c: New file.
6023 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6024 * sysdeps/s390/longjmp.c: New file.
6025 * sysdeps/s390/setjmp.S: New file.
6026 * sysdeps/s390/sigjmp.S: New file.
6027 * sysdeps/s390/v1-longjmp.c: New file.
6028 * sysdeps/s390/v1-setjmp.h: New file.
6029 * sysdeps/s390/v1-sigjmp.c: New file.
6030 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6031 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6032 GLIBC_2.19 version.
6033 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6034 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6035 versioned symbols for ____longjmp_chk.
6036 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6037 Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6039 Regenerate.
6040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6041 Regenerate.
6042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6043 Regenerate.
6044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6045 Regenerate.
6046 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6047 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6048 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6049 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6050 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6051 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6052 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6053 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6054 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6055 * sysdeps/s390/rtld-__longjmp.c: New file.
6056 * sysdeps/s390/rtld-setjmp.S: New file.
6057
eb3fc44b
JM
60582014-01-06 Joseph Myers <joseph@codesourcery.com>
6059
6060 [BZ #16400]
6061 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6062 Return -__logl (x) for small positive arguments without evaluating
6063 a polynomial.
6064
9341dde4
MF
60652014-01-06 Mike Frysinger <vapier@gentoo.org>
6066
6067 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6068 Rename to ...
6069 (__ptrace_peeksiginfo_args): ... this.
6070 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6071 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6072 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6073
4cff0293
AM
60742014-01-06 Allan McRae <allan@archlinux.org>
6075
6076 * inet/netinet/in.h: Fix typo in comment.
6077
75595dcf
AJ
60782014-01-05 Andreas Jaeger <aj@suse.de>
6079
6080 * sysdeps/i386/fpu/libm-test-ulps: Update.
6081
79c1e109
AM
60822014-01-05 Allan McRae <allan@archlinux.org>
6083
dd804818
AM
6084 * po/libc.pot: Regenerated.
6085
79c1e109
AM
6086 * malloc/memusagestat.c: Fix gettext call formatting.
6087
0c813d1f
SK
60882014-01-04 Sami Kerola <kerolasa@iki.fi>
6089
6090 * nscd/nscd.c: Improve usage() output.
6091
20f4a8d9
MF
60922014-01-04 Mike Frysinger <vapier@gentoo.org>
6093
6094 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6095 * sysdeps/unix/sysv/linux/configure: Regenerated.
6096 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6097 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6098
22562bb2
JM
60992014-01-03 Joseph Myers <joseph@codesourcery.com>
6100
6101 [BZ #16390]
6102 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6103 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6104
d7ad2d9b
AZ
61052014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6106
6107 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6108 extra tokens at end of #undef directive.
6109 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6110 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6111 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6112
7dd009d8
JM
61132014-01-03 Joseph Myers <joseph@codesourcery.com>
6114
24db925a
JM
6115 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6116
7dd009d8
JM
6117 * math/auto-libm-test-in: Mark various tests with
6118 xfail-rounding:ldbl-128ibm.
6119 * math/auto-libm-test-out: Regenerated.
6120
396e3ecf
JM
61212014-01-02 Joseph Myers <joseph@codesourcery.com>
6122
819e5d50
JM
6123 [BZ #16386]
6124 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6125 numbers with subnormal high part when calculating exponent.
6126
90b6a1e5
JM
6127 [BZ #16385]
6128 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6129 fabs.
6130
396e3ecf
JM
6131 [BZ #16384]
6132 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6133 M_LN2l.
6134 (__ieee754_acoshl): Use __log1pl not __log1p.
6135
6c8dbf00
OB
61362013-01-02 Ondřej Bílka <neleai@seznam.cz>
6137
57f41c40
AS
6138 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6139 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6140 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6141 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6142 (reused_arena, arena_get2): Convert to GNU style.
6143 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6144 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6145 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 6146 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
6147 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6148 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6149 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6150 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6151 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6152 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 6153 * malloc/malloc.h: Likewise.
57f41c40
AS
6154 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6155 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 6156 * malloc/mcheck.h: Likewise.
57f41c40
AS
6157 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6158 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
6159 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6160 * malloc/morecore.c (__default_morecore): Likewise.
6161 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
6162 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6163 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6164 (print_and_abort): Likewise.
6c8dbf00
OB
6165 * malloc/obstack.h: Likewise.
6166 * malloc/set-freeres.c (__libc_freeres): Likewise.
6167 * malloc/tst-mallocstate.c (main): Likewise.
6168 * malloc/tst-mtrace.c (main): Likewise.
6169 * malloc/tst-realloc.c (do_test): Likewise.
6170
d4124212
SP
61712013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6172
9a3c6a6f
SP
6173 [BZ #16366]
6174 * nscd/netgroupcache.c (do_notfound): New function.
6175 (addgetnetgrentX): Use it.
6176
d4124212
SP
6177 [BZ # 16365]
6178 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6179 NSS_STATUS_NOTFOUND.
6180
97b9a009
JM
61812014-01-01 Joseph Myers <joseph@codesourcery.com>
6182
6183 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6185
d4697bc9
AM
61862014-01-01 Allan McRae <allan@archlinux.org>
6187
ddb3687f
AM
6188 * scripts/update-copyrights: Update configure input file suffix.
6189
88726d48
AM
6190 * NEWS: Update copyright year.
6191 * catgets/gencat.c: Likewise.
6192 * csu/version.c: Likewise.
6193 * debug/catchsegv.sh: Likewise.
6194 * debug/pcprofiledump.c: Likewise.
6195 * debug/xtrace.sh: Likewise.
6196 * elf/ldconfig.c: Likewise.
6197 * elf/ldd.bash.in: Likewise.
6198 * elf/pldd.c: Likewise.
6199 * elf/sotruss.ksh: Likewise.
6200 * elf/sprof.c: Likewise.
6201 * iconv/iconv_prog.c: Likewise.
6202 * iconv/iconvconfig.c: Likewise.
6203 * locale/programs/locale.c: Likewise.
6204 * locale/programs/localedef.c: Likewise.
6205 * login/programs/pt_chown.c: Likewise.
6206 * malloc/memusage.sh: Likewise.
6207 * malloc/memusagestat.c: Likewise.
6208 * malloc/mtrace.pl: Likewise.
6209 * manual/libc.texinfo: Likewise.
6210 * nscd/nscd.c: Likewise.
6211 * nss/getent.c: Likewise.
6212 * nss/makedb.c: Likewise.
6213 * posix/getconf.c: Likewise.
6214 * scripts/test-installation.pl: Likewise.
6215
d4697bc9
AM
6216 * All files with FSF copyright notices: Update copyright dates
6217 using scripts/update-copyrights.
6218 * intl/plural.c: Regenerated.
6219 * locale/programs/charmap-kw.h: Likewise.
6220 * locale/programs/locfile-kw.h: Likewise.
6221
c8590f9d
MF
62222013-12-31 Mike Frysinger <vapier@gentoo.org>
6223
6224 * sysdeps/unix/sysv/linux/configure: Regenerated.
6225 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6226 the linux/fanotify.h header.
6227 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6228 HAVE_LINUX_FANOTIFY_H is defined.
6229
b19221b9
SP
62302013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6231
dd1d85e5
SP
6232 * benchtests/cos-inputs: New inputs.
6233 * benchtests/sin-inputs: Likewise.
6234
1acbb90f
SP
6235 * benchtests/atan-inputs: New inputs. Fix name of multiple
6236 precision fallback inputs.
6237
4c012ed3
SP
6238 * benchtests/atanh-inputs: New inputs.
6239 * benchtests/tanh-inputs: Likewise.
6240
eff98324
SP
6241 * benchtests/acosh-inputs: New inputs.
6242 * benchtests/asinh-inputs: Likewise.
6243
ce641152
SP
6244 * benchtests/cosh-inputs: New inputs.
6245 * benchtests/sinh-inputs: Likewise.
6246
b19221b9
SP
6247 * benchtests/acos-inputs: Add more inputs.
6248 * benchtests/asin-inputs: Likewise.
6249
030a4976 62502013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6251
030a4976 6252 [BZ #16375]
9dcc8f11
VS
6253 * manual/arith.texi: Fix spelling.
6254 * manual/charset.texi: Likewise.
6255 * manual/errno.texi: Likewise.
6256 * manual/filesys.texi: Likewise.
6257 * manual/lang.texi: Likewise.
6258 * manual/llio.texi: Likewise.
6259 * manual/locale.texi: Likewise.
6260 * manual/message.texi: Likewise.
6261 * manual/resource.texi: Likewise.
6262 * manual/search.texi: Likewise.
6263 * manual/setjmp.texi: Likewise.
6264 * manual/stdio.texi: Likewise.
6265 * manual/string.texi: Likewise.
6266 * manual/sysinfo.texi: Likewise.
6267 * manual/time.texi: Likewise.
6268
11520a57
CD
62692013-12-27 Carlos O'Donell <carlos@redhat.com>
6270
6271 * po/sl.po: New file.
6272
471103ae
MF
62732013-12-27 Mike Frysinger <vapier@gentoo.org>
6274
6275 * .gitignore: Add core/.gdbinit/.gdb_history.
6276
6c9642ed
AM
62772013-12-27 Allan McRae <allan@archlinux.org>
6278
6279 [BZ #16369]
6280 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6281 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6282
3f637079
BM
62832013-12-24 Brooks Moses <bmoses@google.com>
6284
6285 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6286 all compilers that claim C++98 compliance, not just GCC.
6287 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6288 Likewise.
6289
abc26e99
MK
62902013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6291
6292 * NEWS: Restore accidentally deleted bug-fix entries.
6293
362b47fe
MK
62942013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6295 Ondřej Bílka <neleai@seznam.cz>
6296
6297 [BZ #15073]
6298 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6299 have_lock.
362b47fe 6300
b9bcbbcb
OB
63012013-12-23 Ondřej Bílka <neleai@seznam.cz>
6302
6303 [BZ #12986]
6304 * manual/stdio.texi (String Input Conversions): Clarify that character
6305 classes are not supported.
6306
fb55fcd2
AZ
63072013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6308
6309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6310
ef7344f0
JM
63112013-12-22 Joseph Myers <joseph@codesourcery.com>
6312
4f40e4b3
JM
6313 [BZ #16337]
6314 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6315 Calculate results for small negative arguments directly rather
6316 than using reflection formula with special underflow handling.
6317
ef7344f0
JM
6318 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6319 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6320 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6321 (fchflags): Likewise.
6322 (revoke): Likewise.
6323 (setlogin): Likewise.
6324 (sigaltstack): Likewise.
6325 (wait4): Likewise.
6326 (sigblock): Remove.
6327 (sigsetmask): Likewise.
6328 (wait3): Likewise.
6329 (waitpid): Likewise.
6330 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6331 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6332 file.
6333 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6334 * sysdeps/unix/bsd/Makefile: ... here.
6335 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6336 * sysdeps/unix/bsd/Versions: ... here.
6337 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6338 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6339 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6340 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6341 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6342 * sysdeps/unix/bsd/sigblock.c: ... here.
6343 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6344 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6345 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6346 * sysdeps/unix/bsd/sigvec.c: ... here.
6347 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6348 * sysdeps/unix/bsd/tcdrain.c: ... here.
6349 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6350 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6351 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6352 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6353 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6354 * sysdeps/unix/bsd/wait.c: ... here.
6355 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6356 * sysdeps/unix/bsd/wait3.c: ... here.
6357 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6358 * sysdeps/unix/bsd/waitpid.c: ... here.
6359
5b0626b9
JM
63602013-12-21 Joseph Myers <joseph@codesourcery.com>
6361
6362 [BZ #16356]
6363 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6364 round-to-nearest for [!USE_AS_EXPM1L].
6365 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6366 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6367 more tests of exp and exp10. Expect some exp10 tests to miss
6368 exceptions or fail in directed rounding modes.
6369 * math/auto-libm-test-out: Regenerated.
6370 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6371 (exp10_test_tonearest): New function.
6372 (exp10_towardzero_test_data): New array.
6373 (exp10_test_towardzero): New function.
6374 (exp10_downward_test_data): New array.
6375 (exp10_test_downward): New function.
6376 (exp10_upward_test_data): New array.
6377 (exp10_test_upward): New function.
6378 (main): Call the new functions.
6379 * sysdeps/i386/fpu/libm-test-ulps: Update.
6380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6381
7fda5682
JM
63822013-12-20 Joseph Myers <joseph@codesourcery.com>
6383
31e3a405
JM
6384 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6385 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6386 * math/auto-libm-test-out: Regenerated.
6387 * math/libm-test.inc (acosh_test_data): Add more tests.
6388 (atanh_test_data): Likewise.
6389 (ceil_test_data): Likewise.
6390 (copysign_test_data): Likewise.
6391 * sysdeps/i386/fpu/libm-test-ulps: Update.
6392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6393
85bff96a
JM
6394 * timezone/checktab.awk: Update from tzcode 2013i.
6395 * timezone/private.h: Likewise.
6396 * timezone/scheck.c: Likewise.
6397 * timezone/tzfile.h: Likewise.
6398 * timezone/tzselect.ksh: Likewise.
6399 * timezone/zdump.c: Likewise.
6400 * timezone/zic.c: Likewise.
6401
b7867a3b
JM
6402 * math/auto-libm-test-in: Add tests of cpow.
6403 * math/auto-libm-test-out: Regenerated.
6404 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 6405 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
6406 mpc_cc_c.
6407 (func_calc_desc): Add mpc_cc_c union field.
6408 (test_functions): Add cpow.
6409 (special_fill_2pi): New function.
6410 (special_real_inputs): Add 2pi.
6411 (calc_generic_results): Handle mpc_cc_c.
6412 * sysdeps/i386/fpu/libm-test-ulps: Update.
6413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6414
7fda5682
JM
6415 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6416 csqrt, ctan and ctanh.
6417 * math/auto-libm-test-out: Regenerated.
6418 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6419 (TEST_COND_x86): Likewise.
6420 (ccos_test_data): Use AUTO_TESTS_c_c.
6421 (ccosh_test_data): Likewise.
6422 (cexp_test_data): Likewise.
6423 (clog_test_data): Likewise.
6424 (csqrt_test_data): Likewise.
6425 (ctan_test_data): Likewise.
6426 (ctan_tonearest_test_data): Likewise.
6427 (ctan_towardzero_test_data): Likewise.
6428 (ctan_downward_test_data): Likewise.
6429 (ctan_upward_test_data): Likewise.
6430 (ctanh_test_data): Likewise.
6431 (ctanh_tonearest_test_data): Likewise.
6432 (ctanh_towardzero_test_data): Likewise.
6433 (ctanh_downward_test_data): Likewise.
6434 (ctanh_upward_test_data): Likewise.
6435 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6436 mpc_c_c.
6437 (func_calc_desc): Add mpc_c_c union field.
6438 (FUNC_mpc_c_c): New macro.
6439 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6440 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6441 ctanh.
6442 (special_fill_min_subnorm_p120): New function.
6443 (special_real_inputs): Add min_subnorm_p120.
6444 (calc_generic_results): Handle mpc_c_c.
6445 * sysdeps/i386/fpu/libm-test-ulps: Update.
6446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6447
5ff8d60e
SP
64482013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6449
57f41c40
AS
6450 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6451 (do_sin_slow): New functions.
6452 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6453 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 6454
84ba214c
SP
6455 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6456 Use M to change sign of result instead of X. Assume X is
6457 positive.
6458 (csloww1): Likewise.
6459 (__sin): Adjust.
6460 (__cos): Adjust.
6461
975195e4
SP
6462 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6463 arguments A and DA.
6464 (__sin): Adjust.
6465 (__cos): Likewise.
6466
5ff8d60e
SP
6467 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6468 (__cos): Likewise.
6469 (sloww1): Don't adjust sign of DX.
6470 (csloww1): Likewise.
6471 (sloww2): Use X directly and don't adjust sign of DX.
6472 (csloww2): Likewise.
6473
eb983568
JM
64742013-12-19 Joseph Myers <joseph@codesourcery.com>
6475
64a17f1a
JM
6476 * math/auto-libm-test-in: Add tests of cabs and carg.
6477 * math/auto-libm-test-out: Regenerated.
6478 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6479 (carg_test_data): Likewise.
6480 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6481 mpc_c_f.
6482 (func_calc_desc): Add mpc_c_f union field.
6483 (test_functions): Add cabs and carg.
6484 (calc_generic_results): Handle mpc_c_f.
6485
eb983568
JM
6486 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6487 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6488 as a macro and a compat symbol.
6489 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6490 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6491 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6492 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6493 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6494 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6495 not use .hidden.
6496 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6497 Likewise.
6498 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6499 Likewise.
6500 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6501 Likewise.
6502 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6503 Likewise.
6504 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6505 Likewise.
6506 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6507 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6508 from GLIBC_2.3.2.
6509
6eeb678a
AZ
65102013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6511
6512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6513
6f6fc482
JM
65142013-12-19 Joseph Myers <joseph@codesourcery.com>
6515
21fea2e2
JM
6516 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6517 trailing whitespace removed.
6518 * scripts/config.guess: Update to version 2013-11-29.
6519 * scripts/config.sub: Update to version 2013-10-01.
6520
6f6fc482
JM
6521 * math/auto-libm-test-in: Add tests of sincos.
6522 * math/auto-libm-test-out: Regenerated.
6523 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6524 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6525 mpfr_f_11.
6526 (func_calc_desc): Add mpfr_f_11 union field.
6527 (test_functions): Add sincos.
6528 (calc_generic_results): Handle mpfr_f_11.
6529 * sysdeps/i386/fpu/libm-test-ulps: Update.
6530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6531
83f5c32d
AS
65322013-12-19 Andreas Schwab <schwab@suse.de>
6533
6534 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6535 CALL_MCOUNT.
6536 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6537 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6538 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6539
c688b419
JM
65402013-12-19 Joseph Myers <joseph@codesourcery.com>
6541
335ee092
JM
6542 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6543 * sysdeps/i386/fpu/libm-test-ulps: Update.
6544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6545
f88acd39
JM
6546 [BZ #16293]
6547 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6548 round-to-nearest mode when using frndint.
6549 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6550 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6551 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6552 Likewise.
6553 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6554 sinh test to fail.
6555 * math/auto-libm-test-out: Regenerated.
6556 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6557 (TEST_COND_x86): Likewise.
6558 (expm1_tonearest_test_data): New array.
6559 (expm1_test_tonearest): New function.
6560 (expm1_towardzero_test_data): New array.
6561 (expm1_test_towardzero): New function.
6562 (expm1_downward_test_data): New array.
6563 (expm1_test_downward): New function.
6564 (expm1_upward_test_data): New array.
6565 (expm1_test_upward): New function.
6566 (main): Run the new test functions.
6567 * sysdeps/i386/fpu/libm-test-ulps: Update.
6568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6569
c688b419
JM
6570 * include/features.h: Update comment documenting feature test
6571 macros. Mention _DEFAULT_SOURCE in comment.
6572 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6573 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6574 _BSD_SOURCE and _SVID_SOURCE.
6575 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6576 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6577 !_SVID_SOURCE]: Likewise.
6578 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6579 (__USE_POSIX_IMPLICITLY): Define.
6580 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6581 (_POSIX_SOURCE): Undefine and redefine.
6582 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6583 (_POSIX_C_SOURCE): Likewise.
6584 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6585 (Feature Test Macros): Update documentation of default features.
6586
9f6e964c
RS
65872013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6588
6589 * benchtests/Makefile: Add bench-strtok.
6590 * benchtests/bench-strtok.c: New file: strtok benchtest.
6591
ee0a148a
AM
65922013-12-19 Allan McRae <allan@archlinux.org>
6593
6594 * manual/install.texi: Suppress menu for plain text output.
6595 * INSTALL: Regenerated.
6596
b9ab448f
BM
65972013-12-18 Brooks Moses <bmoses@google.com>
6598
6599 [BZ #15846]
6600 * misc/getauxval.c: Include errno.h.
6601 (__getauxval): Set errno to ENOENT if the requested type is not
6602 found.
6603 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6604 don't declare with __attribute_const__.
6605 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6606 * manual/startup.texi: Document that getauxval sets errno.
6607
23776487
JM
66082013-12-18 Joseph Myers <joseph@codesourcery.com>
6609
f889953b
JM
6610 * math/auto-libm-test-in: Add tests of jn and yn.
6611 * math/auto-libm-test-out: Regenerated.
6612 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6613 (yn_test_data): Likewise.
6614 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6615 mpfr_if_f.
6616 (func_calc_desc): Add mpfr_if_f union field.
6617 (FUNC_mpfr_if_f): New macro.
6618 (test_functions): Add jn and yn.
6619 (calc_generic_results): Assert type of second input for
6620 mpfr_ff_f. Handle mpfr_if_f.
6621 (output_for_one_input_case): Disable all checking for arguments
6622 fitting floating-point types in case of an integer argument.
6623 * sysdeps/i386/fpu/libm-test-ulps: Update.
6624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6625
23776487
JM
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6627 Don't expect fegetround reference in libm.so.
6628
cb756c6d
MS
66292013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6630
6631 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6632 $(config-cflags-nofma).
6633
2dec468f
JM
66342013-12-18 Joseph Myers <joseph@codesourcery.com>
6635
5953eb3a
JM
6636 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6637 * math/auto-libm-test-out: Regenerated.
6638
2dec468f
JM
6639 [BZ #16338]
6640 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6641 to determine exponent and adjust argument to have exponent of -1.
6642 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6643 log2.
6644 * math/auto-libm-test-out: Regenerated.
6645 * sysdeps/i386/fpu/libm-test-ulps: Update.
6646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6647
4d84e6ad
OB
66482013-12-18 Ondřej Bílka <neleai@seznam.cz>
6649
6650 * manual/probes.texi: Remove cases when per-thread arenas are
6651 disabled.
6652
1818483b
AS
66532013-12-18 Andreas Schwab <schwab@suse.de>
6654
6655 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6656 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6657 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6658 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6659 * sysdeps/i386/i686/multiarch/Makefile: Update.
6660 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6661
25de95bf
JM
66622013-12-17 Joseph Myers <joseph@codesourcery.com>
6663
6664 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6665 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6666
674762d9
PE
66672013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6668
ed27ed83 6669 [BZ #15968]
0748546f
PE
6670 Support TZ transition times < 00:00:00.
6671 This is needed for version-3 tz-format files; it supports time
6672 stamps past 2037 for America/Godthab (the only entry in the tz
6673 database for which this change is relevant).
6674 * manual/time.texi (TZ Variable): Document transition times
6675 from -167:59:59 through -00:00:01.
6676 * time/tzset.c (tz_rule): Time of day is now signed.
6677 (__tzset_parse_tz): Parse negative time of day.
6678
4480e934
PE
6679 Document TZ transition times >= 25:00:00.
6680 * manual/time.texi (TZ Variable): Document transition times from
6681 25:00:00 through 167:59:59. These are already supported, and this
6682 support will help with version-3 tz-format files.
6683
69947401
PE
6684 * manual/time.texi (TZ Variable): Modernize North America example
6685 to reflect current (i.e., 2007-and-later) daylight saving rules.
6686
674762d9
PE
6687 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6688
7011c262
JM
66892013-12-17 Joseph Myers <joseph@codesourcery.com>
6690
2fc6557e
JM
6691 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6692 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6693 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6694 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6695 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6696 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6697 * sysdeps/unix/bsd/clock.c: Likewise.
6698 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6699 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6700 * sysdeps/unix/bsd/init-posix.c: Likewise.
6701 * sysdeps/unix/bsd/poll.c: Likewise.
6702 * sysdeps/unix/bsd/ptsname.c: Likewise.
6703 * sysdeps/unix/bsd/seekdir.c: Likewise.
6704 * sysdeps/unix/bsd/setegid.c: Likewise.
6705 * sysdeps/unix/bsd/seteuid.c: Likewise.
6706 * sysdeps/unix/bsd/setgid.c: Likewise.
6707 * sysdeps/unix/bsd/setrgid.c: Likewise.
6708 * sysdeps/unix/bsd/setruid.c: Likewise.
6709 * sysdeps/unix/bsd/setsid.c: Likewise.
6710 * sysdeps/unix/bsd/setuid.c: Likewise.
6711 * sysdeps/unix/bsd/sigaction.c: Likewise.
6712 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6713 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6714 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6715 * sysdeps/unix/bsd/telldir.c: Likewise.
6716 * sysdeps/unix/bsd/times.c: Likewise.
6717 * sysdeps/unix/bsd/usleep.c: Likewise.
6718
029c7b25
JM
6719 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6720 ($(objpfx)libbsd-compat.a): Remove rule.
6721
7011c262
JM
6722 * include/features.h (__FAVOR_BSD): Do not define.
6723 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6724 features conflicting with POSIX.
6725 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6726 (_BSD_SOURCE): Remove description of not being a subset of other
6727 feature test macros.
6728 * manual/job.texi (getpgrp): Do not document BSD version.
6729 (getpgid): Do not document by reference to BSD getpgrp.
6730 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6731 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6732 * signal/signal.h [__FAVOR_BSD]: Likewise.
6733 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6734 instead of making contents conditional on [__FAVOR_BSD].
6735 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6736
affb6f78
AZ
67372013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6738
6739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6740
c88769dd
JM
67412013-12-17 Joseph Myers <joseph@codesourcery.com>
6742
6432a540
JM
6743 [BZ #16314]
6744 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6745 values below 2**-450, not 2**-500.
6746 * math/auto-libm-test-in: Don't allow spurious underflow from
6747 hypot.
6748 * math/auto-libm-test-out: Regenerated.
6749
c88769dd
JM
6750 [BZ #16316]
6751 [BZ #16330]
6752 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6753 values of ha and hb and sort them after adjusting subnormal
6754 arguments.
6755 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6756 Likewise.
6757 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6758 values of ea and eb and sort them after adjusting subnormal
6759 arguments.
6760 * math/auto-libm-test-in: Do not expect some hypot tests of
6761 subnormals to fail. Add more hypot tests.
6762 * math/auto-libm-test-out: Regenerated.
6763
29618f6b
KK
67642013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6765
6766 [BZ #13304]
6767 * sysdeps/sh/s_fma.c: New file.
6768 * sysdeps/sh/s_fmaf.c: New file.
6769 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6770 version.
6771 * sysdeps/sh/Implies: Add sh/soft-fp.
6772
eacfdfbf
RM
67732013-12-16 Roland McGrath <roland@hack.frob.com>
6774
6775 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6776 level of indirection to members `objname', `errstring', `malloced'.
6777 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6778 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6779 it as the __longjmp argument (just pass 1 instead).
6780 (_dl_catch_error): Initialize C with argument pointers and address of
6781 volatile local ERRCODE rather than copying values out of C at return.
6782
ff362e5b
JM
67832013-12-16 Joseph Myers <joseph@codesourcery.com>
6784
6785 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6786 * math/auto-libm-test-out: Regenerated.
6787 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6788 (hypot_test_data): Likewise.
6789 (pow_test_data): Likewise.
6790 (pow_tonearest_test_data): Likewise.
6791 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6792 mpfr_ff_f.
6793 (func_calc_desc): Add mpfr_ff_f union field.
6794 (FUNC_mpfr_ff_f): New macro.
6795 (test_functions): Add atan2, hypot and pow.
6796 (special_fill_min): New function.
6797 (special_fill_minus_min): Likewise.
6798 (special_fill_min_subnorm): Likewise.
6799 (special_fill_minus_min_subnorm): Likewise.
6800 (special_real_inputs): Add min, -min, min_subnorm and
6801 -min_subnorm.
6802 (calc_generic_results): Handle mpfr_ff_f.
6803 * sysdeps/i386/fpu/libm-test-ulps: Update.
6804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6805
5764c27f
WN
68062013-12-16 Will Newton <will.newton@linaro.org>
6807
6808 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6809 (Aligned Memory Blocks): Add documentation for aligned_alloc
6810 and suggest it as an alternative to posix_memalign.
6811 (Hooks for Malloc): Document __memalign_hook is also called
6812 for aligned_alloc. (Summary of Malloc): Add summary for
6813 aligned alloc. Document __memalign_hook is also called
6814 for aligned_alloc.
6815
0a096e44
WN
68162013-12-16 Will Newton <will.newton@linaro.org>
6817
6818 * manual/memory.texi (Malloc Examples): Clarify default
6819 alignment documentation. Suggest posix_memalign rather
6820 than memalign or valloc.
6821 (Aligned Memory Blocks): Remove suggestion to use memalign
6822 or valloc. Remove obsolete comment about BSD.
6823 Document memalign errno values and mark the function obsolete.
6824 Document posix_memalign returned error codes. Mark valloc
6825 as obsolete. (Hooks for Malloc): __memalign_hook is also
6826 called for posix_memalign and valloc.
6827 (Summary of Malloc): Add posix_memalign to function summary.
6828 __memalign_hook is also called for posix_memalign and valloc.
6829
8d561986
SP
68302013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6831
6832 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6833 TAYLOR_SIN.
6834 (__sin): Adjust.
6835 (__cos): Likewise.
6836 (sloww): Use mynumber union. Expand ternary operator into
6837 if-else statements.
6838 (cslow): use mynumber union.
6839
73616a74
AM
68402013-12-16 Allan McRae <allan@archlinux.org>
6841
9e8ac24b
AM
6842 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6843 * configure: Regenerated.
6844
6f8e37eb
AM
6845 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6846
8894bad3
AM
6847 [BZ #14120]
6848 * configure.ac: Added --enable-maintainer-mode. Check for
6849 autoconf when enabled.
6850 * configure: Regenerated.
6851
73616a74
AM
6852 * nscd/nscd.service: New file.
6853 * nscd/nscd.tmpfiles: New file.
6854
584b18eb
OB
68552013-12-14 Ondřej Bílka <neleai@seznam.cz>
6856
6857 [BZ #12100]
6858 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6859 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6860 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6861 (strstr): Add __strstr_sse2_unaligned ifunc.
6862 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6863 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6864 (strcasestr): Remove __strcasestr_sse42 ifunc.
6865 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6868
8a5c7897
KK
68692013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6870
6871 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6872 * sysdeps/sh/bits/fenv.h: ... here.
6873 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6874
fd712ef3
AZ
68752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6876
6877 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6878
42fcb46c
AZ
6879 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6880 hypotf multiarch implementations.
6881 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6882 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6883 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6884 multiarch hypot for PPC64.
6885 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6886 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6887 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6888 multiarch hypotf for PPC64.
6889
83efded4
AZ
6890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6891 modff multiarch implementations.
6892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6895 multiarch modf for PPC64.
6896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6899 multiarch modff for PPC64.
6900
43e246d2
AZ
6901 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6902 and logl multiarch implementations.
6903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6906 multiarch logb for PPC64.
6907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6910 multiarch logb for PPC64.
6911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6914 multiarch logb for PPC64.
6915
8fdad123
AZ
6916 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6917 isinff multiarch implementation.
6918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6919 file.
6920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6922 multiarch isinf for PPC64.
6923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6924 file.
6925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6926 multiarch isinff for PPC64.
6927
1481d706
AZ
6928 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6929 finitef multiarch implementation.
6930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6931 file.
6932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6934 multiarch finite for PPC64.
6935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6936 file.
6937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6938 multiarch finitef for PPC64.
6939
5ccd5fc8
AZ
6940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6941 lrint multiarch implementation.
6942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6943 file.
6944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6946 multiarch llrint for PPC64.
6947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6948 multiarch lrint for PPC64.
6949
2568f3fa
AZ
6950 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6951 copysignf multiarch implementation.
6952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6953 file.
6954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6955 file.
6956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6957 multiarch copysign for PPC64.
6958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6959 multiarch copysignf for PPC64.
6960
1cb341fd
AZ
6961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6962 multiarch implementation.
6963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6964 file.
6965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6966 file.
6967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6968 file.
6969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6970 file.
6971 multiarch llround for PPC64.
6972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6973 multiarch trunc for PPC64.
6974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6975 multiarch truncf for PPC64.
6976
59a3e194
AZ
6977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6978 multiarch implementation.
6979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6980 file.
6981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6982 file.
6983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6984 file.
6985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6986 file.
6987 multiarch llround for PPC64.
6988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6989 multiarch round for PPC64.
6990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6991 multiarch roundf for PPC64.
6992
357fd3b4
AZ
6993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6994 multiarch implementation.
6995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6996 file.
6997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6998 file.
6999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7000 file.
7001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7002 file.
7003 multiarch llround for PPC64.
7004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7005 multiarch floor for PPC64.
7006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7007 multiarch floorf for PPC64.
7008
96770f12
AZ
7009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7010 multiarch implementation.
7011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7012 file.
7013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7014 file.
7015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7016 file.
7017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7018 file.
7019 multiarch llround for PPC64.
7020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7021 multiarch ceil for PPC64.
7022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7023 multiarch ceilf for PPC64.
7024
c3627f6e
AZ
7025 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7026 multiarch implementation.
7027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7028 file.
7029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7030 file.
7031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7032 file.
7033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7034 multiarch llround for PPC64.
7035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7036 multiarch lround for PPC64.
7037
b2284ad7
AZ
7038 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7039 multiarch implementation.
7040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7043 file.
7044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7047 multiarch isnan for PPC64.
7048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7049 multiarch isnanf for PPC64.
7050
69bbc63d
AZ
7051 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7052 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7053 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7054 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7055 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7057
c24517c9
AZ
7058 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7059 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7060 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7062
a52374e8
AZ
7063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7064 multiarch implementations.
7065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7066 (__libc_ifunc_impl_list): Likewise.
7067 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7068 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7069 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7070 multiarch stpcpy for PPC64.
7071
7f5ec113
AZ
7072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7073 multiarch implementations.
7074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7075 (__libc_ifunc_impl_list): Likewise.
7076 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7077 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7078 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7079 multiarch strcpy for PPC64.
7080
e28bcd42
AZ
7081 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7082 redefine function name.
7083 (_wordcopy_fwd_dest_aligned): Likewise.
7084 (_wordcopy_bwd_aligned): Likewise.
7085 (_wordcopy_bwd_dest_aligned): Likewise.
7086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7087 multiarch implementations.
7088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7089 (__libc_ifunc_impl_list): Likewise.
7090 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7091 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7092 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7093 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7094 multiarch wcscpy for PPC64.
7095
92cacfce
AZ
7096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7097 multiarch implementations.
7098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7099 (__libc_ifunc_impl_list): Likewise.
7100 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7101 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7102 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7103 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7104 multiarch wcscpy for PPC64.
7105
7b714620
AZ
7106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7107 multiarch implementations.
7108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7109 (__libc_ifunc_impl_list): Likewise.
7110 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7111 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7112 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7113 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7114 multiarch wcsrchr for PPC64.
7115
16fd2ae3
AZ
7116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7117 multiarch implementations.
7118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7119 (__libc_ifunc_impl_list): Likewise.
7120 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7121 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7122 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7123 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7124 multiarch wcschr for PPC64.
7125
9ee2969b
AZ
7126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7127 multiarch implementations.
7128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7129 (__libc_ifunc_impl_list): Likewise.
7130 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7131 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7132 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7133 multiarch strchrnul for PPC64.
7134
372dc060
AZ
7135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7136 implementations.
7137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7138 (__libc_ifunc_impl_list): Likewise.
7139 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7140 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7141 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7142 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7143 strchr for PPC64.
7144
24c2c3b9
AZ
7145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7146 implementations.
7147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7148 (__libc_ifunc_impl_list): Likewise.
7149 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7150 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7151 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7152 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7153 strncmp for PPC64.
7154
1c92d9a0
AZ
7155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7156 multiarch implementations.
7157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7158 (__libc_ifunc_impl_list): Likewise.
7159 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7160 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7161 strncasecmp for PPC64.
7162 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7163 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7164 multiarch strncasecmp_l for PPC64.
7165
17de3ee3
AZ
7166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7167 multiarch implementations.
7168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7169 (__libc_ifunc_impl_list): Likewise.
7170 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7171 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7172 multiarch strcasecmp for PPC64.
7173 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7174 file.
7175 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7176 multiarch strcasecmp_l for PPC64.
7177
62982bf9
AZ
7178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7179 implementations.
7180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7181 (__libc_ifunc_impl_list): Likewise.
7182 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7183 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7184 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7185 strnlen for PPC64.
7186
a65f4904
AZ
7187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7188 implementations.
7189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7190 (__libc_ifunc_impl_list): Likewise.
7191 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7192 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7193 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7194 strlen for PPC64.
7195
1fd005ad
AZ
7196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7197 implementations.
7198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7199 (__libc_ifunc_impl_list): Likewise.
7200 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7201 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7202 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7203 rawmemrchr for PPC64.
7204
cd05ba91
AZ
7205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7206 implementation.
7207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7208 (__libc_ifunc_impl_list): Likewise.
7209 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7210 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7211 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7212 memrchr for PPC64.
7213
870f8676
AZ
7214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7215 implementation.
7216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7217 (__libc_ifunc_impl_list): Likewise.
7218 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7219 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7220 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7221 memchr for PPC64.
7222
f00be62b
AZ
7223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7224 implementation.
7225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7226 (__libc_ifunc_impl_list): Likewise.
7227 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7228 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7229 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7230 mempcpy for PPC64.
7231
8a29a3d0
AZ
7232 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7233 avoid cretion of __bzero symbol.
7234 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7235 Likewise.
7236 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7237 Likewise.
7238 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7239 Likewise.
7240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7241 multiarch implementations.
7242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7243 (__libc_ifunc_impl_list): Likewise.
7244 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7245 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7246 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7247 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7248 bzero for PPC32.
7249 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7250 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7251 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7252 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7253 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7254 memset for PPC64.
7255 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7256
07253fcf
AZ
7257 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7259 implementations.
7260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7261 (__libc_ifunc_impl_list): Likewise.
7262 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7263 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7264 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7265 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7266 memcmp for PPC64.
7267
b5beafbc
AZ
7268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7269 multiarch for POWER/PPC64.
7270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7271 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7272 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7273 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7274 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7275 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7276 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7277 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7278 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7279 memcpy for PPC64.
7280
5e6a4d4b
AZ
7281 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7282 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7283 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7284 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7285 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7286 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7287 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7288 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7289 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7290 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7291 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7292 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7293 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7294 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7295 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7303
ddfab6dc
KK
73042013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7305
7306 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7307
19b5525e
SP
73082013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7309
7310 * benchtests/Makefile (bench): Add exp2 and log2.
7311 (LDLIBS-bench-exp2): Add -lm.
7312 (LDLIBS-bench-log2): Likewise.
7313 * benchtests/exp2-inputs: New inputs file.
7314 * benchtests/log2-inputs: New inputs file.
7315 * benchtests/log-inputs: Add new inputs.
7316 * benchtests/tan-inputs: Likewise.
7317
196f7f5d
SP
73182013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7319
7a74607f
SP
7320 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7321 definition...
57f41c40
AS
7322 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7323 (csloww2): ... from here.
7a74607f 7324
196f7f5d
SP
7325 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7326 instead of structures.
7327 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7328 (POLYNOMIAL): Likewise.
7329 (TAYLOR_SLOW): Likewise.
7330 (__sin): Likewise.
7331 (__cos): Likewise.
7332 (slow1): Likewise.
7333 (slow2): Likewise.
7334 (sloww): Likewise.
7335 (sloww1); Likewise.
7336 (sloww2): Likewise.
7337 (bsloww1): Likewise.
7338 (bsloww2): Likewise.
7339 (cslow2): Likewise.
7340 (csloww): Likewise.
7341 (csloww1): Likewise.
7342 (csloww2): Likewise.
7343
0dfa665c
OB
73442013-12-10 Ondřej Bílka <neleai@seznam.cz>
7345
7346 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
7347 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7348 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
7349 * malloc/hooks.c (realloc_check): Likewise.
7350
5782a80f
OB
7351 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7352 * malloc/arena.c: Remove PER_THREAD conditional.
7353 [!PER_THREAD]: Remove code.
7354 (ptmalloc_unlock_all2): Likewise.
7355 (ptmalloc_init): Likewise.
7356 (_int_new_arena): Likewise.
7357 (arena_get2): Likewise.
7358 * malloc/hooks.c (__malloc_get_state): Likewise.
7359 (__malloc_set_state): Likewise.
7360 * malloc/malloc.c: Likewise.
7361 (struct malloc_state): Likewise.
7362 (struct malloc_par): Likewise.
7363 (__libc_realloc): Likewise.
7364 (__libc_mallopt): Likewise.
7365
aeb95445
AZ
73662013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7367
7368 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7369
e8349efd
OB
73702013-12-09 Ondřej Bílka <neleai@seznam.cz>
7371
7372 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7373 macro to a function. Check for zero perturb_byte.
7374 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7375
f3eeb3fc 7376 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
7377 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7378 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
7379 force_reg by atomic_forced_read.
7380 * malloc/arena.c (ptmalloc_init): Likewise.
7381 * malloc/hooks.c (top_check): Likewise.
7382
be2f9009
AZ
73832013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7384
7385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7386
e7b914bd
MT
73872013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7388
7389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7390
9f0be4f8
JM
73912013-12-08 Joseph Myers <joseph@codesourcery.com>
7392
7393 * math/auto-libm-test-in: Add tests of lgamma.
7394 * math/auto-libm-test-out: Regenerated.
7395 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7396 (M_LOG_2_SQRT_PIl): Likewise.
7397 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7398 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7399 mpfr_f_f1.
7400 (func_calc_desc): Add mpfr_f_f1 union field.
7401 (ARGS1): New macro.
7402 (ARGS2): Likewise.
7403 (ARGS3): Likewise.
7404 (ARGS4): Likewise.
7405 (RET1): Likewise.
7406 (RET2): Likewise.
7407 (CALC): Likewise.
7408 (FUNC): Likewise.
7409 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7410 (test_functions): Add lgamma.
7411 (calc_generic_results): Handle mpfr_f_f1.
7412 * sysdeps/i386/fpu/libm-test-ulps: Update.
7413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7414
24eeafdb
AZ
74152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7416
7417 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7418 __mpn_add_n for PowerPC64/POWER7.
7419 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7420 __mpn_sub_n for PowerPC64/POWER7.
7421
4a2c0fd4
AZ
7422 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7423 __mpn_addmul_1 for PowerPC64.
7424 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7425 __mpn_submul_1 for PowerPC64.
7426 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7427 for PowerPC64.
7428 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7429 for PowerPC64.
7430
4b5b548c
FS
74312013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7432
7433 [BZ #15089]
7434 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7435
0a3ac0aa
AZ
74362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7437
7438 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7439
ccdc8438
AZ
7440 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7441 add multiarch folders.
7442 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7443 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7444 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7445 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7446 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7447 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7448 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7449 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7450 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7451 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7452 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7459
2e973d99
AZ
7460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7461 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7463 New file.
7464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7465 New file.
7466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7467 multiarch __ieee754_hypot for PowerPC32.
7468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7469 New file.
7470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7471 New file.
7472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7473 multiarch __ieee754_hypotf for PowerPC32.
7474
2d9470b2
AZ
7475 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7476 long_double_symbol only if __logbl is defined.
7477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7478 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7480 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7482 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7483 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7484 path for implementation.
7485 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7486 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7488 logb, and logbl multiarch implementations for PowerPC32.
7489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7490 file.
7491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7492 file.
7493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7494 multiarch logb for PowerPC32.
7495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7496 file.
7497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7498 file.
7499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7500 multiarch logbf for PowerPC32.
7501 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7503 file.
7504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7505 multiarch logbl implementation for PowerPC32.
7506
5212ffce
AZ
7507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7508 and modff multiarch implementations.
7509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7510 New file.
7511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7512 New file.
7513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7514 multiarch modf for PowerPC32.
7515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7516 New file.
7517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7518 New file.
7519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7520 multiarch modff for PowerPC32.
7521
79dccf31
AZ
7522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7523 and lrintf multiarch implementations.
7524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7525 New file.
7526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7527 New file.
7528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7529 multiarch lrint for PowerPC32.
7530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7531 file: multiarch lrintf for PowerPC32.
7532
deb66480
AZ
7533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7534 and lroundf multiarch implementations.
7535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7536 New file.
7537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7538 New file.
7539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7540 New file.
7541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7542 multiarch lround for PowerPC32.
7543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7544 file: multiarch lroundf for PowerPC32.
7545
264b036b
AZ
7546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7547 copysign and copysignf multiarch implementations.
7548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7549 New file.
7550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7551 New file.
7552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7553 file: multiarch copysign for PowerPC32.
7554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7555 file: multiarch copysignf for PowerPC32.
7556
d47db6c9
AZ
7557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7558 and truncf multiarch implementations.
7559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7560 New file.
7561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7562 file.
7563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7564 multiarch trunc for PowerPC32.
7565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7566 New file.
7567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7568 New file.
7569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7570 multiarch truncf for PowerPC32.
7571
ddb60b5a
AZ
7572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7573 and roundf multiarch implementations.
7574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7575 New file.
7576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7577 file.
7578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7579 multiarch round for PowerPC32.
7580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7581 New file.
7582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7583 New file.
7584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7585 multiarch roundf for PowerPC32.
7586
bedcf49b
AZ
7587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7588 and floorf multiarch implementations.
7589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7590 New file.
7591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7592 file.
7593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7594 multiarch floor for PowerPC32.
7595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7596 New file.
7597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7598 New file.
7599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7600 multiarch floorf for PowerPC32.
7601
35ae5b40
AZ
7602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7603 and ceilf multiarch implementations.
7604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7605 New file.
7606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7607 file.
7608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7609 multiarch ceil for PowerPC32.
7610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7611 New file.
7612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7613 file.
7614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7615 multiarch ceilf for PowerPC32.
7616
ae1a4cd9
AZ
7617 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7618 is defined.
7619 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7620 FINITEF is defined.
7621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7622 and finitef multiarch implementations.
7623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7624 New file.
7625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7626 file.
7627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7628 multiarch finite for PowerPC32.
7629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7630 New file.
7631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7632 file: multiarch finitef for PowerPC32.
7633
64fffd65
AZ
7634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7635 and isinff multiarch implementations.
7636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7637 file.
7638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7639 file.
7640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7641 multiarch isinf for PowerPC32.
7642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7643 New file.
7644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7645 multiarch isinff for PowerPC32.
7646
8e4e7ba2
AZ
7647 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7648 alias when __isnan is defined.
7649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7650 and isnanf multiarch implementations.
7651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7652 file.
7653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7654 file.
7655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7656 file.
7657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7658 file.
7659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7660 multiarch isnan for PowerPC32.
7661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7662 New file.
7663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7664 New file.
7665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7666 multiarch isnanf for PowerPC32.
7667
ddba588e
AZ
7668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7669 and sqrtf multiarch implementations.
7670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7671 file.
7672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7673 file.
7674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7675 multiarch sqrt for PowerPC32.
7676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7677 file.
7678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7679 file.
7680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7681 multiarch sqrtf for PowerPC32.
7682
0f96a2f0
AZ
7683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7684 and llroundf multiarch implementations.
7685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7686 New file.
7687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7688 New file.
7689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7690 New file.
7691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7692 file: multiarch llround for PowerPC32.
7693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7694 file: multiarch llroundf for PowerPC32.
7695
c9b5d79e
AZ
7696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7697 multiarch PowerPC32 fpu implementations.
7698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7699 New file.
7700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7701 New file.
7702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7703 multiarch llrint for PowerPC32.
7704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7705 New file.
7706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7707 New file.
7708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7709 file.
7710
9cbb3aab
AZ
7711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7712
ea5a72f8
AZ
7713 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7714 file.
7715 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7716 file.
7717 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7718 file.
7719 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7720 multiarch wordcopy for PPC32.
7721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7722 wordcopy objects.
7723 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7724 (__libc_ifunc_impl_list): Likewise.
7725 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7726 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7727 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7728 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7729 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7730 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7731
93be09e7
AZ
7732 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7734 file.
7735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7736 file.
7737 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7738 file.
7739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7740 multiarch wcscpy for PPC32.
7741 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7742 multiarch objects.
7743 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7744 (__libc_ifunc_impl_list): Likewise.
7745 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7746 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7747 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7748 sysdeps/powerpc/power6/wcscpy.c.
7749
bb04e529
AZ
7750 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7752 file.
7753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7754 file.
7755 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7756 file.
7757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7758 multiarch wcsrchr for PPC32.
7759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7760 multiarch objects.
7761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7762 (__libc_ifunc_impl_list): Likewise.
7763 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7764 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7765 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7766 sysdeps/powerpc/power6/wcsrchr.c.
7767
05b5cd1c
AZ
7768 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7769 file.
7770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7771 file.
7772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7774 multiarch wcschr for PPc32.
7775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7776 multiarch objects.
7777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7778 (__libc_ifunc_impl_list): Likewise.
7779 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7780 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7781 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7782 sysdeps/powerpc/power6/wcschr.c.
7783
ba964147
AZ
7784 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7785 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7786 file.
7787 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7788 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7789 file: multiarch strchr for PPC32.
7790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7791 multiarch objects.
7792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7793 (__libc_ifunc_impl_list): Likewise.
7794
31c81aaa
AZ
7795 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7796 name.
7797 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7798 file.
7799 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7800 file.
7801 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7802 multiarch strchrnul for PPC32.
7803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7804 multiarch objects.
7805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7806 (__libc_ifunc_impl_list): Likewise.
7807
0d0607d9
AZ
7808 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7809 file.
7810 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7811 multiarch strncasecmp for PPC32.
7812 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7813 file.
7814 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7815 multiarch strncasecmp_l for PPC32.
7816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7817 strncasecmp multiarch objects.
7818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7819 (__libc_ifunc_impl_list): Likewise.
7820
4dfd5c86
AZ
7821 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7822 file.
7823 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7824 multiarch strncasecmp for PPC32.
7825 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7826 New file.
7827 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7828 multiarch strcasecmp_l for PPC32.
7829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7830 multiarch objects.
7831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7832 (__libc_ifunc_impl_list): Likewise.
7833
a19e01a3
AZ
7834 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7835 file.
7836 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7837 file.
7838 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7839 multiarch strncmp for PPC32.
7840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7841 multiarch objects.
7842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7843 (__libc_ifunc_impl_list): Likewise.
7844
ae9cf7a2
AZ
7845 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7846 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7847 file.
7848 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7849 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7850 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7851 multiarch objects.
7852 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7853 (__libc_ifunc_impl_list): Likewise.
7854
3148bb7d
AZ
7855 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7856 file.
7857 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7858 file.
7859 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7861 multiarch objects.
7862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7863 (__libc_ifunc_impl_list): Likewise.
7864
7af8b946
AZ
7865 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7866 file.
7867 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7868 file.
7869 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7870 multiarch rawmemchr for PPC32.
7871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7872 multiarch objects.
7873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7874 (__libc_ifunc_impl_list): Likewise.
7875
03a6aa6a
AZ
7876 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7877 file.
7878 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7879 file.
7880 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7881 file: memrchr multiarch for PPC32.
7882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7883 multiarch objects.
7884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7885 (__libc_ifunc_impl_list): Likewise.
7886
1c62e6d9
AZ
7887 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7888 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7889 file.
7890 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7891 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7892 multiarch memchr for PPC32.
7893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7894 multiarch objects.
7895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7896 (__libc_ifunc_impl_list): Likewise.
7897
87da8bdb
AZ
7898 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7899 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7900 file.
7901 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7902 file.
7903 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7904 file: multiarch mempcpy for PPC32.
7905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7906 multiarch objects.
7907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7908 (__libc_ifunc_impl_list): Likewise.
7909
20ed4714
AZ
7910 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7911 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7912 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7913 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7914 multiarch bzero for PPC32.
7915 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7916 file.
7917 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7918 file.
7919 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7920 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7921 file: multiarch memset for PPC32.
7922 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7924 memset multiarch objects.
7925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7926 (__libc_ifunc_impl_list): Likewise.
7927
ab3e3a46
AZ
7928 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7929 file.
7930 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7931 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7932 memcmp for PPC32.
7933 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7935 multiarch objects.
7936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7937 (__libc_ifunc_impl_list): Likewise.
7938
930de6f0
AZ
7939 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7940 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7941 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7942 file.
7943 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7944 file.
7945 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7946 file.
7947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7948 multiarch memcpy for PPC32.
7949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7950 multiarch objects.
7951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7952 (__libc_ifunc_impl_list): Likewise.
7953
4c628e00
AZ
7954 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7955 support multiarch for POWER/PPC32.
7956 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7957 Likewise.
7958 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7960 Implies file to make multiarch folder appers before the fpu and
7961 default folder for power4 configuration.
7962
f4479220
SP
79632013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7964
7965 * scripts/bench.pl: Append volatile keyword to type.
7966
8517800f
KK
79672013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7968
7969 * sysdeps/sh/sotruss-lib.c: New file.
7970 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7971
180138f1
AZ
79722013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7973
7974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7975
bbf37bdc
JM
79762013-12-05 Joseph Myers <joseph@codesourcery.com>
7977
e47cc4e0
JM
7978 [BZ #6810]
7979 * math/w_tgamma.c: Include <errno.h>.
7980 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7981 * math/w_tgammaf.c: Include <errno.h>.
7982 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7983 * math/w_tgammal.c: Include <errno.h>.
7984 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7985 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7986 underflow. Add more tgamma tests.
7987 * math/auto-libm-test-out: Regenerated.
7988 * sysdeps/i386/fpu/libm-test-ulps: Update.
7989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7990
bbf37bdc
JM
7991 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7992 sin, sinh, tan, tanh, tgamma, y0 and y1.
7993 * math/auto-libm-test-out: Regenerated.
7994 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7995 (TEST_COND_x86): Likewise.
7996 (M_E2l): Remove macro.
7997 (M_E3l): Likewise.
7998 (M_2_SQRT_PIl): Likewise.
7999 (M_SQRT_PIl): Likewise.
8000 (M_1_DIV_El): Likewise.
8001 (log_test_data): Use AUTO_TESTS_f_f.
8002 (log10_test_data): Likewise.
8003 (log1p_test_data): Likewise.
8004 (log2_test_data): Likewise.
8005 (sin_test_data): Likewise.
8006 (sin_tonearest_test_data): Likewise.
8007 (sin_towardzero_test_data): Likewise.
8008 (sin_downward_test_data): Likewise.
8009 (sin_upward_test_data): Likewise.
8010 (sinh_test_data): Likewise.
8011 (sinh_tonearest_test_data): Likewise.
8012 (sinh_towardzero_test_data): Likewise.
8013 (sinh_downward_test_data): Likewise.
8014 (sinh_upward_test_data): Likewise.
8015 (tan_test_data): Likewise.
8016 (tan_tonearest_test_data): Likewise.
8017 (tan_towardzero_test_data): Likewise.
8018 (tan_downward_test_data): Likewise.
8019 (tan_upward_test_data): Likewise.
8020 (tanh_test_data): Likewise.
8021 (tgamma_test_data): Likewise.
8022 (y0_test_data): Likewise.
8023 (y1_test_data): Likewise.
8024 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8025 (special_real_inputs): Add pi/4.
8026 * sysdeps/i386/fpu/libm-test-ulps: Update.
8027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8028
eb5ad6b9
AZ
80292013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8030
8031 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8032 "longjmp_target" static probes.
8033 (__longjmp): Rename to __longjmp_symbol.
8034 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8035 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8036 on which longjmp to generate.
8037 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8038 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8039 probe.
8040 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8041 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8042 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8043 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8044 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8045 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8047 __longjmp_symbol based on which __longjmp to generate.
8048 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8049 probe.
8050 (setjmp): Rename to setjmp_symbol.
8051 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8052 (_setjmp): Rename to _setjmp_symbol.
8053 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8054 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8055 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8056 which setjmp to generate.
8057 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8058 "longjmp_target" static probes.
8059
d136c6dc
SP
80602013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8061
9298ecba
SP
8062 * benchtests/README: Add note about output arguments.
8063 * benchtests/bench-sincos.c: Remove file.
8064 * benchtests/sincos-inputs: New file.
8065 * scripts/bench.pl: Identify output arguments and define
8066 static variables for them.
8067
232983e9
SP
8068 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8069
d136c6dc
SP
8070 [BZ #15941]
8071 * Makefile (INSTALL): Add install-plain.texi as the primary
8072 dependency.
8073 * manual/install-plain.texi: New file.
8074 * manual/install.texi: Include node directive only for
8075 non-plaintext output.
8076
699ff837
JM
80772013-12-04 Joseph Myers <joseph@codesourcery.com>
8078
ab07cea8
JM
8079 * stdlib/longlong.h: Update from GCC.
8080
699ff837
JM
8081 [BZ #6807]
8082 [BZ #15901]
8083 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8084 * math/w_j0f.c (y0f): Likewise.
8085 * math/w_j0l.c (__y0l): Likewise.
8086 * math/w_j1.c (y1): Likewise.
8087 * math/w_j1f.c (y1f): Likewise.
8088 * math/w_j1l.c (__y1l): Likewise
8089 * math/w_jn.c (yn): Likewise.
8090 * math/w_jnf.c (ynf): Likewise.
8091 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8092 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8093 value for Bessel function domain errors outside _SVID_ mode.
8094 Adjust sign of return value for yn (negative integer, 0).
8095 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8096 by zero in return for negative x and set sign appropriately for
8097 negative n.
8098 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8099 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8100 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8101 expectations in error cases.
8102 (y1_test_data): Likewise.
8103 (yn_test_data): Likewise.
8104 * sysdeps/i386/fpu/libm-test-ulps: Update.
8105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8106
5b118558
UW
81072013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8108
8109 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8110 "64" to "64-v1". Add "64-v2".
8111 (abi-64-options): Rename to ...
8112 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8113 (abi-64-condition): Rename to ...
8114 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8115 (abi-64-ld-soname): Rename to ...
8116 (abi-64-v1-ld-soname): ... this.
8117 (abi-64-v2-options): Define.
8118 (abi-64-v2-condition): Likewise.
8119 (abi-64-v2-ld-soname): Likewise.
8120 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8121 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8125
61cd8fe4
UW
81262013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8127 Alan Modra <amodra@gmail.com>
8128
8129 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8130 New versions for use with the ELFv2 ABI.
8131 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8132 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8133 declaration.
8134 (struct La_ppc64v2_retval): Likewise.
8135 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8136 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8137 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8138 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8139 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8140 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8141 Do not save or restore CR.
8142 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8143 (_dl_profile_resolve): Do no save or restore CR. Support extended
8144 return values for ELFv2 ABI. Fix location of FPR return registers.
8145 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8146 updated values for _CALL_ELF == 2.
8147 (La_regs, La_retval, int_retval): Likewise.
8148
8b8a692c
UW
81492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8150
8151 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8152 (FRAME_MIN_SIZE_PARM): Likewise.
8153 (FRAME_BACKCHAIN): Likewise.
8154 (FRAME_CR_SAVE): Likewise.
8155 (FRAME_LR_SAVE): Likewise.
8156 (FRAME_TOC_SAVE): Likewise.
8157 (FRAME_PARM_SAVE): Likewise.
8158 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8159 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8160 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8161 (call_mcount_parm_offset): New macro.
8162 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8163 (PROF): Use symbolic stack frame offsets.
8164 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8165 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8166 Redefine in terms of FRAME_MIN_SIZE.
8167 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8168 (_dl_profile_resolve): Likewise. Update comment.
8169 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8170 symbols stack frame offsets.
8171 (__sigsetjmp): Likewise.
8172 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8173 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8174 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8175 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8176
8177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8178 (FRAME_BACKCHAIN): Remove.
8179 (FRAME_CR_SAVE): Likewise.
8180 (FRAME_LR_SAVE): Likewise.
8181 (FRAME_COMPILER_DW): Likewise.
8182 (FRAME_LINKER_DW): Likewise.
8183 (FRAME_TOC_SAVE): Likewise.
8184 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
8185 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8186 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8187 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
8188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8189 (CHECK_SP): Use symbolic stack frame offsets.
8190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8191 zone" instead of caller's parameter save area for temp storage.
8192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8193 Likewise. Also, use symbolic stack frame offsets.
8194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8195 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8196 our own stack frame instead of the caller's.
8197 (__socket): Use symbolic stack frame offsets.
8198
122b66de
UW
81992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8200 Alan Modra <amodra@gmail.com>
8201
8202 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8203 Define.
57f41c40
AS
8204 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8205 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
8206 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8207 New function.
8208 (elf_machine_fixup_plt): Call it.
8209 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8210 reloc arguments.
8211 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
8212 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8213 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
8214 r2 before calling target.
8215
696caf1d
UW
82162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8217 Alan Modra <amodra@gmail.com>
8218
8219 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8220 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8221 versions of macros to support ELFv2 ABI.
8222 (LOCALENTRY): New macro.
8223 (ENTRY, EALIGN): Use it.
8224 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8225 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8226 fall through into ENTRY entry point.
8227 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8228 Only define if _CALL_ELF != 2.
8229
8230 (elf_machine_matches_host): Verify ABI version matches.
8231 (RTLD_START): Use LOCALENTRY.
8232 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8233 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8234 (PLT_ENTRY_WORDS): New macro.
8235 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8236 (elf_machine_runtime_setup): Support ELFv2 ABI.
8237 (elf_machine_fixup_plt): Likewise.
8238 (elf_machine_plt_conflict): Likewise.
8239 (resolve_ifunc): Likewise.
8240 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8241 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8242 Likewise.
8243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8244 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8246 (makecontext): Support ELFv2 ABI.
8247 * elf/elf.h (EF_PPC64_ABI): Define.
8248
d31beafa
UW
82492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8250
57f41c40
AS
8251 * sysdeps/powerpc/powerpc64/sysdep.h
8252 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8253 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8254 (ENTRY) [ASSEMBLER]: ... but instead here ...
8255 (EALIGN) [ASSEMBLER]: ... and here.
8256 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8257 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8258 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8259 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8260 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8261 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8262 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8263 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8265 Use PPC64_LOAD_FUNCPTR.
8266
b525166b
UW
8267 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8268
7ec07d9a
AM
82692013-12-04 Alan Modra <amodra@gmail.com>
8270
8271 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8272 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8273 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8274 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8275
8276 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8277 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8278 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8279 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8280 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8281 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8282
5162e7dd
UW
82832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8284
8285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8286 (__makecontext): Fix incorrect CFI when backtracing out of
8287 context created via makecontext.
8288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8289 (__setcontext): Fix incorrect CFI during switch to new context.
8290 (__novec_setcontext): Likewise.
8291
19e3372b
OB
82922013-12-04 Ondřej Bílka <neleai@seznam.cz>
8293
8294 [BZ #4772]
8295 * time/strptime_l.c (__strptime_internal): Allow modifiers
8296 in strptime.
8297 * time/tst-strptime.c (day_tests): Add testcase.
8298
ecaf142d
SP
82992013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8300
8301 * scripts/bench.pl: Skip over blank lines.
8302
fbf964ae
PE
83032013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8304
8305 [BZ #926]
8306 * manual/time.texi (Calendar Time): Clarify what timezone functions
8307 use.
8308
fa60a674
AZ
83092013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8310
8311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8312
d674f0ef
OB
83132013-12-04 Ondřej Bílka <neleai@seznam.cz>
8314
8315 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8316 implementation.
8317 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8318 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8319 * debug/memset_chk.c (__memset_chk): Likewise.
8320 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8321 * debug/strncpy_chk.c: Likewise.
8322
17dea188
JM
83232013-12-03 Joseph Myers <joseph@codesourcery.com>
8324
749008ff
JM
8325 [BZ #15268]
8326 [BZ #15425]
8327 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8328 (__ieee754_exp): For possibly underflowing results, check size of
8329 result and force underflow exception if required.
8330 * math/auto-libm-test-in: Add more tests of exp.
8331 * math/auto-libm-test-out: Regenerated.
8332 * sysdeps/i386/fpu/libm-test-ulps: Update.
8333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8334
17dea188
JM
8335 [BZ #16283]
8336 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8337 * math/w_exp2f.c (__exp2f): Likewise.
8338 * math/w_exp2l.c (__exp2l): Likewise.
8339 * math/auto-libm-test-in: Do not allow missing errno on exp2
8340 underflow.
8341 * math/auto-libm-test-out: Regenerated.
8342
b20de2c3
OB
83432013-12-03 Ondřej Bílka <neleai@seznam.cz>
8344
8345 [BZ #16274]
8346 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8347 handle filename validation.
8348 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8349 (do_open): Delete.
8350
d8e2dbe3
JM
83512013-12-03 Joseph Myers <joseph@codesourcery.com>
8352
34e16df5
JM
8353 [BZ #6786]
8354 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8355 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8356 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8357 <float.h>.
8358 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8359 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8360 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8361 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8362 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8363 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8364 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8365 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8366 Add more erfc tests.
8367 * math/auto-libm-test-out: Regenerated.
8368 * sysdeps/i386/fpu/libm-test-ulps: Update.
8369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8370
d8e2dbe3
JM
8371 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8372 exp2, expm1, j0 and j1.
8373 * math/auto-libm-test-out: Regenerated.
8374 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8375 (erfc_test_data): Likewise.
8376 (exp_test_data): Likewise.
8377 (exp_tonearest_test_data): Likewise.
8378 (exp_towardzero_test_data): Likewise.
8379 (exp_downward_test_data): Likewise.
8380 (exp_upward_test_data): Likewise.
8381 (exp10_test_data): Likewise.
8382 (exp2_test_data): Likewise.
8383 (expm1_test_data): Likewise.
8384 (j0_test_data): Likewise.
8385 (j1_test_data): Likewise.
8386 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8387 (input_flag_type): Add flag_xfail_rounding.
8388 (input_flags): Add xfail-rounding.
8389 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8390 (output_for_one_input_case): Handle flag_xfail_rounding.
8391 * sysdeps/i386/fpu/libm-test-ulps: Update.
8392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8393
18d14251
AJ
83942013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8395
3d2e6075 8396 [BZ #16289]
18d14251
AJ
8397 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8398 division by 0.
8399
520d437b
SP
84002013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8401
8402 [BZ #16195]
8403 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8404 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8405 (STAP_PROBE0): New macro.
8406 (STAP_PROBE1): Likewise.
8407 (STAP_PROBE2): Likewise.
8408 (STAP_PROBE3): Likewise.
8409 (STAP_PROBE4): Likewise.
8410
416e0145
OB
84112013-12-02 Ondřej Bílka <neleai@seznam.cz>
8412
8413 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8414
9d17796a
SE
84152013-12-02 Steve Ellcey <sellcey@mips.com>
8416
8417 * benchtests/Makefile (bench): Add sqrt.
8418 (LDLIBS-bench-sqrt): New.
8419 * benchtests/sqrt-input: New.
8420
f524d6a8
PS
84212013-12-02 Pavel Simerda <psimerda@redhat.com>
8422
639a0ef8
PS
8423 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8424 (GAIH_EAI): Likewise.
8425 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8426 (gaih_inet): Likewise.
8427 (getaddrinfo): Don't use GAIH_EAI.
8428
f524d6a8
PS
8429 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8430 (struct gaih): Remove definition.
8431
df3aedaf
SP
84322013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8433
8434 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8435 Use HERRNOP directly.
8436
1ab19dec
AZ
84372013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8438
b42ad38d 8439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 8440
176b0c79
JM
84412013-11-30 Joseph Myers <joseph@codesourcery.com>
8442
8443 * math/gen-auto-libm-tests.c (test_functions): Add more
8444 single-argument functions.
8445 (special_fill_pi_2): New function.
8446 (special_fill_minus_pi_2): Likewise.
8447 (special_fill_pi_6): Likewise.
8448 (special_fill_minus_pi_6): Likewise.
8449 (special_fill_pi_3): Likewise.
8450 (special_fill_2pi_3): Likewise.
8451 (special_fill_e): Likewise.
8452 (special_fill_1_e): Likewise.
8453 (special_fill_e_minus_1): Likewise.
8454 (special_real_inputs): Add more special inputs.
8455 (output_for_one_input_case): Do not require ERANGE on underflow to
8456 zero if round-to-nearest result does not underflow to zero, unless
8457 exact results required.
8458 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8459 atan, atanh, cbrt, cos and cosh.
8460 * math/auto-libm-test-out: Regenerated.
8461 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8462 (acos_tonearest_test_data): Likewise.
8463 (acos_towardzero_test_data): Likewise.
8464 (acos_downward_test_data): Likewise.
8465 (acos_upward_test_data): Likewise.
8466 (acosh_test_data): Likewise.
8467 (asin_test_data): Likewise.
8468 (asin_tonearest_test_data): Likewise.
8469 (asin_towardzero_test_data): Likewise.
8470 (asin_upward_test_data): Likewise.
8471 (asinh_test_data): Likewise.
8472 (atan_test_data): Likewise.
8473 (atanh_test_data): Likewise.
8474 (cbrt_test_data): Likewise.
8475 (cos_test_data): Likewise.
8476 (cos_tonearest_test_data): Likewise.
8477 (cos_towardzero_test_data): Likewise.
8478 (cos_downward_test_data): Likewise.
8479 (cos_upward_test_data): Likewise.
8480 (cosh_test_data): Likewise.
8481 (cosh_tonearest_test_data): Likewise.
8482 (cosh_towardzero_test_data): Likewise.
8483 (cosh_downward_test_data): Likewise.
8484 (cosh_upward_test_data): Likewise.
8485 * sysdeps/i386/fpu/libm-test-ulps: Update.
8486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8487
ffb536d0
JM
84882013-11-29 Joseph Myers <joseph@codesourcery.com>
8489
2a77a467
JM
8490 [BZ #6787]
8491 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8492 * math/w_exp10f.c (__exp10f): Likewise.
8493 * math/w_exp10l.c (__exp10l): Likewise.
8494 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8495 errno settings in existing tests.
8496
ea3bc4e8
JM
8497 [BZ #14032]
8498 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8499 precision control set to double precision.
8500 * sysdeps/i386/fpu/w_sqrt.c: New file.
8501 * math/auto-libm-test-in: Add more tests.
8502 * math/auto-libm-test-out: Update.
8503
0712c9d8
JM
8504 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8505 (sqrt_test_tonearest): New function.
8506 (sqrt_towardzero_test_data): New variable.
8507 (sqrt_test_towardzero): New function.
8508 (sqrt_downward_test_data): New variable.
8509 (sqrt_test_downward): New function.
8510 (sqrt_upward_test_data): New variable.
8511 (sqrt_test_upward): New function.
8512 (main): Call the new functions.
8513
ffb536d0
JM
8514 * math/gen-auto-libm-tests.c: New file.
8515 * math/auto-libm-test-in: Likewise.
8516 * math/auto-libm-test-out: New generated file.
8517 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8518 variables.
8519 (%beautify): Add generated representations of zero.
8520 (top level): Set $auto_input and call parse_auto_input.
8521 (beautify): Remove trailing "f" from hex float constants.
8522 (parse_args): Handle XFAIL_TEST.
8523 (convert_condition): New function.
8524 (or_value): Likewise.
8525 (or_cond_value): Likewise.
8526 (generate_testfile): Handle AUTO_TESTS_* lines.
8527 (parse_auto_input): New function.
8528 * math/libm-test.inc (XFAIL_TEST): New macro.
8529 (ERRNO_UNCHANGED): Update value.
8530 (ERRNO_EDOM): Likewise.
8531 (ERRNO_ERANGE): Likewise.
8532 (IGNORE_RESULT): Likewise.
8533 (TEST_COND_flt_32): New macro.
8534 (TEST_COND_dbl_64): Likewise.
8535 (TEST_COND_ldbl_96_intel): Likewise.
8536 (TEST_COND_ldbl_96_m68k): Likewise.
8537 (TEST_COND_ldbl_128): Likewise.
8538 (TEST_COND_ldbl_128ibm): Likewise.
8539 (TEST_COND_long32): Likewise.
8540 (TEST_COND_long64): Likewise.
8541 (TEST_COND_before_rounding): Likewise.
8542 (TEST_COND_after_rounding): Likewise.
8543 (enable_test): Handle XFAIL_TEST flag.
8544 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8545 with finite results.
8546 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8547 auto-libm-test-out.
8548
acd98a8e
AK
85492013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8550 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8551
8552 [BZ #16214]
8553 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8554 __tls_get_addr_internal instead of __tls_get_offset in order to
8555 avoid GOT pointer dependency. Make rtld export
8556 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8557 __tls_get_addr since we are a __tls_get_offset platform.
8558 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8559 GOT pointer being set up before.
8560 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8561
3c1c46a6
JM
85622013-11-28 Joseph Myers <joseph@codesourcery.com>
8563
7475aef5
JM
8564 * manual/math.texi (Errors in Math Functions): Document accuracy
8565 goals.
8566
8bca7cd8
JM
8567 [BZ #15004]
8568 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8569 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8572 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8573 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8574 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8576 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8581 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8584
91a1f3fe
JM
8585 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8586 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8587 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8588 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8589 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8590 Likewise.
8591 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8592 Likewise.
8593 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8594 Likewise.
8595 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8596 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8597 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8598 atomic-feupdateenv and flt-rounds.
8599 * sysdeps/powerpc/nofpu/Versions (libc): Add
8600 __atomic_feholdexcept, __atomic_feclearexcept,
8601 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8602 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8603 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8604 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8605 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8606 here.
8607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8608 Update.
8609
c5df7609
JM
8610 * manual/arith.texi (FP Exceptions): Document that exceptions may
8611 not be raised when matherr is used.
8612 (Math Error Reporting): Document overflow in directed rounding
8613 modes. Document that errno may not be set when finite values are
8614 returned on overflow. Document intent to set errno on underflow
8615 only for underflow to zero.
8616
3c1c46a6
JM
8617 [BZ #16271]
8618 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8619 round-to-nearest then adjust result for other rounding modes.
8620 * include/fenv.h (fegetround): Use libm_hidden_proto.
8621 * math/fegetround.c (fegetround): Use libm_hidden_def.
8622 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8623 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8624 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8625 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8626 Likewise.
8627 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8628 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8629 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8630 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8631
5a4c6d53
SP
86322013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8633
8634 [BZ #16077]
8635 * nss/Versions (libnss_files): Add
8636 _nss_files_gethostbyname3_r.
8637 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8638 New function.
8639 (HOST_DB_LOOKUP): Remove macro.
8640 (_nss_files_gethostbyname_r): Implement function without the
8641 HOST_DB_LOOKUP macro.
8642 (_nss_files_gethostbyname2_r): Likewise.
8643
897b98ba
OB
86442013-11-28 Ondřej Bílka <neleai@seznam.cz>
8645
8646 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8647
6f476861
UB
86482013-11-26 Uros Bizjak <ubizjak@gmail.com>
8649
8650 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8651 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8652 warning.
8653
bd12ab55
AZ
86542013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8655
8656 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8657 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8658 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8659 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8660 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8661 __fe_nomask_env_priv and attribute_hidden.
8662 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8663 (libc_feupdateenv_test_ppc): Likewise.
8664 (libc_feresetround_ppc): Likewise.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8666 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8667 compat_symbol macro.
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8669 (__fe_nomask_env): Likewise.
8670 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8671
52bb6543
OB
86722013-11-26 Ondřej Bílka <neleai@seznam.cz>
8673
8674 * string/Makefile: Remove ifunc tests.
8675 * string/test-string.h: Define TEST_IFUNC.
8676 * string/test-bcopy-ifunc.c: Remove.
8677 * string/test-bzero-ifunc.c: Likewise.
8678 * string/test-memccpy-ifunc.c: Likewise.
8679 * string/test-memchr-ifunc.c: Likewise.
8680 * string/test-memcmp-ifunc.c: Likewise.
8681 * string/test-memcpy-ifunc.c: Likewise.
8682 * string/test-memmem-ifunc.c: Likewise.
8683 * string/test-memmove-ifunc.c: Likewise.
8684 * string/test-mempcpy-ifunc.c: Likewise.
8685 * string/test-memrchr-ifunc.c: Likewise.
8686 * string/test-memset-ifunc.c: Likewise.
8687 * string/test-rawmemchr-ifunc.c: Likewise.
8688 * string/test-stpcpy-ifunc.c: Likewise.
8689 * string/test-stpncpy-ifunc.c: Likewise.
8690 * string/test-strcasecmp-ifunc.c: Likewise.
8691 * string/test-strcasestr-ifunc.c: Likewise.
8692 * string/test-strcat-ifunc.c: Likewise.
8693 * string/test-strchr-ifunc.c: Likewise.
8694 * string/test-strchrnul-ifunc.c: Likewise.
8695 * string/test-strcmp-ifunc.c: Likewise.
8696 * string/test-strcpy-ifunc.c: Likewise.
8697 * string/test-strcspn-ifunc.c: Likewise.
8698 * string/test-strlen-ifunc.c: Likewise.
8699 * string/test-strncasecmp-ifunc.c: Likewise.
8700 * string/test-strncat-ifunc.c: Likewise.
8701 * string/test-strncmp-ifunc.c: Likewise.
8702 * string/test-strncpy-ifunc.c: Likewise.
8703 * string/test-strnlen-ifunc.c: Likewise.
8704 * string/test-strpbrk-ifunc.c: Likewise.
8705 * string/test-strrchr-ifunc.c: Likewise.
8706 * string/test-strspn-ifunc.c: Likewise.
8707 * string/test-strstr-ifunc.c: Likewise.
8708
ab260039 87092013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8710
8711 * benchtests/Makefile: Remove ifunc tests.
8712 * benchtests/bench-string.h: Define TEST_IFUNC.
8713 * benchtests/bench-bcopy-ifunc.c: Remove.
8714 * benchtests/bench-bzero-ifunc.c: Likewise.
8715 * benchtests/bench-memccpy-ifunc.c: Likewise.
8716 * benchtests/bench-memchr-ifunc.c: Likewise.
8717 * benchtests/bench-memcmp-ifunc.c: Likewise.
8718 * benchtests/bench-memcpy-ifunc.c: Likewise.
8719 * benchtests/bench-memmem-ifunc.c: Likewise.
8720 * benchtests/bench-memmove-ifunc.c: Likewise.
8721 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8722 * benchtests/bench-memrchr-ifunc.c: Likewise.
8723 * benchtests/bench-memset-ifunc.c: Likewise.
8724 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8725 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8726 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8727 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8728 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8729 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8730 * benchtests/bench-strcat-ifunc.c: Likewise.
8731 * benchtests/bench-strchr-ifunc.c: Likewise.
8732 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8733 * benchtests/bench-strcmp-ifunc.c: Likewise.
8734 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8735 * benchtests/bench-strcpy-ifunc.c: Likewise.
8736 * benchtests/bench-strcspn-ifunc.c: Likewise.
8737 * benchtests/bench-strlen-ifunc.c: Likewise.
8738 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8739 * benchtests/bench-strncat-ifunc.c: Likewise.
8740 * benchtests/bench-strncmp-ifunc.c: Likewise.
8741 * benchtests/bench-strncpy-ifunc.c: Likewise.
8742 * benchtests/bench-strnlen-ifunc.c: Likewise.
8743 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8744 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8745 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8746 * benchtests/bench-strspn-ifunc.c: Likewise.
8747 * benchtests/bench-strstr-ifunc.c: Likewise.
8748
87492013-11-26 Ondřej Bílka <neleai@seznam.cz>
8750
ab260039
OB
8751 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8752
d1d9eaf4 87532013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8754
d1d9eaf4
OB
8755 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8756 * rt/aio.h: Likewise.
8757 * sysdeps/gnu/bits/utmp.h: Likewise.
8758 * sysdeps/gnu/bits/utmpx.h: Likewise.
8759 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8760 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8761 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8762 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8763 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8764 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8765 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8766 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8767 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8768 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8769 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8770 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8771 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8773 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8774 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8775 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8776 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8777 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8778 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8779 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8780 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8781 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8782 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8783 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8785 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8786 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8787 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8788 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8789 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8790 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8791 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8792 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8793 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8794 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8795 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8796 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8797 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8798 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8799 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8800 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8801
a7624ed9
CD
88022013-11-25 Carlos O'Donell <carlos@redhat.com>
8803
8804 [BZ #16245]
8805 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8806 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8807
63cfe52b
JM
88082013-11-25 Joseph Myers <joseph@codesourcery.com>
8809
8810 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8811 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8812 Likewise.
8813
41e8926a
AZ
88142013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8815
8816 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8817 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8818 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8819 (__fesetround): Remove define.
8820 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8821 rounding and exceptions handling.
8822 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8823 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8824 (__fe_nomask_env): Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8826 __fegetround instead of fegetround.
8827 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8828 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8829
6851bd4d
RM
88302013-11-21 Roland McGrath <roland@hack.frob.com>
8831
070906ff
RM
8832 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8833 it's there.
8834
6851bd4d
RM
8835 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8836
84ae135d
MI
88372013-11-21 Meador Inge <meadori@codesourcery.com>
8838
8839 [BZ #11157]
8840 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8841 (encrypt_r): Likewise.
8842 * malloc/obstack.h (obstack_free): Likewise.
8843 * posix/unistd.h (encrypt): Likewise.
8844
daf75146
GM
88452013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8846
8847 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8848 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8849 DL_CALL_DT_FINI() that call the functions directly.
8850 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8851 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8852 * elf/dl-fini.c: Likewise.
8853
10ad46bc
OB
88542013-11-20 Ondřej Bílka <neleai@seznam.cz>
8855
8856 * malloc/hooks.c (memalign_check): Add alignment rounding.
8857 * malloc/malloc.c (_mid_memalign): New function.
8858 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8859 Implement by calling _mid_memalign.
8860 * manual/probes.texi (Memory Allocation Probes): Remove
8861 memory_valloc_retry and memory_pvalloc_retry.
8862
f3fd2628
SP
88632013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8864
4712799f
SP
8865 * locale/programs/locarchive.c (open_archive): Add const
8866 qualifier to ARCHIVEFNAME and copy default fname to
8867 DEFAULT_FNAME.
8868
0417b20f
SP
8869 [BZ #15601]
8870 * libio/tst-widetext.input: Rename Oriya to Odia.
8871 * locale/iso-639.def: Likewise.
8872
f3fd2628
SP
8873 * manual/probes.texi (Mathematical Function Probes): Add
8874 documentation for sin, cos, asin and acos probes.
8875 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8876 (__sin32): Add slowasin probe.
8877 (__cos32): Add slowacos probe.
8878 (__mpsin): Add slowsin probe.
8879 (__mpcos): Add slowcos probe.
8880
73c1ce4f
JM
88812013-11-19 Joseph Myers <joseph@codesourcery.com>
8882
8883 [BZ #15483]
8884 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8885 thread-local __sim_exceptions_thread and global
8886 __sim_exceptions_global.
8887 (__sim_disabled_exceptions): Change to thread-local
8888 __sim_disabled_exceptions_thread and global
8889 __sim_disabled_exceptions_global.
8890 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8891 and global __sim_round_mode_global.
8892 (__simulate_exceptions): Use thread-local floating-point state and
8893 set global state from it as needed.
8894 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8895 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8896 __sim_round_mode_thread.
8897 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8898 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8899 and global __sim_exceptions_global.
8900 (__sim_disabled_exceptions): Change to thread-local
8901 __sim_disabled_exceptions_thread and global
8902 __sim_disabled_exceptions_global.
8903 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8904 and global __sim_round_mode_global.
8905 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8906 (SIM_SET_GLOBAL): Likewise.
8907 * sysdeps/powerpc/soft-fp/sfp-machine.h
8908 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8909 __sim_round_mode_thread.
8910 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8911 __sim_disabled_exceptions_thread.
8912 (__sim_exceptions): Change to __sim_exceptions_thread.
8913 (__sim_disabled_exceptions): Change to
8914 __sim_disabled_exceptions_thread.
8915 (__sim_round_mode): Change to __sim_round_mode_thread.
8916 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8917 thread-local floating-point state and set global state from it as
8918 needed.
8919 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8920 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8921 (__sim_disabled_exceptions): Remove extern declaration.
8922 (feenableexcept): Use thread-local floating-point state and set
8923 global state from it as needed.
8924 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8925 extern declaration.
8926 (__sim_disabled_exceptions): Likewise.
8927 (__sim_round_mode): Likewise.
8928 (__fegetenv): Use thread-local floating-point state.
8929 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8930 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8931 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8932 floating-point state and set global state from it as needed.
8933 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8934 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8935 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8936 Likewise.
8937 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8938 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8939 Likewise.
8940 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8941 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8942 Use __sim_round_mode_thread.
8943 * math/test-fenv-tls.c: New file.
8944 * math/Makefile (tests): Add test-fenv-tls.
8945 ($(objpfx)test-fenv-tls): Depend on
8946 $(common-objpfx)nptl/libpthread.so.
8947
b5449b12
AS
89482013-11-19 Andreas Schwab <schwab@suse.de>
8949
8950 * locale/programs/locale.c (show_info): Decode wordarray elements.
8951 * locale/categories.def (LC_MONETARY): Add element for
8952 _NL_MONETARY_CRNCYSTR.
8953 * locale/C-monetary.c (conversion_rate): New variable.
8954 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8955 element.
8956
e186536b
CM
89572013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8958
8959 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8960 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8961
5c349950
PP
89622013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8963
8964 * elf/Makefile (tst-auxv): New test.
8965 * elf/tst-auxv.c: New
8966 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8967
699df45b
JM
89682013-11-18 Joseph Myers <joseph@codesourcery.com>
8969
8970 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8971 (hidden_proto): Caller changed.
8972 (hidden_tls_proto): New macro.
8973 (libc_hidden_tls_proto): Likewise.
8974 (rtld_hidden_tls_proto): Likewise.
8975 (libm_hidden_tls_proto): Likewise.
8976 (libresolv_hidden_tls_proto): Likewise.
8977 (librt_hidden_tls_proto): Likewise.
8978 (libdl_hidden_tls_proto): Likewise.
8979 (libnss_files_hidden_tls_proto): Likewise.
8980 (libnsl_hidden_tls_proto): Likewise.
8981 (libnss_nisplus_hidden_tls_proto): Likewise.
8982 (libutil_hidden_tls_proto): Likewise.
8983
b7589107
OB
89842013-11-18 Ondřej Bílka <neleai@seznam.cz>
8985
8986 [BZ #10253]
8987 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8988 (decompose_rpath): Defer expansion to fillin_rpath.
8989 (_dl_init_paths): Pass linkmap to fillin_rpath.
8990
250c23bd
RS
89912013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8992
8993 * benchtests/Makefile: Add strsep.
8994 * benchtests/bench-strsep.c: New file: strsep benchtest.
8995 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8996
a7931fcf
AS
89972013-11-18 Andreas Schwab <schwab@suse.de>
8998
8999 * locale/programs/locale.c (show_info) [case byte]: Check for
9000 '\377' instead of '\177'.
9001 * locale/C-monetary.c (not_available): Always use "\377".
9002 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9003 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9004 detect unavailable sign_posn locale elements.
9005 * locale/localeconv.c (__localeconv): For grouping and
9006 mon_grouping handle "\177" and "\377" like no grouping.
9007 (INT_ELEM): New macro. Use it to set all numeric members.
9008 * locale/programs/ld-monetary.c (monetary_read)
9009 <tok_mon_grouping>: Normalize single -1 to the empty string.
9010 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9011 Likewise.
9012
728dab0e
OB
90132013-11-07 Ondřej Bílka <neleai@seznam.cz>
9014
9015 [BZ #16055]
9016 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9017 when we match (nil).
9018 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9019
66294491
JM
90202013-11-16 Joseph Myers <joseph@codesourcery.com>
9021
ce665817
JM
9022 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9023 (NO_TEST_INLINE): Update value.
9024 (ERRNO_UNCHANGED): Likewise.
9025 (ERRNO_EDOM): Likewise.
9026 (ERRNO_ERANGE): Likewise.
9027 (IGNORE_RESULT): Likewise.
9028 (check_float_internal): Check signs of NaN results if
9029 TEST_NAN_SIGN used.
9030 (check_complex): Pass TEST_NAN_SIGN flag through to second
9031 check_float_internal call.
9032 (copysign_test_data): Add tests with quiet NaNs as second
9033 argument. Use TEST_NAN_SIGN.
9034 (fabs_test_data): Add test of negative quiet NaN argument. Use
9035 TEST_NAN_SIGN.
9036 (signbit_test_data): Add tests of quiet NaN argument.
9037 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9038
ee1466a9
JM
9039 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9040 $ignore_result.
9041 (parse_args): Handle function results specified as IGNORE.
9042 * math/libm-test.inc (IGNORE_RESULT): New macro.
9043 (check_float_internal): Do not check numerical result if flag
9044 IGNORE_RESULT set.
9045 (check_complex): Pass through IGNORE_RESULT to second
9046 check_float_internal call.
9047 (check_int): Do not check numerical result if flag IGNORE_RESULT
9048 set.
9049 (check_long): Likewise.
9050 (check_bool): Likewise.
9051 (check_longlong): Likewise.
9052 (lrint_test_data): Add tests of infinite and NaN arguments.
9053 (lrint_tonearest_test_data): Likewise.
9054 (lrint_towardzero_test_data): Likewise.
9055 (lrint_downward_test_data): Likewise.
9056 (lrint_upward_test_data): Likewise.
9057 (llrint_test_data): Likewise.
9058 (llrint_tonearest_test_data): Likewise.
9059 (llrint_towardzero_test_data): Likewise.
9060 (llrint_downward_test_data): Likewise.
9061 (llrint_upward_test_data): Likewise.
9062 (lround_test_data): Likewise.
9063 (llround_test_data): Likewise.
9064
14407b7e
JM
9065 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9066 (ERRNO_UNCHANGED): Update value.
9067 (ERRNO_EDOM): Likewise.
9068 (ERRNO_ERANGE): Likewise.
9069 (NO_TEST_INLINE_FLOAT): New macro.
9070 (NO_TEST_INLINE_DOUBLE): Likewise.
9071 (enable_test): New function.
9072 (RUN_TEST_f_f): Check enable_test before running test.
9073 (RUN_TEST_2_f): Likewise.
9074 (RUN_TEST_fff_f): Likewise.
9075 (RUN_TEST_c_f): Likewise.
9076 (RUN_TEST_f_f1): Likewise.
9077 (RUN_TEST_fF_f1): Likewise.
9078 (RUN_TEST_fI_f1): Likewise.
9079 (RUN_TEST_ffI_f1): Likewise.
9080 (RUN_TEST_c_c): Likewise.
9081 (RUN_TEST_cc_c): Likewise.
9082 (RUN_TEST_f_i): Likewise.
9083 (RUN_TEST_f_i_tg): Likewise.
9084 (RUN_TEST_ff_i_tg): Likewise.
9085 (RUN_TEST_f_b): Likewise.
9086 (RUN_TEST_f_b_tg): Likewise.
9087 (RUN_TEST_f_l): Likewise.
9088 (RUN_TEST_f_L): Likewise.
9089 (RUN_TEST_fFF_11): Likewise.
9090 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9091 conditionals.
9092 (cosh_test_data): Likewise.
9093 (exp_test_data): Likewise.
9094 (expm1_test_data): Likewise.
9095 (hypot_test_data): Likewise.
9096 (pow_test_data): Likewise.
9097 (sinh_test_data): Likewise.
9098 (tanh_test_data): Likewise.
9099 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9100 flags argument.
9101
ca07f197
JM
9102 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9103 tests with quiet NaN input and output.
9104 (acosh_test_data): Likewise.
9105 (asin_test_data): Likewise.
9106 (asinh_test_data): Likewise.
9107 (atan_test_data): Likewise.
9108 (atanh_test_data): Likewise.
9109 (atan2_test_data): Likewise.
9110 (cbrt_test_data): Likewise.
9111 (cos_test_data): Likewise.
9112 (cosh_test_data): Likewise.
9113 (erf_test_data): Likewise.
9114 (erfc_test_data): Likewise.
9115 (exp_test_data): Likewise.
9116 (exp10_test_data): Likewise.
9117 (exp2_test_data): Likewise.
9118 (expm1_test_data): Likewise.
9119 (hypot_test_data): Likewise.
9120 (j0_test_data): Likewise.
9121 (j1_test_data): Likewise.
9122 (jn_test_data): Likewise.
9123 (lgamma_test_data): Likewise.
9124 (log_test_data): Likewise.
9125 (log10_test_data): Likewise.
9126 (log1p_test_data): Likewise.
9127 (log2_test_data): Likewise.
9128 (pow_test_data): Likewise.
9129 (scalb_test_data): Likewise.
9130 (sin_test_data): Likewise.
9131 (sincos_test_data): Likewise.
9132 (sinh_test_data): Likewise.
9133 (tan_test_data): Likewise.
9134 (tanh_test_data): Likewise.
9135 (tgamma_test_data): Likewise.
9136 (y0_test_data): Likewise.
9137 (y1_test_data): Likewise.
9138 (yn_test_data): Likewise.
9139
66294491
JM
9140 [BZ #16167]
9141 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9142 argument being NaN and avoid computations with second argument in
9143 that case.
9144 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9145 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9146 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9147
1820b143
CL
91482013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9149
9150 * locale/iso-639.def: Add Chitwani Tharu (the).
9151
714bd261
AS
91522013-11-14 Andreas Schwab <schwab@suse.de>
9153
9154 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9155 word instead of empty string.
9156
7ab44563
AZ
91572013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9158
9159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9160 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9162 (__fe_nomask_env): Likewise.
9163
e8470ea2
SE
91642013-11-13 Steve Ellcey <sellcey@mips.com>
9165
9166 * benchtests/bench-timing.h: Include time.h.
9167
17c1d9f0
L
91682013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9169
9170 [BZ #15997]
9171 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9172 to 3.4.0 for x32.
9173 * sysdeps/unix/sysv/linux/configure: Regenerated.
9174
9310c284
JM
91752013-11-13 Joseph Myers <joseph@codesourcery.com>
9176
9177 [BZ #16151]
9178 * stdlib/strtod_l.c (round_and_return): Do not consider
9179 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9180 exponent one less than half the least subnormal exponent.
9181 * stdlib/test-strtod-round-data: Add more tests.
9182 * stdlib/tst-strtod-round.c (tests): Regenerated.
9183
7a2ad8cf
AZ
91842013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9185
9186 [BZ #14143]
9187 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9188 (__fe_mask_env): Likewise.
9189 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9190 libm_hidden_proto and add function prototype.
9191 (__fe_mask_env): Add function prototype.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9193 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9195 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9197 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9198
50727aa7
MS
91992013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9200
b2f386c1 9201 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
9202 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9203
a615be46
MS
92042013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9205
9206 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9207 of htab_find_slot().
9208
7ddace62
DM
92092013-11-11 David S. Miller <davem@davemloft.net>
9210
9211 [BZ #16150]
9212 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9213 symbol in the non-vis3 case in static builds.
9214 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9215 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9216 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9217 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9218
9182aa67
JK
92192013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9220
9221 [BZ #387]
9222 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9223 it is empty.
9224
450a2e2d
AZ
92252013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9226
b2f386c1
SP
9227 * benchtests/Makefile: Add bench-strtod.
9228 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9229
8ec3f656
AS
92302013-11-11 Andreas Schwab <schwab@suse.de>
9231
9232 [BZ #16153]
9233 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9234 terminating NUL in key length.
9235
76a9b998
AZ
92362013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9237
9238 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9239 Add artificial ODP entry for vDSO symbol for PPC64.
9240 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9241 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9242
e4368156
OB
92432013-11-07 Ondřej Bílka <neleai@seznam.cz>
9244
9245 [BZ #15374]
9246 * nss/getent.c (services_keys): Recognize services starting with digit.
9247
8d6bb57c
DM
92482013-11-06 David S. Miller <davem@davemloft.net>
9249
9250 [BZ #15985]
9251 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9252 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9253
e256c421
WN
92542013-11-06 Will Newton <will.newton@linaro.org>
9255
9256 * manual/memory.texi (Malloc Examples): Remove register
9257 keyword from examples.
9258
f6e12daa 92592013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9260
f6e12daa 9261 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9262
9d880655
AS
92632013-11-04 Joseph Myers <joseph@codesourcery.com>
9264
fd2f9486 9265 [BZ #6981]
9d880655
AS
9266 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9267 depending on [__GCC_IEC_559 > 0].
9268 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9269 depending on [__GCC_IEC_559_COMPLEX > 0].
9270
ae129d3c
CL
92712013-11-03 Chris Leonard <cjl@sugarlabs.org>
9272
9273 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9274 to iso-639.def.
9275
4a15c2a4 92762013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9277
9278 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9279
8b35e35d
OB
92802013-11-01 Ondřej Bílka <neleai@seznam.cz>
9281
9282 [BZ #16112]
9283 * malloc/malloc (malloc_info): Do not handle first bin as
9284 special case.
9285
1d70fd6c
CL
92862013-11-01 Chris Leonard <cjl@sugarlabs.org>
9287
9288 * locale/iso-639.def: Add Central Nahuatl (nhn).
9289
8c5c2600
BH
92902013-11-01 Bruno Haible <bruno@clisp.org>
9291
9292 [BZ #7003]
9293 * manual/math.texi (BSD Random): Specify range upper bound as
9294 in POSIX.
9295
da5579c2
CL
92962013-10-31 Chris Leonard <cjl@sugarlabs.org>
9297
9298 * locale/iso-639.def: Add Meadow Mari (mhr).
9299
5d30d853
OB
93002013-10-31 Ondřej Bílka <neleai@seznam.cz>
9301
9302 [BZ #14752], [BZ #15763]
9303 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9304 Validate name.
9305 * rt/tst_shm.c: Add test for escaping directory.
9306
a4966c61
AS
93072013-10-31 Andreas Schwab <schwab@suse.de>
9308
8a43e768 9309 [BZ #15917]
a4966c61
AS
9310 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9311 followed by 'x' as part of digit sequence.
9312 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9313
28d708c4
MAP
93142013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9315
9316 [BZ #16037]
9317 * configure.ac: allow GNU Make 4.0 and greater.
9318 * configure: Regenerated.
9319
a56ee40b
WN
93202013-10-30 Will Newton <will.newton@linaro.org>
9321
9322 [BZ #16038]
9323 * malloc/hooks.c (memalign_check): Limit alignment to the
9324 maximum representable power of two.
9325 * malloc/malloc.c (__libc_memalign): Likewise.
9326 * malloc/tst-memalign.c (do_test): Add test for very
9327 large alignment values.
9328 * malloc/tst-posix_memalign.c (do_test): Likewise.
9329
c6e4925d
OB
93302013-10-30 Ondřej Bílka <neleai@seznam.cz>
9331
9332 [BZ #11087]
9333 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9334 (munmap_chunk): Likewise.
9335 (mremap_chunk): Likewise.
9336
93372013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 9338
8a43e768 9339 [BZ #15799]
bbea82f7
OB
9340 * stdlib/div.c (div): Remove obsolete code.
9341 * stdlib/ldiv.c (ldiv): Likewise.
9342 * stdlib/lldiv.c (lldiv): Likewise.
9343
977f4b31
SP
93442013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9345
9346 [BZ #16071]
9347 * nss/nss_files/files-XXX.c (get_contents_ret): New
9348 enumerator.
9349 (get_contents): New function.
9350 (internal_getent): Use it. Expand size of LINEBUFLEN.
9351
cb8a6dbd
MF
93522013-10-30 Mike Frysinger <vapier@gentoo.org>
9353
9354 * configure.in: Moved to ...
9355 * configure.ac: ... here. Change reference to configure.in
9356 to configure.ac.
9357 * sysdeps/arm/preconfigure.ac: ... here.
9358 configure.in to configure.ac.
9359 * sysdeps/gnu/configure.in: Moved to ...
9360 * sysdeps/gnu/configure.ac: ... here.
9361 * sysdeps/i386/configure.in: Moved to ...
9362 * sysdeps/i386/configure.ac: ... here.
9363 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9364 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9365 * sysdeps/mach/configure.in: Moved to ...
9366 * sysdeps/mach/configure.ac: ... here.
9367 * sysdeps/mach/hurd/configure.in: Moved to ...
9368 * sysdeps/mach/hurd/configure.ac: ... here.
9369 * sysdeps/powerpc/configure.in: Moved to ...
9370 * sysdeps/powerpc/configure.ac: ... here.
9371 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9372 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9373 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9374 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9375 * sysdeps/s390/s390-32/configure.in: Moved to ...
9376 * sysdeps/s390/s390-32/configure.ac: ... here.
9377 * sysdeps/s390/s390-64/configure.in: Moved to ...
9378 * sysdeps/s390/s390-64/configure.ac: ... here.
9379 * sysdeps/sh/configure.in: Moved to ...
9380 * sysdeps/sh/configure.ac: ... here.
9381 * sysdeps/sparc/configure.in: Moved to ...
9382 * sysdeps/sparc/configure.ac: ... here.
9383 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9384 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9385 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9386 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9387 * sysdeps/x86_64/configure.in: Moved to ...
9388 * sysdeps/x86_64/configure.ac: ... here.
9389 * sysdeps/x86_64/preconfigure.in: Moved to ...
9390 * sysdeps/x86_64/preconfigure.ac: ... here.
9391 * aclocal.m4: Change reference to configure.in to configure.ac.
9392 * config.h.in: Likewise.
9393 * manual/install.texi: Likewise.
9394 * manual/maint.texi: Likewise.
9395 * Makefile: Likewise.
9396 * malloc/Makefile: Likewise.
9397 * nscd/Makefile: Likewise.
9398 * Makeconfig: Change reference to configure.in and
9399 preconfigure.in to configure.ac and preconfigure.ac
9400 respectively.
9401 * INSTALL: Regenerated.
9402 * configure: Likewise.
9403 * sysdeps/gnu/configure: Likewise.
9404 * sysdeps/i386/configure: Likewise.
9405 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9406 * sysdeps/mach/configure: Likewise.
9407 * sysdeps/mach/hurd/configure: Likewise.
9408 * sysdeps/powerpc/configure: Likewise.
9409 * sysdeps/powerpc/powerpc32/configure: Likewise.
9410 * sysdeps/powerpc/powerpc64/configure: Likewise.
9411 * sysdeps/s390/s390-32/configure: Likewise.
9412 * sysdeps/s390/s390-64/configure: Likewise.
9413 * sysdeps/sh/configure: Likewise.
9414 * sysdeps/sparc/configure: Likewise.
9415 * sysdeps/unix/sysv/linux/configure: Likewise.
9416 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9417 * sysdeps/x86_64/configure: Likewise.
9418 * sysdeps/x86_64/preconfigure: Likewise.
9419
36a4953a
AS
94202013-10-29 Andreas Schwab <schwab@suse.de>
9421
9422 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9423
c79a1204
SP
94242013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9425
dfa1b402
SP
9426 * benchtests/pow-inputs: Add new inputs.
9427
54f73d9c
SP
9428 * benchtests/exp-inputs: Add new inputs.
9429
c79a1204
SP
9430 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9431 conditional check for return value.
9432 (__cos32): Likewise.
9433
67beb545 94342013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
9435
9436 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9437 to provide a boost for large inputs with word alignment.
9438 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9439 implementation based on optimized PPC64 strcpy.
9440 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9441 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9442 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9443 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9444
151659f6
OB
94452013-10-25 Ondřej Bílka <neleai@seznam.cz>
9446
482a077e 9447 [BZ #2801]
151659f6
OB
9448 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9449
10b0f26b
OB
94502013-10-25 Ondřej Bílka <neleai@seznam.cz>
9451
9452 [BZ #14876]
9453 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9454 * time/tst-strptime.c (day_tests): Add testcase.
9455
ca42d35e
OB
94562013-10-25 Ondřej Bílka <neleai@seznam.cz>
9457
482a077e 9458 [BZ #14029]
ca42d35e
OB
9459 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9460
52e6d801
FB
94612013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9462
9463 [BZ #16074]
9464 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9465 MAP_FAILED on error.
9466
7cbcdb36
SP
94672013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9468
9469 [BZ #16072]
9470 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9471 heap for large requests.
9472
894f3f10
AM
94732013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9474
9475 [BZ #9954]
9476 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9477 result if the result has no associated interface.
9478 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9479 interface for all 127.X.Y.Z addresses.
9480
b85545a6
CL
94812013-10-24 Chris Leonard <cjl@sugarlabs.org>
9482
9483 * locale/iso-639.def: Add Ligurian (lij)
9484
d1f23d46
OB
94852013-10-21 Ondřej Bílka <neleai@seznam.cz>
9486
9487 [BZ #15825]
9488 * sunrpc/rpc_main.c: Document rpcgen -5.
9489
4db5b08f
MS
94902013-10-19 Michael Stahl <mstahl@redhat.com>
9491
9492 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9493
a471e96a
OB
94942013-10-19 Ondřej Bílka <neleai@seznam.cz>
9495
d1f23d46 9496 [BZ #10278]
a471e96a
OB
9497 * posix/glob.c: Match only directories when trailing slash is present.
9498 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9499 (main): Add testcase.
9500
45c30c61
OB
95012013-10-19 Ondřej Bílka <neleai@seznam.cz>
9502
9503 [BZ #15670]
9504 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9505
484c12fb
CD
95062013-10-18 Carlos O'Donell <carlos@redhat.com>
9507
3d7dc513
CD
9508 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9509 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9510 AUTH_DES and cindex for FIPS 140-2.
9511 (DES Encryption): Add cindex FIPS 46-3.
9512
484c12fb
CD
9513 * locale/locarchive.h (struct locarhandle): Add fname.
9514 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9515 if an optional argument was specified to --list-archive,
9516 otherwise NULL.
9517 * locale/programs/locarchive.c (show_archive_content): Take new
9518 argument fname and pass it via ah.fname to open_archive.
9519 * locale/programs/localedef.h: Update decl.
9520 (open_archive): If AH->fname is non-null, open that file
9521 rather than the default file name, and don't ignore ENOENT.
9522 (create_archive): Set AH.fname to NULL.
9523 (delete_locales_from_archive): Likewise.
9524 (add_locales_to_archive): Likewise.
9525 * locale/programs/locfile.c (write_all_categories): Likewise.
9526
3c8325fb
JM
95272013-10-18 Joseph Myers <joseph@codesourcery.com>
9528 Aldy Hernandez <aldyh@redhat.com>
9529
9530 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9531 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9532 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9533 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9534 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9535 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9536 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9537 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9538 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9539 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9540 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9541 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9542 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9543 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9544 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9545 Likewise.
9546 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9547 Likewise.
9548 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9549 Likewise.
9550 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9551 Likewise.
9552 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9553 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9554 Likewise.
9555 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9556 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9557 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9558 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9559 Likewise.
9560 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9561 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9562 * sysdeps/powerpc/preconfigure: Likewise.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9564 Likewise.
9565 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9566 Replace contents of file by #include of <fenv_libc.h>.
9567 * sysdeps/powerpc/soft-fp/sfp-machine.h
9568 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9569 and <sys/prctl.h>.
9570 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9571 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9572 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9573 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9574 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9575 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9577 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9578 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9579 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9580 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9583 Allow copysignl PLT reference to be missing.
9584
5abe0682
RS
95852013-10-18 Richard Sandiford <richard@codesourcery.com>
9586 Joseph Myers <joseph@codesourcery.com
9587
9588 [BZ #15948]
9589 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9590 single character.
9591 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9592
c7738d08
SP
95932013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9594
9595 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9596 * elf/tst-tls1.c: Likewise.
9597 * elf/tst-tls10.h: Likewise.
9598 * elf/tst-tls14.c: Likewise.
9599 * elf/tst-tls2.c: Likewise.
9600 * elf/tst-tls3.c: Likewise.
9601 * elf/tst-tls4.c: Likewise.
9602 * elf/tst-tls5.c: Likewise.
9603 * elf/tst-tls6.c: Likewise.
9604 * elf/tst-tls7.c: Likewise.
9605 * elf/tst-tls8.c: Likewise.
9606 * elf/tst-tls9.c: Likewise.
9607 * elf/tst-tlsmod1.c: Likewise.
9608 * elf/tst-tlsmod13.c: Likewise.
9609 * elf/tst-tlsmod13a.c: Likewise.
9610 * elf/tst-tlsmod14a.c: Likewise.
9611 * elf/tst-tlsmod16a.c: Likewise.
9612 * elf/tst-tlsmod16b.c: Likewise.
9613 * elf/tst-tlsmod2.c: Likewise.
9614 * elf/tst-tlsmod3.c: Likewise.
9615 * elf/tst-tlsmod4.c: Likewise.
9616 * elf/tst-tlsmod5.c: Likewise.
9617 * elf/tst-tlsmod6.c: Likewise.
9618
0bfcf2c7
OB
96192013-10-18 Ondřej Bílka <neleai@seznam.cz>
9620
9621 [BZ #12486]
9622 * malloc/malloc.c: remove checks for statistics.
9623
264aad1e
OB
96242013-10-17 Ondřej Bílka <neleai@seznam.cz>
9625
9626 [BZ #15277]
9627 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9628 * inet/tst-network.c: Add testcase.
9629
b957ced8
AS
96302013-10-17 Andreas Schwab <schwab@suse.de>
9631
9632 [BZ #15218]
9633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9634 to determine canonical name.
9635
c5d5d574
OB
96362013-10-17 Ondřej Bílka <neleai@seznam.cz>
9637
9638 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9639 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9640 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9641 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9642 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9643 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9644 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9645 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9646 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9647 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9648 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9649 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9650 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9651 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9652 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9653 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9655 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9656 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9657 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9658 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9661 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9662 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9663 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9664 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9665 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9666 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9667 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9668 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9669 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9670 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9671 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9672 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9673 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9674 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9675 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9676 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9677 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9678 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9679 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9680 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9681 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9682 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9683 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9684 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9685 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9686 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9687 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9688 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9689 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9690 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9691 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9692 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9693 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9696
e5c2c2d0
JM
96972013-10-17 Joseph Myers <joseph@codesourcery.com>
9698
9699 [BZ #16041]
9700 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9701 make result into a quiet NaN.
9702
51ca9e29
JM
97032013-10-16 Joseph Myers <joseph@codesourcery.com>
9704
9705 * soft-fp/adddf3.c: Fix horizontal whitespace.
9706 * soft-fp/addsf3.c: Likewise.
9707 * soft-fp/addtf3.c: Likewise.
9708 * soft-fp/divdf3.c: Likewise.
9709 * soft-fp/divsf3.c: Likewise.
9710 * soft-fp/divtf3.c: Likewise.
9711 * soft-fp/double.h: Likewise.
9712 * soft-fp/eqdf2.c: Likewise.
9713 * soft-fp/eqsf2.c: Likewise.
9714 * soft-fp/eqtf2.c: Likewise.
9715 * soft-fp/extenddftf2.c: Likewise.
9716 * soft-fp/extended.h: Likewise.
9717 * soft-fp/extendsfdf2.c: Likewise.
9718 * soft-fp/extendsftf2.c: Likewise.
9719 * soft-fp/extendxftf2.c: Likewise.
9720 * soft-fp/fixdfdi.c: Likewise.
9721 * soft-fp/fixdfsi.c: Likewise.
9722 * soft-fp/fixdfti.c: Likewise.
9723 * soft-fp/fixsfdi.c: Likewise.
9724 * soft-fp/fixsfsi.c: Likewise.
9725 * soft-fp/fixsfti.c: Likewise.
9726 * soft-fp/fixtfdi.c: Likewise.
9727 * soft-fp/fixtfsi.c: Likewise.
9728 * soft-fp/fixtfti.c: Likewise.
9729 * soft-fp/fixunsdfdi.c: Likewise.
9730 * soft-fp/fixunsdfsi.c: Likewise.
9731 * soft-fp/fixunsdfti.c: Likewise.
9732 * soft-fp/fixunssfdi.c: Likewise.
9733 * soft-fp/fixunssfsi.c: Likewise.
9734 * soft-fp/fixunssfti.c: Likewise.
9735 * soft-fp/fixunstfdi.c: Likewise.
9736 * soft-fp/fixunstfsi.c: Likewise.
9737 * soft-fp/fixunstfti.c: Likewise.
9738 * soft-fp/floatdidf.c: Likewise.
9739 * soft-fp/floatdisf.c: Likewise.
9740 * soft-fp/floatditf.c: Likewise.
9741 * soft-fp/floatsidf.c: Likewise.
9742 * soft-fp/floatsisf.c: Likewise.
9743 * soft-fp/floatsitf.c: Likewise.
9744 * soft-fp/floattidf.c: Likewise.
9745 * soft-fp/floattisf.c: Likewise.
9746 * soft-fp/floattitf.c: Likewise.
9747 * soft-fp/floatundidf.c: Likewise.
9748 * soft-fp/floatundisf.c: Likewise.
9749 * soft-fp/floatunditf.c: Likewise.
9750 * soft-fp/floatunsidf.c: Likewise.
9751 * soft-fp/floatunsisf.c: Likewise.
9752 * soft-fp/floatunsitf.c: Likewise.
9753 * soft-fp/floatuntidf.c: Likewise.
9754 * soft-fp/floatuntisf.c: Likewise.
9755 * soft-fp/floatuntitf.c: Likewise.
9756 * soft-fp/fmadf4.c: Likewise.
9757 * soft-fp/fmasf4.c: Likewise.
9758 * soft-fp/fmatf4.c: Likewise.
9759 * soft-fp/gedf2.c: Likewise.
9760 * soft-fp/gesf2.c: Likewise.
9761 * soft-fp/getf2.c: Likewise.
9762 * soft-fp/ledf2.c: Likewise.
9763 * soft-fp/lesf2.c: Likewise.
9764 * soft-fp/letf2.c: Likewise.
9765 * soft-fp/muldf3.c: Likewise.
9766 * soft-fp/mulsf3.c: Likewise.
9767 * soft-fp/multf3.c: Likewise.
9768 * soft-fp/negdf2.c: Likewise.
9769 * soft-fp/negsf2.c: Likewise.
9770 * soft-fp/negtf2.c: Likewise.
9771 * soft-fp/op-1.h: Likewise.
9772 * soft-fp/op-2.h: Likewise.
9773 * soft-fp/op-4.h: Likewise.
9774 * soft-fp/op-8.h: Likewise.
9775 * soft-fp/op-common.h: Likewise.
9776 * soft-fp/quad.h: Likewise.
9777 * soft-fp/single.h: Likewise.
9778 * soft-fp/soft-fp.h: Likewise.
9779 * soft-fp/sqrtdf2.c: Likewise.
9780 * soft-fp/sqrtsf2.c: Likewise.
9781 * soft-fp/sqrttf2.c: Likewise.
9782 * soft-fp/subdf3.c: Likewise.
9783 * soft-fp/subsf3.c: Likewise.
9784 * soft-fp/subtf3.c: Likewise.
9785 * soft-fp/truncdfsf2.c: Likewise.
9786 * soft-fp/trunctfdf2.c: Likewise.
9787 * soft-fp/trunctfsf2.c: Likewise.
9788 * soft-fp/trunctfxf2.c: Likewise.
9789 * soft-fp/unorddf2.c: Likewise.
9790 * soft-fp/unordsf2.c: Likewise.
9791 * soft-fp/unordtf2.c: Likewise.
9792
9ebb0332
JM
97932013-10-15 Joseph Myers <joseph@codesourcery.com>
9794
9795 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9796 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9797
4b1a6d8b
OB
97982013-10-15 Ondřej Bílka <neleai@seznam.cz>
9799
9800 * elf/dl-libc.c: Clear initfini list after freeing.
9801
1e145589
JM
98022013-10-14 Joseph Myers <joseph@codesourcery.com>
9803
9804 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9805 * soft-fp/addsf3.c: Likewise.
9806 * soft-fp/addtf3.c: Likewise.
9807 * soft-fp/divdf3.c: Likewise.
9808 * soft-fp/divsf3.c: Likewise.
9809 * soft-fp/divtf3.c: Likewise.
9810 * soft-fp/double.h: Likewise.
9811 * soft-fp/eqdf2.c: Likewise.
9812 * soft-fp/eqsf2.c: Likewise.
9813 * soft-fp/eqtf2.c: Likewise.
9814 * soft-fp/extenddftf2.c: Likewise.
9815 * soft-fp/extended.h: Likewise.
9816 * soft-fp/extendsfdf2.c: Likewise.
9817 * soft-fp/extendsftf2.c: Likewise.
9818 * soft-fp/extendxftf2.c: Likewise.
9819 * soft-fp/fixdfdi.c: Likewise.
9820 * soft-fp/fixdfsi.c: Likewise.
9821 * soft-fp/fixdfti.c: Likewise.
9822 * soft-fp/fixsfdi.c: Likewise.
9823 * soft-fp/fixsfsi.c: Likewise.
9824 * soft-fp/fixsfti.c: Likewise.
9825 * soft-fp/fixtfdi.c: Likewise.
9826 * soft-fp/fixtfsi.c: Likewise.
9827 * soft-fp/fixtfti.c: Likewise.
9828 * soft-fp/fixunsdfdi.c: Likewise.
9829 * soft-fp/fixunsdfsi.c: Likewise.
9830 * soft-fp/fixunsdfti.c: Likewise.
9831 * soft-fp/fixunssfdi.c: Likewise.
9832 * soft-fp/fixunssfsi.c: Likewise.
9833 * soft-fp/fixunssfti.c: Likewise.
9834 * soft-fp/fixunstfdi.c: Likewise.
9835 * soft-fp/fixunstfsi.c: Likewise.
9836 * soft-fp/fixunstfti.c: Likewise.
9837 * soft-fp/floatdidf.c: Likewise.
9838 * soft-fp/floatdisf.c: Likewise.
9839 * soft-fp/floatditf.c: Likewise.
9840 * soft-fp/floatsidf.c: Likewise.
9841 * soft-fp/floatsisf.c: Likewise.
9842 * soft-fp/floatsitf.c: Likewise.
9843 * soft-fp/floattidf.c: Likewise.
9844 * soft-fp/floattisf.c: Likewise.
9845 * soft-fp/floattitf.c: Likewise.
9846 * soft-fp/floatundidf.c: Likewise.
9847 * soft-fp/floatundisf.c: Likewise.
9848 * soft-fp/floatunsidf.c: Likewise.
9849 * soft-fp/floatunsisf.c: Likewise.
9850 * soft-fp/floatuntidf.c: Likewise.
9851 * soft-fp/floatuntisf.c: Likewise.
9852 * soft-fp/floatuntitf.c: Likewise.
9853 * soft-fp/fmadf4.c: Likewise.
9854 * soft-fp/fmasf4.c: Likewise.
9855 * soft-fp/fmatf4.c: Likewise.
9856 * soft-fp/gedf2.c: Likewise.
9857 * soft-fp/gesf2.c: Likewise.
9858 * soft-fp/getf2.c: Likewise.
9859 * soft-fp/ledf2.c: Likewise.
9860 * soft-fp/lesf2.c: Likewise.
9861 * soft-fp/letf2.c: Likewise.
9862 * soft-fp/muldf3.c: Likewise.
9863 * soft-fp/mulsf3.c: Likewise.
9864 * soft-fp/multf3.c: Likewise.
9865 * soft-fp/negdf2.c: Likewise.
9866 * soft-fp/negsf2.c: Likewise.
9867 * soft-fp/negtf2.c: Likewise.
9868 * soft-fp/op-1.h: Likewise.
9869 * soft-fp/op-2.h: Likewise.
9870 * soft-fp/op-4.h: Likewise.
9871 * soft-fp/op-8.h: Likewise.
9872 * soft-fp/op-common.h: Likewise.
9873 * soft-fp/quad.h: Likewise.
9874 * soft-fp/single.h: Likewise.
9875 * soft-fp/soft-fp.h: Likewise.
9876 * soft-fp/sqrtdf2.c: Likewise.
9877 * soft-fp/sqrtsf2.c: Likewise.
9878 * soft-fp/sqrttf2.c: Likewise.
9879 * soft-fp/subdf3.c: Likewise.
9880 * soft-fp/subsf3.c: Likewise.
9881 * soft-fp/subtf3.c: Likewise.
9882 * soft-fp/truncdfsf2.c: Likewise.
9883 * soft-fp/trunctfdf2.c: Likewise.
9884 * soft-fp/trunctfsf2.c: Likewise.
9885 * soft-fp/trunctfxf2.c: Likewise.
9886 * soft-fp/unorddf2.c: Likewise.
9887 * soft-fp/unordsf2.c: Likewise.
9888 * soft-fp/unordtf2.c: Likewise.
9889
17c48a60
OB
98902013-10-14 Ondřej Bílka <neleai@seznam.cz>
9891
9892 [BZ #15672]
9893 * misc/error.c (error_tail): Fix possible buffer overflow.
9894
cabba934
OB
98952013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9896
9897 [BZ #13028]
9898 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9899 address.
9900
94bf958a
PM
99012013-10-14 P. J. McDermott <pj@pehjota.net>
9902
9903 [BZ #832]
9904 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9905 testing pipefail option.
9906
71b4dea7
JM
99072013-10-12 Joseph Myers <joseph@codesourcery.com>
9908
9909 * soft-fp/double.h: Indent preprocessor directives inside #if.
9910 * soft-fp/extended.h: Likewise.
9911 * soft-fp/op-2.h: Likewise.
9912 * soft-fp/op-4.h: Likewise.
9913 * soft-fp/op-common.h: Likewise.
9914 * soft-fp/quad.h: Likewise.
9915 * soft-fp/single.h: Likewise.
9916 * soft-fp/soft-fp.h: Likewise.
9917
55602758
YC
99182013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9919
9920 * iconv/iconv_prog.c: Fix typos.
9921 * stdio-common/psiginfo-data.h: Likewise.
9922
9cd83302
RT
99232013-10-12 Reuben Thomas <rrt@sc3d.org>
9924
9925 [BZ #15764]
9926 * locale/setlocale.c: Fix typo.
9927
99fd9f47
JM
99282013-10-12 Joseph Myers <joseph@codesourcery.com>
9929
b7ea74f0
JM
9930 [BZ #16036]
9931 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9932 signaling NaN arguments.
9933 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9934 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9935
8a509447
JM
9936 [BZ #14910]
9937 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9938 unordered operands.
9939 * soft-fp/gesf2.c (__gesf2): Likewise.
9940 * soft-fp/getf2.c (__getf2): Likewise.
9941 * soft-fp/ledf2.c (__ledf2): Likewise.
9942 * soft-fp/lesf2.c (__lesf2): Likewise.
9943 * soft-fp/letf2.c (__letf2): Likewise.
9944
98998e9f
JM
9945 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9946 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9947 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9948 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9949 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9950 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9951 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9952 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9953 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9954 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9955 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9956 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9957 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9958 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9959 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9960 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9961 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9962 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9963 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9964 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9965 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9966 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9967 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9968 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9969 * soft-fp/floattidf.c (__floattidf): Likewise.
9970 * soft-fp/floattisf.c (__floattisf): Likewise.
9971 * soft-fp/floattitf.c (__floattitf): Likewise.
9972 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9973 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9974 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9975 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9976 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9977 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9978 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9979 * soft-fp/gesf2.c (__gesf2): Likewise.
9980 * soft-fp/getf2.c (__getf2): Likewise.
9981 * soft-fp/ledf2.c (__ledf2): Likewise.
9982 * soft-fp/lesf2.c (__lesf2): Likewise.
9983 * soft-fp/letf2.c (__letf2): Likewise.
9984
8edc4a11
JM
9985 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9986 Undefine and redefine.
9987 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9988 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9989 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9990 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9991 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9992 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9993 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9994 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9995 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9996 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9997 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9998 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9999 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10000 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10001 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10002
8399acaf
JM
10003 [BZ #16032]
10004 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10005 without decrementing exponent if mantissa >= that for the
10006 denominator, not >.
10007 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10008 denominator, not >. Decrement exponent in < case instead of
10009 incrementing in >= case.
10010 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10011 without decrementing exponent if mantissa >= that for the
10012 denominator, not >.
10013
99fd9f47
JM
10014 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10015 computing saturated result for unsigned overflow.
10016
10e1cf6b
SP
100172013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10018 Jeff Law <law@redhat.com>
10019
10020 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10021 (atan2Mp): Add systemtap probe marker.
10022 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10023 (__ieee754_log): Add systemtap probe marker.
10024 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10025 (atanMp): Add systemtap probe marker.
10026 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10027 (tanMp): Add systemtap probe marker.
10028 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10029 (__slowexp): Add systemtap probe marker.
10030 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10031 (__slowpow): Add systemtap probe marker.
10032 * manual/probes.texi: Document probes.
10033
3d110c7c
EB
100342013-10-11 Eric Biggers <ebiggers3@gmail.com>
10035
10036 [BZ #15362]
10037 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10038 written.
10039 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10040 written.
10041 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10042 written to buffer but not flushed.
10043 * libio/iofwrite_u.c: Likewise.
10044 * libio/iopadn.c: Return bytes returned even if EOF was
10045 encountered.
10046 * libio/iowpadn.c: Likewise.
10047 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10048 if _IO_padn does not write the whole buffer.
10049 [!COMPILE_WPRINTF] (PAD): Likewise.
10050
75b4202a
DM
100512013-10-10 David S. Miller <davem@davemloft.net>
10052
10053 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10054 directory block.
10055
6c6352e6
JM
100562013-10-10 Joseph Myers <joseph@codesourcery.com>
10057
33b853c3
JM
10058 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10059 instead of FSF address.
10060 * soft-fp/fixdfti.c: Likewise.
10061 * soft-fp/fixsfti.c: Likewise.
10062 * soft-fp/fixtfti.c: Likewise.
10063 * soft-fp/fixunsdfti.c: Likewise.
10064 * soft-fp/fixunssfti.c: Likewise.
10065 * soft-fp/fixunstfti.c: Likewise.
10066 * soft-fp/floattidf.c: Likewise.
10067 * soft-fp/floattisf.c: Likewise.
10068 * soft-fp/floattitf.c: Likewise.
10069 * soft-fp/floatuntidf.c: Likewise.
10070 * soft-fp/floatuntisf.c: Likewise.
10071 * soft-fp/floatuntitf.c: Likewise.
10072 * soft-fp/trunctfxf2.c: Likewise.
10073
6c6352e6
JM
10074 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10075 * soft-fp/fixdfti.c: Likewise.
10076 * soft-fp/fixsfti.c: Likewise.
10077 * soft-fp/fixtfti.c: Likewise.
10078 * soft-fp/fixunsdfti.c: Likewise.
10079 * soft-fp/fixunssfti.c: Likewise.
10080 * soft-fp/fixunstfti.c: Likewise.
10081 * soft-fp/floattidf.c: Likewise.
10082 * soft-fp/floattisf.c: Likewise.
10083 * soft-fp/floattitf.c: Likewise.
10084 * soft-fp/floatuntidf.c: Likewise.
10085 * soft-fp/floatuntisf.c: Likewise.
10086 * soft-fp/floatuntitf.c: Likewise.
10087 * soft-fp/trunctfxf2.c: Likewise.
10088
3bf78b71
DM
100892013-10-10 David S. Miller <davem@davemloft.net>
10090
10091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10092
6f10289e
JM
100932013-10-10 Joseph Myers <joseph@codsourcery.com>
10094
bd878fc0
JM
10095 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10096 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10097 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10098 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10099 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10100 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10101 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10102
6f10289e
JM
10103 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10104 for NaNs before doing comparisons on argument.
10105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10106 Likewise.
10107
321e2684
WN
101082013-10-10 Will Newton <will.newton@linaro.org>
10109
10110 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10111 passed to _int_memalign does not overflow.
10112
40fefba1
TR
101132013-10-10 Torvald Riegel <triegel@redhat.com>
10114
10115 * scripts/bench.pl: Add include-sources directive.
10116 * benchtests/README: Update documentation.
10117
2ae21ed2
JM
101182013-10-10 Joseph Myers <joseph@codesourcery.com>
10119
dcc2dd3f
JM
10120 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10121 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10122 instead of FP_INIT_ROUNDMODE.
10123 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10124 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10125
2ae21ed2
JM
10126 [BZ #16034]
10127 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10128 copy class of input value.
10129 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10130 not handle exceptions.
10131 * soft-fp/negsf2.c (__negsf2): Likewise.
10132 * soft-fp/negtf2.c (__negtf2): Likewise.
10133 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10134
cb8f9562
JM
101352013-10-09 Joseph Myers <joseph@codesourcery.com>
10136
10137 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10138 semicolon. From Linux kernel.
10139
5b60c59d
AB
101402013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10141
10142 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10143
b86835ca
YC
101442013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10145
10146 [BZ #156]
10147 * manual/socket.texi: Added statement about buffer
10148 for gethostbyname2_r.
10149
e7044ea7
OB
101502013-10-08 Ondřej Bílka <neleai@seznam.cz>
10151
10152 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10153 Use .p2align directive instead, throughout.
10154 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10155 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10156 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10157 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10158 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10159 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10160 * sysdeps/x86_64/strchr.S: Likewise.
10161 * sysdeps/x86_64/strrchr.S: Likewise.
10162
09544cbc
SP
101632013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10164
88576635
SP
10165 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10166
e7b2d1dd
SP
10167 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10168
09544cbc
SP
10169 * sysdeps/generic/math_private.h (__mpsin1): Remove
10170 declaration.
10171 (__mpcos1): Likewise.
10172 (__mpsin): New argument __range_reduce.
10173 (__mpcos): Likewise.
10174 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10175 (slow): Use __mpsin and __mpcos.
10176 (slow1): Likewise.
10177 (slow2): Likewise.
10178 (sloww): Likewise.
10179 (sloww1): Likewise.
10180 (sloww2): Likewise.
10181 (bsloww): Likewise.
10182 (bsloww1): Likewise.
10183 (bsloww2): Likewise.
10184 (cslow2): Likewise.
10185 (csloww): Likewise.
10186 (csloww1): Likewise.
10187 (csloww2): Likewise.
10188 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10189 range_reduce. Merge in __mpsin1.
10190 (__mpcos): Likewise.
10191 (__mpsin1): Remove.
10192 (__mpcos1): Likewise.
10193
7602d070
JM
101942013-10-07 Joseph Myers <joseph@codesourcery.com>
10195
10196 * locale/loadlocale.c (_nl_intern_locale_data): Use
10197 LOCFILE_ALIGNED_P.
10198 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10199 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10200 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10201 obstack data is appropriately aligned.
10202 (obstack_int32_grow_fast): Likewise.
10203 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10204 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10205 (add_locale_uint32_array): Likewise.
10206
a357259b
SP
102072013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10208
10209 * benchtests/Makefile: Remove ARGLIST and RET variables.
10210 ($(objpfx)bench-%.c): Pass only function name to the script.
10211 * benchtests/README: Update documentation.
10212 * benchtests/acos-inputs: Add new directives.
10213 * benchtests/acosh-inputs: Likewise.
10214 * benchtests/asin-inputs: Likewise.
10215 * benchtests/asinh-inputs: Likewise.
10216 * benchtests/atan-inputs: Likewise.
10217 * benchtests/atanh-inputs: Likewise.
10218 * benchtests/cos-inputs: Likewise.
10219 * benchtests/cosh-inputs: Likewise.
10220 * benchtests/exp-inputs: Likewise.
10221 * benchtests/log-inputs: Likewise.
10222 * benchtests/pow-inputs: Likewise.
10223 * benchtests/rint-inputs: Likewise.
10224 * benchtests/sin-inputs: Likewise.
10225 * benchtests/sinh-inputs: Likewise.
10226 * benchtests/tan-inputs: Likewise.
10227 * benchtests/tanh-inputs: Likewise.
10228 * scripts/bench.pl: Add support for new directives.
10229
9ec1b13d
AM
102302013-10-07 Alan Modra <amodra@gmail.com>
10231
10232 * README: Fix careless merge.
10233
8b7d57cd
AM
102342013-10-05 Alan Modra <amodra@gmail.com>
10235
10236 * NEWS: Mention powerpc64le support and bugs fixed.
10237 * README: Both big-endian and little-endian powerpc64 supported.
10238
7b7bab13
ST
102392013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10240
57f41c40
AS
10241 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10242 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10243 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10244 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10245
d39baad1
RA
102462013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10247
10248 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10249 match prototype.
10250
cd78f7e7
JM
102512013-10-04 Joseph Myers <joseph@codesourcery.com>
10252
29d73d86
JM
10253 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10254 Move -mhard-float appending from
10255 ports/sysdeps/powerpc/powerpc32/Makefile.
10256 [$(with-fp) = yes] (ASFLAGS): Likewise.
10257 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10258 * sysdeps/powerpc/nofpu: Move directory from
10259 ports/sysdeps/powerpc/nofpu.
10260 * sysdeps/powerpc/soft-fp: Move directory from
10261 ports/sysdeps/powerpc/soft-fp.
10262 * sysdeps/powerpc/powerpc32/405: Move directory from
10263 ports/sysdeps/powerpc/powerpc32/405.
10264 * sysdeps/powerpc/powerpc32/440: Move directory from
10265 ports/sysdeps/powerpc/powerpc32/440.
10266 * sysdeps/powerpc/powerpc32/464: Move directory from
10267 ports/sysdeps/powerpc/powerpc32/464.
10268 * sysdeps/powerpc/powerpc32/476: Move directory from
10269 ports/sysdeps/powerpc/powerpc32/476.
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10271 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10273 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10275 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10277 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10279 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10280 * README: Update for powerpc-*-linux-gnu software floating point
10281 support in libc.
10282
e246b347
JM
10283 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10284 case to powerpc/powerpc32*.
10285 * sysdeps/unix/sysv/linux/configure: Regenerated.
10286
89c2003e
JM
10287 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10288 (_FPU_MASK_OM): Define as 0x04.
10289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10291 0x00c10080.
10292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10293 0x0000003c.
10294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10295
cd78f7e7
JM
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10297 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10298 getcontext_e500.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10300 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10301 setcontext_e500.
10302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10303 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10304 and setcontext_e500.
10305
c755294d
CL
103062013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10307
10308 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10309
e16d221c
SP
103102013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10311
10312 * manual/threads.texi (Default Thread Attributes): Fix typo.
10313
215c7d43
WN
103142013-10-04 Will Newton <will.newton@linaro.org>
10315
10316 * malloc/Makefile: Add tst-memalign.
10317 * malloc/tst-memalign.c: New file.
10318
27d0461b
WN
10319 * malloc/tst-posix_memalign.c: Add comments.
10320 (do_test): Add comments and call free on all potentially
10321 allocated pointers. Add space after cast.
10322
1bc92709
WN
10323 * malloc/tst-pvalloc.c: Add comments.
10324 (do_test): Add comments and call free on all potentially
10325 allocated pointers. Remove duplicate check for NULL pointer.
10326 Add space after cast.
10327
66a9be9d
WN
10328 * malloc/tst-valloc.c: Add comments.
10329 (do_test): Add comments and call free on all potentially
10330 allocated pointers. Remove duplicate check for NULL pointer.
10331 Add space after cast.
10332
4cb81307
AM
103332013-10-04 Alan Modra <amodra@gmail.com>
10334
10335 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10336 Use stdint types in rather than __attribute__((mode())).
10337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10338
f8e3e9f3
AM
103392013-10-04 Alan Modra <amodra@gmail.com>
10340
10341 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10342 Correct handling of unaligned relocs for little-endian.
10343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10344
8f9ebb08
AM
103452013-10-04 Alan Modra <amodra@gmail.com>
10346
10347 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10348 * configure: Regenerate.
10349 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10350 * shlib-versions: Likewise.
10351
0edf96c2
AM
103522013-10-04 Alan Modra <amodra@gmail.com>
10353
10354 * string/tester.c (test_memrchr): Increment reported test cycle.
10355
e0f7a380
AM
103562013-10-04 Alan Modra <amodra@gmail.com>
10357
10358 * string/test-memcpy.c (do_one_test): When reporting errors, print
10359 string address and don't overrun end of string.
10360
466b0393
AM
103612013-10-04 Alan Modra <amodra@gmail.com>
10362
10363 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10364 insrdi. Make better use of reg selection to speed exit slightly.
10365 Schedule entry path a little better. Remove useless "are we done"
10366 checks on entry to main loop. Handle wrapping around zero address.
10367 Correct main loop count. Handle single left-over word from main
10368 loop inline rather than by using loop_small. Remove extra word
10369 case in loop_small caused by wrong loop count. Add little-endian
10370 support.
10371 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10372 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10373 cache hint.
10374 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10375 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10376 support. Avoid rlwimi.
10377 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10378
3be87c77
AM
103792013-10-04 Alan Modra <amodra@gmail.com>
10380
10381 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 10382 insrdi. Formatting.
3be87c77
AM
10383 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10384 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10385 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10386 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10387 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10388 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10389
759cfef3
AM
103902013-10-04 Alan Modra <amodra@gmail.com>
10391
10392 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10393 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10394 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10395 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10396 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10397 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10398 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10399 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10400 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10401 use of regs. Use power7 mtocrf. Tidy function tails.
10402
fe6e95d7
AM
104032013-10-04 Alan Modra <amodra@gmail.com>
10404
10405 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10406 Formatting. Consistently use rXXX register defines or rN defines.
10407 Use early exit labels that avoid restoring unused non-volatile regs.
10408 Make cr field use more consistent with rWORDn compares. Rename
10409 regs used as shift registers for unaligned loop, using rN defines
10410 for short lifetime/multiple use regs.
10411 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10412 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10413 addi 1,1,64 to pop stack frame. Simplify return value code.
10414 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10415
664318c3
AM
104162013-10-04 Alan Modra <amodra@gmail.com>
10417
10418 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10419 support. Correct typos, formatting. Optimize tail. Use insrdi
10420 rather than rlwimi.
10421 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10422 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10423 little-endian support. Correct typos.
10424 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10425 rather than rlwimi.
10426 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10427 in loop and entry code to keep "and." results.
10428 (strchr): Add little-endian support. Comment. Move cntlzd
10429 earlier in tail.
10430 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10431
43b84013
AM
104322013-10-04 Alan Modra <amodra@gmail.com>
10433
10434 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10435 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10436 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10437 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10438
8a7413f9
AM
104392013-10-04 Alan Modra <amodra@gmail.com>
10440
10441 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10442 (rTMP): Define as r11.
10443 (strcmp): Add little-endian support. Optimise tail.
10444 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10445 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10446 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10447 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10448 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10450 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10451
33ee81de
AM
104522013-10-04 Alan Modra <amodra@gmail.com>
10453
10454 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10455 little-endian support. Remove unnecessary "are we done" tests.
10456 Handle "s" wrapping around zero and extremely large "size".
10457 Correct main loop count. Handle single left-over word from main
10458 loop inline rather than by using small_loop. Correct comments.
10459 Delete "zero" tail, use "end_max" instead.
10460 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10461
db9b4570
AM
104622013-10-04 Alan Modra <amodra@gmail.com>
10463
10464 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10465 support. Don't branch over align.
10466 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10467 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10468 support. Rearrange tmp reg use to suit. Comment.
10469 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10470
f7c399cf
AM
104712013-10-04 Alan Modra <amodra@gmail.com>
10472
10473 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10474
0b2c2ace
AM
104752013-10-04 Alan Modra <amodra@gmail.com>
10476
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10478 conditional form of branch and link when obtaining pc.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10480
02f04a6c
AM
104812013-10-04 Alan Modra <amodra@gmail.com>
10482
10483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10484 HIWORD/LOWORD.
10485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10487
9b874b2f
AM
104882013-10-04 Alan Modra <amodra@gmail.com>
10489
10490 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10491 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10492 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10493 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10494 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10495 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10496 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10497 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10498 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10499 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10500
be1e5d31
AB
105012013-10-04 Anton Blanchard <anton@au1.ibm.com>
10502 Alistair Popple <alistair@ozlabs.au.ibm.com>
10503 Alan Modra <amodra@gmail.com>
10504
10505 [BZ #15723]
10506 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10507 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10508 _dl_hwcap access for little-endian.
10509 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10510 destroy vmx regs when saving unaligned.
10511 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10512 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10513 destroy vmx regs when saving unaligned.
10514
fef13a78
AM
105152013-10-04 Alan Modra <amodra@gmail.com>
10516
10517 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10518 Don't use a union to pack hi/low value.
10519
76a66d51
AB
105202013-10-04 Anton Blanchard <anton@au1.ibm.com>
10521
10522 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10523 for little-endian.
10524 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10526 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10527 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10528 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10529
6a31fe7f
AM
105302013-10-04 Alan Modra <amodra@gmail.com>
10531
10532 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10533 constants to usual value for .cst8 section, and remove redundant
10534 high address load.
10535 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10536 constant for 0x1p52. Load little-endian words of double from
10537 correct stack offsets.
10538
7b88401f
AM
105392013-10-04 Alan Modra <amodra@gmail.com>
10540
10541 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10542 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10543 words of double from correct stack offsets.
10544 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10545 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10546 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10547 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10549 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10550 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10551 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10552 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10553 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10554 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10555 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10556 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10557 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10558 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10559 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10560 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10561
9c008155
AM
105622013-10-04 Alan Modra <amodra@gmail.com>
10563
10564 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10565 64-bit int/double union.
10566 (_FPU_SETCW): Likewise.
10567 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10568 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10569
da13146d
AM
105702013-10-04 Alan Modra <amodra@gmail.com>
10571
10572 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10573 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10574
603e8410
AM
105752013-10-04 Alan Modra <amodra@gmail.com>
10576
10577 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10578 use vector int constants.
10579 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10580
4a28b3ca
AB
105812013-10-04 Anton Blanchard <anton@au1.ibm.com>
10582
10583 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10584 array with long long.
10585 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10586 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10587 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10588 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10589 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10590 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10591 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10592 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10593 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10594 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10595 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10596 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10597 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10598
2ca85d2b
AB
105992013-10-04 Anton Blanchard <anton@au1.ibm.com>
10600
10601 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10602 (__signbit): Likewise. Correct for little-endian.
10603 (__signbitl): Call __signbit.
10604 (lrint): Correct for little-endian.
10605 (lrintf): Call lrint.
10606
62a728ae
AM
106072013-10-04 Alan Modra <amodra@gmail.com>
10608
10609 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10610 union 32-bit int array member with 64-bit int array.
10611 (t515, tm256): Double rather than long double.
10612 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10613
32c301df
AM
106142013-10-04 Alan Modra <amodra@gmail.com>
10615
10616 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10617 Delete.
10618 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10620 version of math_ldbl.h.
10621
650ef4bd
AM
106222013-10-04 Alan Modra <amodra@gmail.com>
10623
10624 [BZ #15734], [BZ #15735]
10625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10626 all uses of ieee875 long double macros and unions. Simplify test
10627 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10628 ldbl_extract_mantissa value for ix,iy exponents. Properly
10629 normalize after ldbl_extract_mantissa, and don't add hidden bit
10630 already handled. Don't treat low word of ieee854 mantissa like
10631 low word of IBM long double and mask off bit when testing for
10632 zero.
10633 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10634 all uses of ieee875 long double macros and unions. Simplify tests
10635 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10636 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10637 two1022, instead use their values. Recognise that tests for large
10638 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10639 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10640 Rewrite all uses of ieee875 long double macros and unions. Simplify
10641 test for 0.0L and nan. Correct negation.
10642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10643 ieee875 long double macros and unions. Correct output for large
10644 magnitude x. Correct absolute value calculation.
10645 (__erfcl): Likewise.
10646 * math/libm-test.inc: Add tests for errors discovered in IBM long
10647 double versions of fmodl, remainderl, erfl and erfcl.
10648
765714ca
AM
106492013-10-04 Alan Modra <amodra@gmail.com>
10650
10651 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10652 all uses of ieee854 long double macros and unions. Simplify tests
10653 for long doubles that are fully specified by the high double.
10654 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10655 Likewise.
10656 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10657 Remove dead code too.
10658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10659 (__ieee754_ynl): Likewise.
10660 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10661 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10663 Remove dead code too.
10664 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10665 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10666 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10667 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10668 Simplify.
10669 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10670 Simplify.
10671 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10672 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10673 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10674 Comment on variable precision.
10675 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10676 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10677 Likewise.
10678 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10681 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10682 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10683
4ebd120c
AM
106842013-10-04 Alan Modra <amodra@gmail.com>
10685
10686 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10687 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10688 all uses of ieee854 long double macros and unions.
10689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10691 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10692 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10693 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10694 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10695 Likewise.
10696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10697 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10698 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10699 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10700 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10701 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10702 Simplify sign and nan test too.
10703 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10704 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10705 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10706 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10707 Likewise.
10708 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10709 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10710 Likewise.
10711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10712 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10713 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10714 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10715 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10717
1b6adf88
AM
107182013-10-04 Alan Modra <amodra@gmail.com>
10719
10720 * stdio-common/printf_size.c (__printf_size): Don't use
10721 union ieee854_long_double in fpnum union.
10722 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10723 signbit macro to retrieve sign from long double.
10724 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10725 retrieve sign from long double.
10726 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10727 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10728 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10729 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10730 * math/test-misc.c (main): Don't use union ieee854_long_double.
10731
4cf69995
AM
107322013-10-04 Alan Modra <amodra@gmail.com>
10733
10734 [BZ #15680]
10735 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10736 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10737 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10738 calculation. Remove unnecessary test for denormal exponent.
10739 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10740 Correct handling of denormals. Avoid undefined shift behaviour.
10741 Correct normalisation of low mantissa when low double is denormal.
10742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10743 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10744 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10745 Correct normalisation of low mantissa. Test for overflow of high
10746 mantissa and normalise.
10747 (ldbl_nearbyint): Use more readable constant for two52.
10748 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10749 (__mpn_construct_long_double): Fix test for overflow of high
10750 mantissa and correct normalisation. Avoid undefined shift.
10751
9605ca6c
AM
107522013-10-04 Alan Modra <amodra@gmail.com>
10753
10754 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10755 (union ibm_extended_long_double): Define as an array of ieee754_double.
10756 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10757 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10758 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10759 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10763 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10767
975569d0
JM
107682013-10-03 Joseph Myers <joseph@codesourcery.com>
10769
d3d23756
JM
10770 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10771 page size instead of calling getpagesize.
10772
975569d0
JM
10773 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10774 (LOCFILE_ALIGN_MASK): Likewise.
10775 (LOCFILE_ALIGN_UP): Likewise.
10776 (LOCFILE_ALIGNED_P): Likewise.
10777 * locale/programs/ld-collate.c (collate_output): Use the new
10778 macros instead of __alignof__ (int32_t).
10779 * locale/weight.h (findidx): Likewise.
10780
b1fe1f2b
OB
107812013-10-03 Ondřej Bílka <neleai@seznam.cz>
10782
10783 [BZ #431]
10784 * manual/string.texi: Fix strncat and wcsncat.
10785
5f855e35
BM
107862013-10-03 Brooks Moses <bmoses@google.com>
10787
10788 [BZ #15915]
10789 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10790 * Makerules: ...here, and adjust associated comments.
10791
3cef6009
WN
107922013-10-02 Will Newton <will.newton@linaro.org>
10793
10794 * malloc/Makefile: Add tst-pvalloc.
10795 * malloc/tst-pvalloc.c: New file.
10796
7815420b
WN
107972013-10-02 Will Newton <will.newton@linaro.org>
10798
10799 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10800 improve test coverage.
10801
4868b204
WN
108022013-10-02 Will Newton <will.newton@linaro.org>
10803
10804 * malloc/Makefile: Add tst-posix_memalign.
10805 * malloc/tst-posix_memalign.c: New file.
10806
29c793b3
EB
108072013-10-01 Eric Blake <eblake@redhat.com>
10808
10809 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10810 Use __THROWNL rather than __THROW on static functions.
10811
fd967522
PM
108122013-09-30 Petr Machata <pmachata@redhat.com>
10813
10814 * elf/elf.h (R_AARCH64_ABS16): New macro.
10815 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10816 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10817 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10818 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10819 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10820 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10821 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10822 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10823 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10824 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10825 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10826 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10827 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10828 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10829 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10830 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10831 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10832 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10833 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10834 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10835 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10836 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10837 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10838 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10839 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10840 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10841 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10842 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10843 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10844 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10845 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10846 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10847 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10848 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10849 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10850 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10851 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10852 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10853 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10854 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10855 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10856 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10857 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10858 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10859 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10860 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10861 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10862 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10863 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10864 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10865 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10866 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10867 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10868 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10869 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10870 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10871 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10872 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10873 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10874 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10875 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10876 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10877 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10878 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10879 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10880 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10881 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10882 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10883 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10884 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10885 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10886 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10887 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10888 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10889 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10890 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10891 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10892 (R_AARCH64_TLSDESC_LDR): Likewise.
10893 (R_AARCH64_TLSDESC_ADD): Likewise.
10894 (R_AARCH64_TLSDESC_CALL): Likewise.
10895
b2179107
AS
108962013-09-30 Andreas Schwab <schwab@suse.de>
10897
10898 [BZ #15048]
10899 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10900 the nss database lookup.
10901 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10903
47f28d0a
MF
109042013-09-28 Mike Frysinger <vapier@gentoo.org>
10905
10906 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10907
109082013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10909
10910 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10911 ${Bash-specific parameter/pattern/string} parameter expansion.
10912 * sysdeps/unix/make-syscalls.sh: Likewise.
10913
f4518a17
KK
109142013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10915
10916 * sysdeps/sh/stackguard-macros.h: New file.
10917
dc1a95c7
OB
109182013-09-26 Ondřej Bílka <neleai@seznam.cz>
10919
10920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10922 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10923 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10924 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10925 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10926
5ebbff8f
AZ
109272013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10928
10929 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10930 Fix thread ID register.
10931
4fd2cf9f
JM
109322013-09-25 Joseph Myers <joseph@codesourcery.com>
10933
10934 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10935 [POSIX || UNIX98]: Require rather than permitting all symbols from
10936 <time.h>.
10937 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10938 element of struct sched_param.
10939 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10940 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10941 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10942 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10943 constant.
10944
12c22bc4
OL
109452013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10946
10947 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10948 argument calculation.
10949
a03d8ea7
JM
109502013-09-24 Joseph Myers <joseph@codesourcery.com>
10951
10952 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10953 Expect macro.
10954 [POSIX] (pthread_attr_t): Do not require type.
10955 [POSIX] (pthread_cond_t): Likewise.
10956 [POSIX] (pthread_condattr_t): Likewise.
10957 [POSIX] (pthread_key_t): Likewise.
10958 [POSIX] (pthread_mutex_t): Likewise.
10959 [POSIX] (pthread_mutexattr_t): Likewise.
10960 [POSIX] (pthread_once_t): Likewise.
10961 [POSIX] (pthread_t): Likewise.
10962 [POSIX-based standards] (pthread_atfork): Expect function.
10963
6055173a
JM
109642013-09-24 Joseph Myers <joseph@codesourcery.com>
10965 Richard Sandiford <richard@codesourcery.com>
10966
10967 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10968 (swap_endianness_p): New extern variable.
10969 (set_big_endian): New inline function.
10970 (maybe_swap_uint32): Likewise.
10971 (maybe_swap_uint32_array): Likewise.
10972 (maybe_swap_uint32_obstack): Likewise.
10973 * locale/programs/locfile.c: Include <stdbool.h>.
10974 (swap_endianness_p): New variable.
10975 (add_locale_uint32): Call maybe_swap_uint32.
10976 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10977 (write_locale_data): Call maybe_swap_uint32_array.
10978 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10979 maybe_swap_uint32.
10980 (obstack_int32_grow_fast): Likewise.
10981 (output_weightwc): Call maybe_swap_uint32_obstack.
10982 (collate_output): Likewise.
10983 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10984 (OPT_LITTLE_ENDIAN): Likewise.
10985 (options): Add --little-endian and --big-endian options.
10986 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10987 * locale/programs/locarchive.c: Include "locfile.h".
10988 (GET): New macro.
10989 (SET): Likewise.
10990 (INC): Likewise.
10991 (create_archive): Use the new macros to access fields of
10992 structures directly mapped from or written to locale archives.
10993 (oldlocrecentcmp): Likewise.
10994 (enlarge_archive): Likewise.
10995 (insert_name): Likewise.
10996 (add_alias): Likewise.
10997 (add_locale): Likewise.
10998 (delete_locales_from_archive): Likewise.
10999 (show_archive_content): Likewise.
11000 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11001 locale data.
11002
39bf0bb4
RM
110032013-09-24 Roland McGrath <roland@hack.frob.com>
11004
11005 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11006 http://www.gnu.org/doc/freemanuals.texi.
11007 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11008
f02eed10
WN
110092013-09-24 Will Newton <will.newton@linaro.org>
11010
11011 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11012 macro.
11013
a3a6c312
JM
110142013-09-23 Joseph Myers <joseph@codesourcery.com>
11015
11016 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11017 unsigned char.
11018
107375ac
MR
110192013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11020
11021 * manual/threads.texi (POSIX Threads): Fix a typo.
11022
141f3a77
SP
110232013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11024
303e567a
SP
11025 [BZ #14547]
11026 * string/tst-strcoll-overflow.c: New test case.
11027 * string/Makefile (xtests): Add tst-strcoll-overflow.
11028 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11029 cache if string sizes may cause integer overflow.
11030
141f3a77
SP
11031 [BZ #14547]
11032 * string/strcoll_l.c (coll_seq): New members rule, idx,
11033 save_idx and back_us.
11034 (get_next_seq_nocache): New function.
11035 (do_compare_nocache): New function.
11036 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11037 when malloc fails.
11038
c61b4d41
CD
110392013-09-23 Carlos O'Donell <carlos@redhat.com>
11040
0b1f8e35
CD
11041 [BZ #15754]
11042 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11043 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11044 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11045
c61b4d41
CD
11046 [BZ #15754]
11047 * elf/Makefile (tests): Add tst-ptrguard1.
11048 (tests-static): Add tst-ptrguard1-static.
11049 (tst-ptrguard1-ARGS): Define.
11050 (tst-ptrguard1-static-ARGS): Define.
11051 * elf/tst-ptrguard1.c: New file.
11052 * elf/tst-ptrguard1-static.c: New file.
11053 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11054 * sysdeps/i386/stackguard-macros.h: Likewise.
11055 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11056 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11057 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11058 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11059 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11060 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11061
110622013-09-23 Hector Marco <hecmargi@upv.es>
11063 Ismael Ripoll <iripoll@disca.upv.es>
11064 Carlos O'Donell <carlos@redhat.com>
11065
11066 [BZ #15754]
11067 * sysdeps/generic/stackguard-macros.h: Define
11068 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11069 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11070 Define __pointer_chk_guard_local.
11071 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11072 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11073
f5f4e7b4
VV
110742013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11075
11076 [BZ #15859]
11077 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11078
5bb43a43
AS
110792013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11080
11081 * include/string.h (__ffs): Declare as hidden.
11082 * string/ffs.c (__ffs): Define as hidden.
11083 * sysdeps/i386/ffs.c (__ffs): Likewise.
11084 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11085 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11086 * sysdeps/s390/ffs.c (__ffs): Likewise.
11087 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11088
3ea5be54
AO
110892013-09-20 Alexandre Oliva <aoliva@redhat.com>
11090
ffb89e53
AO
11091 * NEWS: Mention malloc probes.
11092
322dea08
AO
11093 * malloc/arena.c (new_heap): New memory_heap_new probe.
11094 (grow_heap): New memory_heap_more probe.
11095 (shrink_heap): New memory_heap_less probe.
11096 (heap_trim): New memory_heap_free probe.
11097 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11098 (systrim): New memory_sbrk_less probe.
11099 * manual/probes.texi: Document them.
11100
655673f3
AO
11101 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11102 * manual/probes.texi: Document it.
11103
35fed6f1
AO
11104 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11105 (__libc_realloc): Add memory_realloc_retry probe.
11106 (__libc_memalign): Add memory_memalign_retry probe.
11107 (__libc_valloc): Add memory_valloc_retry probe.
11108 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11109 (__libc_calloc): Add memory_calloc_retry probe.
11110 * manual/probes.texi: Document them.
11111
6999d38c
AO
11112 * malloc/arena.c (get_free_list): Add probe
11113 memory_arena_reuse_free_list.
11114 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11115 and memory_arena_reuse.
11116 (arena_get2) [!PER_THREAD]: Likewise.
11117 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11118 memory_arena_reuse_realloc.
11119 * manual/probes.texi: Document them.
11120
0653427f
AO
11121 * malloc/malloc.c (__libc_free): Add
11122 memory_mallopt_free_dyn_thresholds probe.
11123 (__libc_mallopt): Add multiple memory_mallopt probes.
11124 * manual/probes.texi: Document them.
11125
3ea5be54
AO
11126 * malloc/malloc.c: Include stap-probe.h.
11127 (__libc_mallopt): Add memory_mallopt probe.
11128 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11129 * manual/probes.texi: New.
11130 * manual/Makefile (chapters): Add probes.
11131 * manual/threads.texi: Set next node.
11132
e35696c3 111332013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11134
e35696c3
CL
11135 [BZ #15963, #13985]
11136 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11137 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11138 Add `Chinese' to `nan' entry name.
11139
4aafb73c
SP
111402013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11141
11142 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11143 (POLYNOMIAL): Likewise.
11144 (TAYLOR_SINCOS): Likewise.
11145 (TAYLOR_SLOW): Likewise.
11146 (__sin): Use TAYLOR_SINCOS.
11147 (__cos): Likewise.
11148 (slow): Use TAYLOR_SLOW.
11149 (sloww): Likewise.
11150 (bsloww): Likewise.
11151 (csloww): Likewise.
11152
d84f25c7
LD
111532013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11154
11155 * stdlib/strtod_l.c: Fix buffer overrun.
11156
5eea0404
SP
111572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11158
7849ff93
SP
11159 * benchtests/Makefile (bench): Add sincos.
11160 * benchtests/bench-sincos.c: New file.
11161
cfa3c886
SP
11162 * math/libm-test.inc (cos_test_data): New test inputs.
11163 (sin_test_data): Likewise.
11164
b348e1e3
SP
11165 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11166 macro.
11167 (__sin): Use it.
11168 (__cos): Likewise.
11169 (slow1): Likewise.
11170 (slow2): Likewise.
11171 (sloww1): Likewise.
11172 (sloww2): Likewise.
11173 (bsloww1): Likewise.
11174 (bsloww2): Likewise.
11175 (cslow2): Likewise.
11176 (csloww1): Likewise.
11177 (csloww2): Likewise.
11178
6cce25f8
SP
11179 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11180 function.
11181 (__sin): Use it.
11182 (__cos): Likewise.
11183
5eea0404
SP
11184 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11185 gotos.
11186 (__cos): Likewise.
11187
9c21573c
MR
111882013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11189
11190 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11191 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11192 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11193 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11194 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11195 * elf/cache.c (print_entry): Handle the new cache flags.
11196
24d22e65
JM
111972013-09-18 Joseph Myers <joseph@codesourcery.com>
11198 Aldy Hernandez <aldyh@redhat.com>
11199
11200 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11201 Change condition to [_SOFT_FLOAT].
11202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11214 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11217 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11218 declaration.
11219
d13ef066
JM
112202013-09-18 Joseph Myers <joseph@codesourcery.com>
11221
2e071de0
JM
11222 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11223 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11224 (__longjmp): Use LOAD_GP to load saved GPRs.
11225 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11226 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11227 (__sigsetjmp): Use SAVE_GP to save GPRs.
11228
d13ef066
JM
11229 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11230 Do not append -msoft-float.
11231 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11232
97a0650b
SP
112332013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11234
11235 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11236
11ca09e9
JM
112372013-09-17 Joseph Myers <joseph@codesourcery.com>
11238
11239 [BZ #15966]
11240 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11241 (_FPU_GETCW): Use initial "__" on variable and field names but not
11242 on macro parameter name.
11243 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11244 parentheses around reference to macro parameter.
11245
08ffcf34
RS
112462013-09-13 Richard Sandiford <richard@codesourcery.com>
11247
11248 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11249 prototype.
11250 (ctype_startup): Use uint32_t in cast and sizeof for
11251 ctype->charnames.
11252
ae7080d3
JL
112532013-09-11 Jia Liu <proljc@gmail.com>
11254
11255 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11256 __daddr_t_defined.
11257 [__FreeBSD__]: Likewise.
11258
5905e7b3
OB
112592013-09-11 Ondřej Bílka <neleai@seznam.cz>
11260
11261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11262 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11263 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11264 (strchr): Remove __strchr_sse42 ifunc selection.
11265 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11266 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11267
b987c776
WN
112682013-09-11 Will Newton <will.newton@linaro.org>
11269
11270 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11271 parameter to RES. Remove hardcoded 1000 value.
11272 * benchtests/bench-skeleton.c (main): Pass RES parameter
11273 to TIMING_INIT and multiply result by 1000.
11274
ddf985af
AZ
112752013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11276
11277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11278
ffdd3181
AS
112792013-09-11 Andreas Schwab <schwab@suse.de>
11280
11281 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11282 if not defined.
11283 (O_TMPFILE) [__USE_GNU]: Define.
11284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11285 Define.
11286
b73ed247
WN
112872013-09-11 Will Newton <will.newton@linaro.org>
11288
11289 [BZ #15857]
11290 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11291 does not overflow.
11292
55e17aad
WN
112932013-09-11 Will Newton <will.newton@linaro.org>
11294
11295 [BZ #15856]
11296 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11297 does not overflow.
11298
1159a193
WN
112992013-09-11 Will Newton <will.newton@linaro.org>
11300
11301 [BZ #15855]
11302 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11303 does not overflow.
11304
5905e7b3 113052013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
11306
11307 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11308 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11312
cdfc721b
AM
113132013-09-10 Allan McRae <allan@archlinux.org>
11314
aa04af00
AM
11315 [BZ #15748]
11316 * manual/arith.texi (Parsing of Floats): Clarify
11317 cross-reference.
11318
cdfc721b
AM
11319 [BZ #15849]
11320 * manual/install.texi (Running make install): Mention
11321 --enable-pt-chown.
11322 * INSTALL: Regenerated.
11323
95e7cf29
MR
113242013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11325
11326 * csu/init-first.c (_init): Remove the !SHARED condition around
11327 FPU control word initialization.
11328 * elf/dl-support.c (_dl_fpu_control): New variable.
11329 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11330 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11331 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11332 * math/test-fpucw-static.c: New file.
11333 * math/test-fpucw-ieee.c: New file.
11334 * math/test-fpucw-ieee-static.c: New file.
11335 * math/Makefile (tests): Add `test-fpucw-ieee' and
11336 `$(tests-static)'.
11337 (tests-static): New variable.
11338 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11339 dependency to...
11340 [($(build-shared),yes)]
11341 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11342 ... this.
11343 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11344 New dependency.
11345
83e43bf0
AM
113462013-09-09 Allan McRae <allan@archlinux.org>
11347
a9f5ce09
AM
11348 [BZ #15939]
11349 * manual/string.texi (Collation Functions): Fix typo in
11350 strcoll example.
11351 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11352
34829bc2
AM
11353 [BZ #15893]
11354 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11355
3932737d
AM
11356 [BZ #15892]
11357 * libio/memstream.c (open_memstream): Fix memory leak.
11358 * libio/wmemstream.c (open_wmemstream): Likewise.
11359
83e43bf0
AM
11360 [BZ #15895]
11361 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11362
0c66b8e9
WN
113632013-09-09 Will Newton <will.newton@linaro.org>
11364
11365 * malloc/Makefile: Add tst-realloc to tests.
11366 * malloc/tst-realloc.c: New file.
11367
f6b00fd1
AM
113682013-09-09 Allan McRae <allan@archlinux.org>
11369
11370 [BZ #15844]
11371 * COPYING: Update from GNU website to fix FSF address.
11372 * COPYING.LIB: Likewise.
11373
eec55e16
DM
113742013-09-06 David S. Miller <davem@davemloft.net>
11375
11376 * po/zh_TW.po: Update Chinese (traditional) translation from
11377 translation project.
11378
1ecbb381
RS
113792013-09-06 Richard Sandiford <richard@codesourcery.com>
11380 Joseph Myers <joseph@codesourcery.com>
11381
11382 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11383 "localeinfo.h".
11384 (obstack_chunk_alloc): New macro.
11385 (obstack_chunk_free): Likewise.
11386 (record_offset): New function.
11387 (init_locale_data): Likewise.
11388 (align_locale_data): Likewise.
11389 (add_locale_empty): Likewise.
11390 (add_locale_raw_data): Likewise.
11391 (add_locale_raw_obstack): Likewise.
11392 (add_locale_string): Likewise.
11393 (add_locale_wstring): Likewise.
11394 (add_locale_uint32): Likewise.
11395 (add_locale_uint32_array): Likewise.
11396 (add_locale_char): Likewise.
11397 (start_locale_structure): Likewise.
11398 (end_locale_structure): Likewise.
11399 (start_locale_prelude): Likewise.
11400 (end_locale_prelude): Likewise.
11401 (write_locale_data): Take locale_file structure rather than an
11402 iovec.
11403 * locale/programs/locfile.h: Include "obstack.h".
11404 (struct locale_file): Change to store locale file contents instead
11405 of header.
11406 (init_locale_data): New prototype.
11407 (align_locale_data): Likewise.
11408 (add_locale_empty): Likewise.
11409 (add_locale_raw_data): Likewise.
11410 (add_locale_raw_obstack): Likewise.
11411 (add_locale_string): Likewise.
11412 (add_locale_wstring): Likewise.
11413 (add_locale_uint32): Likewise.
11414 (add_locale_uint32_array): Likewise.
11415 (add_locale_char): Likewise.
11416 (start_locale_structure): Likewise.
11417 (end_locale_structure): Likewise.
11418 (start_locale_prelude): Likewise.
11419 (end_locale_prelude): Likewise.
11420 (write_locale_data): Update prototype.
11421 * locale/programs/3level.h (struct TABLE): Remove result field.
11422 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11423 Use new locale_file interface.
11424 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11425 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11426 * locale/programs/ld-address.c (address_output): Use new
11427 locale_file interface.
11428 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11429 NO_ADD_LOCALE.
11430 (collate_finish): Don't call collseq_table_finalize.
11431 (collate_output): Use new locale_file interface.
11432 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11433 in file.
11434 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11435 (TABLE): Move defines earlier in file.
11436 (ELEMENT): Likewise.
11437 (DEFAULT): Likewise.
11438 (wctrans_table_add): Move macro and inline function earlier in
11439 file.
11440 (struct wctype_table): Move type earlier in file.
11441 (add_locale_wctype_table): New static prototype.
11442 (struct locale_ctype_t): Use logical types instead of struct iovec
11443 pointers for members.
11444 (ctype_output): Use new locale_file interface.
11445 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11446 new locale_file interface.
11447 (allocate_arrays): Update for use of new locale_file interface.
11448 * locale/programs/ld-identification.c (identification_output): Use
11449 new locale_file interface.
11450 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11451 * locale/programs/ld-messages.c (messages_output): Likewise.
11452 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11453 * locale/programs/ld-name.c (name_output): Likewise.
11454 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11455 * locale/programs/ld-paper.c (paper_output): Likewise.
11456 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11457 * locale/programs/ld-time.c (time_output): Likewise.
11458
e029e2e5
AZ
114592013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11460
11461 * benchtests/Makefile: Add memrchr benchmark.
11462 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11463 benchmark as memrchr.
11464 * benchtests/bench-memrchr-ifunc.c: New file.
11465 * benchtests/bench-memrchr.c: New file.
11466
bbf6e8e4
WN
114672013-09-06 Will Newton <will.newton@linaro.org>
11468
11469 * benchtests/Makefile (string-bench): Add memcpy.
11470
6c82a2f8
CD
114712013-09-05 Carlos O'Donell <carlos@redhat.com>
11472 Cong Wang <amwang@redhat.com>
11473
e732c5f0 11474 [BZ #15850]
6c82a2f8
CD
11475 * sysdeps/unix/sysv/linux/bits/in.h
11476 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11477 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11478 before __USE_KERNEL_IPV6_DEFS uses.
11479 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11480 IPPROTO_BEETPH.
11481 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11482 sockaddr_in6, or ipv6_mreq.
11483
5430fc65
AZ
114842013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11485
11486 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11487 memory access for final bytes in some large inputs.
11488 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11489
4660856c
AZ
114902013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11491
11492 * string/test-memrchr.c: New file.
11493 * string/test-memrchr-ifunc.c: New file.
11494 * string/Makefile: Add new memrchr testcase.
11495
bb8ea713
MF
114962013-09-05 Mike Frysinger <vapier@gentoo.org>
11497
11498 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11499 fanotify_init returns EPERM.
11500
b92a20b5
JM
115012013-09-04 Joseph Myers <joseph@codesourcery.com>
11502
11503 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11504 errors.
11505 (top level): Treat second token from macro or constant entries for
11506 allowed headers as allowed.
11507 * include/complex.h: Condition internal declarations on
11508 [!_ISOMAC].
11509 * include/fenv.h: Condition include of <stdbool.h> and internal
11510 declarations on [!_ISOMAC].
7447ccd9
CL
11511
115122013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11513
3e181dda 11514 [BZ #15923]
7447ccd9
CL
11515 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11516
3f2e46a4
JM
115172013-09-04 Joseph Myers <joseph@codesourcery.com>
11518
11519 * configure.in (--enable-versioning): Remove configure option.
11520 (libc_cv_asm_symver_directive): Remove configure test.
11521 (libc_cv_ld_version_script_option): Likewise.
11522 (VERSIONING): Remove variable and AC_SUBST.
11523 (DO_VERSIONING): Remove AC_DEFINE.
11524 * configure: Regenerated.
11525 * config.h.in (DO_VERSIONING): Remove macro.
11526 * Makerules [$(versioning) = yes]: Change conditionals to
11527 [$(build-shared) = yes].
11528 * config.make.in (versioning): Remove variable.
11529 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11530 [$(build-shared) = yes].
11531 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11532 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11533 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11534 [$(build-shared) = yes].
11535 * extra-lib.mk [$(versioning) = yes]: Likewise.
11536 * hurd/Makefile [$(versioning) = yes]: Likewise.
11537 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11538 [SHARED].
11539 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11540 [SHARED].
11541 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11542 [SHARED && !NO_HIDDEN].
11543 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11544 [SHARED].
11545 [SHARED && DO_VERSIONING]: Likewise..
11546 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11547 [$(build-shared) = yes].
11548 * manual/install.texi (--disable-versioning): Remove
11549 documentation.
11550 * INSTALL: Regenerated.
11551 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11552 to [SHARED].
11553 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11554 [$(build-shared) = yes].
11555 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11556 * sysdeps/i386/i686/multiarch/strstr-c.c
11557 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11558 [SHARED && !NO_HIDDEN].
11559 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11560 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11561 * sysdeps/powerpc/powerpc32/dl-machine.c
11562 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11563 * sysdeps/powerpc/powerpc32/sysdep.h
11564 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11565 to [SHARED && PIC && !NO_HIDDEN].
11566 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11567 conditional to [SHARED].
11568
44558701
WN
115692013-09-04 Will Newton <will.newton@linaro.org>
11570
11571 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11572 * benchtests/bench-string.h: Include bench-timing.h instead
11573 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11574 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11575 call to HP_TIMING_DIFF_INIT.
11576 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11577 instead of hp-timing.h macros.
11578 * benchtests/bench-memchr.c: Likewise.
11579 * benchtests/bench-memcmp.c: Likewise.
11580 * benchtests/bench-memcpy.c: Likewise.
11581 * benchtests/bench-memmem.c: Likewise.
11582 * benchtests/bench-memmove.c: Likewise.
11583 * benchtests/bench-memset.c: Likewise.
11584 * benchtests/bench-rawmemchr.c: Likewise.
11585 * benchtests/bench-strcasecmp.c: Likewise.
11586 * benchtests/bench-strcasestr.c: Likewise.
11587 * benchtests/bench-strcat.c: Likewise.
11588 * benchtests/bench-strchr.c: Likewise.
11589 * benchtests/bench-strcmp.c: Likewise.
11590 * benchtests/bench-strcpy.c: Likewise.
11591 * benchtests/bench-strcpy_chk.c: Likewise.
11592 * benchtests/bench-strlen.c: Likewise.
11593 * benchtests/bench-strncasecmp.c: Likewise.
11594 * benchtests/bench-strncat.c: Likewise.
11595 * benchtests/bench-strncmp.c: Likewise.
11596 * benchtests/bench-strncpy.c: Likewise.
11597 * benchtests/bench-strnlen.c: Likewise.
11598 * benchtests/bench-strpbrk.c: Likewise.
11599 * benchtests/bench-strrchr.c: Likewise.
11600 * benchtests/bench-strspn.c: Likewise.
11601 * benchtests/bench-strstr.c: Likewise.
11602
cae16d66
WN
116032013-09-04 Will Newton <will.newton@linaro.org>
11604
11605 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11606
ffa3cd7f
JM
116072013-09-03 Joseph Myers <joseph@codesourcery.com>
11608
11609 [BZ #15427]
11610 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11611 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11612 * math/libm-test.inc (lgamma_test_data): Add more tests.
11613 * sysdeps/i386/fpu/libm-test-ulps: Update.
11614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11615
8f02859f
OB
116162013-09-03 Ondřej Bílka <neleai@seznam.cz>
11617
11618 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11620 Add ifunc.
11621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11622 Add strcmp-sse2-unaligned
11623 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11624
18d43716
MF
116252013-09-02 Mike Frysinger <vapier@gentoo.org>
11626
11627 * Versions.def (libc): Add GLIBC_2.19.
11628
ac444012
MF
116292013-09-02 Mike Frysinger <vapier@gentoo.org>
11630
11631 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11632 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11633
b7835e32
JM
116342013-09-02 Joseph Myers <joseph@codesourcery.com>
11635
11636 [BZ #14155]
11637 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11638 intermediate calculations in recurrence.
11639 (__ieee754_ynf): Likewise.
11640 * math/libm-test.inc (jn_test_data): Do not allow spurious
11641 underflow exception. Add more tests.
11642 (yn_test_data): Add more tests.
11643 * sysdeps/i386/fpu/libm-test-ulps: Update.
11644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11645
8220f4f0
OB
116462013-09-02 Ondřej Bílka <neleai@seznam.cz>
11647
11648 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11649
f24a6d08
OB
116502013-08-30 Ondřej Bílka <neleai@seznam.cz>
11651
11652 * csu/init-first.c: Fix then/than typos.
11653 * locale/programs/ld-collate.c: Likewise.
11654 * locale/programs/linereader.h: Likewise.
11655 * manual/charset.texi: Likewise.
11656 * manual/filesys.texi: Likewise.
11657 * manual/stdio.texi: Likewise.
11658 * manual/string.texi: Likewise.
11659 * stdlib/fmtmsg.c: Likewise.
11660 * sysdeps/i386/stpncpy.S: Likewise.
11661 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11662 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11663 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11664 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11665
382466e0
OB
116662013-08-30 Ondřej Bílka <neleai@seznam.cz>
11667
11668 * elf/dl-open.c: Fix typos.
11669 * iconvdata/gbbig5.c: Likewise.
11670 * iconvdata/iso-2022-jp.c: Likewise.
11671 * iconv/gconv_int.h: Likewise.
11672 * iconv/loop.c: Likewise.
11673 * nis/rpcsvc/nis.h: Likewise.
11674 * resolv/ns_name.c: Likewise.
11675 * stdio-common/vfscanf.c: Likewise.
11676 * streams/stropts.h: Likewise.
11677 * sunrpc/rpc_thread.c: Likewise.
11678 * sysdeps/i386/strpbrk.S: Likewise.
11679 * sysdeps/ieee754/k_standard.c: Likewise.
11680 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11682 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11683 * sysdeps/mach/hurd/profil.c: Likewise.
11684 * sysdeps/s390/dl-procinfo.h: Likewise.
11685 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11686 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11687 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11688 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11689 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11690
0186c6e9
OB
116912013-08-30 Ondřej Bílka <neleai@seznam.cz>
11692
11693 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11694 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11695
d4e16af1
OB
116962013-08-29 Ondřej Bílka <neleai@seznam.cz>
11697
11698 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11699 aix specific files.
11700 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11701 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11702 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11703 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11704 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11705 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11706 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11707 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11708
88335980
TS
117092013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11710 Roland McGrath <roland@hack.frob.com>
11711
11712 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11713 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11714
ed479b02
ST
117152013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11716
11717 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11718 __executable_start symbol instead of _start.
11719
f1cc4c86
TS
117202013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11721
d821f07c
TS
11722 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11723 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11724 Move macros to...
11725 * sysdeps/gnu/ldsodefs.h: ... this new file.
11726
c54290cf
TS
11727 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11728 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11729 instead of ELFOSABI_LINUX.
11730
0007fc9b 11731 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11732 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11733 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11734 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11735 Likewise.
11736 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11737 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11739 Likewise.
11740 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11741 (ibm_extended_long_double): Add ieee_nan member.
11742 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11743 (do_test): New function.
11744
f1cc4c86
TS
11745 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11746 TEST_TRUNC.
11747 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11748 functions, renamed from truncdfsf_test, trunctfsf_test,
11749 trunctfdf_test.
11750 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11751 functions.
11752 (do_test): Run all these.
11753
6f65e668
OB
117542013-08-29 Ondřej Bílka <neleai@seznam.cz>
11755
11756 * argp/argp-help.c: Fix typos.
11757 * argp/argp-parse.c: Likewise.
11758 * debug/backtracesyms.c: Likewise.
11759 * elf/elf.h: Likewise.
11760 * malloc/malloc.c: Likewise.
11761 * nis/nis_print.c: Likewise.
11762 * resolv/res_comp.c: Likewise.
11763 * stdlib/stdlib.h: Likewise.
11764 * sunrpc/clnt_tcp.c: Likewise.
11765 * sunrpc/clnt_udp.c: Likewise.
11766 * sunrpc/clnt_unix.c: Likewise.
11767 * sysdeps/unix/bsd/ptsname.c: Likewise.
11768 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11769 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11771 Likewise.
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11773 Likewise.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11775 Likewise.
6f65e668
OB
11776 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11777
3a309239
SP
117782013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11779
11780 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11782
3b813b29
MF
117832013-08-27 Mike Frysinger <vapier@gentoo.org>
11784
11785 [BZ #15897]
11786 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11787 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11788 ($(objpfx)bug-dl-leaf): New rule.
11789 ($(objpfx)bug-dl-leaf.so): Likewise.
11790 ($(objpfx)bug-dl-leaf.out): Likewise.
11791 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11792 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11793 * dlfcn/bug-dl-leaf.c: New test.
11794 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11795 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11796 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11797 (dlclose): Likewise.
11798 (dlmopen): Likewise.
11799
8cc3269f
RM
118002013-08-27 Roland McGrath <roland@hack.frob.com>
11801
7f9d0034
RM
11802 * include/netdb.h [!_ISOMAC]:
11803 Don't include <tls.h>.
11804 (h_errno, __libc_h_errno): Move declaration and macros out of
11805 [_LIBC_REENTRANT].
11806
fb431262
RM
11807 * include/resolv.h [_RESOLV_H_]:
11808 Don't include <tls.h>.
11809 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11810 * resolv/res_libc.c: Don't include <tls.h>.
11811 (_res): Use __attribute__ ((nocommon)) in place of
11812 __attribute__ ((section (".bss"))).
11813
bd81123a
RM
11814 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11815 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11816
c4e42566
RM
11817 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11818
f890a59b
RM
11819 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11820 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11821
11822 * resolv/res_mkquery.c: Include <sys/time.h>.
11823
5d1f0a09
RM
11824 * inet/ifreq.c: Moved to ...
11825 * sysdeps/unix/ifreq.c: ... here.
11826 * inet/ifreq.c: New file, true stub version.
11827
6fcf28b3
RM
11828 * socket/sa_len.c: New file.
11829 * socket/Makefile (aux): Add it.
11830 * sysdeps/unix/sysv/linux/Makefile
11831 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11832 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11833 and #include <socket/sa_len.c>.
11834 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11835 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11836
e041fb8b
RM
11837 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11838 * bits/socket.h: ... here.
11839
8cc3269f
RM
11840 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11841 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11842 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11843
5d228a43
AS
118442013-08-27 Andreas Schwab <schwab@suse.de>
11845
45b8accc
AS
11846 [BZ #15736]
11847 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11848 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11849 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11850 * string/test-strcasecmp.c (test_main): Run tests in several
11851 locales.
11852 * string/test-strncasecmp.c (test_main): Likewise.
11853
5d228a43
AS
11854 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11855 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11856 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11857 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11858 (__strncasecmp_ssse3) [PIC]: Likewise.
11859
59d112a4
RM
118602013-08-26 Roland McGrath <roland@hack.frob.com>
11861
53234cc3
RM
11862 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11863
59d112a4
RM
11864 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11865 instead of explicitly declaring xdecrypt.
11866 * nis/nss_nis/nis-publickey.c: Likewise.
11867
595aba70
SP
118682013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11869
11870 [BZ #15890]
11871 * nscd/aicache.c: Include res_hconf.h.
11872 (addhstaiX): Initialize res_hconf.
11873
ffabd393
AS
118742013-08-26 Andreas Schwab <schwab@suse.de>
11875
11876 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11877 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11878
e0a69f5c
SP
118792013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11880
11881 * nscd/aicache.c (addhstaiX): Fix indentation.
11882
8c12f01d
MF
118832013-08-25 Mike Frysinger <vapier@gentoo.org>
11884
11885 * configure.ac: Quote $build_pt_chown test.
11886 * configure: Regenerated.
11887
8fe89494
JM
118882013-08-23 Joseph Myers <joseph@codesourcery.com>
11889
11890 [BZ #15532]
11891 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11892 * math/s_cexpf.c (__cexpf): Likewise.
11893 * math/s_cexpl.c (__cexpl): Likewise.
11894 * math/libm-test.inc (cexp_test_data): Correct expected return
11895 value for NaN + i0. Add another test.
11896
75b181d6
DM
118972013-08-22 David S. Miller <davem@davemloft.net>
11898
11899 * po/ca.po: Update Catalan translation from translation project.
936241e4 11900 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11901
acd06bb1
JM
119022013-08-21 Joseph Myers <joseph@codesourcery.com>
11903
11904 [BZ #15797]
11905 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11906 is infinite, not alongside NaN test.
11907 * math/s_fdimf.c (__fdimf): Likewise.
11908 * math/s_fdiml.c (__fdiml): Likewise.
11909 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11910 errno is unchanged.
11911
c0c3f78a
OB
119122013-08-21 Ondřej Bílka <neleai@seznam.cz>
11913
11914 * argp/argp-help.c: Fix typos.
11915 * crypt/speeds.c: Likewise.
11916 * csu/check_fds.c: Likewise.
11917 * elf/dl-load.c: Likewise.
11918 * elf/dl-open.c: Likewise.
11919 * elf/reldep3.c: Likewise.
11920 * elf/reldep.c: Likewise.
11921 * elf/sprof.c: Likewise.
11922 * iconv/iconv_charmap.c: Likewise.
11923 * iconv/skeleton.c: Likewise.
11924 * iconv/strtab.c: Likewise.
11925 * io/lockf64.c: Likewise.
11926 * libio/libioP.h: Likewise.
11927 * resolv/gai_notify.c: Likewise.
11928 * resolv/ns_name.c: Likewise.
11929 * resolv/ns_samedomain.c: Likewise.
11930 * resolv/res_send.c: Likewise.
11931 * stdlib/random.c: Likewise.
11932 * sunrpc/rpc/xdr.h: Likewise.
11933 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11934 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11935 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11936 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11937 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11938 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11940 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11941 * sysdeps/mach/hurd/check_fds.c: Likewise.
11942 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11943 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11944 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11945 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11946 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11947 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11948 * sysdeps/pthread/aio_notify.c: Likewise.
11949 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11950 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11951 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11952 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11953 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11954
46ed1038
LD
119552013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11956
11957 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11958 version if bit_Slow_SSE4_2 is set.
11959 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11960 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11961
d400dcac
AZ
119622013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11963
11964 [BZ #15867]
11965 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11966 trampoline stack frame information.
11967 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11968 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11969 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11970 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11971 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11972 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11973 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11974 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11975 sa_flags value.
11976 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11977 interrupting a syscall and set with option SA_SIGINFO.
11978
42c8fdd8
JM
119792013-08-20 Joseph Myers <joseph@codesourcery.com>
11980
c980f2f4
JM
11981 [BZ #15531]
11982 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11983 argument is infinite.
11984 * math/s_cprojf.c (__cprojf): Likewise.
11985 * math/s_cprojl.c (__cprojl): Likewise.
11986 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11987 * math/libm-test.inc (cproj_test_data): Add more tests.
11988
0716c4fc
JM
11989 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11990
42c8fdd8
JM
11991 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11992 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11993 size. Use __ffs to determine corresponding shift.
11994
b31469d0
JM
119952013-08-20 Joseph Myers <joseph@codesourcery.com>
11996 Roland McGrath <roland@hack.frob.com>
11997
11998 * Makefile (INSTALL): Remove trailing blank lines from output of
11999 makeinfo.
12000
4e39af6e
AK
120012013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12002
12003 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12004 Align 32 bit compat elf_greg to 8 bytes.
12005
f315524e
AA
120062013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12007
12008 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12009
1326ba1a
SP
120102013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12011
12012 * string/strcoll_l.c (coll_seq): New structure.
12013 (get_next_seq_cached): New function.
12014 (get_next_seq): New function.
12015 (do_compare): New function.
12016 (STRCOLL): Use GNU style definition. Simplify implementation
12017 by using get_next_seq, get_next_seq_cached and do_compare.
12018
91ce4085
FW
120192013-08-16 Florian Weimer <fweimer@redhat.com>
12020
12021 [BZ #14699]
12022 CVE-2013-4237
12023 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12024 member.
12025 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12026 member.
12027 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12028 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12029 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12030 conditional.
12031 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12032 GETDENTS_64BIT_ALIGNED.
12033 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12034 * manual/filesys.texi (Reading/Closing Directory): Document
12035 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12036 strongly.
12037 * manual/conf.texi (Limits for Files): Add portability note to
12038 NAME_MAX, PATH_MAX.
12039 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12040
ca0a6bc4
AS
120412013-08-13 Andreas Schwab <schwab@suse.de>
12042
12043 [BZ #15749]
12044 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12045 of fabs.
12046 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12047 LDBL_MAX_EXP >= 16384]: Add tests for it.
12048
6c1fd795
DM
120492013-08-12 David S. Miller <davem@davemloft.net>
12050
12051 * version.h (RELEASE): Set to "development".
12052 (VERSION): Set to "2.18.90".
12053 * NEWS: Add 2.19 section.
12054
31ad488d
DM
120552013-08-03 David S. Miller <davem@davemloft.net>
12056
12057 * po/ko.po: Update Korean translation from translation project.
12058
db24e684
DM
120592013-08-01 David S. Miller <davem@davemloft.net>
12060
12061 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12062 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12063 Bilka.
12064
f723285b
DM
120652013-07-30 David S. Miller <davem@davemloft.net>
12066
12067 * po/fr.po: Update French translation from translation project.
12068
3cbc52db
DM
120692013-07-28 David S. Miller <davem@davemloft.net>
12070
30bbc0cc
DM
12071 * po/cs.po: Update Czech translation from translation project.
12072
3cbc52db
DM
12073 * po/sv.po: Update Swedish translation from translation project.
12074
d492e6d0
DM
120752013-07-27 David S. Miller <davem@davemloft.net>
12076
f1a7f492
DM
12077 * po/eo.po: Update Esperanto translation from translation project.
12078
90e62a4a
DM
12079 * po/vi.po: Update Vietnamese translation from translation project.
12080
d492e6d0
DM
12081 * po/de.po: Update German translation from translation project.
12082
d4baa62d
DM
120832013-07-26 David S. Miller <davem@davemloft.net>
12084
641aa7b4
DM
12085 * po/bg.po: Update Bulgarian translation from translation project.
12086
d4baa62d
DM
12087 * po/nl.po: Update Dutch translation from translation project.
12088 * po/pl.po: Update Polish translation from translation project.
12089 * po/ru.po: Update Russian translation from translation project.
12090
61a9dcb9
DM
120912013-07-24 David S. Miller <davem@davemloft.net>
12092
12093 * po/libc.pot: Update.
12094
7b1f8b58
AZ
120952013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12096
12097 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12098 variable page size.
12099 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12100 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12101 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12102
a8fc7a03
AK
121032013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12104
12105 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12106
e4608715
CD
121072013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12108 Andreas Schwab <schwab@suse.de>
12109 Roland McGrath <roland@hack.frob.com>
12110 Joseph Myers <joseph@codesourcery.com>
12111 Carlos O'Donell <carlos@redhat.com>
12112
12113 [BZ #15755]
12114 * config.h.in: Define HAVE_PT_CHOWN.
12115 * config.make.in (build-pt-chown): New variable.
12116 * configure.in (--enable-pt_chown): New configure option.
12117 * configure: Regenerate.
12118 * login/Makefile: Include Makeconfig. Build pt_chown only if
12119 build-pt-chown is enabled.
12120 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12121 pt_chown to fix pty ownership.
12122 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12123 CLOSE_ALL_FDS.
12124 * manual/install.texi (Configuring and compiling): Mention
12125 --enable-pt_chown. Add @findex for grantpt.
12126 * INSTALL: Regenerate.
12127
da2d62df
DM
121282013-07-20 David S. Miller <davem@davemloft.net>
12129
12130 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12131 difference between 32-bit and 64-bit.
12132
d7e06450
CD
121332013-07-15 Carlos O'Donell <carlos@redhat.com>
12134
12135 [BZ #15711]
12136 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12137 Avoid system header dependency with -ffreestanding.
12138 ($(objpfx)bits/syscall%d): Likewise.
12139
f959cfd7
DM
121402013-07-13 David S. Miller <davem@davemloft.net>
12141
12142 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12143 underflows from atanl/atan2l due to bug 15319.
12144 (casinh_test_data): Likewise.
12145
c61f8513
DM
121462013-07-07 David S. Miller <davem@davemloft.net>
12147
12148 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12149
72c90ed0
JA
121502013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12151
12152 * sysdeps/i386/fpu/libm-test-ulps: Update.
12153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12154
52dfbe13
SP
121552013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12156
12157 * configure.in (--enable-lock-elision): Fix message text.
12158 * INSTALL: Regenerate.
12159 * configure: Regenerate.
12160
3f169543
AZ
121612013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12162
12163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12164
521c6785
AJ
121652013-07-03 Andreas Jaeger <aj@suse.de>
12166
12167 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12168 define.
12169 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12170 (ptrace_peeksiginfo_args): Add.
12171 (__ptrace_peeksiginfo_flags): Add.
12172 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12173 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12174 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12175
d2cc15cb
AM
121762013-07-03 Allan McRae <allan@archlinux.org>
12177
12178 * sysdeps/i386/fpu/libm-test-ulps: Update.
12179
3aaeeca7
DM
121802013-07-02 David S. Miller <davem@davemloft.net>
12181
12182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12183
5314ed1a
MT
121842013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12185
12186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12187
67338156
JM
121882013-07-02 Joseph Myers <joseph@codesourcery.com>
12189
12190 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12192
1717da59
AK
121932013-07-02 Andi Kleen <ak@linux.intel.com>
12194
12195 * config.h.in (ENABLE_LOCK_ELISION): Add.
12196 * configure.in (--enable-lock-elision): Add option.
12197 * manual/install.texi: Document --enable lock elision.
12198 * configure: Regenerate
12199 * INSTALL: Regenerate.
12200
1c81621c
L
122012013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12202
12203 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12204 SSE4.2 strcasecmp for libc.a.
12205 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12206
77f01ab5
JM
122072013-07-02 Joseph Myers <joseph@codesourcery.com>
12208
12209 [BZ #13304]
12210 * soft-fp/op-common.h (_FP_FMA): New macro.
12211 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12212 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12213 (_FP_MUL_MEAT_1_imm): ... here.
12214 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12215 (_FP_MUL_MEAT_1_wide): ... here.
12216 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12217 (_FP_MUL_MEAT_1_hard): ... here.
12218 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12219 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12220 (_FP_MUL_MEAT_2_wide): ... here.
12221 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12222 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12223 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12224 (_FP_MUL_MEAT_2_gmp): ... here.
12225 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12226 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12227 (_FP_MUL_MEAT_4_wide): ... here.
12228 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12229 (_FP_MUL_MEAT_4_gmp): ... here.
12230 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12231 (_FP_WFRACBITS_DW_S): Likewise.
12232 (_FP_WFRACXBITS_DW_S): Likewise.
12233 (_FP_HIGHBIT_DW_S): Likewise.
12234 (FP_FMA_S): Likewise.
12235 (_FP_FRAC_HIGH_DW_S): Likewise.
12236 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12237 (_FP_WFRACBITS_DW_D): Likewise.
12238 (_FP_WFRACXBITS_DW_D): Likewise.
12239 (_FP_HIGHBIT_DW_D): Likewise.
12240 (FP_FMA_D): Likewise.
12241 (_FP_FRAC_HIGH_DW_D): Likewise.
12242 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12243 (_FP_WFRACBITS_DW_E): Likewise.
12244 (_FP_WFRACXBITS_DW_E): Likewise.
12245 (_FP_HIGHBIT_DW_E): Likewise.
12246 (FP_FMA_E): Likewise.
12247 (_FP_FRAC_HIGH_DW_E): Likewise.
12248 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12249 (_FP_WFRACBITS_DW_Q): Likewise.
12250 (_FP_WFRACXBITS_DW_Q): Likewise.
12251 (_FP_HIGHBIT_DW_Q): Likewise.
12252 (FP_FMA_Q): Likewise.
12253 (_FP_FRAC_HIGH_DW_Q): Likewise.
12254 * soft-fp/fmasf4.c: New file.
12255 * soft-fp/fmadf4.c: Likewise.
12256 * soft-fp/fmatf4.c: Likewise.
12257
6308fd9a
LD
122582013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12259
12260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12261 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12262 Silvermont.
12263 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12264 macro.
12265 (index_Slow_SSE4_2): Likewise.
12266 (index_Prefer_PMINUB_for_stringop): Likewise.
12267 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12268 bit_Slow_SSE4_2 is set.
12269 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12270 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12271
89cd9569
RA
122722013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12273
12274 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12275 rtld_global._dl_hwcap2.
12276 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12277 POWER8.
12278 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12279 POWER8 feature descriptions defined in _dl_hwcap2.
12280 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12281 string handling for POWER8 feature bits.
12282 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12283 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12284 _dl_powerpc_cap_flags.
12285 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12286 * sysdeps/powerpc/rtld-global-offsets.sym
12287 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12288 _dl_hwcap2 in the rtld_global_ro structure.
12289
1ae8bfe0
RA
122902013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12291
12292 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12293 hardware capabilities in support of AT_HWCAP2.
12294 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12295 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12296 GLRO(dl_hwcap2).
12297 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12298 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12299 explicitly the unknown a_type display mechanism is used.
12300 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12301 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12302 struct member.
12303 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12304 to macro prototype for AT_HWCAP2 support.
12305 * sysdeps/i386/dl-procinfo.h: Likewise.
12306 * sysdeps/s390/dl-procinfo.h: Likewise.
12307 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12308 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12309 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12310 return -1 for unknown a_type display fallback.
12311 * sysdeps/sparc/dl-procinfo.h: Likewise.
12312 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12313 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12314
8fbec010
JM
123152013-06-28 Joseph Myers <joseph@codesourcery.com>
12316
12317 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12318 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12319
0432680e
PY
123202013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12321
12322 [BZ #12492]
12323 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12324 mprotect making __stack_prot writable.
12325
ce61a2ad
NF
123262013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12327 Joseph Myers <joseph@codesourcery.com>
12328
12329 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12330 as being properly aligned.
12331
f91f1c0f
MR
123322013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12333
3d0f5d0c
MR
12334 * dlfcn/modstatic5.c: New file.
12335 * dlfcn/tststatic5.c: New file.
12336 * dlfcn/Makefile (tests): Add tststatic5.
12337 (tests-static): Likewise.
12338 (modules-names): Add modstatic5.
12339 (tststatic5-ENV): New variable.
12340 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12341
f91f1c0f
MR
12342 [BZ #15022]
12343 * elf/dl-support.c (_dl_main_map): New variable.
12344 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12345 (_dl_nns, _dl_load_adds): Set to 1.
12346 (_dl_initial_searchlist): Refer to _dl_main_map.
12347 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12348 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12349 call to _dl_get_origin.
12350 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12351 around call_map.
12352 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12353 * dlfcn/modstatic3.c: New file.
12354 * dlfcn/tststatic3.c: New file.
12355 * dlfcn/tststatic4.c: New file.
12356 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12357 (tests-static): Likewise.
12358 (modules-names): Add modstatic3.
12359 (tststatic3-ENV, tststatic4-ENV): New variables.
12360 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12361 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12362
cbe7d24b
JM
123632013-06-26 Joseph Myers <joseph@codesourcery.com>
12364
12365 * configure.in (CC): Require GCC version 4.4 or later.
12366 * configure: Regenerated.
12367 * manual/install.texi (Tools for Compilation): Update GCC version
12368 requirement.
12369 * INSTALL: Regenerated.
12370
11b8a0e1
LD
123712013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12372
12373 [BZ #15674]
bb5bb87c
L
12374 * string/test-memcmp.c (check2): New.
12375 (main): Call check2.
12376
11b8a0e1
LD
12377 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12378
b0037103
MR
123792013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12380
12381 [BZ #15022]
12382 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12383 over to...
12384 (dl_open_worker) [!SHARED]: ... here.
12385
c18c701d
RA
123862013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12387
12388 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12389
1d17fa5f
RH
123902013-06-25 Richard Henderson <rth@redhat.com>
12391
12392 * locale/programs/locarchive.c: Include <libc-internal.h>
12393
8fcb833a
JM
123942013-06-25 Joseph Myers <joseph@codesourcery.com>
12395
12396 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12397 trailing whitespace removed.
12398
17db6e8d
MF
123992013-06-24 Mike Frysinger <vapier@gentoo.org>
12400
12401 [BZ #10283]
17db6e8d
MF
12402 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12403 * locale/programs/locarchive.c: Include libc-mmap.h.
12404 (prepare_address_space): Take two new outputs (the mmap base and len).
12405 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12406 values.
12407 (create_archive): Declare new mmap base and len values for
12408 prepare_address_space, and store the result in ah.
12409 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12410 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12411 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12412 Declare new mmap base and len values for
12413 prepare_address_space, and store the result in new_ah.
12414 (open_archive): Declare new mmap base and len values for
12415 prepare_address_space, and store the result in ah.
12416 (close_archive): If ah->mmap_base is not NULL, use that and
12417 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12418 * sysdeps/generic/libc-mmap.h: New file.
12419
d605071e
MF
124202013-06-24 Mike Frysinger <vapier@gentoo.org>
12421
12422 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12423 (ALIGN_UP): Likewise.
12424 (PTR_ALIGN_DOWN): Likewise.
12425 (PTR_ALIGN_UP): Likewise.
12426
2f063a6e
RA
124272013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12428
12429 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12430 entry mapped to PPC_PLATFORM_POWER8.
12431 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12432 POWER8.
12433 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12434 (_dl_string_platform): Add case for exporting platform position for
12435 POWER8.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12437 search path to sysdeps/powerpc/powerpc32/power8 directory.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12439 search path to sysdeps/powerpc/powerpc64/power8 directory.
12440 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12441 power7 directories.
12442 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12443 power7 directories.
12444
a31ee4b3
SP
124452013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12446
a74ca98f
SP
12447 * INSTALL: Regenerate.
12448
a31ee4b3
SP
12449 * nscd/connections.c (nscd_init): Fix comment.
12450
695c378f
JM
124512013-06-22 Joseph Myers <joseph@codesourcery.com>
12452
d8412221
JM
12453 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12454
695c378f
JM
12455 [BZ #15667]
12456 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12457 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12458
d1d54715
MR
124592013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12460
12461 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12462 DL_DST_REQ_STATIC.
12463 (DL_DST_REQ_STATIC): Remove macro.
12464
8fdda7af
JM
124652013-06-21 Joseph Myers <joseph@codesourcery.com>
12466
12467 [BZ #7006]
12468 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12469 with a shift of 0 bits.
12470
f3bc5e5a
MR
124712013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12472
12473 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12474 $(tststatic-ENV).
12475
be09e8c9
KK
124762013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12477
12478 [BZ #15655]
12479 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12480
85c2e611
AZ
124812013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12482
12483 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12484 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12485 accepts -fno-tree-loop-distribute-patterns.
12486 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12487 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12488 recursive call.
12489 * string/memset.c (memset): Likewise.
12490 * string/test-memmove.c (simple_memmove): Disable loop transformation
12491 to library calls.
12492 * string/test-memset.c (simple_memset): Likewise.
12493 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12494 * benchtests/bench-memset.c (simple_memset): Likewise.
12495 * configure: Regenerated.
12496
c91e0825
JM
124972013-06-20 Joseph Myers <joseph@codesourcery.com>
12498
b8c792af
JM
12499 * math/test-misc.c (main): Ignore fesetround failure when failures
12500 of subsequent rounding tests would be ignored.
12501
c91e0825
JM
12502 [BZ #15654]
12503 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12504 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12505 * math/fegetenv.c (__fegetenv): Return 0.
12506 * math/fegetexcept.c (fegetexcept): Return 0.
12507 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12508 FE_TONEAREST.
12509 * math/feholdexcpt.c (feholdexcept): Return 0.
12510 * math/fesetenv.c (__fesetenv): Return 0.
12511 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12512 argument FE_TONEAREST.
12513 * math/feupdateenv.c (__feupdateenv): Return 0.
12514 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12515
bfcacbde
RM
125162013-06-18 Roland McGrath <roland@hack.frob.com>
12517
12518 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12519 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12520 ($(objpfx)rtld-%.os rules): Use them.
12521
e55a9b25
AZ
125222013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12523
12524 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12525 fields.
12526
346d65b3
RM
125272013-06-17 Roland McGrath <roland@hack.frob.com>
12528
12086fb4
RM
12529 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12530 length of target pattern, then descending length of dependency pattern.
12531 * configure.in (AWK): Require gawk 3.1.2 or newer.
12532 * manual/install.texi (Tools for Compilation): Say that we do.
12533 * configure: Regenerated.
12534
346d65b3
RM
12535 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12536 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12537 * scripts/sysd-rules.awk: ... this new script.
12538 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12539 than a glob-style pattern.
12540
1a846317
JM
125412013-06-17 Joseph Myers <joseph@codesourcery.com>
12542
12543 * math/test-misc.c (main): Do not treat incorrectly rounded
12544 conversions as failure unless ROUNDING_TESTS passes.
12545
8fc75e6f
JM
125462013-06-15 Joseph Myers <joseph@codesourcery.com>
12547
3711a167
JM
12548 [BZ #15631]
12549 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12550 restore exception state around main square root computation, then
12551 check for inexactness explicitly.
12552
8fc75e6f
JM
12553 * math/libm-test.inc (fma_test_data): Add another test.
12554
61dd6208
SP
125552013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12556
adf23d2c
SP
12557 * manual/threads.texi (Non-POSIX Extensions): New document
12558 node. Document pthread_getattr_default_np and
12559 pthread_setattr_default_np.
12560
61dd6208
SP
12561 * Versions.def (libpthread): Add GLIBC_2.18.
12562 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12564 Likewise.
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12566 Likewise.
12567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12568 Likewise.
12569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12570 Likewise.
12571 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12572 Likewise.
12573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12574 Likewise.
12575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12576 Likewise.
12577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12578 Likewise.
12579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12580 Likewise.
12581
d086fc7b
LD
125822013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12583
12584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12585 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12586
747ef469
SP
125872013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12588 H.J. Lu <hjl.tools@gmail.com>
12589
12590 [BZ #15627]
12591 * sysdeps/x86_64/rtld-memset.c: Remove file.
12592 * sysdeps/x86_64/rtld-memset.S: New file.
12593
1b2feed2
JM
125942013-06-14 Joseph Myers <joseph@codesourcery.com>
12595
12596 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12597 (test_in_one_mode): Take arguments for whether the rounding mode
12598 is supported for each floating-point type.
12599 (do_test): Pass new arguments to test_in_one_mode using
12600 ROUNDING_TESTS.
12601
a58ad3f8
RM
126022013-06-13 Roland McGrath <roland@hack.frob.com>
12603
12604 * posix/tst-waitid.c (do_test): Distinguish different instances of
12605 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12606 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12607 before entering the kernel for waitpid.
12608
c204ab28
SP
126092013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12610
12611 * NEWS: Fix note on clock function precision. Text by Roland
12612 McGrath.
12613
f4a29fba
RM
126142013-06-13 Roland McGrath <roland@hack.frob.com>
12615
12616 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12617 it into place only when and if the sanity check passes.
12618
1f24b9ad
JM
126192013-06-13 Joseph Myers <joseph@codesourcery.com>
12620
12621 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12622 output for whether conversion result is exact. Take argument
12623 indicating whether type is IBM long double.
12624 (round_for_all): Change need_exact field to ibm_ld.
12625 * stdlib/tst-strtod-round.c (struct exactness): New type.
12626 (struct test): Change bool ld_ok field to struct exactness exact.
12627 (TEST): Update all definitions for change to field.
12628 (tests): Regenerate array contents.
12629 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12630 field value. Check for IBM long double here.
12631 (do_test): Update calls to test_in_one_mode.
12632
58206c68
SP
126332013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12634
12635 [BZ #12515]
12636 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12637 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12638
2d6f4c5b 126392013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
12640
12641 [BZ #15605]
12642 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12643 generated by the compiler on loop optimizations.
12644 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12645 general definitions.
12646
94f2c076
JM
126472013-06-12 Joseph Myers <joseph@codesourcery.com>
12648
12649 * math/bug-nextafter.c: Include <math-tests.h>.
12650 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12651 the relevant type.
12652 * math/bug-nexttoward.c: Include <math-tests.h>.
12653 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12654 the relevant type.
12655 * math/test-misc.c: Include <math-tests.h>.
12656 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12657 the relevant type.
12658
e0e50a0a
AJ
126592013-06-12 Andreas Jaeger <aj@suse.de>
12660
12661 * po/ia.po: Update Interlingua translation from translation
12662 project.
12663
25061094
SP
126642013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12665
12666 * include/fenv.h: Include stdbool.h.
12667 (struct rm_ctx): New structure.
12668 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12669 Define macro.
12670 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12671 (SET_RESTORE_ROUNDF): Likewise.
12672 (SET_RESTORE_ROUNDL): Likewise.
12673 (SET_RESTORE_ROUND_NOEX): Likewise.
12674 (SET_RESTORE_ROUND_NOEXF): Likewise.
12675 (SET_RESTORE_ROUND_NOEXL): Likewise.
12676 (SET_RESTORE_ROUND_53BIT): Likewise.
12677 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12678 (libc_feresetround_noexf_ctx): Likewise.
12679 (libc_feresetround_noexl_ctx): Likewise.
12680 (libc_feholdsetround_53bit_ctx): Likewise.
12681 (libc_feresetround_53bit_ctx): Likewise.
12682 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12683 (libc_feholdexcept_setround_sse_ctx): New function.
12684 (libc_fesetenv_sse_ctx): Likewise.
12685 (libc_feupdateenv_sse_ctx): Likewise.
12686 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12687 (libc_feholdexcept_setround_387_ctx): Likewise.
12688 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12689 (libc_feholdsetround_387_prec_ctx): Likewise.
12690 (libc_feholdsetround_387_ctx): Likewise.
12691 (libc_feholdsetround_387_53bit_ctx): Likewise.
12692 (libc_feholdsetround_sse_ctx): Likewise.
12693 (libc_feresetround_sse_ctx): Likewise.
12694 (libc_feresetround_387_ctx): Likewise.
12695 (libc_feupdateenv_387_ctx): Likewise.
12696 (libc_feholdexcept_setroundf_ctx): Define macro.
12697 (libc_fesetenvf_ctx): Likewise.
12698 (libc_feupdateenvf_ctx): Likewise.
12699 (libc_feholdsetroundf_ctx): Likewise.
12700 (libc_feresetroundf_ctx): Likewise.
12701 (libc_feholdexcept_setround_ctx): Likewise.
12702 (libc_fesetenv_ctx): Likewise.
12703 (libc_feupdateenv_ctx): Likewise.
12704 (libc_feholdsetround_ctx): Likewise.
12705 (libc_feresetround_ctx): Likewise.
12706 (libc_feholdexcept_setroundl_ctx): Likewise.
12707 (libc_feupdateenvl_ctx): Likewise.
12708 (libc_feholdsetroundl_ctx): Likewise.
12709 (libc_feresetroundl_ctx): Likewise.
12710 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12711 (libc_feresetround_53bit_ctx): Likewise.
12712
59b30555
SP
127132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12714
12715 * locale/iso-639.def: Convert to UTF-8.
12716
f1d73d30
JM
127172013-06-11 Joseph Myers <joseph@codesourcery.com>
12718
12719 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12720 (EXCEPTION_TESTS_double): Likewise.
12721 (EXCEPTION_TESTS_long_double): Likewise.
12722 (EXCEPTION_TESTS): Likewise.
12723 * math/libm-test.inc (test_exceptions): Only test exceptions if
12724 EXCEPTION_TESTS (FLOAT).
12725
94aca5e7
SP
127262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12727
12728 * benchtests/Makefile (string-bench): Add strcpy_chk and
12729 stpcpy_chk.
12730 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12731 * benchtests/bench-stpcpy_chk.c: New file.
12732 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12733 * benchtests/bench-strcpy_chk.c: New file.
12734 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12735 code.
12736 (do_test): Likewise.
12737
fac0c5f2
RA
127382013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12739
12740 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12741 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12742 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12743 with tabs where appropriate.
12744 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12745 dl-procinfo.h.
12746 [PPC_PLATFORM_PPC440]: Likewise.
12747 [PPC_PLATFORM_PPC464]: Likewise.
12748 [PPC_PLATFORM_PPC476]: Likewise.
12749 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12750 ppc464, and ppc476 platform strings merging from ports/
12751 dl-procinfo.h.
12752
f22bc486
AS
127532013-06-11 Andreas Schwab <schwab@suse.de>
12754
12755 [BZ #14991]
12756 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12757 (from_ucs4_idx): Regenerate.
12758 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12759 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12760 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12761 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12762 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12763 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12764 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12765 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12766 from FROM_LOOP and TO_LOOP specific macros.
12767 (BODY): Handle combining characters.
12768 * iconvdata/BIG5HKSCS.irreversible: Update.
12769 * iconvdata/BIG5HKSCS.precomposed: New file.
12770 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12771 characters.
12772 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12773
c1f75dc3
SP
127742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12775
4eacded2
SP
12776 * include/sys/time.h: Fix indentation and add copyright header.
12777
fec799f8
SP
12778 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12779 (do_test): Likewise.
12780 * string/test-memchr.c (do_one_test): Likewise.
12781 (do_test): Likewise.
12782 * string/test-memcmp.c (do_one_test): Likewise.
12783 (do_test): Likewise.
12784 * string/test-memcpy.c (do_one_test): Likewise.
12785 (do_test): Likewise.
12786 * string/test-memmem.c (do_one_test): Likewise.
12787 (do_test): Likewise.
12788 (do_random_tests): Likewise.
12789 * string/test-memmove.c (do_one_test): Likewise.
12790 (do_test): Likewise.
12791 * string/test-memset.c (do_one_test): Likewise.
12792 (do_test): Likewise.
12793 * string/test-rawmemchr.c (do_one_test): Likewise.
12794 (do_test): Likewise.
12795 * string/test-strcasecmp.c (do_one_test): Likewise.
12796 (do_test): Likewise.
12797 * string/test-strcasestr.c (do_one_test): Likewise.
12798 (do_test): Likewise.
12799 * string/test-strcat.c (do_one_test): Likewise.
12800 (do_test): Likewise.
12801 * string/test-strchr.c (do_one_test): Likewise.
12802 (do_test): Likewise.
12803 * string/test-strcmp.c (do_one_test): Likewise.
12804 (do_test): Likewise.
12805 * string/test-strcpy.c (do_one_test): Likewise.
12806 (do_test): Likewise.
12807 * string/test-string.h: Likewise.
12808 (test_init): Likewise.
12809 * string/test-strlen.c (do_one_test): Likewise.
12810 (do_test): Likewise.
12811 * string/test-strncasecmp.c (do_one_test): Likewise.
12812 (do_test): Likewise.
12813 * string/test-strncat.c (do_one_test): Likewise.
12814 (do_test): Likewise.
12815 * string/test-strncmp.c (do_one_test): Likewise.
12816 (do_test_limit): Likewise.
12817 (do_test): Likewise.
12818 * string/test-strncpy.c (do_one_test): Likewise.
12819 (do_test): Likewise.
12820 * string/test-strnlen.c (do_one_test): Likewise.
12821 (do_test): Likewise.
12822 * string/test-strpbrk.c (do_one_test): Likewise.
12823 (do_test): Likewise.
12824 * string/test-strrchr.c (do_one_test): Likewise.
12825 (do_test): Likewise.
12826 * string/test-strspn.c (do_one_test): Likewise.
12827 (do_test): Likewise.
12828 * string/test-strstr.c (do_one_test): Likewise.
12829 (do_test): Likewise.
12830
97020474
SP
12831 * benchtests/Makefile (string-bench): Add string benchmarks.
12832 * benchtests/bench-bcopy-ifunc.c: New file.
12833 * benchtests/bench-bcopy.c: New file.
12834 * benchtests/bench-bzero-ifunc.c: New file.
12835 * benchtests/bench-bzero.c: New file.
12836 * benchtests/bench-memccpy-ifunc.c: New file.
12837 * benchtests/bench-memccpy.c: New file.
12838 * benchtests/bench-memchr-ifunc.c: New file.
12839 * benchtests/bench-memchr.c: New file.
12840 * benchtests/bench-memcmp-ifunc.c: New file.
12841 * benchtests/bench-memcmp.c: New file.
12842 * benchtests/bench-memmem-ifunc.c: New file.
12843 * benchtests/bench-memmem.c: New file.
12844 * benchtests/bench-memmove-ifunc.c: New file.
12845 * benchtests/bench-memmove.c: New file.
12846 * benchtests/bench-mempcpy-ifunc.c: New file.
12847 * benchtests/bench-mempcpy.c: New file.
12848 * benchtests/bench-memset-ifunc.c: New file.
12849 * benchtests/bench-memset.c: New file.
12850 * benchtests/bench-rawmemchr-ifunc.c: New file.
12851 * benchtests/bench-rawmemchr.c: New file.
12852 * benchtests/bench-stpcpy-ifunc.c: New file.
12853 * benchtests/bench-stpcpy.c: New file.
12854 * benchtests/bench-stpncpy-ifunc.c: New file.
12855 * benchtests/bench-stpncpy.c: New file.
12856 * benchtests/bench-strcasecmp-ifunc.c: New file.
12857 * benchtests/bench-strcasecmp.c: New file.
12858 * benchtests/bench-strcasestr-ifunc.c: New file.
12859 * benchtests/bench-strcasestr.c: New file.
12860 * benchtests/bench-strcat-ifunc.c: New file.
12861 * benchtests/bench-strcat.c: New file.
12862 * benchtests/bench-strchr-ifunc.c: New file.
12863 * benchtests/bench-strchr.c: New file.
12864 * benchtests/bench-strchrnul-ifunc.c: New file.
12865 * benchtests/bench-strchrnul.c: New file.
12866 * benchtests/bench-strcmp-ifunc.c: New file.
12867 * benchtests/bench-strcmp.c: New file.
12868 * benchtests/bench-strcpy-ifunc.c: New file.
12869 * benchtests/bench-strcpy.c: New file.
12870 * benchtests/bench-strcspn-ifunc.c: New file.
12871 * benchtests/bench-strcspn.c: New file.
12872 * benchtests/bench-strlen-ifunc.c: New file.
12873 * benchtests/bench-strlen.c: New file.
12874 * benchtests/bench-strncasecmp-ifunc.c: New file.
12875 * benchtests/bench-strncasecmp.c: New file.
12876 * benchtests/bench-strncat-ifunc.c: New file.
12877 * benchtests/bench-strncat.c: New file.
12878 * benchtests/bench-strncmp-ifunc.c: New file.
12879 * benchtests/bench-strncmp.c: New file.
12880 * benchtests/bench-strncpy-ifunc.c: New file.
12881 * benchtests/bench-strncpy.c: New file.
12882 * benchtests/bench-strnlen-ifunc.c: New file.
12883 * benchtests/bench-strnlen.c: New file.
12884 * benchtests/bench-strpbrk-ifunc.c: New file.
12885 * benchtests/bench-strpbrk.c: New file.
12886 * benchtests/bench-strrchr-ifunc.c: New file.
12887 * benchtests/bench-strrchr.c: New file.
12888 * benchtests/bench-strspn-ifunc.c: New file.
12889 * benchtests/bench-strspn.c: New file.
12890 * benchtests/bench-strstr-ifunc.c: New file.
12891 * benchtests/bench-strstr.c: New file.
12892
c1f75dc3
SP
12893 * benchtests/Makefile: Disable parallel execution of targets.
12894 (string-bench): Add memcpy.
12895 (benchset): New variable to store a list of benchmark sets.
12896 (bench-func): Renamed from bench.
12897 (bench-set): New target.
12898 (bench): Depend on bench-func and bench-set.
12899 * benchtests/README: Add section on benchmark sets.
12900 * benchtests/bench-memcpy-ifunc.c: New file.
12901 * benchtests/bench-memcpy.c: New file.
12902 * benchtests/bench-string.h: New file.
12903
50fd745b
AS
129042013-06-11 Andreas Schwab <schwab@suse.de>
12905
12906 [BZ #15577]
12907 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12908 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12909 values in the triple.
12910 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12911 terminator in the group key.
12912
3ee7e9fe
AJ
129132013-06-11 Andreas Jaeger <aj@suse.de>
12914
12915 * po/zh_TW.po: Update Chinese (traditional) translation from
12916 translation project.
12917
89fb6835
SP
129182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12919
12920 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12921 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12922 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12923 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12924 (clock_getcpuclockid): Likewise.
12925 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12926 Add weak_alias and libc_hidden_def.
12927 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12928 * rt/clock_gettime.c (clock_gettime): Rename to
12929 __clock_gettime. Add weak_alias and libc_hidden_def.
12930 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12931 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12932 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12933 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12934 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12935 Likewise.
12936 * rt/clock_settime.c (clock_settime): Rename to
12937 __clock_settime. Add weak_alias and libc_hidden_def.
12938 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12939
0efa6f8b
JM
129402013-06-10 Joseph Myers <joseph@codesourcery.com>
12941
b8c61b4b
JM
12942 * mach/err_boot.sub: Remove trailing whitespace.
12943 * mach/err_ipc.sub: Likewise.
12944 * mach/err_mach.sub: Likewise.
12945
0efa6f8b
JM
12946 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12947 (ROUNDING_TESTS_double): Likewise.
12948 (ROUNDING_TESTS_long_double): Likewise.
12949 (ROUNDING_TESTS): Likewise.
12950 * math/libm-test.inc: Include <math-tests.h>.
12951 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12952 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12953 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12954 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12955
50b818bf
SP
129562013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12957
12958 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12959 of assigning.
12960
60d2f8f3
JM
129612013-06-08 Joseph Myers <joseph@codesourcery.com>
12962
4902d2c3
JM
12963 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12964 otherwise empty TRANS lines.
12965 * sysdeps/gnu/errlist.c: Regenerated.
12966
60d2f8f3
JM
12967 * catgets/gencat.c (error_print): Use (void) in function
12968 definition.
12969 * crypt/crypt_util.c (__init_des): Likewise.
12970 * crypt/speeds.c (Stop): Likewise.
12971 (main): Likewise.
12972 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12973 * inet/ruserpass.c (token): Likewise.
12974 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12975 * intl/localealias.c (extend_alias_table): Likewise.
12976 * intl/plural-exp.c (init_germanic_plural): Likewise.
12977 * libio/fcloseall.c (__fcloseall): Likewise.
12978 * libio/genops.c (_IO_flush_all): Likewise.
12979 (_IO_flush_all_linebuffered): Likewise.
12980 (_IO_cleanup): Likewise.
12981 (_IO_iter_begin): Likewise.
12982 (_IO_iter_end): Likewise.
12983 (_IO_list_lock): Likewise.
12984 (_IO_list_unlock): Likewise.
12985 (_IO_list_resetlock): Likewise.
12986 * libio/getchar.c (getchar): Likewise.
12987 * libio/getchar_u.c (getchar_unlocked): Likewise.
12988 * libio/getwchar.c (getwchar): Likewise.
12989 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12990 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12991 * login/getpt.c (__getpt): Likewise.
12992 * login/tst-utmp.c (main): Likewise.
12993 * malloc/hooks.c (__malloc_check_init): Likewise.
12994 * malloc/malloc.c (__malloc_stats): Likewise.
12995 * malloc/mtrace.c (tr_break): Likewise.
12996 (mtrace): Likewise.
12997 (muntrace): Likewise.
12998 * misc/fstab.c (endfsent): Likewise.
12999 * misc/getclktck.c (__getclktck): Likewise.
13000 * misc/getdtsz.c (__getdtablesize): Likewise.
13001 * misc/gethostid.c (gethostid): Likewise.
13002 * misc/getpagesize.c (__getpagesize): Likewise.
13003 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13004 (__get_nprocs): Likewise.
13005 (__get_phys_pages): Likewise.
13006 (__get_avphys_pages): Likewise.
13007 * misc/getttyent.c (getttyent): Likewise.
13008 (setttyent): Likewise.
13009 (endttyent): Likewise.
13010 * misc/getusershell.c (getusershell): Likewise.
13011 (endusershell): Likewise.
13012 (setusershell): Likewise.
13013 (initshells): Likewise.
13014 * misc/hsearch.c (__hdestroy): Likewise.
13015 * misc/sync.c (sync): Likewise.
13016 * misc/syslog.c (closelog_internal): Likewise.
13017 (closelog): Likewise.
13018 * misc/ttyslot.c (ttyslot): Likewise.
13019 * misc/vhangup.c (vhangup): Likewise.
13020 * posix/fork.c (__fork): Likewise.
13021 * posix/getegid.c (__getegid): Likewise.
13022 * posix/geteuid.c (__geteuid): Likewise.
13023 * posix/getgid.c (__getgid): Likewise.
13024 * posix/getpid.c (__getpid): Likewise.
13025 * posix/getppid.c (__getppid): Likewise.
13026 * posix/getuid.c (__getuid): Likewise.
13027 * posix/pause.c (pause): Likewise.
13028 * posix/setpgrp.c (setpgrp): Likewise.
13029 * posix/setsid.c (__setsid): Likewise.
13030 * posix/test-vfork.c (noop): Likewise.
13031 * resolv/gethnamaddr.c (_endhtent): Likewise.
13032 (_gethtent): Likewise.
13033 (ht_endhostent): Likewise.
13034 (gethostent): Likewise.
13035 (dns_service): Likewise.
13036 * stdlib/drand48.c (drand48): Likewise.
13037 * stdlib/lrand48.c (lrand48): Likewise.
13038 * stdlib/mrand48.c (mrand48): Likewise.
13039 * stdlib/rand.c (rand): Likewise.
13040 * stdlib/random.c (__random): Likewise.
13041 * stdlib/setenv.c (clearenv): Likewise.
13042 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13043 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13044 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13045 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13046 (__get_nprocs): Likewise.
13047 (__get_phys_pages): Likewise.
13048 (__get_avphys_pages): Likewise.
13049 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13050 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13051 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13052 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13053 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13054 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13055 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13056 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13057 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13058 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13059 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13060 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13061 * sysdeps/posix/clock.c (clock): Likewise.
13062 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13063 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13064 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13065 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13066 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13067 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13068 (__get_nprocs_conf): Likewise.
13069 (__get_phys_pages): Likewise.
13070 (__get_avphys_pages): Likewise.
13071 * time/clock.c (clock): Likewise.
13072 * time/tzset.c (__tzname_max): Likewise.
13073
2e09a79a
JM
130742013-06-07 Joseph Myers <joseph@codesourcery.com>
13075
13076 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13077 (__bswap_32): Do not use "register".
13078 * crypt/crypt.c (_ufc_doit_r): Likewise.
13079 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13080 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13081 * gmon/gmon.c (__monstartup): Likewise.
13082 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13083 * hurd/hurdmalloc.c (more_memory): Likewise.
13084 (malloc): Likewise.
13085 (free): Likewise.
13086 (realloc): Likewise.
13087 (malloc_fork_prepare): Likewise.
13088 (malloc_fork_parent): Likewise.
13089 (malloc_fork_child): Likewise.
13090 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13091 (_svcauth_des): Likewise.
13092 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13093 * inet/inet_net.c (inet_network): Likewise.
13094 * inet/inet_netof.c (inet_netof): Likewise.
13095 * inet/rcmd.c (__validuser2_sa): Likewise.
13096 * io/fts.c (fts_open): Likewise.
13097 (fts_load): Likewise.
13098 (fts_close): Likewise.
13099 (fts_read): Likewise.
13100 (fts_children): Likewise.
13101 (fts_build): Likewise.
13102 (fts_stat): Likewise.
13103 (fts_sort): Likewise.
13104 (fts_alloc): Likewise.
13105 (fts_lfree): Likewise.
13106 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13107 (_IO_file_xsgetn): Likewise.
13108 (_IO_file_xsgetn_mmap): Likewise.
13109 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13110 (_IO_cookie_write): Likewise.
13111 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13112 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13113 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13114 * malloc/obstack.c (_obstack_begin): Likewise.
13115 (_obstack_begin_1): Likewise.
13116 (_obstack_newchunk): Likewise.
13117 (_obstack_allocated_p): Likewise.
13118 (obstack_free): Likewise.
13119 (_obstack_memory_used): Likewise.
13120 * misc/getttyent.c (getttynam): Likewise.
13121 (getttyent): Likewise.
13122 (skip): Likewise.
13123 (value): Likewise.
13124 * misc/getusershell.c (initshells): Likewise.
13125 * misc/syslog.c (__vsyslog_chk): Likewise.
13126 * misc/ttyslot.c (ttyslot): Likewise.
13127 * nis/nis_hash.c (__nis_hash): Likewise.
13128 * posix/fnmatch_loop.c (FCT): Likewise.
13129 * posix/getconf.c (print_all): Likewise.
13130 (main): Likewise.
13131 * posix/getopt.c (exchange): Likewise.
13132 * posix/glob.c (globfree): Likewise.
13133 (prefix_array): Likewise.
13134 (__glob_pattern_type): Likewise.
13135 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13136 (NS_GET32): Likewise.
13137 (NS_PUT16): Likewise.
13138 (NS_PUT32): Likewise.
13139 * resolv/gethnamaddr.c (getanswer): Likewise.
13140 (gethostbyname2): Likewise.
13141 (gethostbyaddr): Likewise.
13142 (_gethtent): Likewise.
13143 (_gethtbyname2): Likewise.
13144 (_gethtbyaddr): Likewise.
13145 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13146 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13147 * resolv/res_init.c (__res_vinit): Likewise.
13148 (net_mask): Likewise.
13149 * resolv/res_mkquery.c (outchar): Likewise.
13150 (PRINT): Likewise.
13151 * stdio-common/printf_fp.c (outchar): Likewise.
13152 (PRINT): Likewise.
13153 * stdio-common/printf_fphex.c (outchar): Likewise.
13154 (PRINT): Likewise.
13155 * stdio-common/printf_size.c (outchar): Likewise.
13156 (PRINT): Likewise.
13157 * stdio-common/test_rdwr.c (main): Likewise.
13158 * stdio-common/tfformat.c (matches): Likewise.
13159 * stdio-common/vfprintf.c (outchar): Likewise.
13160 (printf_unknown): Likewise.
13161 (buffered_vfprintf): Likewise.
13162 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13163 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13164 (ReadFile): Likewise.
13165 * stdlib/qsort.c (SWAP): Likewise.
13166 (_quicksort): Likewise.
13167 * stdlib/setenv.c (__add_to_environ): Likewise.
13168 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13169 * stdlib/strtol_l.c (__strtol_l): Likewise.
13170 * stdlib/tst-strtod.c (main): Likewise.
13171 * stdlib/tst-strtol.c (main): Likewise.
13172 * stdlib/tst-strtoll.c (main): Likewise.
13173 * string/bits/string2.h (__strcmp_cc): Likewise.
13174 (__strcmp_cg): Likewise.
13175 (__strcspn_c1): Likewise.
13176 (__strcspn_c2): Likewise.
13177 (__strcspn_c3): Likewise.
13178 (__strspn_c1): Likewise.
13179 (__strspn_c2): Likewise.
13180 (__strspn_c3): Likewise.
13181 (__strsep_1c): Likewise.
13182 (__strsep_2c): Likewise.
13183 (__strsep_3c): Likewise.
13184 * string/memccpy.c (__memccpy): Likewise.
13185 * string/stpcpy.c (__stpcpy): Likewise.
13186 * string/strcmp.c (strcmp): Likewise.
13187 * string/strrchr.c (strrchr): Likewise.
13188 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13189 Likewise.
13190 * sysdeps/mach/hurd/getcwd.c
13191 (_hurd_canonicalize_directory_name_internal): Likewise.
13192 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13193 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13194 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13195 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13196 Likewise, in both definitions.
13197 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13198 definitions.
13199 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13200 64] (__bswap_64): Likewise.
13201 * time/test_time.c (main): Likewise.
13202 * time/tzfile.c (__tzfile_read): Likewise.
13203 (__tzfile_compute): Likewise.
13204 * time/tzset.c (__tzset_parse_tz): Likewise.
13205 (tzset_internal): Likewise.
13206 (compute_change): Likewise.
13207 * wcsmbs/wcscat.c (__wcscat): Likewise.
13208 * wcsmbs/wcschr.c (wcschr): Likewise.
13209 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13210 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13211 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13212 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13213 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13214 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13215 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13216 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13217 * wcsmbs/wmemset.c (wmemset): Likewise.
13218
9e54314b
JM
132192013-06-06 Joseph Myers <joseph@codesourcery.com>
13220
13221 * scripts/config.guess: Update to version 2013-05-16.
13222 * scripts/config.sub: Update to version 2013-04-24.
13223 * scripts/install-sh: Update to version 2011-11-20.07.
13224 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13225 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13226
350635a5
OB
132272013-06-06 Ondřej Bílka <neleai@seznam.cz>
13228
13229 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13230 * elf/sln.c: Likewise.
13231 * hurd/hurd/ioctl.h: Likewise.
13232 * hurd/hurdmalloc.c: Likewise.
13233 * hurd/xattr.c: Likewise.
13234 * include/shlib-compat.h: Likewise.
13235 * inet/ruserpass.c: Likewise.
13236 * libio/iofgets_u.c: Likewise.
13237 * libio/iofgetws_u.c: Likewise.
13238 * locale/programs/ld-identification.c: Likewise.
13239 * locale/programs/ld-time.c: Likewise.
13240 * mach/msg-destroy.c: Likewise.
13241 * nss/nss_files/files-netgrp.c: Likewise.
13242 * resolv/res_data.c: Likewise.
13243 * soft-fp/op-1.h: Likewise.
13244 * soft-fp/op-2.h: Likewise.
13245 * soft-fp/op-4.h: Likewise.
13246 * soft-fp/op-common.h: Likewise.
13247 * stdio-common/printf_fphex.c: Likewise.
13248 * stdlib/strtod_l.c: Likewise.
13249 * sunrpc/rpc/clnt.h: Likewise.
13250 * sysdeps/generic/framestate.c: Likewise.
13251 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13252 * sysdeps/i386/bsd-setjmp.S: Likewise.
13253 * sysdeps/i386/__longjmp.S: Likewise.
13254 * sysdeps/i386/setjmp.S: Likewise.
13255 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13256 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13257 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13258 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13259 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13260 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13264 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13265 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13266 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13267 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13268 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13269 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13270 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13271 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13272 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13273 * sysdeps/ieee754/support.c: Likewise.
13274 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13275 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13276 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13277 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13278 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13279 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13280 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13281 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13282 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13283 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13284 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13285 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13286 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13287 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13288 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13289 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13290 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13292
44a988af
OB
132932013-06-05 Ondřej Bílka <neleai@seznam.cz>
13294
25506f09 13295 * posix/transbug.c: Remove executable mode.
44a988af 13296
9c84384c
JM
132972013-06-05 Joseph Myers <joseph@codesourcery.com>
13298
13299 * crypt/speeds.c: Remove trailing whitespace.
13300 * dlfcn/default.c: Likewise.
13301 * elf/ifuncdep2.c: Likewise.
13302 * elf/ifuncmain1.c: Likewise.
13303 * elf/ifuncmain1vis.c: Likewise.
13304 * elf/testobj.h: Likewise.
13305 * elf/tst-stackguard1.c: Likewise.
13306 * gmon/sys/gmon.h: Likewise.
13307 * hurd/hurdmsg.c: Likewise.
13308 * hurd/new-fd.c: Likewise.
13309 * hurd/ports-get.c: Likewise.
13310 * iconvdata/ibm1008_420.c: Likewise.
13311 * inet/tst-getni1.c: Likewise.
13312 * inet/tst-getni2.c: Likewise.
13313 * libio/ioungetc.c: Likewise.
13314 * libio/wfiledoalloc.c: Likewise.
13315 * manual/libm-err-tab.pl: Likewise.
13316 * math/w_dremf.c: Likewise.
13317 * misc/ftruncate.c: Likewise.
13318 * posix/bug-glob2.c: Likewise.
13319 * posix/tst-pcre.c: Likewise.
13320 * posix/wait4.c: Likewise.
13321 * resolv/README: Likewise.
13322 * resolv/res_debug.h: Likewise.
13323 * resolv/tst-inet_ntop.c: Likewise.
13324 * setjmp/bug269-setjmp.c: Likewise.
13325 * soft-fp/extended.h: Likewise.
13326 * soft-fp/op-1.h: Likewise.
13327 * soft-fp/op-2.h: Likewise.
13328 * soft-fp/op-4.h: Likewise.
13329 * soft-fp/op-8.h: Likewise.
13330 * soft-fp/testit.c: Likewise.
13331 * stdio-common/bug16.c: Likewise.
13332 * stdlib/random.c: Likewise.
13333 * sunrpc/rpcsvc/rquota.x: Likewise.
13334 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13335 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13336 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13337 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13338 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13339 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13340 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13341 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13342 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13343 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13344 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13363 * sysdeps/ieee754/s_lib_version.c: Likewise.
13364 * sysdeps/mach/hurd/check_fds.c: Likewise.
13365 * sysdeps/mach/hurd/getsockname.c: Likewise.
13366 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13367 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13368 * sysdeps/powerpc/bits/link.h: Likewise.
13369 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13370 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13371 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13372 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13373 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13374 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13375 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13376 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13377 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13378 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13379 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13380 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13381 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13382 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13383 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13384 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13385 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13386 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13387 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13388 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13389 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13390 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13391 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13392 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13393 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13394 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13395 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13396 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13397 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13398 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13399 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13400 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13401 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13402 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13403 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13404 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13405 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13406 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13407 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13408 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13409 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13410 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13411 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13412 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13413 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13414 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13415 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13416 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13417 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13418 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13419 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13420 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13421 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13422 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13423 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13424 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13425 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13426 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13427 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13428 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13429 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13430 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13431 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13432 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13433 * sysdeps/powerpc/sysdep.h: Likewise.
13434 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13435 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13436 * sysdeps/sh/dl-trampoline.S: Likewise.
13437 * sysdeps/sh/memset.S: Likewise.
13438 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13439 * sysdeps/sh/strlen.S: Likewise.
13440 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13441 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13442 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13443 * sysdeps/sparc/sparc32/rem.S: Likewise.
13444 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13445 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13446 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13447 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13448 * sysdeps/sparc/sparc32/urem.S: Likewise.
13449 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13450 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13451 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13452 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13453 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13454 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13455 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13456 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13457 * sysdeps/unix/bsd/times.c: Likewise.
13458 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13459 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13463 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13464 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13465 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13466 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13467 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13468 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13469 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13470 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13471 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13472 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13473 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13474 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13475 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13476 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13477 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13478 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13479 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13480 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13481 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13482 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13483 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13484 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13485 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13486 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13487 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13488 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13489 * sysdeps/x86_64/strcspn.S: Likewise.
13490
869378a5
RA
134912013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13492
13493 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13494 generated file. Regenerate properly from gen-translit.pl.
13495 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13496 locale/C-translit.h.
13497
840e2943
AS
134982013-06-05 Andreas Schwab <schwab@suse.de>
13499
13500 [BZ #15100]
13501 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13502 week as 6 instead of -1.
13503 * time/tst-strptime.c (day_tests): Add test case.
13504
4c60cb0c
SP
135052013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13506
13507 * sysdeps/generic/math_private.h
13508 (libc_feholdexcept_setround_53bit): Replace with
13509 libc_feholdsetround_53bit.
13510 (libc_feupdateenv_53bit): Replace with
13511 libc_feresetround_53bit.
13512 (SET_RESTORE_ROUND_53BIT): Adjust.
13513
d180203e
SP
135142013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13515
96df079a
SP
13516 * string/test-strchrnul.c: Add copyright header.
13517
d180203e
SP
13518 * posix/tst-getaddrinfo4.c: Increase test timeout.
13519
8b0ccb2d
CD
135202013-06-03 Carlos O'Donell <carlos@redhat.com>
13521
13522 [BZ #15536]
13523 * math/libm-test.inc (MAX_EXP): Remove
13524 (MIN_EXP): Define.
13525 (ulp): Use MIN_EXP - MANT_DIG.
13526 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13527
3b3c4d40
CD
135282013-05-31 Carlos O'Donell <carlos@redhat.com>
13529
13530 * po/be.po: Revert last change.
13531 * po/zh_CN.po: Likewise.
13532 * po/header.pot: Likewise.
13533
fab7ce3f
JM
135342013-05-31 Joseph Myers <joseph@codesourcery.com>
13535
13536 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13537 link-libc-deps to empty as target-specific variable.
13538 * Makerules (link-libc-args): New variable.
13539 (libc-for-link): Likewise.
13540 (link-libc-deps): Likewise.
13541 (lib%.so): Depend on $(link-libc-deps). Link with
13542 $(link-libc-args).
13543 (build-module): Link with $(link-libc-args).
13544 (build-module-asneeded): Likewise.
13545 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13546 list of objects.
13547 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13548 target-specific variable.
13549 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13550 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13551 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13552 libc.
13553 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13554 libc and ld.so.
13555 ($(objpfx)libpcprofile.so): Likewise.
13556 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13557 libc_nonshared.a.
13558 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13559 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13560 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13561 $(link-libc-deps).
13562 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13563 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13564 * login/Makefile ($(objpfx)libutil.so): Likewise.
13565 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13566 * math/Makefile ($(objpfx)libm.so): Likewise.
13567 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13568 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13569 variable instead of depending directly on libc.
13570 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13571 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13572 $(link-libc-deps).
13573 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13574 libc.
13575 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13576 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13577 ($(objpfx)libanl.so): Likewise.
13578 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13579 ld.so.
13580 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13581 $(link-libc-deps).
13582 * sysdeps/i386/fpu/Makefile: Remove file.
13583 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13584 ($(objpfx)libm.so): Remove dependency on ld.so.
13585
eca5920c
PF
135862013-05-30 Patsy Franklin <pfrankli@redhat.com>
13587
13588 [BZ # 15553]
13589 * nis/yp_xdr.c (XDRMAXNAME): Define.
13590 (XDRMAXRECORD): Define.
13591 (xdr_domainname): Use XDRMAXNAME.
13592 (xdr_mapname): Likewise.
13593 (xdr_peername): Likewise.
13594 (xdr_keydat): Use XDRMAXRECORD.
13595 (xdr_valdat): Likewise.
13596
135972013-05-30 Jeff Law <law@redhat.com>
96945714
JL
13598
13599 [BZ #14256]
13600 * manual/errno.texi (ESTALE): Update to account for more than
13601 just NFS file systems.
13602 * sysdeps/gnu/errlist.c: Regenerated.
13603
b9375348
SP
136042013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13605
13606 [BZ #15465]
13607 * elf/Makefile (tests): Add tst-null-argv.
13608 (modules-names): Add tst-null-argv-lib.
13609 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13610 (tst-null-argv-ENV): Set environment for tst-null-argv.
13611 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13612 (RTLD_PROGNAME): New macro.
13613 * elf/tst-null-argv.c: New test case.
13614 * elf/tst-null-argv-lib.c: Library for test case.
13615 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13616 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13617 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13618 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13619 * elf/dl-init.c (call_init): Likewise.
13620 (_dl_init): Likewise.
13621 * elf/dl-load.c (print_search_path): Likewise.
13622 (_dl_map_object): Likewise.
13623 * elf/dl-lookup.c (do_lookup_x): Likewise.
13624 (add_dependency): Likewise.
13625 (_dl_lookup_symbol_x): Likewise.
13626 (_dl_debug_bindings): Likewise.
13627 * elf/dl-open.c (_dl_show_scope): Likewise.
13628 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13629 * elf/dl-version.c (match_symbol): Likewise.
13630 (_dl_check_map_versions): Likewise.
13631 * elf/rtld.c (dl_main): Likewise.
13632 (print_unresolved): Use RTLD_PROGNAME.
13633 (print_missing_version): Likewise.
13634 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13635 (elf_machine_rela): Likewise.
13636 * sysdeps/powerpc/powerpc32/dl-machine.c
13637 (__process_machine_rela): Likewise.
13638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13639 Likewise.
13640 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13641 Likewise.
13642 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13643 Likewise.
13644 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13645 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13646 Likewise.
13647 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13648 Likewise.
13649 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13650
8a9f20c8
CD
136512013-05-28 Carlos O'Donell <carlos@redhat.com>
13652
13653 * po/be.po: Add descriptive title.
13654 * po/zh_CN.po: Likewise.
13655 * po/header.pot: Likewise.
13656
0e60d68e
MF
136572013-05-28 Mike Frysinger <vapier@gentoo.org>
13658
13659 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13660 error message.
13661 (enlarge_archive): Likewise.
13662
56b672e9
BN
136632013-05-28 Ben North <ben@redfrontdoor.org>
13664
13665 * manual/arith.texi (frexp): It is the magnitude of the return
13666 value which lies in [0.5, 1), not the return value itself.
13667
5e056687
AZ
136682013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13669
13670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13671
2b66ef5d
TS
136722013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13673
528c2405
TS
13674 * stdio-common/bug26.c (main): Correct fscanf template.
13675
07b4c13d
TS
13676 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13677 declare _dl_skip_args.
13678
ec9dd97c
TS
13679 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13680 Don't declare.
13681
2b66ef5d
TS
13682 * manual/platform.texi: Add missing @end deftypefun.
13683
4f8dfe27
JM
136842013-05-24 Joseph Myers <joseph@codesourcery.com>
13685
0323d086
JM
13686 [BZ #15529]
13687 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13688 bit of mantissa of 2^16382.
13689 * math/libm-test.inc (hypot_test_data): Add more tests.
13690
dd4259b9
JM
13691 * math/libm-test.inc: Add drem and pow10 to list of tested
13692 functions.
13693 (pow10_test): New function.
13694 (drem_test): Likewise.
13695 (drem_test_tonearest): Likewise.
13696 (drem_test_towardzero): Likewise.
13697 (drem_test_downward): Likewise.
13698 (drem_test_upward): Likewise.
13699 (main): Call the new functions.
13700
4f8dfe27
JM
13701 * math/libm-test.inc (finite_test_data): Remove.
13702 (finite_test): Run tests from isfinite_test_data.
13703 (gamma_test_data): Remove.
13704 (gamma_test): Run tests from lgamma_test_data.
13705 * sysdeps/i386/fpu/libm-test-ulps: Update.
13706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13707
d116b7c4
AZ
137082013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13709
13710 * manual/platform.texi: Add PowerPC PPR function set documentation.
13711 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13712 implementation.
13713
e96e3767
CD
137142013-05-24 Carlos O'Donell <carlos@redhat.com>
13715
13716 * math/libm-test.inc (MAX_EXP): Define.
13717 (ULPDIFF): Define.
13718 (ulp): New function.
13719 (check_float_internal): Use ULPDIFF.
13720 (cpow_test): Disable failing test.
13721 (check_ulp): Test ulp() implemetnation.
13722 (main): Call check_ulp before starting tests.
13723
b679a606
JM
137242013-05-24 Joseph Myers <joseph@codesourcery.com>
13725
e8bdba36
JM
13726 * math/gen-libm-test.pl (generate_testfile): Do not handle
13727 START_DATA and END_DATA.
13728 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13729 END_DATA.
13730 (acos_tonearest_test_data): Likewise.
13731 (acos_towardzero_test_data): Likewise.
13732 (acos_downward_test_data): Likewise.
13733 (acos_upward_test_data): Likewise.
13734 (acosh_test_data): Likewise.
13735 (asin_test_data): Likewise.
13736 (asin_tonearest_test_data): Likewise.
13737 (asin_towardzero_test_data): Likewise.
13738 (asin_downward_test_data): Likewise.
13739 (asin_upward_test_data): Likewise.
13740 (asinh_test_data): Likewise.
13741 (atan_test_data): Likewise.
13742 (atanh_test_data): Likewise.
13743 (atan2_test_data): Likewise.
13744 (cabs_test_data): Likewise.
13745 (cacos_test_data): Likewise.
13746 (cacosh_test_data): Likewise.
13747 (carg_test_data): Likewise.
13748 (casin_test_data): Likewise.
13749 (casinh_test_data): Likewise.
13750 (catan_test_data): Likewise.
13751 (catanh_test_data): Likewise.
13752 (cbrt_test_data): Likewise.
13753 (ccos_test_data): Likewise.
13754 (ccosh_test_data): Likewise.
13755 (ceil_test_data): Likewise.
13756 (cexp_test_data): Likewise.
13757 (cimag_test_data): Likewise.
13758 (clog_test_data): Likewise.
13759 (clog10_test_data): Likewise.
13760 (conj_test_data): Likewise.
13761 (copysign_test_data): Likewise.
13762 (cos_test_data): Likewise.
13763 (cos_tonearest_test_data): Likewise.
13764 (cos_towardzero_test_data): Likewise.
13765 (cos_downward_test_data): Likewise.
13766 (cos_upward_test_data): Likewise.
13767 (cosh_test_data): Likewise.
13768 (cosh_tonearest_test_data): Likewise.
13769 (cosh_towardzero_test_data): Likewise.
13770 (cosh_downward_test_data): Likewise.
13771 (cosh_upward_test_data): Likewise.
13772 (cpow_test_data): Likewise.
13773 (cproj_test_data): Likewise.
13774 (creal_test_data): Likewise.
13775 (csin_test_data): Likewise.
13776 (csinh_test_data): Likewise.
13777 (csqrt_test_data): Likewise.
13778 (ctan_test_data): Likewise.
13779 (ctan_tonearest_test_data): Likewise.
13780 (ctan_towardzero_test_data): Likewise.
13781 (ctan_downward_test_data): Likewise.
13782 (ctan_upward_test_data): Likewise.
13783 (ctanh_test_data): Likewise.
13784 (ctanh_tonearest_test_data): Likewise.
13785 (ctanh_towardzero_test_data): Likewise.
13786 (ctanh_downward_test_data): Likewise.
13787 (ctanh_upward_test_data): Likewise.
13788 (erf_test_data): Likewise.
13789 (erfc_test_data): Likewise.
13790 (exp_test_data): Likewise.
13791 (exp_tonearest_test_data): Likewise.
13792 (exp_towardzero_test_data): Likewise.
13793 (exp_downward_test_data): Likewise.
13794 (exp_upward_test_data): Likewise.
13795 (exp10_test_data): Likewise.
13796 (exp2_test_data): Likewise.
13797 (expm1_test_data): Likewise.
13798 (fabs_test_data): Likewise.
13799 (fdim_test_data): Likewise.
13800 (finite_test_data): Likewise.
13801 (floor_test_data): Likewise.
13802 (fma_test_data): Likewise.
13803 (fma_towardzero_test_data): Likewise.
13804 (fma_downward_test_data): Likewise.
13805 (fma_upward_test_data): Likewise.
13806 (fmax_test_data): Likewise.
13807 (fmin_test_data): Likewise.
13808 (fmod_test_data): Likewise.
13809 (fpclassify_test_data): Likewise.
13810 (frexp_test_data): Likewise.
13811 (gamma_test_data): Likewise.
13812 (hypot_test_data): Likewise.
13813 (ilogb_test_data): Likewise.
13814 (isfinite_test_data): Likewise.
13815 (isgreater_test_data): Likewise.
13816 (isgreaterequal_test_data): Likewise.
13817 (isinf_test_data): Likewise.
13818 (isless_test_data): Likewise.
13819 (islessequal_test_data): Likewise.
13820 (islessgreater_test_data): Likewise.
13821 (isnan_test_data): Likewise.
13822 (isnormal_test_data): Likewise.
13823 (issignaling_test_data): Likewise.
13824 (isunordered_test_data): Likewise.
13825 (j0_test_data): Likewise.
13826 (j1_test_data): Likewise.
13827 (jn_test_data): Likewise.
13828 (ldexp_test_data): Likewise.
13829 (lgamma_test_data): Likewise.
13830 (lrint_test_data): Likewise.
13831 (lrint_tonearest_test_data): Likewise.
13832 (lrint_towardzero_test_data): Likewise.
13833 (lrint_downward_test_data): Likewise.
13834 (lrint_upward_test_data): Likewise.
13835 (llrint_test_data): Likewise.
13836 (llrint_tonearest_test_data): Likewise.
13837 (llrint_towardzero_test_data): Likewise.
13838 (llrint_downward_test_data): Likewise.
13839 (llrint_upward_test_data): Likewise.
13840 (log_test_data): Likewise.
13841 (log10_test_data): Likewise.
13842 (log1p_test_data): Likewise.
13843 (log2_test_data): Likewise.
13844 (logb_test_data): Likewise.
13845 (logb_downward_test_data): Likewise.
13846 (lround_test_data): Likewise.
13847 (llround_test_data): Likewise.
13848 (modf_test_data): Likewise.
13849 (nearbyint_test_data): Likewise.
13850 (nextafter_test_data): Likewise.
13851 (nexttoward_test_data): Likewise.
13852 (pow_test_data): Likewise.
13853 (pow_tonearest_test_data): Likewise.
13854 (pow_towardzero_test_data): Likewise.
13855 (pow_downward_test_data): Likewise.
13856 (pow_upward_test_data): Likewise.
13857 (remainder_test_data): Likewise.
13858 (remainder_tonearest_test_data): Likewise.
13859 (remainder_towardzero_test_data): Likewise.
13860 (remainder_downward_test_data): Likewise.
13861 (remainder_upward_test_data): Likewise.
13862 (remquo_test_data): Likewise.
13863 (rint_test_data): Likewise.
13864 (rint_tonearest_test_data): Likewise.
13865 (rint_towardzero_test_data): Likewise.
13866 (rint_downward_test_data): Likewise.
13867 (rint_upward_test_data): Likewise.
13868 (round_test_data): Likewise.
13869 (scalb_test_data): Likewise.
13870 (scalbn_test_data): Likewise.
13871 (scalbln_test_data): Likewise.
13872 (signbit_test_data): Likewise.
13873 (sin_test_data): Likewise.
13874 (sin_tonearest_test_data): Likewise.
13875 (sin_towardzero_test_data): Likewise.
13876 (sin_downward_test_data): Likewise.
13877 (sin_upward_test_data): Likewise.
13878 (sincos_test_data): Likewise.
13879 (sinh_test_data): Likewise.
13880 (sinh_tonearest_test_data): Likewise.
13881 (sinh_towardzero_test_data): Likewise.
13882 (sinh_downward_test_data): Likewise.
13883 (sinh_upward_test_data): Likewise.
13884 (sqrt_test_data): Likewise.
13885 (tan_test_data): Likewise.
13886 (tan_tonearest_test_data): Likewise.
13887 (tan_towardzero_test_data): Likewise.
13888 (tan_downward_test_data): Likewise.
13889 (tan_upward_test_data): Likewise.
13890 (tanh_test_data): Likewise.
13891 (tgamma_test_data): Likewise.
13892 (trunc_test_data): Likewise.
13893 (y0_test_data): Likewise.
13894 (y1_test_data): Likewise.
13895 (yn_test_data): Likewise.
13896 (significand_test_data): Likewise.
13897
b679a606
JM
13898 * math/gen-libm-test.pl (@functions): Remove variable.
13899 (generate_testfile): Don't handle START and END lines.
13900 * math/libm-test.inc (START): New macro.
13901 (END): Likewise.
13902 (END_COMPLEX): Likewise.
13903 (acos_test): Use END macro without arguments.
13904 (acos_test_tonearest): Likewise.
13905 (acos_test_towardzero): Likewise.
13906 (acos_test_downward): Likewise.
13907 (acos_test_upward): Likewise.
13908 (acosh_test): Likewise.
13909 (asin_test): Likewise.
13910 (asin_test_tonearest): Likewise.
13911 (asin_test_towardzero): Likewise.
13912 (asin_test_downward): Likewise.
13913 (asin_test_upward): Likewise.
13914 (asinh_test): Likewise.
13915 (atan_test): Likewise.
13916 (atanh_test): Likewise.
13917 (atan2_test): Likewise.
13918 (cabs_test): Likewise.
13919 (cacos_test): Use END_COMPLEX macro without arguments.
13920 (cacosh_test): Likewise.
13921 (carg_test): Use END macro without arguments.
13922 (casin_test): Use END_COMPLEX macro without arguments.
13923 (casinh_test): Likewise.
13924 (catan_test): Likewise.
13925 (catanh_test): Likewise.
13926 (cbrt_test): Use END macro without arguments.
13927 (ccos_test): Use END_COMPLEX macro without arguments.
13928 (ccosh_test): Likewise.
13929 (ceil_test): Use END macro without arguments.
13930 (cexp_test): Use END_COMPLEX macro without arguments.
13931 (cimag_test): Use END macro without arguments.
13932 (clog_test): Use END_COMPLEX macro without arguments.
13933 (clog10_test): Likewise.
13934 (conj_test): Likewise.
13935 (copysign_test): Use END macro without arguments.
13936 (cos_test): Likewise.
13937 (cos_test_tonearest): Likewise.
13938 (cos_test_towardzero): Likewise.
13939 (cos_test_downward): Likewise.
13940 (cos_test_upward): Likewise.
13941 (cosh_test): Likewise.
13942 (cosh_test_tonearest): Likewise.
13943 (cosh_test_towardzero): Likewise.
13944 (cosh_test_downward): Likewise.
13945 (cosh_test_upward): Likewise.
13946 (cpow_test): Use END_COMPLEX macro without arguments.
13947 (cproj_test): Likewise.
13948 (creal_test): Use END macro without arguments.
13949 (csin_test): Use END_COMPLEX macro without arguments.
13950 (csinh_test): Likewise.
13951 (csqrt_test): Likewise.
13952 (ctan_test): Likewise.
13953 (ctan_test_tonearest): Likewise.
13954 (ctan_test_towardzero): Likewise.
13955 (ctan_test_downward): Likewise.
13956 (ctan_test_upward): Likewise.
13957 (ctanh_test): Likewise.
13958 (ctanh_test_tonearest): Likewise.
13959 (ctanh_test_towardzero): Likewise.
13960 (ctanh_test_downward): Likewise.
13961 (ctanh_test_upward): Likewise.
13962 (erf_test): Use END macro without arguments.
13963 (erfc_test): Likewise.
13964 (exp_test): Likewise.
13965 (exp_test_tonearest): Likewise.
13966 (exp_test_towardzero): Likewise.
13967 (exp_test_downward): Likewise.
13968 (exp_test_upward): Likewise.
13969 (exp10_test): Likewise.
13970 (exp2_test): Likewise.
13971 (expm1_test): Likewise.
13972 (fabs_test): Likewise.
13973 (fdim_test): Likewise.
13974 (finite_test): Likewise.
13975 (floor_test): Likewise.
13976 (fma_test): Likewise.
13977 (fma_test_towardzero): Likewise.
13978 (fma_test_downward): Likewise.
13979 (fma_test_upward): Likewise.
13980 (fmax_test): Likewise.
13981 (fmin_test): Likewise.
13982 (fmod_test): Likewise.
13983 (fpclassify_test): Likewise.
13984 (frexp_test): Likewise.
13985 (gamma_test): Likewise.
13986 (hypot_test): Likewise.
13987 (ilogb_test): Likewise.
13988 (isfinite_test): Likewise.
13989 (isgreater_test): Likewise.
13990 (isgreaterequal_test): Likewise.
13991 (isinf_test): Likewise.
13992 (isless_test): Likewise.
13993 (islessequal_test): Likewise.
13994 (islessgreater_test): Likewise.
13995 (isnan_test): Likewise.
13996 (isnormal_test): Likewise.
13997 (issignaling_test): Likewise.
13998 (isunordered_test): Likewise.
13999 (j0_test): Likewise.
14000 (j1_test): Likewise.
14001 (jn_test): Likewise.
14002 (ldexp_test): Likewise.
14003 (lgamma_test): Likewise.
14004 (lrint_test): Likewise.
14005 (lrint_test_tonearest): Likewise.
14006 (lrint_test_towardzero): Likewise.
14007 (lrint_test_downward): Likewise.
14008 (lrint_test_upward): Likewise.
14009 (llrint_test): Likewise.
14010 (llrint_test_tonearest): Likewise.
14011 (llrint_test_towardzero): Likewise.
14012 (llrint_test_downward): Likewise.
14013 (llrint_test_upward): Likewise.
14014 (log_test): Likewise.
14015 (log10_test): Likewise.
14016 (log1p_test): Likewise.
14017 (log2_test): Likewise.
14018 (logb_test): Likewise.
14019 (logb_test_downward): Likewise.
14020 (lround_test): Likewise.
14021 (llround_test): Likewise.
14022 (modf_test): Likewise.
14023 (nearbyint_test): Likewise.
14024 (nextafter_test): Likewise.
14025 (nexttoward_test): Likewise.
14026 (pow_test): Likewise.
14027 (pow_test_tonearest): Likewise.
14028 (pow_test_towardzero): Likewise.
14029 (pow_test_downward): Likewise.
14030 (pow_test_upward): Likewise.
14031 (remainder_test): Likewise.
14032 (remainder_test_tonearest): Likewise.
14033 (remainder_test_towardzero): Likewise.
14034 (remainder_test_downward): Likewise.
14035 (remainder_test_upward): Likewise.
14036 (remquo_test): Likewise.
14037 (rint_test): Likewise.
14038 (rint_test_tonearest): Likewise.
14039 (rint_test_towardzero): Likewise.
14040 (rint_test_downward): Likewise.
14041 (rint_test_upward): Likewise.
14042 (round_test): Likewise.
14043 (scalb_test): Likewise.
14044 (scalbn_test): Likewise.
14045 (scalbln_test): Likewise.
14046 (signbit_test): Likewise.
14047 (sin_test): Likewise.
14048 (sin_test_tonearest): Likewise.
14049 (sin_test_towardzero): Likewise.
14050 (sin_test_downward): Likewise.
14051 (sin_test_upward): Likewise.
14052 (sincos_test): Likewise.
14053 (sinh_test): Likewise.
14054 (sinh_test_tonearest): Likewise.
14055 (sinh_test_towardzero): Likewise.
14056 (sinh_test_downward): Likewise.
14057 (sinh_test_upward): Likewise.
14058 (sqrt_test): Likewise.
14059 (tan_test): Likewise.
14060 (tan_test_tonearest): Likewise.
14061 (tan_test_towardzero): Likewise.
14062 (tan_test_downward): Likewise.
14063 (tan_test_upward): Likewise.
14064 (tanh_test): Likewise.
14065 (tgamma_test): Likewise.
14066 (trunc_test): Likewise.
14067 (y0_test): Likewise.
14068 (y1_test): Likewise.
14069 (yn_test): Likewise.
14070 (significand_test): Likewise.
14071
bae143d2
OB
140722013-05-24 Ondřej Bílka <neleai@seznam.cz>
14073
14074 [BZ #15381]
14075 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14076
9323d39b
EM
140772013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14078
d4ea44a0 14079 [BZ #14894]
9323d39b
EM
14080 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14081 __ppc_mdoio and __ppc_mdoom.
14082 * manual/platform.texi: Document new functions __ppc_yield,
14083 __ppc_mdoio and __ppc_mdoom.
14084
13e23af7
CD
140852013-05-22 Carlos O'Donell <carlos@redhat.com>
14086
14087 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14088 (main): Mention "tls" pseudo-hwcap is legacy.
14089 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14090
351fe550
JM
140912013-05-22 Joseph Myers <joseph@codesourcery.com>
14092
14093 * math/gen-libm-test.pl (parse_args): Output only string of
14094 arguments as text for test name, not full call or descriptions of
14095 tests for extra outputs.
14096 (generate_testfile): Do not pass function name to parse_args.
14097 Generate this_func variable from START.
14098 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14099 field to arg_str.
14100 (struct test_ff_f_data): Likewise.
14101 (test_ff_f_data_nexttoward): Likewise.
14102 (struct test_fi_f_data): Likewise.
14103 (struct test_fl_f_data): Likewise.
14104 (struct test_if_f_data): Likewise.
14105 (struct test_fff_f_data): Likewise.
14106 (struct test_c_f_data): Likewise.
14107 (struct test_f_f1_data): Likewise. Remove field extra_name.
14108 (struct test_fF_f1_data): Likewise.
14109 (struct test_ffI_f1_data): Likewise.
14110 (struct test_c_c_data): Rename test_name field to arg_str.
14111 (struct test_cc_c_data): Likewise.
14112 (struct test_f_i_data): Likewise.
14113 (struct test_ff_i_data): Likewise.
14114 (struct test_f_l_data): Likewise.
14115 (struct test_f_L_data): Likewise.
14116 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14117 and extra2_name.
14118 (COMMON_TEST_SETUP): New macro.
14119 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14120 (COMMON_TEST_CLEANUP): Likewise.
14121 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14122 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14123 macros.
14124 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14125 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14126 macros.
14127 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14128 (RUN_TEST_fff_f): Take argument string. Call new setup and
14129 cleanup macros.
14130 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14131 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14132 macros.
14133 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14134 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14135 macros.
14136 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14137 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14138 cleanup macros.
14139 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14140 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14141 cleanup macros.
14142 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14143 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14144 cleanup macros.
14145 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14146 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14147 macros.
14148 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14149 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14150 macros.
14151 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14152 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14153 macros.
14154 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14155 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14156 cleanup macros.
14157 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14158 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14159 cleanup macros.
14160 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14161 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14162 macros.
14163 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14164 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14165 cleanup macros.
14166 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14167 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14168 macros.
14169 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14170 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14171 macros.
14172 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14173 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14174 cleanup macros.
14175 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14176
85118d4d
EBM
141772013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14178
14179 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14180 to _sifields.sigfault.
14181 (si_addr_lsb): Define new macro.
14182 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14183 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14184 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14185
7a44c18f
CD
141862013-05-03 Carlos O'Donell <carlos at redhat.com>
14187
14188 [BZ #15441]
14189 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14190 returns -1.
14191 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14192 null return -1.
14193 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14194 loading the domain.
14195
b50a7181
JM
141962013-05-22 Joseph Myers <joseph@codesourcery.com>
14197
14198 * math/gen-libm-test.pl (parse_args): Do not include expected
14199 result in test name.
14200 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14201 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14202 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14203 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14204 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14206
051063c8
SP
142072013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14208
3ce9e010
SP
14209 * benchtests/Makefile: Sort function entries.
14210
051063c8
SP
14211 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14212 tanh, asinh, acosh, atanh.
14213 * benchtests/acos-inputs: New file.
14214 * benchtests/acosh-inputs: New file.
14215 * benchtests/asin-inputs: New file.
14216 * benchtests/asinh-inputs: New file.
14217 * benchtests/atanh-inputs: New file.
14218 * benchtests/cosh-inputs: New file.
14219 * benchtests/log-inputs: New file.
14220 * benchtests/sinh-inputs: New file.
14221 * benchtests/tanh-inputs: New file.
14222
47c22455
DL
142232013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14224
14225 [BZ #15339]
14226 * posix/tst-getaddrinfo4.c: New test.
14227 * posix/Makefile (tests): Add it.
14228
3d04f5db
SP
142292013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14230
14231 [BZ #15339]
14232 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14233 when no services were used.
14234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14235 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14236
d5dd6189
AS
142372013-05-21 Andreas Schwab <schwab@suse.de>
14238
14239 [BZ #15014]
14240 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14241 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14242 successful.
14243 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14244 redundant variable declarations and reallocation of buffer when
14245 parsing as IPv6 address. Always set NSS status when called from
14246 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14247 buffer too small. Correct computation of needed size.
14248 * nss/Makefile (tests): Add test-digits-dots.
14249 * nss/test-digits-dots.c: New test.
14250
fef94eab
SP
142512013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14252
14253 * benchtests/Makefile: Remove instructions for adding
14254 benchmark tests.
14255 * benchtests/README: New file to explain how to execute and
14256 enhance the benchmark tests.
14257
e39adf43
AS
142582013-05-21 Andreas Schwab <schwab@suse.de>
14259
14260 [BZ #15493]
14261 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14262 * setjmp/tst-sigsetjmp.c: New test.
14263
b2b671b6
OB
142642013-05-20 Ondřej Bílka <neleai@seznam.cz>
14265
14266 * sysdeps/x86_64/memset.S (memset): New implementation.
14267 (__bzero): Likewise.
14268 (__memset_tail): New function.
14269
2d48b41c
OB
142702013-05-20 Ondřej Bílka <neleai@seznam.cz>
14271
14272 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14273 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14274 __memcpy_sse2_unaligned ifunc selection.
14275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14276 Add memcpy-sse2-unaligned.S.
14277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14278 Add: __memcpy_sse2_unaligned.
14279
f16cc3eb
JM
142802013-05-19 Joseph Myers <joseph@codesourcery.com>
14281
3e694268
JM
14282 [BZ #15490]
14283 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14284 math_force_eval before restoring floating-point envrionment.
14285 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14286 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14287 Likewise.
14288 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14289 <math_private.h>.
14290 (__nearbyintl): Use math_force_eval before restoring
14291 floating-point environment.
14292 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14293
db62a907
JM
14294 * math/gen-libm-test.pl (special_functions): Remove.
14295 (parse_args): Don't handle TEST_extra. Handle functions with no
14296 return value.
14297 * math/libm-test.inc (struct test_sincos_data): Replace with
14298 struct test_fFF_11_data.
14299 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14300 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14301 (sincos_test_data): Change element type to struct
14302 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14303 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14304 RUN_TEST_LOOP_sincos.
14305 * math/README.libm-test: Don't mention special handling of
14306 individual functions.
14307 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14308 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14309 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14310 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14311 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14313
f16cc3eb
JM
14314 * math/gen-libm-test.pl (get_variable): Remove function.
14315 (parse_args): Don't show pointer parameters to call in test
14316 names. Use "extra output N" in test names for extra outputs
14317 rather than naming variables.
14318
3779b5b6
JM
143192013-05-18 Joseph Myers <joseph@codesourcery.com>
14320
2ee094ff
JM
14321 [BZ #15488]
14322 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14323 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14324 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14325 double tests.
14326 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14327 disable.
14328 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14329 check_long_double.
14330
3779b5b6
JM
14331 * math/gen-libm-test.pl (@tests): Remove variable.
14332 ($count): Likewise.
14333 (new_test): Remove function.
14334 (show_exceptions): New function.
14335 (special_functions): Use show_exceptions instead of new_test.
14336 (parse_args): Likewise.
14337 (generate_testfile): Pass only function name in generated call to
14338 print_max_error or print_complex_max_error.
14339 (get_ulps): Do not handle complex tests specially.
14340 (output_test): Rename to ...
14341 (get_all_ulps_for_test): ... this. Return a string rather than
14342 printing to a file. Require ulps to be present.
14343 (output_ulps): Generate arrays rather than #defines.
14344 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14345 (struct ulp_data): New type.
14346 (BUILD_COMPLEX_ULP): Remove macro.
14347 (compare_ulp_data): New function.
14348 (find_ulps): Likewise.
14349 (find_test_ulps): Likewise.
14350 (find_function_ulps): Likewise.
14351 (find_complex_function_ulps): Likewise.
14352 (print_max_error): Determine allowed ulps using
14353 find_function_ulps.
14354 (print_complex_max_error): Determine allowed ulps using
14355 find_complex_function_ulps.
14356 (check_float_internal): Determine max ulps using find_test_ulps.
14357 (check_float): Do not take max_ulp parameter. Update call to
14358 check_float_internal.
14359 (check_complex): Likewise.
14360 (check_int): Do not take max_ulp parameter.
14361 (check_long): Likewise.
14362 (check_bool): Likewise.
14363 (check_longlong): Likewise.
14364 (struct test_f_f_data): Remove max_ulp field.
14365 (struct test_ff_f_data): Likewise.
14366 (struct test_ff_f_data_nexttoward): Likewise.
14367 (struct test_fi_f_data): Likewise.
14368 (struct test_fl_f_data): Likewise.
14369 (struct test_if_f_data): Likewise.
14370 (struct test_fff_f_data): Likewise.
14371 (struct test_c_f_data): Likewise.
14372 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14373 (struct test_fF_f1_data): Likewise.
14374 (struct test_ffI_f1_data): Likewise.
14375 (struct test_c_c_data): Remove max_ulp field.
14376 (struct test_cc_c_data): Likewise.
14377 (struct test_f_i_data): Likewise.
14378 (struct test_ff_i_data): Likewise.
14379 (struct test_f_l_data): Likewise.
14380 (struct test_f_L_data): Likewise.
14381 (struct test_sincos_data): Likewise.
14382 (RUN_TEST_f_f): Do not handle ulps.
14383 (RUN_TEST_LOOP_f_f): Likewise.
14384 (RUN_TEST_2_f): Likewise.
14385 (RUN_TEST_LOOP_2_f): Likewise.
14386 (RUN_TEST_fff_f): Likewise.
14387 (RUN_TEST_LOOP_fff_f): Likewise.
14388 (RUN_TEST_c_f): Likewise.
14389 (RUN_TEST_LOOP_c_f): Likewise.
14390 (RUN_TEST_f_f1): Likewise.
14391 (RUN_TEST_LOOP_f_f1): Likewise.
14392 (RUN_TEST_fF_f1): Likewise.
14393 (RUN_TEST_LOOP_fF_f1): Likewise.
14394 (RUN_TEST_fI_f1): Likewise.
14395 (RUN_TEST_LOOP_fI_f1): Likewise.
14396 (RUN_TEST_ffI_f1): Likewise.
14397 (RUN_TEST_LOOP_ffI_f1): Likewise.
14398 (RUN_TEST_c_c): Likewise.
14399 (RUN_TEST_LOOP_c_c): Likewise.
14400 (RUN_TEST_cc_c): Likewise.
14401 (RUN_TEST_LOOP_cc_c): Likewise.
14402 (RUN_TEST_f_i): Likewise.
14403 (RUN_TEST_LOOP_f_i): Likewise.
14404 (RUN_TEST_f_i_tg): Likewise.
14405 (RUN_TEST_LOOP_f_i_tg): Likewise.
14406 (RUN_TEST_ff_i_tg): Likewise.
14407 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14408 (RUN_TEST_f_b): Likewise.
14409 (RUN_TEST_LOOP_f_b): Likewise.
14410 (RUN_TEST_f_b_tg): Likewise.
14411 (RUN_TEST_LOOP_f_b_tg): Likewise.
14412 (RUN_TEST_f_l): Likewise.
14413 (RUN_TEST_LOOP_f_l): Likewise.
14414 (RUN_TEST_f_L): Likewise.
14415 (RUN_TEST_LOOP_f_L): Likewise.
14416 (RUN_TEST_sincos): Likewise.
14417 (RUN_TEST_LOOP_sincos): Likewise.
14418
8269107f
JM
144192013-05-17 Joseph Myers <joseph@codesourcery.com>
14420
bb38759d
JM
14421 [BZ #15480]
14422 [BZ #15485]
14423 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14424 main case of finite arguments, set rounding mode to FE_TONEAREST
14425 and discard exceptions.
14426 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14427 exceptions.
14428 (remainder_tonearest_test_data): New variable.
14429 (remainder_test_tonearest): New function.
14430 (remainder_towardzero_test_data): New variable.
14431 (remainder_test_towardzero): New function.
14432 (remainder_downward_test_data): New variable.
14433 (remainder_test_downward): New function.
14434 (remainder_upward_test_data): New variable.
14435 (remainder_test_upward): New function.
14436 (main): Call the new test functions.
14437
a00bdcf0
JM
14438 * math/libm-test.inc (struct test_f_f1_data): Remove field
14439 extra_init.
14440 (struct test_fF_f1_data): Likewise.
14441 (struct test_ffI_f1_data): Likewise.
14442 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14443 based on value of EXTRA_EXPECTED.
14444 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14445 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14446 EXTRA_VAR based on value of EXTRA_EXPECTED.
14447 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14448 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14449 EXTRA_VAR based on value of EXTRA_EXPECTED.
14450 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14451 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14452 EXTRA_VAR based on value of EXTRA_EXPECTED.
14453 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14454 * math/gen-libm-test.pl (parse_args): Don't output initializers
14455 for extra output values.
14456
de407f79
JM
14457 * math/libm-test.inc (check_int): Expect result to be exactly
14458 equal to expected value and do not handle ulps.
14459 (check_long): Likewise.
14460 (check_longlong): Likewise.
14461
8269107f
JM
14462 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14463 exceptions.
14464 (cimag_test_data): Likewise.
14465 (conj_test_data): Likewise.
14466 (copysign_test_data): Likewise.
14467 (cproj_test_data): Likewise.
14468 (creal_test_data): Likewise.
14469 (fabs_test_data): Likewise.
14470 (fdim_test_data): Likewise.
14471 (finite_test_data): Likewise.
14472 (floor_test_data): Likewise.
14473 (fmax_test_data): Likewise.
14474 (fmin_test_data): Likewise.
14475 (fmod_test_data): Likewise.
14476 (fpclassify_test_data): Likewise.
14477 (frexp_test_data): Likewise.
14478 (ilogb_test_data): Likewise.
14479 (isfinite_test_data): Likewise.
14480 (isgreater_test_data): Likewise.
14481 (isgreaterequal_test_data): Likewise.
14482 (isinf_test_data): Likewise.
14483 (isless_test_data): Likewise.
14484 (islessequal_test_data): Likewise.
14485 (islessgreater_test_data): Likewise.
14486 (isnan_test_data): Likewise.
14487 (isnormal_test_data): Likewise.
14488 (issignaling_test_data): Likewise.
14489 (isunordered_test_data): Likewise.
14490 (ldexp_test_data): Likewise.
14491 (lrint_test_data): Likewise.
14492 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14493 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14494 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14495 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14496 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14497 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14498 test input.
14499 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14500 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14501 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14502 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14503 that test input.
14504 (lrint_downward_test_data): Test for "inexact" exceptions.
14505 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14506 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14507 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14508 test input.
14509 (lrint_upward_test_data): Test for "inexact" exceptions.
14510 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14511 test input.
14512 (llrint_test_data): Test for "inexact" exceptions.
14513 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14514 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14515 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14516 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14517 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14518 (llrint_downward_test_data): Test for "inexact" exceptions.
14519 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14520 (llrint_upward_test_data): Test for "inexact" exceptions.
14521 (logb_test_data): Likewise.
14522 (logb_downward_test_data): Likewise.
14523 (nextafter_test_data): Likewise.
14524 (nexttoward_test_data): Likewise.
14525 (remainder_test_data): Likewise.
14526 (remquo_test_data): Likewise.
14527 (scalbn_test_data): Likewise.
14528 (scalbln_test_data): Likewise.
14529 (signbit_test_data): Likewise.
14530 (sqrt_test_data): Likewise.
14531 (significand_test_data): Likewise.
14532
48a18de1
SP
145332013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14534
14535 [BZ #15424]
14536 * benchtests/bench-modf.c (struct args): Mark arg0 as
14537 volatile.
14538 * scripts/bench.pl: Mark members of struct args as volatile.
14539
13d3b41a
AZ
145402013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14541
68191c1d 14542 [BZ # 15497]
13d3b41a
AZ
14543 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14544 negative infinity on POWER6 or lower.
14545 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14546
2848b105
MR
145472013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14548
14549 [BZ #15442]
14550 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14551 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14552 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14553 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14554 (_FP_SETQNAN): New macro.
14555 (_FP_SETQNAN_SEMIRAW): Likewise.
14556 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14557 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14558 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14559 (FP_EXTEND): Use _FP_FRAC_SNANP.
14560 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14561 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14562 into account.
14563 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14564 New macro.
14565 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14566 Likewise.
14567
323e5cb7
JM
145682013-05-16 Joseph Myers <joseph@codesourcery.com>
14569
c58b274f
JM
14570 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14571 with DIVIDE_BY_ZERO_EXCEPTION.
14572 (gamma_test_data): Likewise.
14573 (lgamma_test_data): Likewise.
14574 (log_test_data): Likewise.
14575 (log10_test_data): Likewise.
14576 (log2_test_data): Likewise.
14577 (tgamma_test_data): Likewise.
14578
0ab34904
JM
14579 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14580 (acos_test_tonearest): Likewise.
14581 (acos_test_towardzero): Likewise.
14582 (acos_test_downward): Likewise.
14583 (acos_test_upward): Likewise.
14584 (acosh_test): Likewise.
14585 (asin_test): Likewise.
14586 (asin_test_tonearest): Likewise.
14587 (asin_test_towardzero): Likewise.
14588 (asin_test_downward): Likewise.
14589 (asin_test_upward): Likewise.
14590 (asinh_test): Likewise.
14591 (atan_test): Likewise.
14592 (atanh_test): Likewise.
14593 (atan2_test): Likewise.
14594 (cabs_test): Likewise.
14595 (cacos_test): Likewise.
14596 (cacosh_test): Likewise.
14597 (casin_test): Likewise.
14598 (casinh_test): Likewise.
14599 (catan_test): Likewise.
14600 (catanh_test): Likewise.
14601 (cbrt_test): Likewise.
14602 (ccos_test): Likewise.
14603 (ccosh_test): Likewise.
14604 (cexp_test): Likewise.
14605 (clog_test): Likewise.
14606 (clog10_test): Likewise.
14607 (cos_test): Likewise.
14608 (cos_test_tonearest): Likewise.
14609 (cos_test_towardzero): Likewise.
14610 (cos_test_downward): Likewise.
14611 (cos_test_upward): Likewise.
14612 (cosh_test): Likewise.
14613 (cosh_test_tonearest): Likewise.
14614 (cosh_test_towardzero): Likewise.
14615 (cosh_test_downward): Likewise.
14616 (cosh_test_upward): Likewise.
14617 (cpow_test): Likewise.
14618 (csin_test): Likewise.
14619 (csinh_test): Likewise.
14620 (csqrt_test): Likewise.
14621 (ctan_test): Likewise.
14622 (ctan_test_tonearest): Likewise.
14623 (ctan_test_towardzero): Likewise.
14624 (ctan_test_downward): Likewise.
14625 (ctan_test_upward): Likewise.
14626 (ctanh_test): Likewise.
14627 (ctanh_test_tonearest): Likewise.
14628 (ctanh_test_towardzero): Likewise.
14629 (ctanh_test_downward): Likewise.
14630 (ctanh_test_upward): Likewise.
14631 (erf_test): Likewise.
14632 (erfc_test): Likewise.
14633 (exp_test): Likewise.
14634 (exp_test_tonearest): Likewise.
14635 (exp_test_towardzero): Likewise.
14636 (exp_test_downward): Likewise.
14637 (exp_test_upward): Likewise.
14638 (exp10_test): Likewise.
14639 (exp2_test): Likewise.
14640 (expm1_test): Likewise.
14641 (fmod_test): Likewise.
14642 (gamma_test): Likewise.
14643 (hypot_test): Likewise.
14644 (j0_test): Likewise.
14645 (j1_test): Likewise.
14646 (jn_test): Likewise.
14647 (lgamma_test): Likewise.
14648 (log_test): Likewise.
14649 (log10_test): Likewise.
14650 (log1p_test): Likewise.
14651 (log2_test): Likewise.
14652 (logb_test_downward): Likewise.
14653 (pow_test): Likewise.
14654 (pow_test_tonearest): Likewise.
14655 (pow_test_towardzero): Likewise.
14656 (pow_test_downward): Likewise.
14657 (pow_test_upward): Likewise.
14658 (remainder_test): Likewise.
14659 (remquo_test): Likewise.
14660 (sin_test): Likewise.
14661 (sin_test_tonearest): Likewise.
14662 (sin_test_towardzero): Likewise.
14663 (sin_test_downward): Likewise.
14664 (sin_test_upward): Likewise.
14665 (sincos_test): Likewise.
14666 (sinh_test): Likewise.
14667 (sinh_test_tonearest): Likewise.
14668 (sinh_test_towardzero): Likewise.
14669 (sinh_test_downward): Likewise.
14670 (sinh_test_upward): Likewise.
14671 (sqrt_test): Likewise.
14672 (tan_test): Likewise.
14673 (tan_test_tonearest): Likewise.
14674 (tan_test_towardzero): Likewise.
14675 (tan_test_downward): Likewise.
14676 (tan_test_upward): Likewise.
14677 (tanh_test): Likewise.
14678 (tgamma_test): Likewise.
14679 (y0_test): Likewise.
14680 (y1_test): Likewise.
14681 (yn_test): Likewise.
14682
323e5cb7
JM
14683 * math/gen-libm-test.pl (adjust_arg): Remove function.
14684 (special_function): Remove argument $in_func. Only handle
14685 generating output for tables of tests, not inside functions.
14686 (parse_args): Likewise.
14687 (generate_testfile): Remove variable $in_func. Update call to
14688 parse_args.
14689 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14690 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14691 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14692 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14693 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14694 (MAX_VALUE_INIT): Rename macro to max_value.
14695 (MIN_VALUE_INIT): Rename macro to min_value.
14696 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14697 (plus_zero): Remove variable.
14698 (minus_zero): Likewise.
14699 (plus_infty): Likewise.
14700 (minus_infty): Likewise.
14701 (qnan_value): Likewise.
14702 (max_value): Likewise.
14703 (min_value): Likewise.
14704 (min_subnorm_value): Likewise.
14705
e054f494
RA
147062013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14707
14708 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14709 uint64_t or uint32_t usage.
14710 * crypt/sha256-block.c: Likewise.
14711 * crypt/sha256-crypt.c: Likewise.
14712 * crypt/sha256.c: Likewise.
14713 * crypt/sha512-block.c: Likewise.
14714 * crypt/sha512-crypt.c: Likewise.
14715 * crypt/sha512.c: Likewise.
14716 * debug/backtrace-tst.c: Likewise.
14717 * debug/pcprofiledump.c: Likewise.
14718 * elf/cache.c: Likewise.
14719 * elf/dl-cache.c: Likewise.
14720 * elf/dl-misc.c: Likewise.
14721 * elf/dl-profile.c: Likewise.
14722 * elf/dl-support.c: Likewise.
14723 * elf/ldconfig.c: Likewise.
14724 * elf/sprof.c: Likewise.
14725 * iconv/dummy-repertoire.c: Likewise.
14726 * iconv/iconv_charmap.c: Likewise.
14727 * iconv/skeleton.c: Likewise.
14728 * iconvdata/8bit-generic.c: Likewise.
14729 * iconvdata/cp737.h: Likewise.
14730 * iconvdata/cp775.h: Likewise.
14731 * iconvdata/ibm1008.h: Likewise.
14732 * iconvdata/ibm1025.h: Likewise.
14733 * iconvdata/ibm1046.h: Likewise.
14734 * iconvdata/ibm1097.h: Likewise.
14735 * iconvdata/ibm1112.h: Likewise.
14736 * iconvdata/ibm1122.h: Likewise.
14737 * iconvdata/ibm1123.h: Likewise.
14738 * iconvdata/ibm1124.h: Likewise.
14739 * iconvdata/ibm1129.h: Likewise.
14740 * iconvdata/ibm1130.h: Likewise.
14741 * iconvdata/ibm1132.h: Likewise.
14742 * iconvdata/ibm1133.h: Likewise.
14743 * iconvdata/ibm1137.h: Likewise.
14744 * iconvdata/ibm1140.h: Likewise.
14745 * iconvdata/ibm1141.h: Likewise.
14746 * iconvdata/ibm1142.h: Likewise.
14747 * iconvdata/ibm1143.h: Likewise.
14748 * iconvdata/ibm1144.h: Likewise.
14749 * iconvdata/ibm1145.h: Likewise.
14750 * iconvdata/ibm1146.h: Likewise.
14751 * iconvdata/ibm1147.h: Likewise.
14752 * iconvdata/ibm1148.h: Likewise.
14753 * iconvdata/ibm1149.h: Likewise.
14754 * iconvdata/ibm1153.h: Likewise.
14755 * iconvdata/ibm1154.h: Likewise.
14756 * iconvdata/ibm1155.h: Likewise.
14757 * iconvdata/ibm1156.h: Likewise.
14758 * iconvdata/ibm1157.h: Likewise.
14759 * iconvdata/ibm1158.h: Likewise.
14760 * iconvdata/ibm1160.h: Likewise.
14761 * iconvdata/ibm1161.h: Likewise.
14762 * iconvdata/ibm1162.h: Likewise.
14763 * iconvdata/ibm1163.h: Likewise.
14764 * iconvdata/ibm1164.h: Likewise.
14765 * iconvdata/ibm1166.h: Likewise.
14766 * iconvdata/ibm1167.h: Likewise.
14767 * iconvdata/ibm12712.h: Likewise.
14768 * iconvdata/ibm1390.h: Likewise.
14769 * iconvdata/ibm1399.h: Likewise.
14770 * iconvdata/ibm16804.h: Likewise.
14771 * iconvdata/ibm4517.h: Likewise.
14772 * iconvdata/ibm4899.h: Likewise.
14773 * iconvdata/ibm4909.h: Likewise.
14774 * iconvdata/ibm4971.h: Likewise.
14775 * iconvdata/ibm5347.h: Likewise.
14776 * iconvdata/ibm803.h: Likewise.
14777 * iconvdata/ibm856.h: Likewise.
14778 * iconvdata/ibm901.h: Likewise.
14779 * iconvdata/ibm902.h: Likewise.
14780 * iconvdata/ibm9030.h: Likewise.
14781 * iconvdata/ibm9066.h: Likewise.
14782 * iconvdata/ibm921.h: Likewise.
14783 * iconvdata/ibm922.h: Likewise.
14784 * iconvdata/ibm9448.h: Likewise.
14785 * iconvdata/isiri-3342.h: Likewise.
14786 * iconvdata/jis0201.h: Likewise.
14787 * include/link.h: Likewise.
14788 * include/netdb.h: Likewise.
14789 * inet/check_native.c: Likewise.
14790 * inet/check_pf.c: Likewise.
14791 * inet/getipv4sourcefilter.c: Likewise.
14792 * inet/getnameinfo.c: Likewise.
14793 * inet/getsourcefilter.c: Likewise.
14794 * inet/htonl.c: Likewise.
14795 * inet/setipv4sourcefilter.c: Likewise.
14796 * inet/setsourcefilter.c: Likewise.
14797 * inet/test-inet6_opt.c: Likewise.
14798 * inet/tst-network.c: Likewise.
14799 * locale/C-collate.c: Likewise.
14800 * locale/C-ctype.c: Likewise.
14801 * locale/C-time.c: Likewise.
14802 * locale/C-translit.h: Likewise.
14803 * locale/loadarchive.c: Likewise.
14804 * locale/programs/3level.h: Likewise.
14805 * locale/programs/charmap.c: Likewise.
14806 * locale/programs/charmap.h: Likewise.
14807 * locale/programs/ld-address.c: Likewise.
14808 * locale/programs/ld-collate.c: Likewise.
14809 * locale/programs/ld-ctype.c: Likewise.
14810 * locale/programs/ld-identification.c: Likewise.
14811 * locale/programs/ld-measurement.c: Likewise.
14812 * locale/programs/ld-messages.c: Likewise.
14813 * locale/programs/ld-monetary.c: Likewise.
14814 * locale/programs/ld-name.c: Likewise.
14815 * locale/programs/ld-numeric.c: Likewise.
14816 * locale/programs/ld-paper.c: Likewise.
14817 * locale/programs/ld-telephone.c: Likewise.
14818 * locale/programs/ld-time.c: Likewise.
14819 * locale/programs/linereader.c: Likewise.
14820 * locale/programs/locale.c: Likewise.
14821 * locale/programs/locarchive.c: Likewise.
14822 * locale/programs/locfile.h: Likewise.
14823 * locale/programs/repertoire.c: Likewise.
14824 * locale/programs/simple-hash.c: Likewise.
14825 * locale/programs/simple-hash.h: Likewise.
14826 * malloc/memusage.c: Likewise.
14827 * malloc/memusagestat.c: Likewise.
14828 * nis/nis_defaults.c: Likewise.
14829 * nis/nis_hash.c: Likewise.
14830 * nis/nis_print.c: Likewise.
14831 * nis/nis_xdr.c: Likewise.
14832 * nscd/connections.c: Likewise.
14833 * nscd/hstcache.c: Likewise.
14834 * nscd/nscd_gethst_r.c: Likewise.
14835 * nscd/nscd_getserv_r.c: Likewise.
14836 * nscd/nscd_helper.c: Likewise.
14837 * nscd/servicescache.c: Likewise.
14838 * nss/makedb.c: Likewise.
14839 * nss/nss_db/db-XXX.c: Likewise.
14840 * nss/nss_db/db-initgroups.c: Likewise.
14841 * nss/nss_db/db-netgrp.c: Likewise.
14842 * nss/nss_files/files-network.c: Likewise.
14843 * nss/nss_files/files-parse.c: Likewise.
14844 * posix/bug-regex5.c: Likewise.
14845 * posix/fnmatch_loop.c: Likewise.
14846 * posix/regcomp.c: Likewise.
14847 * posix/regexec.c: Likewise.
14848 * posix/tst-rfc3484-2.c: Likewise.
14849 * posix/tst-rfc3484-3.c: Likewise.
14850 * posix/tst-rfc3484.c: Likewise.
14851 * resolv/nss_dns/dns-canon.c: Likewise.
14852 * resolv/nss_dns/dns-network.c: Likewise.
14853 * resolv/res_init.c: Likewise.
14854 * resolv/res_mkquery.c: Likewise.
14855 * resolv/tst-aton.c: Likewise.
14856 * stdlib/cxa_atexit.c: Likewise.
14857 * stdlib/cxa_finalize.c: Likewise.
14858 * stdlib/gen-fpioconst.c: Likewise.
14859 * stdlib/strtol_l.c: Likewise.
14860 * string/tst-endian.c: Likewise.
14861 * sunrpc/auth_des.c: Likewise.
14862 * sunrpc/clnt_udp.c: Likewise.
14863 * sunrpc/rtime.c: Likewise.
14864 * sunrpc/svcauth_des.c: Likewise.
14865 * sunrpc/xdr.c: Likewise.
14866 * sunrpc/xdr_intXX_t.c: Likewise.
14867 * sunrpc/xdr_rec.c: Likewise.
14868 * sysdeps/generic/ldconfig.h: Likewise.
14869 * sysdeps/generic/ldsodefs.h: Likewise.
14870 * sysdeps/generic/memusage.h: Likewise.
14871 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14873 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14874 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14876 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14877 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14881 * sysdeps/posix/getaddrinfo.c: Likewise.
14882 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14883 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14884 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14885 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14886 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14887 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14888 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14889 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14890 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14891 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14892 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14893 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14894 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14895 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14896 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14897 * sysdeps/x86_64/dl-tls.h: Likewise.
14898 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14899 * time/alt_digit.c: Likewise.
14900 * time/era.c: Likewise.
14901 * wcsmbs/tst-c16c32-1.c: Likewise.
14902
8c75f674
JM
149032013-05-16 Joseph Myers <joseph@codesourcery.com>
14904
14905 * math/libm-test.inc (struct test_sincos_data): New type.
14906 (RUN_TEST_LOOP_sincos): New macro.
14907 (sincos_test_data): New variable.
14908 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14909
e6e49e59
RH
149102013-05-16 Richard Henderson <rth@redhat.com>
14911
14912 * math/atest-exp2.c (LIMB64): New macro.
14913 (CONSTSZ): New macro.
14914 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14915 (hexdig): Move ...
14916 (print_mpn_fp): ... to function scope.
14917 (read_mpn_hex): Remove.
14918 (get_log2): Remove.
14919 (exp2_mpn): Use mp_log2.
14920 (main): Use mp_exp1.
14921
15c7c18d
JM
149222013-05-16 Joseph Myers <joseph@codesourcery.com>
14923
105a07df
JM
14924 * math/libm-test.inc: Remove comment about not testing "inexact"
14925 exceptions.
14926 (INEXACT_EXCEPTION): New macro.
14927 (NO_INEXACT_EXCEPTION): Likewise.
14928 (INVALID_EXCEPTION_OK): Update value.
14929 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14930 (OVERFLOW_EXCEPTION_OK): Likewise.
14931 (UNDERFLOW_EXCEPTION_OK): Likewise.
14932 (IGNORE_ZERO_INF_SIGN): Likewise.
14933 (ERRNO_UNCHANGED): Likewise.
14934 (ERRNO_EDOM): Likewise.
14935 (ERRNO_ERANGE): Likewise.
14936 (test_exceptions): Handle testing "inexact" exceptions.
14937 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14938 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14939 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14940 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14941 INEXACT_EXCEPTION.
14942 (rint_towardzero_test_data): Likewise.
14943 (rint_downward_test_data): Likewise.
14944 (rint_upward_test_data): Likewise.
14945
e9eee333
JM
14946 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14947 with OVERFLOW_EXCEPTION.
14948 (exp10_test_data): Likewise.
14949 (exp2_test_data): Likewise.
14950 (expm1_test_data): Likewise.
14951 (lgamma_test_data): Likewise.
14952 (pow_test_data): Likewise.
14953 (tgamma_test_data): Likewise.
14954 (yn_test_data): Remove duplicate test of overflow.
14955
1c38ff73
JM
14956 * math/libm-test.inc (struct test_cc_c_data): New type.
14957 (RUN_TEST_LOOP_cc_c): New macro.
14958 (cpow_test_data): New variable.
14959 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14960
15c7c18d
JM
14961 * math/libm-test.inc (struct test_f_L_data): New type.
14962 (RUN_TEST_LOOP_f_L): New macro.
14963 (llrint_test_data): New variable.
14964 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14965 (llrint_tonearest_test_data): New variable.
14966 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14967 (llrint_towardzero_test_data): New variable.
14968 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14969 (llrint_downward_test_data): New variable.
14970 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14971 (llrint_upward_test_data): New variable.
14972 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14973 (llround_test_data): New variable.
14974 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14975
f137ff13
PC
149762013-05-13 Peter Collingbourne <pcc@google.com>
14977
14978 * math/atest-exp2.c (get_log2): Remove const attribute.
14979
3608cb24
JM
149802013-05-15 Joseph Myers <joseph@codesourcery.com>
14981
14982 * math/libm-test.inc (struct test_f_l_data): New type.
14983 (RUN_TEST_LOOP_f_l): New macro.
14984 (lrint_test_data): New variable.
14985 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14986 (lrint_tonearest_test_data): New variable.
14987 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14988 (lrint_towardzero_test_data): New variable.
14989 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14990 (lrint_downward_test_data): New variable.
14991 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14992 (lrint_upward_test_data): New variable.
14993 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14994 (lround_test_data): New variable.
14995 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14996
39b1f617
PC
149972013-05-15 Peter Collingbourne <pcc@google.com>
14998
1deff3dc
PC
14999 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15000 (EXTRACT_WORDS64) Use where appropriate.
15001 (INSERT_WORDS64) Likewise.
15002
791f3ba0
PC
15003 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15004 constraints with x constraints.
15005 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15006
39b1f617
PC
15007 * malloc/obstack.c (_obstack_compat): Add initializer.
15008
12fba011
EM
150092013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15010
15011 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15012 si_trapno and add si_addr_lsb to _sifields.sigfault.
15013 (si_trapno): Remove macro.
15014 (si_addr_lsb): Define new macro.
15015 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15016
d369f531
JM
150172013-05-15 Joseph Myers <joseph@codesourcery.com>
15018
b861c6c4
JM
15019 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15020 instead of TEST_f_l.
15021 (llrint_test_tonearest): Likewise.
15022 (llrint_test_towardzero): Likewise.
15023 (llrint_test_downward): Likewise.
15024 (llrint_test_upward): Likewise.
15025 (llround_test): Likewise.
15026
7abeee12
JM
15027 * math/libm-test.inc (struct test_f_i_data): Add comment.
15028 (RUN_TEST_LOOP_f_b): New macro.
15029 (RUN_TEST_LOOP_f_b_tg): Likewise.
15030 (finite_test_data): New variable.
15031 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15032 (isfinite_test_data): New variable.
15033 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15034 (isinf_test_data): New variable.
15035 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15036 (isnan_test_data): New variable.
15037 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15038 (isnormal_test_data): New variable.
15039 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15040 (issignaling_test_data): New variable.
15041 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15042 (signbit_test_data): New variable.
15043 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15044
cbe8c4d3
JM
15045 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15046 with INVALID_EXCEPTION.
15047 (acosh_test_data): Likewise.
15048 (asin_test_data): Likewise.
15049 (atanh_test_data): Likewise.
15050 (fmod_test_data): Likewise.
15051 (log_test_data): Likewise.
15052 (log10_test_data): Likewise.
15053 (log2_test_data): Likewise.
15054 (pow_test_data): Likewise.
15055 (sqrt_test_data): Likewise.
15056 (y0_test_data): Likewise.
15057 (y1_test_data): Likewise.
15058 (yn_test_data): Likewise.
15059
5575c0e5
JM
15060 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15061 function contents.
15062
d369f531
JM
15063 * math/libm-test.inc (struct test_ff_i_data): New type.
15064 (RUN_TEST_LOOP_ff_i_tg): New macro.
15065 (isgreater_test_data): New variable.
15066 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15067 (isgreaterequal_test_data): New variable.
15068 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15069 (isless_test_data): New variable.
15070 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15071 (islessequal_test_data): New variable.
15072 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15073 (islessgreater_test_data): New variable.
15074 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15075 (isunordered_test_data): New variable.
15076 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15077
781fd748
DM
150782013-05-14 David S. Miller <davem@davemloft.net>
15079
15080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15081
87aa21df
JM
150822013-05-14 Joseph Myers <joseph@codesourcery.com>
15083
5e908270
JM
15084 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15085
f71172e5
JM
15086 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15087 extra_test to int.
15088 (struct test_f_i_data): Change type of max_ulp to int.
15089
8cfa635a
JM
15090 * math/libm-test.inc (test_ffI_f1_data): New type.
15091 (RUN_TEST_LOOP_ffI_f1): New macro.
15092 (remquo_test_data): New variable.
15093 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15094
2bcb36b2
JM
15095 * setjmp/tst-setjmp-fp.c: New file.
15096 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15097 (link-libm): New variable.
15098 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15099
acbd839a
JM
15100 * math/libm-test.inc (struct test_f_i_data): New type.
15101 (RUN_TEST_LOOP_f_i): New macro.
15102 (RUN_TEST_LOOP_f_i_tg): Likewise.
15103 (fpclassify_test_data): New variable.
15104 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15105 (ilogb_test_data): New variable.
15106 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15107
e414d745
JM
15108 * math/libm-test.inc (scalbln_test): Correct function name in END
15109 call.
15110
d9c2a0fd
JM
15111 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15112 (RUN_TEST_LOOP_fI_f1): New macro.
15113 (frexp_test_data): New variable.
15114 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15115
9dc9095d
JM
15116 * math/libm-test.inc (struct test_fF_f1_data): New type.
15117 (RUN_TEST_LOOP_fF_f1): New macro.
15118 (modf_test_data): New variable.
15119 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15120
87aa21df
JM
15121 * math/libm-test.inc (struct test_f_f1_data): New type.
15122 (RUN_TEST_LOOP_f_f1): New macro.
15123 (gamma_test_data): New variable.
15124 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15125 (lgamma_test_data): New variable.
15126 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15127
141af660
CD
151282013-05-13 Carlos O'Donell <carlos@redhat.com>
15129
15130 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15131 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15132 (main): Comment "tls" pseudo-hwcap.
15133
6d33265c
JM
151342013-05-13 Joseph Myers <joseph@codesourcery.com>
15135
68fc074c
JM
15136 * math/libm-test.inc (struct test_fl_f_data): New type.
15137 (RUN_TEST_LOOP_fl_f): New variable.
15138 (scalbln_test_data): New variable.
15139 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15140
243216e1
JM
15141 * math/libm-test.inc (struct test_fi_f_data): New type.
15142 (RUN_TEST_LOOP_fi_f): New macro.
15143 (ldexp_test_data): New variable.
15144 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15145 (scalbn_test_data): New variable.
15146 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15147
6a1992e2
JM
15148 * math/libm-test.inc (struct test_c_f_data): New type.
15149 (RUN_TEST_LOOP_c_f): New macro.
15150 (cabs_test_data): New variable.
15151 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15152 (carg_test_data): New variable.
15153 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15154 (cimag_test_data): New variable.
15155 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15156 (creal_test_data): New variable.
15157 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15158
0e400df5
JM
15159 * math/libm-test.inc (struct test_if_f_data): New type.
15160 (RUN_TEST_LOOP_if_f): New macro.
15161 (jn_test_data): New variable.
15162 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15163 (yn_test_data): New variable.
15164 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15165
6d33265c
JM
15166 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15167
f98ece5f
AZ
151682013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15169
15170 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15171 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15172
0f7d347b
SP
151732013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15174
43fe811b
SP
15175 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15176 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15177 (bench-deps): Add bench-timing.h.
15178 * benchtests-bench-skeleton.c: Include bench-timing.h.
15179 (main): Use TIMING_* macros instead of clock_gettime.
15180 * benchtests/bench-timing.h: New file.
15181
0f7d347b
SP
15182 [BZ #14582]
15183 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15184 Renamed from _LIB_VERSION.
15185 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15186
601a3a5f
JM
151872013-05-12 Joseph Myers <joseph@codesourcery.com>
15188
4f184d30
JM
15189 * math/libm-test.inc (struct test_fff_f_data): New type.
15190 (RUN_TEST_LOOP_fff_f): New macro.
15191 (fma_test_data): New variable.
15192 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15193 (fma_towardzero_test_data): New variable.
15194 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15195 (fma_downward_test_data): New variable.
15196 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15197 (fma_upward_test_data): New variable.
15198 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15199
08198877
JM
15200 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15201 (struct test_c_c_data): New type.
15202 (RUN_TEST_LOOP_c_c): New macro.
15203 (cacos_test_data): New variable.
15204 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15205 (cacosh_test_data): New variable.
15206 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15207 (casin_test_data): New variable.
15208 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15209 (casinh_test_data): New variable.
15210 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15211 (catan_test_data): New variable.
15212 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15213 (catanh_test_data): New variable.
15214 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15215 (ccos_test_data): New variable.
15216 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15217 (ccosh_test_data): New variable.
15218 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15219 (cexp_test_data): New variable.
15220 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15221 (clog_test_data): New variable.
15222 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15223 (clog10_test_data): New variable.
15224 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15225 (conj_test_data): New variable.
15226 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15227 (cproj_test_data): New variable.
15228 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15229 (csin_test_data): New variable.
15230 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15231 (csinh_test_data): New variable.
15232 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15233 (csqrt_test_data): New variable.
15234 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15235 (ctan_test_data): New variable.
15236 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15237 (ctan_tonearest_test_data): New variable.
15238 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15239 (ctan_towardzero_test_data): New variable.
15240 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15241 (ctan_downward_test_data): New variable.
15242 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15243 (ctan_upward_test_data): New variable.
15244 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15245 (ctanh_test_data): New variable.
15246 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15247 (ctanh_tonearest_test_data): New variable.
15248 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15249 (ctanh_towardzero_test_data): New variable.
15250 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15251 (ctanh_downward_test_data): New variable.
15252 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15253 (ctanh_upward_test_data): New variable.
15254 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15255 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15256 of BUILD_COMPLEX.
15257
601a3a5f
JM
15258 * math/libm-test.inc (struct test_ff_f_data): New type.
15259 (struct test_ff_f_data_nexttoward): Likewise.
15260 (RUN_TEST_LOOP_2_f): New macro.
15261 (RUN_TEST_LOOP_ff_f): Likewise.
15262 (atan2_test_data): New variable.
15263 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15264 (copysign_test_data): New variable.
15265 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15266 (fdim_test_data): New variable.
15267 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15268 (fmax_test_data): New variable.
15269 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15270 (fmin_test_data): New variable.
15271 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15272 (fmod_test_data): New variable.
15273 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15274 (hypot_test_data): New variable.
15275 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15276 (nextafter_test_data): New variable.
15277 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15278 (nexttoward_test_data): New variable.
15279 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15280 (pow_test_data): New variable.
15281 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15282 (pow_tonearest_test_data): New variable.
15283 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15284 (pow_towardzero_test_data): New variable.
15285 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15286 (pow_downward_test_data): New variable.
15287 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15288 (pow_upward_test_data): New variable.
15289 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15290 (remainder_test_data): New variable.
15291 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15292 (scalb_test_data): New variable.
15293 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15294 * sysdeps/i386/fpu/libm-test-ulps: Update.
15295
74c57478
JM
152962013-05-11 Joseph Myers <joseph@codesourcery.com>
15297
8329e4da
JM
15298 * math/libm-test.inc (fma_test): Use max_value instead of local
15299 variable fltmax.
15300 (nextafter_test): Likewise.
15301
74c57478
JM
15302 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15303 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15304 (acos_downward_test_data): New variable.
15305 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15306 (acos_upward_test_data): New variable.
15307 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15308 (acosh_test_data): New variable.
15309 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15310 (asin_test_data): New variable.
15311 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15312 (asin_tonearest_test_data): New variable.
15313 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15314 (asin_towardzero_test_data): New variable.
15315 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15316 (asin_downward_test_data): New variable.
15317 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15318 (asin_upward_test_data): New variable.
15319 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15320 (asinh_test_data): New variable.
15321 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15322 (atan_test_data): New variable.
15323 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15324 (atanh_test_data): New variable.
15325 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15326 (cbrt_test_data): New variable.
15327 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15328 (ceil_test_data): New variable.
15329 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15330 (cos_test_data): New variable.
15331 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15332 (cos_tonearest_test_data): New variable.
15333 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15334 (cos_towardzero_test_data): New variable.
15335 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15336 (cos_downward_test_data): New variable.
15337 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15338 (cos_upward_test_data): New variable.
15339 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15340 (cosh_test_data): New variable.
15341 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15342 (cosh_tonearest_test_data): New variable.
15343 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15344 (cosh_towardzero_test_data): New variable.
15345 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15346 (cosh_downward_test_data): New variable.
15347 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15348 (cosh_upward_test_data): New variable.
15349 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15350 (erf_test_data): New variable.
15351 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15352 (erfc_test_data): New variable.
15353 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15354 (exp_test_data): New variable.
15355 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15356 (exp_tonearest_test_data): New variable.
15357 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15358 (exp_towardzero_test_data): New variable.
15359 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15360 (exp_downward_test_data): New variable.
15361 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15362 (exp_upward_test_data): New variable.
15363 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15364 (exp10_test_data): New variable.
15365 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15366 (exp2_test_data): New variable.
15367 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15368 (expm1_test_data): New variable.
15369 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15370 (fabs_test_data): New variable.
15371 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15372 (floor_test_data): New variable.
15373 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15374 (j0_test_data): New variable.
15375 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15376 (j1_test_data): New variable.
15377 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15378 (log_test_data): New variable.
15379 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15380 (log10_test_data): New variable.
15381 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15382 (log1p_test_data): New variable.
15383 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15384 (log2_test_data): New variable.
15385 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15386 (logb_test_data): New variable.
15387 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15388 (logb_downward_test_data): New variable.
15389 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15390 (nearbyint_test_data): New variable.
15391 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15392 (rint_test_data): New variable.
15393 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15394 (rint_tonearest_test_data): New variable.
15395 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15396 (rint_towardzero_test_data): New variable.
15397 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15398 (rint_downward_test_data): New variable.
15399 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15400 (rint_upward_test_data): New variable.
15401 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15402 (round_test_data): New variable.
15403 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15404 (sin_test_data): New variable.
15405 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15406 (sin_tonearest_test_data): New variable.
15407 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15408 (sin_towardzero_test_data): New variable.
15409 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15410 (sin_downward_test_data): New variable.
15411 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15412 (sin_upward_test_data): New variable.
15413 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15414 (sinh_test_data): New variable.
15415 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15416 (sinh_tonearest_test_data): New variable.
15417 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15418 (sinh_towardzero_test_data): New variable.
15419 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15420 (sinh_downward_test_data): New variable.
15421 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15422 (sinh_upward_test_data): New variable.
15423 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15424 (sqrt_test_data): New variable.
15425 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15426 (tan_test_data): New variable.
15427 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15428 (tan_tonearest_test_data): New variable.
15429 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15430 (tan_towardzero_test_data): New variable.
15431 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15432 (tan_downward_test_data): New variable.
15433 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15434 (tan_upward_test_data): New variable.
15435 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15436 (tanh_test_data): New variable.
15437 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15438 (tgamma_test_data): New variable.
15439 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15440 (trunc_test_data): New variable.
15441 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15442 (y0_test_data): New variable.
15443 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15444 (y1_test_data): New variable.
15445 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15446 (significand_test_data): New variable.
15447 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15448
7187d844
CG
154492013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15450
15451 [BZ #12387]
15452 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15453
f63fae73
PT
154542013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15455
15456 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15457
8a67a4b3
AJ
154582013-05-10 Andreas Jaeger <aj@suse.de>
15459
15460 [BZ #15448]
15461 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15462 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15463
51df539d
JM
154642013-05-10 Joseph Myers <joseph@codesourcery.com>
15465
15466 * math/gen-libm-test.pl (adjust_arg): New function.
15467 (special_functions): Handle generating output in both functions
15468 and arrays.
15469 (parse_args): Likewise.
15470 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15471 $in_func argument to parse_args.
15472 * math/libm-test.inc (struct test_f_f_data): New type.
15473 (IF_ROUND_INIT_): New macro.
15474 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15475 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15476 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15477 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15478 (ROUND_RESTORE_): Likewise.
15479 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15480 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15481 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15482 (ROUND_RESTORE_FE_UPWARD): Likewise.
15483 (RUN_TEST_LOOP_f_f): New macro.
15484 (acos_test_data): New variable.
15485 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15486 (acos_tonearest_test_data): New variable.
15487 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15488
5c637fe5
SP
154892013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15490
15491 * benchtests/bench-skeleton.c (startup): Fix coding style.
15492
ab2b9461
JM
154932013-05-10 Joseph Myers <joseph@codesourcery.com>
15494
15495 [BZ #6809]
15496 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15497 negative infinity argument.
15498 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15499 negative infinity argument.
15500 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15501 negative infinity argument.
15502 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15503 domain errors.
15504
4c0fe6fe
FW
155052013-05-10 Florian Weimer <fweimer@redhat.com>
15506
15507 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15508 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15509 * iconv/iconv_prog.c (main): Likewise.
15510 * locale/programs/charmap-dir.c (charmap_readdir)
15511 (fopen_uncompressed): Likewise.
15512 * locale/programs/locfile.c (siblings_uncached)
15513 (write_locale_data): Use lstat64 instead of lstat.
15514 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15515 stat.
15516
a3375d29
AJ
155172013-05-10 Andreas Jaeger <aj@suse.de>
15518
15519 [BZ #15395]
15520 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15521 localization.
15522 Include <locale.h>.
15523
36129722
CD
155242013-05-09 Carlos O'Donell <carlos@redhat.com>
15525
15526 * elf/dl-close.c (_dl_close_worker): Add comments.
15527
faa7f811
JM
155282013-05-09 Joseph Myers <joseph@codesourcery.com>
15529
ed41ffef
JM
15530 [BZ #15359]
15531 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15532 high part of pi/2.
15533 (__ieee754_rem_pio2l): Update comments.
15534
d0213cd0
JM
15535 [BZ #15429]
15536 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15537 high part of pi/2.
15538 (__ieee754_rem_pio2l): Update comments.
15539
0d3e777a
JM
15540 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15541 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15542
24f56066
JM
15543 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15544 M_PI_4l.
15545
faa7f811
JM
15546 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15547 (M_PI_34_LOG10El): Likewise.
15548 (M_PI2_LOG10El): Likewise.
15549 (M_PI4_LOG10El): Likewise.
15550 (M_PI_LOG10El): Likewise.
15551
e9a5e0fd
AZ
155522013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15553
15554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15555
d8cd06db
JM
155562013-05-08 Joseph Myers <joseph@codesourcery.com>
15557
a0d9f9d7
JM
15558 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15559 (MINUS_ZERO_INIT): Likewise.
15560 (PLUS_INFTY_INIT): Likewise.
15561 (MINUS_INFTY_INIT): Likewise.
15562 (QNAN_VALUE_INIT): Likewise.
15563 (MAX_VALUE_INIT): Likewise.
15564 (MIN_VALUE_INIT): Likewise.
15565 (MIN_SUBNORM_VALUE_INIT): Likewise.
15566 (plus_zero): Initialize with PLUS_ZERO_INIT.
15567 (minus_zero): Initialize with MINUS_ZERO_INIT.
15568 (plus_infty): Initialize with PLUS_INFTY_INIT.
15569 (minus_infty): Initialize with MINUS_INFTY_INIT.
15570 (qnan_value): Initialize with QNAN_VALUE_INIT.
15571 (max_value): Initialize with MAX_VALUE_INIT.
15572 (min_value): Initialize with MIN_VALUE_INIT.
15573 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15574
ae08db3b
JM
15575 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15576 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15577 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15578 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15579
f44bf14a
JM
15580 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15581 (RUN_TEST_2_f): Likewise.
15582 (RUN_TEST_ff_f): Likewise.
15583 (RUN_TEST_fi_f): Likewise.
15584 (RUN_TEST_fl_f): Likewise.
15585 (RUN_TEST_fff_f): Likewise.
15586 (RUN_TEST_c_f): Likewise.
15587 (RUN_TEST_f_f1): Likewise.
15588 (RUN_TEST_fF_f1): Likewise.
15589 (RUN_TEST_fI_f1): Likewise.
15590 (RUN_TEST_ffI_f1): Likewise.
15591 (RUN_TEST_c_c): Likewise.
15592 (RUN_TEST_cc_c): Likewise.
15593 (RUN_TEST_f_i): Likewise.
15594 (RUN_TEST_f_i_tg): Likewise.
15595 (RUN_TEST_ff_i_tg): Likewise.
15596 (RUN_TEST_f_b): Likewise.
15597 (RUN_TEST_f_b_tg): Likewise.
15598 (RUN_TEST_f_l): Likewise.
15599 (RUN_TEST_f_L): Likewise.
15600 (RUN_TEST_sincos): Likewise.
15601 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15602 whether to show exceptions. Do not include ");\n" in return
15603 value.
15604 (special_functions): Output call to RUN_TEST_sincos instead of
15605 check_float calls. Update calls to new_test.
15606 (parse_args): Output call to single RUN_TEST_* macro instead of
15607 check_* calls and other assignments. Update calls to new_test.
15608
d8cd06db
JM
15609 [BZ #2546]
15610 [BZ #2560]
15611 [BZ #5159]
15612 [BZ #15426]
15613 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15614 input to result for tgamma overflow.
15615 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15616 (gamma_coeff): New variable.
15617 (NCOEFF): New macro.
15618 (gamma_positive): New function.
15619 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15620 underflow here. Use gamma_positive instead of exp (lgamma) for
15621 other arguments.
15622 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15623 (gamma_coeff): New variable.
15624 (NCOEFF): New macro.
15625 (gammaf_positive): New function.
15626 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15627 underflow here. Use gamma_positive instead of exp (lgamma) for
15628 other arguments.
15629 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15630 (gamma_coeff): New variable.
15631 (NCOEFF): New macro.
15632 (gammal_positive): New function.
15633 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15634 underflow here. Use gamma_positive instead of exp (lgamma) for
15635 other arguments.
15636 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15637 (gamma_coeff): New variable.
15638 (NCOEFF): New macro.
15639 (gammal_positive): New function.
15640 (__ieee754_gammal_r): Handle positive infinity, overflow and
15641 underflow here. Handle NaN the same as positive infinity. Remove
15642 check x < 0xffffffff for negative integers. Use gamma_positive
15643 instead of exp (lgamma) for other arguments.
15644 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15645 (gamma_coeff): New variable.
15646 (NCOEFF): New macro.
15647 (gammal_positive): New function.
15648 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15649 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15650 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15651 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15652 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15653 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15654 * sysdeps/generic/math_private.h (__gamma_productf): New
15655 prototype.
15656 (__gamma_product): Likewise.
15657 (__gamma_productl): Likewise.
15658 * math/Makefile (libm-calls): Add gamma_product.
15659 * math/libm-test.inc (tgamma_test): Add more tests.
15660 * sysdeps/i386/fpu/libm-test-ulps: Update.
15661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15662
bb7cf681
OB
156632013-05-08 Ondřej Bílka <neleai@seznam.cz>
15664
15665 * benchtests/bench-skeleton.c (main): Preheat CPU.
15666
ba853947
AJ
156672013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15668
15669 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15670
8347c74c
RM
156712013-05-07 Roland McGrath <roland@hack.frob.com>
15672
15673 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15674 and _dl_skip_args_internal.
15675
e8dd4791
CD
156762013-05-07 Carlos O'Donell <carlos@redhat.com>
15677
15678 * manual/message.texi (Message Translation): Talk about users.
15679 Message to key mapping impacts design.
15680
c7405830
RM
156812013-05-06 Roland McGrath <roland@hack.frob.com>
15682
a9173057
RM
15683 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15684
976e2f03
RM
15685 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15686
9723ffc5
RM
15687 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15688 * sysdeps/wordsize-64/glob64.c: ... here.
15689
962e6658
RM
15690 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15691 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15692 New macros.
15693
ee586a6d
RM
15694 * debug/getlogin_r_chk.c: Moved to ...
15695 * login/getlogin_r_chk.c: ... here.
15696 * debug/Makefile (routines): Move getlogin_r_chk to ...
15697 * login/Makefile (routines): ... here.
15698 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15699 * login/Versions (libc: GLIBC_2.4): ... here.
15700
355f9165
RM
15701 * io/poll.c (__poll): Renamed from poll.
15702 Add libc_hidden_def.
15703 (poll): Define as weak alias.
15704
bd9ffde6
RM
15705 * debug/ptsname_r_chk.c: Moved to ...
15706 * login/ptsname_r_chk.c: ... here.
15707 * debug/Makefile (routines): Move ptsname_r_chk to ...
15708 * login/Makefile (routines): ... here.
15709 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15710 * login/Versions (libc: GLIBC_2.4): ... here.
15711
8fb16a04
RM
15712 * posix/getlogin.c: Moved to ...
15713 * login/getlogin.c: ... here.
15714 * posix/getlogin_r.c: Moved to ...
15715 * login/getlogin_r.c: ... here.
15716 * posix/getlogin_r.c: Moved to ...
15717 * login/getlogin_r.c: ... here.
15718 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15719 * login/Makefile (routines): ... here.
15720 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15721 * login/Versions (libc: GLIBC_2.0): ... here.
15722
b99b892f
RM
15723 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15724 (setrlimit): Define as weak alias.
15725
c7405830
RM
15726 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15727 Call __ names for open, ftruncate, and close.
15728 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15729 (truncate): Define as weak alias.
15730
5bf96de5
JM
157312013-05-06 Joseph Myers <joseph@codesourcery.com>
15732
9ea3513c
JM
15733 * math/gen-libm-test.pl (parse_args): Initialize x before each
15734 test of frexp, modf and remquo.
15735
5bf96de5
JM
15736 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15737 test signgam value.
15738
16e616a7
AZ
157392013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15740
15741 [BZ #15418]
15742 [BZ #15419]
15743 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15744 internal tests.
15745 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15746
d5e82754
RM
157472013-05-06 Roland McGrath <roland@hack.frob.com>
15748
15749 * elf/dl-writev.h: New file.
15750 * elf/dl-misc.c: Include it.
15751 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15752 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15753
a7548d41
JM
157542013-05-04 Joseph Myers <joseph@codesourcery.com>
15755
b7dab1e4
JM
15756 * math/libm-test.inc (noXFails): Remove variable.
15757 (noXPasses): Likewise.
15758 (BUILD_COMPLEX_INT): Remove macro.
15759 (print_screen): Remove xfail argument.
15760 (print_screen_max_error): Likewise.
15761 (update_stats): Likewise.
15762 (print_max_error): Likewise. Update calls to other affected
15763 functions.
15764 (print_complex_max_error): Likewise.
15765 (test_single_exception): Update calls to print_screen.
15766 (test_single_errno): Likewise.
15767 (check_float_internal): Remove xfail argument. Update calls to
15768 other affected functions.
15769 (check_float): Likewise.
15770 (check_complex): Likewise.
15771 (check_int): Likewise.
15772 (check_long): Likewise.
15773 (check_bool): Likewise.
15774 (check_longlong): Likewise.
15775 (main): Don't print noXFails and noXPasses.
15776 * math/gen-libm-test.pl (top level): Don't mention expected
15777 failure handling in comment.
15778 (new_test): Don't handle expected failures.
15779 (parse_args): Don't mention expected failure handling in comment.
15780 (generate_testfile): Don't handle expected failures.
15781 (parse_ulps): Likewise.
15782 (print_ulps_file): Likewise.
15783 (get_failure): Remove function.
15784 (output_test): Don't handle expected failures.
15785 * make/README.libm-test: Don't mention expected failure handling.
15786
a7548d41
JM
15787 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15788 (minus_zero): Likewise.
15789 (plus_infty): Likewise.
15790 (minus_infty): Likewise.
15791 (qnan_value): Likewise.
15792 (max_value): Likewise.
15793 (min_value): Likewise.
15794 (min_subnorm_value): Likewise.
15795 (initialize): Do not initialize those variables dynamically.
15796
60bfd54c
RM
157972013-05-03 Roland McGrath <roland@hack.frob.com>
15798
cc0e6ed8
RM
15799 * io/open.c (__open_2): Moved to ...
15800 * io/open_2.c: ... this new file.
15801 * io/open64.c (__open64_2): Moved to ...
15802 * io/open64_2.c: ... this new file.
15803 * io/openat.c (__openat_2): Moved to ...
15804 * io/openat_2.c: ... this new file.
15805 * io/openat64.c (__openat64_2): Moved to ...
15806 * io/openat64_2.c: ... this new file.
15807 * io/Makefile (routines): Add them.
15808 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15809 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15810 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15811 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15812 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15813 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15814 (__openat64): Add hidden_ver.
15815 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15816 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15817
60bfd54c
RM
15818 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15819 Separately conditionalize setting of GLRO(dl_sysinfo) so
15820 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15821 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15822
83e7640f
AZ
158232013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15824
15825 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15826 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15827 definition.
15828 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15829 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15830 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15831 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15832 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15833
d5dc2af3
JM
158342013-05-03 Joseph Myers <joseph@codesourcery.com>
15835
c31a5b1e
JM
15836 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15837 test signgam value.
15838
d5dc2af3
JM
15839 * math/libm-test.inc (hypot_test): Do not use
15840 IGNORE_ZERO_INF_SIGN.
15841
164fd39d
AJ
158422013-05-03 Andreas Jaeger <aj@suse.de>
15843
15844 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15845 Linux 3.9.
15846 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15847 (PF_MAX): Adjust for VSOCK change.
15848
8237f48c
AZ
158492013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15850
15851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15852
9df02941
CD
158532013-05-02 Carlos O'Donell <carlos@redhat.com>
15854
15855 [BZ #15264]
15856 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15857 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15858 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15859
d422395e
DM
158602013-05-02 David S. Miller <davem@davemloft.net>
15861
15862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15863
a07c5731
OB
158642013-05-01 Ondřej Bílka <neleai@seznam.cz>
15865
15866 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15867
1324e37f
RM
158682013-05-01 Roland McGrath <roland@hack.frob.com>
15869
15870 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15871
0695940b
RS
158722013-05-01 Richard Smith <richard@metafoo.co.uk>
15873
bb5f27ad 15874 [BZ #14952]
0695940b
RS
15875 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15876 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15877 Use __attribute__ ((__gnu_inline__)).
15878 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15879 Don't use __attribute__ ((__gnu_inline__)).
15880
10de07f5
JM
158812013-05-01 Joseph Myers <joseph@codesourcery.com>
15882
15883 [BZ #15423]
15884 * math/s_catan.c (__catan): Handle small real or imaginary part of
15885 input specially to avoid spurious underflow.
15886 * math/s_catanf.c (__catanf): Likewise.
15887 * math/s_catanh.c (__catanh): Likewise.
15888 * math/s_catanhf.c (__catanhf): Likewise.
15889 * math/s_catanhl.c (__catanhl): Likewise.
15890 * math/s_catanl.c (__catanl): Likewise.
15891 * math/libm-test.inc (catan_test): Add more tests.
15892 (catanh_test): Likewise.
15893 * sysdeps/i386/fpu/libm-test-ulps: Update.
15894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15895
cb4d5414
AZ
158962013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15897
15898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15899
caf84319
JM
159002013-04-30 Joseph Myers <joseph@codesourcery.com>
15901
15902 [BZ #15416]
15903 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15904 accurately for denominator in atan2.
15905 * math/s_catanf.c (__catanf): Likewise.
15906 * math/s_catanh.c (__catanh): Likewise.
15907 * math/s_catanhf.c (__catanhf): Likewise.
15908 * math/s_catanhl.c (__catanhl): Likewise.
15909 * math/s_catanl.c (__catanl): Likewise.
15910 * math/libm-test.inc (catan_test): Add more tests.
15911 (catanh_test): Likewise.
15912 * sysdeps/i386/fpu/libm-test-ulps: Update.
15913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15914
d569c6ee
SP
159152013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15916
6dbe713d
SP
15917 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15918
f0ee064b
SP
15919 * benchtests/Makefile (bench): Remove slow benchmarks.
15920 * benchtests/atan-inputs: Add slow benchmark inputs.
15921 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15922 (BENCH_FUNC): Accept variant offset.
15923 (VARIANT): Define.
15924 * benchtests/bench-skeleton.c (main): Run benchmark for each
15925 variant.
15926 * benchtests/cos-inputs: Add slow benchmark inputs.
15927 * benchtests/exp-inputs: Likewise.
15928 * benchtests/pow-inputs: Likewise.
15929 * benchtests/sin-inputs: Likewise.
15930 * benchtests/slowatan-inputs: Remove.
15931 * benchtests/slowatan.c: Remove.
15932 * benchtests/slowcos-inputs: Remove.
15933 * benchtests/slowcos.c: Remove.
15934 * benchtests/slowexp-inputs: Remove.
15935 * benchtests/slowexp.c: Remove.
15936 * benchtests/slowpow-inputs: Remove.
15937 * benchtests/slowpow.c: Remove.
15938 * benchtests/slowsin-inputs: Remove.
15939 * benchtests/slowsin.c: Remove.
15940 * benchtests/slowtan-inputs: Remove.
15941 * benchtests/slowtan.c: Remove.
15942 * benchtests/tan-inputs: Add slow benchmark inputs.
15943 * scripts/bench.pl: Parse comments and directives.
15944
d569c6ee
SP
15945 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15946 in CPPFLAGS.
15947 ($(objpfx)bench-%.c): Remove *-ITER.
15948 * benchtests/bench-modf.c: Remove definition of ITER.
15949 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15950 (main): Loop for DURATION seconds instead of fixed number of
15951 iterations.
15952 * scripts/bench.pl: Don't expect iterations in parameters.
15953
a6a242fe
RM
159542013-04-29 Roland McGrath <roland@hack.frob.com>
15955
15956 * io/fchdir.c (__fchdir): Renamed from fchdir.
15957 (fchdir): Define as weak alias.
15958
f2da7793
JM
159592013-04-29 Joseph Myers <joseph@codesourcery.com>
15960
15961 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15962 (ERRNO_EDOM): Likewise.
15963 (ERRNO_ERANGE): Likewise.
15964 (noErrnoTests): New variable.
15965 (init_max_error): Set errno to 0.
15966 (test_single_errno): New function.
15967 (test_errno): Likewise.
15968 (check_float_internal): Call test_errno. Set errno to 0.
15969 (check_complex): Refer to errno tests in comment.
15970 (check_int): Call test_errno. Set errno to 0.
15971 (check_long): Likewise.
15972 (check_bool): Likewise.
15973 (check_longlong): Likewise.
15974 (cos_test): Use ERRNO_* flags for errno tests instead of
15975 check_int.
15976 (expm1_test): Likewise.
15977 (fmod_test): Likewise.
15978 (ilogb_test): Likewise.
15979 (lgamma_test): Likewise.
15980 (pow_test): Likewise.
15981 (remainder_test): Likewise.
15982 (sin_test): Likewise.
15983 (tan_test): Likewise.
15984 (yn_test): Likewise.
15985 (initialize): Set errno to 0.
15986 (main): Print number of errno tests.
15987 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15988
b1a36ceb
AJ
159892013-04-29 Andreas Jaeger <aj@suse.de>
15990
c3ed8088
AJ
15991 [BZ #15084]
15992 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15993 and RES_USEVC.
15994
f1a24198
AJ
15995 [BZ #15085]
15996 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15997 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15998 unimplemented.
15999
9ce3b2cb
AJ
16000 [BZ #15380]
16001 * stdlib/random.c (__initstate): Return NULL if
16002 __initstate fails.
16003
f1a24198 16004 [BZ #15086]
b1a36ceb
AJ
16005 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16006 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16007 RES_SNGLKUPREOP.
16008
7e7b6f36
AZ
160092013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16010
16011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16012
4d14f449
JM
160132013-04-29 Joseph Myers <joseph@codesourcery.com>
16014
16015 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16016 of individual tests.
16017 (casin_test): Likewise.
16018 (casinh_test): Likewise.
16019
5b4217d7
JM
160202013-04-27 Joseph Myers <joseph@codesourcery.com>
16021
16022 [BZ #15409]
16023 * math/s_catan.c (__catan): Handle arguments with large real or
16024 imaginary part separately without squaring.
16025 * math/s_catanf.c (__catanf): Likewise.
16026 * math/s_catanh.c (__catanh): Likewise.
16027 * math/s_catanhf.c (__catanhf): Likewise.
16028 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16029 and redefine.
16030 (__catanhl): Handle arguments with large real or imaginary part
16031 separately without squaring.
16032 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16033 and redefine.
16034 (__catanl): Handle arguments with large real or imaginary part
16035 separately without squaring.
16036 * math/libm-test.inc (catan_test): Add more tests.
16037 (catanh_test): Likewise.
16038 * sysdeps/i386/fpu/libm-test-ulps: Update.
16039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16040
4220c3ef
AJ
160412013-04-27 Andreas Jaeger <aj@suse.de>
16042
16043 [BZ #15007]
16044 * stdlib/stdlib.h: Update guards for qecvt.
16045 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16046 <stdlib.h>.
16047
4721b2d1
AM
160482013-04-27 Allan McRae <allan@archlinux.org>
16049
16050 * sysdeps/i386/fpu/libm-test-ulps: Update.
16051
f0302940
JM
160522013-04-26 Joseph Myers <joseph@codesourcery.com>
16053
9457fd95
JM
16054 [BZ #15406]
16055 * math/s_catan.c: Include <float.h>.
16056 (__catan): Ensure underflow exception occurs for underflowed
16057 result.
16058 * math/s_catanf.c: Include <float.h>.
16059 (__catanf): Ensure underflow exception occurs for underflowed
16060 result.
16061 * math/s_catanh.c: Include <float.h>.
16062 (__catanh): Ensure underflow exception occurs for underflowed
16063 result.
16064 * math/s_catanhf.c: Include <float.h>.
16065 (__catanhf): Ensure underflow exception occurs for underflowed
16066 result.
16067 * math/s_catanhl.c: Include <float.h>.
16068 (__catanhl): Ensure underflow exception occurs for underflowed
16069 result.
16070 * math/s_catanl.c: Include <float.h>.
16071 (__catanl): Ensure underflow exception occurs for underflowed
16072 result.
16073 * math/libm-test.inc (catan_test): Add more tests.
16074 (catanh_test): Likewise.
16075
f0302940
JM
16076 [BZ #15405]
16077 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16078 underflowed result.
16079 * math/s_ccoshf.c (__ccoshf): Likewise.
16080 * math/s_ccoshl.c (__ccoshl): Likewise.
16081 * math/s_csin.c (__csin): Likewise.
16082 * math/s_csinf.c (__csinf): Likewise.
16083 * math/s_csinh.c (__csinh): Likewise.
16084 * math/s_csinhf.c (__csinhf): Likewise.
16085 * math/s_csinhl.c (__csinhl): Likewise.
16086 * math/s_csinl.c (__csinl): Likewise.
16087 * math/libm-test.inc (ccos_test): Add more tests.
16088 (ccosh_test): Likewise.
16089 (csin_test): Likewise.
16090 (csinh_test): Likewise.
16091
aa630f59
AZ
160922013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16093
16094 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16095 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16096 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16097 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16098 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16099 powerpc/power5+/fpu folders.
16100 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16101
16102
1b835983
MT
161032013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16104
16105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16106
73709b26
JM
161072013-04-25 Joseph Myers <joseph@codesourcery.com>
16108
16109 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16110 additions to variable.
16111 [$(config-machine) = x86_64] (modules-names): Likewise.
16112 ($(objpfx)tst-audit3): Remove dependency.
16113 ($(objpfx)tst-audit3.out): Likewise.
16114 ($(objpfx)tst-audit4): Likewise.
16115 ($(objpfx)tst-audit4.out): Likewise.
16116 ($(objpfx)tst-audit5): Likewise.
16117 ($(objpfx)tst-audit5.out): Likewise.
16118 ($(objpfx)tst-audit6): Likewise.
16119 ($(objpfx)tst-audit6.out): Likewise.
16120 ($(objpfx)tst-audit7): Likewise.
16121 ($(objpfx)tst-audit7.out): Likewise.
16122 (tst-audit3-ENV): Remove variable.
16123 (tst-audit4-ENV): Likewise.
16124 (tst-audit5-ENV): Likewise.
16125 (tst-audit6-ENV): Likewise.
16126 (tst-audit7-ENV): Likewise.
16127 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16128 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16129 addition to variable.
16130 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16131 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16132 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16133 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16134 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16135 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16136 tst-audit3, tst-audit4 and tst-audit5.
16137 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16138 tst-audit6 and tst-audit7.
16139 [$(subdir) = elf] (modules-names): Add audit modules for those
16140 tests.
16141 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16142 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16143 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16144 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16145 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16146 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16147 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16148 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16149 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16150 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16151 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16152 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16153 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16154 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16155 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16156 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16157 Likewise.
16158 [$(subdir) = elf && $(config-cflags-avx) = yes]
16159 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16160 [$(subdir) = elf && $(config-cflags-avx) = yes]
16161 (CFLAGS-tst-auditmod4a.c): Likewise.
16162 [$(subdir) = elf && $(config-cflags-avx) = yes]
16163 (CFLAGS-tst-auditmod4b.c): Likewise.
16164 [$(subdir) = elf && $(config-cflags-avx) = yes]
16165 (CFLAGS-tst-auditmod6b.c): Likewise.
16166 [$(subdir) = elf && $(config-cflags-avx) = yes]
16167 (CFLAGS-tst-auditmod6c.c): Likewise.
16168 [$(subdir) = elf && $(config-cflags-avx) = yes]
16169 (CFLAGS-tst-auditmod7b.c): Likewise.
16170 * elf/tst-audit3.c: Move to ...
16171 * sysdeps/x86_64/tst-audit3.c: ... here.
16172 * elf/tst-audit4.c: Move to ...
16173 * sysdeps/x86_64/tst-audit4.c: ... here.
16174 * elf/tst-audit5.c: Move to ...
16175 * sysdeps/x86_64/tst-audit5.c: ... here.
16176 * elf/tst-audit6.c: Move to ...
16177 * sysdeps/x86_64/tst-audit6.c: ... here.
16178 * elf/tst-audit7.c: Move to ...
16179 * sysdeps/x86_64/tst-audit7.c: ... here.
16180 * elf/tst-auditmod3a.c: Move to ...
16181 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16182 * elf/tst-auditmod3b.c: Move to ...
16183 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16184 * elf/tst-auditmod4a.c: Move to ...
16185 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16186 * elf/tst-auditmod4b.c: Move to ...
16187 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16188 * elf/tst-auditmod5a.c: Move to ...
16189 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16190 * elf/tst-auditmod5b.c: Move to ...
16191 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16192 * elf/tst-auditmod6a.c: Move to ...
16193 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16194 * elf/tst-auditmod6b.c: Move to ...
16195 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16196 * elf/tst-auditmod6c.c: Move to ...
16197 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16198 * elf/tst-auditmod7a.c: Move to ...
16199 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16200 * elf/tst-auditmod7b.c: Move to ...
16201 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16202
1ef74943
PP
162032013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16204
16205 [BZ #15366]
16206 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16207 define unconditionally.
16208 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16209 define unconditionally.
16210 (INT8_C, INT16_C, etc.): Likewise.
16211
93fd48c5
MR
162122013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16213
ae9552cf
MR
16214 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16215 __ehdr_start with hidden visibility.
16216
93fd48c5
MR
16217 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16218
418601aa
CD
162192013-04-24 Carlos O'Donell <carlos@redhat.com>
16220
16221 * math/libm-test.inc (cos_test): Use accurate hex constants.
16222 (sincost_test): Likewise.
16223
2f38fbfe
JM
162242013-04-24 Joseph Myers <joseph@codesourcery.com>
16225
5e221800
JM
16226 * math/libm-test.inc (catan_test): Add more tests.
16227 (catanh_test): Likewise.
16228
77f143fd
JM
16229 * math/s_catanf.c (__catanf): Use suffixed floating-point
16230 constants.
16231 * math/s_catanhf.c (__catanhf): Likewise.
16232 * math/s_catanhl.c (__catanhl): Likewise.
16233 * math/s_catanl.c (__catanl): Likewise.
16234
2f38fbfe
JM
16235 [BZ #15394]
16236 * math/s_catan.c (__catan): Calculate imaginary part of result
16237 with log1p not log unless computing log of number close to 0.
16238 * math/s_catanf.c (__catanf): Likewise.
16239 * math/s_catanl.c (__catanl): Likewise.
16240 * math/s_catanh.c (__catanh): Calculate real part of result with
16241 log1p not log unless computing log of number close to 0.
16242 * math/s_catanhf.c (__catanhf): Likewise.
16243 * math/s_catanhl.c (__catanhl): Likewise.
16244 * math/libm-test.inc (catan_test): Add more tests.
16245 (catanh_test): Likewise.
16246 * sysdeps/i386/fpu/libm-test-ulps: Update.
16247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16248
45d69176
SP
162492013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16250
16251 * benchtests/Makefile: Mention files in which fast and slow
16252 paths of math functions are implemented.
16253
87f51853
RM
162542013-04-23 Roland McGrath <roland@hack.frob.com>
16255
16256 * sysdeps/posix/timespec_get.c: New file.
16257
3c026539
AZ
162582013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16259
16260 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16261 POWER.
16262 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16263 for POWER.
16264 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16265 powerpc/power5/fpu folders.
16266 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16267 * benchtests/Makefile: Add modf testcase.
16268 * benchtests/bench-modf.c: New file: Benchmark test for mo
16269
ff491d14
SP
162702013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16271
16272 [BZ #14888]
16273 * time/Makefile (tests): Add tst-strptime-whitespace.
16274 * time/strptime_l.c (get_number): Use ISSPACE.
16275 (__strptime_internal): Likewise.
16276 * time/tst-strptime-whitespace.c: New test case.
16277
7ed3f4e8
AS
162782013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16279
16280 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16281 member.
16282 (_nss_files_init): Set it here.
16283
5c95f7b6
HC
162842013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16285
16286 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16287 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16288 unsigned.
16289
d34c9158
JBG
162902013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16291
16292 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16293
2169712d
SP
162942013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16295
16296 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16297 size just once.
16298
29c5de99
DM
162992013-04-21 David S. Miller <davem@davemloft.net>
16300
16301 * po/ru.po: Update Russion translation from translation project.
16302
ccdad15d
AC
163032013-04-17 Adam Conrad <adconrad@0c3.net>
16304
16305 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16306 and setfsgid.
16307
0f122b8d
CD
163082013-04-17 Carlos O'Donell <carlos@redhat.com>
16309
5c5b07da 16310 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 16311 * configure: Regenerate.
5c5b07da 16312 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
16313 Add example to error message.
16314 * sysdeps/i386/configure: Regenerate.
16315
037714dd
SP
163162013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16317
16318 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16319 slowtan.
16320 * benchtests/cos-inputs: New file.
16321 * benchtests/slowcos-inputs: New file.
16322 * benchtests/slowcos.c: New file.
16323 * benchtests/slowtan-inputs: New file.
16324 * benchtests/slowtan.c: New file.
16325 * benchtests/tan-inputs: New file.
16326
e913141d
RM
163272013-04-16 Roland McGrath <roland@hack.frob.com>
16328
16329 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16330 considered kosher.
16331
a2964074
SP
163322013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16333
4856bcd2
SP
16334 * benchtests/Makefile: Include cppflags-iterator.mk to add
16335 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16336
a2964074
SP
16337 * Makefile.in (bench-clean): New target.
16338 * benchtests/Makefile (bench-clean): Likewise.
16339
9fbf9aca
DH
163402013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16341
16342 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16343
207d1e2a
TS
163442013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16345
16346 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16347
306dfba9
AS
163482013-04-15 Andreas Schwab <schwab@suse.de>
16349
16350 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16351 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16352 * nscd/pwdcache.c (cache_addpw): Likewise.
16353 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16354 more than recsize.
16355
206a6699
SP
163562013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16357
16358 * benchtests/Makefile (bench): Write all output to
16359 bench-out.tmp together.
16360
0582f6b3
AS
163612013-04-15 Andreas Schwab <schwab@suse.de>
16362
16363 * nscd/nscd.c (main): Don't fork again after closing files.
16364
acb4325f
SP
163652013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16366
5cb26d0a
SP
16367 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16368
acb4325f
SP
16369 * benchtests/Rules (bench-deps): Collect dependencies into a
16370 single variable. Add Makefile to dependencies.
16371 ($(objpfx)bench-%.c): Depend on bench-deps.
16372
47792506
RM
163732013-04-12 Roland McGrath <roland@hack.frob.com>
16374 Xavier Roche <roche+kml2@exalead.com>
16375
16376 [BZ #15361]
16377 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16378 just that it's a file descriptor.
16379 * manual/llio.texi (Synchronizing AIO Operations): Update description
16380 for EBADF error from aio_fsync.
16381
8fc1bee5
SP
163822013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16383
16384 * Rules (bench): Move target definition...
16385 * benchtests/Makefile: ... here.
16386
aba5e333
CD
163872013-04-11 Carlos O'Donell <carlos@redhat.com>
16388
16389 * math/libm-test.inc (cos_test): Fix PI/2 test.
16390 (sincos_test): Likewise.
16391 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16392 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16393
273cdee8
AS
163942013-04-11 Andreas Schwab <schwab@suse.de>
16395
6ecec3b6
AS
16396 [BZ #13988]
16397 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16398 accept exponent character only when digits were seen.
16399 * stdio-common/Makefile (tests): Add bug26.
16400 * stdio-common/bug26.c: New file.
16401
273cdee8
AS
16402 [BZ #14293]
16403 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16404 non-freeable.
16405
8da491f5
SP
164062013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16407
01dc6df9
SP
16408 * Makeconfig (rtld-prefix): Define built linker prefix.
16409 * Rules (run-bench): Use it.
16410 * math/Makefile (run-regen-ulps): Likewise.
16411
8da491f5
SP
16412 * Rules (bench): Remove eval.
16413
abe7f530
SP
164142013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16415 Roland McGrath <roland@hack.frob.com>
16416 Ondrej Bilka <neleai@seznam.cz>
16417
16418 [BZ #15346]
16419 * time/getdate.c: Include ctype.h and alloca.h.
16420 (__getdate_r): Trim leading and trailing spaces of input.
16421 * time/tst-getdate.c (tests): Add tests with leading and
16422 trailing spaces.
16423
61c23e62
RM
164242013-04-08 Roland McGrath <roland@hack.frob.com>
16425
16426 [BZ #14280]
16427 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16428 when computing value.
16429
7208a313
CD
164302013-04-06 Carlos O'Donell <carlos@redhat.com>
16431
085b2d41
CD
16432 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16433 Use testrun.sh to run libm tests.
16434
7208a313
CD
16435 [BZ #15309]
16436 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16437
872c0acd
MM
164382013-04-06 Marko Myllynen <myllynen@redhat.com>
16439
16440 [BZ #15264]
16441 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16442
26510bdd
CD
164432013-04-06 Carlos O'Donell <carlos@redhat.com>
16444
16445 * Makefile.in (regen-ulps): New target.
16446 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16447 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16448 [ifneq (no,$(PERL)] (regen-ulps): New target.
16449 [ifeq (no,$(PERL)] (regen-ulps): New target.
16450 * math/libm-test.inc (ulps_file_name): Define.
16451 (output_dir): New variable.
16452 (options): Add "output-dir" option.
16453 (parse_opt): Handle 'o' case.
16454 (main): If output_dir is non-NULL use it as a prefix
16455 otherwise use "".
16456 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16457
a01f19c8
CD
164582013-04-06 Carlos O'Donell <carlos@redhat.com>
16459
16460 [BZ #10060, #10062]
16461 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16462 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16463 fail configure if __sync_val_compare_and_swap is not inlined.
16464 * sysdeps/i386/configure: Regenerate.
16465 * configure.in: Build for i686 when configured for i386.
16466 * configure: Regenerate.
16467 * README: Remove i386 reference.
16468
b7a329a5
CD
164692013-04-06 Carlos O'Donell <carlos@redhat.com>
16470
16471 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16472 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16473
bf0f50df
TS
164742013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16475
ee091edf
TS
16476 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16477 (lmsnanval): New variables.
16478 (F): Add conversion tests.
16479 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16480 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16481
a8b792d6
TS
16482 * stdio-common/tstdiomisc.c (F): Properly collect individual
16483 tests' results.
16484
a1cbf437
TS
16485 [BZ #14686, #15336]
16486 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16487 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16488 Instead, use input NaN values or generate a qNaN by arithmetic
16489 operation. Also fix bugs to comply with the standard.
16490 * math/libm-test.inc (remainder_test): Add more tests.
16491
8b43a0c9
TS
16492 [BZ #15335, #15342]
16493 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16494 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16495 input NaN values or generate a qNaN by arithmetic operation.
16496
d91da4ce
TS
16497 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16498 unreachable code.
16499
bf0f50df
TS
16500 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16501 definitions.
16502
05e166c8
JM
165032013-04-03 Joseph Myers <joseph@codesourcery.com>
16504
16505 [BZ #14478]
16506 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16507 underflowed result.
16508 * math/s_cexpf.c (__cexpf): Likewise.
16509 * math/s_cexpl.c (__cexpl): Likewise.
16510 * math/libm-test.inc (cexp_test): Add more tests.
16511
1cef1b19
AS
165122013-04-03 Andreas Schwab <schwab@suse.de>
16513
16514 [BZ #15330]
16515 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16516 order arrays from heap if bigger than alloca cutoff.
16517
74d87055
TS
165182013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16519
16520 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16521 (SNAN_TESTS_double): Refer to GCC PR56831.
16522 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16523 GCC PR56828.
16524
d755bba4
SP
165252013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16526
90d5d5bb
SP
16527 * Rules (bench): Move bench.out after the run is complete.
16528
73e0cd5d
SP
16529 * Rules (bench): Echo currently running benchmark.
16530
64aabd4b
SP
16531 * benchtests/Makefile (bench): Add atan and slowatan.
16532 * benchtests/atan-inputs: New file.
16533 * benchtests/slowatan-inputs: New file.
16534 * benchtests/slowatan.c: New file.
16535
c871eccd
SP
16536 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16537 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16538 its value.
16539
d755bba4
SP
16540 [BZ #15305]
16541 * sysdeps/unix/sysv/linux/kernel-features.h
16542 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16543 __ASSUME_XFS_RESTRICTED_CHOWN.
16544 * sysdeps/unix/sysv/linux/pathconf.c
16545 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16546 Save and restore errno.
16547
52ce4860
JM
165482013-04-02 Joseph Myers <joseph@codesourcery.com>
16549
16550 [BZ #15327]
16551 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16552 arguments using __kernel_casinh.
16553 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16554 arguments using __kernel_casinhf.
16555 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16556 arguments using __kernel_casinhl.
16557 * math/libm-test.inc (cacosh_test): Add more tests.
16558 * sysdeps/i386/fpu/libm-test-ulps: Update.
16559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16560
81f311c2
SP
165612013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16562
e7906a47
SP
16563 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16564 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16565
92e3664b
SP
16566 * bench/Makefile (bench): Add sin and slowsin.
16567 * benchtests/sin-inputs: New file.
16568 * benchtests/slowsin-inputs: New file.
16569 * benchtests/slowsin.c: New file.
16570
81f311c2
SP
16571 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16572 (bench): Add slowexp and slowpow.
16573 (exp-ITER): Increase iterations.
16574 (pow-ITER): Likewise.
16575 * benchtests/exp-inputs: Change input.
16576 * benchtests/pow-inputs: Likewise.
16577 * benchtests/slowexp-inputs: New file.
16578 * benchtests/slowexp.c: New file.
16579 * benchtests/slowpow-inputs: New file.
16580 * benchtests/slowpow.c: New file.
16581
ab0f1aa9
AZ
165822013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16583
16584 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16585 instructions.
16586 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16587 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16588 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16589 * benchtests/Makefile: Add rint benchtest.
16590 * benchtests/rint-inputs: Input for rint benchtest.
16591
57267616
TS
165922013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16593
16594 * Versions.def (libm): Add GLIBC_2.18.
16595 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16596 hidden libm prototypes.
16597 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16598 * math/Makefile (libm-calls): Add s_issignaling.
16599 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16600 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16601 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16602 declaration.
16603 * math/math.h [__USE_GNU] (issignaling): New macro.
16604 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16605 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16607 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16608 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16609 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16610 * manual/arith.texi (issignaling): New section.
16611 * manual/libm-err-tab.pl (@all_functions): Update comment.
16612 * math/gen-libm-test.pl (parse_args): Apply special handling for
16613 issignaling.
16614 * math/libm-test.inc (print_float, issignaling_test): New
16615 functions.
16616 (check_float_internal): Add issignaling checks.
16617 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16618 default definition.
16619 * sysdeps/powerpc/math-tests.h: New file.
16620 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16621 tests.
16622 * math/test-snan.c (TEST_FUNC): Likewise.
16623
6142896d
DM
166242013-03-30 David S. Miller <davem@davemloft.net>
16625
16626 * po/de.po: Update from translation team.
16627
ccc8cadf
JM
166282013-03-30 Joseph Myers <joseph@codesourcery.com>
16629
16630 [BZ #10357]
16631 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16632 imaginary part less than 1.0 and real part less than 0.5
16633 specially.
16634 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16635 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16636 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16637 (cacos_test): Add more tests.
16638 (casin_test): Likewise.
16639 (casinh_test): Likewise.
16640 * sysdeps/i386/fpu/libm-test-ulps: Update.
16641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16642
0f6a8d4b
SP
166432013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16644
0d1029de
SP
16645 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16646 ONE with its value.
16647
c2d94018
SP
16648 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16649 (__pow_mp): Replace ONE and MONE with their values.
16650 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16651 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16652 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16653 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16654 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16655 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16656
27ec37f1
SP
16657 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16658
a64d7e0e
SP
16659 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16660 (__pow_mp): Replace ZERO and MZERO with their values.
16661 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16662 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16663 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16665 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16666 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16667 (__sqr): Likewise.
16668
d26dd3eb
SP
16669 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16670
0f6a8d4b
SP
16671 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16672
e57b0c61
RM
166732013-03-28 Roland McGrath <roland@hack.frob.com>
16674
16675 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16676 Declare with __attribute__ ((weak)).
16677 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16678 Call __call_tls_dtors only if it's not NULL.
16679
356b3480
RM
166802013-03-28 Roland McGrath <roland@hack.frob.com>
16681
288f7d79
RM
16682 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16683 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16684 magic __ehdr_start linker symbol if it's defined.
16685 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16686 them up here if it was already done.
16687
dc0a0263
RM
16688 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16689 (_dl_aux_init): Use const in cast when setting it.
16690 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16691 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16692 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16693
3d3436ae
RM
16694 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16695 Declare them here.
16696 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16697 * csu/libc-tls.c: Nor here.
16698 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16699
356b3480
RM
16700 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16701 (__libc_message): Never call vsyslog.
16702
b0f1246a
AM
167032013-03-28 Alan Modra <amodra@gmail.com>
16704
16705 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16706 Define as empty.
16707 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16708 Likewise.
16709
fbbe2b9a
AZ
167102013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16711
16712 [BZ #15214]
16713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16714 underflow.
16715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16716
1728ab37
SP
167172013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16718
7a86be6e
SP
16719 [BZ #15304]
16720 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16721 Don't add gid passed as argument.
16722
1728ab37
SP
16723 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16724
3a7182a1
JM
167252013-03-27 Joseph Myers <joseph@codesourcery.com>
16726
16727 [BZ #15307]
16728 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16729 imaginary part between 1.0 and 1.5 and real part less than 0.5
16730 specially.
16731 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16732 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16733 * math/libm-test.inc (cacos_test): Add more tests.
16734 (casin_test): Likewise.
16735 (casinh_test): Likewise.
16736 * sysdeps/i386/fpu/libm-test-ulps: Update.
16737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16738
6f2e90e7
SP
167392013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16740
5739f705
SP
16741 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16742 constants.
16743 (norm): Likewise.
16744 (denorm): Likewise.
16745 (__dbl_mp): Likewise.
16746 (add_magnitudes): Likewise.
16747 (sub_magnitudes): Likewise.
16748 (__add): Likewise.
16749 (__sub): Likewise.
16750 (__mul): Likewise.
16751 (__sqr): Likewise.
16752 (__inv): Likewise.
16753 (__dvd): Likewise.
16754
e375e83d
SP
16755 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16756 commented code.
16757 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16758 (__dubcos): Likewise.
16759 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16760 (__ieee754_acos): Likewise.
16761 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16762 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16763 (__exp1): Likewise.
16764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16765 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16766 (log1): Likewise.
16767 (my_log2): Likewise.
16768 (checkint): Likewise.
16769 * sysdeps/ieee754/dbl-64/e_remainder.c
16770 (__ieee754_remainder): Likewise.
16771 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16772 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16773 (bsloww): Likewise.
16774 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16775
6f2e90e7
SP
16776 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16777 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16778 MANTISSA_STORE_T to store computations on mantissa. Use
16779 macros for rounding and division.
16780 (denorm): Likewise.
16781 (__dbl_mp): Likewise.
16782 (add_magnitudes): Likewise.
16783 (sub_magnitudes): Likewise.
16784 (__mul): Likewise.
16785 (__sqr): Likewise.
16786 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16787 powers of two in terms of TWOPOW macro.
16788 (mp_no): Make type of mantissa as MANTISSA_T.
16789 [!RADIXI]: Define RADIXI.
16790 [!TWO52]: Define TWO52.
16791 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16792
fce14d4e
AZ
167932013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16794
16795 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16796 llroundl symbol when building for PPC32.
16797
9ad027fb
MW
167982013-03-24 Mark H Weaver <mhw@netris.org>
16799
16800 * manual/arith.texi (Normalization Functions): Fix prototypes for
16801 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16802
e42a38dd
AZ
168032013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16804
16805 [BZ #13889]
16806 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16807 high value to check if expl overflow.
16808 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16809 to check for underflow and overflow.
16810 * math/libm-test.inc: Add exp test.
16811
2e0fb521
DL
168122013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16813
16814 [BZ #11120]
16815 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16816 with NOT_IN_libc.
16817
b5784d95
AZ
168182013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16819
16820 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16821 symbol.
16822
5aa4a1a1
TS
168232013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16824
bdef0be7
TS
16825 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16826 wrap blocks consisting of several statements.
16827
5aa4a1a1
TS
16828 * sysdeps/generic/math-tests.h: New file.
16829 * sysdeps/i386/fpu/math-tests.h: Likewise.
16830 * math/test-snan.c: Include it.
16831 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16832
98c48fe5
JM
168332013-03-21 Joseph Myers <joseph@codesourcery.com>
16834
16835 [BZ #15285]
16836 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16837 (__ieee754_j0l): Do not improve calculations using cos of twice
16838 input for inputs above LDBL_MAX / 2.0L.
16839 (__ieee754_y0l): Likewise.
16840 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16841 (__ieee754_j1l): Do not improve calculations using cos of twice
16842 input for inputs above LDBL_MAX / 2.0L.
16843 (__ieee754_y1l): Likewise.
16844 * math/libm-test.inc (j0_test): Add another test.
16845 (j1_test): Likewise.
16846 (y0_test): Likewise.
16847 (y1_test): Likewise.
16848 * sysdeps/i386/fpu/libm-test-ulps: Update.
16849
3775a8bc
SP
168502013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16851
16852 * Rules ($(objpfx)bench-%.c): Include code from a C source
16853 file.
16854
0a1b2ae6
JM
168552013-03-21 Joseph Myers <joseph@codesourcery.com>
16856
16857 [BZ #15287]
16858 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16859 imaginary part 1.0 and real part less than 0.5 specially.
16860 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16861 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16862 * math/libm-test.inc (cacos_test): Add more tests.
16863 (casin_test): Likewise.
16864 (casinh_test): Likewise.
16865 * sysdeps/i386/fpu/libm-test-ulps: Update.
16866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16867
b33d4ce4
SP
168682013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16869
16870 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16871 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16872
bef0b507
JM
168732013-03-20 Joseph Myers <joseph@codesourcery.com>
16874
16875 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16876 * config.make.in (config-cflags-sse4): Remove variable.
16877 (config-cflags-avx): Likewise.
16878 (config-cflags-sse2avx): Likewise.
16879 (config-cflags-novzeroupper): Likewise.
16880 (config-asflags-i686): Likewise.
16881 (have-mfma4): Likewise.
16882 (have-as-vis3): Likewise.
16883 (MIG): Likewise.
16884 * configure.in (MIG): Do not AC_SUBST.
16885 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16886 (libc_cv_cc_sse4): Do not AC_SUBST.
16887 (libc_cv_cc_avx): Likewise.
16888 (libc_cv_cc_sse2avx): Likewise.
16889 (libc_cv_cc_novzeroupper): Likewise.
16890 (libc_cv_cc_fma4): Likewise.
16891 (libc_cv_as_i686): Likewise.
16892 (libc_cv_sparc_as_vis3): Likewise.
16893 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16894 LIBC_CONFIG_VAR.
16895 (config-asflags-i686): Likewise.
16896 (config-cflags-avx): Likewise.
16897 (config-cflags-sse2avx): Likewise.
16898 (have-mfma4): Likewise.
16899 (config-cflags-novzeroupper): Likewise.
16900 * sysdeps/mach/configure.in (MIG): Likewise.
16901 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16902 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16903 LIBC_CONFIG_VAR.
16904 (config-cflags-avx): Likewise.
16905 (config-cflags-sse2avx): Likewise.
16906 (have-mfma4): Likewise.
16907 (config-cflags-novzeroupper): Likewise.
16908 * configure: Regenerated.
16909 * sysdeps/i386/configure: Likewise.
16910 * sysdeps/mach/configure: Likewise.
16911 * sysdeps/sparc/configure: Likewise.
16912 * sysdeps/x86_64/configure: Likewise.
16913
912cc4b3
RM
169142013-03-20 Roland McGrath <roland@hack.frob.com>
16915
16916 [BZ #14812]
16917 * locale/programs/localedef.c (options): Put N_ translation marker
16918 on argument names, not just descriptions.
16919
04eed2b0
MS
169202013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16921
16922 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16923
a065ceff
OB
169242013-03-20 Ondřej Bílka <neleai@seznam.cz>
16925
9bb2a810 16926 [BZ #14176]
a065ceff
OB
16927 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16928
a600e5ce
RM
169292013-03-19 Roland McGrath <roland@hack.frob.com>
16930
16931 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16932 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16933 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16934 [!BEFORE_ABORT] (before_abort): New function.
16935 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16936 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16937 (writev_for_fatal): New function.
16938 (WRITEV_FOR_FATAL): New macro; call that.
16939 (backtrace_and_maps): New function.
16940 (BEFORE_ABORT): New macro; call that.
16941 (struct str_list): Type removed.
16942 (__libc_message, __libc_fatal): Functions removed.
16943 Include <sysdeps/posix/libc_fatal.c> instead.
16944
6b18bea6
JM
169452013-03-19 Joseph Myers <joseph@codesourcery.com>
16946
16947 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16948 constants.
16949 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16950 double constants.
16951
aaa8cb4b
AS
169522013-03-19 Andreas Schwab <schwab@suse.de>
16953
44673770
AS
16954 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16955 * sysdeps/gnu/configure: Regenerate.
16956
aaa8cb4b
AS
16957 * configure.in: Substitute libc_cv_rtlddir.
16958 * configure: Regenerate.
16959 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16960 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16961 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16962 * elf/Makefile (install-others, CFLAGS-interp.c)
16963 (ldso_install, common-ldd-rewrite): Likewise.
16964 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16965 $(inst_slibdir)/$(rtld-installed-name).
16966 * scripts/rellns-sh: Add -p option.
16967 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16968 for source.
16969
d3cfc668
SP
169702013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16971
16972 * manual/nptl.texi: Renamed to ...
16973 * manual/threads.texi: ... this.
16974 * manual/Makefile (chapters): Update.
16975
0e2b9cdd
RM
169762013-03-18 Roland McGrath <roland@hack.frob.com>
16977
16978 [BZ #14812]
16979 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16980 on argument names, not just descriptions.
0e2b9cdd
RM
16981 * malloc/memusagestat.c (options): Likewise.
16982 * nss/getent.c (options): Likewise.
63270c24
RM
16983
169842013-03-18 Benno Schulenberg <bensberg@justemail.net>
16985
16986 [BZ #14812]
16987 * iconv/iconv_prog.c (options): Put N_ translation marker
16988 on argument names, not just descriptions.
16989 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16990
b2e1393c
OB
169912013-03-18 Ondrej Bilka <neleai@seznam.cz>
16992
16993 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16994 implementation which is faster on all x86_64 architectures.
16995 Tested on AMD, Intel Nehalem, SNB, IVB.
16996 * sysdeps/x86_64/strnlen.S: Likewise.
16997
16998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16999 Remove all multiarch strlen and strnlen versions.
17000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17001 Remove strlen and strnlen related parts.
17002
17003 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17004 Inline strlen part.
17005 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17006
17007 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17008 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17009 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17010 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17011 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17012 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17013
ec4ff04d
CD
170142013-03-17 Carlos O'Donell <carlos@redhat.com>
17015
17016 * manual/memory.texi (Malloc Tunable Parameters):
17017 Sort parameters alphabetically. Add comments for missing entries.
17018
cd18e90a
DM
170192013-03-17 David S. Miller <davem@davemloft.net>
17020
17021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17022
2a185d32
JM
170232013-03-16 Joseph Myers <joseph@codesourcery.com>
17024
d2f9799e
JM
17025 [BZ #15283]
17026 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17027 for arguments at most half maximum finite value.
17028 * math/libm-test.inc (j0_test): Add more tests.
17029 (j1_test): Likewise.
17030 (y0_test): Likewise.
17031 (y1_test): Likewise.
17032 * sysdeps/i386/fpu/libm-test-ulps: Update.
17033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17034
2a185d32
JM
17035 [BZ #14155]
17036 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17037 1 / x and functions P and Q for arguments above 0x1p256L.
17038 (__ieee754_y0l): Likewise.
17039 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17040 (__ieee754_y1l): Likewise.
17041 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17042 (j1_test): Likewise.
17043 (y0_test): Likewise.
17044 (y1_test): Likewise.
17045
6cbec759
TS
170462013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17047
17048 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17049 variable.
17050
bc16e260
RM
170512013-03-15 Roland McGrath <roland@hack.frob.com>
17052
aefc9b8c
RM
17053 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17054 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17055 zero since it's initialized to EXEC_PAGESIZE.
17056
bc16e260
RM
17057 * sysdeps/unix/sysv/linux/ldsodefs.h
17058 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17059 * sysdeps/generic/ldsodefs.h: ... here.
17060
a57da955
TS
170612013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17062
af00a34d
TS
17063 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17064
495ded2c
TS
17065 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17066 math/test-snan.c.
17067 * math/test-snan.c: Renamed from
17068 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17069 * math/Makefile (tests): Add test-snan.
17070 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17071 test-powerpc-snan.
17072
777b0332
TS
17073 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17074 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17075 functions.
17076 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17077 __builtin_nan family of functions.
17078 * math/libm-test.inc (initialize): Initialize qnan_value with
17079 __builtin_nan family of functions.
17080 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17081 Remove variables.
17082 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17083 Remove functions.
17084 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17085 storage class. Initialize qNaN_var and sNaN_var with
17086 __builtin_nan and __builtin_nans families of functions,
17087 respectively.
17088
64d063b8
TS
17089 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17090 (sqrt_test): Remove duplicate test with qNaN input.
17091 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17092 (round_test, signbit_test, significand_test): Note missing +/-Inf
17093 as well as qNaN tests.
17094
67e971f1
TS
17095 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17096 qNaN_var. Fix a few strings, too.
17097 * math/libm-test.inc (nan_value): Rename to qnan_value.
17098 * math/gen-libm-test.pl (%beautify): Adjust to that.
17099 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17100 * math/test-misc.c (main): Likewise.
17101 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17102 to __qnan_bytes, and __qnan_union, respectively.
17103 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17104 Likewise.
17105 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17106 and lqnanval, respectively.
17107 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17108 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17109 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17110 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17111
64487e12
TS
17112 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17113 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17114 doubles.
17115
e015e27b
TS
17116 * math/test-misc.c (main): Fix copy'n'pastos.
17117 * misc/tst-efgcvt.c (special): Likewise.
17118
a57da955
TS
17119 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17120 Remove declarations.
17121
1e380345
SP
171222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17123
17124 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17125 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17126 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17127 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17128
ef26eece
AZ
171292013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17130
17131 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17132 macro to return vdso values correctly in IFUNC implementations.
17133 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17134 Optimization by using IFUNC.
17135
8cfdb7e0
SP
171362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17137 Richard Henderson <rth@redhat.com>
17138 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17139
17140 * Makefile.in (bench): New target.
17141 * NEWS: Mention the benchmark framework.
17142 * Rules (bench): Likewise.
17143 (binaries-bench): Generate binaries for functions to
17144 benchmark.
17145 * benchtests/Makefile: New makefile for benchmark tests.
17146 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17147 programs.
17148 * benchtests/exp-inputs: New input file for EXP function.
17149 * benchtests/pow-inputs: New input file for POW function.
17150 * scripts/bench.pl: New script to generate source files for
17151 benchmark programs.
17152
bcda9880
SP
171532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17154
d22ca8cd
SP
17155 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17156 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17157 computations on mantissa. Use macros for rounding and
17158 division.
17159 (denorm): Likewise.
17160 (__dbl_mp): Likewise.
17161 (add_magnitudes): Likewise.
17162 (sub_magnitudes): Likewise.
17163 (__mul): Likewise.
17164 (__sqr): Likewise.
17165 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17166 powers of two in terms of TWOPOW macro.
17167 (mp_no): Make type of mantissa as MANTISSA_T.
17168 [!RADIXI]: Define RADIXI.
17169 [!TWO52]: Define TWO52.
17170 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17171
bcda9880
SP
17172 * manual/nptl.texi (cindex): Modify threads to pthreads.
17173
06d5adfb
JM
171742013-03-15 Joseph Myers <joseph@codesourcery.com>
17175
17176 * sysdeps/x86_64/preconfigure: Regenerated.
17177
41c7328e
JM
171782013-03-14 Joseph Myers <joseph@codesourcery.com>
17179
17180 [BZ #14155]
17181 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17182 0x1p28 and above.
17183 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17184 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17185 0x1p28 and above.
17186 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17187 * math/libm-test.inc (j0_test): Do not allow one spurious
17188 underflow exception.
17189 (y1_test): Likewise.
17190
e25cfa60
SP
171912013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17192
0409959c
SP
17193 * manual/Makefile (chapters): Add nptl.
17194 * manual/debug.texi (Debugging Support): Add link to Threads
17195 chapter.
17196 * manual/nptl.texi: New file.
17197
e25cfa60
SP
17198 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17199
58a1335e
PB
172002013-03-14 Petr Baudis <pasky@ucw.cz>
17201
17202 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17203 for non-NULL pointer before the memory validity test. Pointed
17204 out by Holger Brunck <holger.brunck@keymile.com>.
17205
9dc7c64f
AS
172062013-03-13 Andreas Schwab <schwab@suse.de>
17207
17208 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17209 instead of .os.
17210
54206aa6
JM
172112013-03-13 Joseph Myers <joseph@codesourcery.com>
17212
17213 * timezone/zic.c: Update from tzcode 2013b.
17214
e98cdb38
CD
172152013-03-12 Carlos O'Donell <carlos@redhat.com>
17216
17217 * manual/install.texi (Configuring and compiling):
17218 Mention i686 and i586.
17219 * INSTALL: Regenerate.
17220
9967e003
RM
172212013-03-12 Roland McGrath <roland@hack.frob.com>
17222
17223 * sysdeps/init_array/elf-init.c: New file.
17224 * csu/elf-init.c
17225 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17226 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17227
17228 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17229 __gmon_start__ as global, but as static with a .preinit_array pointer.
17230 * sysdeps/init_array/gmon-start.c: New file. Use that.
17231 * sysdeps/init_array/crti.S: New file, empty except for comments.
17232 * sysdeps/init_array/crtn.S: Likewise.
17233
e6b5a293 172342013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17235
17236 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17237 definining bcopy.
80f844c9
OB
17238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17239 Remove Prefer_SSE_for_memop.
17240 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17241 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17242 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17244 memset-x86-64.
80f844c9 17245 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17246 Remove bzero, memset ifunc support.
80f844c9
OB
17247 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17248 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17249 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17250 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17251
fb6b0fcb
AS
172522013-03-11 Andreas Schwab <schwab@suse.de>
17253
17254 [BZ #15234]
17255 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17256 by SHLIB_COMPAT.
17257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17258 (GLIBC_2.16): Remove pthread_atfork.
17259
3e6bd4b1
PP
172602013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17261
17262 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17263 (ptestcases.h): Likewise.
17264
222d7f00
RM
172652013-03-08 Roland McGrath <roland@hack.frob.com>
17266
17267 * Makeconfig ($(common-objpfx)config.status): Depend on
17268 sysdeps/*/preconfigure{,.in} too.
17269
1ba4f030
JM
172702013-03-08 Joseph Myers <joseph@codesourcery.com>
17271
a222d91a
JM
17272 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17273 (__free_hook): Use void * instead of __malloc_ptr_t.
17274 (__malloc_hook): Likewise.
17275 (__realloc_hook): Likewise.
17276 (__memalign_hook): Likewise.
17277 (__after_morecore_hook): Likewise.
17278 * malloc/arena.c (save_malloc_hook): Likewise.
17279 (save_free_hook): Likewise.
17280 * malloc/hooks.c (malloc_hook_ini): Likewise.
17281 (realloc_hook_ini): Likewise.
17282 (memalign_hook_ini): Likewise.
17283 * malloc/malloc.c (malloc_hook_ini): Likewise.
17284 (realloc_hook_ini): Likewise.
17285 (memalign_hook_ini): Likewise.
17286 (__free_hook): Likewise.
17287 (__malloc_hook): Likewise.
17288 (__realloc_hook): Likewise.
17289 (__memalign_hook): Likewise.
17290 (__libc_malloc): Likewise.
17291 (__libc_free): Likewise.
17292 (__libc_realloc): Likewise.
17293 (__libc_memalign): Likewise.
17294 (__libc_valloc): Likewise.
17295 (__libc_pvalloc): Likewise.
17296 (__libc_calloc): Likewise.
17297 (__posix_memalign): Likewise.
17298 * malloc/morecore.c (__sbrk): Likewise.
17299 (__default_morecore): Likewise.
17300
5cc45e10
JM
17301 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17302
dd54b864
JM
17303 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17304 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17305 __malloc_ptrdiff_t.
17306
1ba4f030
JM
17307 * malloc/malloc.h (__malloc_size_t): Remove macro.
17308 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17309 __malloc_size_t.
17310 (old_memalign_hook): Likewise.
17311 (old_realloc_hook): Likewise.
17312 (struct hdr): Likewise.
17313 (flood): Likewise.
17314 (mallochook): Likewise.
17315 (memalignhook): Likewise.
17316 (reallochook): Likewise.
17317 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17318 (tr_old_realloc_hook): Likewise.
17319 (tr_old_memalign_hook): Likewise.
17320 (tr_mallochook): Likewise.
17321 (tr_reallochook): Likewise.
17322 (tr_memalignhook): Likewise.
17323
edf66e57
AZ
173242013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17325
17326 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17327 default_ldbl_pack and using as default implementation.
17328 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17329 implementation.
17330 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17331 redundant definition.
17332 (ldbl_insert_mantissa): Likewise.
17333 (ldbl_canonicalize): Likewise.
17334 (ldbl_nearbyint): Likewise.
17335 (ldbl_pack): Rename to ldbl_pack_ppc.
17336 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17337 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17338 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17339
6d9145d8
SP
173402013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17341
17342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17343 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17344 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17345 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17347 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17348 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17349 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17350
4dd4e157
AJ
173512013-03-07 Andreas Jaeger <aj@suse.de>
17352
17353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17354 bits/mman-linux.h.
17355
adbb8027
SP
173562013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17357
ce544b5b
SP
17358 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17359 Include mpa.h and declare __MPEXP.
17360 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17361 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17362 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17363 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17364 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17365 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17366 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17367
4cc149fd
SP
17368 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17369 (__slowpow): Use long double EXPL and LOGL functions to
17370 compute POW.
17371 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17372 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17373 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17374 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17375 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17376 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17377
e6ebd4a7
SP
17378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17379 intermediate variable to calculate exponent.
17380 (__sqr): Likewise.
17381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17382 Likewise.
17383 (__sqr): Likewise.
17384
82a9811d
SP
17385 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17386 [!NO__SQR]: Define __sqr.
17387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17388 and NO__SQR. Remove all code except __mul and __sqr. Include
17389 sysdeps/ieee754/dbl-64/mpa.c.
17390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17391
adbb8027
SP
17392 [BZ #12723]
17393 * posix/Makefile (tests): Add tst-pathconf.
17394 * posix/tst-pathconf.c: New test case.
17395 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17396 _PC_PIPE_BUF.
17397 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17398
39120df9
PF
173992013-03-06 Patsy Franklin <pfrankli@redhat.com>
17400
17401 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17402
67525cb8
AJ
174032013-03-06 Andreas Jaeger <aj@suse.de>
17404
664a9ce4
AJ
17405 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17406 definition via __MAP_ANONYMOUS.
17407
8e39047d
AJ
17408 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17409 it's not part of Linux headers.
17410
67525cb8
AJ
17411 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17412 (MAP_HUGE_MASK): Define.
17413
17414 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17415 Define.
17416 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17418 Define.
17419 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17420 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17421 Define.
17422 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17423 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17424 Define.
17425 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17426
17427 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17428 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17429 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17430 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17431 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17432 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17433
17434 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17435 Handle f2fs.
17436
17437 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17438 Handle f2fs and efivarfs.
17439
17440 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17441 f2fs.
17442
17443 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17444 (EFIVARFS_MAGIC): Add.
17445 (F2FS_LINK_MAX): Add.
17446
e1b42695
PP
174472013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17448
17449 * stdio-common/vfprintf.c: Replace __builtin_expect with
17450 __glibc_unlikely.
17451
2d67d91a
JM
174522013-03-06 Joseph Myers <joseph@codesourcery.com>
17453
17454 [BZ #13550]
17455 * sysdeps/generic/bp-sym.h: Remove file.
17456 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17457 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17458 <bp-sym.h> and <bp-asm.h>.
17459 (__longjmp): Don't use BP_SYM.
17460 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17461 and <bp-asm.h>.
17462 (memcpy): Don't use BP_SYM.
17463 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17464 <bp-sym.h> and <bp-asm.h>.
17465 (memcpy): Don't use BP_SYM.
17466 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17467 <bp-asm.h>.
17468 (memcpy): Don't use BP_SYM.
17469 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17470 <bp-asm.h>.
17471 (memset): Don't use BP_SYM.
17472 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17473 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17474 (__bzero): Don't use BP_SYM.
17475 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17476 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17477 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17478 <bp-sym.h> and <bp-asm.h>.
17479 (memcmp): Don't use BP_SYM. Remove comment about bounded
17480 pointers.
17481 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17482 <bp-sym.h> and <bp-asm.h>.
17483 (memcpy): Don't use BP_SYM.
17484 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17485 <bp-sym.h> and <bp-asm.h>.
17486 (memset): Don't use BP_SYM.
17487 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17488 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17489 (__bzero): Don't use BP_SYM.
17490 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17491 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17492 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17493 <bp-sym.h> and <bp-asm.h>.
17494 (strncmp): Don't use BP_SYM. Remove comment about bounded
17495 pointers.
17496 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17497 <bp-sym.h> and <bp-asm.h>.
17498 (memcpy): Don't use BP_SYM.
17499 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17500 <bp-sym.h> and <bp-asm.h>.
17501 (memset): Don't use BP_SYM.
17502 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17503 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17504 (__bzero): Don't use BP_SYM.
17505 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17506 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17507 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17508 <bp-sym.h> and <bp-asm.h>.
17509 (__memchr): Don't use BP_SYM.
17510 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17511 <bp-sym.h> and <bp-asm.h>.
17512 (memcmp): Don't use BP_SYM. Remove comment about bounded
17513 pointers.
17514 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17515 <bp-sym.h> and <bp-asm.h>.
17516 (memcpy): Don't use BP_SYM.
17517 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17518 <bp-sym.h> and <bp-asm.h>.
17519 (__mempcpy): Don't use BP_SYM.
17520 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17521 <bp-sym.h> and <bp-asm.h>.
17522 (__memrchr): Don't use BP_SYM.
17523 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17524 <bp-sym.h> and <bp-asm.h>.
17525 (memset): Don't use BP_SYM.
17526 (__bzero): Likewise.
17527 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17528 <bp-sym.h> and <bp-asm.h>.
17529 (__rawmemchr): Don't use BP_SYM.
17530 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17531 <bp-sym.h> and <bp-asm.h>.
17532 (__STRCMP): Don't use BP_SYM.
17533 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17534 <bp-sym.h> and <bp-asm.h>.
17535 (strchr): Don't use BP_SYM.
17536 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17537 <bp-sym.h> and <bp-asm.h>.
17538 (__strchrnul): Don't use BP_SYM.
17539 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17540 <bp-sym.h> and <bp-asm.h>.
17541 (strlen): Don't use BP_SYM.
17542 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17543 <bp-sym.h> and <bp-asm.h>.
17544 (strncmp): Don't use BP_SYM. Remove comment about bounded
17545 pointers.
17546 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17547 <bp-sym.h> and <bp-asm.h>.
17548 (__strnlen): Don't use BP_SYM.
17549 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17550 <bp-sym.h> and <bp-asm.h>.
17551 (__GI__setjmp): Don't use BP_SYM.
17552 (_setjmp): Likewise.
17553 (__sigsetjmp): Likewise.
17554 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17555 (L(start_addresses)): Don't use BP_SYM.
17556 (_start): Likewise.
17557 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17558 <bp-asm.h>.
17559 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17560 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17561 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17562 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17563 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17564 <bp-asm.h>.
17565 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17566 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17567 about bounded pointers.
17568 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17569 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17570 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17571 <bp-asm.h>.
17572 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17573 about bounded pointers. Remove GKM FIXME comments.
17574 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17575 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17576 <bp-asm.h>.
17577 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17578 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17579 Remove GKM FIXME comments.
17580 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17581 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17582 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17583 <bp-asm.h>.
17584 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17585 about bounded pointers. Remove GKM FIXME comment.
17586 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17587 and <bp-asm.h>.
17588 (strncmp): Don't use BP_SYM. Remove comment about bounded
17589 pointers.
17590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17591 <bp-sym.h> and <bp-asm.h>.
17592 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17594 <bp-sym.h> and <bp-asm.h>.
17595 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17596 comment.
17597
cdcf361f
PP
175982013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17599
17600 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17601 call free(NULL).
17602
3c4a2b15
DM
176032013-03-05 David S. Miller <davem@davemloft.net>
17604
17605 * po/es.po: Update from translation team.
17606
cdcf361f 176072013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17608
17609 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17610 <bits/mman-linux.h>.
17611 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17612 is fine.
17613 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17614 <bits/mman-linux.h> to end of file.
17615 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17616 is fine.
17617 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17618 <bits/mman-linux.h> to end of file.
17619 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17620 is fine.
17621 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17622 <bits/mman-linux.h> to end of file.
17623
17624 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17625 (MCL_CURRENT, MCL_FUTURE): Define here.
17626
5f67c04f
AK
176272013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17628
8a4473cc 17629 [BZ #15232]
5f67c04f
AK
17630 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17631 attribute_hidden.
17632 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17633
c3e94a95
AK
176342013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17635
17636 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17637 fourth parameter needed for rt_sigprocmask syscall.
17638 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17639 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17640 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17641 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17642 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17643 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17644
cfb6382a
JM
176452013-03-04 Joseph Myers <joseph@codesourcery.com>
17646
17647 [BZ #13550]
17648 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17649 comment about bounded pointers.
17650 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17651 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17652
539d8e01
AJ
176532013-03-04 Andreas Jaeger <aj@suse.de>
17654
17655 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17656 common definitions.
17657
17658 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17659 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17660 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17661 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17662 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
17663 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17664
2e167a70 176652013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
17666
17667 [BZ #15055]
17668 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17669 __ieee754_sqrl instead of __sqrl.
17670
68508633
JM
176712013-03-01 Joseph Myers <joseph@codesourcery.com>
17672
17673 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17674 * sysdeps/powerpc/fpu_control.h: ... here.
17675 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17676 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17677 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17678 * sysdeps/powerpc/bits/mathinline.h: ... here.
17679
7775448e
RM
176802013-03-01 Roland McGrath <roland@hack.frob.com>
17681
17682 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17683 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17684 to just [NEED_DL_SYSINFO_DSO].
17685 * elf/dl-support.c: Likewise.
17686 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17687 * elf/rtld.c (dl_main): Likewise.
17688 * elf/setup-vdso.h (setup_vdso): Likewise.
17689 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17690 * sysdeps/unix/sysv/linux/dl-sysdep.c
17691 (_dl_discover_osversion): Likewise.
17692
4e9b5995
CD
176932013-03-01 Carlos O'Donell <carlos@redhat.com>
17694
17695 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17696 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17697
e23872c8
SP
176982013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17699
e5c74c63
SP
17700 * NEWS: Mention libm performance improvements and non-x86 PI
17701 futex support.
17702
e23872c8
SP
17703 * csu/libc-start.c (__pthread_initialize_minimal): Change
17704 function arguments.
17705 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17706
b5510883
JM
177072013-02-28 Joseph Myers <joseph@codesourcery.com>
17708
17709 [BZ #13550]
17710 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17711 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17712 <bp-sym.h> and <bp-asm.h>.
17713 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17714 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17715 and <bp-asm.h>.
17716 (memcpy): Don't use BP_SYM.
17717 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17718 <bp-asm.h>.
17719 (__mpn_add_n): Don't use BP_SYM.
17720 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17721 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17722 and <bp-asm.h>.
17723 (__mpn_addmul_1): Don't use BP_SYM.
17724 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17725 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17726 <bp-sym.h>.
17727 (_setjmp): Don't use BP_SYM.
17728 (__novmx_setjmp): Likewise.
17729 (__GI__setjmp): Likewise.
17730 (__vmx_setjmp): Likewise.
17731 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17732 <bp-sym.h>.
17733 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17734 (__bzero): Don't use BP_SYM.
17735 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17736 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17737 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17738 <bp-sym.h> and <bp-asm.h>.
17739 (memcpy): Don't use BP_SYM.
17740 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17741 <bp-sym.h> and <bp-asm.h>.
17742 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17743 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17744 <bp-sym.h> and <bp-asm.h>.
17745 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17746 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17747 <bp-asm.h>.
17748 (__mpn_lshift): Don't use BP_SYM.
17749 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17750 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17751 <bp-asm.h>.
17752 (memset): Don't use BP_SYM.
17753 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17754 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17755 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17756 <bp-asm.h>.
17757 (__mpn_mul_1): Don't use BP_SYM.
17758 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17759 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17760 <bp-sym.h> and <bp-asm.h>.
17761 (memcmp): Don't use BP_SYM.
17762 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17763 <bp-sym.h> and <bp-asm.h>.
17764 (memcpy): Don't use BP_SYM.
17765 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17766 <bp-sym.h> and <bp-asm.h>.
17767 (memset): Don't use BP_SYM.
17768 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17769 <bp-sym.h> and <bp-asm.h>.
17770 (strncmp): Don't use BP_SYM.
17771 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17772 <bp-sym.h> and <bp-asm.h>.
17773 (memcpy): Don't use BP_SYM.
17774 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17775 <bp-sym.h> and <bp-asm.h>.
17776 (memset): Don't use BP_SYM.
17777 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17778 <bp-sym.h> and <bp-asm.h>.
17779 (__memchr): Don't use BP_SYM.
17780 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17781 <bp-sym.h> and <bp-asm.h>.
17782 (memcmp): Don't use BP_SYM.
17783 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17784 <bp-sym.h> and <bp-asm.h>.
17785 (memcpy): Don't use BP_SYM.
17786 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17787 <bp-sym.h> and <bp-asm.h>.
17788 (__mempcpy): Don't use BP_SYM.
17789 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17790 <bp-sym.h> and <bp-asm.h>.
17791 (__memrchr): Don't use BP_SYM.
17792 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17793 <bp-sym.h> and <bp-asm.h>.
17794 (memset): Don't use BP_SYM.
17795 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17796 <bp-sym.h> and <bp-asm.h>.
17797 (__rawmemchr): Don't use BP_SYM.
17798 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17799 <bp-sym.h> and <bp-asm.h>.
17800 (__STRCMP): Don't use BP_SYM.
17801 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17802 <bp-sym.h> and <bp-asm.h>.
17803 (strchr): Don't use BP_SYM.
17804 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17805 <bp-sym.h> and <bp-asm.h>.
17806 (__strchrnul): Don't use BP_SYM.
17807 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17808 <bp-sym.h> and <bp-asm.h>.
17809 (strlen): Don't use BP_SYM.
17810 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17811 <bp-sym.h> and <bp-asm.h>.
17812 (strncmp): Don't use BP_SYM.
17813 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17814 <bp-sym.h> and <bp-asm.h>.
17815 (__strnlen): Don't use BP_SYM.
17816 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17817 <bp-asm.h>.
17818 (__mpn_rshift): Don't use BP_SYM.
17819 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17820 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17821 <bp-sym.h> and <bp-asm.h>.
17822 (__sigsetjmp): Don't use BP_SYM.
17823 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17824 (L(start_addresses)): Don't use BP_SYM.
17825 (_start): Likewise.
17826 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17827 <bp-asm.h>.
17828 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17829 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17830 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17831 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17832 <bp-asm.h>.
17833 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17834 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17835 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17836 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17837 <bp-asm.h>.
17838 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17839 comments.
17840 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17841 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17842 <bp-asm.h>.
17843 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17844 FIXME comments.
17845 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17846 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17847 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17848 <bp-asm.h>.
17849 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17850 comment.
17851 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17852 and <bp-asm.h>.
17853 (strncmp): Don't use BP_SYM,
17854 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17855 <bp-asm.h>.
17856 (__mpn_sub_n): Don't use BP_SYM.
17857 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17858 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17859 and <bp-asm.h>.
17860 (__mpn_submul_1): Don't use BP_SYM.
17861 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17863 <bp-sym.h> and <bp-asm.h>.
17864 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17866 <bp-sym.h> and <bp-asm.h>.
17867 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17868 comment.
17869
8d19fe64
SP
178702013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17871
17872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17873 Use ZK to minimize writes to Z.
17874 (sub_magnitudes): Simplify code a bit.
17875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17876 Use ZK to minimize writes to Z.
17877 (sub_magnitudes): Simplify code a bit.
17878
85bd816a
RM
178792013-02-27 Roland McGrath <roland@hack.frob.com>
17880
17881 * csu/gmon-start.c: Add special exception to license text.
17882
b5977bf2
RH
178832013-02-27 Richard Henderson <rth@redhat.com>
17884
17885 * scripts/config.guess: Update from config.git.
17886 * scripts/config.sub: Likewise.
17887
11d6e2f2
SP
178882013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17889
09c14ed2
SP
17890 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17891
a688864e
SP
17892 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17893
6295157a
SP
17894 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17895
b8de2202
SP
17896 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17897
11d6e2f2
SP
17898 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17899
7e80ddb8
RM
179002013-02-26 Roland McGrath <roland@hack.frob.com>
17901
17902 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17903 [$(build-shared = yes].
7e80ddb8 17904
7da6d9ed
SP
179052013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17906
45f05884
SP
17907 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17908 (__mul): Reduce iterations for calculating mantissa.
17909
2236d359
SP
17910 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17911 MPTWO.
17912 (__mpranred): Likewise.
17913
7da6d9ed
SP
17914 [BZ #15160]
17915 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17916 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17917
b7688c42
PE
179182013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17919
17920 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17921 Define __attribute__.
17922
53a5c423
SP
179232013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17924
17925 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17926 unused.
17927 * posix/regex_internal.h (__attribute): Remove.
17928 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17929 (re_string_context_at): Likewise.
17930 (bitset_not): Use __attribute__ and mark function as possibly
17931 unused.
17932 (bitset_merge): Likewise.
17933 (bitset_mask): Likewise.
17934 (re_string_char_size_at): Likewise.
17935 (re_string_wchar_at): Likewise.
17936 (re_string_elem_size_at): Likewise.
17937
60f5a8b5
SP
179382013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17939
2a983a2e
SP
17940 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17941 code.
17942 (cc32): Likewise.
17943
e69804d1
SP
17944 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17945 (__acr): Likewise.
17946 (__cpy): Likewise.
17947 (norm): Likewise.
17948 (denorm): Likewise.
17949 (__dbl_mp): Likewise.
17950 (add_magnitudes): Likewise.
17951 (sub_magnitudes): Likewise.
17952 (__mul): Likewise.
17953 (__inv): Likewise.
17954
2f22a1e8
SP
17955 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17956 style.
17957
8930ddc7
SP
17958 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17959 style.
17960
dc60cb11
SP
17961 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17962 code.
17963
60f5a8b5
SP
17964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17965 up changes with default code.
17966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17967 Likewise.
17968
b4d1fd33
AM
179692013-02-24 Allan McRae <allan@archlinux.org>
17970
faf6f8bc
AM
17971 * manual/socket.texi (The Internet Namespace): Order menu items
17972 to match that in the file.
17973
b4d1fd33
AM
17974 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17975 node listing of the info page menu.
17976
2366713d
JM
179772013-02-21 Joseph Myers <joseph@codesourcery.com>
17978
17979 [BZ #13550]
17980 * sysdeps/i386/bp-asm.h: Remove file.
17981 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17982 (PARMS): Do not use macros from bp-asm.h.
17983 (S1): Likewise.
17984 (S2): Likewise.
17985 (SIZE): Likewise.
17986 (__mpn_add_n): Do not use BP_SYM
17987 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17988 "bp-asm.h".
17989 (PARMS): Do not use macros from bp-asm.h.
17990 (S1): Likewise.
17991 (SIZE): Likewise.
17992 (__mpn_addmul_1): Do not use BP_SYM
17993 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17994 "bp-asm.h".
17995 (PARMS): Do not use macros from bp-asm.h.
17996 (SIGMSK): Likewise.
17997 (_setjmp): Likewise. Do not use BP_SYM.
17998 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17999 "bp-asm.h".
18000 (PARMS): Do not use macros from bp-asm.h.
18001 (SIGMSK): Likewise.
18002 (setjmp): Likewise. Do not use BP_SYM.
18003 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18004 "bp-asm.h".
18005 (PARMS): Do not use macros from bp-asm.h.
18006 (__frexp): Do not use BP_SYM.
18007 (frexp): Likewise.
18008 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18009 "bp-asm.h".
18010 (PARMS): Do not use macros from bp-asm.h.
18011 (__frexpf): Do not use BP_SYM.
18012 (frexpf): Likewise.
18013 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18014 "bp-asm.h".
18015 (PARMS): Do not use macros from bp-asm.h.
18016 (__frexpl): Do not use BP_SYM.
18017 (frexpl): Likewise.
18018 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18019 "bp-asm.h".
18020 (PARMS): Do not use macros from bp-asm.h.
18021 (__remquo): Do not use BP_SYM.
18022 (remquo): Likewise.
18023 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18024 "bp-asm.h".
18025 (PARMS): Do not use macros from bp-asm.h.
18026 (__remquof): Do not use BP_SYM.
18027 (remquof): Likewise.
18028 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18029 "bp-asm.h".
18030 (PARMS): Do not use macros from bp-asm.h.
18031 (__remquol): Do not use BP_SYM.
18032 (remquol): Likewise.
18033 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18034 "bp-asm.h".
18035 (PARMS): Do not use macros from bp-asm.h.
18036 (DEST): Likewise.
18037 (SRC): Likewise.
18038 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18039 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18040 "bp-asm.h".
18041 (PARMS): Do not use macros from bp-asm.h.
18042 (strlen): Do not use BP_SYM.
18043 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18044 "bp-asm.h".
18045 (PARMS): Do not use macros from bp-asm.h.
18046 (S1): Likewise.
18047 (S2): Likewise.
18048 (SIZE): Likewise.
18049 (__mpn_add_n): Do not use BP_SYM.
18050 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18051 "bp-asm.h".
18052 (PARMS): Do not use macros from bp-asm.h.
18053 (S1): Likewise.
18054 (SIZE): Likewise.
18055 (__mpn_addmul_1): Do not use BP_SYM.
18056 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18057 weak_alias.
18058 (bzero): Likewise.
18059 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18060 "bp-asm.h".
18061 (PARMS): Do not use macros from bp-asm.h.
18062 (S): Likewise.
18063 (SIZE): Likewise.
18064 (__mpn_lshift): Do not use BP_SYM.
18065 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18066 "bp-asm.h".
18067 (PARMS): Do not use macros from bp-asm.h.
18068 (DEST): Likewise.
18069 (SRC): Likewise.
18070 (LEN): Likewise.
18071 (memcpy): Likewise. Do not use BP_SYM.
18072 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18073 libc_hidden_def and weak_alias.
18074 (mempcpy): Do not use BP_SYM in weak_alias.
18075 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18076 "bp-asm.h".
18077 (PARMS): Do not use macros from bp-asm.h.
18078 (DEST): Likewise.
18079 (LEN): Likewise.
18080 [!BZERO_P] (CHR): Likewise.
18081 (memset): Likewise. Do not use BP_SYM.
18082 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18083 "bp-asm.h".
18084 (PARMS): Do not use macros from bp-asm.h.
18085 (S1): Likewise.
18086 (SIZE): Likewise.
18087 (__mpn_mul_1): Do not use BP_SYM.
18088 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18089 "bp-asm.h".
18090 (PARMS): Do not use macros from bp-asm.h.
18091 (S): Likewise.
18092 (SIZE): Likewise.
18093 (__mpn_rshift): Do not use BP_SYM.
18094 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18095 "bp-asm.h".
18096 (PARMS): Do not use macros from bp-asm.h.
18097 (STR): Likewise.
18098 (CHR): Likewise.
18099 (strchr): Likewise. Do not use BP_SYM.
18100 (index): Do not use BP_SYM in weak_alias.
18101 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18102 "bp-asm.h".
18103 (PARMS): Do not use macros from bp-asm.h.
18104 (DEST): Likewise.
18105 (SRC): Likewise.
18106 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18107 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18108 "bp-asm.h".
18109 (PARMS): Do not use macros from bp-asm.h.
18110 (strlen): Do not use BP_SYM.
18111 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18112 "bp-asm.h".
18113 (PARMS): Do not use macros from bp-asm.h.
18114 (S1): Likewise.
18115 (S2): Likewise.
18116 (SIZE): Likewise.
18117 (__mpn_sub_n): Do not use BP_SYM.
18118 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18119 "bp-asm.h".
18120 (PARMS): Do not use macros from bp-asm.h.
18121 (S1): Likewise.
18122 (SIZE): Likewise.
18123 (__mpn_submul_1): Do not use BP_SYM.
18124 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18125 "bp-asm.h".
18126 (PARMS): Do not use macros from bp-asm.h.
18127 (S1): Likewise.
18128 (S2): Likewise.
18129 (SIZE): Likewise.
18130 (__mpn_add_n): Do not use BP_SYM.
18131 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18132 weak_alias.
18133 (bzero): Likewise.
18134 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18135 "bp-asm.h".
18136 (PARMS): Do not use macros from bp-asm.h.
18137 (BLK2): Likewise.
18138 (LEN): Likewise.
18139 (memcmp): Do not use BP_SYM.
18140 (bcmp): Do not use BP_SYM in weak_alias.
18141 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18142 "bp-asm.h".
18143 (PARMS): Do not use macros from bp-asm.h.
18144 (DEST): Likewise.
18145 (SRC): Likewise.
18146 (LEN): Likewise.
18147 (memcpy): Likewise. Do not use BP_SYM.
18148 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18149 "bp-asm.h".
18150 (PARMS): Do not use macros from bp-asm.h.
18151 (DEST): Likewise.
18152 (SRC): Likewise.
18153 (LEN): Likewise.
18154 (memmove): Likewise. Do not use BP_SYM.
18155 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18156 "bp-asm.h".
18157 (PARMS): Do not use macros from bp-asm.h.
18158 (DEST): Likewise.
18159 (SRC): Likewise.
18160 (LEN): Likewise.
18161 (__mempcpy): Likewise. Do not use BP_SYM.
18162 (mempcpy): Do not use BP_SYM in weak_alias.
18163 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18164 "bp-asm.h".
18165 (PARMS): Do not use macros from bp-asm.h.
18166 (DEST): Likewise.
18167 (LEN): Likewise.
18168 [!BZERO_P] (CHR): Likewise.
18169 (memset): Likewise. Do not use BP_SYM.
18170 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18171 "bp-asm.h".
18172 (PARMS): Do not use macros from bp-asm.h.
18173 (STR2): Likewise.
18174 (strcmp): Do not use BP_SYM.
18175 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18176 "bp-asm.h".
18177 (PARMS): Do not use macros from bp-asm.h.
18178 (STR): Likewise.
18179 (DELIM): Likewise.
18180 [USE_AS_STRTOK_R] (SAVE): Likewise.
18181 (FUNCTION): Likewise. Do not use BP_SYM.
18182 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18183 aliases.
18184 (strtok_r): Likewise.
18185 (__GI___strtok_r): Likewise.
18186 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18187 (PARMS): Do not use macros from bp-asm.h.
18188 (S): Likewise.
18189 (SIZE): Likewise.
18190 (__mpn_lshift): Do not use BP_SYM.
18191 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18192 (PARMS): Do not use macros from bp-asm.h.
18193 (STR): Likewise.
18194 (CHR): Likewise.
18195 (__memchr): Do not use BP_SYM.
18196 (memchr): Do not use BP_SYM in weak_alias.
18197 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18198 (PARMS): Do not use macros from bp-asm.h.
18199 (BLK2): Likewise.
18200 (LEN): Likewise.
18201 (memcmp): Do not use BP_SYM.
18202 (bcmp): Do not use BP_SYM in weak_alias.
18203 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18204 (PARMS): Do not use macros from bp-asm.h.
18205 (S1): Likewise.
18206 (SIZE): Likewise.
18207 (__mpn_mul_1): Do not use BP_SYM.
18208 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18209 "bp-asm.h".
18210 (PARMS): Do not use macros from bp-asm.h.
18211 (STR): Likewise.
18212 (CHR): Likewise.
18213 (__rawmemchr): Do not use BP_SYM.
18214 (rawmemchr): Do not use BP_SYM in weak_alias.
18215 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18216 (PARMS): Do not use macros from bp-asm.h.
18217 (S): Likewise.
18218 (SIZE): Likewise.
18219 (__mpn_rshift): Do not use BP_SYM.
18220 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18221 (PARMS): Do not use macros from bp-asm.h.
18222 (SIGMSK): Likewise.
18223 (__sigsetjmp): Likewise. Do not use BP_SYM.
18224 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18225 (_start): Do not use BP_SYM.
18226 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18227 (PARMS): Do not use macros from bp-asm.h.
18228 (DEST): Likewise.
18229 (SRC): Likewise.
18230 (__stpcpy): Likewise. Do not use BP_SYM.
18231 (stpcpy): Do not use BP_SYM in weak_alias.
18232 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18233 "bp-asm.h".
18234 (PARMS): Do not use macros from bp-asm.h.
18235 (DEST): Likewise.
18236 (SRC): Likewise.
18237 (LEN): Likewise.
18238 (__stpncpy): Likewise. Do not use BP_SYM.
18239 (stpncpy): Do not use BP_SYM in weak_alias.
18240 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18241 (PARMS): Do not use macros from bp-asm.h.
18242 (STR): Likewise.
18243 (CHR): Likewise.
18244 (strchr): Likewise. Do not use BP_SYM.
18245 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18246 "bp-asm.h".
18247 (PARMS): Do not use macros from bp-asm.h.
18248 (STR): Likewise.
18249 (CHR): Likewise.
18250 (__strchrnul): Likewise. Do not use BP_SYM.
18251 (strchrnul): Do not use BP_SYM in weak_alias.
18252 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18253 "bp-asm.h".
18254 (PARMS): Do not use macros from bp-asm.h.
18255 (STOP): Likewise.
18256 (strcspn): Do not use BP_SYM.
18257 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18258 "bp-asm.h".
18259 (PARMS): Do not use macros from bp-asm.h.
18260 (STR): Likewise.
18261 (STOP): Likewise.
18262 (strpbrk): Likewise. Do not use BP_SYM.
18263 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18264 "bp-asm.h".
18265 (PARMS): Do not use macros from bp-asm.h.
18266 (STR): Likewise.
18267 (CHR): Likewise.
18268 (strrchr): Likewise. Do not use BP_SYM.
18269 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18270 (PARMS): Do not use macros from bp-asm.h.
18271 (SKIP): Likewise.
18272 (strspn): Do not use BP_SYM.
18273 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18274 (PARMS): Do not use macros from bp-asm.h.
18275 (STR): Likewise.
18276 (DELIM): Likewise.
18277 (SAVE): Likewise.
18278 (FUNCTION): Likewise. Do not use BP_SYM.
18279 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18280 aliases.
18281 (strtok_r): Likewise.
18282 (__GI___strtok_r): Likewise.
18283 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18284 (PARMS): Do not use macros from bp-asm.h.
18285 (S1): Likewise.
18286 (S2): Likewise.
18287 (SIZE): Likewise.
18288 (__mpn_sub_n): Do not use BP_SYM.
18289 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18290 "bp-asm.h".
18291 (PARMS): Do not use macros from bp-asm.h.
18292 (S1): Likewise.
18293 (SIZE): Likewise.
18294 (__mpn_submul_1): Do not use BP_SYM.
18295 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18296 <bp-sym.h>.
18297 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18298 and <bp-asm.h>.
18299 (PARMS): Do not use macros from bp-asm.h.
18300 (FLAGS): Likewise.
18301 (PTID): Likewise.
18302 (TLS): Likewise.
18303 (CTID): Likewise.
18304 (__clone): Do not use BP_SYM.
18305 (clone): Do not use BP_SYM in weak_alias.
18306 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18307 and <bp-asm.h>.
18308 (PARMS): Do not use macros from bp-asm.h.
18309 (LEN): Likewise.
18310 (__mmap64): Do not use BP_SYM.
18311 (mmap64): Do not use BP_SYM in weak_alias.
18312 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18313 <bp-sym.h> and <bp-asm.h>.
18314 (PARMS): Do not use macros from bp-asm.h.
18315 (__posix_fadvise64_l64): Do not use BP_SYM.
18316 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18317 (PARMS): Do not use macros from bp-asm.h.
18318 (NSOPS): Likewise.
18319 (semtimedop): Do not use BP_SYM.
18320 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18321 and <bp-asm.h>.
18322
582a3cff
AM
183232013-02-21 Allan McRae <allan@archlinux.org>
18324
18325 * manual/message.texi (Charset conversion in gettext):
18326 Move @end statement to beginning of line.
18327
bab8a695
SP
183282013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18329
80945231
SP
18330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18331 static.
18332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18333 Likewise.
18334
bab8a695
SP
18335 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18336 (denorm): Likewise.
18337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18339
e21d7aa7
AK
183402013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18341
18342 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18343 tail-call to the resolved function if pltexit isn't needed.
18344
4c7a4263
SP
183452013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18346
18347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18348 or Y being zero as being unlikely.
18349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18350 Likewise.
18351
41f49342
CD
183522013-02-20 Carlos O'Donell <carlos@redhat.com>
18353
18354 * manual/nss.texi (System Databases and Name Service Switch):
18355 Remove frobnicate @pxref.
18356
50022a93
TS
183572013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18358
18359 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18360 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18361
08cbd996
PM
183622013-02-20 Petr Machata <pmachata@redhat.com>
18363
18364 * elf/elf.h (R_ARM_TARGET1): New macro.
18365 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18366 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18367 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18368 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18369 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18370 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18371 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18372 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18373 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18374 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18375 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18376 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18377 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18378 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18379 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18380 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18381 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18382 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18383 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18384 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18385 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18386 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18387 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18388 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18389 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18390 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18391 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18392 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18393 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18394 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18395 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18396 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18397 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18398 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18399 (R_ARM_THM_GOT_BREL12): Likewise.
18400 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18401 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18402 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18403 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18404 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18405 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18406 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18407 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18408 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18409
c7b275d6
TS
184102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18411
18412 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18413 __attribute_used__ to __attribute__ ((unused)).
18414
20cd7fb3
SP
184152013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18416
18417 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18418 powerpc mpa.c.
18419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18420 comment formatting.
18421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18422
92945b52
JM
184232013-02-19 Joseph Myers <joseph@codesourcery.com>
18424
18425 [BZ #13550]
18426 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18427 Remove macro.
18428 (ENTER): Remove both macro definitions.
18429 (LEAVE): Likewise.
18430 (CHECK_BOUNDS_LOW): Likewise.
18431 (CHECK_BOUNDS_HIGH): Likewise.
18432 (CHECK_BOUNDS_BOTH): Likewise.
18433 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18434 (RETURN_BOUNDED_POINTER): Likewise.
18435 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18436 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18437 (POP_ERRNO_LOCATION_RETURN): Likewise.
18438 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18439 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18440 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18441 macros.
18442 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18443 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18444 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18445 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18446 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18447 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18448 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18449 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18450 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18451 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18452 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18453 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18454 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18455 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18456 removed macros.
18457 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18458 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18459 macros.
18460 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18461 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18462 * sysdeps/i386/i586/memset.S (memset): Likewise.
18463 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18464 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18465 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18466 macros.
18467 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18468 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18469 Change uses of L(2) to L(out).
18470 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18471 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18472 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18473 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18474 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18475 removed macros.
18476 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18477 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18478 macros.
18479 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18480 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18481 (RETURN): Do not use macro LEAVE.
18482 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18483 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18484 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18485 * sysdeps/i386/i686/memset.S (memset): Likewise.
18486 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18487 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18488 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18489 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18490 Likewise.
18491 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18492 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18493 L(1_2) and L(1_3) into L(1).
18494 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18495 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18496 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18497 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18498 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18499 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18500 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18501 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18502 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18503 macros.
18504 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18505 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18506 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18507 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18508 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18509 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18510 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18511 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18512 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18513 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18514 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18515 * sysdeps/i386/strspn.S (strspn): Likewise.
18516 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18517 conditional code.
18518 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18519 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18520 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18521 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18522 L(1_3) into L(1_1).
18523 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18524 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18525 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18526 macros.
18527 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18528
2389741a
JJ
185292013-02-19 Jakub Jelinek <jakub@redhat.com>
18530
18531 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18532 macro.
18533
2016b3cd
SP
185342013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18535
e4f22324
SP
18536 * math/atest-exp.c (exp_mpn): Remove ROUND.
18537 * math/atest-exp2.c (exp_mpn): Likewise.
18538 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18539
2016b3cd
SP
18540 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18541 * stdlib/tst-tls-atexit-lib.c: Likewise.
18542 * stdlib/tst-tls-atexit.c: Likewise.
18543
4be9b544
MF
185442013-02-18 Mike Frysinger <vapier@gentoo.org>
18545
18546 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18547 and __attribute_alloc_size__.
18548
2f62b9ee
MF
185492013-02-18 Mike Frysinger <vapier@gentoo.org>
18550
18551 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18552 __attribute_alloc_size__.
18553 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18554 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18555
6ff444c4
MF
185562013-02-18 Mike Frysinger <vapier@gentoo.org>
18557
18558 * include/programs/xmalloc.h: New file.
18559 * catgets/gencat.c: Include it.
18560 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18561 * elf/pldd.c: Likewise.
18562 * iconv/iconv_charmap.c: Likewise.
18563 * iconv/iconvconfig.c: Likewise.
18564 * iconv/strtab.c: Likewise.
18565 * locale/programs/locale.c: Likewise.
18566 * locale/programs/localedef.h: Likewise.
18567 * locale/programs/simple-hash.c: Likewise.
18568 * nscd/nscd.h: Likewise.
18569 * nss/makedb.c: Likewise.
18570 * sysdeps/generic/ldconfig.h: Likewise.
18571
be179c8a
SP
185722013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18573
ba384f6e
SP
18574 * Versions.def: Add GLIBC_2.18.
18575 * include/link.h (struct link_map): New member l_tls_dtor_count.
18576 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18577 (__call_tls_dtors): Likewise.
18578 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18579 __cxa_thread_atexit_impl.
18580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18581 Likewise.
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18583 Likewise.
18584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18585 Likewise.
18586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18587 Likewise.
18588 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18590 Likewise.
18591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18592 Likewise.
18593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18595 Likewise.
18596 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18597 (tests): Add test case tst-tls-atexit.
18598 (modules-names): Add shared library for tst-tls-atexit.
85891aca 18599 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
18600 (GLIBC_PRIVATE): Add __call_tls_dtors.
18601 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18602 for libstdc++.
18603 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18604 * stdlib/tst-tls-atexit.c: New test case.
18605 * stdlib/tst-tls-atexit-lib.c: New test case.
18606
ffaa74cf 18607 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18608
be179c8a
SP
18609 * elf/Versions (ld): Add _dl_find_dso_for_object.
18610 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18611 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18612 (dl_open_worker): Use _dl_find_dso_for_object.
18613 * elf/dl-sym.c (do_sym): Likewise.
18614 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18615
f78b5caa
AK
186162013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18617
18618 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18619 Syntactic changes only.
18620 (_dl_runtime_profile): Do a tail-call to the resolved function.
18621
29691210
JM
186222013-02-17 Joseph Myers <joseph@codesourcery.com>
18623
18624 [BZ #13550]
18625 * sysdeps/x86_64/bp-asm.h: Remove file.
18626 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18627 <bp-sym.h> and <bp-asm.h>.
18628 (__clone): Do not use BP_SYM.
18629 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18630 <bp-sym.h> and <bp-asm.h>.
18631 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18632 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18633 "bp-asm.h".
18634 (_setjmp): Do not use BP_SYM.
18635 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18636 "bp-asm.h".
18637 (setjmp): Do not use BP_SYM.
18638 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18639 libc_hidden_def.
18640 (mempcpy): Do not use BP_SYM in weak_alias.
18641 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18642 "bp-asm.h".
18643 (strchr): Do not use BP_SYM.
18644 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18645 "bp-asm.h".
18646 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18647 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18648 (_start): Do not use BP_SYM.
18649 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18650 "bp-asm.h".
18651 (strcat): Do not use BP_SYM.
18652 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18653 "bp-asm.h".
18654 (STRCMP): Do not use BP_SYM.
18655 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18656 "bp-asm.h".
18657 (STRCPY): Do not use BP_SYM.
18658 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18659 "bp-asm.h".
18660 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18661 "bp-asm.h".
18662 (FUNCTION): Do not use BP_SYM.
18663 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18664 weak_alias.
18665 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18666
f238fd19
AJ
186672013-02-17 Andreas Jaeger <aj@suse.de>
18668
18669 * time/Versions: Sort entries.
18670 * string/Versions: Likewise.
18671 * resolv/Versions: Likewise.
18672 * posix/Versions: Likewise.
18673 * iconv/Versions: Likewise.
18674 * elf/Versions: Likewise.
18675 * wcsmbs/Versions: Likewise.
18676
bd07f23c 186772013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18678
22af19f9
SP
18679 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18680 loop termination condition.
18681
4709fe76
SP
18682 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18683 variable to calculate EZ.
18684 (__sqr): Likewise.
2d0e0f29
SP
18685
18686 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18687 the lower precision input.
18688
daaa7713
JM
186892013-02-15 Joseph Myers <joseph@codesourcery.com>
18690
18691 [BZ #13550]
18692 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18693 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18694 (run-via-rtld-prefix): Do not handle %-bp tests.
18695 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18696 (all-object-suffixes): Remove .ob.
18697 (bppfx): Remove variable.
18698 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18699 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18700 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18701 [$(build-bounded) = yes] (libtype.ob): Likewise.
18702 * Makerules (elide-routines.ob): Remove variable.
18703 (do-tests-clean): Do not handle *-bp.out.
18704 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18705 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18706 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18707 (tests): Do not include $(tests-bp.out).
18708 (xtests): Do not include $(xtests-bp.out).
18709 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18710 [$(build-bounded) = yes] ($(addprefix
18711 $(objpfx),$(binaries-bounded))): Remove rule.
18712 ($(objpfx)%-bp.out): Remove rule.
18713 * config.make.in (build-bounded): Remove variable.
18714 * crypt/Makefile [$(build-bounded) = yes]
18715 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18716 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18717 append to variable.
18718 [$(build-bounded) = yes] (install-lib): Likewise.
18719 [$(build-bounded) = yes] (generated): Likewise.
18720 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18721 Remove rule.
18722 * intl/Makefile [$(build-bounded) = yes]
18723 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18724 * math/Makefile [$(build-bounded) = yes]
18725 ($(tests:%=$(objpfx)%-bp): Likewise.
18726 * misc/Makefile [$(build-bounded) = yes]
18727 ($(objpfx)tst-tsearch-bp): Likewise.
18728 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18729 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18730 Remove dependency.
18731 * string/Makefile (o-objects.ob): Remove variable.
18732 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18733 (CFLAGS-.ob): Remove variable.
18734 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18735 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18736 both definitions of variable.
18737 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18738 (ASFLAGS-.ob): Remove variable.
18739
e97ed6dd
JM
187402013-02-14 Joseph Myers <joseph@codesourcery.com>
18741
2bdd4ca6
JM
18742 [BZ #13550]
18743 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18744 Remove __BOUNDED_POINTERS__ from condition.
18745 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18746 * string/bits/string2.h [!__NO_STRING_INLINES &&
18747 !__BOUNDED_POINTERS__]: Likewise.
18748 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18749 Likewise.
18750 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18751 Remove conditional code.
18752 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18753 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18754 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18755 condition.
18756
e97ed6dd
JM
18757 [BZ #13550]
18758 * csu/libc-start.c: Do not include <bp-sym.h>.
18759 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18760 * elf/dl-open.c: Do not include <bp-sym.h>.
18761 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18762 * math/fegetenv.c: Do not include <bp-sym.h>.
18763 (fegetenv): Do not use BP_SYM in versioned symbols.
18764 * nptl/sysdeps/pthread/bits/libc-lockP.h
18765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18766 <bp-sym.h>.
18767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18768 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18770 (__pthread_mutex_destroy): Likewise.
18771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18772 (__pthread_mutex_lock): Likewise.
18773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18774 (__pthread_mutex_trylock): Likewise.
18775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18776 (__pthread_mutex_unlock): Likewise.
18777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18778 (__pthread_mutexattr_init): Likewise.
18779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18780 (__pthread_mutexattr_destroy): Likewise.
18781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18782 (__pthread_mutexattr_settype): Likewise.
18783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18784 (__pthread_rwlock_init): Likewise.
18785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18786 (__pthread_rwlock_destroy): Likewise.
18787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18788 (__pthread_rwlock_rdlock): Likewise.
18789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18790 (__pthread_rwlock_tryrdlock): Likewise.
18791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18792 (__pthread_rwlock_wrlock): Likewise.
18793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18794 (__pthread_rwlock_trywrlock): Likewise.
18795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18796 (__pthread_rwlock_unlock): Likewise.
18797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18798 (__pthread_key_create): Likewise.
18799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18800 (__pthread_setspecific): Likewise.
18801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18802 (__pthread_getspecific): Likewise.
18803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18804 Likewise.
18805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18806 (_pthread_cleanup_push_defer): Likewise.
18807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18808 (_pthread_cleanup_pop_restore): Likewise.
18809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18810 (pthread_setcancelstate): Likewise.
18811 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18812 <bp-sym.h>.
18813 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18814 (memchr): Do not use BP_SYM in weak_alias.
18815 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18816 (fegetenv): Do not use BP_SYM in versioned symbols.
18817 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18818 (fesetenv): Do not use BP_SYM in versioned symbols.
18819 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18820 (feupdateenv): Do not use BP_SYM in versioned symbols.
18821 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18822 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18823 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18824 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18825 (open64): Do not use BP_SYM in weak_alias.
18826 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18827 (fegetenv): Do not use BP_SYM in versioned symbols.
18828 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18829 (fesetenv): Do not use BP_SYM in versioned symbols.
18830 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18831 (feupdateenv): Do not use BP_SYM in versioned symbols.
18832 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18833 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18834 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18835 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18836 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18837 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18838 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18839 <bp-sym.h>.
18840 (__libc_start_main): Do not use BP_SYM.
18841
d6752ccd
SP
188422013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18843
cb57ce60
SP
18844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18845 redundant return line.
18846 (norm): Likewise.
18847 (denorm): Likewise.
18848 (dbl_mp): Likewise.
18849 (sub_magnitudes): Likewise.
18850 (__add): Likewise.
18851 (__sub): Likewise.
18852 (__mul): Likewise.
18853 (__inv): Likewise.
18854 (__dvd): Likewise.
18855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18856 (norm): Likewise.
18857 (denorm): Likewise.
18858 (dbl_mp): Likewise.
18859 (sub_magnitudes): Likewise.
18860 (__add): Likewise.
18861 (__sub): Likewise.
18862 (__mul): Likewise.
18863 (__inv): Likewise.
18864 (__dvd): Likewise.
18865
f414520d
SP
18866 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18867 instead of __mul.
18868 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18869 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18870 (cc32): Likewise.
18871
d6752ccd
SP
18872 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18873 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18874 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18875 of __mul for squares.
18876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18877 function
18878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18879 Likewise.
18880 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18881 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18882
70d9946a
JM
188832013-02-13 Joseph Myers <joseph@codesourcery.com>
18884
18885 [BZ #13550]
18886 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18887 code.
18888 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18889 prototype or function definition. Rename ubp_* variables and
18890 parameters. Remove argv definitions conditional on
18891 [__BOUNDED_POINTERS__].
18892 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18893 * elf/dl-runtime.c (_dl_fixup): Likewise.
18894 * include/set-hooks.h (RUN_HOOK): Likewise.
18895 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18896 definition.
18897 * string/strcpy.c (strcpy): Do not use __unbounded.
18898 * sysdeps/generic/frame.h (struct layout): Likewise.
18899 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18900 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18901 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18902 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18903 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18904 (__backtrace): Likewise.
18905 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18906 use __ptrvalue.
18907 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18908 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18909 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18910 Likewise.
18911 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18912 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18913 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18914 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18915 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18916 Do not use __unbounded.
18917 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18918 Rename __unboundedrlimits parameter to rlimits in prototype.
18919 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18920 Do not use __unbounded.
18921 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18922 not use __ptrvalue.
18923 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18924 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18925 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18926 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18927 __ptrvalue or __unbounded.
18928 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18929 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18930 use __unbounded.
18931 (__new_msgctl): Do not use __ptrvalue.
18932 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18933 __unbounded.
18934 (__libc_msgrcv): Do not use __ptrvalue.
18935 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18936 startup_info): Do not use __unbounded.
18937 (__libc_start_main): Likewise. Rename ubp_* variables and
18938 parameters. Remove argv definitions conditional on
18939 [__BOUNDED_POINTERS__].
18940 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18941 __ptrvalue.
18942 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18943 use __unbounded.
18944 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18945 or __ptrvalue.
18946 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18947 use __unbounded.
18948 (__new_shmctl): Do not use __ptrvalue.
18949 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18950 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18951 Likewise.
18952 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18953 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18954 (__libc_sigaction): Likewise.
18955 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18956 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18957 Likewise.
18958 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18959
cc7834d6
OB
189602013-02-13 Ondřej Bílka <neleai@seznam.cz>
18961
ffb1ec7b 18962 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18963
18964 * string/mempcpy.c: Implement by calling memcpy.
18965
bdf02814
SP
189662013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18967
c2af38aa
SP
18968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18969
4e92d59e
SP
18970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18971 evaluation.
18972
909279a5
SP
18973 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18974 values in the mantissa.
18975
bdf02814
SP
18976 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18977 minimize writes to Z.
18978 (sub_magnitudes): Simplify code a bit.
18979
cd525923
RM
189802013-02-12 Roland McGrath <roland@hack.frob.com>
18981
18982 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18983 from the message. The linker prefixes all warnings with that already.
18984
7e2f0d2d
AS
189852013-02-12 Andreas Schwab <schwab@suse.de>
18986
a445af0b
AS
18987 [BZ #15078]
18988 * posix/regexec.c (extend_buffers): Add parameter min_len.
18989 (check_matching): Pass minimum needed length.
18990 (clean_state_log_if_needed): Likewise.
18991 (get_subexp): Likewise.
18992 * posix/Makefile (tests): Add bug-regex34.
18993 (bug-regex34-ENV): Define.
18994 * posix/bug-regex34.c: New file.
18995
7e2f0d2d
AS
18996 [BZ #11561]
18997 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18998 elements compare against the byte sequence of it, not its name.
18999 * posix/Makefile (tests): Add bug-regex35.
19000 (bug-regex35-ENV): Define.
19001 * posix/bug-regex35.c: New file.
19002
a175b684
TV
190032013-02-11 Tom de Vries <tom@codesourcery.com>
19004
19005 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19006 comment.
19007 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19008 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19009 (CHECK_EOL): Add undef.
19010
310998fe 190112013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19012
19013 * bits/stdlib-bsearch.h: New file.
19014 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19015 * stdlib/stdlib.h: Likewise.
41eda41d 19016
8ded91fb
RM
190172013-02-11 Roland McGrath <roland@hack.frob.com>
19018
19019 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19020 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19021 declaration.
19022 * manual/search.texi (Array Search Function): Add missing const in
19023 lfind prototype.
19024 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19025 declaration to use rlim_t.
19026 (Basic Scheduling Functions): Remove erroneous const from
19027 sched_getparam prototype. Remove erroneous * from
19028 sched_get_priority_max and sched_get_priority_min prototypes.
19029 (Resource Usage): Fix summary @comment on vtimes to refer to
19030 sys/vtimes.h rather than vtimes.h.
19031 Add missing *s in vtimes prototype.
19032 (Limits on Resources): Fix ulimit prototype to return long int.
19033 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19034 prototypes to use long int rather than double.
19035 (BSD Random): Fix initstate and setstate to use char *, not void *.
19036 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19037 prototype to make second argument 'struct aiocb64 *const[]'.
19038 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19039 (Status of AIO Operations): Remove erroneous const in aio_return and
19040 aio_return64 prototypes.
19041 (Synchronizing I/O): Fix sync prototype to return void.
19042 * manual/startup.texi (Suboptions): Remove an erroneous const in
19043 getsubopt prototype.
19044 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19045 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19046 use size_t rather than int.
19047 (Scanning All Users): Likewise for getpwent_r.
19048 (Setting Groups): Add missing const to setgroups prototype.
19049 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19050 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19051 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19052 'const void *' rather than 'const char *'.
19053 (Host Address Functions): Likewise for inet_ntop.
19054 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19055 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19056 ssize_t for return value.
19057 (Sending Data): Likewise for send, sendto, sendmsg.
19058 (Socket Option Functions): Add a missing const in setsockopt prototype.
19059 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19060 use wchar_t for the argument.
19061 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19062 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19063 take no arguments.
19064 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19065 double/float/long double for second argument.
19066 Fix return types of significand, significandf, significandl.
19067 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19068 argument in fchmod prototype.
19069 (File Owner): Use uid_t and gid_t in fchown prototype.
19070 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19071 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19072 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19073 use 'const struct dirent **' as argument types to CMP function pointer
19074 argument.
19075 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19076 (File Times): Fix summary magic @comment for struct utimbuf and utime
19077 to refer to utime.h, not time.h.
19078 * manual/string.texi (Argz Functions): Add missing const in
19079 argz_extract and argz_next prototypes.
19080 (Finding Tokens in a String): Likewise for basename.
19081 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19082 (Copying and Concatenation): Fix typo in wmemmove prototype.
19083 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19084 (Signal Stack): Remove erroneous const in sigstack prototype.
19085 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19086 prototype.
19087 (Simple Calendar Time): Likewise for stime.
19088 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19089 prototype.
19090 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19091 say sys/sysctl.h instead.
19092 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19093 and vsyslog prototypes.
19094
fe77fe6d
TV
190952013-02-11 Tom de Vries <tom@codesourcery.com>
19096
19097 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19098 Remove.
19099
3a09b620
RM
191002013-02-11 Roland McGrath <roland@hack.frob.com>
19101
19102 * misc/sys/mman.h: Fix typo in mremap comment.
19103
550a0b89
RM
191042013-02-08 Roland McGrath <roland@hack.frob.com>
19105
19106 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19107 the '\0' terminator.
19108
a2da1673
JM
191092013-02-08 Joseph Myers <joseph@codesourcery.com>
19110
19111 [BZ #13550]
19112 * debug/segfault.c: Don't include <bp-checks.h>.
19113 * sysdeps/generic/bp-checks.h: Remove file.
19114 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19115 (__GETDENTS): Don't use CHECK_N.
19116 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19117 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19118 (__getgroups): Don't use CHECK_N.
19119 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19120 (setgroups): Don't use CHECK_N.
19121 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19122 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19123 (__libc_msgrcv): Don't use CHECK_N.
19124 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19125 (__libc_msgsnd): Don't use CHECK_N.
19126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19127 <bp-checks.h>.
19128 (__libc_pread): Don't use CHECK_N.
19129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19130 include <bp-checks.h>.
19131 (__libc_pread64): Don't use CHECK_N.
19132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19133 include <bp-checks.h>.
19134 (__libc_pwrite): Don't use CHECK_N.
19135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19136 include <bp-checks.h>.
19137 (__libc_pwrite64): Don't use CHECK_N.
19138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19139 <bp-checks.h>.
19140 (__libc_pread): Don't use CHECK_N.
19141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19142 include <bp-checks.h>.
19143 (__libc_pread64): Don't use CHECK_N.
19144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19145 include <bp-checks.h>.
19146 (__libc_pwrite): Don't use CHECK_N.
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19148 include <bp-checks.h>.
19149 (__libc_pwrite64): Don't use CHECK_N.
19150 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19151 (do_pread): Don't use CHECK_N.
19152 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19153 (do_pread64): Don't use CHECK_N.
19154 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19155 (do_pwrite): Don't use CHECK_N.
19156 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19157 (do_pwrite64): Don't use CHECK_N.
19158 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19159 (__libc_readv): Don't use CHECK_N.
19160 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19161 (semop): Don't use CHECK_N.
19162 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19163 <bp-checks.h>.
19164 (semtimedop): Don't use CHECK_N.
19165 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19166 (__libc_pread): Don't use CHECK_N.
19167 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19168 <bp-checks.h>.
19169 (__libc_pread64): Don't use CHECK_N.
19170 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19171 <bp-checks.h>.
19172 (__libc_pwrite): Don't use CHECK_N.
19173 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19174 <bp-checks.h>.
19175 (__libc_pwrite64): Don't use CHECK_N.
19176 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19177 <bp-checks.h>.
19178 (__libc_msgrcv): Don't use CHECK_N.
19179 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19180 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19181 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19182 (__libc_writev): Don't use CHECK_N.
19183
b84660a8
RM
191842013-02-08 Roland McGrath <roland@hack.frob.com>
19185
7f3e75f8
RM
19186 * string/strcpy.c: Removed unused variable.
19187
b84660a8
RM
19188 * Makeconfig (+sysdep-includes): Define with := rather than =.
19189 Use an existing include/ subdir of each sysdeps dir before it.
19190
471514d3
CD
191912013-02-08 Carlos O'Donell <carlos@redhat.com>
19192
19193 * nscd/connection.c (register_traced_file): Comment function.
19194 [HAVE_INOTIFY] (union __inev): Define.
19195 [HAVE_INOTIFY] (inotify_check_files): New function.
19196 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19197 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19198 clear_db_cache.
19199 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19200
b2d3c3be
CD
192012013-02-08 Carlos O'Donell <carlos@redhat.com>
19202
19203 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19204 loaded if not already and that a failure is permanent.
19205
b39949d2
CD
192062013-02-08 Carlos O'Donell <carlos@redhat.com>
19207
ddacd1db 19208 [BZ #15006]
b39949d2
CD
19209 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19210 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19211
b2c9eff4
JM
192122013-02-08 Joseph Myers <joseph@codesourcery.com>
19213
f3aae3f3
JM
19214 [BZ #13550]
19215 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19216 (CHECK_1_NULL_OK): Likewise.
19217 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19218 (__fxstat): Do not use CHECK_1.
19219 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19220 <bp-checks.h>.
19221 (___fxstat64): Do not use CHECK_1.
19222 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19223 <bp-checks.h>.
19224 (__fxstatat): Do not use CHECK_1.
19225 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19226 <bp-checks.h>.
19227 (__fxstatat64): Do not use CHECK_1.
19228 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19229 <bp-checks.h>.
19230 (__fxstat): Do not use CHECK_1.
19231 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19232 <bp-checks.h>.
19233 (__fxstatat): Do not use CHECK_1.
19234 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19235 <bp-checks.h>.
19236 (__getresgid): Do not use CHECK_1.
19237 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19238 <bp-checks.h>.
19239 (__getresuid): Do not use CHECK_1.
19240 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19241 <bp-checks.h>.
19242 (__lxstat): Do not use CHECK_1.
19243 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19244 <bp-checks.h>.
19245 (__old_msgctl): Do not use CHECK_1.
19246 (__new_msgctl): Likewise.
19247 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19248 <bp-checks.h>.
19249 (__new_setrlimit): Do not use CHECK_1.
19250 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19251 <bp-checks.h>.
19252 (__old_shmctl): Do not use CHECK_1.
19253 (__new_shmctl): Likewise.
19254 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19255 <bp-checks.h>.
19256 (__xstat): Do not use CHECK_1.
19257 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19258 (__lxstat): Do not use CHECK_1.
19259 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19260 <bp-checks.h>.
19261 (___lxstat64): Do not use CHECK_1.
19262 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19263 (__old_msgctl): Do not use CHECK_1.
19264 (__new_msgctl): Likewise.
19265 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19266 <bp-checks.h>.
19267 (__gettimeofday): Do not use CHECK_1.
19268 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19269 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19270 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19271 <bp-checks.h>.
19272 (__gettimeofday): Do not use CHECK_1.
19273 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19274 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19275 (__new_shmctl): Do not use CHECK_1.
19276 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19277 <bp-checks.h>.
19278 (do_sigtimedwait): Do not use CHECK_1.
19279 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19280 <bp-checks.h>.
19281 (do_sigwaitinfo): Do not use CHECK_1.
19282 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19283 <bp-checks.h>.
19284 (msgctl): Do not use CHECK_1.
19285 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19286 <bp-checks.h>.
19287 (shmctl): Do not use CHECK_1.
19288 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19289 (ustat): Do not use CHECK_1.
19290 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19291 <bp-checks.h>.
19292 (__fxstat): Do not use CHECK_1.
19293 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19294 <bp-checks.h>.
19295 (__fxstatat): Do not use CHECK_1.
19296 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19297 <bp-checks.h>.
19298 (__lxstat): Do not use CHECK_1.
19299 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19300 <bp-checks.h>.
19301 (__xstat): Do not use CHECK_1.
19302 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19303 (__xstat): Do not use CHECK_1.
19304 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19305 (___xstat64): Do not use CHECK_1.
19306
b2c9eff4
JM
19307 [BZ #13550]
19308 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19309 definitions.
19310 (CHECK_BOUNDS_HIGH): Likewise.
19311 * string/strcpy.c: Do not include <bp-checks.h>.
19312 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19313
f1d70dad
RM
193142013-02-07 Roland McGrath <roland@hack.frob.com>
19315
19316 * nscd/nscd-client.h (__nscd_drop_map_ref):
19317 Add __attribute__ ((unused)).
19318 * nis/nss-nisplus.h (niserr2nss): Likewise.
19319
19320 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19321 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19322
19323 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19324 Remove inline keyword.
19325 * include/rounding-mode.h (round_away): Likewise.
19326 * libio/wfileops.c (adjust_wide_data): Likewise.
19327 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19328 (__m128i_strloadu_tolower): Likewise.
19329 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19330 (__m128i_strloadu_tolower): Likewise.
19331 * time/mktime.c (ydhms_diff): Likewise.
19332 * locale/elem-hash.h (elem_hash): Likewise.
19333 * locale/setlocale.c (setdata): Likewise.
19334 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19335 (re_string_wchar_at): Likewise.
19336 (bitset_not, bitset_merge, bitset_mask): Likewise.
19337 [!(__GNUC__ > 3)] (inline): Remove macro.
19338 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19339 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19340 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19341 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19342 * string/memcmp.c (memcmp_bytes): Likewise.
19343 * locale/programs/locarchive.c (compute_hashval): Likewise.
19344 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19345 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19346 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19347 * nss/getent.c (print_rpc, print_protocols): Likewise.
19348 (print_passwd, print_group, print_aliases): Likewise.
19349 * nis/nss-nisplus.h (niserr2nss): Likewise.
19350 * nscd/connections.c (restart_p): Likewise.
19351 Change return type to bool.
19352
eab55bfb
RM
193532013-02-05 Roland McGrath <roland@hack.frob.com>
19354
7bd642f5
RM
19355 * Makeconfig (all-Depend-files): Add existing
19356 $(sorted-subdirs:=/Depend) files.
19357 (all-subdirs): Remove nss.
19358 * sysdeps/unix/inet/Subdirs: Add it here instead.
19359 * hesiod/Depend: New file.
19360
573c29b2
RM
19361 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19362 instead of calling alloca.
19363
b2e25af0
RM
19364 * io/lseek.c (__lseek): Rename to __libc_lseek.
19365 Define __lseek as an alias.
19366
eab55bfb
RM
19367 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19368
9a0d1941
CD
193692013-02-04 Carlos O'Donell <carlos@redhat.com>
19370
19371 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19372 else clause and remove check for non-standard endianness.
19373
b83bbec4
DM
193742013-02-04 David S. Miller <davem@davemloft.net>
19375
19376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19377
6277fdab
JM
193782013-02-04 Joseph Myers <joseph@codesourcery.com>
19379
19380 [BZ #13550]
19381 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19382 (__ubp_memchr): Remove prototype.
19383 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19384 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19385 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19386 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19387 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19388 Remove alias.
19389 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19390 (__ubp_memchr): Likewise.
19391 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19392 (__ubp_memchr): Likewise.
19393 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19394 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19395 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19396 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19397 CHECK_STRING.
19398 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19399 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19400 (__getcwd): Do not use CHECK_STRING.
19401 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19402 <bp-checks.h>.
19403 (__real_chown): Do not use CHECK_STRING.
19404 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19405 <bp-checks.h>.
19406 (fchownat): Do not use CHECK_STRING.
19407 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19408 CHECK_STRING.
19409 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19410 <bp-checks.h>.
19411 (__lchown): Do not use CHECK_STRING.
19412 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19413 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19414 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19415 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19417 include <bp-checks.h>.
19418 (truncate64): Do not use CHECK_STRING.
19419 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19420 <bp-checks.h>.
19421 (__real_chown): Do not use CHECK_STRING.
19422 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19423 <bp-checks.h>.
19424 (__lchown): Do not use CHECK_STRING.
19425 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19426 <bp-checks.h>.
19427 (__chown): Do not use CHECK_STRING.
19428 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19429 <bp-checks.h>.
19430 (truncate64): Do not use CHECK_STRING.
19431 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19432 Likewise.
19433 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19434 (__xmknod): Do not use CHECK_STRING.
19435 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19436 <bp-checks.h>.
19437 (__xmknodat): Do not use CHECK_STRING.
19438 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19439 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19440
903ae060
AS
194412013-02-04 Andreas Schwab <schwab@suse.de>
19442
19443 [BZ #14142]
19444 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19445 * include/netdb.h: Likewise for h_errno.
19446 * elf/tst-stackguard1.c: Include <tls.h>.
19447
542f9466
JK
194482013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19449
19450 * elf/link.h (struct link_map): Extend the l_addr comment.
19451 * include/link.h (struct link_map): Likewise.
19452
e782a927
JM
194532013-02-01 Joseph Myers <joseph@codesourcery.com>
19454
19455 [BZ #13550]
19456 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19457 (BOUNDED_1): Remove macro.
19458 * debug/backtrace.c: Don't include <bp-checks.h>.
19459 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19460 (__backtrace): Likewise.
19461 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19462 <bp-checks.h>.
19463 (__backtrace): Don't use BOUNDED_1.
19464 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19465 <bp-checks.h>.
19466 (__backtrace): Don't use BOUNDED_1.
19467 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19468 (__backtrace): Don't use BOUNDED_1.
19469 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19470 (shmat): Don't use BOUNDED_N.
19471
8cf28c5e
JM
194722013-01-31 Joseph Myers <joseph@codesourcery.com>
19473
3a7ac8a0
JM
19474 [BZ #13550]
19475 * sysdeps/generic/bp-start.h: Remove file.
19476 * csu/libc-start.c: Don't include <bp-start.h>.
19477 (LIBC_START_MAIN): Set up __environ directly instead of using
19478 INIT_ARGV_and_ENVIRON.
19479 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19480 <bp-start.h>.
19481
f3499f95
JM
19482 [BZ #13550]
19483 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19484 definitions.
19485 (CHECK_FCNTL): Likewise.
19486 (CHECK_N_PAGES): Likewise.
19487
32a45bea
JM
19488 [BZ #13550]
19489 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19490 definitions.
19491 (CHECK_SIGSET_NULL_OK): Likewise.
19492 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19493 <bp-checks.h>.
19494 (sigpending): Don't use CHECK_SIGSET.
19495 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19496 <bp-checks.h>.
19497 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19498 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19499 <bp-checks.h>.
19500 (do_sigsuspend): Don't use CHECK_SIGSET.
19501 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19502 use CHECK_SIGSET.
19503 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19504 (do_sigwait): Don't use CHECK_SIGSET.
19505 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19506 use CHECK_SIGSET.
19507 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19508 include <bp-checks.h>.
19509 (sigpending): Don't use CHECK_SIGSET.
19510 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19511 include <bp-checks.h>.
19512 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19513 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19514 <bp-checks.h>.
19515 (sigpending): Don't use CHECK_SIGSET.
19516 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19517 <bp-checks.h>.
19518 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19519
2e8a5c8c
JM
19520 [BZ #13550]
19521 * sysdeps/generic/bp-semctl.h: Remove file.
19522 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19523 <bp-checks.h> and <bp-semctl.h>.
19524 (__old_semctl): Don't use CHECK_SEMCTL.
19525 (__new_semctl): Likewise.
19526 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19527 and <bp-semctl.h>.
19528 (__old_semctl): Don't use CHECK_SEMCTL.
19529 (__new_semctl): Likewise.
19530 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19531 <bp-checks.h> and <bp-semctl.h>.
19532 (__old_semctl): Don't use CHECK_SEMCTL.
19533 (__new_semctl): Likewise.
19534 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19535 <bp-checks.h> and <bp-semctl.h>.
19536 (semctl): Don't use CHECK_SEMCTL.
19537
c2d54929
JM
19538 [BZ #13550]
19539 * Makerules (elide-bp-thunks): Remove variable.
19540 (elide-routines.oS): Don't use $(elide-bp-thunks).
19541 (elide-routines.os): Likewise.
19542 (elide-routines.o): Likewise.
19543 (elide-routines.op): Likewise.
19544 (elide-routines.og): Likewise.
19545 (objects): Don't use $(bp-thunks).
19546 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19547 include.
19548 (common-generated): Do not add s-proto-bp.d.
19549 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19550 (int): Likewise.
19551 (typ): Likewise.
19552 Do not generate makefile rules for bounded-pointer thunks.
19553 * sysdeps/generic/bp-thunks.h: Remove file.
19554 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19555 * sysdeps/unix/s-proto-bp.S: Likewise.
19556
8cf28c5e
JM
19557 [BZ #15062]
19558 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19559 parts of result separately when argument is not close to line from
19560 -i to i and one part of argument is small.
19561 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19562 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19563 * math/libm-test.inc (cacos_test): Add more tests.
19564 (casin_test): Likewise.
19565 (casinh_test): Likewise.
19566 * sysdeps/i386/fpu/libm-test-ulps: Update.
19567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19568
c4e33b8d
DM
195692013-01-31 David S. Miller <davem@davemloft.net>
19570
19571 * po/de.po: Update from translation team.
19572
3b60b421
MK
195732013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19574
19575 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19576
bb931195
TS
195772013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19578
b5a5da23
TS
19579 * configure.in (_AC_PROG_CC_C89): New definition.
19580 * configure: Regenerate.
19581
bb931195
TS
19582 * configure.in (AC_PROG_CPP): New definition.
19583 * configure: Regenerate.
19584
8c53a12c
JM
195852013-01-23 Joseph Myers <joseph@codesourcery.com>
19586
19587 * debug/tst-backtrace.h: New file.
19588 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19589 (ret): Remove variable.
19590 (x): Likewise.
19591 (FAIL): Remove macro.
19592 (NO_INLINE): Likewise.
19593 (fn1): Use match function instead of strstr.
19594 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19595 (ret): Remove variable.
19596 (x): Likewise.
19597 (FAIL): Remove macro.
19598 (NO_INLINE): Likewise.
19599 (fn): Use match function instead of strstr.
19600 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19601 (ret): Remove variable.
19602 (x): Likewise.
19603 (FAIL): Remove macro.
19604 (NO_INLINE): Likewise.
19605 (handle_signal): Use match function instead of strstr.
19606 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19607 (ret): Remove variable.
19608 (x): Likewise.
19609 (FAIL): Remove macro.
19610 (NO_INLINE): Likewise.
19611 (handle_signal): Use match function instead of strstr.
19612
4858fa2a
RM
196132013-01-23 Roland McGrath <roland@hack.frob.com>
19614
19615 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19616
bae8e7f5
DM
196172013-01-23 David S. Miller <davem@davemloft.net>
19618
19619 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19620 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19621 argument of CAS if possible.
19622 * sysdeps/sparc/sparc64/bits/atomic.h
19623 (__arch_compare_and_exchange_val_32_acq): Likewise.
19624 (__arch_compare_and_exchange_val_64_acq): Likewise.
19625
9cbbc4ae
PT
196262013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19627
19628 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19629 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19630 Include <limits.h>.
67b3f58c 19631 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19632
5655a0b5
AC
196332013-01-23 Adam Conrad <adconrad@0c3.net>
19634
19635 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19636 (LDFLAGS-tst-array5): Likewise.
19637
052aff95
JM
196382013-01-23 Joseph Myers <joseph@codesourcery.com>
19639
19640 [BZ #15036]
19641 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19642 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19643 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19644 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19645
7c1e01aa
DM
196462013-01-21 David S. Miller <davem@davemloft.net>
19647
19648 * sysdeps/sparc/backtrace.c: New file.
19649 * sysdeps/sparc/sparc32/backtrace.h: New file.
19650 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19651 * sysdeps/sparc/sparc64/backtrace.h: New file.
19652 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19653 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19654 -funwind-tables.
19655
ab087e0a
AS
196562013-01-21 Andreas Schwab <schwab@suse.de>
19657
19658 [BZ #15020]
19659 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19660 closed its stdout.
19661
ed689c2f
AS
196622013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19663
19664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19665 "mpa2.h".
19666 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19667
31d470ac
JM
196682013-01-18 Joseph Myers <joseph@codesourcery.com>
19669 Mark Mitchell <mark@codesourcery.com>
19670 Tom de Vries <tom@codesourcery.com>
19671 Paul Pluzhnikov <ppluzhnikov@google.com>
19672
19673 * debug/tst-backtrace2.c: New file.
19674 * debug/tst-backtrace3.c: Likewise.
19675 * debug/tst-backtrace4.c: Likewise.
19676 * debug/tst-backtrace5.c: Likewise.
19677 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19678 (CFLAGS-tst-backtrace3.c): Likewise.
19679 (CFLAGS-tst-backtrace4.c): Likewise.
19680 (CFLAGS-tst-backtrace5.c): Likewise.
19681 (LDFLAGS-tst-backtrace2): Likewise.
19682 (LDFLAGS-tst-backtrace3): Likewise.
19683 (LDFLAGS-tst-backtrace4): Likewise.
19684 (LDFLAGS-tst-backtrace5): Likewise.
19685 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19686 tst-backtrace4 and tst-backtrace5.
19687
90567f30 196882013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19689 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19690
19691 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19692 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19693 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19694 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19696 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19697 "+r" and remove output regs list as redundant. Add explicit inline
19698 asm to specify register of return val to work around compiler codegen
19699 bug. Remove (int) cast on return value. Add return type parameter to
19700 use in macro so that this macro does not truncate return value for
19701 64-bit values.
19702 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19703 pass to INTERNAL_VSYSCALL_NCS.
19704 (INLINE_VSYSCALL): Add 'long int' as return type to
19705 INTERNAL_VSYSCALL_NCS macro invocation.
19706 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19707 INTERNAL_VSYSCALL_NCS macro invocation.
19708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19709
d3b9ea61
SP
197102013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19711
0b57daeb
SP
19712 [BZ #14496]
19713 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19714 Fix application of SIMD FP exception mask.
19715
caa99d06
SP
19716 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19717 mp_no from a power of two.
19718 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19719 __mpexp_twomm1. Use __pow_mp.
19720
d3b9ea61
SP
19721 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19722 multiplication.
19723
1dbaee3c
DM
197242013-01-17 David S. Miller <davem@davemloft.net>
19725
19726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19727
728d7b43
JM
197282013-01-17 Joseph Myers <joseph@codesourcery.com>
19729
19730 [BZ #15023]
19731 * include/complex.h: Condition contents on [!_COMPLEX_H].
19732 (__kernel_casinhf): New prototype.
19733 (__kernel_casinh): Likewise.
19734 (__kernel_casinhl): Likewise.
19735 * math/Makefile (libm_calls): Add k_casinh.
19736 * math/k_casinh.c: New file.
19737 * math/k_casinhf.c: Likewise.
19738 * math/k_casinhl.c: Likewise.
19739 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19740 finite nonzero arguments.
19741 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19742 finite nonzero arguments.
19743 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19744 finite nonzero arguments.
19745 * math/s_casinh.c: Do not include <float.h>.
19746 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19747 * math/s_casinhf.c: Do not include <float.h>.
19748 (__casinhf): Move code for finite nonzero arguments to
19749 k_casinhf.c.
19750 * math/s_casinhl.c: Do not include <float.h>.
19751 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19752 redefine.
19753 (__casinhl): Move code for finite nonzero arguments to
19754 k_casinhl.c.
19755 * math/libm-test.inc (cacos_test): Add more tests.
19756 * sysdeps/i386/fpu/libm-test-ulps: Update.
19757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19758
2a26ef3a
PT
197592013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19760
19761 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19762 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19763 [!HAVE_MREMAP]: Remove [defined linux] case.
19764 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19765
a897655d
SP
197662013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19767
19768 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19769
881ebe89 197702013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19771
19772 * elf/elf.h (R_386_SIZE32): New relocation.
19773 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19774 R_386_SIZE32.
19775 (elf_machine_rela): Likewise.
19776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19777 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19778
59981e9b
JM
197792013-01-17 Joseph Myers <joseph@codesourcery.com>
19780
19781 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19782 (FP_FAST_FMA): Do not define.
19783 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19784 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19785 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19786 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19787 !_SOFT_FLOAT]: Likewise.
19788 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19789 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19790 value.
19791 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19792 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19793 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19794 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19795 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19796 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19797 file.
19798
cfa8054f
AS
197992013-01-16 Andreas Schwab <schwab@suse.de>
19800
19801 [BZ #14327]
19802 * include/stdlib.h (__mktemp): Add declaration.
19803 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19804 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19805
dd930cc5
SP
198062013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19807
881ebe89
SP
19808 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19809 definitions.
19810 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19811 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19812 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19813 definitions here.
19814 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19815 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19816 definitions.
19817 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19818 and ONE.
19819 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19820 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19821 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19822 definitions.
19823 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19824 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19825 definitions.
19826 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19827
dd930cc5
SP
19828 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19829
c19a9f89
DM
198302013-01-15 David S. Miller <davem@davemloft.net>
19831
1aa61767
DM
19832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19833 trunc{,f} to libm-sysdep_routes.
19834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19836 file.
19837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19839 file.
19840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19841 file.
19842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19844 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19845 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19846 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19847 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19848 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19849 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19850
c42d5e98
DM
19851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19852 nearbyint{,f} to libm-sysdep_routes.
19853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19855 New file.
19856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19857 file.
19858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19859 New file.
19860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19861 file.
19862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19864 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19865 file.
19866 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19867 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19868 file.
19869 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19870 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19871 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19872
c19a9f89
DM
19873 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19874 libc_feholdexcept and libc_fesetenv.
19875
357679d2
MF
198762013-01-15 Mike Frysinger <vapier@gentoo.org>
19877
19878 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19879
65a82e3d
DM
198802013-01-14 David S. Miller <davem@davemloft.net>
19881
8b954ab9
DM
19882 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19883 (SPARC_ASM_VIS2_IFUNC): Likewise.
19884 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19886 use of 'siam' instruction.
19887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19888 Likewise.
19889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19890 Likewise.
19891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19892 Likewise.
19893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19895 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19896 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19898 file.
19899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19900 file.
19901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19902 file.
19903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19904 file.
19905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19910 new VIS2 routines.
19911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19914 Likewise.
19915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19920 routines to libm-sysdep_routines.
19921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19922
65a82e3d
DM
19923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19924 fdim/fdimf to libm-sysdep_routines.
19925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19926 file.
19927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19929 file.
19930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19933 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19934 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19935 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19936 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19937
e34ab705
SP
199382013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19939
2a91b573
SP
19940 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19941 to optimize copies.
19942
1066a534
SP
19943 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19946
e34ab705
SP
19947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19948 local variable MPTWO.
19949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19950 Likewise.
19951
aba5e596
MF
199522013-01-13 Mike Frysinger <vapier@gentoo.org>
19953
19954 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19955 GLOB_NOESCAPE.
19956
e557e9e5
MF
199572013-01-13 Mike Frysinger <vapier@gentoo.org>
19958
19959 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19960
0428cec9
MF
199612013-01-13 Mike Frysinger <vapier@gentoo.org>
19962
19963 * manual/pattern.texi (glob_t): Document gl_flags.
19964 (glob64_t): Likewise.
19965
8794a964
DM
199662013-01-11 David S. Miller <davem@davemloft.net>
19967
66438c3f
RM
19968 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19969 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19970 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19971 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19972 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19973 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19974 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19975 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19976 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19977 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19978 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19979 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19980 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19981
4ae4244d
DM
19982 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19983 sparc V9 rather than using V8 code.
19984 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19985 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19986
8794a964
DM
19987 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19988 Move to...
19989 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19990 Here.
19991
6270516e
RM
199922013-01-11 Roland McGrath <roland@hack.frob.com>
19993
19994 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19995 not in the main loop.
19996 * configure: Regenerated.
19997
6a57d931
JM
199982013-01-11 Joseph Myers <joseph@codesourcery.com>
19999
20000 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20001 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20002 to just #else.
20003 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20004 [!__GLIBC_HAVE_LONG_LONG] case.
20005 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20006 condition to just #else.
20007 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20008 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20009 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20010 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20011 unconditional.
20012 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20013 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20014 #elif condition to just #else.
20015 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20016 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20017 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20018 #elif condition to just #else.
20019
0e8529e9
SE
200202013-01-11 Steve Ellcey <sellcey@mips.com>
20021
20022 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20023 (EF_MIPS_ARCH_64): Fix value.
20024 (EF_MIPS_ARCH_32R2): New.
20025 (EF_MIPS_ARCH_64R2): New.
20026
740b3dbe
L
200272013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20028
20029 * Makeconfig (+link-pie-before-libc): New.
20030 (+link-pie-after-libc): Likewise.
20031 (+link-pie-tests): Likewise.
20032 (+link-pie): Rewritten.
20033 (link-before-libc): Remove $(config-LDFLAGS).
20034 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20035 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20036 (config-LDFLAGS): Renamed to ...
20037 (rtld-LDFLAGS): This.
20038 (rtld-tests-LDFLAGS): New macro.
20039 (link-libc-rpath-link): Likewise.
20040 (link-libc-tests-rpath-link): Likewise.
20041 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20042 (link-libc): Prepand $(link-libc-rpath-link).
20043 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20044 (test-program-prefix): New macro.
20045 (test-via-rtld-prefix): Likewise.
20046 (test-program-cmd): Likewise.
20047 (host-test-program-cmd): Likewise.
20048 * Makefile ($(common-objpfx)testrun.sh): Replace
20049 $(run-program-prefix) with $(test-program-prefix).
20050 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20051 $(rtld-LDFLAGS).
20052 ($(common-objpfx)shlib.lds): Likewise.
20053 (build-module-helper): Likewise.
20054 ($(common-objpfx)format.lds): Likewise.
20055 * Rules (binaries-pie-tests): New.
20056 (binaries-pie-notests): Likewise.
20057 (binaries-pie): Rewritten.
20058 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20059 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20060 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20061 (make-test-out): Replace $(host-built-program-cmd) with
20062 $(host-test-program-cmd).
20063 * config.make.in (build-hardcoded-path-in-tests): New variable.
20064 * configure.in (--enable-hardcoded-path-in-tests): New configure
20065 option.
20066 (hardcoded_path_in_tests): New AC_SUBST.
20067 * configure: Regenerated.
20068 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20069 $(built-program-cmd) with $(test-program-cmd).
20070 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20071 (test_program_cmd): This.
20072 * elf/Makefile ($(objpfx)order.out): Run test with
20073 $(test-program-prefix).
20074 ($(objpfx)order2.out): Likewise.
20075 ($(objpfx)tst-initorder.out): Likewise.
20076 ($(objpfx)tst-initorder2.out): Likewise.
20077 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20078 $(test-program-cmd).
20079 ($(objpfx)tst-array1-static.out): Likewise.
20080 ($(objpfx)tst-array2.out): Likewise.
20081 ($(objpfx)tst-array3.out): Likewise.
20082 ($(objpfx)tst-array4.out): Likewise.
20083 ($(objpfx)tst-array5.out): Likewise.
20084 ($(objpfx)tst-array5-static.out): Likewise.
20085 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20086 $(test-program-cmd).
20087 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20088 $(run-program-prefix) with $(test-program-prefix).
20089 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20090 (test_program_prefix): This.
20091 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20092 $(run-program-prefix) with $(test-program-prefix).
20093 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20094 (test_program_prefix): This.
20095 * iconvdata/tst-tables.sh: Likewise.
20096 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20097 $(run-program-prefix) with $(test-program-prefix).
20098 ($(objpfx)tst-translit.out): Likewise.
20099 ($(objpfx)tst-gettext2.out): Likewise.
20100 ($(objpfx)tst-gettext4.out): Likewise.
20101 ($(objpfx)tst-gettext6.out): Likewise.
20102 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20103 (test_program_prefix): This.
20104 * intl/tst-gettext2.sh: Likewise.
20105 * intl/tst-gettext4.sh Likewise.
20106 * intl/tst-gettext6.sh: Likewise.
20107 * intl/tst-translit.sh: Likewise.
20108 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20109 with $(test-program-cmd).
20110 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20111 $(run-program-prefix) with $(test-program-prefix).
20112 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20113 (test_program_prefix): This.
20114 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20115 $(run-program-prefix) with $(test-program-prefix).
20116 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20117 (test_program_prefix): This.
20118 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20119 * posix/Makefile ($(objpfx)globtest.out): Replace
20120 $(run-via-rtld-prefix) and $(test-wrapper) with
20121 $(test-program-prefix) and $(test-via-rtld-prefix).
20122 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20123 $(test-program-prefix).
20124 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20125 $(host-test-program-cmd).
20126 (tst-spawn-ARGS): Likewise.
20127 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20128 $(test-program-prefix).
20129 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20130 (test_via_rtld_prefix): This.
20131 (test_wrapper): Renamed to ...
20132 (test_program_prefix): This.
20133 (run_program_prefix): Replaced by test_program_prefix.
20134 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20135 (test_program_prefix): This.
20136 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20137 with $(host-test-program-cmd).
20138 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20139 $(run-program-prefix) with $(test-program-prefix).
20140 ($(objpfx)tst-printf.out): Likewise.
20141 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20142 $(test-program-cmd).
20143 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20144 (test_program_prefix): This.
20145 * stdio-common/tst-unbputc.sh: Likewise.
20146 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20147 $(run-program-prefix) with $(test-program-prefix).
20148 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20149 (test_program_prefix): This.
20150 * string/Makefile ($(objpfx)tst-svc.out): Replace
20151 $(built-program-cmd) with $(test-program-cmd).
20152
c6fe55cf
AJ
201532013-01-11 Andreas Jaeger <aj@suse.de>
20154
20155 [BZ #15003]
20156 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20157 value. Sync with Linux 3.7.
20158
9e6919c8
DM
201592013-01-10 David S. Miller <davem@davemloft.net>
20160
20161 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20162 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20163 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20164
1c9f1a02
RM
201652013-01-10 Roland McGrath <roland@hack.frob.com>
20166
20167 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20168 never set.
20169 * configure: Regenerated.
20170
b9de2dde
DM
201712013-01-10 David S. Miller <davem@davemloft.net>
20172
20173 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20174 sparc V9 rather than using V8 code.
20175 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20176 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20177
e7f68ef4
RM
201782013-01-10 Roland McGrath <roland@hack.frob.com>
20179
20180 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20181 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20182 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20183 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20184 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20185 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20186 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20187 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20188 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20189 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20190 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20191 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20192 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20193 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20194 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20195 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20196 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20197 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20198 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20199 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20200 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20201 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20202 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20203 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20204 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20205 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20206 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20207
5a47cc9c
DM
202082013-01-10 David S. Miller <davem@davemloft.net>
20209
20210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20211
4cf8f209
L
202122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20213
20214 * posix/Makefile (tests-static): New variable.
20215 (tests): Add $(tests-static).
20216 (tst-exec-static-ARGS): New variable.
20217 (tst-spawn-static-ARGS): Likewise.
20218 * posix/tst-exec-static.c: New file.
20219 * posix/tst-spawn-static.c: Likewise.
20220 * posix/tst-exec.c: Support run directly.
20221 * posix/tst-spawn.c: Likewise.
20222
fed0faa1
JM
202232013-01-10 Joseph Myers <joseph@codesourcery.com>
20224
828beb13
JM
20225 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20226 long.
20227 * math/bits/mathcalls.h (llrint): Likewise.
20228 (llround): Likewise.
20229 * stdlib/stdlib.h (struct drand48_data): Likewise.
20230 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20231 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20232 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20233 Likewise.
20234 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20235 Likewise.
20236 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20237 (elf_greg_t): Likewise.
20238 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20239 (__jmp_buf): Likewise.
20240 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20241 definitions.
20242 (llrint): Likewise, for all definitions.
20243 (llrintl): Likewise.
20244
fed0faa1
JM
20245 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20246 Remove [__GNUC__] condition.
20247 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20248 condition to just [__USE_ISOC99].
20249 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20250
1a20cb20
L
202512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20252
20253 [BZ #14200]
20254 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20255 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20256 defined.
20257 (_POSIX_V6_ILP32_OFF32): Likewise.
20258 (_XBS5_ILP32_OFF32): Likewise.
20259 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20260 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20261
751b85f7
SP
202622013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20263
7490eb81
SP
20264 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20265
751b85f7
SP
20266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20267 doubles __mpexp_twomm1. Adjust usage.
20268 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20269 Remove.
20270
988197f0
AS
202712013-01-10 Andreas Schwab <schwab@suse.de>
20272
20273 [BZ #14964]
20274 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20275 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20276
e83d7298
DM
202772013-01-09 David S. Miller <davem@davemloft.net>
20278
034ed64b 20279 [BZ #15003]
57f41c40
AS
20280 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20281 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20282 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20283 (TCP_FASTOPEN): Define.
e83d7298
DM
20284 (tcp_repair_opt): New structure.
20285 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20286 enum values.
57f41c40
AS
20287 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20288 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20289 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20290 (tcp_cookie_transactions): New structure.
20291
d5e0b9bd
AB
202922013-01-09 Anton Blanchard <anton@samba.org>
20293
20294 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20295 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20296 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20297 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20298
0c07e3ea
JM
202992013-01-09 Joseph Myers <joseph@codesourcery.com>
20300
20301 * include/features.h (__USE_ANSI): Remove.
20302
232f7002
RM
203032013-01-09 Roland McGrath <roland@hack.frob.com>
20304
ad98e30c
RM
20305 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20306
232f7002
RM
20307 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20308
950c99ca
SP
203092013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20310
b5792741
SP
20311 * sysdeps/s390/fpu/libm-test-ulps: Update.
20312
47cf2278
SP
20313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20314
950c99ca
SP
20315 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20316 (__acr): Likewise.
20317 (__cpy): Likewise.
20318 (norm): Likewise.
20319 (denorm): Likewise.
20320 (__mp_dbl): Likewise.
20321 (__dbl_mp): Likewise.
20322 (add_magnitudes): Likewise.
20323 (sub_magnitudes): Likewise.
20324 (__add): Likewise.
20325 (__sub): Likewise.
20326 (__mul): Likewise.
20327 (__inv): Likewise.
20328 (__dvd): Likewise.
20329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20330 (__acr): Likewise.
20331 (__cpy): Likewise.
20332 (norm): Likewise.
20333 (denorm): Likewise.
20334 (__mp_dbl): Likewise.
20335 (__dbl_mp): Likewise.
20336 (add_magnitudes): Likewise.
20337 (sub_magnitudes): Likewise.
20338 (__add): Likewise.
20339 (__sub): Likewise.
20340 (__mul): Likewise.
20341 (__inv): Likewise.
20342 (__dvd): Likewise.
20343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20344 (__acr): Likewise.
20345 (__cpy): Likewise.
20346 (norm): Likewise.
20347 (denorm): Likewise.
20348 (__mp_dbl): Likewise.
20349 (__dbl_mp): Likewise.
20350 (add_magnitudes): Likewise.
20351 (sub_magnitudes): Likewise.
20352 (__add): Likewise.
20353 (__sub): Likewise.
20354 (__mul): Likewise.
20355 (__inv): Likewise.
20356 (__dvd): Likewise.
20357
eede9df9
JM
203582013-01-08 Joseph Myers <joseph@codesourcery.com>
20359
20360 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20361 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20362 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20363 2 && __USE_EXTERN_INLINES]: Likewise.
20364
c40ea3d9
AJ
203652013-01-08 Andreas Jaeger <aj@suse.de>
20366
20367 [BZ# 14985]
20368 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20369 Remove.
20370 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20371 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20372
2ccdea26
AB
203732013-01-07 Anton Blanchard <anton@samba.org>
20374
20375 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20376 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20377 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20378 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20379 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20380 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20381 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20382 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20384 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20385 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20386 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20387 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20388 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20389 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20390 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20391 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20392 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20393 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20394 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20395 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20396 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20397 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20398 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20399 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20400 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20401 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20402 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20403 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20404 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20405 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20407 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20408 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20409 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20410 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20411 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20412 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20413 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20414 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20415 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20417 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20418
a9708fed
JM
204192013-01-07 Joseph Myers <joseph@codesourcery.com>
20420
375607b9
JM
20421 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20422 (__MALLOC_PMT): Likewise.
20423 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20424 [__GNUC__], only on [_LIBC].
20425 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20426 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20427 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20428 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20429 forward declaration.
20430 (realloc_hook_ini): Likewise.
20431 (memalign_hook_ini): Likewise.
20432 (__libc_memalign): Do not use __MALLOC_PMT in variable
20433 declaration.
20434 (__libc_valloc): Likewise.
20435 (__libc_pvalloc): Likewise.
20436 (__libc_calloc): Likewise.
20437 (__posix_memalign): Likewise.
20438
a9708fed
JM
20439 [BZ #14996]
20440 * math/s_casinh.c: Include <float.h>.
20441 (__casinh): Do not do computation with squaring and square root
20442 for large arguments.
20443 * math/s_casinhf.c: Include <float.h>.
20444 (__casinhf): Do not do computation with squaring and square root
20445 for large arguments.
20446 * math/s_casinhl.c: Include <float.h>.
20447 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20448 (__casinhl): Do not do computation with squaring and square root
20449 for large arguments.
20450 * math/libm-test.inc (casin_test): Add more tests.
20451 (casinh_test): Likewise.
20452 * sysdeps/i386/fpu/libm-test-ulps: Update.
20453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20454
afec409a
L
204552013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20456
20457 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20458 (__x86_64_raw_data_cache_size): Likewise.
20459 (__x86_64_data_cache_size_half): Likewise.
20460 (__x86_64_raw_data_cache_size_half): Likewise.
20461 (__x86_64_shared_cache_size): Likewise.
20462 (__x86_64_raw_shared_cache_size): Likewise.
20463 (__x86_64_shared_cache_size_half): Likewise.
20464 (__x86_64_raw_shared_cache_size_half): Likewise.
20465 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20466 to ...
20467 (__x86_data_cache_size): This.
20468 (__x86_64_raw_data_cache_size): Renamed to ...
20469 (__x86_raw_data_cache_size): This.
20470 (__x86_64_data_cache_size_half): Renamed to ...
20471 (__x86_data_cache_size_half): This.
20472 (__x86_64_raw_data_cache_size_half): Renamed to ...
20473 (__x86_raw_data_cache_size_half): This.
20474 (__x86_64_shared_cache_size): Renamed to ...
20475 (__x86_shared_cache_size): This.
20476 (__x86_64_raw_shared_cache_size): Renamed to ...
20477 (__x86_raw_shared_cache_size): This.
20478 (__x86_64_shared_cache_size_half): Renamed to ...
20479 (__x86_shared_cache_size_half): This.
20480 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20481 (__x86_raw_shared_cache_size_half): This.
20482 * sysdeps/x86_64/memcpy.S: Updated.
20483 * sysdeps/x86_64/memset.S: Likewise.
20484 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20486 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20487
0b3986d0
DM
204882013-01-04 David S. Miller <davem@davemloft.net>
20489
20490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20491
e47686e9
AS
204922013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20493
d643bac1
AS
20494 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20495 1 to avoid redefinition warning.
20496 (__USE_GNU): Don't define.
20497 (init_signaling_nan): Protoize.
20498
e47686e9
AS
20499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20500
b18decba
SP
205012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20502
fffb407f
SP
20503 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20505 (__cpymn): Likewise.
20506 (norm): Remove commented code.
20507 (denorm): Likewise.
20508 (__mp_dbl): Likewise.
20509 (__inv): Likewise.
20510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20511 (__cpymn): Likewise.
20512 (norm): Remove commented code.
20513 (denorm): Likewise.
20514 (__mp_dbl): Likewise.
20515 (__inv): Likewise.
20516
b18decba
SP
20517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20518 mp_no value for 1.0 and 2.0.
20519 (norm): Use RADIXI instead of radixi.d.
20520 (denorm): Likewise.
20521 (__mul): Use 0.0 instead of zero.d.
20522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20523 mp_no value for 1.0 and 2.0.
20524 (norm): Use RADIXI instead of radixi.d.
20525 (denorm): Likewise.
20526 (__mul): Use 0.0 instead of zero.d.
20527
cdc1c96f
JM
205282013-01-04 Joseph Myers <joseph@codesourcery.com>
20529
20530 [BZ #14994]
20531 * math/s_casinh.c (__casinh): Reduce finite argument to first
20532 quadrant then set signs of results at the end.
20533 * math/s_casinhf.c (__casinhf): Likewise.
20534 * math/s_casinhl.c (__casinhl): Likewise.
20535 * math/libm-test.inc (casin_test): Add more tests.
20536 (casinh_test): Likewise.
20537 * sysdeps/i386/fpu/libm-test-ulps: Update.
20538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20539
302913e1
SP
205402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20541
6420d207
SP
20542 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20543
a9e48ab4
SP
20544 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20545
b7837264
SP
20546 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20547 declarations.
20548 (denorm): Likewise.
20549 (__mp_dbl): Likewise.
20550 (__inv): Likewise.
20551
f8af25d2
SP
20552 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20553 and adjust the header comment.
20554
302913e1
SP
20555 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20556 variable name from declaration.
20557
5d7dd1ca
L
205582013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20559
20560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20561 Initialize COMMON_CPUID_INDEX_7 element.
20562 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20563 (CPUID_RTM): Likewise.
20564 (HAS_RTM): Likewise.
20565 (COMMON_CPUID_INDEX_7): New enum.
20566
2f5f40f4
AS
205672013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20568
20569 [BZ #14981]
20570 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20571 size is zero, record memory as freed.
20572
4056f4a0
AJ
205732013-01-03 Andreas Jaeger <aj@suse.de>
20574
20575 * po/ia.po: Add new Interlingua translation.
20576
ab15736f 205772012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
20578
20579 * locale/programs/localedef.c: Fix description of '--posix' flag.
20580
568035b7
JM
205812013-01-02 Joseph Myers <joseph@codesourcery.com>
20582
e6898b8d
JM
20583 * NEWS: Update dates in second copyright notice.
20584 * README: Update copyright dates in example.
20585 * manual/libc.texinfo: Update copyright dates.
20586 * scripts/test-installation.pl: Update copyright date in --version
20587 output.
20588
0e2f9562
JM
20589 * hurd/ctty-input.c: Fix copyright notice formatting.
20590 * hurd/ctty-output.c: Likewise.
20591 * hurd/dtable.c: Likewise.
20592 * hurd/hurd-raise.c: Likewise.
20593 * hurd/hurdprio.c: Likewise.
20594 * hurd/msgportdemux.c: Likewise.
20595 * misc/sys/file.h: Likewise.
20596 * misc/sys/ioctl.h: Likewise.
20597 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20598 * sysdeps/mach/hurd/chdir.c: Likewise.
20599 * sysdeps/mach/hurd/fchdir.c: Likewise.
20600 * sysdeps/mach/hurd/rename.c: Likewise.
20601 * sysdeps/mach/hurd/rmdir.c: Likewise.
20602 * sysdeps/mach/hurd/seekdir.c: Likewise.
20603 * sysdeps/mach/hurd/setsid.c: Likewise.
20604 * sysdeps/posix/wait3.c: Likewise.
20605
568035b7
JM
20606 * All files with FSF copyright notices: Update copyright dates
20607 using scripts/update-copyrights.
20608 * intl/plural.c: Regenerated.
20609 * locale/programs/charmap-kw.h: Likewise.
20610 * locale/programs/locfile-kw.h: Likewise.
20611
da08f647
SP
206122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20613
0f5477af
SP
20614 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20615 four values.
20616
44e0d4c2
SP
20617 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20618 calculation loop and add branch prediction.
20619
4d55b4e5
SP
20620 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20621 check access beyond bounds of m1np.
20622
da08f647
SP
20623 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20624 MPTWO.
20625 (__inv): Remove local variable MPTWO to use the global
20626 constant.
20627 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20628 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20629 variable MPTWO.
20630 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20631 MP3HALFS static const.
20632
8e051029
DM
206332013-01-01 David S. Miller <davem@davemloft.net>
20634
20635 * po/ca.po: Update from translation team.
20636
f4cf5f2d
JM
206372013-01-01 Joseph Myers <joseph@codesourcery.com>
20638
20639 * scripts/update-copyrights: New file.
20640 * Makeconfig: Reformat copyright notice.
20641 * ctype/ctype.h: Likewise.
20642 * debug/swprintf_chk.c: Likewise.
20643 * elf/dl-cache.c: Likewise.
20644 * elf/dl-debug.c: Likewise.
20645 * elf/dl-object.c: Likewise.
20646 * grp/initgroups.c: Likewise.
20647 * hurd/Makefile: Likewise.
20648 * hurd/hurd/signal.h: Likewise.
20649 * hurd/hurdfault.c: Likewise.
20650 * hurd/hurdioctl.c: Likewise.
20651 * hurd/hurdlookup.c: Likewise.
20652 * hurd/intr-msg.c: Likewise.
20653 * iconv/gconv_open.c: Likewise.
20654 * libio/swprintf.c: Likewise.
20655 * locale/lc-ctype.c: Likewise.
20656 * locale/nl_langinfo.c: Likewise.
20657 * mach/Machrules: Likewise.
20658 * mach/Makefile: Likewise.
20659 * malloc/obstack.h: Likewise.
20660 * manual/Makefile: Likewise.
20661 * manual/tsort.awk: Likewise.
20662 * misc/bits/stab.def: Likewise.
20663 * nis/nis_print_group_entry.c: Likewise.
20664 * nis/nis_table.c: Likewise.
20665 * nis/nss_compat/compat-pwd.c: Likewise.
20666 * nis/nss_compat/compat-spwd.c: Likewise.
20667 * po/Makefile: Likewise.
20668 * posix/fnmatch.c: Likewise.
20669 * posix/regex.h: Likewise.
20670 * resolv/Makefile: Likewise.
20671 * resolv/nss_dns/dns-network.c: Likewise.
20672 * resolv/res_hconf.c: Likewise.
20673 * scripts/gen-sorted.awk: Likewise.
20674 * soft-fp/soft-fp.h: Likewise.
20675 * stdio-common/printf.h: Likewise.
20676 * stdlib/monetary.h: Likewise.
20677 * stdlib/random.c: Likewise.
20678 * stdlib/random_r.c: Likewise.
20679 * sysdeps/generic/Makefile: Likewise.
20680 * sysdeps/gnu/Makefile: Likewise.
20681 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20683 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20685 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20688 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20689 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20690 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20691 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20692 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20693 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20694 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20695 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20696 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20697 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20698 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20699 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20700 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20701 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20702 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20703 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20704 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20705 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20706 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20707 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20708 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20709 * sysdeps/mach/hurd/errnos.awk: Likewise.
20710 * sysdeps/mach/hurd/fork.c: Likewise.
20711 * sysdeps/mach/hurd/getcwd.c: Likewise.
20712 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20713 * sysdeps/mach/hurd/mmap.c: Likewise.
20714 * sysdeps/mach/hurd/utimes.c: Likewise.
20715 * sysdeps/mach/hurd/xmknod.c: Likewise.
20716 * sysdeps/posix/profil.c: Likewise.
20717 * sysdeps/posix/readdir_r.c: Likewise.
20718 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20719 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20720 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20721 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20723 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20724 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20725 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20727 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20728 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20729 * sysdeps/pthread/lio_listio.c: Likewise.
20730 * sysdeps/sparc/dl-procinfo.h: Likewise.
20731 * sysdeps/unix/i386/sysdep.S: Likewise.
20732 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20733 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20734 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20735 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20737 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20738 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20739 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20740 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20741 * sysdeps/wordsize-32/divdi3.c: Likewise.
20742 * time/sys/time.h: Likewise.
20743 * wcsmbs/Makefile: Likewise.
20744
0549fbba
DM
207452013-01-01 David S. Miller <davem@davemloft.net>
20746
a141f1a7
DM
20747 * po/fr.po: Update from translation team.
20748
0549fbba
DM
20749 * catgets/gencat.c: Update copyright year.
20750 * csu/version.c: Likewise.
20751 * debug/catchsegv.sh: Likewise.
20752 * debug/pcprofiledump.c: Likewise.
20753 * debug/xtrace.sh: Likewise.
20754 * elf/ldconfig.c: Likewise.
20755 * elf/ldd.bash.in: Likewise.
20756 * elf/pldd.c: Likewise.
20757 * elf/sotruss.ksh: Likewise.
20758 * elf/sprof.c: Likewise.
20759 * iconv/iconv_prog.c: Likewise.
20760 * iconv/iconvconfig.c: Likewise.
20761 * locale/programs/locale.c: Likewise.
20762 * locale/programs/localedef.c: Likewise.
20763 * login/programs/pt_chown.c: Likewise.
20764 * malloc/memusage.sh: Likewise.
20765 * malloc/memusagestat.c: Likewise.
20766 * malloc/mtrace.pl: Likewise.
20767 * nscd/nscd.c: Likewise.
20768 * nss/getent.c: Likewise.
20769 * nss/makedb.c: Likewise.
20770 * posix/getconf.c: Likewise.
20771
18ea052c
SP
207722012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20773
20774 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20775 numbers.
20776
9c89fca6
MF
207772012-12-30 Mike Frysinger <vapier@gentoo.org>
20778
20779 * math/bits/mathcalls.h (modf): Use __nonnull.
20780
085ec079
SP
207812012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20782
20783 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20784 (split): Use macro CN instead of the bare value.
20785 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20786 could be used.
20787 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20788 instead of the bare value.
20789 (power1): Likewise.
20790
6d9f97e1
SP
207912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20792
d63f73be
SP
20793 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20794 __ATAN_TWOM.
20795 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20796
6d9f97e1
SP
20797 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20798 their values.
20799 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20800 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20801 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20802 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20803
4c4febf5
AJ
208042012-12-28 Andreas Jaeger <aj@suse.de>
20805
af5843ef
AJ
20806 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20807 values are from Linux 3.7.
20808
4c4febf5
AJ
20809 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20810 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20811
99136f82
SP
208122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20813
2f216c3c 20814 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20815 TRUE case.
20816
99136f82
SP
20817 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20818 (norm): Likewise.
20819 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20820 variables with preprocessor constants.
20821 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20822 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20823 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20824
7fffbdff
BH
208252012-12-27 Bruno Haible <bruno@clisp.org>
20826
20827 [BZ #14317]
20828 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20829 only if needed.
20830
b76eb5f0
SP
208312012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20832
31a7fe5c
SP
20833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20834 and use variable directly.
20835 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20836
b76eb5f0
SP
20837 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20838 MPONE.
20839 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20840 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20841 variable MPONE.
20842 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20844 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20845 include directive. Remove local variable MPONE.
20846 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20847 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20848 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20849
2c8bfe7d
DM
208502012-12-25 David S. Miller <davem@davemloft.net>
20851
20852 * version.h (RELEASE): Set to "development".
20853 (VERSION): Set to "2.17.90".
20854 * NEWS: Add 2.18 section.
20855
147d03b0
DM
208562012-12-21 David S. Miller <davem@davemloft.net>
20857
20858 * po/hr.po: Update from translation team.
20859
a8ebb2b9
AK
208602012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20861
20862 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20863
95b4f1b6
SE
208642012-12-19 Steve Ellcey <sellcey@mips.com>
20865
b2d94007 20866 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20867
cedb2a90
MS
208682012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20869
20870 * manual/contrib.texi (Contributors): Spelling correction.
20871
bbf527d6
DM
208722012-12-15 David S. Miller <davem@davemloft.net>
20873
20874 * po/ru.po: Update from translation team.
20875
bc38c906
DM
208762012-12-13 David S. Miller <davem@davemloft.net>
20877
85429b1a
DM
20878 * NEWS: Mention IFUNC testsuite enhancements.
20879
d283e353
DM
20880 * po/pl.po: Update from translation team.
20881 * po/bg.po: Likewise.
20882
bc38c906
DM
20883 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20884 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20885
a181b0d7
DM
208862012-12-11 David S. Miller <davem@davemloft.net>
20887
4641d57e
DM
20888 * po/sv.po: Update from translation team.
20889
f7bc6495
DM
20890 * po/vi.po: Update from translation team.
20891
6fc9048f
DM
20892 * po/cs.po: Update from translation team.
20893
a181b0d7
DM
20894 * po/de.po: Update from translation team.
20895 * po/eo.po: Likewise.
20896 * po/nl.po: Likewise.
20897
f70bfe80
SP
208982012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20899
3c8b4190
SP
20900 [BZ #14246]
20901 * manual/argp.texi (Argp Helper Functions): Move node to follow
20902 Argp Parsing State.
20903
f70bfe80
SP
20904 [BZ #14872]
20905 * manual/conf.texi (Limits on File System Capacity): Mention if
20906 terminating null is included in the max size.
20907
188f0adf
AJ
209082012-12-10 Andreas Jaeger <aj@suse.de>
20909
20910 * po/cs.po: Update from translation team.
20911
56e7d3ad
SP
209122012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20913
20914 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20915 void pointer and cast to uintptr_t.
20916 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20917 path.
20918 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20919 * sysdeps/s390/s390-64/memset.S: Likewise.
20920
76f2d2ea 209212012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20922
20923 [BZ #14833]
20924 * menual/message.texi (Message Translation): Fix typos.
20925 (Helper programs for gettext): Likewise.
20926
67cbf9a2
AS
209272012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20928
20929 [BZ #14898]
20930 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20931 Change to -1.
20932
682d0e9a
DM
209332012-12-07 David S. Miller <davem@davemloft.net>
20934
20935 * po/libc.pot: Update.
20936
573cd484
RH
209372012-12-07 Richard Henderson <rth@redhat.com>
20938
7e9da188 20939 [BZ #10114]
573cd484
RH
20940 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20941 normal/normal case to before the switch.
20942 (_FP_DIV): Likewise.
20943
e933a943
MF
209442012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20945 Mike Frysinger <vapier@gentoo.org>
20946
20947 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20948 check for __NR_fadvise64_64.
20949
82123268
CM
209502012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20951
20952 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20953 0, not just to plain "0" as a statement.
20954 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20955 with cw.
20956
d9814526
JM
209572012-12-06 Joseph Myers <joseph@codesourcery.com>
20958
20959 * NEWS: Use sourceware.org in Bugzilla URL.
20960
7728c574
SP
209612012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20962
f16946dd
SP
20963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20964 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20965
5704bbcb
SP
20966 * stdio-common/tst-put-error.c (do_test): Add newline to the
20967 padded test to ensure flush.
20968
17aa0516
JL
209692012-12-05 Jeff Law <law@redhat.com>
20970
20971 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20972
363313b5
JM
209732012-12-05 Joseph Myers <joseph@codesourcery.com>
20974
effbd42a
JM
20975 * README: Don't refer to ports add-on as distributed separately.
20976 Mention AArch64 in list of systems supported in the ports add-on.
20977
87600365
JM
20978 * LICENSES: Add more non-FSF copyright and license notices.
20979
a0d7066a
JM
20980 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20981 ((unused)).
20982
66ca5a5b
JM
20983 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20984
363313b5
JM
20985 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20986 10000 as width of padded output.
20987
b37984ad
JM
209882012-12-04 Joseph Myers <joseph@codesourcery.com>
20989
9003570a
JM
20990 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20991
b37984ad
JM
20992 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20993 variable LX with __attribute__ ((unused)).
20994 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20995 Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20999 with __attribute__ ((unused)).
21000
c8df52ec
DM
210012012-12-04 David S. Miller <davem@abraco.davemloft.net>
21002
21003 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21004
b3b099af
JM
210052012-12-04 Joseph Myers <joseph@codesourcery.com>
21006
c33aa6e3
JM
21007 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21008 (CFLAGS-nldbl-acos.c): New variable.
21009 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21010 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21011 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21012 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21013 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21014 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21015 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21016 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21017 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21018 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21019 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21020 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21021 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21022 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21023 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21024 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21025 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21026 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21027 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21028 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21029 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21030 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21031 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21032 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21033 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21034 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21035 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21036 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21037 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21038 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21039 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21040 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21041 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21042 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21043 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21044 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21045 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21046 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21047 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21048 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21049 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21050 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21051 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21052 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21053 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21054 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21055 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21056 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21057 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21058 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21059 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21060 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21061 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21062 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21063 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21064 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21065 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21066 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21067 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21068 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21069 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21070 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21071 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21072 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21073 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21074 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21075 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21076 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21077 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21078 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21079 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21080 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21081 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21082 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21083 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21084 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21085 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21086 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21087 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21088 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21089 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21090 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21091 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21092 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21093 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21094 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21095 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21096 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21097 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21098 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21099 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21100 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21101 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21102 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21103 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21104 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21105 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21106
20f0018d
JM
21107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21108 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21109
b3b099af
JM
21110 [BZ #14914]
21111 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21112 whole low double instead of just low 47 bits when splitting values
21113 into two parts.
21114
029264d1
AM
211152012-12-03 Allan McRae <allan@archlinux.org>
21116
21117 * manual/stdio.texi (Predefined Printf Handlers): Remove
21118 @hsep and @vsep usage.
21119
c9d6789e
MF
211202012-12-03 Mike Frysinger <vapier@gentoo.org>
21121
21122 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21123 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21124
4b7634a5
JL
211252012-12-03 Jeff Law <law@redhat.com>
21126
21127 * time/sys/time.h (settimeofday): Do not mark TV argument
21128 as __nonnull.
21129
eb6cbd24
MF
211302012-12-01 Mike Frysinger <vapier@gentoo.org>
21131
21132 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21133 when currently writing and seek to current position when not.
21134 * libio/Makefile (tests): Remove bug-fclose1.
21135 * libio/bug-fclose1.c: Delete.
21136
f638872a
JM
211372012-12-01 Joseph Myers <joseph@codesourcery.com>
21138
21139 * manual/arith.texi (feenableexcept): Fix typo.
21140 (fedisableexcept): Likewise.
21141
48085d14
RM
211422012-11-30 Roland McGrath <roland@hack.frob.com>
21143
21144 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21145 second, differently-typed declaration, rather than a cast.
21146
1a538b9f
SP
211472012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21148
21149 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21150 * include/rpc/svc.h: ... here.
21151
d07f2ff1 211522012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
21153
21154 [BZ #13013]
21155 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21156 depending n and resplen2 to catch cases where answer
21157 equals answerp2.
21158
c93ec1f0
CD
211592012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21160
21161 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21162 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21163
37db69de
MF
211642012-11-29 Mike Frysinger <vapier@gentoo.org>
21165
21166 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21167
e10c4e4f
RM
211682012-11-29 Roland McGrath <roland@hack.frob.com>
21169
21170 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21171
2af1b328
JL
211722012-11-28 Jeff Law <law@redhat.com>
21173
21174 [BZ #13761]
21175 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21176 dataset_temporary. Track alloca usage into alloca_used.
21177 If dataset is large allocate and release it via malloc/free.
21178
111db5b1
FW
211792012-06-04 Florian Weimer <fweimer@redhat.com>
21180
f06cc227 21181 [BZ #14197]
111db5b1
FW
21182 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21183
dd694abd
DM
211842012-11-28 David S. Miller <davem@davemloft.net>
21185
21186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21187
9984dd01
JM
211882012-11-28 Joseph Myers <joseph@codesourcery.com>
21189
21190 [BZ #14803]
21191 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21192 of pi/2 rounded to nearest to 64 bits.
21193 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21194 nearest to 64 bits.
21195 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21196 bits.
21197
14bc93a9
JL
211982012-11-28 Jeff Law <law@redhat.com>
21199 Martin Osvald <mosvald@redhat.com>
21200
21201 [BZ #14889]
21202 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21203 * sunrpc/svc.c: Include time.h.
21204 (__svc_accept_failed): New function.
21205 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21206 any reason other than EINTR, call __svc_accept_failed.
21207 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21208 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21209
e3c6aa3a
AS
212102012-11-28 Andreas Schwab <schwab@suse.de>
21211
21212 * scripts/abilist.awk: Also handle indirect functions in .opd
21213 section.
21214
1bead169
JM
212152012-11-28 Joseph Myers <joseph@codesourcery.com>
21216
21217 [BZ #13881]
21218 * sysdeps/x86/fpu/powl_helper.c: New file.
21219 * sysdeps/x86/fpu/Makefile: Likewise.
21220 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21221 (p3): New object.
21222 (__ieee754_powl): Use __powl_helper for finite arguments except
21223 integer exponents below 8.
21224 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21225 (p3): New object.
21226 (__ieee754_powl): Use __powl_helper for finite arguments except
21227 integer exponents below 8.
21228 * math/libm-test.inc (pow_test): Add more tests and enable some
21229 previously disabled tests.
21230 * sysdeps/i386/fpu/libm-test-ulps: Update.
21231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21232
0817d63d
SP
212332012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21234 Carlos O'Donell <carlos_odonell@mentor.com>
21235
21236 * nss/makedb.c (is_prime): Assert that input is odd and greater
21237 than 4. Note that fact in a comment too.
21238 (next_prime): Add 4 to input.
21239
de2fd463
SP
212402012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21241
21242 [BZ #11741]
21243 * libio/Makefile (tests): Add test case tst-fwrite-error.
21244 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21245 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21246 * libio/tst-fwrite-error.c: New test case.
21247
c515fb51
L
212482012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21249
21250 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21251 before casting to void *.
21252 * include/libc-internal.h (__pointer_type): New macro.
21253 (__integer_if_pointer_type_sub): Likewise.
21254 (__integer_if_pointer_type): Likewise.
21255 (cast_to_integer): Likewise.
21256 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21257 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21258 before casting to atomic64_t.
21259 (atomic_exchange_acq): Likewise.
21260 (__arch_exchange_and_add_body): Likewise.
21261 (__arch_add_body): Likewise.
21262 (atomic_add_negative): Likewise.
21263 (atomic_add_zero): Likewise.
21264
4cf77aa9
JM
212652012-11-26 Joseph Myers <joseph@codesourcery.com>
21266
21267 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21268 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21269 (add_fdes): Likewise.
21270 (linear_search_fdes): Likewise.
21271 (binary_search_unencoded_fdes): Likewise.
21272
d260b3b4
AS
212732012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21274
21275 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21276
67060746
AC
212772012-11-24 Adam Conrad <adconrad@0c3.net>
21278
21279 * configure.in: Autodetect C++ header directories.
21280 * configure: Regenerated.
21281
800938a1
MF
212822012-11-23 Mike Frysinger <vapier@gentoo.org>
21283
21284 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21285
4e6e34e6
AS
212862012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21287
21288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21289
7c7feb47
JM
212902012-11-22 Joseph Myers <joseph@codesourcery.com>
21291
7184dcdf
JM
21292 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21293 LDBL_MANT_DIG == 106]: Disable some tests.
21294 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21295 Likewise.
21296 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21297 Likewise.
21298
0a42601f
JM
21299 [BZ #14871]
21300 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21301 input for small inputs. Return +/- pi/2 for large inputs.
21302 * math/libm-test.inc (atan_test): Add more tests.
21303
79c9b9fe
JM
21304 * sysdeps/generic/unwind-dw2-fde-glibc.c
21305 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21306 __attribute__ ((unused)).
21307
c60d3bf2
JM
21308 [BZ #14645]
21309 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21310 x * y if x and y are nonzero and z is zero.
21311
ef1e0867
JM
21312 [BZ #14811]
21313 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21314 nonzero exponents with absolute value below 0x1p-117 to +/-
21315 0x1p-117.
21316
1468ded3
JM
21317 [BZ #14869]
21318 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21319 up arguments below 2**-450, not just those below 2**-500.
21320 * math/libm-test.inc (hypot_test): Add another test.
21321
8e27e3cc
JM
21322 [BZ #14868]
21323 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21324 Return a+b for ratio over 2**120, not 2**60.
21325 * math/libm-test.inc (hypot_test): Add another test.
21326
c9c0279b
JM
21327 * math/libm-test.inc (clog_test): Use
21328 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21329 (clog10_test): Likewise.
21330
7c7feb47
JM
21331 [BZ #6778]
21332 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21333
fff1530e
AS
213342012-11-22 Andreas Schwab <schwab@suse.de>
21335
21336 * sysdeps/i386/fpu/libm-test-ulps: Update.
21337
94558d30
PT
213382012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21339
21340 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21341 printf output with newline.
21342
7e1be741
L
213432012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21344
6bfea974
L
21345 [BZ #14865]
21346 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21347 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21348 -z nodlopen, -z initfirst and -z execstack support.
21349 * configure: Regenerated.
21350
7e1be741
L
21351 * elf/elf.h (DF_1_NODIRECT): New macro.
21352 (DF_1_IGNMULDEF): Likewise.
21353 (DF_1_NOKSYMS): Likewise.
21354 (DF_1_NOHDR): Likewise.
21355 (DF_1_EDITED): Likewise.
21356 (DF_1_NORELOC): Likewise.
21357 (DF_1_SYMINTPOSE): Likewise.
21358 (DF_1_GLOBAUDIT): Likewise.
21359 (DF_1_SINGLETON): Likewise.
21360 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21361 DT_1_SUPPORTED_MASK bits.
21362 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21363
105ce2ce
CD
213642012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21365
21366 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21367
123be9de
TS
213682012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21369
d072f3f7
TS
21370 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21371 macro.
21372
123be9de
TS
21373 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21374 (sendmmsg): Move declarations...
21375 * socket/sys/socket.h: ... here.
21376 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21377 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21378 include it from...
21379 * socket/recvmmsg.c: ... this new file.
21380 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21381 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21382 definition of __sendmmsg hidden.
21383 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21384 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21385 Move ENOSYS stub into and include it from...
21386 * socket/sendmmsg.c: ... this new file.
21387 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21388 (sysdep_routines): Move recvmmsg and sendmmsg...
21389 * socket/Makefile (routines): ... here.
21390 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21391 (GLIBC_PRIVATE): Add __sendmmsg.
21392 * include/sys/socket.h (__sendmmsg): Add declarations.
21393 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21394 sendmmsg.
21395
cf9a5d18
JM
213962012-11-20 Joseph Myers <joseph@codesourcery.com>
21397
21398 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21399 variable I1 with __attribute__ ((unused)).
21400 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21401
ecd4caf9
JM
214022012-11-19 Joseph Myers <joseph@codesourcery.com>
21403
be14d48f
JM
21404 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21405 DUMMY variables with __attribute__ ((unused)).
21406
ecd4caf9
JM
21407 * bits/byteswap.h: Include <bits/types.h>.
21408 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21409
986cab95
PT
214102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21411
21412 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21413 string_t. Do not manually set errno.
21414 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21415 length with __strnlen. Make sure to both set errno and return it on
21416 failure.
21417
6d33cc9d
DM
214182012-11-19 David S. Miller <davem@davemloft.net>
21419
21420 With help from Joseph Myers.
21421 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21422 very large arguments properly.
21423 * math/libm-test.inc (atan_test): New tests.
21424 (atan2_test): New tests.
21425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21427
ee663277
JM
214282012-11-19 Joseph Myers <joseph@codesourcery.com>
21429
877f2d8e
JM
21430 [BZ #14856]
21431 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21432 Define to 3.
21433
116fc08a
JM
21434 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21435 [POSIX] (EADDRNOTAVAIL): Likewise.
21436 [POSIX] (EAFNOSUPPORT): Likewise.
21437 [POSIX] (EALREADY): Likewise.
21438 [POSIX] (ECONNABORTED): Likewise.
21439 [POSIX] (ECONNREFUSED): Likewise.
21440 [POSIX] (ECONNRESET): Likewise.
21441 [POSIX] (EDESTADDRREQ): Likewise.
21442 [POSIX] (EDQUOT): Likewise.
21443 [POSIX] (EHOSTUNREACH): Likewise.
21444 [POSIX] (EIDRM): Likewise.
21445 [POSIX] (EISCONN): Likewise.
21446 [POSIX] (ELOOP): Likewise.
21447 [POSIX] (EMULTIHOP): Likewise.
21448 [POSIX] (ENETDOWN): Likewise.
21449 [POSIX] (ENETUNREACH): Likewise.
21450 [POSIX] (ENOBUFS): Likewise.
21451 [POSIX] (ENODATA): Likewise.
21452 [POSIX] (ENOLINK): Likewise.
21453 [POSIX] (ENOMSG): Likewise.
21454 [POSIX] (ENOPROTOOPT): Likewise.
21455 [POSIX] (ENOSR): Likewise.
21456 [POSIX] (ENOSTR): Likewise.
21457 [POSIX] (ENOTCONN): Likewise.
21458 [POSIX] (ENOTSOCK): Likewise.
21459 [POSIX] (EOPNOTSUPP): Likewise.
21460 [POSIX] (EOVERFLOW): Likewise.
21461 [POSIX] (EPROTO): Likewise.
21462 [POSIX] (EPROTONOSUPPORT): Likewise.
21463 [POSIX] (EPROTOTYPE): Likewise.
21464 [POSIX] (ESTALE): Likewise.
21465 [POSIX] (ETIME): Likewise.
21466 [POSIX] (ETXTBSY): Likewise.
21467 [POSIX] (EWOULDBLOCK): Likewise.
21468 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21469 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21470 [POSIX] (SEEK_CUR): Likewise.
21471 [POSIX] (SEEK_END): Likewise.
21472 [POSIX || UNIX98] (mode_t): Do not require.
21473 [POSIX] (off_t): Likewise.
21474 [POSIX] (pid_t): Likewise.
21475 [POSIX] (sys/stat.h): Do not allow header.
21476 [POSIX] (unistd.h): Likewise.
21477 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21478 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21479 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21480 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21481 require.
21482 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21483 sigevent): Specify elements.
21484 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21485 entry.
21486 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21487 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21488
a483863f
JM
21489 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21490 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21491 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21492 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21493 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21494 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21495 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21496 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21497 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21498 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21499 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21500 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21501 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21502 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21503 Likewise.
21504 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21505 Likewise.
21506 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21507 Likewise.
21508 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21509 Likewise.
21510 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21511 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21512 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21513 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21514 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21515 Specify lower bound on value.
21516 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21517 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21518 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21519 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21520 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21521 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21522 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21523 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21524 value.
21525 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21526 as optional.
21527 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21528 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21529 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21530 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21531 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21532 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21533 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21534 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21535 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21536 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21537 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21538 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21539 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21540 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21541 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21542 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21543 entry.
21544 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21545 optional.
21546 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21547 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21548 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21549 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21550 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21551 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21552 Likewise.
21553 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21554 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21555 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21556 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21557 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21558 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21559 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21560 as optional.
21561 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21562 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21563 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21564 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21565 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21566 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21567 specify as optional.
21568 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21569 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21570 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21571 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21572 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21573 [XPG3] (NL_LANGMAX): Likewise.
21574 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21575 [POSIX || XPG3] (NL_NMAX): Likewise.
21576 [POSIX || XPG3] (NL_SETMAX): Likewise.
21577 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21578 [XPG3] (NZERO): Likewise.
21579 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21580 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21581 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21582 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21583 (REG_ERANGE): Expect.
21584 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21585 optional-constant.
21586 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21587 Use (void) in prototype.
21588 [POSIX] (*_t): Allow.
21589 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21590 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21591 (WRDE_BADVAL): Expect.
21592
5ba924e3
JM
21593 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21594 expect.
21595 [XPG3 || XPG4] (O_RSYNC): Likewise.
21596 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21597 Likewise.
21598 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21599 [XPG3 || XPG4] (sigqueue): Likewise.
21600 [XPG3 || XPG4] (sigtimedwait): Likewise.
21601 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21602 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21603 [XPG3 || XPG4] (vsnprintf): Likewise.
21604 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21605 Likewise.
21606 [XPG3 || XPG4] (blksize_t): Likewise.
21607 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21608 Likewise.
21609 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21610 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21611 [XPG3 || XPG4] (struct itimerspec): Likewise.
21612 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21613 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21614 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21615 [XPG3 || XPG4] (clockid_t): Likewise.
21616 [XPG3 || XPG4] (timer_t): Likewise.
21617 [XPG3 || XPG4] (clock_getres): Likewise.
21618 [XPG3 || XPG4] (clock_gettime): Likewise.
21619 [XPG3 || XPG4] (clock_settime): Likewise.
21620 [XPG3 || XPG4] (nanosleep): Likewise.
21621 [XPG3 || XPG4] (timer_create): Likewise.
21622 [XPG3 || XPG4] (timer_delete): Likewise.
21623 [XPG3 || XPG4] (timer_gettime): Likewise.
21624 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21625 [XPG3 || XPG4] (timer_settime): Likewise.
21626 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21627 [XPG3 || XPG4] (getlogin_r): Likewise.
21628 [XPG3 || XPG4] (pread): Likewise.
21629 [XPG3 || XPG4] (pthread_atfork): Likewise.
21630 [XPG3 || XPG4] (pwrite): Likewise.
21631
ee663277
JM
21632 [BZ #14835]
21633 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21634 <bits/siginfo.h>.
21635
942caa16
PT
216362012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21637
e19af380
PT
21638 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21639 finalizing MALLSTREAM.
21640
942caa16
PT
21641 * sysdeps/mach/hurd/syncfs.c: New file.
21642
cfde9b46
SP
216432012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21644
21645 [BZ #14719]
21646 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21647 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21648 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21649 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21650 (_nss_dns_gethostbyname4_r): Likewise.
21651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21652 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21653
f6da27e5
PH
216542012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21655
21656 [BZ #13763]
21657 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21658
6665d4a2
SM
216592012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21660
1f51ee92
SM
21661 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21662 * elf/cache.c (print_entry): Print ",AArch64" for
21663 FLAG_AARCH64_LIB64
21664
6665d4a2
SM
21665 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21666 * elf/cache.c (print_entry): Print ",hard-float" for
21667 FLAG_ARM_LIBHF.
21668
05b227bd
DM
216692012-11-18 David S. Miller <davem@davemloft.net>
21670
21671 With help from Joseph Myers.
21672 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21673 cutoff to 2**-13.
21674 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21675 cutoff to 2**-25.
21676 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21677 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21678 small.
21679 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21680 * math/libm-test.inc (y0_test): New tests.
21681 (y1_test): New tests.
21682 * sysdeps/i386/fpu/libm-test-ulps: Update.
21683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21685
786b0b67
AS
216862012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21687
21688 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21689 64-bit targets.
21690 * configure: Regenerated.
21691
8e18b86d
DM
216922012-11-17 David S. Miller <davem@davemloft.net>
21693
21694 [BZ #14811]
21695 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21696 nonzero exponents with absolute value below 0x1p-128 to +/-
21697 0x1p-128.
21698
531f1ae0
JM
216992012-11-17 Joseph Myers <joseph@codesourcery.com>
21700
12df29e2
JM
21701 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21702
150dc1a0
JM
21703 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21704
531f1ae0
JM
21705 * posix/getconf-speclist.c: New file.
21706 * posix/posix-envs.def: Likewise.
21707 * posix/confstr.c (START_ENV_GROUP): New macro.
21708 (END_ENV_GROUP): Likewise.
21709 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21710 (KNOWN_PRESENT_ENV_STRING): Likewise.
21711 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21712 (UNKNOWN_ENVIRONMENT): Likewise.
21713 (confstr): Include posix-envs.def instead of handling
21714 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21715 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21716 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21717 (END_ENV_GROUP): Likewise.
21718 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21719 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21720 (UNKNOWN_ENVIRONMENT): Likewise.
21721 (__sysconf): Include posix-envs.def instead of handling associated
21722 cases directly here.
21723 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21724 preprocessing getconf-speclist.c rather than running getconf or
21725 generating empty file.
21726
a93f9cbc
PT
217272012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21728
21729 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21730
d64d9f87
AL
217312012-11-16 Andrej Lajovic <natrij@gmail.com>
21732
21733 [BZ #14672]
21734 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21735
447885eb
DM
217362012-11-16 David S. Miller <davem@davemloft.net>
21737
21738 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21739 smaller than LDBL_EPSILON/2.0L, just return xm1.
21740
bcbf9830
L
217412012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21742
21743 * elf/tst-array1.c (init): Set constructor priority to 1000.
21744 (fini): Set destructor priority to 1000.
21745 * elf/tst-array2dep.c: Likewise.
21746
2b766585
SP
217472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21748
21749 [BZ #11741]
21750 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21751 (_IO_new_file_xsputn): Also return EOF if none of the input
21752 data was written when overflow failed.
21753 * libio/iopadn.c (_IO_padn): Likewise.
21754 * libio/iowpadn.c (_IO_wpadn): Likewise.
21755 * stdio-common/tst-put-error.c: Add copyright notice.
21756 (do_test): Add case for printing padded string.
21757 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21758 _IO_padn returned error.
21759 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21760 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21761 return EOF.
21762
b1848fde
SP
217632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21764
21765 * libio/libioP.h: Add comment note that the references to C++
21766 bits are now obsolete.
21767
2fd89785
MS
217682012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21769
21770 * math/libm-test.inc (check_complex): Use asprintf.
21771
e3ea5409
JM
217722012-11-14 Joseph Myers <joseph@codesourcery.com>
21773
21774 * debug/pcprofiledump.c (print_version): Update copyright year.
21775 * malloc/memusagestat.c (print_version): Likewise.
21776
2e64d265
L
217772012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21778
21779 [BZ #14831]
21780 * elf/Makefile (tests): Add tst-audit8.
21781 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21782 ($(objpfx)tst-audit8.out): New target.
21783 (tst-audit8-ENV): New variable.
21784 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21785 audit if l_reloc_result is NULL.
21786 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21787 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21788 * elf/tst-audit8.c: New file.
21789
c485e4d2
MS
217902012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21791
21792 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21793 * misc/Makefile (CFLAGS-select.c): Define.
21794 * posix/Makefile (CFLAGS-pause.c): Define.
21795
3a0d900a
DM
217962012-11-13 David S. Miller <davem@davemloft.net>
21797
21798 * crypt/Makefile: Move test targets after toplevel Rules
21799 inclusion. Grab any necessary sysdep routines when linking.
21800 * crypt/md5.c (md5_process_block): Remove define, we will always
21801 name it __md5_process_block.
21802 (md5_finish_ctx): Update md5_process_block call.
21803 (md5_stream): Likewise.
21804 (md5_process_bytes): Likewise.
21805 (md5_process_block): Rename to __md5_process_block and move to ...
21806 * crypt/md5-block.c: ... here.
21807 * crypt/sha256.c (sha256_process_block): Move to ...
21808 * crypt/sha256-block.c: ... here.
21809 * crypt/sha512.c (sha512_process_block): Move to ...
21810 * crypt/sha512-block.c: ... here.
21811 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21812 path.
21813 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21814 * sysdeps/sparc/sparc64/multiarch/Makefile
21815 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21816 crypt subdir.
21817 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21818 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21819 multiarch changes.
21820 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21821 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21822 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21823 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21824 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21825 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21826 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21827 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21828 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21829 file.
21830 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21831 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21832 file.
21833 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21834
8ca89318
JM
218352012-11-13 Joseph Myers <joseph@codesourcery.com>
21836
e27d476a
JM
21837 * timezone/tzselect.ksh: Update from tzcode git revision
21838 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21839 * timezone/zdump.c: Likewise.
21840 * timezone/zic.c: Likewise.
21841 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21842 in TZVERSION setting, not $(PKGVERSION).
21843 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21844 REPORT_BUGS_TO settings.
21845
8ca89318
JM
21846 [BZ #14838]
21847 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21848 macro.
21849
47594329
MS
218502012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21851
21852 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21853 detection to immediately after _FP_ROUND().
21854 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21855 bits are 0.
21856
640ac3f1
DM
218572012-11-11 David S. Miller <davem@davemloft.net>
21858
21859 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21860 inttypes.h
21861 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21862 __close rather than their public counterparts.
21863
3d2577bb
JM
218642012-11-10 Joseph Myers <joseph@codesourcery.com>
21865
21866 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21867 file.
21868 [UNIX98] (sem_timedwait): Do not expect.
21869 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21870 [XPG4 || UNIX98] (sockatmark): Do not expect.
21871 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21872 (clock_getcpuclockid): Do not expect.
21873 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21874 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21875 Do not expect.
21876 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21877 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21878 [UNIX98] (vwscanf): Likewise.
21879 [UNIX98] (vswscanf): Likewise.
21880
fb1ae1ee
JM
218812012-11-09 Joseph Myers <joseph@codesourcery.com>
21882
9ec6f8bd
JM
21883 * timezone/version.h: Remove file.
21884 * timezone/README: Do not refer to version.h.
21885 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21886 $(objpfx)version.h.
21887 ($(objpfx)zdump.o): Likewise.
c3f81911 21888 ($(objpfx)version.h): New target.
9ec6f8bd 21889
0aa8f8a1
JM
21890 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21891 2012i.
21892 * timezone/README: Don't mention modification to tzselect.ksh.
21893 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21894 work on unmodified tzselect.ksh. Substitute version numbers in
21895 tzselect.ksh.
21896
4e87147f
JM
21897 * Makefile (format-me): Remove.
21898 (INSTALL): Adjust indentation. Use commands directly instead of
21899 using $(format-me).
21900
8b748aed
JM
21901 * aclocal.m4 (ACX_PKGVERSION): New macro.
21902 (ACX_BUGURL): Likewise.
21903 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21904 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21905 (REPORT_BUGS_TO): Likewise.
21906 * configure: Regenerated.
21907 * config.h.in (PKGVERSION): New macro.
21908 (REPORT_BUGS_TO): Likewise.
21909 * config.make.in (PKGVERSION): New variable.
21910 (PKGVERSION_TEXI): Likewise.
21911 (REPORT_BUGS_TO): Likewise.
21912 (REPORT_BUGS_TEXI): Likewise.
21913 * Makefile (format-me): Use -I$(common-objpfx)manual.
21914 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21915 ($(common-objpfx)manual/%): New target.
21916 (manual/%): Remove target.
21917 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21918 (print_version): Use PKGVERSION.
21919 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21920 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21921 and REPORT_BUGS_TO.
21922 ($(objpfx)xtrace): Likewise.
21923 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21924 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21925 (print_version): Use PKGVERSION.
21926 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21927 (do_version): Use PKGVERSION.
21928 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21929 REPORT_BUGS_TO.
21930 (common-ldd-rewrite): Likewise.
21931 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21932 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21933 (print_version): Use PKGVERSION.
21934 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21935 * elf/pldd.c (argp_program_bug_address): Remove variable.
21936 (more_help): New function.
21937 (argp): Use more_help.
21938 (print_version): Use PKGVERSION.
21939 * elf/sln.c (main): Use PKGVERSION.
21940 (usage): Use REPORT_BUGS_TO.
21941 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21942 (top level): Use PKGVERSION.
21943 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21944 (print_version): Use PKGVERSION.
21945 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21946 (print_version): Use PKGVERSION.
21947 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21948 (print_version): Use PKGVERSION.
21949 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21950 (print_version): Use PKGVERSION.
21951 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21952 (print_version): Use PKGVERSION.
21953 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21954 (print_version): Use PKGVERSION.
21955 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21956 and BUGURL.
21957 ($(objpfx)memusage): Likewise.
21958 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21959 (do_version): Use PKGVERSION.
21960 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21961 (print_version): Use PKGVERSION.
21962 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21963 ($PKGVERSION): New variable.
21964 ($REPORT_BUGS_TO): Likewise.
21965 (usage): Use $REPORT_BUGS_TO.
21966 (top level): Use $PKGVERSION.
21967 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21968 ($(objpfx)pkgvers.texi): New rule.
21969 ($(objpfx)stamp-pkgvers): Likewise.
21970 * manual/install.texi: Include pkgvers.texi.
21971 (--with-pkgversion): Document new configure option.
21972 (--with-bugurl): Likewise.
21973 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21974 than necessarily for this particular distribution. Use
21975 REPORT_BUGS_TO for where to report bugs.
21976 * INSTALL: Regenerated.
21977 * manual/libc.texinfo: Include pkgvers.texi.
21978 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21979 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21980 (print_version): Use PKGVERSION.
21981 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21982 (print_version): Use PKGVERSION.
21983 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21984 (print_version): Use PKGVERSION.
21985 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21986 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21987 macro.
21988 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21989 (print_version): Use PKGVERSION.
21990 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21991 (print_version): Use PKGVERSION.
21992 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21993 and PKGVERSION.
21994
92e4b6a9
JM
21995 * timezone/checktab.awk: Update from tzcode 2012i.
21996 * timezone/ialloc.c: Likewise.
21997 * timezone/private.h: Likewise.
21998 * timezone/scheck.c: Likewise.
21999 * timezone/tzfile.h: Likewise.
22000 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22001 (TZVERSION): Hardcode tzcode version number.
22002 * timezone/zdump.c: Update from tzcode 2012i.
22003 * timezone/zic.c: Likewise.
22004 * timezone/version.h: New file.
22005 * timezone/README: Describe version.h. Update upstream location.
22006
9bde902c
JM
22007 [BZ #14824]
22008 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22009 (mktemp): Enable declaration.
22010 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22011 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22013 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22014 Likewise.
22015 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22016 Likewise.
22017 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22018 Likewise.
22019 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22020 Likewise.
22021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22022 Likewise.
22023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22024 Likewise.
22025
fb1ae1ee
JM
22026 [BZ #14821]
22027 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22028 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22029 for copies of such integer values.
22030 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22031 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22032
2c1adbcb
AJ
220332012-11-09 Andreas Jaeger <aj@suse.de>
22034
22035 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22036 definitions and declarations that are provided by
22037 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22038
d0f8457e
AK
220392012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22040
3a235abb 22041 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22042 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22043 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22044 definition.
22045
57241e26
MS
220462012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22047
22048 * elf/elf.h: Update comment before AArch64 relocations.
22049
60e8270d
DM
220502012-11-07 David S. Miller <davem@davemloft.net>
22051
22052 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22053 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22054 (__start_context): Declare.
22055 (__makecontext_ret): Delete.
22056 (__makecontext): Hook up __start_context instead of
22057 __makecontext_ret.
22058 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22059 (sysdep_routines): Add __start_context when in stdlib.
22060
0fbb0fbc
JM
220612012-11-07 Joseph Myers <joseph@codesourcery.com>
22062
22063 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22064 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22065 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22066 hardcoded "nm".
22067 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22068 (READELF): New variable. Use it instead of hardcoded "readelf".
22069
eb48db7e
L
220702012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22071
22072 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22073 * sysdeps/x86/Makefile: Here.
22074 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22075 * sysdeps/x86/tst-xmmymm.sh: This.
22076
05bcf62a
JM
220772012-11-07 Joseph Myers <joseph@codesourcery.com>
22078
c4b6cf53
JM
22079 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22080 expectations.
22081 [UNIX98] (pthread_barrier_t): Do not expect.
22082 [UNIX98] (pthread_barrierattr_t): Likewise.
22083 [UNIX98] (pthread_spinlock_t): Likewise.
22084 [UNIX98] (pthread_barrier_destroy): Likewise.
22085 [UNIX98] (pthread_barrier_init): Likewise.
22086 [UNIX98] (pthread_barrier_wait): Likewise.
22087 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22088 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22089 [UNIX98] (pthread_barrierattr_init): Likewise.
22090 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22091 [UNIX98] (pthread_getcpuclockid): Likewise.
22092 [UNIX98] (pthread_mutex_timedlock): Likewise.
22093 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22094 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22095 [UNIX98] (pthread_sigmask): Likewise.
22096 [UNIX98] (pthread_spin_destroy): Likewise.
22097 [UNIX98] (pthread_spin_init): Likewise.
22098 [UNIX98] (pthread_spin_lock): Likewise.
22099 [UNIX98] (pthread_spin_trylock): Likewise.
22100 [UNIX98] (pthread_spin_unlock): Likewise.
22101 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22102 Do not expect.
22103 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22104 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22105 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22106 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22107 [XPG3 || XPG4] (pthread_key_t): Likewise.
22108 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22109 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22110 [XPG3 || XPG4] (pthread_once_t): Likewise.
22111 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22112 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22113 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22114 [XPG3 || XPG4] (pthread_t): Likewise.
22115
cbe6e120
JM
22116 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22117 not expect.
22118 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22119
1b126443
JM
22120 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22121 Change function return type to int.
22122
b961a573
JM
22123 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22124 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22125 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22126 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22127 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22128 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22129 [!POSIX] (posix_madvise): Likewise.
22130 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22131 && !UNIX98].
22132 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22133 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22134 (mode_t): Likewise.
22135 (posix_mem_offset): Likewise.
22136 (posix_typed_mem_get_info): Likewise.
22137 (posix_typed_mem_open): Likewise.
22138
9e188909
JM
22139 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22140 Change condition to [XOPEN2K8].
22141
05bcf62a
JM
22142 * conform/conformtest.pl: Preprocess allow-header data with -x c
22143 instead of from stdin.
22144 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22145 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22146 [C99-based standards] (cerfc): Likewise.
22147 [C99-based standards] (cexp2): Likewise.
22148 [C99-based standards] (cexpm1): Likewise.
22149 [C99-based standards] (clog10): Likewise.
22150 [C99-based standards] (clog1p): Likewise.
22151 [C99-based standards] (clog2): Likewise.
22152 [C99-based standards] (clgamma): Likewise.
22153 [C99-based standards] (ctgamma): Likewise.
22154 [C99-based standards] (cerff): Likewise.
22155 [C99-based standards] (cerfcf): Likewise.
22156 [C99-based standards] (cexp2f): Likewise.
22157 [C99-based standards] (cexpm1f): Likewise.
22158 [C99-based standards] (clog10f): Likewise.
22159 [C99-based standards] (clog1pf): Likewise.
22160 [C99-based standards] (clog2f): Likewise.
22161 [C99-based standards] (clgammaf): Likewise.
22162 [C99-based standards] (ctgammaf): Likewise.
22163 [C99-based standards] (cerfl): Likewise.
22164 [C99-based standards] (cerfcl): Likewise.
22165 [C99-based standards] (cexp2l): Likewise.
22166 [C99-based standards] (cexpm1l): Likewise.
22167 [C99-based standards] (clog10l): Likewise.
22168 [C99-based standards] (clog1pl): Likewise.
22169 [C99-based standards] (clog2l): Likewise.
22170 [C99-based standards] (clgammal): Likewise.
22171 [C99-based standards] (ctgammal): Likewise.
22172 * conform/data/inttypes.h-data [C99-based standards]: Include
22173 stdint.h-data. Remove all expectations for stdint.h contents.
22174 [C99-based standards] (PRI*): Do not allow.
22175 [C99-based standards] (SCN*): Likewise.
22176 [C99-based standards] (*_t): Likewise.
22177 [C99-based-standards] (PRId8): Expect macro.
22178 [C99-based-standards] (PRIi8): Likewise.
22179 [C99-based-standards] (PRIo8): Likewise.
22180 [C99-based-standards] (PRIu8): Likewise.
22181 [C99-based-standards] (PRIx8): Likewise.
22182 [C99-based-standards] (PRIX8): Likewise.
22183 [C99-based-standards] (SCNd8): Likewise.
22184 [C99-based-standards] (SCNi8): Likewise.
22185 [C99-based-standards] (SCNo8): Likewise.
22186 [C99-based-standards] (SCNu8): Likewise.
22187 [C99-based-standards] (SCNx8): Likewise.
22188 [C99-based-standards] (PRIdLEAST8): Likewise.
22189 [C99-based-standards] (PRIiLEAST8): Likewise.
22190 [C99-based-standards] (PRIoLEAST8): Likewise.
22191 [C99-based-standards] (PRIuLEAST8): Likewise.
22192 [C99-based-standards] (PRIxLEAST8): Likewise.
22193 [C99-based-standards] (PRIXLEAST8): Likewise.
22194 [C99-based-standards] (SCNdLEAST8): Likewise.
22195 [C99-based-standards] (SCNiLEAST8): Likewise.
22196 [C99-based-standards] (SCNoLEAST8): Likewise.
22197 [C99-based-standards] (SCNuLEAST8): Likewise.
22198 [C99-based-standards] (SCNxLEAST8): Likewise.
22199 [C99-based-standards] (PRIdFAST8): Likewise.
22200 [C99-based-standards] (PRIiFAST8): Likewise.
22201 [C99-based-standards] (PRIoFAST8): Likewise.
22202 [C99-based-standards] (PRIuFAST8): Likewise.
22203 [C99-based-standards] (PRIxFAST8): Likewise.
22204 [C99-based-standards] (PRIXFAST8): Likewise.
22205 [C99-based-standards] (SCNdFAST8): Likewise.
22206 [C99-based-standards] (SCNiFAST8): Likewise.
22207 [C99-based-standards] (SCNoFAST8): Likewise.
22208 [C99-based-standards] (SCNuFAST8): Likewise.
22209 [C99-based-standards] (SCNxFAST8): Likewise.
22210 [C99-based-standards] (PRId16): Likewise.
22211 [C99-based-standards] (PRIi16): Likewise.
22212 [C99-based-standards] (PRIo16): Likewise.
22213 [C99-based-standards] (PRIu16): Likewise.
22214 [C99-based-standards] (PRIx16): Likewise.
22215 [C99-based-standards] (PRIX16): Likewise.
22216 [C99-based-standards] (SCNd16): Likewise.
22217 [C99-based-standards] (SCNi16): Likewise.
22218 [C99-based-standards] (SCNo16): Likewise.
22219 [C99-based-standards] (SCNu16): Likewise.
22220 [C99-based-standards] (SCNx16): Likewise.
22221 [C99-based-standards] (PRIdLEAST16): Likewise.
22222 [C99-based-standards] (PRIiLEAST16): Likewise.
22223 [C99-based-standards] (PRIoLEAST16): Likewise.
22224 [C99-based-standards] (PRIuLEAST16): Likewise.
22225 [C99-based-standards] (PRIxLEAST16): Likewise.
22226 [C99-based-standards] (PRIXLEAST16): Likewise.
22227 [C99-based-standards] (SCNdLEAST16): Likewise.
22228 [C99-based-standards] (SCNiLEAST16): Likewise.
22229 [C99-based-standards] (SCNoLEAST16): Likewise.
22230 [C99-based-standards] (SCNuLEAST16): Likewise.
22231 [C99-based-standards] (SCNxLEAST16): Likewise.
22232 [C99-based-standards] (PRIdFAST16): Likewise.
22233 [C99-based-standards] (PRIiFAST16): Likewise.
22234 [C99-based-standards] (PRIoFAST16): Likewise.
22235 [C99-based-standards] (PRIuFAST16): Likewise.
22236 [C99-based-standards] (PRIxFAST16): Likewise.
22237 [C99-based-standards] (PRIXFAST16): Likewise.
22238 [C99-based-standards] (SCNdFAST16): Likewise.
22239 [C99-based-standards] (SCNiFAST16): Likewise.
22240 [C99-based-standards] (SCNoFAST16): Likewise.
22241 [C99-based-standards] (SCNuFAST16): Likewise.
22242 [C99-based-standards] (SCNxFAST16): Likewise.
22243 [C99-based-standards] (PRId32): Likewise.
22244 [C99-based-standards] (PRIi32): Likewise.
22245 [C99-based-standards] (PRIo32): Likewise.
22246 [C99-based-standards] (PRIu32): Likewise.
22247 [C99-based-standards] (PRIx32): Likewise.
22248 [C99-based-standards] (PRIX32): Likewise.
22249 [C99-based-standards] (SCNd32): Likewise.
22250 [C99-based-standards] (SCNi32): Likewise.
22251 [C99-based-standards] (SCNo32): Likewise.
22252 [C99-based-standards] (SCNu32): Likewise.
22253 [C99-based-standards] (SCNx32): Likewise.
22254 [C99-based-standards] (PRIdLEAST32): Likewise.
22255 [C99-based-standards] (PRIiLEAST32): Likewise.
22256 [C99-based-standards] (PRIoLEAST32): Likewise.
22257 [C99-based-standards] (PRIuLEAST32): Likewise.
22258 [C99-based-standards] (PRIxLEAST32): Likewise.
22259 [C99-based-standards] (PRIXLEAST32): Likewise.
22260 [C99-based-standards] (SCNdLEAST32): Likewise.
22261 [C99-based-standards] (SCNiLEAST32): Likewise.
22262 [C99-based-standards] (SCNoLEAST32): Likewise.
22263 [C99-based-standards] (SCNuLEAST32): Likewise.
22264 [C99-based-standards] (SCNxLEAST32): Likewise.
22265 [C99-based-standards] (PRIdFAST32): Likewise.
22266 [C99-based-standards] (PRIiFAST32): Likewise.
22267 [C99-based-standards] (PRIoFAST32): Likewise.
22268 [C99-based-standards] (PRIuFAST32): Likewise.
22269 [C99-based-standards] (PRIxFAST32): Likewise.
22270 [C99-based-standards] (PRIXFAST32): Likewise.
22271 [C99-based-standards] (SCNdFAST32): Likewise.
22272 [C99-based-standards] (SCNiFAST32): Likewise.
22273 [C99-based-standards] (SCNoFAST32): Likewise.
22274 [C99-based-standards] (SCNuFAST32): Likewise.
22275 [C99-based-standards] (SCNxFAST32): Likewise.
22276 [C99-based-standards] (PRId64): Likewise.
22277 [C99-based-standards] (PRIi64): Likewise.
22278 [C99-based-standards] (PRIo64): Likewise.
22279 [C99-based-standards] (PRIu64): Likewise.
22280 [C99-based-standards] (PRIx64): Likewise.
22281 [C99-based-standards] (PRIX64): Likewise.
22282 [C99-based-standards] (SCNd64): Likewise.
22283 [C99-based-standards] (SCNi64): Likewise.
22284 [C99-based-standards] (SCNo64): Likewise.
22285 [C99-based-standards] (SCNu64): Likewise.
22286 [C99-based-standards] (SCNx64): Likewise.
22287 [C99-based-standards] (PRIdLEAST64): Likewise.
22288 [C99-based-standards] (PRIiLEAST64): Likewise.
22289 [C99-based-standards] (PRIoLEAST64): Likewise.
22290 [C99-based-standards] (PRIuLEAST64): Likewise.
22291 [C99-based-standards] (PRIxLEAST64): Likewise.
22292 [C99-based-standards] (PRIXLEAST64): Likewise.
22293 [C99-based-standards] (SCNdLEAST64): Likewise.
22294 [C99-based-standards] (SCNiLEAST64): Likewise.
22295 [C99-based-standards] (SCNoLEAST64): Likewise.
22296 [C99-based-standards] (SCNuLEAST64): Likewise.
22297 [C99-based-standards] (SCNxLEAST64): Likewise.
22298 [C99-based-standards] (PRIdFAST64): Likewise.
22299 [C99-based-standards] (PRIiFAST64): Likewise.
22300 [C99-based-standards] (PRIoFAST64): Likewise.
22301 [C99-based-standards] (PRIuFAST64): Likewise.
22302 [C99-based-standards] (PRIxFAST64): Likewise.
22303 [C99-based-standards] (PRIXFAST64): Likewise.
22304 [C99-based-standards] (SCNdFAST64): Likewise.
22305 [C99-based-standards] (SCNiFAST64): Likewise.
22306 [C99-based-standards] (SCNoFAST64): Likewise.
22307 [C99-based-standards] (SCNuFAST64): Likewise.
22308 [C99-based-standards] (SCNxFAST64): Likewise.
22309 [C99-based-standards] (PRIdMAX): Likewise.
22310 [C99-based-standards] (PRIiMAX): Likewise.
22311 [C99-based-standards] (PRIoMAX): Likewise.
22312 [C99-based-standards] (PRIuMAX): Likewise.
22313 [C99-based-standards] (PRIxMAX): Likewise.
22314 [C99-based-standards] (PRIXMAX): Likewise.
22315 [C99-based-standards] (SCNdMAX): Likewise.
22316 [C99-based-standards] (SCNiMAX): Likewise.
22317 [C99-based-standards] (SCNoMAX): Likewise.
22318 [C99-based-standards] (SCNuMAX): Likewise.
22319 [C99-based-standards] (SCNxMAX): Likewise.
22320 [C99-based-standards] (PRIdPTR): Likewise.
22321 [C99-based-standards] (PRIiPTR): Likewise.
22322 [C99-based-standards] (PRIoPTR): Likewise.
22323 [C99-based-standards] (PRIuPTR): Likewise.
22324 [C99-based-standards] (PRIxPTR): Likewise.
22325 [C99-based-standards] (PRIXPTR): Likewise.
22326 [C99-based-standards] (SCNdPTR): Likewise.
22327 [C99-based-standards] (SCNiPTR): Likewise.
22328 [C99-based-standards] (SCNoPTR): Likewise.
22329 [C99-based-standards] (SCNuPTR): Likewise.
22330 [C99-based-standards] (SCNxPTR): Likewise.
22331 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22332 allow.
22333 * conform/data/stdint.h-data: Update comments to clarify
22334 requirements.
22335 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22336 type.
22337 [C99-based standards] (INT8_MAX): Likewise.
22338 [C99-based standards] (INT16_MIN): Likewise.
22339 [C99-based standards] (INT16_MAX): Likewise.
22340 [C99-based standards] (INT32_MIN): Likewise.
22341 [C99-based standards] (INT32_MAX): Likewise.
22342 [C99-based standards] (INT64_MIN): Likewise.
22343 [C99-based standards] (INT64_MAX): Likewise.
22344 [C99-based standards] (UINT8_MAX): Likewise.
22345 [C99-based standards] (UINT16_MAX): Likewise.
22346 [C99-based standards] (UINT32_MAX): Likewise.
22347 [C99-based standards] (UINT64_MAX): Likewise.
22348 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22349 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22350 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22351 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22352 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22353 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22354 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22355 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22356 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22357 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22358 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22359 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22360 [C99-based standards] (INT_FAST8_MIN): Likewise.
22361 [C99-based standards] (INT_FAST8_MAX): Likewise.
22362 [C99-based standards] (INT_FAST16_MIN): Likewise.
22363 [C99-based standards] (INT_FAST16_MAX): Likewise.
22364 [C99-based standards] (INT_FAST32_MIN): Likewise.
22365 [C99-based standards] (INT_FAST32_MAX): Likewise.
22366 [C99-based standards] (INT_FAST64_MIN): Likewise.
22367 [C99-based standards] (INT_FAST64_MAX): Likewise.
22368 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22369 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22370 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22371 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22372 [C99-based standards] (INTPTR_MIN): Likewise.
22373 [C99-based standards] (INTPTR_MAX): Likewise.
22374 [C99-based standards] (UINTPTR_MAX): Likewise.
22375 [C99-based standards] (INTMAX_MIN): Likewise.
22376 [C99-based standards] (INTMAX_MAX): Likewise.
22377 [C99-based standards] (UINTMAX_MAX): Likewise.
22378 [C99-based standards] (PTRDIFF_MIN): Likewise.
22379 [C99-based standards] (PTRDIFF_MAX): Likewise.
22380 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22381 [C99-based standards] (SIZE_MAX): Likewise.
22382 [C99-based standards] (WCHAR_MAX): Likewise.
22383 [C99-based standards] (WINT_MAX): Likewise.
22384 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22385 constraint on value.
22386 [C99-based standards] (WCHAR_MIN): Likewise.
22387 [C99-based standards] (WINT_MIN): Likewise.
22388 [C99-based standards] (*_t): Allow.
22389 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22390 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22391 Include math.h-data and complex.h-data. Remove all expectations
22392 of math.h and complex.h contents.
22393 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22394 at end of line.
22395 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22396 (struct tm): Expect tag.
22397 [C99-based-standards] (wcstof): Expect function.
22398 [C99-based-standards] (wcstold): Likewise.
22399 [C99-based-standards] (wcstoll): Likewise.
22400 [C99-based-standards] (wcstoull): Likewise.
22401 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22402 macro-int-constant. Specify type.
22403 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22404 constraint on value.
22405 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22406 Specify type.
22407 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22408 Specify value.
22409 [ISO C standards]: Do not allow headers.
22410 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22411 wcs[abcdefghijklmnopqrstuvwxyz]*.
22412 [ISO C standards] (*_t): Do not allow.
22413 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22414 Expect function.
22415 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22416 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22417 Specify type.
22418 [ISO C standards]: Do not allow headers.
22419 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22420 is[abcdefghijklmnopqrstuvwxyz]*.
22421 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22422 to[abcdefghijklmnopqrstuvwxyz]*.
22423 [ISO C standards] (*_t): Do not allow.
22424 * conform/data/stdalign.h-data: New file.
22425 * conform/data/stdbool.h-data: Likewise.
22426 * conform/data/stdnoreturn.h-data: Likewise.
22427
7514feb8
RM
224282012-11-07 Roland McGrath <roland@hack.frob.com>
22429
22430 [BZ #14815]
22431 * manual/filesys.texi (Directory Entries): Typo fix.
22432 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22433
19b2ecfc
MS
224342012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22435
22436 * elf/elf.h (EM_AARCH64): New macro.
22437 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22438 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22439 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22440 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22441 (R_AARCH64_TLSDESC): Likewise.
22442 (NT_ARM_TLS): Likewise.
22443 (NT_ARM_HW_BREAK): Likewise.
22444 (NT_ARM_HW_WATCH): Likewise.
22445
60e235ee
JM
224462012-11-07 Joseph Myers <joseph@codesourcery.com>
22447
22448 [BZ #14811]
22449 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22450 (__ieee754_powl): Saturate nonzero exponents with absolute value
22451 below 0x1p-79 to +/- 0x1p-79.
22452 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22453 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22454 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22455 nonzero exponents with absolute value below 0x1p-32 to +/-
22456 0x1p-32.
22457 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22458 (__ieee754_powl): Saturate nonzero exponents with absolute value
22459 below 0x1p-79 to +/- 0x1p-79.
22460 * math/libm-test.inc (pow_test): Add more tests.
22461
0ab234b7
AK
224622012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22463
22464 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22465 _dl_s390_cap_flags with kernel. Increase string length.
22466 (_dl_s390_platforms): Add z196 and zEC12.
22467
45832f74
JM
224682012-11-07 Joseph Myers <joseph@codesourcery.com>
22469
22470 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22471 Change XOPEN21K to XOPEN2K.
22472
19218757
MK
224732012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22474
22475 * string/memmove.c: Use memcpy when possible.
22476
c5f45721
AJ
224772012-11-06 Andreas Jaeger <aj@suse.de>
22478
22479 * po/eo.po: Update from translation team.
22480
82477c28
JM
224812012-11-06 Joseph Myers <joseph@codesourcery.com>
22482
22483 [BZ #14793]
22484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22485 exponent and small x and y exponents, scale x or y up. Increase
22486 by 2 the exponent used in scaling up.
22487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22489 * math/libm-test.inc (fma_test): Add more tests.
22490 (fma_test_towardzero): Likewise.
22491 (fma_test_downward): Likewise.
22492 (fma_test_upward): Likewise.
22493
99252c8c
JM
224942012-11-05 Joseph Myers <joseph@codesourcery.com>
22495
acfa885f
JM
22496 [BZ #14805]
22497 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22498 fenv_t *.
22499
99252c8c
JM
22500 [BZ #14801]
22501 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22502 namespace for names of struct fields.
22503 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22504 fenv_t fields.
22505 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22506 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22507
d6d98dea
ST
225082012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22509
22510 [BZ #3665]
22511 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22512
e10bb107
TS
225132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22514
22515 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22516 PTR_DEMANGLE.
22517
22518 [BZ #5246]
22519 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22520 PTR_DEMANGLE.
22521
a0c2940d
JM
225222012-11-04 Joseph Myers <joseph@codesourcery.com>
22523
22524 [BZ #14797]
22525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22526 definitely overflow as x * y not x * y + z.
22527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22529 * math/libm-test.inc (fma_test): Add more tests.
22530 (fma_test_towardzero): Likewise.
22531 (fma_test_downward): Likewise.
22532 (fma_test_upward): Likewise.
22533
b830319d
TS
225342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22535
22536 [BZ #157]
22537
22538 * include/stub-tag.h: Remove file.
22539 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22540 '#include' of it.
22541 * manual/maint.texi (Porting): Don't reference it.
22542 * Makerules ($(objpfx)stubs): Likewise.
22543 * dirent/closedir.c: Don't include <stub-tag.h>.
22544 * dirent/dirfd.c: Likewise.
22545 * dirent/fdopendir.c: Likewise.
22546 * dirent/getdents.c: Likewise.
22547 * dirent/getdents64.c: Likewise.
22548 * dirent/opendir.c: Likewise.
22549 * dirent/readdir.c: Likewise.
22550 * dirent/readdir64.c: Likewise.
22551 * dirent/readdir64_r.c: Likewise.
22552 * dirent/readdir_r.c: Likewise.
22553 * dirent/rewinddir.c: Likewise.
22554 * dirent/seekdir.c: Likewise.
22555 * dirent/telldir.c: Likewise.
22556 * gmon/profil.c: Likewise.
22557 * grp/setgroups.c: Likewise.
22558 * inet/if_index.c: Likewise.
22559 * io/access.c: Likewise.
22560 * io/chdir.c: Likewise.
22561 * io/chmod.c: Likewise.
22562 * io/chown.c: Likewise.
22563 * io/close.c: Likewise.
22564 * io/dup.c: Likewise.
22565 * io/dup2.c: Likewise.
22566 * io/dup3.c: Likewise.
22567 * io/euidaccess.c: Likewise.
22568 * io/faccessat.c: Likewise.
22569 * io/fchdir.c: Likewise.
22570 * io/fchmod.c: Likewise.
22571 * io/fchmodat.c: Likewise.
22572 * io/fchown.c: Likewise.
22573 * io/fchownat.c: Likewise.
22574 * io/fcntl.c: Likewise.
22575 * io/flock.c: Likewise.
22576 * io/fstatfs.c: Likewise.
22577 * io/fstatfs64.c: Likewise.
22578 * io/fstatvfs.c: Likewise.
22579 * io/fstatvfs64.c: Likewise.
22580 * io/futimens.c: Likewise.
22581 * io/fxstat.c: Likewise.
22582 * io/fxstat64.c: Likewise.
22583 * io/fxstatat.c: Likewise.
22584 * io/fxstatat64.c: Likewise.
22585 * io/getcwd.c: Likewise.
22586 * io/isatty.c: Likewise.
22587 * io/lchmod.c: Likewise.
22588 * io/lchown.c: Likewise.
22589 * io/link.c: Likewise.
22590 * io/linkat.c: Likewise.
22591 * io/lseek.c: Likewise.
22592 * io/lseek64.c: Likewise.
22593 * io/lxstat64.c: Likewise.
22594 * io/mkdir.c: Likewise.
22595 * io/mkdirat.c: Likewise.
22596 * io/mkfifo.c: Likewise.
22597 * io/mkfifoat.c: Likewise.
22598 * io/open.c: Likewise.
22599 * io/open64.c: Likewise.
22600 * io/openat.c: Likewise.
22601 * io/openat64.c: Likewise.
22602 * io/pipe.c: Likewise.
22603 * io/pipe2.c: Likewise.
22604 * io/poll.c: Likewise.
22605 * io/posix_fadvise.c: Likewise.
22606 * io/posix_fadvise64.c: Likewise.
22607 * io/posix_fallocate.c: Likewise.
22608 * io/posix_fallocate64.c: Likewise.
22609 * io/read.c: Likewise.
22610 * io/readlink.c: Likewise.
22611 * io/readlinkat.c: Likewise.
22612 * io/rmdir.c: Likewise.
22613 * io/sendfile.c: Likewise.
22614 * io/sendfile64.c: Likewise.
22615 * io/statfs.c: Likewise.
22616 * io/statfs64.c: Likewise.
22617 * io/statvfs.c: Likewise.
22618 * io/statvfs64.c: Likewise.
22619 * io/symlink.c: Likewise.
22620 * io/symlinkat.c: Likewise.
22621 * io/ttyname.c: Likewise.
22622 * io/ttyname_r.c: Likewise.
22623 * io/umask.c: Likewise.
22624 * io/unlink.c: Likewise.
22625 * io/unlinkat.c: Likewise.
22626 * io/utime.c: Likewise.
22627 * io/utimensat.c: Likewise.
22628 * io/write.c: Likewise.
22629 * io/xmknod.c: Likewise.
22630 * io/xmknodat.c: Likewise.
22631 * io/xstat.c: Likewise.
22632 * io/xstat64.c: Likewise.
22633 * login/getpt.c: Likewise.
22634 * login/grantpt.c: Likewise.
22635 * login/unlockpt.c: Likewise.
22636 * math/e_acoshl.c: Likewise.
22637 * math/e_acosl.c: Likewise.
22638 * math/e_asinl.c: Likewise.
22639 * math/e_atan2l.c: Likewise.
22640 * math/e_atanhl.c: Likewise.
22641 * math/e_coshl.c: Likewise.
22642 * math/e_expl.c: Likewise.
22643 * math/e_fmodl.c: Likewise.
22644 * math/e_gammal_r.c: Likewise.
22645 * math/e_hypotl.c: Likewise.
22646 * math/e_j0l.c: Likewise.
22647 * math/e_j1l.c: Likewise.
22648 * math/e_jnl.c: Likewise.
22649 * math/e_lgammal_r.c: Likewise.
22650 * math/e_log10l.c: Likewise.
22651 * math/e_log2l.c: Likewise.
22652 * math/e_logl.c: Likewise.
22653 * math/e_powl.c: Likewise.
22654 * math/e_rem_pio2l.c: Likewise.
22655 * math/e_sinhl.c: Likewise.
22656 * math/e_sqrtl.c: Likewise.
22657 * math/fclrexcpt.c: Likewise.
22658 * math/fedisblxcpt.c: Likewise.
22659 * math/feenablxcpt.c: Likewise.
22660 * math/fegetenv.c: Likewise.
22661 * math/fegetexcept.c: Likewise.
22662 * math/fegetround.c: Likewise.
22663 * math/feholdexcpt.c: Likewise.
22664 * math/fesetenv.c: Likewise.
22665 * math/fesetround.c: Likewise.
22666 * math/feupdateenv.c: Likewise.
22667 * math/fgetexcptflg.c: Likewise.
22668 * math/fraiseexcpt.c: Likewise.
22669 * math/fsetexcptflg.c: Likewise.
22670 * math/ftestexcept.c: Likewise.
22671 * math/k_cosl.c: Likewise.
22672 * math/k_rem_pio2l.c: Likewise.
22673 * math/k_sinl.c: Likewise.
22674 * math/k_tanl.c: Likewise.
22675 * math/s_asinhl.c: Likewise.
22676 * math/s_atanl.c: Likewise.
22677 * math/s_cbrtl.c: Likewise.
22678 * math/s_erfl.c: Likewise.
22679 * math/s_expm1l.c: Likewise.
22680 * math/s_log1pl.c: Likewise.
22681 * math/s_tanhl.c: Likewise.
22682 * misc/acct.c: Likewise.
22683 * misc/brk.c: Likewise.
22684 * misc/chflags.c: Likewise.
22685 * misc/chroot.c: Likewise.
22686 * misc/fchflags.c: Likewise.
22687 * misc/fgetxattr.c: Likewise.
22688 * misc/flistxattr.c: Likewise.
22689 * misc/fremovexattr.c: Likewise.
22690 * misc/fsetxattr.c: Likewise.
22691 * misc/fsync.c: Likewise.
22692 * misc/ftruncate.c: Likewise.
22693 * misc/futimes.c: Likewise.
22694 * misc/futimesat.c: Likewise.
22695 * misc/getdomain.c: Likewise.
22696 * misc/getdtsz.c: Likewise.
22697 * misc/gethostid.c: Likewise.
22698 * misc/gethostname.c: Likewise.
22699 * misc/getloadavg.c: Likewise.
22700 * misc/getpagesize.c: Likewise.
22701 * misc/getsysstats.c: Likewise.
22702 * misc/getxattr.c: Likewise.
22703 * misc/gtty.c: Likewise.
22704 * misc/ioctl.c: Likewise.
22705 * misc/lgetxattr.c: Likewise.
22706 * misc/listxattr.c: Likewise.
22707 * misc/llistxattr.c: Likewise.
22708 * misc/lremovexattr.c: Likewise.
22709 * misc/lsetxattr.c: Likewise.
22710 * misc/lutimes.c: Likewise.
22711 * misc/madvise.c: Likewise.
22712 * misc/mincore.c: Likewise.
22713 * misc/mlock.c: Likewise.
22714 * misc/mlockall.c: Likewise.
22715 * misc/mmap.c: Likewise.
22716 * misc/mprotect.c: Likewise.
22717 * misc/msync.c: Likewise.
22718 * misc/munlock.c: Likewise.
22719 * misc/munlockall.c: Likewise.
22720 * misc/munmap.c: Likewise.
22721 * misc/preadv.c: Likewise.
22722 * misc/preadv64.c: Likewise.
22723 * misc/ptrace.c: Likewise.
22724 * misc/pwritev.c: Likewise.
22725 * misc/pwritev64.c: Likewise.
22726 * misc/readv.c: Likewise.
22727 * misc/reboot.c: Likewise.
22728 * misc/remap_file_pages.c: Likewise.
22729 * misc/removexattr.c: Likewise.
22730 * misc/revoke.c: Likewise.
22731 * misc/select.c: Likewise.
22732 * misc/setdomain.c: Likewise.
22733 * misc/setegid.c: Likewise.
22734 * misc/seteuid.c: Likewise.
22735 * misc/sethostid.c: Likewise.
22736 * misc/sethostname.c: Likewise.
22737 * misc/setregid.c: Likewise.
22738 * misc/setreuid.c: Likewise.
22739 * misc/setxattr.c: Likewise.
22740 * misc/sstk.c: Likewise.
22741 * misc/stty.c: Likewise.
22742 * misc/swapoff.c: Likewise.
22743 * misc/swapon.c: Likewise.
22744 * misc/sync.c: Likewise.
22745 * misc/syncfs.c: Likewise.
22746 * misc/syscall.c: Likewise.
22747 * misc/truncate.c: Likewise.
22748 * misc/ualarm.c: Likewise.
22749 * misc/usleep.c: Likewise.
22750 * misc/ustat.c: Likewise.
22751 * misc/utimes.c: Likewise.
22752 * misc/vhangup.c: Likewise.
22753 * misc/writev.c: Likewise.
22754 * posix/_exit.c: Likewise.
22755 * posix/alarm.c: Likewise.
22756 * posix/execve.c: Likewise.
22757 * posix/fexecve.c: Likewise.
22758 * posix/fork.c: Likewise.
22759 * posix/fpathconf.c: Likewise.
22760 * posix/getaddrinfo.c: Likewise.
22761 * posix/getegid.c: Likewise.
22762 * posix/geteuid.c: Likewise.
22763 * posix/getgid.c: Likewise.
22764 * posix/getgroups.c: Likewise.
22765 * posix/getlogin.c: Likewise.
22766 * posix/getlogin_r.c: Likewise.
22767 * posix/getpgid.c: Likewise.
22768 * posix/getpid.c: Likewise.
22769 * posix/getppid.c: Likewise.
22770 * posix/getresgid.c: Likewise.
22771 * posix/getresuid.c: Likewise.
22772 * posix/getsid.c: Likewise.
22773 * posix/getuid.c: Likewise.
22774 * posix/glob64.c: Likewise.
22775 * posix/nanosleep.c: Likewise.
22776 * posix/pathconf.c: Likewise.
22777 * posix/pause.c: Likewise.
22778 * posix/posix_madvise.c: Likewise.
22779 * posix/pread.c: Likewise.
22780 * posix/pread64.c: Likewise.
22781 * posix/pwrite.c: Likewise.
22782 * posix/pwrite64.c: Likewise.
22783 * posix/sched_getaffinity.c: Likewise.
22784 * posix/sched_getp.c: Likewise.
22785 * posix/sched_gets.c: Likewise.
22786 * posix/sched_primax.c: Likewise.
22787 * posix/sched_primin.c: Likewise.
22788 * posix/sched_rr_gi.c: Likewise.
22789 * posix/sched_setaffinity.c: Likewise.
22790 * posix/sched_setp.c: Likewise.
22791 * posix/sched_sets.c: Likewise.
22792 * posix/sched_yield.c: Likewise.
22793 * posix/setgid.c: Likewise.
22794 * posix/setlogin.c: Likewise.
22795 * posix/setpgid.c: Likewise.
22796 * posix/setresgid.c: Likewise.
22797 * posix/setresuid.c: Likewise.
22798 * posix/setsid.c: Likewise.
22799 * posix/setuid.c: Likewise.
22800 * posix/sleep.c: Likewise.
22801 * posix/spawni.c: Likewise.
22802 * posix/sysconf.c: Likewise.
22803 * posix/times.c: Likewise.
22804 * posix/wait.c: Likewise.
22805 * posix/wait3.c: Likewise.
22806 * posix/wait4.c: Likewise.
22807 * posix/waitpid.c: Likewise.
22808 * resolv/gai_sigqueue.c: Likewise.
22809 * resource/getpriority.c: Likewise.
22810 * resource/getrlimit.c: Likewise.
22811 * resource/getrusage.c: Likewise.
22812 * resource/nice.c: Likewise.
22813 * resource/setpriority.c: Likewise.
22814 * resource/setrlimit.c: Likewise.
22815 * resource/ulimit.c: Likewise.
22816 * rt/aio_cancel.c: Likewise.
22817 * rt/aio_fsync.c: Likewise.
22818 * rt/aio_read.c: Likewise.
22819 * rt/aio_sigqueue.c: Likewise.
22820 * rt/aio_suspend.c: Likewise.
22821 * rt/aio_write.c: Likewise.
22822 * rt/clock_getres.c: Likewise.
22823 * rt/clock_gettime.c: Likewise.
22824 * rt/clock_nanosleep.c: Likewise.
22825 * rt/clock_settime.c: Likewise.
22826 * rt/lio_listio.c: Likewise.
22827 * rt/mq_close.c: Likewise.
22828 * rt/mq_getattr.c: Likewise.
22829 * rt/mq_notify.c: Likewise.
22830 * rt/mq_open.c: Likewise.
22831 * rt/mq_receive.c: Likewise.
22832 * rt/mq_send.c: Likewise.
22833 * rt/mq_setattr.c: Likewise.
22834 * rt/mq_timedreceive.c: Likewise.
22835 * rt/mq_timedsend.c: Likewise.
22836 * rt/mq_unlink.c: Likewise.
22837 * rt/shm_open.c: Likewise.
22838 * rt/shm_unlink.c: Likewise.
22839 * rt/timer_create.c: Likewise.
22840 * rt/timer_delete.c: Likewise.
22841 * rt/timer_getoverr.c: Likewise.
22842 * rt/timer_gettime.c: Likewise.
22843 * rt/timer_settime.c: Likewise.
22844 * setjmp/__longjmp.c: Likewise.
22845 * setjmp/setjmp.c: Likewise.
22846 * signal/kill.c: Likewise.
22847 * signal/killpg.c: Likewise.
22848 * signal/raise.c: Likewise.
22849 * signal/sigaction.c: Likewise.
22850 * signal/sigaltstack.c: Likewise.
22851 * signal/sigblock.c: Likewise.
22852 * signal/sigignore.c: Likewise.
22853 * signal/sigintr.c: Likewise.
22854 * signal/signal.c: Likewise.
22855 * signal/sigpause.c: Likewise.
22856 * signal/sigpending.c: Likewise.
22857 * signal/sigqueue.c: Likewise.
22858 * signal/sigreturn.c: Likewise.
22859 * signal/sigset.c: Likewise.
22860 * signal/sigsetmask.c: Likewise.
22861 * signal/sigstack.c: Likewise.
22862 * signal/sigsuspend.c: Likewise.
22863 * signal/sigtimedwait.c: Likewise.
22864 * signal/sigvec.c: Likewise.
22865 * signal/sigwait.c: Likewise.
22866 * signal/sigwaitinfo.c: Likewise.
22867 * signal/sysv_signal.c: Likewise.
22868 * socket/accept.c: Likewise.
22869 * socket/accept4.c: Likewise.
22870 * socket/bind.c: Likewise.
22871 * socket/connect.c: Likewise.
22872 * socket/getpeername.c: Likewise.
22873 * socket/getsockname.c: Likewise.
22874 * socket/getsockopt.c: Likewise.
22875 * socket/isfdtype.c: Likewise.
22876 * socket/listen.c: Likewise.
22877 * socket/recv.c: Likewise.
22878 * socket/recvfrom.c: Likewise.
22879 * socket/recvmsg.c: Likewise.
22880 * socket/send.c: Likewise.
22881 * socket/sendmsg.c: Likewise.
22882 * socket/sendto.c: Likewise.
22883 * socket/setsockopt.c: Likewise.
22884 * socket/shutdown.c: Likewise.
22885 * socket/sockatmark.c: Likewise.
22886 * socket/socket.c: Likewise.
22887 * socket/socketpair.c: Likewise.
22888 * stdio-common/ctermid.c: Likewise.
22889 * stdio-common/cuserid.c: Likewise.
22890 * stdio-common/remove.c: Likewise.
22891 * stdio-common/rename.c: Likewise.
22892 * stdio-common/renameat.c: Likewise.
22893 * stdio-common/tempname.c: Likewise.
22894 * stdlib/getcontext.c: Likewise.
22895 * stdlib/makecontext.c: Likewise.
22896 * stdlib/setcontext.c: Likewise.
22897 * stdlib/swapcontext.c: Likewise.
22898 * stdlib/system.c: Likewise.
22899 * streams/fattach.c: Likewise.
22900 * streams/fdetach.c: Likewise.
22901 * streams/getmsg.c: Likewise.
22902 * streams/getpmsg.c: Likewise.
22903 * streams/putmsg.c: Likewise.
22904 * streams/putpmsg.c: Likewise.
22905 * sysdeps/unix/bsd/getpt.c: Likewise.
22906 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22907 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22908 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22910 Likewise.
22911 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22912 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22913 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22914 * sysvipc/msgctl.c: Likewise.
22915 * sysvipc/msgget.c: Likewise.
22916 * sysvipc/msgrcv.c: Likewise.
22917 * sysvipc/msgsnd.c: Likewise.
22918 * sysvipc/semctl.c: Likewise.
22919 * sysvipc/semget.c: Likewise.
22920 * sysvipc/semop.c: Likewise.
22921 * sysvipc/semtimedop.c: Likewise.
22922 * sysvipc/shmat.c: Likewise.
22923 * sysvipc/shmctl.c: Likewise.
22924 * sysvipc/shmdt.c: Likewise.
22925 * sysvipc/shmget.c: Likewise.
22926 * termios/tcdrain.c: Likewise.
22927 * termios/tcflow.c: Likewise.
22928 * termios/tcflush.c: Likewise.
22929 * termios/tcgetattr.c: Likewise.
22930 * termios/tcgetpgrp.c: Likewise.
22931 * termios/tcsendbrk.c: Likewise.
22932 * termios/tcsetattr.c: Likewise.
22933 * termios/tcsetpgrp.c: Likewise.
22934 * time/adjtime.c: Likewise.
22935 * time/clock.c: Likewise.
22936 * time/getitimer.c: Likewise.
22937 * time/gettimeofday.c: Likewise.
22938 * time/setitimer.c: Likewise.
22939 * time/settimeofday.c: Likewise.
22940 * time/stime.c: Likewise.
22941 * time/time.c: Likewise.
22942
229432012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22944
a20492cf
PT
22945 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22946 /usr/old/bin.
22947
72e182e3
PT
22948 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22949 instead of spaces.
22950 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22951
fbeafede
JM
229522012-11-03 Joseph Myers <joseph@codesourcery.com>
22953
5b5b04d6
JM
22954 [BZ #14796]
22955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22956 FE_TONEAREST before applying Dekker multiplication and Knuth
22957 addition. Clear inexact exceptions and check for exact zero
22958 results afterwards.
22959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22960 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22961 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22962 * math/libm-test.inc (fma_test): Add more tests.
22963 (fma_test_towardzero): Likewise.
22964 (fma_test_downward): Likewise.
22965 (fma_test_upward): Likewise.
22966 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22967 function.
22968 (libc_fesetround): New macro.
22969 (libc_fesetroundf): Likewise.
22970 (libc_fesetroundl): Likewise.
22971 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22972 function.
22973 (libc_fesetround_387): Likewise.
22974 (libc_fesetroundf): New macro.
22975 (libc_fesetround): Likewise.
22976 (libc_fesetroundl): Likewise.
22977 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22978 function.
22979 (libc_fesetroundf): New macro.
22980 (libc_fesetround): Likewise.
22981 (libc_fesetroundl): Likewise.
22982 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22983 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22984 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22985 libm_hidden_ver.
22986 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22987 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22988 libm_hidden_def.
22989 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22990 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22991 libm_hidden_ver.
22992 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22993 libm_hidden_def.
22994
fbeafede
JM
22995 [BZ #3439]
22996 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22997 integer constant usable in #if and use that to give value to enum
22998 constant.
22999 (FE_DIVBYZERO): Likewise.
23000 (FE_UNDERFLOW): Likewise.
23001 (FE_OVERFLOW): Likewise.
23002 (FE_INVALID): Likewise.
23003 (FE_INVALID_SNAN): Likewise.
23004 (FE_INVALID_ISI): Likewise.
23005 (FE_INVALID_IDI): Likewise.
23006 (FE_INVALID_ZDZ): Likewise.
23007 (FE_INVALID_IMZ): Likewise.
23008 (FE_INVALID_COMPARE): Likewise.
23009 (FE_INVALID_SOFTWARE): Likewise.
23010 (FE_INVALID_SQRT): Likewise.
23011 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23012 (FE_TONEAREST): Likewise.
23013 (FE_TOWARDZERO): Likewise.
23014 (FE_UPWARD): Likewise.
23015 (FE_DOWNWARD): Likewise.
23016 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23017 (FE_DIVBYZERO): Likewise.
23018 (FE_OVERFLOW): Likewise.
23019 (FE_UNDERFLOW): Likewise.
23020 (FE_INEXACT): Likewise.
23021 (FE_TONEAREST): Likewise.
23022 (FE_DOWNWARD): Likewise.
23023 (FE_UPWARD): Likewise.
23024 (FE_TOWARDZERO): Likewise.
23025 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23026 (FE_UNDERFLOW): Likewise.
23027 (FE_OVERFLOW): Likewise.
23028 (FE_DIVBYZERO): Likewise.
23029 (FE_INVALID): Likewise.
23030 (FE_TONEAREST): Likewise.
23031 (FE_TOWARDZERO): Likewise.
23032 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23033 (FE_OVERFLOW): Likewise.
23034 (FE_UNDERFLOW): Likewise.
23035 (FE_DIVBYZERO): Likewise.
23036 (FE_INEXACT): Likewise.
23037 (FE_TONEAREST): Likewise.
23038 (FE_TOWARDZERO): Likewise.
23039 (FE_UPWARD): Likewise.
23040 (FE_DOWNWARD): Likewise.
23041 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23042 (FE_DIVBYZERO): Likewise.
23043 (FE_OVERFLOW): Likewise.
23044 (FE_UNDERFLOW): Likewise.
23045 (FE_INEXACT): Likewise.
23046 (FE_TONEAREST): Likewise.
23047 (FE_DOWNWARD): Likewise.
23048 (FE_UPWARD): Likewise.
23049 (FE_TOWARDZERO): Likewise.
23050
105ca950
CM
230512012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23052
23053 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23054
a542b389
AS
230552012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23056
23057 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23058 commands. Quote $PWD.
23059 (blacklist_exports): Don't use remove_newlines. Replace "declare
23060 -x" by "export".
23061 (remove_newlines): Remove.
23062
f62c8abc
L
230632012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23064
23065 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23066 * stdlib/stdlib.h (atof): Moved to ...
23067 * include/bits/stdlib-float.h: Here. New file.
23068 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23069 * stdlib/bits/stdlib-float.h: New file.
23070 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23071 -mno-sse -mno-mmx.
23072 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23073 <xmmintrin.h>.
23074
0155d5b2
JM
230752012-11-02 Joseph Myers <joseph@codesourcery.com>
23076
a68d0680
JM
23077 * conform/conformtest.pl (@headers): Add fenv.h.
23078 * conform/data/fenv.h-data: New file.
23079 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23080 include of <math/fenv.h>.
23081
caf7f573
JM
23082 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23083 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23084 && !UNIX98]. Enables tests for XOPEN2K8.
23085 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23086 POSIX2008]: Likewise.
23087
6c073ad6
JM
23088 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23089 (struct rusage): Do not expect type or its members.
23090
0155d5b2
JM
23091 [BZ #3439]
23092 * math/math.h (FP_NAN): Define macro to integer constant usable in
23093 #if and use that to give value to enum constant.
23094 (FP_INFINITE): Likewise.
23095 (FP_ZERO): Likewise.
23096 (FP_SUBNORMAL): Likewise.
23097 (FP_NORMAL): Likewise.
23098
b5dcacb4
AS
230992012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23100
23101 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23102 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23103 arguments.
23104
f7934be8
RM
231052012-11-02 Roland McGrath <roland@hack.frob.com>
23106
23107 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23108 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23109 autoconf-time if not.
23110 * configure.in: Remove AC_PREREQ.
23111
d7d08bde
TMQMF
231122012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23113
23114 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23115 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23116 of the internal implementation.
23117
dcdae19a
JM
231182012-11-02 Joseph Myers <joseph@codesourcery.com>
23119
23120 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23121 except include of <misc/sys/syslog.h>.
23122
d6cffd3e
AS
231232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23124
23125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23126 function returns with a NULL context exit with zero.
23127
b3563932
TMQMF
231282012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23129
23130 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23131
b288a93d
L
231322012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23133
23134 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23135 (run_program_cmd): This.
23136 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23137 (tst_langinfo): New variable. Use it.
23138
a2421a68
SAS
231392012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23140
23141 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23142 floating point opcodes.
23143
6f796e1b
TS
231442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23145
7402596b
TS
23146 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23147 variable.
23148
d0d4f868
TS
23149 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23150
6f796e1b
TS
23151 * sysdeps/mach/hurd/powerpc: Remove directory.
23152 * sysdeps/mach/powerpc: Likewise.
23153
4da224a2
AS
231542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23155
23156 * scripts/check-local-headers.sh: Ignore c++ headers.
23157
341dd673
TS
231582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23159
23160 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23161 __libc_cleanup_region_start argument.
23162
473611b2
JM
231632012-11-01 Joseph Myers <joseph@codesourcery.com>
23164
23165 [BZ #14784]
23166 [BZ #14785]
23167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23168 x * y using scaling, not as x * y + z.
23169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23171 * math/libm-test.inc (fma_test): Add more tests.
23172 (fma_test_towardzero): Likewise.
23173 (fma_test_downward): Likewise.
23174 (fma_test_upward): Likewise.
23175
4078da3d
TS
231762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23177
23178 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23179
903252aa
JM
231802012-10-31 Joseph Myers <joseph@codesourcery.com>
23181
23182 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23183 New variable.
23184
cbc818d0
TS
231852012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23186
23187 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23188
5a03cb1e
AS
231892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23190
23191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23192 Fix sort order.
23193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23194 Likewise.
23195
90aff2ff
TMQMF
231962012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23197
23198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23199 Fix the order of the list for glibc 2.17.
23200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23201 Likewise.
23202
1818fcb7
AS
232032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23204
23205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23206
ef82f4da
JM
232072012-10-31 Joseph Myers <joseph@codesourcery.com>
23208
16a0e2ec
JM
23209 [BZ #14610]
23210 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23211 for low part of x being zero before using __atanl (y).
23212 * math/libm-test.inc (atan2_test): Add another test.
23213
0eb69512
JM
23214 * manual/install.texi (Configuring and compiling): Document
23215 general use of test-wrapper and test-wrapper-env.
23216 * INSTALL: Regenerated.
23217
ef82f4da
JM
23218 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23219 (__fma): Do not extract and scale down low bits on after-rounding
23220 systems when result rounded to normal precision would have normal
23221 exponent.
23222 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23223 (__fmal): Do not extract and scale down low bits on after-rounding
23224 systems when result rounded to normal precision would have normal
23225 exponent.
23226 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23227 (__fmal): Do not extract and scale down low bits on after-rounding
23228 systems when result rounded to normal precision would have normal
23229 exponent.
23230 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23231 macro.
23232 (fma_test): Add more tests.
23233 (fma_test_towardzero): Likewise.
23234 (fma_test_downward): Likewise.
23235 (fma_test_upward): Likewise.
23236
954ef0d9
L
232372012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23238
23239 * sysdeps/i386/tininess.h: Renamed to ...
23240 * sysdeps/x86/tininess.h: This.
23241 * sysdeps/x86_64/tininess.h: Removed.
23242
df61ffb2
JM
232432012-10-30 Joseph Myers <joseph@codesourcery.com>
23244
23245 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23246 input. Use $(build-program-cmd).
23247 ($(objpfx)tst-array1-static.out): Likewise.
23248 ($(objpfx)tst-array2.out): Likewise.
23249 ($(objpfx)tst-array3.out): Likewise.
23250 ($(objpfx)tst-array4.out): Likewise.
23251 ($(objpfx)tst-array5.out): Likewise.
23252 ($(objpfx)tst-array5-static.out): Likewise.
23253
01767843
CM
232542012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23255
47cc1490
CM
23256 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23257 if defined.
23258
01767843
CM
23259 * nss/nsswitch.h (nss_interface_function): Provide new
23260 macro for use with NSS functions.
23261 * grp/initgroups.c: Use new macro.
23262 * nss/getXXbyYY.c: Likewise.
23263 * nss/getXXbyYY_r.c: Likewise.
23264 * nss/getXXent.c: Likewise.
23265 * nss/getXXent_r.c: Likewise.
23266 * sysdeps/posix/getaddrinfo.c: Likewise.
23267
8321aa97
AJ
232682012-10-30 Andreas Jaeger <aj@suse.de>
23269
23270 * po/ru.po: Update Russion translation from translation project.
23271
2a27fd6d
JM
232722012-10-30 Joseph Myers <joseph@codesourcery.com>
23273
8627a232
JM
23274 [BZ #14152]
23275 [BZ #14783]
23276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23277 result and shift together with sticky bit instead of replicating
23278 round-to-nearest rounding.
23279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23281 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23282 missing underflow exceptions.
23283 (fma_test_towardzero): Add more tests.
23284 (fma_test_downward): Likewise.
23285 (fma_test_upward): Likewise.
23286
2a27fd6d
JM
23287 [BZ #14047]
23288 * sysdeps/generic/tininess.h: New file.
23289 * sysdeps/i386/tininess.h: Likewise.
23290 * sysdeps/sh/tininess.h: Likewise.
23291 * sysdeps/x86_64/tininess.h: Likewise.
23292 * stdlib/tst-strtod-underflow.c: Likewise.
23293 * stdlib/tst-tininess.c: Likewise.
23294 * stdlib/strtod_l.c: Include <tininess.h>.
23295 (round_and_return): Do not set errno for exact underflow cases.
23296 Force an underflow exception when setting errno for underflow.
23297 Determine underflow based on rounding to normal precision if
23298 TININESS_AFTER_ROUNDING.
23299 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23300 ERANGE for exact underflow cases.
23301 * stdlib/Makefile (tests): Add tst-tininess and
23302 tst-strtod-underflow.
23303 ($(objpfx)tst-tininess): Use $(link-libm).
23304 ($(objpfx)tst-strtod-underflow): Likewise.
23305
e7170363
AJ
233062012-10-30 Andreas Jaeger <aj@suse.de>
23307
e5088dc6
AJ
23308 [BZ#14767]
23309 * elf/Makefile (tests): Remove conditional for have-initfini-array
23310 since this is now always required and the variable does not exist
23311 anymore.
23312 (tests-static): Likewise.
23313 (modules-names): Likewise.
23314
e7170363 23315 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
23316
23317 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23318 merged with constructor/destructor.
23319 (init_array): Likewise.
23320 * elf/tst-array2dep.c (fini_array): Likewise.
23321 (init_array): Likewise.
23322
60457d8a
MF
233232012-10-29 Mike Frysinger <vapier@gentoo.org>
23324
23325 * manual/message.texi: Delete @cartouche tags.
23326
8bece752
PT
233272012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23328
94ce799f
PT
23329 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23330 EOPNOTSUPP.
23331 * sysdeps/mach/hurd/fsync.c: Likewise.
23332
8bece752
PT
23333 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23334 [_POSIX_REALTIME_SIGNALS]: Change condition to
23335 [_POSIX_REALTIME_SIGNALS > 0].
23336
86ebe6b1
AJ
233372012-10-27 Andreas Jaeger <aj@suse.de>
23338
23339 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23340 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23342 [__WORDSIZE != 64]: Likewise.
23343
54399c08
L
233442012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23345
23346 * iconvdata/tst-table.sh: Remove ${SHELL}.
23347 * iconvdata/tst-tables.sh: Likewise.
23348
e2211bed
DM
233492012-10-25 David S. Miller <davem@davemloft.net>
23350
23351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23352 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23353 of strtoull.
23354
f303f97c
DM
23355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23356 ifunc-impl-list.c
23357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23358 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23359 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23360 file.
23361
1e9d84cd
RM
233622012-10-25 Roland McGrath <roland@hack.frob.com>
23363
23364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23365 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23366 __getdirentries.
23367
df381762
JM
233682012-10-25 Joseph Myers <joseph@codesourcery.com>
23369 Jim Blandy <jimb@codesourcery.com>
23370
23371 * scripts/cross-test-ssh.sh: New file.
23372 * manual/install.texi (Configuring and compiling): Document use of
23373 cross-test-ssh.sh.
23374 * INSTALL: Regenerated.
23375
bff64913
PT
233762012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23377
23378 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23379 EOPNOTSUPP.
23380
25fe8932
JM
233812012-10-25 Joseph Myers <joseph@codesourcery.com>
23382
23383 * Makeconfig (run-program-prefix): Fix comment.
23384
cc1290d0
JM
233852012-10-24 Joseph Myers <joseph@codesourcery.com>
23386 Jim Blandy <jimb@codesourcery.com>
23387
23388 * Makeconfig (test-wrapper): New variable,
23389 (test-wrapper-env): Likewise.
23390 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23391 (run-built-tests): Define to yes.
23392 (run-program-prefix): Use $(test-wrapper).
23393 (built-program-cmd): Likewise.
23394 * Rules (make-test-out): Use $(test-wrapper-env) and
23395 $(host-built-program-cmd).
23396 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23397 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23398 tst-pathopt.sh.
23399 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23400 $(test-wrapper-env) to tst-rtld-load-self.sh.
23401 ($(objpfx)order2.out): Use $(test-wrapper).
23402 ($(objpfx)tst-initorder.out): Likewise.
23403 ($(objpfx)tst-initorder2.out): Likewise.
23404 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23405 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23406 (test_wrapper_env): New variable. Use it to run ld.so.
23407 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23408 Use it to run ld.so.
23409 (test_wrapper_env): Likewise.
23410 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23411 $(test-wrapper) to run-iconv-test.sh.
23412 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23413 (ICONV): Use $test_wrapper.
23414 * posix/Makefile ($(objpfx)globtest.out): Pass
23415 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23416 globtest.sh, not $(run-program-prefix).
23417 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23418 (test_wrapper): Likewise.
23419 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23420 set together with run_via_rtld_prefix.
23421 (run_program_prefix): Define in terms of test_wrapper and
23422 run_via_rtld_prefix.
23423
6e6249d0
RM
234242012-10-24 Roland McGrath <roland@hack.frob.com>
23425
23426 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23427 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23428 Targets removed.
23429
23430 [BZ #14743]
23431 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23432 Declare __clock_getres, __clock_gettime, __clock_settime,
23433 __clock_nanosleep, and __clock_getcpuclockid.
23434 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23435 Remove librt_hidden_def (clock_gettime).
23436 * sysdeps/unix/clock_gettime.c: Likewise.
23437 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23438 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23439 * rt/clock_getres.c: Define __clock_getres as an alias.
23440 * sysdeps/posix/clock_getres.c: Likewise.
23441 * rt/clock_settime.c: Define __clock_settime as an alias.
23442 * sysdeps/unix/clock_settime.c: Likewise.
23443 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23444 * sysdeps/unix/clock_nanosleep.c: Likewise.
23445 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23446 * rt/clock-compat.c: New file.
23447 * rt/Makefile (librt-routines): Add clock-compat and move
23448 $(clock-routines) to ...
23449 (routines): ... here, new variable.
23450 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23451 Don't add get_clockfreq here.
23452 * rt/Versions (libc: GLIBC_2.17): New version set.
23453 Add clock_* symbols here.
23454 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23455 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23456 (GLIBC_2.17): Add clock_* symbols.
23457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23459 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23461 Likewise.
23462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23463 Likewise.
23464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23468 * NEWS: Mention the move.
23469
23470 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23471 Use __open, __read, __close rather than their public counterparts.
23472 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23473 (__get_clockfreq_via_cpuinfo): Likewise.
23474 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23475 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23476
23477 * config.h.in (HAVE_IFUNC): New #undef.
23478 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23479 was successful.
23480 * configure: Regenerated.
23481
0cae3f4b
MF
234822012-10-24 Mike Frysinger <vapier@gentoo.org>
23483
23484 * configure.in: Move READELF check to start of file.
23485 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23486 libc_cv_asm_gnu_indirect_function in the process.
23487 * configure: Regenerated.
23488
8175a253
MF
234892012-10-24 Mike Frysinger <vapier@gentoo.org>
23490
23491 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23492 send the output to /dev/null.
23493 (libc_cv_cc_with_libunwind): Likewise.
23494 (libc_cv_as_noexecstack): Likewise.
23495 * configure: Regenerate.
23496
0708a7d1
JM
234972012-10-24 Joseph Myers <joseph@codesourcery.com>
23498
10b40d85
JM
23499 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23500
0708a7d1
JM
23501 * posix/globtest.sh (TMPDIR): Do not set.
23502 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23503 (testout): Likewise.
23504
9fddec1a
AJ
235052012-10-24 Andreas Jaeger <aj@suse.de>
23506
3a8db22f
AJ
23507 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23508 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23509 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23510 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23511 posix_fadvise64, posix_fallocate64.
23512
9fddec1a
AJ
23513 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23514 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23515 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23516 Likewise.
23517 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23518 Likewise.
23519 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23520
23521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23522 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23523 <bits/fcntl-linux.h>.
23524 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23525
23526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23527 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23528 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23529 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23530 [__WORDSIZE != 64]: Likewise.
23531
ebfd1bbd
JM
235322012-10-23 Joseph Myers <joseph@codesourcery.com>
23533
03ac099f
JM
23534 * Makeconfig (run-built-tests): New variable.
23535 * Rules [$(cross-compiling) = yes]: Change condition to
23536 [$(run-built-tests) = no].
23537 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23538 to [$(run-built-tests) = yes].
23539 * elf/Makefile [$(cross-compiling) = no]: Likewise
23540 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23541 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23542 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23543 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23544 * io/Makefile [$(cross-compiling) = no]: Likewise.
23545 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23546 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23547 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23548 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23549 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23550 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23551 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23552 * string/Makefile [$(cross-compiling) = no]: Likewise.
23553
ebfd1bbd
JM
23554 * posix/Makefile ($(objpfx)globtest.out): Pass
23555 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23556 $(rtld-installed-name).
23557 * posix/globtest.sh (elf_objpfx): Remove variable.
23558 (rtld_installed_name): Likewise.
23559 (library_path): Likewise.
23560 (run_program_prefix): New variable. Use for running globtest
23561 binary.
23562
166bca24
JB
235632012-10-23 Jim Blandy <jimb@codesourcery.com>
23564 Joseph Myers <joseph@codesourcery.com>
23565
23566 * Makeconfig (host-built-program-cmd): New variable.
23567 * elf/Makefile (tst-stackguard1-ARGS): Use
23568 $(host-built-program-cmd).
23569 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23570 (tst-spawn-ARGS): Likewise.
23571 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23572
88866099
JM
235732012-10-23 Joseph Myers <joseph@codesourcery.com>
23574 Jim Blandy <jimb@codesourcery.com>
23575
23576 * Makeconfig (run-via-rtld-prefix): New variable.
23577 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23578 (built-program-cmd): Likewise.
23579
b4b4c296
AJ
235802012-10-22 Andreas Jaeger <aj@suse.de>
23581
23582 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23583 __O_RSYNC if it exists, otherwise to O_SYNC.
23584
6fb54a22
JB
235852012-10-22 Jim Blandy <jimb@codesourcery.com>
23586 Joseph Myers <joseph@codesourcery.com>
23587
23588 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23589 /dev/null.
23590 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23591 from /dev/null
23592 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23593 /dev/null.
23594
481b90b9
AJ
235952012-10-22 Andreas Jaeger <aj@suse.de>
23596
2a0e2669
AJ
23597 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23598 Define always.
23599 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23600
76e38f9a
AJ
23601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23602 bits/fcntl-linux.h.
23603
7cd37b43
AJ
23604 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23605 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23606
481b90b9
AJ
23607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23608 to __O_LARGEFILE.
23609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23610 to __O_LARGEFILE.
23611
aba75984
JB
236122012-10-21 Jim Blandy <jimb@codesourcery.com>
23613 Joseph Myers <joseph@codesourcery.com>
23614
23615 * config.make.in (NM): New variable.
23616
88d4247f
AJ
236172012-10-21 Andreas Jaeger <aj@suse.de>
23618
23619 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23620 definitions and declarations that are provided by
23621 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23622
f2eed205
L
236232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23624
23625 [BZ #14683]
23626 * elf/Makefile (tests-static): Add tst-leaks1-static.
23627 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23628 ($(objpfx)tst-leaks1-static): New rule.
23629 ($(objpfx)tst-leaks1-static-mem): Likewise.
23630 (tst-leaks1-static-ENV): New macro.
23631 * elf/dl-open.c (dl_open_worker): Check the main application
23632 only if SHARED is defined.
23633 * elf/tst-leaks1-static.c: New file.
23634
335e6931
AJ
236352012-10-20 Andreas Jaeger <aj@suse.de>
23636
23637 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23638 generic values for Linux.
23639 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23640 and declarations that are provided by <bits/fcntl-linux.h> and
23641 include <bits/fcntl-linux.h>.
23642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23644
ac5c94d3
RM
236452012-10-20 Roland McGrath <roland@hack.frob.com>
23646
23647 * io/fcntl.h: Move include of <bits/types.h> to the top and
23648 include it unconditionally.
23649
de54b33a
L
236502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23651
228cfb01
L
23652 * wcsmbs/Makefile (tests-ifunc): New variable.
23653 (tests): Add $(tests-ifunc).
23654 * wcsmbs/test-wcschr-ifunc.c: New file.
23655 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23656 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23657 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23658 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23659 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23660
69f07e5f
L
23661 * string/Makefile (tests-ifunc): New variable.
23662 (tests): Add $(tests-ifunc).
23663 * string/test-memccpy.c (TEST_NAME): New macro.
23664 * string/test-memchr.c (TEST_NAME): Likewise.
23665 * string/test-memcmp.c (TEST_NAME): Likewise.
23666 * string/test-memcpy.c (TEST_NAME): Likewise.
23667 * string/test-memmem.c (TEST_NAME): Likewise.
23668 * string/test-memmove.c (TEST_NAME): Likewise.
23669 * string/test-memset.c (TEST_NAME): Likewise.
23670 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23671 * string/test-stpcpy.c (TEST_NAME): Likewise.
23672 * string/test-stpncpy.c (TEST_NAME): Likewise.
23673 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23674 * string/test-strcasestr.c (TEST_NAME): Likewise.
23675 * string/test-strcat.c (TEST_NAME): Likewise.
23676 * string/test-strchr.c (TEST_NAME): Likewise.
23677 * string/test-strcmp.c(TEST_NAME): Likewise.
23678 * string/test-strcpy.c (TEST_NAME): Likewise.
23679 * string/test-strcspn.c (TEST_NAME): Likewise.
23680 * string/test-strlen.c (TEST_NAME): Likewise.
23681 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23682 * string/test-strncmp.c (TEST_NAME): Likewise.
23683 * string/test-strncpy.c (TEST_NAME): Likewise.
23684 * string/test-strnlen.c (TEST_NAME): Likewise.
23685 * string/test-strpbrk.c (TEST_NAME): Likewise.
23686 * string/test-strrchr.c (TEST_NAME): Likewise.
23687 * string/test-strspn.c (TEST_NAME): Likewise.
23688 * string/test-strstr.c (TEST_NAME): Likewise.
23689 * string/test-bcopy-ifunc.c: New file.
23690 * string/test-bzero-ifunc.c: Likewise.
23691 * string/test-memccpy-ifunc.c: Likewise.
23692 * string/test-memchr-ifunc.c: Likewise.
23693 * string/test-memcmp-ifunc.c: Likewise.
23694 * string/test-memcpy-ifunc.c: Likewise.
23695 * string/test-memmem-ifunc.c: Likewise.
23696 * string/test-memmove-ifunc.c: Likewise.
23697 * string/test-mempcpy-ifunc.c: Likewise.
23698 * string/test-memset-ifunc.c: Likewise.
23699 * string/test-rawmemchr-ifunc.c: Likewise.
23700 * string/test-stpcpy-ifunc.c: Likewise.
23701 * string/test-stpncpy-ifunc.c: Likewise.
23702 * string/test-strcasecmp-ifunc.c: Likewise.
23703 * string/test-strcasestr-ifunc.c: Likewise.
23704 * string/test-strcat-ifunc.c: Likewise.
23705 * string/test-strchr-ifunc.c: Likewise.
23706 * string/test-strchrnul-ifunc.c: Likewise.
23707 * string/test-strcmp-ifunc.c: Likewise.
23708 * string/test-strcpy-ifunc.c: Likewise.
23709 * string/test-strcspn-ifunc.c: Likewise.
23710 * string/test-strlen-ifunc.c: Likewise.
23711 * string/test-strncasecmp-ifunc.c: Likewise.
23712 * string/test-strncat-ifunc.c: Likewise.
23713 * string/test-strncmp-ifunc.c: Likewise.
23714 * string/test-strncpy-ifunc.c: Likewise.
23715 * string/test-strnlen-ifunc.c: Likewise.
23716 * string/test-strpbrk-ifunc.c: Likewise.
23717 * string/test-strrchr-ifunc.c: Likewise.
23718 * string/test-strspn-ifunc.c: Likewise.
23719 * string/test-strstr-ifunc.c: Likewise.
23720
de54b33a
L
23721 * debug/Makefile (tests-ifunc): New variable.
23722 (tests): Add $(tests-ifunc).
23723 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23724 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23725 * debug/test-stpcpy_chk-ifunc.c: New file.
23726 * debug/test-strcpy_chk-ifunc.c: Likewise.
23727
88481c16
SP
237282012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23729
23730 [BZ #13601]
23731 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23732 header is not read in.
23733
135948bd
JM
237342012-10-19 Joseph Myers <joseph@codesourcery.com>
23735
89f1c388
JM
23736 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23737 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23738 directly. Pass built executable to script as
23739 $(built-program-cmd).
23740 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23741 $testprogram without using LD_LIBRARY_PATH and $ldso.
23742
e40a0d21
JM
23743 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23744 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23745 $(rtld-installed-name).
23746 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23747 (rtld_installed_name): Likewise.
23748 (library_path): Likewise.
23749 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23750 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23751 $(run-program-prefix) to tst-tables.sh.
23752 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23753 it to run tst-table-from and tst-table-to.
23754 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23755 Pass it to tst-table.sh.
23756 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23757 $(run-program-prefix) to tst-gettext.sh.
23758 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23759 tst-translit.sh.
23760 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23761 tst-gettext2.sh.
23762 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23763 to run tst-gettext.
23764 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23765 to run tst-gettext2.
23766 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23767 to run tst-translit.
23768 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23769 $(run-program-prefix) to tst-mtrace.sh.
23770 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23771 to run tst-mtrace.
23772 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23773 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23774 $(rtld-installed-name).
23775 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23776 (rtld_installed_name): Likewise.
23777 (run_program_prefix): New variable. Use it to run wordexp-test.
23778
728e272a
JM
23779 * Makeconfig (ARCH): Remove all definitions.
23780 (machine): Likewise.
23781 [ARCH]: Remove conditional code.
23782 [!objdir]: Give error.
23783 [!objdir] (objpfx): Remove.
23784 [!objdir] (common-objpfx): Likewise.
23785 [!objdir] (common-objdir): Likewise.
23786 * configure.in (config_makefile): Remove. Hardcode Makefile in
23787 AC_CONFIG_FILES call.
23788 * configure: Regenerated.
23789
d528cdcf
JM
23790 [BZ #13888]
23791 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23792 or TMPDIR.
23793 (testout): Likewise.
23794
135948bd
JM
23795 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23796 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23797 $(rtld-installed-name).
23798 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23799 (rtld_installed_name): Likwise.
23800 (runit): Remove function.
23801 (run_getconf): New variable, Use it for running getconf binary.
23802
38c78296
L
238032012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23804
23805 [BZ #14716]
23806 * string/test-memmem.c (check_result): New function.
23807 (do_one_test): Use it.
23808 (check1): New function.
23809 (test_main): Use it.
23810
d077f65f
MT
238112012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23812
23813 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23814
ced52c71
JM
238152012-10-18 Joseph Myers <joseph@codesourcery.com>
23816
23817 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23818 (_G_LSEEK64): Likewise.
23819 (_G_MMAP64): Likewise.
23820 (_G_FSTAT64): Likewise.
23821 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23822 (_G_LSEEK64): Likewise.
23823 (_G_MMAP64): Likewise.
23824 (_G_FSTAT64): Likewise.
23825 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23826 unconditional. Call __mmap64 directly.
23827 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23828 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23829 __lseek64 directly.
23830 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23831 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23832 __mmap64 directly.
23833 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23834 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23835 __lseek64 directly.
23836 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23837 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23838 __lseek64 directly.
23839 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23840 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23841 __lseek64 directly.
23842 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23843 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23844 __fxstat64 directly.
23845 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23846 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23847 unconditional.
23848 (freopen64) [!_G_OPEN64]: Remove conditional code.
23849 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23850 unconditional.
23851 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23852 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23853 unconditional.
23854 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23855 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23856 unconditional.
23857 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23858 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23859 unconditional.
23860 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23861 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23862 unconditional.
23863 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23864 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23865 unconditional.
23866 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23867 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23868 unconditional.
23869 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23870
b741de23
SP
238712012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23872
23873 [BZ #12140]
23874 * manual/memory.texi (Malloc Tunable Parameters): Add note
23875 about free list pointers overwriting some perturb bytes.
23876 Wording suggested by Roland McGrath.
23877
f9b9d9c9
JM
238782012-10-17 Joseph Myers <joseph@codesourcery.com>
23879
23880 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23881 (lgamma_test): Likewise.
23882 (tgamma_test): Likewise.
23883
172a631a
FW
238842012-10-16 Florian Weimer <fweimer@redhat.com>
23885
23886 [BZ #14700]
23887 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23888 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23889
e9f37252
MK
238902012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23891
23892 * NEWS: Mention BZ #14716.
23893 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23894 when removing AVAILABLE1_USES_J macro.
23895
d394eb74
L
238962012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23897
23898 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23899 (__bswap_64): __uint64_t for unsigned 64-bit int.
23900
ca38dc17
AS
239012012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23902
23903 * include/string.h (memmem): Declare libc hidden alias.
23904 * string/memmem.c (memmem): Define libc hidden alias.
23905 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23906 __read, __close instead of open, read, close.
23907
9a387d1f
L
239082012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23909
ac49ecaf
L
23910 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23911 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23912 global and hidden.
23913 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23914 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23915 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23916 Likewise.
23917 (__rawmemchr_sse2): Likewise.
23918 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23919 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23920 (__strchr_sse2): Likewise.
23921 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23922 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23923 (__strcasecmp_sse2): Likewise.
23924 (__strncasecmp_sse2): Likewise.
23925 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23926 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23927 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23928 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23929 (__strrchr_sse2): Likewise.
23930 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23931 ifunc-impl-list.c.
23932 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23933 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23934 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23935 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23936 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23937 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23938 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23939 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23940 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23941 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23942 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23943 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23944 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23945 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23946 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23947 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23948 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23949 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23950 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23951 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23952 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23953 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23954 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23955 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23956 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23957 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23958 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23959 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23960 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23961 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23962
b090e8ea
L
23963 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23964 global and hidden.
23965 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23966 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23967 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23968 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23969 Likewise.
23970 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23971 Likewise.
23972 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23973 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23974 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23975 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23976 ifunc-impl-list.c.
23977 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23978 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23979 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23980 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23981 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23982 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23983 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23984 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23985 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23986 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23987 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23988 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23989 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23990 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23991 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23992 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23993 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23994 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23995 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23996 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23997 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23998 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23999 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24000 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24001 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24002 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24003 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24004 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24005 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24006 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24007 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24008 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24009 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24010 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24011 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24012 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24013 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24014 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24015 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24016 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24017 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24018
11dd4af6
L
24019 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24020 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24021 * include/ifunc-impl-list.h: New file.
24022 * misc/ifunc-impl-list.c: Likewise.
24023 * misc/Makefile (routines): Add ifunc-impl-list.
24024 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24025 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24026 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24027 TEST_NAME]: New variables.
11dd4af6
L
24028 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24029 are defined.
24030 (test_init): Call __libc_ifunc_impl_list to initialize
24031 func_list if TEST_IFUNC and TEST_NAME are defined.
24032
9a387d1f
L
24033 * string/Makefile (strop-tests): Add bcopy and bzero.
24034 * string/test-bcopy.c: New file.
24035 * string/test-bzero.c: Likewise.
24036 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24037 defined.
24038 * string/test-memset.c: Support bzero test if TEST_BZERO is
24039 defined.
24040 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24041 __libc_memmove.
24042 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24043 __libc_memset.
24044 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24045 of memset.
24046
472371b9
JM
240472012-10-10 Joseph Myers <joseph@codesourcery.com>
24048
1e4a9536
JM
24049 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24050 * configure: Regenerated.
24051
d173d12e
JM
24052 * Makeconfig (+link-static-before-libc): Don't include
24053 $(link-static-libc).
24054
472371b9
JM
24055 * libio/libio.h (_IO_pos_t): Remove.
24056
89a3ad0b
AO
240572012-10-10 Alexandre Oliva <aoliva@redhat.com>
24058
24059 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24060 McGrath.
24061
e7451425
AO
240622012-10-10 Alexandre Oliva <aoliva@redhat.com>
24063
24064 * crypt/crypt-entry.c: Include fips-private.h.
24065 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24066 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24067 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24068 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24069
4ba74a35
AO
240702012-10-10 Alexandre Oliva <aoliva@redhat.com>
24071
24072 * crypt/crypt-private.h: Include stdbool.h.
24073 (_ufc_setup_salt_r): Return bool.
24074 * crypt/crypt-entry.c: Include errno.h.
24075 (__crypt_r): Return NULL with EINVAL for bad salt.
24076 * crypt/crypt_util.c (bad_for_salt): New.
24077 (_ufc_setup_salt_r): Check that salt is long enough and within
24078 the specified alphabet.
24079 * crypt/badsalttest.c: New file.
24080 * crypt/Makefile (tests): Add it.
24081 ($(objpfx)badsalttest): New.
24082
f96f1242
MK
240832012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24084
24085 * NEWS: Add entry for BZ #14602.
24086
0e8e0c1c
JM
240872012-10-09 Joseph Myers <joseph@codesourcery.com>
24088
24089 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24090 type-generic.
24091 * math/libm-test.inc: Update comment listing what functions and
24092 macros are tested.
24093 (isgreater_test): New function.
24094 (isgreaterequal_test): Likewise.
24095 (isless_test): Likewise.
24096 (islessequal_test): Likewise.
24097 (islessgreater_test): Likewise.
24098 (isunordered_test): Likewise.
24099 (main): Call the new functions.
24100
273edc5e
RM
241012012-10-09 Roland McGrath <roland@hack.frob.com>
24102
b8493de0
RM
24103 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24104 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24105 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24106 * sysdeps/i386/configure: Regenerated.
24107 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24108 * sysdeps/mach/configure: Regenerated.
24109 * sysdeps/mach/hurd/configure: Regenerated.
24110 * sysdeps/powerpc/configure: Regenerated.
24111 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24112 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24113 * sysdeps/s390/s390-32/configure: Regenerated.
24114 * sysdeps/s390/s390-64/configure: Regenerated.
24115 * sysdeps/sh/configure: Regenerated.
24116 * sysdeps/sparc/configure: Regenerated.
24117 * sysdeps/unix/sysv/linux/configure: Regenerated.
24118 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24119 * sysdeps/x86_64/configure: Regenerated.
24120
273edc5e
RM
24121 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24122 defined. Don't check if MAP is NULL.
24123
c8450f70
JM
241242012-10-09 Joseph Myers <joseph@codesourcery.com>
24125
24126 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24127 (_G_stat64): Likewise.
24128 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24129 (_G_stat64): Likewise.
24130 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24131 instead of struct _G_stat64.
24132 * libio/fileops.c (mmap_remap_check): Likewise.
24133 (decide_maybe_mmap): Likewise.
24134 (_IO_new_file_seekoff): Likewise.
24135 (_IO_file_stat): Likewise.
24136 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24137 _G_off64_t.
24138 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24139 instead of struct _G_stat64.
24140 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24141
57e605ba
MK
241422012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24143
24144 [BZ #14602]
24145 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24146 Replace with ...
24147 (CHECK_EOL): New macro.
24148 (two_way_short_needle): Check beginning of haystack for EOL. Use
24149 CHECK_EOL.
24150 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24151 Replace with CHECK_EOL.
24152 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24153 Replace with CHECK_EOL.
24154
ef1bb361
JM
241552012-10-08 Joseph Myers <joseph@codesourcery.com>
24156
24157 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24158 type-generic.
24159 * math/libm-test.inc: Update comment listing what functions and
24160 macros are tested.
24161 (finite_test): New function.
24162 (isinf_test): Likewise.
24163 (isnan_test): Likewise.
24164 (fpclassify_test): Test subnormal input.
24165 (isfinite_test): Likewise.
24166 (isnormal_test): Likewise.
24167 (main): Call the new functions.
24168
55f11534
JN
241692012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24170
24171 [BZ #14660]
24172 * Makerules (%.dynsym): Force C locale when running
24173 $(OBJDUMP) --dynamic-syms.
24174
1ab29350
AS
241752012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24176
24177 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24178 <stdint.h>.
24179
f1ecb7ef
DM
241802012-10-06 David S. Miller <davem@davemloft.net>
24181
24182 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24183 upper 32-bits of the length value in %o2 since we use branch-on-register
24184 tests which consider the entire 64-bit register.
24185
5d41d91a
L
241862012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24187
24188 * string/test-strstr.c (check2): Add a test for page boundary.
24189
3baddb72
DM
241902012-10-05 David S. Miller <davem@davemloft.net>
24191
24192 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24193 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24194 file.
24195 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24196 sysdep_routines.
24197 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24198 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24199 and bzero when HWCAP_SPARC_CRYPTO is present.
24200
9cee5585
L
242012012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24202
d7e0dab9
L
24203 [BZ #14602]
24204 * string/test-strstr.c (check2): New function.
24205 (test_main): Call check2.
24206
03759f47
L
24207 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24208 and bug-strchr1.
24209 * string/bug-strcasestr1.c (do_test): Moved to ...
24210 * string/test-strcasestr.c (check1): Here. New function.
24211 (do_one_test): Break out result checking code into ...
24212 (check_result): This. New function.
24213 (do_one_test): Call check_result.
24214 (test_main): Call check1.
24215 * string/bug-strchr1.c (do_test): Moved to ...
24216 * string/test-strchr.c (check1): Here. New function.
24217 (do_one_test): Break out result checking code into ...
24218 (check_result): This. New function.
24219 (do_one_test): Call check_result.
24220 (test_main): Call check1.
24221 * string/bug-strstr1.c (main): Moved to ...
046f153e 24222 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24223 (do_one_test): Break out result checking code into ...
24224 (check_result): This. New function.
24225 (do_one_test): Call check_result.
24226 (test_main): Call check1.
24227 * string/bug-strcasestr1.c: Removed.
24228 * string/bug-strchr1.c: Likewise.
24229 * string/bug-strstr1.c: Likewise.
24230
53cea63e
L
24231 * elf/Makefile (dl-routines): Add hwcaps.
24232 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24233 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24234 (_dl_important_hwcaps): Moved to ...
24235 * elf/dl-hwcaps.c: Here. New file.
24236 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24237
9cee5585 24238 [BZ #14557]
bb859b06
L
24239 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24240 if IS_IN_rtld isn't defined.
24241
9cee5585
L
24242 * elf/dl-support.c (_dl_sysinfo_map): New.
24243 Include "get-dynamic-info.h" and "setup-vdso.h".
24244 (_dl_non_dynamic_init): Call setup_vdso.
24245 * elf/dynamic-link.h: Don't include <assert.h>.
24246 (elf_get_dynamic_info): Moved to ...
24247 * elf/get-dynamic-info.h: Here. New file.
24248 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24249 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24250 * elf/setup-vdso.h: Here. New file.
24251 * elf/rtld.c: Include "setup-vdso.h".
24252 (dl_main): Call setup_vdso.
24253
23c31b76
JM
242542012-10-05 Joseph Myers <joseph@codesourcery.com>
24255
28234b07
JM
24256 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24257 creal in comment listing functions tested. List finite, isinf,
24258 isnan, isless, islessequal, isgreater, isgreaterequal,
24259 islessgreater, isunordered, lgamma_r and pow10 as functions and
24260 macros not tested. Mention which functions not tested are aliases
24261 for other functions. Fix typo. Note that signs of NaNs are not
24262 tested.
24263
23c31b76
JM
24264 * scripts/config.guess: Update from config.git.
24265 * scripts/config.sub: Likewise.
24266
9043e228
RM
242672012-10-04 Roland McGrath <roland@hack.frob.com>
24268
24269 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24270 * misc/madvise.c (madvise): Renamed to __madvise.
24271 Make madvise a weak alias.
24272 * include/sys/mman.h: Declare __madvise.
24273 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24274 * sysdeps/unix/syscalls.list
24275 (madvise): Make __madvise the strong name, and madvise a weak alias.
24276 * sysdeps/unix/sysv/linux/syscalls.list
24277 (madvise, mmap): Remove redundant entries.
24278 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24279 * malloc/malloc.c (mtrim): Likewise.
24280 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24281
f57f8055
RM
242822012-10-03 Roland McGrath <roland@hack.frob.com>
24283
24284 * sysdeps/mach/hurd/dl-cache.c: File removed.
24285 * config.h.in (USE_LDCONFIG): New #undef.
24286 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24287 * configure: Regenerated.
24288 * elf/Makefile (dl-routines): Add dl-cache only under
24289 [$(use-ldconfig) = yes].
24290 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24291 cache on [USE_LDCONFIG].
24292 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24293 [USE_LDCONFIG].
24294 * elf/rtld.c (dl_main): Likewise.
24295
5bb0c10a
PT
242962012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24297
24298 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24299 _SC_LEVEL4_CACHE_LINESIZE.
24300
010188c6
RM
243012012-10-03 Roland McGrath <roland@hack.frob.com>
24302
24303 * sysdeps/unix/bsd/confstr.h: File removed.
24304
b6c5ec07
AO
243052012-10-02 Alexandre Oliva <aoliva@redhat.com>
24306
24307 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24308 sys/sdt-config.h.
24309
408223d4
RM
243102012-10-02 Roland McGrath <roland@hack.frob.com>
24311
24312 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24313 Make 'mapoff' field ElfW(Off) rather than off_t.
24314
bb9510dc
DL
243152012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24316
fc997c6e
DL
24317 * nscd/Makefile: Remove nscd-cflags and all its users.
24318 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24319 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24320
bb9510dc
DL
24321 [BZ #10631]
24322 * malloc.c (malloc_printerr): Clarify error message.
24323
05699367
L
243242012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24325
24326 [BZ #14648]
24327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24328 Set bit_FMA_Usable if FMA is supported.
24329 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24330 macro.
24331 (bit_FMA4_Usable): Updated.
24332 (index_FMA_Usable): New macro.
24333 (CPUID_FMA): Likewise
24334 (HAS_FMA): Defined with bit_FMA_Usable.
24335
51367701
RM
243362012-10-01 Roland McGrath <roland@hack.frob.com>
24337
24338 * bits/types.h (__swblk_t): Type removed.
24339 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24340 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24342 (__SWBLK_T_TYPE): Likewise.
24343 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24344 (__SWBLK_T_TYPE): Likewise.
24345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24346 (__SWBLK_T_TYPE): Likewise.
24347 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24348 (__SWBLK_T_TYPE): Likewise.
24349
4d57bf63 243502012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 24351 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
24352
24353 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24354 (xdr_mapname): Use YPMAXMAP as maxsize.
24355 (xdr_peername): Use YPMAXPEER as maxsize.
24356 (xdr_keydat): Use YPAXRECORD as maxsize.
24357 (xdr_valdat): Use YPMAXRECORD as maxsize.
24358
93c65d43
RM
243592012-10-01 Roland McGrath <roland@hack.frob.com>
24360
497a03d6
RM
24361 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24362
93c65d43
RM
24363 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24364 * csu/init-first.c: ... here.
24365 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24366 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24367 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24368 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24369 * sysdeps/i386/init-first.c: File removed.
24370 * sysdeps/sh/init-first.c: File removed.
24371
bec749fd
JM
243722012-10-01 Joseph Myers <joseph@codesourcery.com>
24373
24374 [BZ #14645]
24375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24376 if x * y might underflow to zero and z is zero.
24377 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24379 * math/libm-test.inc (min_subnorm_value): New variable.
24380 (fma_test): Add more tests.
24381 (fma_test_towardzero): Likewise.
24382 (fma_test_downward): Likewise
24383 (fma_test_upward): Likewise.
24384 (initialize): Set min_subnorm_value.
24385
8ec5b013
JM
243862012-09-29 Joseph Myers <joseph@codesourcery.com>
24387
24388 [BZ #14638]
24389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24390 0 + 0.
24391 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24392 mode for addition resulting in exact zero.
24393 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24395 exact 0 + 0.
24396 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24397 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24398 * math/libm-test.inc (fma_test): Add more tests.
24399 (fma_test_towardzero): New function.
24400 (fma_test_downward): Likewise.
24401 (fma_test_upward): Likewise.
24402 (main): Call the new functions.
24403
b1fa802e
DM
244042012-09-28 David S. Miller <davem@davemloft.net>
24405
24406 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24407
d3b9fd9e
RM
244082012-09-28 Roland McGrath <roland@hack.frob.com>
24409
ea4d37b3
RM
24410 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24411 instead of SIGALRM.
24412
ac51c949
RM
24413 * sysdeps/gnu/_G_config.h: Moved to ...
24414 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24415 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24416 * sysdeps/generic/_G_config.h: ... here.
24417
28c195f7
RM
24418 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24419
848917f9
RM
24420 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24421
6bacf05b
RM
24422 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24423 Conditionalize target on [libnss_test1.so-version].
24424
91363dbb
RM
24425 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24426
cc87f7d8
RM
24427 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24428 (elfobjdir): Move out of conditionals.
24429
b1c608fe
RM
24430 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24431 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24432 (__nss_lookup_function): Conditionalize label remove_from_tree on
24433 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 24434
1d9a6d96
DM
244352012-09-28 David S. Miller <davem@davemloft.net>
24436
24437 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24438 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24439 file.
24440 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24441 sysdep_routines.
24442 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24444 when HWCAP_SPARC_CRYPTO is present.
24445
72581615
PT
244462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24447
24448 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24449
715a900c
JL
244502012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24451
24452 [BZ #6530]
24453 * stdio-common/vfprintf.c (process_string_arg): Revert
24454 2000-07-22 change.
24455
244562011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24457
24458 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24459 for testcase.
24460 * stdio-common/tst-sprintf.c: Include <locale.h>
24461 (main): Test sprintf's handling of incomplete multibyte
24462 characters.
24463
9bac1d86
L
244642012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24465
24466 * elf/dl-runtime.c (VERSYMIDX): Removed.
24467 * elf/dl-version.c (VERSYMIDX): Likewise.
24468 * elf/do-rel.h (VERSYMIDX): Likewise.
24469 (VALIDX): Likewise.
24470 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24471 * elf/rtld.c (VALIDX): Likewise.
24472 (ADDRIDX): Likewise.
9bac1d86
L
24473 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24474 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24475 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
24476 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24477 (VALIDX): Likewise.
24478 (ADDRIDX): Likewise.
9bac1d86 24479
b31606c0
PT
244802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24481
24482 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24483
11541177
JL
244842012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24485
24486 [BZ #11438]
24487 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24488 to global scope.
24489 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24490 addresses are in the same scope as 192.0.2/24.
24491 * posix/gai.conf: Document new scope table defaults.
24492
adb26fae
SP
244932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24494
24495 [BZ #5298]
24496 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24497 for ftell. Compute offsets from write pointers instead.
24498 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24499
4573c6b0
SP
245002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24501
24502 [BZ #14543]
24503 * libio/Makefile (tests): New test case tst-fseek.
24504 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24505 combination works in wide mode.
24506 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24507 state when the external buffer state changes.
24508
aa9bbfe6
DM
245092012-09-27 David S. Miller <davem@davemloft.net>
24510
24511 [BZ #14376]
24512 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24513 pass reloc->r_addend in as the 'high' argument to
24514 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24515
784421e7
DM
24516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24517
c39bc8b8
PT
245182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24519
24520 * rt/tst-aio2.c: Include <pthread.h>.
24521 * rt/tst-aio3.c: Likewise.
24522
1ccc2399
SE
245232012-09-27 Steve Ellcey <sellcey@mips.com>
24524
24525 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24526
31ed4153
L
245272012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24528
25f5f885
L
24529 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24530 contents on [SHARED].
31ed4153 24531
b7bfe116
MP
245322012-09-26 Marek Polacek <polacek@redhat.com>
24533
24534 [BZ #14530]
24535 [BZ #13741]
24536 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24537 for C++ and GCC <4.3 as well as for non GCC compilers.
24538
43c4edba
MT
245392012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24540
24541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24542
6a1bf82f
RM
245432012-09-25 Roland McGrath <roland@hack.frob.com>
24544
24545 * Makefile.in (all, install): Declare with .PHONY.
24546 Reported by Michael Hope <michael.hope@linaro.org>.
24547
8ad11b9a
TMQMF
245482012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24549
24550 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24551 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24552 system header.
24553 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24554 Likewise.
24555 (sydep_routines): Add the new and the internal functions.
24556 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24557 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24559 (GLIBC_2.17): Add the new function.
24560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24561 (GLIBC_2.17): Likewise.
24562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24563 (GLIBC_2.17): Likewise.
24564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24565 (GLIBC_2.17): Likewise.
24566 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24567
7e2fca8d
AM
245682012-09-25 Alan Modra <amodra@gmail.com>
24569
24570 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24571 Add release barrier before setting once_control to say
24572 initialisation is done. Add hints on lwarx. Use macro in
24573 place of isync.
24574 (clear_once_control): Add release barrier.
24575
b87c4b24
JM
245762012-09-25 Joseph Myers <joseph@codesourcery.com>
24577
d032e0d2
JM
24578 [BZ #13629]
24579 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24580 specially.
24581 * math/s_clog10.c (__clog10): Likewise.
24582 * math/s_clog10f.c (__clog10f): Likewise.
24583 * math/s_clog10l.c (__clog10l): Likewise.
24584 * math/s_clogf.c (__clogf): Likewise.
24585 * math/s_clogl.c (__clogl): Likewise.
24586 * math/Makefile (libm-calls): Add x2y2m1.
24587 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24588 (__x2y2m1): Likewise.
24589 (__x2y2m1l): Likewise.
24590 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24591 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24592 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24593 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24594 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24595 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24596 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24597 * sysdeps/i386/fpu/libm-test-ulps: Update.
24598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24599
b87c4b24
JM
24600 [BZ #14621]
24601 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24602 int as type of variable DEPTH.
24603 (glob): Use size_t instead of int as type of variables NEWCOUNT
24604 and OLD_PATHC.
24605
6d3bf199
LD
246062012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24607
22bf5c17
LD
24608 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24609 Add s_sincosf-sse2.
24610 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24611 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24612 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24613 macros for using routine as __sincosf_ia32.
24614 Use macro for function declaration and weak_alias.
24615 * sysdeps/i386/fpu/libm-test-ulps: Update.
24616
24617 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24619
24620 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24621 subnormal argument.
24622 * math/s_cexpf.c (__cexpf): Likewise.
24623 * math/s_csinf.c (__csinf): Likewise.
24624 * math/s_csinhf.c (__csinhf): Likewise.
24625 * math/s_ctanf.c (__ctanf): Likewise.
24626 * math/s_ctanhf.c (__ctanhf): Likewise.
24627 * math/s_ccosh.c (__ccoshf): Likewise.
24628 * math/s_cexp.c (__cexpl): Likewise.
24629 * math/s_csin.c (__csin): Likewise.
24630 * math/s_csinh.c (__csinh): Likewise.
24631 * math/s_ctan.c (__ctan): Likewise.
24632 * math/s_ctanh.c (ctanh): Likewise.
24633 * math/s_ccoshl.c (__ccoshl): Likewise.
24634 * math/s_cexpl.c (__cexpl): Likewise.
24635 * math/s_csinl.c (__csinl): Likewise.
24636 * math/s_csinhl.c (__csinhl): Likewise.
24637 * math/s_ctanl.c (__ctanl): Likewise.
24638 * math/s_ctanhl.c (__ctanhl): Likewise.
24639
203e5603
JM
246402012-09-25 Joseph Myers <joseph@codesourcery.com>
24641
24642 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24643 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24644 (_IO_off_t): Define to __off_t, not _G_off_t.
24645 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24646 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24647 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24648 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24649 type of __dummy and __dummy2 fields.
24650 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24651 (_G_ssize_t): Likewise.
24652 (_G_off_t): Likewise.
24653 (_G_pid_t): Likewise.
24654 (_G_uid_t): Likewise.
24655 (_G_wchar_t): Likewise.
24656 (_G_wint_t): Likewise.
24657 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24658 (_G_ssize_t): Likewise.
24659 (_G_off_t): Likewise.
24660 (_G_pid_t): Likewise.
24661 (_G_uid_t): Likewise.
24662 (_G_wchar_t): Likewise.
24663 (_G_wint_t): Likewise.
24664 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24665 (_G_ssize_t): Likewise.
24666 (_G_off_t): Likewise.
24667 (_G_pid_t): Likewise.
24668 (_G_uid_t): Likewise.
24669 (_G_wchar_t): Likewise.
24670 (_G_wint_t): Likewise.
24671
9fab36eb
SP
246722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24673
24674 * malloc/arena.c: Include malloc-sysdep.h.
24675 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24676 is sufficient to shrink the heap or an unmap is needed.
24677 * sysdeps/generic/malloc-sysdep.h: New file. Define
24678 new function check_may_shrink_heap.
24679 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24680 new function check_may_shrink_heap.
24681
2b4f00d1
SP
246822012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24683
24684 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24685 comments.
24686
9a9028b1
DL
246872012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24688
57c69bef
DL
24689 * catgets/test-gencat.sh: Add "set -e".
24690 * elf/tst-pathopt.sh: Likewise.
24691 * grp/tst_fgetgrent.sh: Likewise.
24692 * iconvdata/run-iconv-test.sh: Likewise.
24693 * intl/tst-gettext.sh: Likewise.
24694 * intl/tst-gettext2.sh: Likewise.
24695 * intl/tst-gettext4.sh: Likewise.
24696 * intl/tst-gettext6.sh: Likewise.
24697 * intl/tst-translit.sh: Likewise.
24698 * io/ftwtest-sh: Likewise.
24699 * libio/test-freopen.sh: Likewise.
24700 * malloc/tst-mtrace.sh: Likewise.
24701 * posix/globtest.sh: Likewise.
24702 * posix/tst-getconf.sh: Likewise.
24703 * posix/wordexp-tst.sh: Likewise.
24704 * stdio-common/tst-printf.sh: Likewise.
24705 * stdio-common/tst-unbputc.sh: Likewise.
24706 * stdlib/tst-fmtmsg.sh: Likewise.
24707 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24708 * catgets/Makefile: Do not specify -e option when running
24709 testsuite shell scripts.
24710 * elf/Makefile: Likewise.
24711 * grp/Makefile: Likewise.
24712 * iconvdata/Makefile: Likewise.
24713 * intl/Makefile: Likewise.
24714 * io/Makefile: Likewise.
24715 * libio/Makefile: Likewise.
24716 * malloc/Makefile: Likewise.
24717 * posix/Makefile: Likewise.
24718 * stdio-common/Makefile: Likewise.
24719 * stdlib/Makefile: Likewise.
24720 * sysdeps/x86_64/Makefile: Likewise.
24721
9a9028b1
DL
24722 * io/ftwtest-sh: Add copyright header.
24723 * posix/globtest.sh: Likewise.
24724 * posix/tst-getconf.sh: Likewise.
24725 * posix/wordexp-tst.sh: Likewise.
24726 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24727
ced6f16e
L
247282012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24729
94b32c39
L
24730 [BZ #13679]
24731 * Makeconfig (+link): Defined as $(+link-static) if
24732 $(build-shared) isn't yes.
24733 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24734 isn't yes.
24735 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24736
189e935b
L
24737 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24738
ced6f16e
L
24739 [BZ #14562]
24740 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24741 new chunk size with MALLOC_ALIGN_MASK.
24742
a9f8e53a
JM
247432012-09-24 Joseph Myers <joseph@codesourcery.com>
24744
24745 [BZ #5044]
24746 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24747 <rounding-mode.h>.
24748 (__printf_fphex): Determine rounding using get_rounding_mode and
24749 round_away.
24750 * stdio-common/tst-printf-round.c (struct hex_test): New
24751 structure.
24752 (hex_tests): New variable.
24753 (test_hex_in_one_mode): New function.
24754 (do_test): Also run tests for hex float output.
24755
43153109
JM
247562012-09-21 Joseph Myers <joseph@codesourcery.com>
24757
24758 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24759 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24760 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24761 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24762 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24763 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24764 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24765 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24766
8a26625d
JM
247672012-09-20 Joseph Myers <joseph@codesourcery.com>
24768
24769 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24770 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24771 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24772 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24773
f3fd569c
DL
247742012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24775
24776 [BZ #14579]
24777 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24778 mode only.
24779 * elf/tst-rtld-load-self.sh: New test.
24780 * elf/Makefile: Run it.
24781
63bbedd4
JM
247822012-09-18 Joseph Myers <joseph@codesourcery.com>
24783
24784 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24785 (tst-writev-ENV): Remove.
24786 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24787
626f8b6a
CM
247882012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24789
24790 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24791
b7aaa4d6
JM
247922012-09-17 Joseph Myers <joseph@codesourcery.com>
24793
24794 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24795 unconditional.
24796 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24797 Likewise.
24798 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24799 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24800 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24801 Likewise.
24802
65513990
L
248032012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24804
24805 [BZ #14587]
24806 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24807 * config.make.in (have-cpp-asm-debuginfo): Removed.
24808 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24809 * configure: Regenerated.
24810
784761be
JM
248112012-09-14 Joseph Myers <joseph@codesourcery.com>
24812
24813 [BZ #5044]
24814 * stdio-common/printf_fp.c: Include <stdbool.h> and
24815 <rounding-mode.h>.
24816 (___printf_fp): Determine rounding using get_rounding_mode and
24817 round_away.
24818 * stdio-common/tst-printf-round.c: New file.
24819 * stdio-common/Makefile (tests): Add tst-printf-round.
24820 (link-libm): New variable.
24821 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24822
9503345f
L
248232012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24824
24825 [BZ #14576]
24826 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24827 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24828 Likewise.
24829 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24830 Likewise.
24831
ad35fc00
JM
248322012-09-13 Joseph Myers <joseph@codesourcery.com>
24833
24834 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24835 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24836 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24837 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24838
6c9b0f68
JM
248392012-09-12 Joseph Myers <joseph@codesourcery.com>
24840
24841 [BZ #14518]
24842 * include/rounding-mode.h: New file.
24843 * sysdeps/generic/get-rounding-mode.h: Likewise.
24844 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24845 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24846 (MAX_VALUE): New macro.
24847 (MIN_VALUE): Likewise.
24848 (overflow_value): New function.
24849 (underflow_value): Likewise.
24850 (round_and_return): Use overflow_value and underflow_value to
24851 determine return values in overflow and underflow cases. Use
24852 round_away to determine rounding depending on rounding mode.
24853 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24854 determine return values in overflow and underflow cases.
24855 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24856 (struct test_results): New structure.
24857 (struct test): Use struct test_results to store expected results
24858 for all rounding modes.
24859 (TEST): Include expected results for all rounding modes.
24860 (test_in_one_mode): New function.
24861 (do_test): Use test_in_one_mode to compute and check results.
24862 Check results for all rounding modes.
24863 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24864 $(link-libm).
24865
19fcedd5
AM
248662012-12-09 Allan McRae <allan@archlinux.org>
24867
1e9d84cd 24868 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24869
8bbfd2f1
JM
248702012-09-11 Joseph Myers <joseph@codesourcery.com>
24871
24872 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24873 (_G_int32_t): Likewise.
24874 (_G_uint16_t): Likewise.
24875 (_G_uint32_t): Likewise.
24876 (_G_HAVE_BOOL): Likewise.
24877 (_G_HAVE_ATEXIT): Likewise.
24878 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24879 (_G_HAVE_IO_FILE_OPEN): Likewise.
24880 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24881 (_G_int32_t): Likewise.
24882 (_G_uint16_t): Likewise.
24883 (_G_uint32_t): Likewise.
24884 (_G_HAVE_BOOL): Likewise.
24885 (_G_HAVE_ATEXIT): Likewise.
24886 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24887 (_G_HAVE_IO_FILE_OPEN): Likewise.
24888 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24889 (_G_int32_t): Likewise.
24890 (_G_uint16_t): Likewise.
24891 (_G_uint32_t): Likewise.
24892 (_G_HAVE_BOOL): Likewise.
24893 (_G_HAVE_ATEXIT): Likewise.
24894 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24895 (_G_HAVE_IO_FILE_OPEN): Likewise.
24896
b1dc5912
L
248972012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24898
24899 * csu/libc-tls.c: Update copyright years.
24900
0e886ef9
JM
249012012-09-10 Joseph Myers <joseph@codesourcery.com>
24902
28361c5e
JM
24903 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24904 [!_G_USING_THUNKS]: Remove conditional code.
24905 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24906 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24907
0e886ef9
JM
24908 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24909 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24910 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24911 (_G_VTABLE_LABEL_PREFIX): Likewise.
24912 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24913 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24914 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24915 (_G_VTABLE_LABEL_PREFIX): Likewise.
24916 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24917 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24918 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24919 (_G_VTABLE_LABEL_PREFIX): Likewise.
24920 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24921
bcba7aa2
L
249222012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24923
24924 * libio/Makefile: Include ../Makeconfig before tests.
24925 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24926 only if $(build-shared) is yes.
24927
06585ee8
L
24928 * iconv/gconv_db.c: Update copyright years.
24929
80ccd52c
LD
249302012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24931
24932 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24933 unwind info if defined PIC. Fix special cases description.
24934 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24935
24936 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24937 DP_HI_MASK entry.
24938 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24939
691bc9c1
L
249402012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24941
3d9b46b3
L
24942 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24943
de2139a9
L
24944 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24945 is NULL.
24946
5ca78dd0
L
24947 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24948 (LDLIBS-tst-chk4): This.
24949 (LDFLAGS-tst-chk5): Renamed to ...
24950 (LDLIBS-tst-chk5): This.
24951 (LDFLAGS-tst-chk6): Renamed to ...
24952 (LDLIBS-tst-chk6): This.
24953 (LDFLAGS-tst-lfschk4): Renamed to ...
24954 (LDLIBS-tst-lfschk4): This.
24955 (LDFLAGS-tst-lfschk5): Renamed to ...
24956 (LDLIBS-tst-lfschk5): This.
24957 (LDFLAGS-tst-lfschk6): Renamed to ...
24958 (LDLIBS-tst-lfschk6): This.
24959
691bc9c1
L
24960 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24961 on $(common-objpfx)soversions.mk.
24962
65cafb1c
JM
249632012-09-07 Joseph Myers <joseph@codesourcery.com>
24964
24965 [BZ #10014]
24966 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24967 example host name.
24968
c78ab094
SP
249692012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24970
24971 * malloc/arena.c (arena_get_retry): New function that gets
24972 another arena for the caller to try its request on.
24973 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24974 current arena cannot fulfill the request.
24975 (__libc_memalign): Likewise.
24976 (__libc_memalign): Likewise.
24977 (__libc_pvalloc): Likewise.
24978 (__libc_calloc): Likewise.
24979
01f49f59
JT
249802012-09-05 John Tobey <john.tobey@gmail.com>
24981
24982 [BZ #13542]
24983 * manual/arith.texi (Operations on Complex): Fix description
24984 of carg branch cut.
24985
4c23fed5
JM
249862012-09-06 Joseph Myers <joseph@codesourcery.com>
24987
1d3c8572
JM
24988 [BZ #10014]
24989 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24990 host name.
24991
4c23fed5
JM
24992 [BZ #10038]
24993 * manual/memory.texi (Memory): Make order of menu items match
24994 order of sections.
24995
04570aaa
L
249962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24997
24998 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24999 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25000 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25001
b80af2f4
L
250022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25003
25004 * csu/libc-tls.c (static_dtv): Renamed to ...
25005 (_dl_static_dtv): This. Make it global.
25006 (_dl_initial_dtv): Removed.
25007 (__libc_setup_tls): Updated.
25008 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25009 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25010 DL_INITIAL_DTV.
25011
2abe9f15
PM
250122012-09-06 Petr Machata <pmachata@redhat.com>
25013
25014 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25015 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25016 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25017 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25018
0948c3af
L
250192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25020
25021 [BZ #14545]
25022 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25023 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25024 freeing dtv[-1].
25025
a5055ad1
L
250262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25027
25028 [BZ #14544]
25029 * Makeconfig (link-static-before-libc): Replace $(+prector)
25030 with $(+prectorT).
25031 (link-static-after-libc): Replace $(+postctor) with
25032 $(+postctorT).
25033 (link-bounded): Replace $(+prector)/$(+postctor) with
25034 $(+prectorT)/$(+postctorT).
25035 (+prectorT): New macro.
25036 (+postctorT): Likewise.
25037
ed8c2ecd
JM
250382012-09-06 Joseph Myers <joseph@codesourcery.com>
25039
25040 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25041 (round_str): Handle values above the maximum for IBM long double
25042 as inexact.
25043 * stdlib/tst-strtod-round.c (tests): Regenerated.
25044
14c996c8
AK
250452012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25046
25047 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25048 assembler flag.
25049 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25050 zarch_nohighgprs around the zarch optimized routines.
25051 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25052 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25053 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25054 for zarch.
25055
430d6ce6
DM
250562012-09-05 David S. Miller <davem@davemloft.net>
25057
25058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25059
57f41c40
AS
25060 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25061 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25062 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25063 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25064 entries.
25065
24d4e01b
AO
250662012-09-05 Alexandre Oliva <aoliva@redhat.com>
25067
25068 * malloc/arena.c: Fold copyright years.
25069 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25070
61d58174
AO
250712012-09-05 Alexandre Oliva <aoliva@redhat.com>
25072
25073 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25074
20196a5e
AO
250752012-09-05 Alexandre Oliva <aoliva@redhat.com>
25076
25077 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25078
5c447383
AO
250792012-09-05 Alexandre Oliva <aoliva@redhat.com>
25080
25081 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25082 change internal state upon failure.
25083
fad64255
AO
250842012-09-05 Alexandre Oliva <aoliva@redhat.com>
25085
25086 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25087 * malloc/memusage.c (mmap): Likewise.
25088 (mmap64, mremap): Likewise. Adjust name in comment.
25089
1ffb8c90
SP
250902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25091
25092 * libio/fileops.c: Fix typos in comments.
25093 * libio/oldfileops.c: Likewise.
25094 * libio/wfileops.c: Likewise.
25095
6ef9cc37
SP
250962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25097
25098 [BZ #1349]
25099 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25100 (tst-malloc-usable-ENV): Set environment for test case.
25101 * malloc/hooks.c (malloc_check_get_size): New function to get
25102 requested size.
25103 * malloc/malloc.c (musable): Use malloc_check_get_size.
25104 * malloc/tst-malloc-usable.c: New test case.
25105
4d038ae3
AS
251062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25107
25108 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25109
c4e85184
AM
251102012-09-05 Allan McRae <allan@archlinux.org>
25111
b9dafc56 25112 [BZ #13966]
c4e85184
AM
25113 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25114 determine header location.
25115 * configure: Regenerated.
25116
e1343020
AS
251172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25118
25119 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25120 float format.
25121 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25122 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25123 format.
e1343020
AS
25124 (test): Regenerate.
25125
0a9f1987
DM
251262012-09-04 David S. Miller <davem@davemloft.net>
25127
25128 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25129 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25130 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25131
29237804
FW
251322012-09-04 Florian Weimer <fweimer@redhat.com>
25133
25134 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25135 failures.
25136
edb3cb88
FW
25137 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25138
60160d83
JM
251392012-09-04 Joseph Myers <joseph@codesourcery.com>
25140
25141 [BZ #9914]
25142 * libio/iogetdelim.c: Include <limits.h>.
25143 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25144 + len + 1 would overflow.
25145
bcd6c8dc
AJ
251462012-09-03 Andreas Jaeger <aj@suse.de>
25147
25148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25149 * sysdeps/i386/fpu/libm-test-ulps: Update.
25150
4ffffbd2
LD
251512012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25152
25153 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25154 Add s_sinf-sse2, s_conf-sse2.
25155
25156 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25157 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25158 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25159 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25160
25161 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25162 for using routine as __sinf_ia32.
25163 Use macro for function declaration and weak_alias.
25164 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25165 for using routine as __cosf_ia32.
25166 Use macro for function declaration and weak_alias.
25167
25168 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25169 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25170
25171 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25172 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25174
25175 * math/libm-test.inc (cos_test): Add more test cases.
25176 (sin_test): Likewise.
25177 (sincos_test): Likewise.
25178
511fa286
AK
251792012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25180
25181 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25182 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25183 hidden.
25184 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25185
5f30cfec
L
251862012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25187
25188 [BZ #14538]
25189 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25190 first element of the GOT.
25191 (elf_machine_load_address): Return the difference between
25192 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25193
0786794f
AM
251942012-09-01 Allan McRae <allan@archlinux.org>
25195
5f30cfec
L
25196 [BZ #13412]
25197 * configure.in (AWK): Require gawk version 3.0 or later.
25198 * configure: Regenerated.
0786794f 25199
26889eac
JM
252002012-09-01 Joseph Myers <joseph@codesourcery.com>
25201
25202 * sysdeps/unix/sysv/linux/kernel-features.h
25203 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25204 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25205 [__NR_clock_getres]: Make code unconditional.
25206 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25207 (clock_getcpuclockid): Remove code left unreachable by removal of
25208 conditionals.
25209 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25210 code unconditional.
25211 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25212 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25213 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25214 Make code unconditional.
25215 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25216 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25217 * sysdeps/unix/sysv/linux/clock_settime.c
25218 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25219 conditional code.
25220 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25221 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25222
d22e28b0
L
252232012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25224
25225 [BZ #14476]
25226 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25227 scripts/test-installation.pl.
25228
25229 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25230 and $ld_so_version if it is set.
25231
050af9c4
SP
252322012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25233
25234 [BZ #14516]
25235 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25236 failure if reading from procfs failed.
25237 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25238
ad845c0b
JM
252392012-08-27 Joseph Myers <joseph@codesourcery.com>
25240
25241 * sysdeps/unix/sysv/linux/kernel-features.h
25242 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25243 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25244 Remove conditional code.
25245 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25246 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25247 Remove conditional code.
25248 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25249 * sysdeps/unix/sysv/linux/i386/fxstat.c
25250 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25251 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25252 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25253 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25254 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25255 * sysdeps/unix/sysv/linux/i386/lxstat.c
25256 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25257 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25258 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25259 Remove conditional code.
25260 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25261 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25262 Remove conditional code.
25263 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25264 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25265 <kernel-features.h>.
25266 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25267 Remove.
25268 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25269 Remove conditional code.
25270 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25271 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25272 Remove conditional.
25273
5dbf56af
MF
252742012-08-27 Mike Frysinger <vapier@gentoo.org>
25275
25276 [BZ #5400]
25277 * NEWS: Add fixed bug number.
25278
d6e70f43
JM
252792012-08-27 Joseph Myers <joseph@codesourcery.com>
25280
7efb4737
JM
25281 [BZ #14519]
25282 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25283 underflowing exponent in case of negative sign.
25284 * stdlib/tst-strtod-round-data: Add more tests.
25285 * stdlib/tst-strtod-round.c (tests): Regenerated.
25286
af92131a
JM
25287 [BZ #3479]
25288 * stdlib/strtod_l.c (NDIG): Remove.
25289 (HEXNDIG): Likewise.
25290 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25291 smallest representable value.
25292 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25293 lie within an exact representation of 1/2 ulp of the result.
25294 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25295 unconditionally.
25296 (TENS_P9_IDX): Define unconditionally.
25297 (TENS_P9_SIZE): Likewise.
25298 (TENS_P10_IDX): Likewise.
25299 (TENS_P10_SIZE): Likewise.
25300 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25301 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25302 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25303 entries for 10^2^13 and 10^2^14.
25304 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25305 (TENS_P13_IDX): Define.
25306 (TENS_P13_SIZE): Likewise.
25307 (TENS_P14_IDX): Likewise.
25308 (TENS_P14_SIZE): Likewise.
25309 (_fpioconst_pow10): Change array size to
25310 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25311 unconditional.
25312 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25313 1024]: Add entries for 10^2^13 and 10^2^14.
25314 [LAST_POW10 > _LAST_POW10]: Remove #error.
25315 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25316 (_fpioconst_pow10): Change array size to
25317 FPIOCONST_POW10_ARRAY_SIZE.
25318 * stdlib/gen-fpioconst.c: New file.
25319 * stdlib/gen-tst-strtod-round.c: Likewise.
25320 * stdlib/tst-strtod-round-data: Likewise.
25321 * stdlib/tst-strtod-round.c: Likewise.
25322 * stdlib/Makefile (tests): Add tst-strtod-round.
25323
d6e70f43
JM
25324 [BZ #14459]
25325 * stdlib/strtod_l.c: Include <stdint.h>.
25326 (NDEBUG): Do not define.
25327 (round_and_return): Change EXPONENT parameter to type intmax_t.
25328 Rearrange calculations to avoid internal overflow possibilities.
25329 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25330 Rearrange calculations to avoid internal overflow possibilities.
25331 Assert that number fits inside MPNSIZE limbs.
25332 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25333 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25334 calculations and add assertions to avoid internal overflow
25335 possibilities. Add casts to avoid signed/unsigned operations.
25336 * stdlib/tst-strtod-overflow.c: New file.
25337 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25338
1f529f7d
MP
253392012-08-25 Marek Polacek <polacek@redhat.com>
25340
25341 * time/time.h: Fix some typos in comments.
25342
59a629f1
RM
253432012-08-23 Roland McGrath <roland@hack.frob.com>
25344
25345 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25346 * posix/tst-rfc3484-2.c: Likewise.
25347 * posix/tst-rfc3484-3.c: Likewise.
25348
d3bafbc9
SM
253492012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25350
25351 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25352 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25353
4efcc022
JM
253542012-08-23 Joseph Myers <joseph@codesourcery.com>
25355
25356 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25357 #include of fxstatat64.c.
25358
3cc3ef96
RM
253592012-08-22 Roland McGrath <roland@hack.frob.com>
25360
f04e2132
RM
25361 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25362 * shadow/getspent_r.c: Likewise.
25363 * shadow/getspnam.c: Likewise.
25364 * shadow/getspnam_r.c: Likewise.
25365 * gshadow/getsgent.c: Likewise.
25366 * gshadow/getsgent_r.c: Likewise.
25367 * gshadow/getsgnam.c: Likewise.
25368 * gshadow/getsgnam_r.c: Likewise.
25369 * inet/getnetbyad.c: Likewise.
25370 * inet/getnetbyad_r.c: Likewise.
25371 * inet/getnetbynm.c: Likewise.
25372 * inet/getnetbynm_r.c: Likewise.
25373 * inet/getnetent.c: Likewise.
25374 * inet/getnetent_r.c: Likewise.
25375 * inet/getproto.c: Likewise.
25376 * inet/getproto_r.c: Likewise.
25377 * inet/getprtent.c: Likewise.
25378 * inet/getprtent_r.c: Likewise.
25379 * inet/getprtname.c: Likewise.
25380 * inet/getprtname_r.c: Likewise.
25381 * inet/getrpcbyname.c: Likewise.
25382 * inet/getrpcbyname_r.c: Likewise.
25383 * inet/getrpcbynumber.c: Likewise.
25384 * inet/getrpcbynumber_r.c: Likewise.
25385 * inet/getrpcent.c: Likewise.
25386 * inet/getrpcent_r.c: Likewise.
25387 * inet/getaliasent.c: Likewise.
25388 * inet/getaliasent_r.c: Likewise.
25389 * inet/getaliasname.c: Likewise.
25390 * inet/getaliasname_r.c: Likewise.
25391 * nscd/getgrgid_r.c: Likewise.
25392 * nscd/getgrnam_r.c: Likewise.
25393 * nscd/gethstbyad_r.c: Likewise.
25394 * nscd/gethstbynm3_r.c: Likewise.
25395 * nscd/getpwnam_r.c: Likewise.
25396 * nscd/getpwuid_r.c: Likewise.
25397 * nscd/getsrvbynm_r.c: Likewise.
25398 * nscd/getsrvbypt_r.c: Likewise.
25399 * nscd/gai.c: Likewise.
25400
c53d909c
RM
25401 * configure.in (build_nscd): New substituted variable, set
25402 by --disable-build-nscd and defaults to $use_nscd.
25403 * configure: Regenerated.
25404 * config.make.in (build-nscd): New substituted variable.
25405 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25406 Change conditional to require [$(build-nscd) = yes] as well.
25407 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25408
3cc3ef96
RM
25409 [BZ# 13696]
25410 * configure.in (use_nscd): New substituted variable, set by
25411 --disable-nscd. If enabled, define USE_NSCD.
25412 * configure: Regenerated.
25413 * config.h.in: Add USE_NSCD.
25414 * config.make.in (use-nscd): New substituted variable.
25415 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25416 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25417 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25418 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25419 (CFLAGS-getgrnam_r.c): Likewise.
25420 (CFLAGS-initgroups.c): Likewise.
25421 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25422 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25423 Variables removed.
25424 * inet/getnetgrent_r.c
25425 (nscd_setnetgrent): New function, broken out of ...
25426 (setnetgrent): ... here. Call it.
25427 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25428 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25429 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25430 * nscd/Makefile (routines, aux): Move definitions after include of
25431 Makeconfig. Conditionalize on [$(use-nscd) != no].
25432 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25433 Conditionalize on [USE_NSCD].
25434 (is_nscd, nscd_init_cb): Likewise.
25435 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25436 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25437 * nss/nss_db/db-init.c: Likewise.
25438 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25439 [USE_NSCD].
25440 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25441 (make_request): Use it.
25442 (cache_valid_p): New function.
25443 (__check_pf): Use it.
25444 * NEWS: Add item for --disable-nscd.
25445
07e51550
DL
254462012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25447
25448 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25449 to support sed >= 4.2.1-20-ga9bf076.
25450 * configure: Regenerated.
25451
35a5b08b
RM
254522012-08-22 Roland McGrath <roland@hack.frob.com>
25453
25454 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25455 Conditionalize whole body on [IREL].
25456
8479f23a
JL
254572012-08-22 Jeff Law <law@redhat.com>
25458
25459 [BZ #14505]
25460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25461 if the family is PF_UNSPEC.
25462
48da0b21
MF
254632012-08-22 Mike Frysinger <vapier@gentoo.org>
25464
25465 * Makerules (lib-version): Rename from V.
25466 (install-lib-nosubdir): Change V to lib-version.
25467
15d0da8c
WS
254682012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25469
25470 [BZ #14252]
25471 * powerpc32/power6/wcschr.c: New file.
25472 * powerpc32/power6/wcscpy.c: New file.
25473 * powerpc32/power6/wcsrchr.c: New file.
25474 * powerpc64/power6/wcschr.c: New file.
25475 * powerpc64/power6/wcscpy.c: New file.
25476 * powerpc64/power6/wcsrchr.c: New file.
25477
bcca0895
MK
254782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25479
25480 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25481 (two_way_short_needle): Use it.
5a4aaa33
RM
25482 * string/strstr.c (AVAILABLE1_USES_J): Define.
25483 * string/strcasestr.c: Likewise.
99677e57
MK
25484
25485 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25486 array references.
25487 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25488
400726de
MK
25489 [BZ #11607]
25490 * NEWS: Add an entry.
25491 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25492 define their defaults.
25493 (two_way_short_needle): Detect end-of-string on-the-fly.
25494 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25495 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25496 * string/bug-strcasestr1.c: New test.
25497 * string/Makefile: Run it.
25498
20a71f2c
MK
254992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25500
25501 [BZ #11607]
25502 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25503 the first character.
25504
21ad0558
RM
255052012-08-21 Roland McGrath <roland@hack.frob.com>
25506
25507 * csu/elf-init.c (__libc_csu_irel): Function removed.
25508 * csu/libc-start.c (apply_irel): New function.
25509 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25510
0e1d9911
JM
255112012-08-21 Joseph Myers <joseph@codesourcery.com>
25512
25513 * sysdeps/unix/sysv/linux/kernel-features.h
25514 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25515 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25516 <kernel-features.h>.
25517 [__NR_fadvise64_64]: Make code unconditional.
25518 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25519 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25520 !__NR_fadvise64_64)]: Likewise.
25521 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25522 !__NR_fadvise64_64))]: Likewise.
25523 [__NR_fadvise64]: Make code unconditional.
25524 [!__NR_fadvise64]: Remove conditional code.
25525 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25526 <kernel-features.h>.
25527 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25528 unconditional.
25529 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25530 conditional code.
25531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25532 not include <kernel-features.h>.
25533 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25534 unconditional.
25535 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25536 conditional code.
25537 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25538 include <kernel-features.h>.
25539 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25540 unconditional.
25541 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25542 conditional code.
25543
14a50c9d
WS
255442012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25545
25546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25547 slight instruction rearrangements per scrollpipe analysis.
25548 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25549
c0f4faf0
RM
255502012-08-20 Roland McGrath <roland@hack.frob.com>
25551
696da859
RM
25552 * manual/syslog.texi (syslog; vsyslog, closelog):
25553 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25554 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25555
c0f4faf0
RM
25556 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25557 DSOCAPS to match condition on defining it.
25558
348363b2
JM
255592012-08-20 Joseph Myers <joseph@codesourcery.com>
25560
a35cbf28
JM
25561 * sysdeps/unix/sysv/linux/kernel-features.h
25562 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25564 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25565 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25567 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25568 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25570 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25571 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25572
445f7ecd
JM
25573 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25574 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25575
348363b2
JM
25576 * sysdeps/unix/sysv/linux/kernel-features.h
25577 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25578 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25579 unconditional.
25580 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25581 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25582 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25583 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25584 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25585 Make code unconditional.
25586 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25587 (__mmap64) [!__NR_mmap2]: Likewise.
25588 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25589 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25590 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25591 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25592 [__NR_mmap2]: Make code unconditional.
25593 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25594 (__mmap64) [!__NR_mmap2]: Likewise.
25595
bc5bc0e5
AK
255962012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25597
25598 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25599
88d506de
AJ
256002012-08-18 Andreas Jaeger <aj@suse.de>
25601
25602 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25603
493387d2
MF
256042012-08-18 Mike Frysinger <vapier@gentoo.org>
25605
25606 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25607 * include/unistd.h (__have_sock_cloexec): Likewise.
25608 (__have_pipe2): Likewise.
25609 (__have_dup3): Likewise.
25610
a277af22
MF
256112012-08-18 Mike Frysinger <vapier@gentoo.org>
25612
25613 [BZ #9685]
25614 * include/unistd.h (__have_pipe2): Change define into an extern int.
25615 (__have_dup3): Likewise.
25616 * socket/have_sock_cloexec.c: Include fcntl.h.
25617 (__have_pipe2): New variable.
25618 (__have_dup3): Likewise.
25619
fdab8fd3
MF
256202012-08-17 Mike Frysinger <vapier@gentoo.org>
25621
25622 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25623
31035e80
MP
256242012-08-17 Marek Polacek <polacek@redhat.com>
25625
25626 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25627 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25628
3bd9e993
RM
256292012-08-17 Roland McGrath <roland@hack.frob.com>
25630
c91c505f
RM
25631 * configure.in: Add AC_SUBST for sysheaders.
25632 * configure: Regenerated.
25633 * config.make.in (sysheaders): New substituted variable.
25634
7c6f9d53
RM
25635 * sysdeps/unix/mkfifo.c: Moved ...
25636 * sysdeps/posix/mkfifo.c: ... here.
25637 * sysdeps/unix/mkfifoat.c: Moved ...
25638 * sysdeps/posix/mkfifoat.c: ... here.
25639
25640 * sysdeps/unix/utime.c: Moved ...
25641 * sysdeps/posix/utime.c: ... here.
25642
25643 * sysdeps/unix/time.c: Moved ...
25644 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
25645 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25646 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
25647
25648 * sysdeps/unix/nice.c: Moved ...
25649 * sysdeps/posix/nice.c: ... here.
25650
25651 * sysdeps/unix/alarm.c: Moved ...
25652 * sysdeps/posix/alarm.c: ... here.
25653
3bd9e993
RM
25654 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25655
d1f09384
JL
256562012-08-17 Jeff Law <law@redhat.com>
25657
25658 * intl/Makefile (codeset_mo): New variable.
25659 ($(codeset_mo)): New target.
25660 (tst-codeset.out): Depend on that. Remove explicit rule.
25661 (tst-gettext3.out, tst-gettext5.out): Likewise.
25662 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25663 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25664 * intl/tst-codeset.sh: Remove.
25665 * intl/tst-gettext3.sh: Likewise.
25666 * intl/tst-gettext5.sh: Likewise.
25667
2ae1ae5c
RM
256682012-08-17 Roland McGrath <roland@hack.frob.com>
25669
c31fdb83
RM
25670 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25671 * sysdeps/unix/syscalls.list: ... here.
25672
a0844057
RM
25673 * sysdeps/posix/getaddrinfo.c
25674 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25675 (gaiconf_init, gaiconf_reload): Use them.
25676 [!_STATBUF_ST_NSEC]
25677 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25678 Define using time_t rather than struct timespec.
25679
750c1f2a
RM
25680 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25681 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25682 Macros removed.
25683 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25684 [!NO_THREADS].
25685 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25686 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25687 Likewise.
25688
2ae1ae5c
RM
25689 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25690 __libc_cleanup_push argument.
25691
e66a42f5
RM
25692 * bits/param.h: New file.
25693 * misc/sys/param.h: New file.
25694 * include/sys/param.h: New file.
25695 * misc/Makefile (headers): Add bits/param.h.
25696 * sysdeps/generic/sys/param.h: File removed.
25697 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25698 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25699 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25700 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25701
b7c08a66
RM
25702 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25703 last change.
25704
b2e1c562
RM
25705 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25706 [_IO_MTSAFE_IO].
25707 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25708 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25709 New macros.
25710
c75ccd4c
RM
25711 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25712 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25713 rather than -D_IO_MTSAFE_IO conditionally.
25714 * stdio-common/Makefile (CPPFLAGS): Likewise.
25715 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25716 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25717 Use $(libio-mtsafe).
25718 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25719 of -D_IO_MTSAFE_IO.
25720 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25721 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25722 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25723 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25724 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25725 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25726 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25727 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25728 (CFLAGS-fread_u_chk.c): Likewise.
25729 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25730 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25731 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25732 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25733 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25734 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25735 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25736 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25737 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25738
25739 * libio/Makefile: Test [$(libc-reentrant) = yes]
25740 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25741
25742 * Makeconfig
25743 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25744 * sysdeps/pthread/configure: File removed.
25745 * sysdeps/pthread/Makeconfig: New file.
25746 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25747 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25748
d9195db8
GB
257492012-08-16 Gary Benson <gbenson@redhat.com>
25750
25751 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25752 unmapping the first object in a namespace.
25753
86466cd9
RM
257542012-08-16 Roland McGrath <roland@hack.frob.com>
25755
25756 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25757 (__internal_setnetgrent): ... this. Add internal_function to
25758 definition. Add libc_hidden_def.
25759 (setnetgrent): Update caller.
25760 (internal_endnetgrent): Renamed to ...
25761 (__internal_endnetgrent): ... this. Add internal_function to
25762 definition. Add libc_hidden_def.
25763 (endnetgrent): Update caller.
25764 (internal_getnetgrent_r): Renamed to ...
25765 (__internal_getnetgrent_r): ... this. Add internal_function to
25766 definition. Add libc_hidden_def.
25767 (__getnetgrent_r): Update caller.
25768 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25769
c3c8283c
JM
257702012-08-16 Joseph Myers <joseph@codesourcery.com>
25771
25772 * stdlib/longlong.h: Update from GCC.
25773
db1ee0a8
RM
257742012-08-16 Roland McGrath <roland@hack.frob.com>
25775
25776 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25777 on _QL, which is set by umul_ppmm but never used.
25778 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25779 variables, which are set by GMP macros but never used.
25780 * stdio-common/_itowa.c (_itowa): Likewise.
25781 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25782 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25783
30f69637
CD
257842012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25785
25786 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25787 struct La_sh_regs is not constant.
25788 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25789 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25790 and struct La_sparc64_regs are not constant.
25791
93a78ac4
JM
257922012-08-16 Joseph Myers <joseph@codesourcery.com>
25793
25794 * sysdeps/unix/sysv/linux/kernel-features.h
25795 (__ASSUME_POSIX_TIMERS): Remove.
25796 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25797 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25798 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25799 Make code unconditional.
25800 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25801 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25802 Make code unconditional.
25803 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25804 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25805 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25806 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25807 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25808 Make code unconditional.
25809 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25810 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25811 (__libc_missing_posix_timers): Remove.
25812
dd924cd7
RM
258132012-08-15 Roland McGrath <roland@hack.frob.com>
25814
4b4f2771
RM
25815 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25816 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25817
601c888b
RM
25818 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25819
176790a7
RM
25820 * elf/dl-sym.c: Include <stdlib.h>.
25821
329bc018
RM
25822 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25823 constants, which avoids warnings in 32-bit builds.
25824
e04e272d
RM
25825 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25826 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25827
952bf94a
RM
25828 * misc/lseek.c: File moved to ...
25829 * io/lseek.c: ... here.
25830
7c99b50a
RM
25831 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25832
dd924cd7
RM
25833 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25834 shifting LEN more than 31 bits at once.
25835
b3f479a8
LD
258362012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25837
25838 [BZ #14195]
8c4ae0d4
RM
25839 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25840 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25841 * string/test-strncasecmp.c (check1): Renamed to...
25842 (bz12205): ...this.
25843 (bz14195): Add new testcase for two empty input strings and N > 0.
25844 (test_main): Call new testcase, adapt for renamed function.
25845
9c55864e
AJ
258462012-08-15 Andreas Jaeger <aj@suse.de>
25847
25848 [BZ #14090]
25849 * crypt/md5test2.c: New test, based on test supplied by Serge
25850 Belyshev <belyshev@depni.sinp.msu.ru>.
25851 * crypt/Makefile (xtests): Add md5test-giant..
25852 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25853
02dcb6c5
PE
258542012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25855
25856 [BZ #14090]
25857 * crypt/md5.c (md5_process_block): Don't assume the buffer
25858 length is less than 2**32.
25859 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25860 length is less than 2**64.
25861
a3f95dcc
RM
258622012-08-15 Roland McGrath <roland@hack.frob.com>
25863
be75d758
RM
25864 * string/str-two-way.h: Include <sys/param.h>.
25865 (MAX): Macro removed.
25866
7312ca90
RM
25867 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25868 Move #define and #undef of memmove to just before and after
25869 including <string.h>.
25870
9a0a5486
RM
25871 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25872 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25873 and after including <string.h>. Move declarations of
25874 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25875 to before #include "string/memmove.c".
25876
67cc348d
RM
25877 * include/dirent.h: Declare __getdirentries.
25878
a3f95dcc
RM
25879 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25880 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25881
ca98e171
MF
258822012-08-14 Mike Frysinger <vapier@gentoo.org>
25883
25884 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25885 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25886 * sysdeps/i386/configure: Regenerated.
25887 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25888 STABS_CURRENT_FILE, and STABS_FUN.
25889 (END): Remove call to STABS_FUN_END.
25890 (STABS_CURRENT_FILE1): Delete.
25891 (STABS_CURRENT_FILE): Likewise.
25892 (STABS_FUN): Likewise.
25893 (STABS_FUN_END): Likewise.
25894 (STABS_FUN2): Likewise.
25895 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25896 * sysdeps/x86_64/configure: Regenerated.
25897
5908bf46
RM
258982012-08-14 Roland McGrath <roland@hack.frob.com>
25899
25900 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25901 * elf/dl-lookup.c: Likewise.
5908bf46 25902
f2c05b9e
JM
259032012-08-14 Joseph Myers <joseph@codesourcery.com>
25904
25905 * sysdeps/unix/sysv/linux/kernel-features.h
25906 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25907 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25908 unconditionally.
25909 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25910 unconditionally.
25911 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25912 condition on __ASSUME_CLONE_THREAD_FLAGS.
25913
e11f5155
AJ
259142012-08-14 Andreas Jaeger <aj@suse.de>
25915
25916 * sysdeps/i386/fpu/libm-test-ulps: Update.
25917
51a9ba86
MK
259182012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25919
2fdd4f78
AJ
25920 * include/atomic.h (atomic_exchange_and_add): Split into ...
25921 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25922 New atomic macros.
51a9ba86 25923
ba6cba9e
MT
259242012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25925
25926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25927
42443a47
JL
259282012-08-13 Jeff Law <law@redhat.com>
25929
25930 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25931 null byte in the output string.
25932
121dce05
JM
259332012-08-10 Joseph Myers <joseph@codesourcery.com>
25934
25935 * sysdeps/unix/sysv/linux/kernel-features.h
25936 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25937 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25938 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25939 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25940 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25941 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25942 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25943
bf51f568
JL
259442012-08-09 Jeff Law <law@redhat.com>
25945
25946 [BZ #13939]
25947 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25948 When avoid_arena is set, don't retry in the that arena. Pick the
25949 next one, whatever it might be.
25950 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25951 (arena_lock): Pass in new parameter to arena_get2.
25952 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25953 arena_get2.
25954 (__libc_malloc): Unify retrying after main arena failure with
25955 __libc_memalign version.
25956 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25957
f85fa270
L
259582012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25959
25960 [BZ #14166]
25961 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25962 to __redirect_strstr.
25963 (__strstr_sse42): Use typeof __redirect_strstr.
25964 (__strstr_ia32): Likewise.
25965 (__libc_strstr): New prototype.
25966 (strstr): Renamed to ...
25967 (__libc_strstr): This.
25968 (strstr): New strong alias of __libc_strstr.
25969 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25970 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25971 __redirect_time.
25972 Include <time.h>.
25973 (__libc_time): New prototype.
25974 (time_ifunc): Replace time with __libc_time.
25975 (time): New strong alias and hidden definition of __libc_time.
25976 (__GI_time): Remove strong alias.
25977 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25978 Include <stddef.h>.
25979 (memmove): Redefined to __redirect_memmove.
25980 (__memmove_sse2): Use typeof __redirect_memmove.
25981 (__memmove_ssse3): Likewise.
25982 (__memmove_ssse3_back): Likewise.
25983 (__libc_memmove): New prototype.
25984 (memmove): Renamed to ...
25985 (__libc_memmove): This.
25986 (memmove): New strong alias of __libc_memmove.
25987
33b4a91e
MS
259882012-08-08 Mark Salter <msalter@redhat.com>
25989
25990 * elf/elf.h
25991 (R_MN10300_TLS_GD): Define.
25992 (R_MN10300_TLS_LD): Likewise.
25993 (R_MN10300_TLS_LDO): Likewise.
25994 (R_MN10300_TLS_GOTIE): Likewise.
25995 (R_MN10300_TLS_IE): Likewise.
25996 (R_MN10300_TLS_LE): Likewise.
25997 (R_MN10300_TLS_DTPMOD): Likewise.
25998 (R_MN10300_TLS_DTPOFF): Likewise.
25999 (R_MN10300_TLS_TPOFF): Likewise.
26000 (R_MN10300_SYM_DIFF): Likewise.
26001 (R_MN10300_ALIGN): Likewise.
26002 (R_MN10300_NUM): Update.
26003
b36137f1
JM
260042012-08-08 Joseph Myers <joseph@codesourcery.com>
26005
26006 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26007 Remove.
26008
cdd915fd
RM
260092012-08-08 Roland McGrath <roland@hack.frob.com>
26010
a2433aac
RM
26011 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26012
cdd915fd
RM
26013 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26014 sysdeps/unix -> sysdeps/posix move.
26015 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26016
bf9b740a
AM
260172012-08-07 Allan McRae <allan@archlinux.org>
26018
26019 [BZ #14303]
26020 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26021 (SUNOS_CPP): Likewise.
26022 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26023 not found.
26024 (open_input): Call CPP using execvp.
26025
93df14ee
JM
260262012-08-07 Joseph Myers <joseph@codesourcery.com>
26027
26028 * sysdeps/unix/sysv/linux/kernel-features.h
26029 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26030 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26031 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26032 (__ASSUME_WAITID_SYSCALL): Likewise.
26033 * sysdeps/unix/sysv/linux/dl-execstack.c
26034 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26035 code unconditional.
26036 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26037 conditional code.
26038 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26039 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26040 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26041 code.
26042 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26043 unconditional.
26044 [__ASSUME_WAITID_SYSCALL]: Likewise.
26045 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26046
d34689de
RM
260472012-08-07 Roland McGrath <roland@hack.frob.com>
26048
a281decc
RM
26049 * sysdeps/unix/closedir.c: Renamed to ...
26050 * sysdeps/posix/closedir.c: ... here.
26051 * sysdeps/unix/dirfd.c: Renamed to ...
26052 * sysdeps/posix/dirfd.c: ... here.
26053 * sysdeps/unix/dirstream.h: Renamed to ...
26054 * sysdeps/posix/dirstream.h: ... here.
26055 * sysdeps/unix/fdopendir.c: Renamed to ...
26056 * sysdeps/posix/fdopendir.c: ... here.
26057 * sysdeps/unix/opendir.c: Renamed to ...
26058 * sysdeps/posix/opendir.c: ... here.
26059 * sysdeps/unix/readdir.c: Renamed to ...
26060 * sysdeps/posix/readdir.c: ... here.
26061 * sysdeps/unix/readdir_r.c: Renamed to ...
26062 * sysdeps/posix/readdir_r.c: ... here.
26063 * sysdeps/unix/rewinddir.c: Renamed to ...
26064 * sysdeps/posix/rewinddir.c: ... here.
26065 * sysdeps/unix/seekdir.c: Renamed to ...
26066 * sysdeps/posix/seekdir.c: ... here.
26067 * sysdeps/unix/telldir.c: Renamed to ...
26068 * sysdeps/posix/telldir.c: ... here.
26069 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26070 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26071 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26072 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26073
22895b47
RM
26074 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26075 * bits/fcntl.h: ... here.
26076
707a53b6
RM
26077 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26078 not 0.
26079 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26080 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26081 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26082 (struct flock): Move l_start, l_len to the beginning.
26083 Use __pid_t for l_pid.
26084 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26085 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26086 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26087 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26088 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26089 [__USE_LARGEFILE64] (struct flock64): New type.
26090 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26091
f0bd3e25
RM
26092 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26093 * bits/dirent.h: ... here.
26094
d34689de
RM
26095 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26096 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26097
6dad2c06
JM
260982012-08-07 Joseph Myers <joseph@codesourcery.com>
26099
26100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26101 Change from 2.6.0 to 2.6.16.
26102 * sysdeps/unix/sysv/linux/configure: Regenerated.
26103 * sysdeps/unix/sysv/linux/kernel-features.h
26104 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26105 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26106 version.
26107 (__ASSUME_UTIMES): Likewise.
26108 (__ASSUME_CLONE_STOPPED): Remove.
26109 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26110 architectures, not kernel version.
26111 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26112 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26113 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26114 (__ASSUME_WAITID_SYSCALL): Likewise.
26115 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26116 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26117 * README: State 2.6.16 as minimum Linux kernel version. Do not
26118 refer to older versions.
26119
03af9520
RM
261202012-08-06 Roland McGrath <roland@hack.frob.com>
26121
8e49df1d
RM
26122 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26123 Define alphasort64 as an alias.
26124 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26125 Define versionsort64 as an alias.
26126 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26127 Define scandir64 as an alias.
26128 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26129 Define scandirat64 as an alias.
26130 * dirent/alphasort64.c (alphasort64):
26131 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26132 * dirent/versionsort64.c: Likewise.
26133 * dirent/scandir64.c: Likewise.
26134 * dirent/scandirat64.c: Likewise.
26135 * sysdeps/wordsize-64/alphasort.c: File removed.
26136 * sysdeps/wordsize-64/alphasort64.c: File removed.
26137 * sysdeps/wordsize-64/scandir.c: File removed.
26138 * sysdeps/wordsize-64/scandir64.c: File removed.
26139 * sysdeps/wordsize-64/scandirat.c: File removed.
26140 * sysdeps/wordsize-64/scandirat64.c: File removed.
26141 * sysdeps/wordsize-64/versionsort.c: File removed.
26142 * sysdeps/wordsize-64/versionsort64.c: File removed.
26143 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26144 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26145 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26146 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26147 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26148 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26149 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26150 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26151
26152 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26154 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26156 [defined __arch64__ || defined __sparcv9]
26157 (__INO_T_MATCHES_INO64_T): New macro.
26158 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26159 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26160 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26161 * sysdeps/unix/sysv/linux/bits/dirent.h
26162 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26163 (_DIRENT_MATCHES_DIRENT64): New macro.
26164
03af9520
RM
26165 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26166 Define lockf64 as an alias.
26167 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26168 Define fseeko64 as an alias.
26169 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26170 Define ftello64 as an alias.
26171 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26172 Define _IO_fgetpos64 and fgetpos64 as aliases.
26173 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26174 Define _IO_fsetpos64 and fsetpos64 as aliases.
26175 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26176 Conditionalize body on this.
26177 * libio/fseeko64.c: Likewise.
26178 * libio/ftello64.c: Likewise.
26179 * libio/iofgetpos64.c: Likewise.
26180 * libio/iofsetpos64.c: Likewise.
26181 * sysdeps/wordsize-64/lockf.c: File removed.
26182 * sysdeps/wordsize-64/lockf64.c: File removed.
26183 * sysdeps/wordsize-64/fseeko.c: File removed.
26184 * sysdeps/wordsize-64/fseeko64.c: File removed.
26185 * sysdeps/wordsize-64/ftello.c: File removed.
26186 * sysdeps/wordsize-64/ftello64.c: File removed.
26187 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26188 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26189 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26190 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26191 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26192 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26193 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26194 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26195 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26196 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26197 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26198 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26199 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26200 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26201
26202 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26204 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26206 [defined __arch64__ || defined __sparcv9]
26207 (__OFF_T_MATCHES_OFF64_T): New macro.
26208 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26209 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26210 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26211 (__OFF_T_MATCHES_OFF64_T): New macro.
26212
c5757acd
L
262132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26214
26215 * stdlib/secure-getenv.c (__secure_getenv): Replace
26216 GLIBC_2_16 with GLIBC_2_17.
26217
3a31811e
L
262182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26219
26220 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26221 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26222
faa2bccb
DM
262232012-08-03 David S. Miller <davem@davemloft.net>
26224
26225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26226
85fe1997
JM
262272012-08-03 Joseph Myers <joseph@codesourcery.com>
26228
26229 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26230 Remove.
26231 (__ASSUME_CORRECT_SI_PID): Likewise.
26232 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26233 (__ASSUME_TMPFS_NAME): Likewise.
26234 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26235 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26236 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26237 (HAVE_AUX_SECURE): Make definition unconditional.
26238 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26239 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26240
4f75b7a0
RM
262412012-08-03 Roland McGrath <roland@hack.frob.com>
26242
26243 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26244 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26245 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26246 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26247 __eloop_threshold instead of SYMLOOP_MAX.
26248
26249 * sysdeps/generic/eloop-threshold.h: New file.
26250 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26251 of MAXSYMLINKS.
26252 * elf/chroot_canon.c (chroot_canon): Likewise.
26253
7aab07e4
JM
262542012-08-03 Joseph Myers <joseph@codesourcery.com>
26255
26256 [BZ #13717]
26257 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26258 Change to 2.6.0 everywhere.
26259 * sysdeps/unix/sysv/linux/configure: Regenerated.
26260 * sysdeps/unix/sysv/linux/kernel-features.h
26261 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26262 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26263 kernel versions.
26264 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26265 (__ASSUME_FUTEX_REQUEUE): Remove.
26266 (__ASSUME_STATFS64): Define unconditionally.
26267 (__ASSUME_AT_SECURE): Likewise.
26268 (__ASSUME_CORRECT_SI_PID): Likewise.
26269 (__ASSUME_TGKILL): Define without depending on kernel version for
26270 i386.
26271 (__ASSUME_UTIMES): Likewise.
26272 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26273 kernel version.
26274 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26275 (__ASSUME_TMPFS_NAME): Likewise.
26276 * README: Update reference to Linux kernel versions.
26277
b67e9372
MP
262782012-08-02 Marek Polacek <polacek@redhat.com>
26279
1f529f7d 26280 [BZ# 14150]
b67e9372
MP
26281 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26282 libc_cv_asm_type_prefix with %.
26283 * configure: Regenerated.
d2441631
RM
26284 * include/libc-symbols.h: Remove comment about
26285 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26286 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26287 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26288 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26289 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26290 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26291 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26292 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26293 * elf/tst-unique2mod1.c: Likewise.
26294 * elf/tst-unique1mod2.c: Likewise.
26295 * elf/tst-unique1mod1.c: Likewise.
26296 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26297 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26298 Replace ASM_TYPE_DIRECTIVE with .type.
26299 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26300 * sysdeps/i386/sysdep.h: Likewise.
26301 * sysdeps/x86_64/sysdep.h: Likewise.
26302 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26304 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 26305 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
26306 * sysdeps/powerpc/powerpc32/sysdep.h:
26307 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
26308 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26309 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26310 * sysdeps/i386/fpu/e_powf.S: Likewise.
26311 * sysdeps/i386/fpu/e_expl.S: Likewise.
26312 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26313 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26314 * sysdeps/i386/fpu/e_pow.S: Likewise.
26315 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26316 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26317 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26318 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26319 * sysdeps/i386/fpu/e_log2.S: Likewise.
26320 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26321 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26322 * sysdeps/i386/fpu/e_powl.S: Likewise.
26323 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26324 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26325 * sysdeps/i386/fpu/e_logl.S: Likewise.
26326 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26327 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26328 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26329 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26330 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26331 * sysdeps/i386/fpu/e_log.S: Likewise.
26332 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26333 * sysdeps/i386/fpu/e_logf.S: Likewise.
26334 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26335 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26336 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26337 * sysdeps/i386/fpu/e_log10.S: Likewise.
26338 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26339 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26340 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26341 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26342 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26343 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26344 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26345 * sysdeps/i386/i686/strtok.S: Likewise.
26346 * sysdeps/i386/i386-mcount.S: Likewise.
26347 * sysdeps/i386/strtok.S: Likewise.
26348 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26349 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26350 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26351 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26352 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26353 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26354 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26355 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26356 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26357 * sysdeps/x86_64/_mcount.S: Likewise.
26358 * sysdeps/x86_64/strtok.S: Likewise.
26359 * sysdeps/sh/_mcount.S: Likewise.
26360
2747bf9a
RM
263612012-08-01 Roland McGrath <roland@hack.frob.com>
26362
26363 * libio/iofopen.c: Include <fcntl.h>.
26364 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26365 (_IO_fopen64, fopen64): Define as aliases.
26366 * libio/iofopen64.c: Include <fcntl.h>.
26367 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26368 Conditionalize body on this.
26369 * sysdeps/wordsize-64/iofopen.c: File removed.
26370 * sysdeps/wordsize-64/iofopen64.c: File removed.
26371
3fb791b8
MP
263722012-08-01 Marek Polacek <polacek@redhat.com>
26373
26374 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26375 Use dlfcn directly instead of a variable.
26376 (binfmt-subdir): Do not define.
26377 (dlfcn): Likewise.
26378
a9f1039f
JM
263792012-08-01 Joseph Myers <joseph@codesourcery.com>
26380
23bddc06
JM
26381 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26382 Remove all definitions.
26383 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26384 <kernel-features.h>.
26385 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26386 (miss_F_GETOWN_EX): Remove all definitions.
26387 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26388 macro definition.
26389 [!__ASSUME_FCNTL64]: Remove conditional code.
26390 [__ASSUME_FCNTL64]: Make code unconditional.
26391 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26392 <kernel-features.h>.
26393 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26394 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26395 (lockf64) [__NR_fcntl64]: Make code unconditional.
26396 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26397
a9f1039f
JM
26398 * sysdeps/unix/sysv/linux/kernel-features.h
26399 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26400 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26401 Make code unconditional.
26402 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26403 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26405 [__NR_vfork]: Make code unconditional.
26406 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26407 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26409 [__NR_vfork]: Make code unconditional.
26410 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26411 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26412
09c0ee5f
RM
264132012-08-01 Roland McGrath <roland@hack.frob.com>
26414
48aec5b9
RM
26415 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26416 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26417
cd97c966
RM
26418 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26419 Define mkstemp64 as an alias.
3f55550c
RM
26420 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26421 Define mkstemps64 as an alias.
cd97c966
RM
26422 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26423 Define mkostemp64 as an alias.
b8625cfc
RM
26424 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26425 Define mkostemps64 as an alias.
cd97c966
RM
26426 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26427 Conditionalize body on this.
26428 * misc/mkostemp64.c: Likewise.
b8625cfc 26429 * misc/mkostemps64.c: Likewise.
3f55550c 26430 * misc/mkstemps64.c: Likewise.
cd97c966
RM
26431 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26432 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26433 * sysdeps/wordsize-64/mkostemp.c: File removed.
26434 * sysdeps/wordsize-64/mkstemp.c: File removed.
26435 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26436 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26437 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26438 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26439
09c0ee5f
RM
26440 [BZ #14138]
26441 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26442 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26443 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26444 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26445
26446 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26447 compat_symbol macros from <shlib-compat.h> rather than the underlying
26448 default_symbol_version and symbol_version macros, so that DEFAULT
26449 lines in shlib-versions are respected.
26450 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26451
7e66ee51
FW
264522012-08-01 Florian Weimer <fweimer@redhat.com>
26453
26454 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26455 Declare with warn_unused_result.
26456 (setgid, setregid, setegid, setresgid): Likewise.
26457 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26458 Likewise.
26459 * WUR-REPORT: Remove set*id functions.
26460
d2a54255
PT
264612012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26462
26463 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26464
7ecdb005
RM
264652012-07-31 Roland McGrath <roland@hack.frob.com>
26466
b4180a5e 26467 [BZ #10191]
789bd351
RM
26468 * include/sys/socket.h (__libc_accept, __libc_accept4):
26469 Add attribute_hidden.
26470 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26471
40ce302d
RM
26472 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26473 use of PTR_MANGLE.
26474 * inet/getnetgrent_r.c (setup): Likewise.
26475
7ecdb005
RM
26476 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26477
e2eabb2c
DM
264782012-07-31 David S. Miller <davem@davemloft.net>
26479
26480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26481
d0419dbf
JM
264822012-07-31 Joseph Myers <joseph@codesourcery.com>
26483
26484 [BZ #13629]
26485 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26486 value between 1.0 and 2.0 and smaller part has absolute value less
26487 than 1.0.
26488 * math/s_clog10.c (__clog10): Likewise.
26489 * math/s_clog10f.c (__clog10f): Likewise.
26490 * math/s_clog10l.c (__clog10l): Likewise.
26491 * math/s_clogf.c (__clogf): Likewise.
26492 * math/s_clogl.c (__clogl): Likewise.
26493 * math/libm-test.inc (clog_test): Add more tests.
26494 (clog10_test): Likewise.
26495 * sysdeps/i386/fpu/libm-test-ulps: Update.
26496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26497
2bc13872
FW
264982012-07-31 Florian Weimer <fweimer@redhat.com>
26499
26500 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26501 Exit with zero in case no suitable GID is found, and write a
26502 message to standard error.
26503
bea9b193
RM
265042012-07-30 Roland McGrath <roland@hack.frob.com>
26505
26506 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26507 rather than to 1.
26508 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26509 (MAXPATHLEN): Removed.
26510 (NOGROUP, NODEV): New macros.
26511 (setbit, clrbit, isset, isclr): New macros.
26512 (howmany, roundup, powerof2): New macros.
26513 (DEV_BSIZE): New macro.
26514
26515 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26516 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26517
26518 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26519 definition on [!__NO_LONG_DOUBLE_MATH].
26520
26521 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26522 PTR_MANGLE and PTR_DEMANGLE.
26523
26524 * socket/accept4.c (accept4): Rename to __libc_accept4.
26525 Define accept4 as a weak alias.
26526
26527 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26528 on [_DIRENT_HAVE_D_TYPE].
26529 * io/ftw.c (ftw_dir): Likewise.
26530
26531 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26532
26533 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26534
26535 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26536 Use the BSD numbers rather than the arbitrary ones we had.
26537 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26538 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26539 (SIGXCPU, SIGXFSZ): New macros.
26540 (_NSIG): Now 32.
26541
26542 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26543 initializer on [_LIBC_REENTRANT].
26544
26545 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26546 definitions inside [_POSIX_MAPPED_FILES].
26547
26548 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26549
26550 * dirent/opendir.c: Include <fcntl.h>.
26551
26552 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26553 (__libc_getspecific): Likewise.
26554 (__libc_key_create): Likewise.
26555
26556 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26557 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26558 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26559 (tmpfile64): Define as alias.
26560 * sysdeps/wordsize-64/tmpfile.c: File removed.
26561 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26562 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26563 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26564
26565 * stdio-common/vfscanf.c: Include <stdbool.h>.
26566 * nss/makedb.c: Likewise.
26567 * stdio-common/_i18n_number.h: Likewise.
26568 * argp/argp-help.c: Likewise.
26569 * posix/wordexp.c: Likewise.
26570 * sysdeps/posix/spawni.c: Likewise.
26571 * nss/nss_files/files-initgroups.c: Likewise.
26572 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26573 * nss/nss_files/files-initgroups.c: Likewise.
26574 * nss/nss_db/db-netgrp.c: Likewise.
26575 * nss/nss_db/db-initgroups.c: Likewise.
26576 * io/fchmodat.c: Include <sys/stat.h>.
26577
26578 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26579 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26580
26581 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26582 [HAVE_MMAP].
26583
26584 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26585 Add multiple inclusion protection.
26586
e5abc686
DM
265872012-07-27 David S. Miller <davem@davemloft.net>
26588
26589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26590
815e6fa3
GB
265912012-07-27 Gary Benson <gbenson@redhat.com>
26592
26593 [BZ #14298]
26594 * elf/rtld.c: Include <stap-probe.h>.
26595 (dl_main): Added static probes "init_start" and "init_complete".
26596 * elf/dl-load.c: Include <stap-probe.h>.
26597 (lose): Take new parameter "nsid".
26598 Added static probe "map_failed".
26599 (_dl_map_object_from_fd): Pass namespace id to lose.
26600 Added static probe "map_start".
26601 (open_verify): Pass namespace id to lose.
26602 * elf/dl-open.c: Include <stap-probe.h>.
26603 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26604 and "reloc_complete".
26605 * elf/dl-close.c: Include <stap-probe.h>.
26606 (_dl_close_worker): Added static probes "unmap_start" and
26607 "unmap_complete".
26608 * elf/rtld-debugger-interface.txt: New file documenting the above.
26609
9f98c16c
RM
266102012-07-26 Roland McGrath <roland@hack.frob.com>
26611
26612 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26613 rather than a string variable.
26614 * sunrpc/rpc_main.c (h_output): Likewise.
26615 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26616
f3c22df3
PT
266172012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26618
26619 * inet/check_native.c: New file.
26620
3129cfc6
JM
266212012-07-26 Joseph Myers <joseph@codesourcery.com>
26622
da865e95
JM
26623 [BZ #13629]
26624 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26625 if larger part has absolute value 1.0.
26626 * math/s_clog10.c (__clog10): Likewise.
26627 * math/s_clog10f.c (__clog10f): Likewise.
26628 * math/s_clog10l.c (__clog10l): Likewise.
26629 * math/s_clogf.c (__clogf): Likewise.
26630 * math/s_clogl.c (__clogl): Likewise.
26631 * math/libm-test.inc (clog_test): Add more tests.
26632 (clog10_test): Likewise.
26633 * sysdeps/i386/fpu/libm-test-ulps: Update.
26634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26635
3129cfc6
JM
26636 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26637 (pltexit): Likewise.
26638 (La_regs): Likewise.
26639 (La_retval): Likewise.
26640 (int_retval): Likewise.
26641 Update #error for removed macros to refer only to definitions in
26642 tst-audit.h.
26643 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26644 macro.
26645 (pltexit): Likewise.
26646 (La_regs): Likewise.
26647 (La_retval): Likewise.
26648 (int_retval): Likewise.
26649 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26650 macro.
26651 (pltexit): Likewise.
26652 (La_regs): Likewise.
26653 (La_retval): Likewise.
26654 (int_retval): Likewise.
26655 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26656 macro.
26657 (pltexit): Likewise.
26658 (La_regs): Likewise.
26659 (La_retval): Likewise.
26660 (int_retval): Likewise.
26661 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26662 macro.
26663 (pltexit): Likewise.
26664 (La_regs): Likewise.
26665 (La_retval): Likewise.
26666 (int_retval): Likewise.
26667 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26668 macro.
26669 (pltexit): Likewise.
26670 (La_regs): Likewise.
26671 (La_retval): Likewise.
26672 (int_retval): Likewise.
26673 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26674 macro.
26675 (pltexit): Likewise.
26676 (La_regs): Likewise.
26677 (La_retval): Likewise.
26678 (int_retval): Likewise.
26679 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26680 macro definitions in tst-audit.h.
26681 * sysdeps/i386/tst-audit.h: New file.
26682 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26683 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26684 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26685 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26686 * sysdeps/sh/tst-audit.h: Likewise.
26687 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26688 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26689 * sysdeps/x86_64/tst-audit.h: Likewise.
26690
bfc07087
AJ
266912012-07-26 Andreas Jaeger <aj@suse.de>
26692
b1b2aaf8
AJ
26693 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26694 ptrace.
26695
26696 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26697 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26698 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26699 PTRACE_O_MASK.
26700 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26701 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26702 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26703
bfc07087
AJ
26704 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26705 value.
26706
26707 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26708 _sigsys.
26709 (si_call_addr, si_syscall, si_arch): Define new macro.
26710 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26711 _sigsys.
26712 (si_call_addr, si_syscall, si_arch): Define new marcro.
26713 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26714 _sigsys.
26715 (si_call_addr, si_syscall, si_arch): Define new macro.
26716 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26717 _sigsys.
26718 (si_call_addr, si_syscall, si_arch): Define new macro.
26719
89b4b02f
JM
267202012-07-25 Joseph Myers <joseph@codesourcery.com>
26721
26722 [BZ #13717]
26723 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26724 Change to 2.4.21 where previously 2.4.1.
26725 * sysdeps/unix/sysv/linux/configure: Regenerated.
26726 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26727 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26728 Linux kernel version.
26729 (__ASSUME_STD_AUXV): Remove.
26730 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26731 kernel version.
26732 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26733 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26734 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26735 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26736 (__ASSUME_NETLINK_SUPPORT): Likewise.
26737 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26738 (__no_netlink_support): Remove conditional definition.
26739 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26740 Remove.
26741 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26742 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26743 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26744 (if_nameindex_ioctl): Remove.
26745 (if_nameindex_netlink): Do not handle __no_netlink_support.
26746 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26747 code.
26748 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26749 Remove conditional code.
26750 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26751 code.
26752 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26753 unconditional.
26754 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26755 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26756 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26757 Remove.
26758 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26759 [!__ASSUME_STD_AUXV]: Remove conditional code.
26760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26761 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26762 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26764 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26765 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26766 code.
26767 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26769 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26770 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26771 conditional code.
26772 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26774 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26775 code.
26776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26777 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26778 conditional code.
26779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26780 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26781 code unconditional.
26782 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26783 conditional code.
26784 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26785 unconditional.
26786 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26787 conditional code.
26788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26789 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26790 unconditional.
26791 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26792 conditional code.
26793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26794 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26795 code unconditional.
26796 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26797 conditional code.
26798 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26799 unconditional.
26800 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26801 conditional code.
26802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26803 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26804 code unconditional.
26805 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26806 conditional code.
26807 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26808 unconditional.
26809 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26810 conditional code.
26811
842a39cd
AS
268122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26813
26814 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26815 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26816 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26817 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26818 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26819 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26820 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26821 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26822 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26823 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26824 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26825 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26826 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26827 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26828 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26829 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26830 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26831 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26832 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26834 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26835 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26836 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26837
84b3fd84
FW
268382012-07-25 Florian Weimer <fweimer@redhat.com>
26839
26840 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26841 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26842 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26843 Introduce __libc_secure_getenv.
0c7936d5
FW
26844 * stdlib/Versions (2.17): Add secure_getenv
26845 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26846 * stdlib/secure-getenv.c: Rename __secure_getenv to
26847 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26848 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26849 * stdlib/tst-secure-getenv.c: New.
26850 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26851 * manual/startup.texi (Environment Access): Document
26852 secure_getenv.
84b3fd84
FW
26853 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26854 __libc_secure_getenv.
26855 * inet/ruserpass.c (ruserpass): Likewise.
26856 * malloc/mtrace.c (mtrace): Likewise.
26857 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26858 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26859 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26860 * sysdeps/posix/tempname.c: Likewise. Evaluate
26861 HAVE_SECURE_GETENV.
26862 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26863 __secure_getenv to __libc_secure_getenv.
84b3fd84 26864 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26866 Likewise.
26867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26868 Likewise.
26869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26871 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26876
56e49b71
JM
268772012-07-25 Joseph Myers <joseph@codesourcery.com>
26878
26879 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26880 (struct La_i86_retval): Likewise.
26881 (struct La_x86_64_regs): Likewise.
26882 (struct La_x86_64_retval): Likewise.
26883 (struct La_x32_regs): Likewise.
26884 (struct La_x32_retval): Likewise.
26885 (struct La_ppc32_regs): Likewise.
26886 (struct La_ppc32_retval): Likewise.
26887 (struct La_ppc64_regs): Likewise.
26888 (struct La_ppc64_retval): Likewise.
26889 (struct La_sh_regs): Likewise.
26890 (struct La_sh_retval): Likewise.
26891 (struct La_s390_32_regs): Likewise.
26892 (struct La_s390_32_retval): Likewise.
26893 (struct La_s390_64_regs): Likewise.
26894 (struct La_s390_64_retval): Likewise.
26895 (struct La_sparc32_regs): Likewise.
26896 (struct La_sparc32_retval): Likewise.
26897 (struct La_sparc64_regs): Likewise.
26898 (struct La_sparc64_retval): Likewise.
26899 (struct audit_ifaces): Remove architecture-specific pltenter and
26900 pltexit members.
26901 * sysdeps/i386/ldsodefs.h: New file.
26902 * sysdeps/powerpc/ldsodefs.h: Likewise.
26903 * sysdeps/s390/ldsodefs.h: Likewise.
26904 * sysdeps/sh/ldsodefs.h: Likewise.
26905 * sysdeps/sparc/ldsodefs.h: Likewise.
26906 * sysdeps/x86_64/ldsodefs.h: Likewise.
26907
354691b7
MP
269082012-07-25 Marek Polacek <polacek@redhat.com>
26909
26910 [BZ #6808]
26911 * math/libm-test.inc (yn_test): Add another test.
26912 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26913 to ERANGE when the result is +-Inf.
26914 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26915 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26916 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26917 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26918
bf9e2071
JM
269192012-07-24 Joseph Myers <joseph@codesourcery.com>
26920
26921 * conform/data/time.h-data (NULL): Use macro-constant. Require
26922 equal to 0.
26923 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26924 clock_t.
26925 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26926
57633811
TS
269272012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26928
26929 * configure.in <sysdeps resolving>: Correct printing
26930 Implies_before.
26931 * configure: Regenerate.
26932
c23c33b0
TS
269332012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26934
26935 * math/w_ilogb.c: Include <limits.h>.
26936 * math/w_ilogbl.c: Likewise.
26937
b5982523
JM
269382012-07-20 Joseph Myers <joseph@codesourcery.com>
26939
26940 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26941 va_copy. Document allowing for unavailable va_copy only as
26942 pre-C99 compatibility.
26943 * manual/string.texi (Copying and Concatenation): Use va_copy
26944 instead of __va_copy in concat example.
26945
ac4ea442
PT
269462012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26947
26948 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26949 (__sendto): Use create_address_port. Initialize APORT and deallocate
26950 it if not null.
26951
f98eafbd
PT
26952 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26953 with O_NOLINK passed to __file_name_lookup.
26954
898c7aab
PT
26955 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26956 with O_NOLINK passed to __file_name_lookup.
26957
0ced335a
PT
26958 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26959 negative N or less than NGIDS.
26960
b3404dbd
PT
26961 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26962 type to string_t. Set ERANGE as errno and return it if NAME is not big
26963 enough. Use memcpy instead of strncpy.
26964
0f48659e
JM
269652012-07-20 Joseph Myers <joseph@codesourcery.com>
26966
26967 * elf/Makefile (check-data): Remove.
26968 (localplt.data): New vpath directive.
26969 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26970 instead of $(check-data).
26971 * scripts/data/localplt-generic.data: Move to ...
26972 * sysdeps/generic/localplt.data: ... here.
26973 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26974 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26975 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26977 ... here.
26978 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26980 ... here.
26981 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26983 ... here.
26984 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26986 ... here.
26987 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26989 ... here.
26990 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26992 ... here.
26993
d37cbdaa
AZ
269942012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26995
26996 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26997 PPC32 and PPC64 files.
26998 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26999 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27000
46f85fc2
AK
270012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27002
27003 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27004 __makecontext_ret to ...
27005 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27006 ... here and call exit if uc_link is NULL. New file.
27007 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27008 __makecontext_ret.S.
27009 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27010 __makecontext_ret to ...
27011 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27012 ... here and call exit if uc_link is NULL. New file.
27013 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27014 __makecontext_ret.S.
27015
08f43f9b
AK
270162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27017
27018 * elf/elf.h (R_390_IRELATIVE): New definition.
27019 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27020 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27021 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27022 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27023 (elf_machine_lazy_rel): Likewise.
27024 * sysdeps/s390/dl-irel.h: New file.
27025 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27026 * sysdeps/s390/s390-64/memset.S: New asm code.
27027 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27028 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27029 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27030 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27031 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27032 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27033 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27034 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27035 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27036 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27037 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27038 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27039 * sysdeps/s390/s390-32/memset.S: New asm code.
27040 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27041
3b05db33
MP
270422012-07-17 Marek Polacek <polacek@redhat.com>
27043
27044 [BZ #14349]
27045 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27046 * sysdeps/s390/s390-64/configure.in: Likewise.
27047 * sysdeps/sparc/configure.in: Likewise.
27048 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27049 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27050 * sysdeps/i386/configure.in: Likewise.
27051 * sysdeps/x86_64/configure.in: Likewise.
27052 * sysdeps/sh/configure.in: Likewise.
27053 * sysdeps/s390/s390-32/configure: Regenerated.
27054 * sysdeps/s390/s390-64/configure: Likewise.
27055 * sysdeps/x86_64/configure: Likewise.
27056 * sysdeps/sh/configure: Likewise.
27057 * sysdeps/powerpc/powerpc64/configure: Likewise.
27058 * sysdeps/powerpc/powerpc32/configure: Likewise.
27059 * sysdeps/sparc/configure: Likwise.
27060 * sysdeps/i386/configure: Likewise.
27061
a66877c6
MP
27062 * elf/dl-open.c: Comment fixes.
27063
cfc82fd8
JM
270642012-07-17 Joseph Myers <joseph@codesourcery.com>
27065
bd29910a
JM
27066 * Makefile [CXX] (check-data): Remove.
27067 [CXX] (c++-types.data): New vpath directive.
27068 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27069 vpath. Do not allow for C++ type data being missing.
27070 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27071 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27072 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27073 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27074 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27075 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27076 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27078 ... here.
27079 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27081 ... here.
27082 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27084 ... here.
27085 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27087 ... here.
27088 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27090 ... here.
27091 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27093 ... here.
27094 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27096 ... here.
27097 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27099
cfc82fd8
JM
27100 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27101 definitions to architecture-specific files.
27102 (TLS_IE): Likewise.
27103 (TLS_LD): Likewise.
27104 (TLS_GD): Likewise.
27105 * sysdeps/i386/tls-macros.h: New file.
27106 * sysdeps/powerpc/tls-macros.h: Likewise.
27107 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27108 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27109 * sysdeps/sh/tls-macros.h: Likewise.
27110 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27111 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27112 * sysdeps/x86_64/tls-macros.h: Likewise.
27113
f7db3170
TS
271142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27115
07cbfc23
TS
27116 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27117 zero value for regular exit case.
27118
f7db3170
TS
27119 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27120 (__start_context): Preserve zero value for regular exit case.
27121
dc97c227
TS
271222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27123 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27124
27125 * manual/setjmp.texi (setcontext): Clarify normal process
27126 termination when uc_link is the null pointer.
27127 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27128 exit call.
27129
d0cd7d02
AS
271302012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27131
27132 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27133 preprocessor. Test for each exception mask separately.
27134
dd318934
AJ
271352012-07-16 Andreas Jaeger <aj@suse.de>
27136
27137 * po/ru.po: Update from translation team.
27138
8048311a
JM
271392012-07-15 Joseph Myers <joseph@codesourcery.com>
27140
27141 * conform/data/string.h-data (NULL): Use macro-constant. Require
27142 equal to 0.
27143 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27144 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27145 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27146 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27147 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27148
b637d46e
AJ
271492012-07-13 Andreas Jaeger <aj@suse.de>
27150
27151 * po/fr.po: Update from translation team.
27152
541428fe
MP
271532012-07-12 Marek Polacek <polacek@redhat.com>
27154
27155 [BZ #14173]
27156 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27157 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27158 loop condition.
27159
ec332e94
JM
271602012-07-12 Joseph Myers <joseph@codesourcery.com>
27161
27162 [BZ #13717]
27163 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27164 Change to 2.4.1 where previously 2.4.0.
27165 * sysdeps/unix/sysv/linux/configure: Regenerated.
27166 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27167 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27168 version.
27169 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27170 (__ASSUME_AT_CLKTCK): Remove.
27171 (__ASSUME_AT_PAGESIZE): Likewise.
27172 (__ASSUME_AT_XID): Likewise.
27173 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27174 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27175 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27176 unconditionally.
27177 (HAVE_AUX_PAGESIZE): Likewise.
27178 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27179 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27180 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27181
7b6e99be
JB
271822012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27183
27184 [BZ #14307]
27185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27186 the temporary buffer used to invoke __gethostbyname2_r,
27187 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27188 host_data / struct gaih_addrtuple.
27189 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27190 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27191 header file nss/nsswitch.h.
27192 * nss/nsswitch.h (global scope): Add definition of implementation
27193 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27194 resolv/nss_dns/dns-host.c).
27195
608404eb
AJ
271962012-07-11 Andreas Jaeger <aj@suse.de>
27197
27198 * po/fr.po: Update from translation team.
27199
71220aca
AJ
27200 * po/sv.po: Update from translation team
27201 * po/fr.po: Another update from translation team.
27202
28cfe843
AZ
272032012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27204
27205 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27206 for subnormals or multiply small sinh result by itself.
27207 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27209
6b90f981
DM
272102012-07-11 David S. Miller <davem@davemloft.net>
27211
27212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27213
c6825772
AS
272142012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27215
27216 [BZ #14347]
27217 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27218 (INTERNAL_MARK): Shift it here.
27219
7b8e0d49
MP
272202012-07-10 Marek Polacek <polacek@redhat.com>
27221
27222 [BZ #14151]
27223 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27224 libc_cv_asm_global_directive with .globl.
27225 * configure: Regenerated.
27226 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27227 with .globl.
27228 * sysdeps/i386/configure: Regenerated.
27229 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27230 with .globl.
27231 * sysdeps/x86_64/configure: Regenerated.
27232 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27233 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27234 * elf/tst-unique2mod2.c: Likewise.
27235 * elf/tst-unique2mod1.c: Likewise.
27236 * elf/tst-unique1mod2.c: Likewise.
27237 * elf/tst-unique1mod1.c: Likewise.
27238 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27239 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27240 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27241 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27242 * sysdeps/mach/sysdep.h: Likewise.
27243 * sysdeps/i386/sysdep.h: Likewise.
27244 * sysdeps/i386/i386-mcount.S: Likewise.
27245 * sysdeps/x86_64/_mcount.S: Likewise.
27246 * sysdeps/x86_64/sysdep.h: Likewise.
27247 * sysdeps/sh/_mcount.S: Likewise.
27248 * sysdeps/sh/sysdep.h: Likewise.
27249 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27250 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27251 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27252 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27253 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27254 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27255 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27256 * locale/localeinfo.h: Likewise.
27257 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27258 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27259
6c55cda3
RM
272602012-07-09 Roland McGrath <roland@hack.frob.com>
27261
27262 [BZ #14336]
27263 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27264 system".
27265 * manual/message.texi (The Uniforum approach): Likewise.
27266 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27267 (glibc iconv Implementation): Likewise.
27268
638a572e
JM
272692012-07-09 Joseph Myers <joseph@codesourcery.com>
27270
27271 [BZ #14337]
27272 * math/s_clog.c (__clog): Avoid scaling a value down where that
27273 could result in underflow.
27274 * math/s_clog10.c (__clog10): Likewise.
27275 * math/s_clog10f.c (__clog10f): Likewise.
27276 * math/s_clog10l.c (__clog10l): Likewise.
27277 * math/s_clogf.c (__clogf): Likewise.
27278 * math/s_clogl.c (__clogl): Likewise.
27279 * math/libm-test.inc (clog_test): Add more tests.
27280 (clog10_test): Likewise.
27281 * sysdeps/i386/fpu/libm-test-ulps: Update.
27282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27283
261f4859
AS
272842012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27285
0abaf3e4
AS
27286 [BZ #14283]
27287 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27288 by 7 not 8 to examine high bit of fractional part.
27289
261f4859
AS
27290 [BZ #14042]
27291 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27292 for call to __mcount_internal.
27293 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27294 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27295 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27296
f17ac40d
JM
272972012-07-06 Joseph Myers <joseph@codesourcery.com>
27298
9ad63c23
JM
27299 [BZ #14154]
27300 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27301 approximation for values within 0x1p-13f of an odd multiple of
27302 pi/4.
27303 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27304 exception. Add more tests.
27305 * sysdeps/i386/fpu/libm-test-ulps: Update.
27306
f17ac40d
JM
27307 [BZ #6778]
27308 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27309 inputs and return -1 for them. Do not check for +Inf in case not
27310 reachable for +Inf.
27311 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27312 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27313 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27314 and return -1 for them. Do not check for +Inf in case not
27315 reachable for +Inf.
27316 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27317 define.
27318 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27319 and return -1 for them. Do not check for +Inf in case not
27320 reachable for +Inf.
27321 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27322 spurious underflow.
27323 * sysdeps/i386/fpu/libm-test-ulps: Update.
27324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27325
fb21f89b
MF
273262012-07-06 Mike Frysinger <vapier@gentoo.org>
27327
27328 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27329
cdfe2c5e
JM
273302012-07-05 Joseph Myers <joseph@codesourcery.com>
27331
27332 [BZ #14157]
27333 [BZ #14331]
27334 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27335 could result in spurious underflow. Scale down values above
27336 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27337 * math/s_csqrtf.c (__csqrtf): Likewise.
27338 * math/s_csqrtl.c (__csqrtl): Likewise.
27339 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27340 spurious underflow.
27341 * sysdeps/i386/fpu/libm-test-ulps: Update.
27342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27343
70d35b67
AS
273442012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27345
704bc459
AS
27346 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27347 xopen-msg.sed.
27348 * catgets/xopen-msg.awk: New file.
27349 * catgets/xopen-msg.sed: Removed.
27350
70d35b67
AS
27351 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27352 po2text.sed.
27353 * intl/po2test.awk: New file.
27354 * intl/po2test.sed: Removed.
27355
ca61cf32
JM
273562012-07-04 Joseph Myers <joseph@codesourcery.com>
27357
27358 [BZ #14328]
27359 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27360 or multiply small sinh result by itself.
27361 * math/s_ctanf.c (__ctanf): Likewise.
27362 * math/s_ctanh.c (__ctanh): Likewise.
27363 * math/s_ctanhf.c (__ctanhf): Likewise.
27364 * math/s_ctanhl.c (__ctanhl): Likewise.
27365 * math/s_ctanl.c (__ctanl): Likewise.
27366 * math/libm-test.inc (ctan_test_tonearest): New function.
27367 (ctan_test_towardzero): Likewise.
27368 (ctan_test_downward): Likewise.
27369 (ctan_test_upward): Likewise.
27370 (ctanh_test_tonearest): Likewise.
27371 (ctanh_test_towardzero): Likewise.
27372 (ctanh_test_downward): Likewise.
27373 (ctanh_test_upward): Likewise.
27374 (main): Call these new functions.
27375 * sysdeps/i386/fpu/libm-test-ulps: Update.
27376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27377
ca48a46a
MF
273782012-07-03 Mike Frysinger <vapier@gentoo.org>
27379
27380 * .gitignore: Delete /ports entry.
27381
9d63d37d
AJ
273822012-07-03 Andreas Jaeger <aj@suse.de>
27383
27384 * po/bg.po: Update from translation team.
27385 * po/cs.po: Likewise.
27386 * po/de.po: Likewise.
27387 * po/hr.po: Likewise.
27388 * po/nl.pl: Likewise.
27389 * po/pl.po: Likewise.
27390 * po/vi.po: Likewise.
27391
370ca3d2
JM
273922012-07-03 Joseph Myers <joseph@codesourcery.com>
27393
95f5a9a8
JM
27394 * Makeconfig [!+link] (+link-before-libc): New variable.
27395 [!+link] (+link-after-libc): Likewise.
27396 [!+link] (+link-tests): Likewise.
27397 [!+link] (+link): Define in terms of $(+link-before-libc) and
27398 $(+link-after-libc).
27399 [!+link-static] (+link-static-before-libc): New variable.
27400 [!+link-static] (+link-static-after-libc): Likewise.
27401 [!+link-static] (+link-static-tests): Likewise.
27402 [!+link-static] (+link-static): Define in terms of
27403 $(+link-static-before-libc) and $(+link-static-after-libc).
27404 [build-shared] (link-libc-before-gnulib): New variable.
27405 [build-shared] (link-libc-tests): Likewise.
27406 [build-shared] (link-libc): Define in terms of
27407 $(link-libc-before-gnulib).
27408 [!build-shared] (link-libc-tests): New variable.
27409 (link-libc-static-tests): New variable.
27410 [!gnulib] (gnulib-arch): New variable.
27411 [!gnulib] (gnulib-tests): Likewise.
27412 [!gnulib] (static-gnulib-arch): Likewise.
27413 [!gnulib] (static-gnulib-tests): Likewise.
27414 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27415 Define with "=" instead of ":=".
27416 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27417 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27418 * Rules (binaries-all-notests): New variable.
27419 (binaries-all-tests): Likewise.
27420 (binaries-static-notests): Likewise.
27421 (binaries-static-tests): Likewise.
27422 (binaries-all): Define using $(binaries-all-notests) and
27423 $(binaries-all-tests).
27424 (binaries-static): Define using $(binaries-static-notests) and
27425 $(binaries-static-tests).
27426 (binaries-shared-tests): New variable.
27427 (binaries-shared-notests): Likewise.
27428 (binaries-shared): Remove variable.
27429 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27430 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27431 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27432 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27433 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27434 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27435 * elf/Makefile (sln-modules): New variable.
27436 (extra-objs): Add $(sln-modules:=.o).
27437 (ldconfig-modules): Add static-stubs.
27438 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27439 * elf/static-stubs.c: New file.
27440
7a845b2c
JM
27441 [BZ #14283]
27442 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27443 by 7 not 8 to examine high bit of fractional part. Use volatile
27444 variables when splitting into final array of floats if
27445 __FLT_EVAL_METHOD__ != 0.
27446 * math/libm-test.inc (cos_test): Add another test.
27447 (sin_test): Likewise.
27448 * sysdeps/i386/fpu/libm-test-ulps: Update.
27449
e2283f38
JM
27450 [BZ #14273]
27451 * math/libm-test.inc (cosh_test): Add more tests.
27452
370ca3d2
JM
27453 * version.h (RELEASE): Set to "development".
27454 (VERSION): Set to "2.16.90".
27455
ee9247c3
CD
274562012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27457
27458 * NEWS: Update copyright. Remove last-updated date.
27459 Mention math library bug fixes and timezone data changes.
27460 * README: Mention GNU/Hurd, x32, and HPPA support status.
27461
4648c381
TS
274622012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27463
27464 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27465
aac78a43
AJ
274662012-06-27 Andreas Jaeger <aj@suse.de>
27467
27468 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27469
ed3dbfad
AJ
274702012-06-25 Andreas Jaeger <aj@suse.de>
27471
27472 * sysdeps/s390/fpu/libm-test-ulps: Update.
27473
4d0ee855
AS
274742012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27475 Thomas Schwinge <thomas@codesourcery.com>
27476
27477 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27478 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27480 fanotify_mark.
27481
af1bce34
TS
274822012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27483
a9fa33ba
TS
27484 * sysdeps/mach/start.c: Remove file.
27485 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27486 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27487 * sysdeps/sh/init-first.c: Likewise.
27488
58f902b8
TS
27489 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27490 registers for frame unwinding purposes, add CFI directives.
27491 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27492 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27493 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27494 Likewise.
27495
1518f58b
TS
27496 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27497 __fortify_fail returning.
27498 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27499
db9b5059
TS
27500 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27501 sysdeps/sh/____longjmp_chk.S.
27502 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27503 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27504 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27505 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27506
967705fe
TS
27507 * sysdeps/sh/abort-instr.h: New file.
27508 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27509 process in case exit returns.
27510
a9def8c4
TS
27511 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27512 initialize the GOT register before use.
27513
2a649725
TS
27514 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27515 calculation of ARGC > 4.
27516
af1bce34
TS
27517 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27518 meaningful names to some local labels.
27519
d230f50a
KK
275202012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27521 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27522
27523 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27524 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27525 (__arch_compare_and_exchange_val_16_acq): Likewise.
27526 (__arch_compare_and_exchange_val_32_acq): Likewise.
27527 (atomic_exchange_and_add): Fix gUSA sequence.
27528 (atomic_add): Likewise.
27529 (atomic_add_negative): Likewise.
27530 (atomic_add_zero): Likewise.
27531 (atomic_bit_test_set): Likewise.
27532
0479b305
AS
275332012-06-22 Andreas Schwab <schwab@redhat.com>
27534
27535 [BZ #13579]
27536 * include/link.h (struct link_map): Add l_free_initfini.
27537 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27538 l_initfini.
27539 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27540 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27541 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27542 set.
27543
0e3933b9
CD
275442012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27545
27546 * configure.in: Use AC_LANG_SOURCE.
27547 * configure: Regenerate.
27548
4248b1b1
RM
275492012-06-22 Roland McGrath <roland@hack.frob.com>
27550
27551 * configure.in (libc_cv_localstatedir): New substituted variable.
27552 * configure: Regenerated.
27553 * config.make.in (localstatedir): New variable, substituted from
27554 libc_cv_localstatedir.
27555 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27556 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27557 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27558 * sysdeps/gnu/configure: Regenerated.
27559
006dd861
JL
275602012-06-21 Jeff Law <law@redhat.com>
27561
27562 [BZ #14277]
27563 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27564 free. Simplify list management for _LIBC case.
27565
79662d42
JM
275662012-06-21 Joseph Myers <joseph@codesourcery.com>
27567
b7abb4bf
JM
27568 [BZ #14273]
27569 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27570 Clear sign bit of 64-bit integer value before comparing against
27571 overflow value.
27572
79662d42
JM
27573 * sysdeps/mach/configure: Regenerated.
27574
1f150908
L
275752012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27576
27577 [BZ #14278]
27578 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27579
28363bbf
JL
275802012-06-21 Jeff Law <law@redhat.com>
27581
27582 [BZ #13882]
27583 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27584 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 27585 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
27586 * elf/dl-open.c (dl_open_worker): Likewise.
27587
09615db4
CD
275882012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27589
27590 * scripts/list-sources.sh: Scan PORTS for translations.
27591 * po/libc.pot: Regenerated.
27592
2174c6dd
AJ
275932012-06-21 Andreas Jaeger <aj@suse.de>
27594
27595 [BZ #12194]
27596 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27597 warning.
27598 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27599 * bits/byteswap-16.h (__bswap_16): Likewise.
27600 * bits/byteswap.h (__bswap_constant_16): Likewise.
27601
3ee947b1
L
276022012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27603
27604 [BZ #14117]
a2f34833
L
27605 * sysdeps/i386/fpu_control.h: Removed.
27606 * sysdeps/x86_64/fpu_control.h: Moved to ...
27607 * sysdeps/x86/fpu_control.h: Here.
27608
3ee947b1
L
27609 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27610 (_FPU_SETCW): Likewise.
27611
ed1825f8
L
276122012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27613
25f1282a
L
27614 [BZ #14117]
27615 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27616 * sysdeps/x86/fpu/bits/mathinline.h: This.
27617 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27618
ed1825f8
L
27619 [BZ #14050]
27620 [BZ #14117]
27621 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27622 functions if __x86_64__ is defined.
27623
36d54b74
CLT
276242012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27625
27626 * string/endian.h: Add !__ASSEMBLER__ condition for including
27627 conversion interfaces.
27628
10285c21
JM
276292012-06-15 Joseph Myers <joseph@codesourcery.com>
27630
27631 [BZ #14241]
27632 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27633 of ABS(x) in calculating zero to negative powers other than odd
27634 integers.
27635 * math/libm-test.inc (pow_test): Add more tests.
27636
06c5abbd
AJ
276372012-06-15 Andreas Jaeger <aj@suse.de>
27638
27639 * manual/contrib.texi (Contributors): Update entry of Liubov
27640 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27641 Machado Filho.
27642
a3aeac40
CH
276432012-06-15 Cyril Hrubis <metan@ucw.cz>
27644
27645 * string/string.h: Add __wur to GNU version of strerror_r.
27646
49bdf4c1
L
276472012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27648
27649 [BZ #14229]
27650 * string/Makefile (tests): Add tst-strtok_r.
27651 * string/tst-strtok_r.c: New file.
27652 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27653 RAX_LP/RDX_LP on SAVE_PTR.
27654
834f9b8d
RM
276552012-06-14 Roland McGrath <roland@hack.frob.com>
27656
27657 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27658
75fa1921
JM
276592012-06-14 Joseph Myers <joseph@codesourcery.com>
27660
27661 * libm_test.inc (csqrt_test): Allow more spurious underflow
27662 exceptions.
27663 (j0_test): Likewise.
27664 (j1_test): Likewise.
27665 (y0_test): Likewise.
27666 (y1_test): Likewise.
27667
771766df
CD
276682012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27669
27670 * po/Makefile (libc.pot): Use UTF-8 charset.
27671
ceb9e56b
PP
276722012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27673
27674 [BZ #14210]
27675 Suppress sign-conversion warning from FD_SET.
27676 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27677 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27678 not unsigned long int.
27679 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27680
ddb28975
L
276812012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27682
27683 [BZ #14050]
27684 [BZ #14117]
27685 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27686 __extern_always_inline instead of __extern_inline.
27687 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27688 (__signbit): Likewise.
27689 (__signbitl): Support C++ namespace.
27690 (lrintf): New inline function.
27691 (lrint): Likewise.
27692 (llrintf): Likewise.
27693 (llrint): Likewise.
27694 (fmaxf): Likewise.
27695 (fmax): Likewise.
27696 (fminf): Likewise.
27697 (fmin): Likewise.
27698 (rint): Likewise.
27699 (rintf): Likewise.
27700 (ceil): Likewise.
27701 (ceilf): Likewise.
27702 (floor): Likewise.
27703 (floorf): Likewise.
27704 (nearbyint): Likewise.
27705 (nearbyintf): Likewise.
27706
d7b4fb26
TS
277072012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27708
27709 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27710 non-default versions.
27711
eb55f5c2
RM
277122012-06-11 Roland McGrath <roland@hack.frob.com>
27713
27714 [BZ #14218]
27715 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27716
366af02c
TS
277172012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27718
99ff6e5c
TS
27719 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27720 (FE_UPWARD, FE_DOWNWARD): Don't define.
27721 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27722 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27723
366af02c
TS
27724 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27725 reading it.
27726 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27727 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27728
793ea851
KK
277292012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27730
27731 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27733 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27734 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27735
a728a38f
L
277362012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27737
27738 [BZ #14117]
c08010c7
L
27739 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27740 * sysdeps/i386/fpu/Implies: New file.
27741 * sysdeps/x86_64/fpu/Implies: Likewise.
27742 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27743 * sysdeps/x86/fpu/bits/fenv.h: This.
27744
a728a38f
L
27745 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27746 __SSE_MATH__.
27747
6e230d11
SP
277482012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27749
27750 [BZ #14134]
27751 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27752 character 0xffff that matches the last element of the
27753 conversion table.
27754
1b671feb
AZ
277552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27756
27757 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27758 fmodl commit.
27759
6043738b
AZ
277602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27761
27762 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27763 values higher than 25.6283.
27764
34ae0b32
AZ
277652012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27766
27767 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27768 subnormal exponent extraction and add some __builtin_expect.
27769 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27770 Fix for subnormal mantissa calculation.
27771
1214ec8f
MF
277722012-06-04 Mike Frysinger <vapier@gentoo.org>
27773
27774 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27775 cpu2 is -1 and errno is not ENOSYS.
27776
f3d1f93c
L
277772012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27778
27779 [BZ #14117]
0e4a3cd7
L
27780 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27781 * sysdeps/x86/bits/string.h: This.
27782 * sysdeps/x86_64/bits/string.h: Removed.
27783
6704c645
L
27784 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27785 if not compiling for x86-64, but compiling for >= i486.
27786
48495318
L
27787 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27788 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27789
14adcbfc
L
27790 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27791 New macro from Linux kernel 3.4.0.
27792 (FP_XSTATE_MAGIC2): Likewise.
27793 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27794 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27795 (struct _fpx_sw_bytes): New struct.
27796 (struct _xsave_hdr): Likewise.
27797 (struct _ymmh_state): Likewise.
27798 (struct _xstate): Likewise.
27799
68e408ab
L
27800 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27801 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27802 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27803 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27804 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27805 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27806
f3d1f93c
L
27807 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27808 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27809 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27810 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27811 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27812 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27813
d9dc34cd
TMQMF
278142012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27815
27816 [BZ #13743]
27817 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27818 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27819 (sysdep_headers): Include sys/platform/ppc.h.
27820 * sysdeps/powerpc/test-gettimebase.c: Test for
27821 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27822 * manual/Makefile (appendices): Include platform.texi.
27823 * manual/contrib.texi (Contributors): Update @node pointers.
27824 * manual/maint.texi (Maintenance): Likewise.
27825 (Platform): New node.
27826 * manual/platform.texi: New file. Document the new features.
27827
4af3879c
SP
278282012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27829 Jakub Jelinek <jakub@redhat.com>
27830
27831 [BZ #14188]
27832 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27833 where __builtin_expect is unavailable.
27834
2fd6ff13
DM
278352012-06-03 David S. Miller <davem@davemloft.net>
27836
27837 * stdlib/longlong.h: Updated from GCC.
27838
173f7220
AS
278392012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27840
27841 [BZ #14042]
27842 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27843 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27844 __mcount_internal.
27845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27846 (GLIBC_2.16): Likewise.
27847
f34a1c6f
L
278482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27849
27850 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27851
88a4576f
JM
278522012-06-01 Joseph Myers <joseph@codesourcery.com>
27853
ea32bcdd
JM
27854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27855 (default-abi): New variable.
27856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27857 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27858 variable.
27859 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27860 Likewise.
27861 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27862 Likewise.
27863 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27864 Likewise.
27865
88a4576f
JM
27866 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27867 definition. Document in comment.
27868
402fe938
DM
278692012-06-01 David S. Miller <davem@davemloft.net>
27870
27871 * stdlib/longlong.h: Updated from GCC.
27872
3553723f
L
278732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27874
27875 [BZ #14117]
3bd872c4
L
27876 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27877 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27878 sys/debugreg.h sys/io.h here.
27879 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27880 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27881 sys/io.h.
27882 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27883 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27884 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27885 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27886 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27887 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27888
3553723f
L
27889 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27890 Define only if __x86_64__ is defined.
27891
4842e4fe
JM
278922012-06-01 Joseph Myers <joseph@codesourcery.com>
27893
c5bfe3d5
JM
27894 [BZ #14048]
27895 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27896 Use int64_t for variable i.
27897 * math/libm-test.inc (fmod_test): Add more tests.
27898
4842e4fe
JM
27899 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27900 z computation is not scheduled after fetestexcept.
27901 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27902 Use math_force_eval instead of asm to ensure calculation scheduled
27903 before exception test.
27904 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27905 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27906
efb73488
AJ
279072012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27908
27909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27910 computation is not scheduled after fetestexcept.
27911
29bcce7c
L
279122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27913
27914 [BZ #14117]
27915 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27916 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27917
73a68f94
AZ
279182012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27919
27920 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27921 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27922
67b6df78
L
279232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27924
edf2933a 27925 [BZ #14117]
ebc64a18
L
27926 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27927 <bits/wordsize.h>.
27928 (__WCHAR_MIN): Support __WORDSIZE == 64.
27929 (__WCHAR_MAX): Likewise.
27930
edf2933a
L
27931 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27932 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27933
57c6cf40
L
27934 [BZ #14183]
27935 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27936 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27937
67b6df78 27938 [BZ #14117]
8eb6281e
L
27939 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27940 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27941
aac639f4
L
27942 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27943 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27944
67b6df78
L
27945 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27946 Defined to 1 if __x86_64__ isn't defined.
27947 (_STAT_VER_LINUX_OLD): New.
27948 (st_atime): Remove duplicate.
27949 (st_mtime): Likewise.
27950 (st_ctime): Likewise.
27951
1c2cfe81
DM
279522012-05-31 David S. Miller <davem@davemloft.net>
27953
27954 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27955 entries.
27956
5be8418c
AS
279572012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27958
e7725326
AS
27959 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27960 gen-libm-test.pl.
27961
5be8418c
AS
27962 [BZ #14132]
27963 * elf/dl-reloc.c: Include <_itoa.h>.
27964 (_dl_reloc_bad_type): Remove use of INTUSE.
27965 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27966 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27967 * stdio-common/psiginfo.c (psiginfo): Likewise.
27968 * stdio-common/psignal.c (psignal): Likewise.
27969 * string/strsignal.c (strsignal): Likewise.
27970 * include/signal.h (_sys_siglist): Declare hidden proto.
27971 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27972 INTVARDEF with libc_hidden_data_def.
27973 * stdio-common/itoa-udigits.c: Likewise.
27974 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27975 (_itoa_lower_digits_internal): Remove declaration.
27976 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27977 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27978 (_sys_sigabbrev_internal): Remove aliases.
27979 (_sys_siglist): Define hidden alias.
27980
507352f1
MT
279812012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27982
27983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27984 bits/sysctl.h.
27985
42bbb1c3
L
279862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27987
27988 [BZ #14117]
6bd784b6
L
27989 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27990 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27991
8bca20f0
L
27992 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27993 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27994 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27995 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27996 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27997 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27998
f9e890a9
L
27999 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28000 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28001 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28002
471101a1
L
28003 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28004 with __addr.
28005 (insw): Likewise.
28006 (insl): Likewise.
28007 (outsb): Likewise.
28008 (outsw): Likewise.
28009 (outsl): Likewise.
28010
6451c862
L
28011 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28012 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28013 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28014
a254b8c9
L
28015 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28016 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28017 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28018 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28019 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28020 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28021
b8dfdd92
L
28022 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28023 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28024
578cd270
L
28025 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28026 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28027
de662f5f
L
28028 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28030 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28031
25653439
L
28032 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28033 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28034 to ...
28035 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28036
6bad24a0
L
28037 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28038 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28039 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28040
42bbb1c3
L
28041 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28042 for x86-64.
28043 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28044
2d10d547
JM
280452012-05-31 Joseph Myers <joseph@codesourcery.com>
28046
28047 * math/math.h (M_El): Use two more decimal places.
28048 (M_LOG2El): Likewise.
28049 (M_LOG10El): Likewise.
28050 (M_LN2l): Likewise.
28051 (M_LN10l): Likewise.
28052 (M_PIl): Likewise.
28053 (M_PI_2l): Likewise.
28054 (M_PI_4l): Likewise.
28055 (M_1_PIl): Likewise.
28056 (M_2_PIl): Likewise.
28057 (M_2_SQRTPIl): Likewise.
28058 (M_SQRT2l): Likewise.
28059 (M_SQRT1_2l): Likewise.
28060
f230c29b
DM
280612012-05-31 David S. Miller <davem@davemloft.net>
28062
28063 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28064 values between float registers.
28065 * sysdeps/sparc/sparc64/memset.S: Likewise.
28066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28067
fed806c3
MF
280682012-05-31 Mike Frysinger <vapier@gentoo.org>
28069
28070 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28071 -D_FORTIFY_SOURCE=1.
28072 (CPPFLAGS-tst-longjmp_chk.c): Define.
28073 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28074 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28075 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28076 CFLAGS-tst-wchar-h.c.
28077
30917259
MP
280782012-05-31 Marek Polacek <polacek@redhat.com>
28079
28080 [BZ #14132]
28081 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28082 __endmntent_internal): Remove declaration.
28083 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28084 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28085 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28086
1c58d5dc
DM
280872012-05-30 David S. Miller <davem@davemloft.net>
28088
28089 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28090 (___Q_simulate_exceptions): Use real FP ops rather than writing
28091 into the %fsr.
28092 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28093 Likewise.
28094
7dc00e0d
L
280952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28096
28097 [BZ #14117]
0bd53985
L
28098 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28099 * sysdeps/x86/bits/xtitypes.h: This.
28100
3a257e66
L
28101 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28102 * sysdeps/x86/bits/wordsize.h: This.
28103
62f62904
L
28104 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28105 * sysdeps/x86/bits/huge_vall.h: This.
28106
404fe9d9
L
28107 * sysdeps/i386/bits/select.h: Removed.
28108 * sysdeps/x86_64/bits/select.h: Renamed to ...
28109 * sysdeps/x86/bits/select.h: This.
28110
d48d0446
L
28111 * sysdeps/i386/bits/setjmp.h: Removed.
28112 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28113 * sysdeps/x86/bits/setjmp.h: This.
28114
7dc00e0d
L
28115 * sysdeps/i386/bits/mathdef.h: Removed.
28116 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28117 * sysdeps/x86/bits/mathdef.h: This.
28118
03277f8f
AS
281192012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28120
28121 [BZ #14132]
28122 * include/sys/socket.h (__connect_internal)
28123 (__libc_sa_len_internal): Remove declaration.
28124 (__connect, __libc_sa_len): Declare hidden_proto.
28125 (SA_LEN): Remove use of INTUSE.
28126 * socket/connect.c: Add libc_hidden_def.
28127 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28128 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28129 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28130 alias.
28131 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28132 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28133 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28134 of adding _internal alias.
28135
13764867
L
281362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28137
28138 [BZ #14117]
6bd97696
L
28139 * sysdeps/i386/bits/link.h: Removed.
28140 * sysdeps/i386/bits/linkmap.h: Likewise.
28141 * sysdeps/x86_64/bits/link.h: Renamed to ...
28142 * sysdeps/x86/bits/link.h: This.
28143 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28144 * sysdeps/x86/bits/linkmap.h: This.
28145
f726f0bb
L
28146 * sysdeps/i386/bits/endian.h: Removed.
28147 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28148 * sysdeps/x86/bits/endian.h: This.
28149
13764867
L
28150 * sysdeps/i386/bits/byteswap.h: Removed.
28151 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28152 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28153 * sysdeps/x86/bits/byteswap.h: This.
28154 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28155 * sysdeps/x86/bits/byteswap-16.h: This.
28156 * sysdeps/i386/Implies: Add x86.
28157 * sysdeps/x86_64/Implies: Likewise.
28158
ae251b0b
DM
281592012-05-30 David S. Miller <davem@davemloft.net>
28160
28161 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28162 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28163 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28164 (FP_TRAPPING_EXCEPTIONS): Define.
28165 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28166 (FP_TRAPPING_EXCEPTIONS): Define.
28167 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28168 subnormals only when inexact has been signalled or underflow
28169 exceptions are enabled.
28170 (_FP_PACK_CANONICAL): Likewise.
28171
d5c90867
L
281722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28173
28174 [BZ #14183]
28175 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28176 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28177
63f1549e
RH
281782012-05-30 Richard Henderson <rth@twiddle.net>
28179
8d8f2279
RH
28180 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28181 with #ifndef NOT_IN_libc.
28182
63f1549e
RH
28183 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28184 marked to avoid plt entry.
28185
0ab0291b
L
281862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28187
28188 [BZ #14112]
28189 * Makeconfig (default-abi): New macro.
28190 (abi-includes): Likewise.
28191 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28192 $(abi-$(default-abi)-lib-soname) for soname if defined.
28193 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28194 abi-variants.
28195 * Makefile (installed-stubs): Likewise.
28196 * include/stubs-biarch.h: Removed.
28197 * scripts/lib-names.awk: Only handle one library at a time.
28198 * scripts/soversions.awk: Remove WORDSIZE support.
28199 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28200 entries.
28201 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28202 Removed.
28203 (syscall-list-default-condition): Likewise.
28204 (syscall-list-default-condition): Likewise.
28205 (syscall-list-includes): Likewise.
28206 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28207 syscall-list-* with abi-*. Handle undefined abi-variants.
28208 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28209 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28210 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28211 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28212 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28213 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28214 Removed.
28215 (syscall-list-32-options): Likewise.
28216 (syscall-list-32-condition): Likewise.
28217 (syscall-list-64-options): Likewise.
28218 (syscall-list-64-condition): Likewise.
28219 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28220 macro.
28221 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28222 Renamed to ...
28223 (abi-*): This.
28224 (abi-64-ld-soname): New macro.
28225 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28226 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28227 Renamed to ...
28228 (abi-*): This.
28229 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28230 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28231
4da0431d
JM
282322012-05-30 Joseph Myers <joseph@codesourcery.com>
28233
3a85279c
JM
28234 * sysdeps/unix/sysv/linux/kernel-features.h
28235 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28236 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28237 include <kernel-features.h>.
28238 [!__NR_ftruncate64]: Remove conditional code.
28239 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28240 [__NR_ftruncate64]: Make code unconditional.
28241 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28242 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28243 include <kernel-features.h>.
28244 [!__NR_ftruncate64]: Remove conditional code.
28245 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28246 [__NR_ftruncate64]: Make code unconditional.
28247 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28249 include <kernel-features.h>.
28250 [!__NR_ftruncate64]: Remove conditional code.
28251 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28252 [__NR_ftruncate64]: Make code unconditional.
28253 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28255 include <kernel-features.h>.
28256 [!__NR_ftruncate64]: Remove conditional code.
28257 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28258 [__NR_ftruncate64]: Make code unconditional.
28259 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28260
4da0431d
JM
28261 * configure.in (libc_cv_fpie): Weaken to a compile test using
28262 LIBC_TRY_CC_OPTION.
28263 * configure: Regenerated.
28264
11ef492c
AK
282652012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28266
28267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28271 Refreshed.
28272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28278 Refreshed.
28279
d66ef399
DM
282802012-05-27 David S. Miller <davem@davemloft.net>
28281
28282 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28283 (___Q_zero): New.
28284 (__Q_simulate_exceptions): Return void. Change to simulate
28285 exceptions by writing into the %fsr.
28286 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28287 (__Qp_handle_exceptions): Likewise.
28288 (numbers): Delete.
28289 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28290 __Qp_handle_exceptions.
28291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28292 __Qp_handle_exceptions.
28293 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28294 as unused and give dummy FP_RND_NEAREST initializer.
28295 (FP_INHIBIT_RESULTS): Define.
28296 (___Q_simulate_exceptions): Update declaration.
28297 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28298 formatting.
28299 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28300 as unused and give dummy FP_RND_NEAREST initializer.
28301 (__Qp_handle_exceptions): Update declaration.
28302 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28303 formatting.
28304
04fb54b5
TS
283052012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28306
28307 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28308 the temporary FPU control word.
28309 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28310 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28311 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28312 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28313 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28314 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28315 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28316 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28317 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28318 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28319 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28320
3f99608f
KK
283212012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28322
28323 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28324 fields.
28325
65a4de4e
CLT
283262012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28327
28328 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28329 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28330 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28331 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28332 Likewise.
28333 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28334 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28335 Likewise.
28336
15749d40
UD
283372012-05-27 Ulrich Drepper <drepper@gmail.com>
28338
28339 * po/h.po: Update from translation team.
28340
25dbcb27
AS
283412012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28342
3d3f8e55
AS
28343 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28344
25dbcb27
AS
28345 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28346 handling of denormals.
28347 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28348 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28349 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28350 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28354 Likewise.
28355
7ad47a80 283562012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
28357
28358 [BZ #14152]
28359 * math/libm-test.inc (fma_test): Don't always expect underflow
28360 exception.
28361
9c6ea9fa
SP
283622012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28363
28364 [BZ #12416]
28365 * elf/tst-execstack.c: Include stackinfo.h.
28366 (do_test): Adjust test case to ensure that pthread_getattr_np
28367 behaviour remains the same after marking stack executable.
28368
a8239222
JM
283692012-05-25 Joseph Myers <joseph@codesourcery.com>
28370
28371 * sysdeps/unix/sysv/linux/kernel-features.h
28372 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28373 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28374 kernel-features.h.
28375 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28376 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28377 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28378 kernel-features.h.
28379 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28380 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28381
918b5606
L
283822012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28383
28384 * configure.in: Define the default includes to being none.
28385 * configure: Regenerated.
28386
3a097cc7
RM
283872012-05-25 Roland McGrath <roland@hack.frob.com>
28388
8422c9a5
RM
28389 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28390 * sysdeps/x86_64/setjmp.S: Likewise.
28391 * sysdeps/i386/bsd-setjmp.S: Likewise.
28392 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28393 * sysdeps/i386/setjmp.S: Likewise.
28394 * sysdeps/i386/__longjmp.S: Likewise.
28395 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28396 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28397
3a097cc7
RM
28398 * include/stap-probe.h: New file.
28399 * configure.in: Handle --enable-systemtap.
28400 * configure: Regenerated.
28401 * config.h.in (USE_STAP_PROBE): New #undef.
28402 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28403 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28404 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28405
21708942
JM
284062012-05-25 Joseph Myers <joseph@codesourcery.com>
28407
28408 [BZ #13717]
28409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28410 to 2.4.0 where earlier.
28411 * sysdeps/unix/sysv/linux/configure: Regenerated.
28412 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28413 <kernel-features.h>.
28414 [__ASSUME_32BITUIDS]: Make code unconditional.
28415 [!__ASSUME_32BITUIDS]: Remove conditional code.
28416 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28417 <kernel-features.h>.
28418 [__ASSUME_32BITUIDS]: Make code unconditional.
28419 [!__ASSUME_32BITUIDS]: Remove conditional code.
28420 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28421 [__ASSUME_32BITUIDS]: Make code unconditional.
28422 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28423 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28424 <kernel-features.h>.
28425 [__ASSUME_32BITUIDS]: Make code unconditional.
28426 [!__ASSUME_32BITUIDS]: Remove conditional code.
28427 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28428 <kernel-features.h>.
28429 [__ASSUME_32BITUIDS]: Make code unconditional.
28430 [!__ASSUME_32BITUIDS]: Remove conditional code.
28431 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28432 <kernel-features.h>.
28433 [__ASSUME_32BITUIDS]: Make code unconditional.
28434 [!__ASSUME_32BITUIDS]: Remove conditional code.
28435 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28436 <kernel-features.h>.
28437 [__ASSUME_32BITUIDS]: Make code unconditional.
28438 [!__ASSUME_32BITUIDS]: Remove conditional code.
28439 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28440 <kernel-features.h>.
28441 [__ASSUME_32BITUIDS]: Make code unconditional.
28442 [!__ASSUME_32BITUIDS]: Remove conditional code.
28443 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28444 <kernel-features.h>.
28445 [__ASSUME_32BITUIDS]: Make code unconditional.
28446 [!__ASSUME_32BITUIDS]: Remove conditional code.
28447 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28448 <kernel-features.h>.
28449 [__ASSUME_32BITUIDS]: Make code unconditional.
28450 [!__ASSUME_32BITUIDS]: Remove conditional code.
28451 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28452 <kernel-features.h>.
28453 [__ASSUME_32BITUIDS]: Make code unconditional.
28454 [!__ASSUME_32BITUIDS]: Remove conditional code.
28455 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28456 <kernel-features.h>.
28457 [__ASSUME_32BITUIDS]: Make code unconditional.
28458 [!__ASSUME_32BITUIDS]: Remove conditional code.
28459 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28460 <kernel-features.h>.
28461 [__ASSUME_32BITUIDS]: Make code unconditional.
28462 [!__ASSUME_32BITUIDS]: Remove conditional code.
28463 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28464 <kernel-features.h>.
28465 [__NR_setresgid] (__setresgid): Do not declare.
28466 [__ASSUME_32BITUIDS]: Make code unconditional.
28467 [!__ASSUME_32BITUIDS]: Remove conditional code.
28468 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28469 <kernel-features.h>.
28470 [__NR_setresuid] (__setresuid): Do not declare.
28471 [__ASSUME_32BITUIDS]: Make code unconditional.
28472 [!__ASSUME_32BITUIDS]: Remove conditional code.
28473 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28474 <kernel-features.h>.
28475 [__ASSUME_32BITUIDS]: Make code unconditional.
28476 [!__ASSUME_32BITUIDS]: Remove conditional code.
28477 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28478 <kernel-features.h>.
28479 [__ASSUME_32BITUIDS]: Make code unconditional.
28480 [!__ASSUME_32BITUIDS]: Remove conditional code.
28481 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28482 <kernel-features.h>.
28483 [__ASSUME_32BITUIDS]: Make code unconditional.
28484 [!__ASSUME_32BITUIDS]: Remove conditional code.
28485 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28486 <kernel-features.h>.
28487 [__ASSUME_32BITUIDS]: Make code unconditional.
28488 [!__ASSUME_32BITUIDS]: Remove conditional code.
28489 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28490 <kernel-features.h>.
28491 [__ASSUME_32BITUIDS]: Make code unconditional.
28492 [!__ASSUME_32BITUIDS]: Remove conditional code.
28493 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28494 <kernel-features.h>.
28495 [__ASSUME_32BITUIDS]: Make code unconditional.
28496 [!__ASSUME_32BITUIDS]: Remove conditional code.
28497 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28498 <kernel-features.h>.
28499 [__ASSUME_32BITUIDS]: Make code unconditional.
28500 [!__ASSUME_32BITUIDS]: Remove conditional code.
28501 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28502 <kernel-features.h>.
28503 [__ASSUME_32BITUIDS]: Make code unconditional.
28504 [!__ASSUME_32BITUIDS]: Remove conditional code.
28505 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28506 <kernel-features.h>.
28507 [__ASSUME_32BITUIDS]: Make code unconditional.
28508 [!__ASSUME_32BITUIDS]: Remove conditional code.
28509 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28510 <kernel-features.h>.
28511 [__ASSUME_32BITUIDS]: Make code unconditional.
28512 [!__ASSUME_32BITUIDS]: Remove conditional code.
28513 * sysdeps/unix/sysv/linux/kernel-features.h
28514 (__ASSUME_SETRESUID_SYSCALL): Remove.
28515 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28516 (__ASSUME_32BITUIDS): Likewise.
28517 (__ASSUME_LDT_WORKS): Likewise.
28518 (__ASSUME_O_DIRECTORY): Likewise.
28519 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28520 architecture but not kernel version.
28521 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28522 (__ASSUME_MMAP2_SYSCALL): Likewise.
28523 (__ASSUME_STAT64_SYSCALL): Likewise.
28524 (__ASSUME_IPC64): Likewise.
28525 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28526 <kernel-features.h>.
28527 [__ASSUME_32BITUIDS]: Make code unconditional.
28528 [!__ASSUME_32BITUIDS]: Remove conditional code.
28529 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28530 <kernel-features.h>.
28531 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28532 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28533 132096]: Remove conditional code.
28534 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28535 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28536 <kernel-features.h>.
28537 [__ASSUME_32BITUIDS]: Make code unconditional.
28538 [!__ASSUME_32BITUIDS]: Remove conditional code.
28539 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28540 <kernel-features.h>.
28541 [__ASSUME_32BITUIDS]: Make code unconditional.
28542 [!__ASSUME_32BITUIDS]: Remove conditional code.
28543 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28544 <kernel-features.h>.
28545 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28546 unconditional.
28547 (__setresgid): Do not declare.
28548 [__ASSUME_32BITUIDS]: Make code unconditional.
28549 [!__ASSUME_32BITUIDS]: Remove conditional code.
28550 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28551 <kernel-features.h>.
28552 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28553 unconditional.
28554 (__setresuid): Do not declare.
28555 [__ASSUME_32BITUIDS]: Make code unconditional.
28556 [!__ASSUME_32BITUIDS]: Remove conditional code.
28557 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28558 <kernel-features.h>.
28559 [__ASSUME_32BITUIDS]: Make code unconditional.
28560 [!__ASSUME_32BITUIDS]: Remove conditional code.
28561 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28562 <kernel-features.h>.
28563 [__ASSUME_32BITUIDS]: Make code unconditional.
28564 [!__ASSUME_32BITUIDS]: Remove conditional code.
28565
a386f1cc
RH
285662012-05-25 Richard Henderson <rth@twiddle.net>
28567
28568 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28569 dl_hwcap to ifunc resolver.
28570 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28571 elf_ifunc_invoke.
28572 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28573 dl_hwcap to ifunc resolver.
28574 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28575
b6550497
JM
285762012-05-24 Joseph Myers <joseph@codesourcery.com>
28577
28578 [BZ #14153]
28579 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28580 for |x| <= 2**-26, not 2**-57.
28581 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28582 exception.
28583
b0bc23a1
JL
285842012-05-24 Jeff Law <law@redhat.com>
28585
28586 * stdio-common/Makefile (tests): Add bug25.
28587 * stdio-common/bug25.c: New test.
28588
347c92e9
L
285892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28590
28591 [BZ #13576]
28592 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28593 multiple of MALLOC_ALIGNMENT in size.
28594 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28595
6bcc8b3f
JM
285962012-05-24 Joseph Myers <joseph@codesourcery.com>
28597
28598 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28599 Require >= 256.
28600 (FILENAME_MAX): Use macro-int-constant.
28601 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28602 (_IOFBF): Use macro-int-constant.
28603 (_IOLBF): Likewise.
28604 (_IONBF): Likewise.
28605 (SEEK_CUR): Likewise.
28606 (SEEK_END): Likewise.
28607 (SEEK_SET): Likewise.
28608 (TMP_MAX): Likewise.
28609 (EOF): Use macro-int-constant. Require < 0.
28610 (NULL): Use macro-constant. Require == 0.
28611 (stdin): Require type to be FILE *.
28612 (stdout): Likewise.
28613 (stderr): Likewise.
28614 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28615 macro-int-constant.
28616 (EXIT_SUCCESS): Likewise.
28617 (NULL): Use macro-constant. Require == 0.
28618 (RAND_MAX): Use macro-int-constant.
28619 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28620 [C99-based standards] (strtof): Require function.
28621 [C99-based standards] (strtold): Likewise.
28622 [C99-based standards] (strtoll): Likewise.
28623 [C99-based standards] (strtoull): Likewise.
28624 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28625 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28626 [ISO || ISO99 || ISO11] (math.h): Likewise.
28627 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28628 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28629 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28630
d18ea0c5
AS
286312012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28632
28633 [BZ #14132]
56d25bb8
AS
28634 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28635 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28636 * intl/dgettext.c (DCGETTEXT): Likewise.
28637 * intl/gettext.c (DCGETTEXT): Likewise.
28638 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28639 * posix/regex_internal.h (gettext): Likewise.
28640 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28641 Remove declaration.
28642 * include/argz.h (__argz_count_internal)
28643 (__argz_stringify_internal): Remove declaration.
28644 (__argz_count, __argz_stringify): Declare hidden proto.
28645 * intl/dcgettext.c: Remove use of INTDEF.
28646 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28647 * string/argz-stringify.c: Likewise.
28648 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28649 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28650 Declare hidden proto.
d18ea0c5
AS
28651 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28652 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28653 Declare hidden proto.
28654 * include/stdio.h (__asprintf_internal): Don't declare.
28655 (__asprintf): Don't define as macro. Declare hidden proto.
28656 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28657 (__fsetlocking): Declare hidden proto.
28658 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28659 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28660 hidden proto.
28661 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28662 (_IO_setlinebuf): Remove use of INTUSE.
28663 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28664 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28665 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28666 Remove declaration.
28667 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28668 (_IO_do_flush): Remove use of INTUSE.
28669 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28670 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28671 (_IO_adjust_column, _IO_least_wmarker)
28672 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28673 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28674 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28675 (_IO_default_doallocate, _IO_wdefault_doallocate)
28676 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28677 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28678 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28679 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28680 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28681 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28682 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28683 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28684 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28685 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28686 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28687 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28688 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28689 proto.
28690 (_IO_flush_all_internal, _IO_adjust_column_internal)
28691 (_IO_default_uflow_internal, _IO_default_finish_internal)
28692 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28693 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28694 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28695 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28696 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28697 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28698 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28699 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28700 (_IO_file_close_internal, _IO_file_close_it_internal)
28701 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28702 (_IO_file_init_internal, _IO_file_attach_internal)
28703 (_IO_file_fopen_internal, _IO_file_read_internal)
28704 (_IO_file_sync_internal, _IO_file_seek_internal)
28705 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28706 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28707 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28708 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28709 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28710 (_IO_list_all_internal, _IO_link_in_internal)
28711 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28712 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28713 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28714 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28715 (_IO_do_write_internal, _IO_padn_internal)
28716 (_IO_getline_info_internal, _IO_getline_internal)
28717 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28718 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28719 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28720 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28721 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28722 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28723 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28724 with libc_hidden_ver, remove use of INTUSE.
28725 * libio/genops.c: Likewise.
28726 * libio/freopen.c: Likewise.
28727 * libio/freopen64.c: Likewise.
28728 * libio/iofclose.c: Likewise.
28729 * libio/iofdopen.c: Likewise.
28730 * libio/iofflush.c: Likewise.
28731 * libio/iofflush_u.c: Likewise.
28732 * libio/iofgets.c: Likewise.
28733 * libio/iofgets_u.c: Likewise.
28734 * libio/iofopen.c: Likewise.
28735 * libio/iofopncook.c: Likewise.
28736 * libio/iofread.c: Likewise.
28737 * libio/iofread_u.c: Likewise.
28738 * libio/ioftell.c: Likewise.
28739 * libio/iofwrite.c: Likewise.
28740 * libio/iogetline.c: Likewise.
28741 * libio/iogets.c: Likewise.
28742 * libio/iogetwline.c: Likewise.
28743 * libio/iopadn.c: Likewise.
28744 * libio/iopopen.c: Likewise.
28745 * libio/ioseekoff.c: Likewise.
28746 * libio/ioseekpos.c: Likewise.
28747 * libio/iosetbuffer.c: Likewise.
28748 * libio/iosetvbuf.c: Likewise.
28749 * libio/ioungetc.c: Likewise.
28750 * libio/ioungetwc.c: Likewise.
28751 * libio/iovdprintf.c: Likewise.
28752 * libio/iovsprintf.c: Likewise.
28753 * libio/iovsscanf.c: Likewise.
28754 * libio/memstream.c: Likewise.
28755 * libio/obprintf.c: Likewise.
28756 * libio/oldfileops.c: Likewise.
28757 * libio/oldiofclose.c: Likewise.
28758 * libio/oldiofdopen.c: Likewise.
28759 * libio/oldiofopen.c: Likewise.
28760 * libio/oldiopopen.c: Likewise.
28761 * libio/oldstdfiles.c: Likewise.
28762 * libio/putc.c: Likewise.
28763 * libio/setbuf.c: Likewise.
28764 * libio/setlinebuf.c: Likewise.
28765 * libio/stdfiles.c: Likewise.
28766 * libio/strops.c: Likewise.
28767 * libio/vasprintf.c: Likewise.
28768 * libio/vscanf.c: Likewise.
28769 * libio/vsnprintf.c: Likewise.
28770 * libio/vswprintf.c: Likewise.
28771 * libio/wfiledoalloc.c: Likewise.
28772 * libio/wfileops.c: Likewise.
28773 * libio/wgenops.c: Likewise.
28774 * libio/wmemstream.c: Likewise.
28775 * libio/wstrops.c: Likewise.
28776 * libio/__fpurge.c: Likewise.
28777 * libio/__fsetlocking.c: Likewise.
28778 * assert/assert.c: Likewise.
28779 * debug/fgets_chk.c: Likewise.
28780 * debug/fgets_u_chk.c: Likewise.
28781 * debug/fread_chk.c: Likewise.
28782 * debug/fread_u_chk.c: Likewise.
28783 * debug/gets_chk.c: Likewise.
28784 * debug/obprintf_chk.c: Likewise.
28785 * debug/vasprintf_chk.c: Likewise.
28786 * debug/vdprintf_chk.c: Likewise.
28787 * debug/vsnprintf_chk.c: Likewise.
28788 * debug/vsprintf_chk.c: Likewise.
28789 * malloc/mtrace.c: Likewise.
28790 * misc/error.c: Likewise.
28791 * misc/syslog.c: Likewise.
28792 * stdio-common/asprintf.c: Likewise.
28793 * stdio-common/fxprintf.c: Likewise.
28794 * stdio-common/getw.c: Likewise.
28795 * stdio-common/isoc99_fscanf.c: Likewise.
28796 * stdio-common/isoc99_scanf.c: Likewise.
28797 * stdio-common/isoc99_vfscanf.c: Likewise.
28798 * stdio-common/isoc99_vscanf.c: Likewise.
28799 * stdio-common/isoc99_vsscanf.c: Likewise.
28800 * stdio-common/printf-prs.c: Likewise.
28801 * stdio-common/printf_fp.c: Likewise.
28802 * stdio-common/printf_fphex.c: Likewise.
28803 * stdio-common/printf_size.c: Likewise.
28804 * stdio-common/putw.c: Likewise.
28805 * stdio-common/scanf.c: Likewise.
28806 * stdio-common/sprintf.c: Likewise.
28807 * stdio-common/tmpfile.c: Likewise.
28808 * stdio-common/vfprintf.c: Likewise.
28809 * stdio-common/vfscanf.c: Likewise.
28810 * stdlib/strfmon_l.c: Likewise.
28811 * sunrpc/openchild.c: Likewise.
28812 * sunrpc/xdr_stdio.c: Likewise.
28813 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28814 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28815
d6c33fda
RM
288162012-05-24 Roland McGrath <roland@hack.frob.com>
28817
c1487492
RM
28818 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28819
28820 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28821 in the third column, to generate for the shared library an IFUNC
28822 that uses _dl_vdso_vsym.
28823 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28824 * Makeconfig (object-suffixes-noshared): New variable.
28825
28826 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28827 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28828 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28829 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28830
d6c33fda
RM
28831 [BZ #14132]
28832 * include/sys/time.h (__gettimeofday): Remove macro.
28833 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28834 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28835 Remove INTDEF.
28836 (__gettimeofday): Add libc_hidden_def.
28837 (gettimeofday): Add libc_hidden_weak.
28838 * sysdeps/mach/gettimeofday.c: Likewise.
28839 * sysdeps/posix/gettimeofday.c: Likewise.
28840 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28841 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28842 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28843 (__gettimeofday_internal): Remove strong_alias.
28844 (__gettimeofday): Add libc_hidden_def.
28845 (gettimeofday): Add libc_hidden_weak.
28846 * sysdeps/unix/syscalls.list (gettimeofday):
28847 Remove __gettimeofday_internal alias.
28848
b5a2bbe6
L
288492012-05-24 Daniel Jacobowitz <drow@false.org>
28850 H.J. Lu <hongjiu.lu@intel.com>
28851
28852 [BZ #12495]
28853 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28854 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28855 (largebin_index_32_big): New.
28856 (largebin_index): Use it for 16-byte alignment.
28857 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28858 correction with front_misalign.
28859
cfba4fda
L
288602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28861
7f907421
L
28862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28864 Likewise.
28865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28866 Likewise.
28867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28868 Likewise.
28869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28870 Likewise.
28871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28872 Likewise.
28873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28874 Likewise.
28875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28876 Likewise.
28877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28878 Likewise.
28879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28880 Likewise.
28881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28882 Likewise.
28883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28884 Likewise.
28885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28886 Likewise.
28887
cfba4fda
L
28888 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28889 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28890
80bad0cc
JM
288912012-05-24 Joseph Myers <joseph@codesourcery.com>
28892
7a25eb06
JM
28893 [BZ #10846]
28894 [BZ #14036]
28895 * math/libm-test.inc (exp_test): Add test from bug 14036.
28896 (pow_test): Add test from bug 10846.
28897
795405f9
JM
28898 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28899 and other flags.
28900 (special_function): Do not include flags in test name.
28901 (parse_args): Likewise.
28902 * sysdeps/i386/fpu/libm-test-ulps: Update.
28903 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28904 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28905 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28907
80bad0cc
JM
28908 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28909 exceptions.
28910 * math/libm-test.inc ("Philosophy"): Update comment about
28911 exception testing.
28912 (UNDERFLOW_EXCEPTION): New macro.
28913 (UNDERFLOW_EXCEPTION_OK): Likewise.
28914 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28915 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28916 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28917 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28918 (INVALID_EXCEPTION_OK): Update value.
28919 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28920 (OVERFLOW_EXCEPTION_OK): Likewise.
28921 (IGNORE_ZERO_INF_SIGN): Likewise.
28922 (test_exceptions): Handle underflow exceptions.
28923 (acos_test): Update for underflow exception expectations.
28924 (cexp_test): Likewise.
28925 (clog_test): Likewise.
28926 (clog10_test): Likewise.
28927 (csqrt_test): Likewise.
28928 (ctan_test): Likewise.
28929 (ctanh_test): Likewise.
28930 (exp_test): Likewise.
28931 (exp10_test): Likewise.
28932 (exp2_test): Likewise.
28933 (expm1_test): Likewise.
28934 (fma_test): Likewise.
28935 (j0_test): Likewise.
28936 (jn_test): Likewise.
28937 (nexttoward_test): Likewise.
28938 (pow_test): Likewise.
28939 (scalbn_test): Likewise.
28940 (scalbln_test): Likewise.
28941 (tan_test): Likewise.
28942 (y1_test): Likewise.
28943 * sysdeps/i386/fpu/libm-test-ulps: Update.
28944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28945
9e0e3d0b
DM
289462012-05-23 David S. Miller <davem@davemloft.net>
28947
28948 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28949 (__libc_sigaction): Remove unused local variables.
28950
ccd0a08f
L
289512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28952
28953 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28954
62bdf9a6
PE
289552012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28956
f8591f80
PE
28957 mktime: avoid signed integer overflow
28958 * time/mktime.c (__mktime_internal): Do not mishandle the case
28959 where diff == INT_MIN.
28960
94c7d826
PE
28961 mktime: simplify computation of average
28962 * time/mktime.c (ranged_convert): Use new time_t_avg function
28963 instead of rolling our own (probably-slower) code.
28964
ce73d683
PE
28965 mktime: do not assume signed right shift propagates sign bit
28966 * time/mktime.c (isdst_differ): New static function.
28967 (__mktime_internal): No need to normalize tm_isdst now.
28968 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28969 tm_isdst values.
28970
72a22e59
PE
28971 mktime: merge another wrapv change from gnulib
28972 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28973 from some compilers.
28974
68605433
PE
28975 mktime: remove incorrect attempt at unusual arithmetics
28976 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28977 The code didn't really work on such machines anyway.
28978 (TYPE_MINIMUM): Assume two's complement.
28979 (twos_complement_arithmetic): Verify that long_int and time_t
28980 are two's complement (or unsigned, in the latter case).
28981
03cf7fe3
PE
28982 mktime: check signed shifts on long_int and time_t, too
28983 * time/mktime.c (SHR): Check that shifts work as desired
28984 on the types long_int and time_t too, as SHR is used on
28985 such types.
28986
f04dfbc2
PE
28987 mktime: do not assume 'long' is wide enough
28988 * time/mktime.c (verify): Move decl up.
28989 (long_int): New type.
28990 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28991 to remove assumption in the code that 'long' is wide enough to
28992 store year values. This assumption is not true on x32 and on
28993 some non-glibc platforms.
28994
62bdf9a6
PE
28995 mktime: merge wrapv change from gnulib
28996 * time/mktime.c (WRAPV): New macro.
28997 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28998 (guess_time_tm, __mktime_internal): Do not assume that signed
28999 integer overflow wraps around; modern compilers generate code
29000 where this assumption is no longer valid.
29001
5e292e4f
L
290022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29003
29004 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29005 Replace "jmp L(pseudo_end)" with "ret".
29006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29007 Likewise.
29008
8caf8c87
AJ
290092012-05-23 Andreas Jaeger <aj@suse.de>
29010
29011 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29012 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29013
1a09dc56
AJ
290142012-05-23 Andreas Jaeger <aj@suse.de>
29015 Maximilian Attems <max@stro.at>
29016
29017 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29018 New macros.
29019
1c87aba0
L
290202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29021
29022 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29023 code so that pseudo_end is just ret and the stack pointer is
29024 correct also for static library in error case.
29025
40e45bd5
JM
290262012-05-23 Joseph Myers <joseph@codesourcery.com>
29027
c2670533
JM
29028 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29029 move to syscalls.list.
29030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29034
40e45bd5
JM
29035 * manual/install.texi (Running make install): Do not mention Linux
29036 kernel version for which pt_chown is not needed.
29037 (Linux): Do not mention problems with nscd with 2.0 kernels.
29038 * INSTALL: Regenerated.
29039
be08eda5
AJ
290402012-05-23 Andreas Jaeger <aj@suse.de>
29041
29042 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29043 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29044 macro.
29045 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29046 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29047 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29048 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29049 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29050 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29051 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29052 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29053 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29054 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29055 * sysdeps/unix/sysv/linux/bits/in.h
29056 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29057
a6a056bb
RM
290582012-05-22 Roland McGrath <roland@hack.frob.com>
29059
29060 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29061 (PREPARE_VERSION): Just use assert instead, it will be elided
29062 under [NDEBUG] anyway.
29063
c9009328
L
290642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29065
29066 * sysdeps/unix/sysv/linux/Makefile: Include
29067 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29068 (sysdep_routines): Remove sysctl.
c9009328
L
29069 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29070 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29071 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29072 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29073 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29074
73338355
AJ
290752012-05-22 Andreas Jaeger <aj@suse.de>
29076
29077 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29078 that pseudo_end is just ret and the stack pointer is correct also
29079 for static library in error case.
29080
d44638b0
PP
290812012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29082
29083 [BZ #14122]
29084 * nss/nsswitch.c (defconfig_entries): New variable.
29085 (__nss_database_lookup): Don't leak defconfig entries.
29086 (nss_parse_service_list): Don't leak on error paths.
29087 (free_database_entries): New function.
29088 (free_defconfig): New function.
29089 (free_mem): Move common code to free_database_entries.
29090
31a39bd8
L
290912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29092
da0331a8
L
29093 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29094 Add arch_prctl.
29095 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29096
31a39bd8
L
29097 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29098 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29100 New macro.
29101 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29102 (INTERNAL_SYSCALL_TYPES): Likewise.
29103 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29104 (LOAD_REGS_TYPES_[1-6]): Likewise.
29105 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29106 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29107
45470df3
AZ
291082012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29109
29110 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29111 copysignl for GLIBC_2_0.
29112 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29113 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29115 logbl for GLIBC_2_0.
29116 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29117 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29118
98a61bcb
L
291192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29120
a4f6e481
L
29121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29122 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29123
f63d5db6
L
29124 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29125 Use "neg %eax".
29126
98a61bcb
L
29127 * time/mktime.c: Update copyright years.
29128
95770f14
PE
291292012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29130
6226efbd
PE
29131 mktime: merge comment-quoting-style change from gnulib
29132 * time/mktime.c: Quote 'like this' in comments.
29133 The GNU coding standards suggest that we no longer quote `like this',
29134 as "`" and "'" are typically rendered asymmetrically nowadays.
29135 The typical gnulib style is to quote 'like this' when quoting
29136 code, and "like this" when quoting English.
29137
b99e4f78
PE
29138 * time/mktime.c (compile-command): Add "-I.".
29139
643e01e6
PE
29140 mktime: merge mktime-internal.h change from gnulib
29141 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29142
2554247d
PE
29143 mktime: merge time_r change from gnulib
29144 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29145
826dd0ab
PE
29146 mktime: merge DEBUG change from gnulib
29147 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29148 case system <time.h> has a #define.
29149
bd83aabe
PE
29150 mktime: merge <sys/types.h> change from gnulib
29151 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29152 since <time.t> is now guaranteed to define time_t.
29153
95770f14
PE
29154 mktime: merge HAVE_CONFIG_H change from gnulib
29155 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29156
5e1a27a9
L
291572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29158
0e44a77e
L
29159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29160 Use "neg %eax".
29161
5e1a27a9
L
29162 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29163 __rlim_t cast.
29164 (struct rusage): Use anonymous union to pad each field to
29165 __syscall_slong_t.
29166
46259bec
DM
291672012-05-21 David S. Miller <davem@davemloft.net>
29168
29169 * Makefules (o-iterator): Remove .s cases.
29170 (compile-command.s): Delete.
29171 (COMPILE.s): Delete.
29172 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29173
59f0c22e
JM
291742012-05-21 Joseph Myers <joseph@codesourcery.com>
29175
29176 * configure.in (libc_cv_predef_stack_protector): Only consider
29177 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29178 * configure: Regenerated.
29179
20c07380
L
291802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29181
bbb3154b
L
29182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29183 New macro. Use R*LP on int and pointer.
29184 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
29185 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29186 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
29187 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29188
20c07380
L
29189 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29190 [__WORDSIZE_TIME64_COMPAT32] instead of
29191 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29192 (struct utmp): Likewise.
29193 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29194 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29195 Renamed to ...
29196 (__WORDSIZE_TIME64_COMPAT32): This.
29197 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29198 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29199 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29200 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29201 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29202 (__WORDSIZE_TIME64_COMPAT32): New macro.
29203
d8d1017e
AJ
292042012-05-21 Andreas Jaeger <aj@suse.de>
29205
29206 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29207 only if [SHARED]. Add prototype for __wcschr_ia32.
29208
6c7fb145
RM
292092012-05-21 Roland McGrath <roland@hack.frob.com>
29210
29211 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29212 of %rbp unmolested in the jmp_buf while mangling the low bits.
29213 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29214 unmolested high bits of %rbp while demangling the low bits.
29215 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29216
66274218
AJ
292172012-05-21 Andreas Jaeger <aj@suse.de>
29218
07c58f8f
AJ
29219 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29220 * sunrpc/svc_simple.c: Use it for registerrpc.
29221 * sunrpc/xcrypt.c: Use it for passwd2des.
29222
66274218
AJ
29223 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29224
61f65140
L
292252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29226
29227 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29228 Don't define if [__SYSCALL_WORDSIZE != 32].
29229 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29230 New macro.
29231
5fefb436
AJ
292322012-05-21 Bruno Haible <bruno@clisp.org>
29233 Andreas Jaeger <aj@suse.de>
29234
29235 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29236 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29237 inptr and inend for must_buffer_ch.
29238 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29239 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29240 * stdio-common/Makefile (tests): Remove bug15.
29241 (bug15-ENV): Remove macro.
29242 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29243 anymore.
29244
d8e272ab
AJ
292452012-05-19 Andreas Jaeger <aj@suse.de>
29246 Roland McGrath <roland@hack.frob.com>
29247
29248 * manual/contrib.texi: Completely rewritten. It contains now an
29249 alphabetical list of contributors and their contributions.
29250
4a56a162
RH
292512012-05-21 Richard Henderson <rth@twiddle.net>
29252
29253 * misc/getauxval.c (__getauxval): Use unsigned long int.
29254 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29255 (getauxval): Use unsigned long int.
29256
d024d23c
L
292572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29258
29259 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29260
cbc00a03
RM
292612012-05-21 Roland McGrath <roland@hack.frob.com>
29262
29263 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29264 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29265 __alignof__ (long double).
29266
478143fa
AZ
292672012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29268
29269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29270
c7683a6d
RH
292712012-05-20 Richard Henderson <rth@twiddle.net>
29272
29273 * misc/getauxval.c: New file.
29274 * misc/sys/auxv.h: New file.
29275 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29276 (routines): Add getauxval.
29277 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29278 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29279 * elf/dl-sysdep.c (_dl_auxv): Remove.
29280 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29281 * elf/dl-support.c (_dl_auxv): New variable.
29282 (_dl_aux_init): Initialize it.
29283 * manual/startup.texi (Auxiliary Vector): New node.
29284 * sysdeps/generic/bits/hwcap.h: New file.
29285 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29286 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29287 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29288 * sysdeps/sparc/sysdep.h: ... here. Include it.
29289 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29290 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29292 Update.
c7683a6d
RH
29293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29296 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29301
a6f1845d
AZ
293022012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29303
29304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29305
cbcbe830
DM
293062012-05-19 David S. Miller <davem@davemloft.net>
29307
29308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29309
e0b16cc2
JM
293102012-05-19 Joseph Myers <joseph@codesourcery.com>
29311
29312 [BZ #14123]
29313 * math/s_ccosh.c: Include <float.h>
29314 (__ccosh): Avoid internal overflow calculating sinh and cosh
29315 values before multiplying by sin and cos values.
29316 * math/s_ccoshf.c: Likewise.
29317 * math/s_ccoshl.c: Likewise.
29318 * math/s_csin.c: Likewise.
29319 * math/s_csinf.c: Likewise.
29320 * math/s_csinl.c: Likewise.
29321 * math/s_csinh.c: Likewise.
29322 * math/s_csinhf.c: Likewise.
29323 * math/s_csinhl.c: Likewise.
29324 * math/libm-test.inc (ccos_test): Add more tests.
29325 (ccosh_test): Likewise.
29326 (csin_test): Likewise.
29327 (csinh_test): Likewise.
29328 * sysdeps/i386/fpu/libm-test-ulps: Update.
29329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29330
6ad13e08
L
293312012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29332
f66f0ce8
L
29333 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29334 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29335
6ad13e08
L
29336 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29337
b1d072a7
JM
293382012-05-19 Joseph Myers <joseph@codesourcery.com>
29339
29340 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29341 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29342 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29343 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29344 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29345 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29346 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29347 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29348 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29349 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29350 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29351 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29352 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29353 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29354 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29355 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29356 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29357 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29358 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29359 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29360 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29361 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29362 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29363 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29364 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29365 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29366 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29367 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29368 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29369 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29370 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29371
9eae47cb
AJ
293722012-05-18 Andreas Jaeger <aj@suse.de>
29373
29374 * csu/.gitignore: Delete.
29375
bb07f69f
L
293762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29377
29378 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29379 (timex): Use __syscall_slong_t.
29380
e6bdb741
AJ
293812012-05-18 Andreas Jaeger <aj@suse.de>
29382 Carlos O'Donell <carlos_odonell@mentor.com>
29383
29384 * manual/install.texi (Configuring and compiling): Update
29385 description about files modified in the source directory.
d6c33fda 29386 * INSTALL: Regenerated.
e6bdb741 29387
1b74487e
L
293882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29389
29390 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29391 value. Use "or" to set return value to -1.
29392 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29393 negate return value.
29394
a88b64b9
TMQMF
293952012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29396
57f41c40
AS
29397 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29398 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
29399 failure if the compiler has Graphite support disabled.
29400 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29401 Likewise.
57f41c40
AS
29402 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29403 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
29404 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29405 Likewise.
29406
3707636e
L
294072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29408
610b8622
L
29409 * sysdeps/x86_64/x32/_itoa.h: New file.
29410
7cd195df
L
29411 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29412 getdents system call only if kernel and user dirents have the
29413 same d_ino and d_off.
29414
94b07d20
L
29415 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29416 LLONG_MAX != LONG_MAX.
29417 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29418 (_fitoa_word): Likewise.
29419
18298070
L
29420 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29421 years.
29422 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29423 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29424 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29425
553c7ea4
L
29426 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29427 include <bits/wordsize.h>. Check __x86_64__ instead of
29428 __WORDSIZE.
29429 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29430 if __x86_64__ is defined. Use anonymous union on fpstate.
29431
3707636e
L
29432 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29433 anonymous union.
29434
b53ef01a
AS
294352012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29436
37fb1dc0
AS
29437 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29438 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29439 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29440 Refer to _rtld_local_ro instead of _rtld_global_ro.
29441 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29442 Likewise.
29443 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29444 Likewise.
29445 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29446 Likewise.
29447 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29448 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29449 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29450
b53ef01a
AS
29451 * sysdeps/powerpc/powerpc32/dl-machine.c
29452 (__elf_machine_runtime_setup) [PROF]: Don't reference
29453 _dl_prof_resolve.
29454
7a185db2
AJ
294552012-05-18 Andreas Jaeger <aj@suse.de>
29456
29457 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29458 function only available for GCCs before 3.4 since GCC 3.4
29459 introduced a builtin.
29460 (lrint): Likewise.
29461 (llrintf): Likewise.
29462 (llrint): Likewise.
29463 (fmaxf): Likewise.
29464 (fmax): Likewise.
29465 (fminf): Likewise.
29466 (fmin): Likewise.
29467 (rint): Likewise.
29468 (rintf): Likewise.
29469 (nearbyint): Likewise.
29470 (nearbyintf): Likewise.
29471 (ceil): Likewise.
29472 (ceilf): Likewise.
29473 (floor): Likewise.
29474 (floorf): Likewise.
29475
3e5aef87
L
294762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29477
428bd707
L
29478 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29479 on both fields and cast pointer to __syscall_ulong_t.
29480
3e5aef87
L
29481 * bits/types.h (__fsword_t): New type.
29482 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29483 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29485 (__FSWORD_T_TYPE): Likewise.
29486 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29487 (__FSWORD_T_TYPE): Likewise.
29488 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29489 (__FSWORD_T_TYPE): Likewise.
29490 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29491 (__FSWORD_T_TYPE): Likewise.
29492 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29493 __SWORD_TYPE with __fsword_t.
29494 (statfs64): Likewise.
29495
1ba7c3dc
DM
294962012-05-17 David S. Miller <davem@davemloft.net>
29497
29498 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29499
59910343
AJ
295002012-05-17 Andreas Jaeger <aj@suse.de>
29501
29502 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29503 warning.
29504
2e4c1e9e
L
295052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29506
29507 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29508
de7f5ce7
AJ
295092012-05-17 Andreas Jaeger <aj@suse.de>
29510
29511 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29512 when it is used.
29513
286abc3d
CM
295142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29515
29516 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29517
477cc68e
L
295182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29519
29520 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29521 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29522
1a0994f5
CD
295232012-05-17 Andreas Jaeger <aj@suse.de>
29524 Carlos O'Donell <carlos_odonell@mentor.com>
29525
29526 [BZ #14059]
29527 * sysdeps/x86_64/multiarch/init-arch.h
29528 (bit_YMM_Usable): Rename to...
29529 (bit_AVX_Usable): ... this.
29530 (bit_FMA4_Usable): New macro.
29531 (bit_XMM_state): New macro.
29532 (bit_YMM_state): New macro.
29533 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29534 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29535 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29536 (CPUID_OSXSAVE): New macro.
29537 (CPUID_AVX): New macro.
29538 (CPUID_FMA4): New macro.
29539 (index_YMM_Usable): Rename to...
29540 (index_AVX_Usable): ... this.
29541 (HAS_AVX): Use HAS_ARCH_FEATURE.
29542 (HAS_FMA4): Likewise.
29543 (HAS_YMM_USABLE): Remove.
29544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29545 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29546 are present.
29547 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29548 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29549 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29550 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29551 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29552
0af797de
CM
295532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29554
29555 * math/libm-test.c: Support platforms without multiple rounding modes.
29556 * math/bug-nextafter.c: Support platforms without FP exceptions.
29557 * math/bug-nexttoward.c: Likewise.
29558 * math/test-fenv.c: Likewise.
29559 * math/test-misc.c: Likewise.
29560 * stdlib/bug-getcontext.c: Likewise.
29561
e39745ff
AJ
295622012-05-17 Andreas Jaeger <aj@suse.de>
29563
29564 * manual/examples/search.c (critter_cmp): Change signature to
29565 avoid warnings.
29566 * manual/string.texi (Collation Functions): Likewise.
29567
48970aba
L
295682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29569
29570 * bits/types.h: Fold copyright years.
29571 * bits/typesizes.h: Likewise.
29572 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29576 * time/time.h: Likewise.
29577
bedee953
PP
295782012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29579
29580 [BZ #208]
29581 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29582 in instead of returning them. Return void.
29583 (__libc_mallinfo): Accumulate over all arenas.
29584 (__malloc_stats): Adjust for change in int_mallinfo interface.
29585
61653dfb
RM
295862012-05-16 Roland McGrath <roland@hack.frob.com>
29587
30b99d79
RM
29588 [BZ #10375]
29589 * configure.in (NM): Add AC_CHECK_TOOL for it.
29590 (libc_extra_cflags): New substituted variable.
29591 Check for -fstack-protector being used implicitly.
29592 * configure: Regenerated.
29593 * config.make.in (config-extra-cflags): New variable,
29594 gets @libc_extra_cflags@.
29595 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29596
61653dfb
RM
29597 [BZ #10375]
29598 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29599 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29600 * configure: Regenerated.
29601 * config.make.in (CPPUNDEFS): New substituted variable.
29602 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29603 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29604 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29605
661768bb
L
296062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29607
29608 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29609 (mq_attr): Use __syscall_slong_t.
29610
d4261567
L
296112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29612
29613 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29614 Check __x86_64__ instead of __WORDSIZE.
29615 (_STAT_VER_LINUX): Likewise.
29616 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29617 __syscall_ulong_t and __syscall_slong_t.
29618 (stat64): Likewise.
29619
cf3ff365
L
296202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29621
29622 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29623
76cf3e4d
L
296242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29625
29626 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29627
a637753a
L
296282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29629
29630 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29631 __syscall_ulong_t.
29632
d5e05119
L
29633 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29634 include <bits/wordsize.h>. Check __x86_64__ instead of
29635 __WORDSIZE.
29636 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29637 defined.
29638 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29639
f62ee380
L
29640 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29641 include <bits/wordsize.h>. Check __x86_64__ instead of
29642 __WORDSIZE.
29643 (user_regs_struct): Use "__extension__ unsigned long long"
29644 instead of "unsigned long" if __x86_64__ is defined.
29645 (user): Likewise. Pad after pointer field if __ILP32__ is
29646 defined.
29647
4e124ced
JM
296482012-05-16 Joseph Myers <joseph@codesourcery.com>
29649
6a3951a0
JM
29650 * configure.in (makeinfo): Require version 4.5 or later. Allow
29651 versions 5 to 9.
29652 * configure: Regenerated.
29653 * manual/install.texi (texinfo): Increase version requirement to
29654 4.5 or later.
29655 * INSTALL: Regenerated.
29656
4e124ced
JM
29657 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29658
953ca31a
L
296592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29660
29661 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29662
617aca05
L
29663 * sysdeps/x86_64/x32/ffs.c: New file.
29664
5762f7ae
L
29665 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29666 __syscall_ulong_t.
29667 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29668 defined. Use __syscall_ulong_t.
29669 (shminfo): Use __syscall_ulong_t.
29670 (shm_info): Likewise.
29671
a26b6856
L
29672 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29673 __syscall_ulong_t.
29674
cb2b9ef7
L
29675 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29676 <bits/wordsize.h>.
29677 (msgqnum_t): Use __syscall_ulong_t.
29678 (msglen_t): Likewise.
29679 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29680 __syscall_ulong_t.
29681
34683bb0
L
29682 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29683 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29684
84a68786
L
29685 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29686
48baa5f1
L
29687 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29688 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29689
180be88b
L
29690 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29691 __syscall_slong_t.
29692
5e90c8ad
L
29693 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29694 include <bits/wordsize.h>. Check __x86_64__ instead of
29695 __WORDSIZE.
29696
23dfb58b
L
29697 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29698 "unsigned long long int" if __x86_64__ is defined.
29699 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29700
ce5d54b0
L
29701 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29702 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29703 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29704
13dc9eac
L
29705 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29706 <stdint.h>.
29707 (GET_PC): Cast to uintptr_t first.
29708 (GET_FRAME): Likewise.
29709 (GET_STACK): Likewise.
29710
a7895d15
L
29711 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29712 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29714 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29716 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29717 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29718 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29719 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29720 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29721 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29722 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29723 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29724 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29725 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29726 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29727 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29728 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29729 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29730 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29731 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29732 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29733 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29734 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29735 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29736 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29737 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29738 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29739 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29740
656416c9
AS
297412012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29742
5bd66283
AS
29743 * Makerules (+depfiles): Also collect depfiles from .oS in
29744 $(extra-objs).
29745 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29746 .oS, $(libnldbl-routines)).
29747
656416c9
AS
29748 * Makerules (native-compile-mkdep-flags): Define.
29749 * sunrpc/Makefile (extra-objs): Add $(addprefix
29750 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29751 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29752 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29753 calling $(make-target-directory).
29754
a46f2169
L
297552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29756
29757 * bits/types.h (__snseconds_t): Removed.
29758 * time/time.h (struct timespec): Replace __snseconds_t with
29759 __syscall_slong_t.
29760 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29761 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29762 Likewise.
29763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29764 (__SNSECONDS_T_TYPE): Likewise.
29765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29766 (__SNSECONDS_T_TYPE): Likewise.
29767 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29768 (__SNSECONDS_T_TYPE): Likewise.
29769
6af6528b
L
297702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29771
29772 * sysdeps/mach/hurd/bits/typesizes.h
29773 (__SYSCALL_SLONG_TYPE): New macro.
29774 (__SYSCALL_ULONG_TYPE): Likewise.
29775
de986b56
L
297762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29777
29778 * bits/types.h (__syscall_slong_t): New type.
29779 (__syscall_ulong_t): Likewise.
29780
29781 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29782 (__SYSCALL_ULONG_TYPE): Likewise.
29783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29784 (__SYSCALL_SLONG_TYPE): Likewise.
29785 (__SYSCALL_ULONG_TYPE): Likewise.
29786 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29787 (__SYSCALL_SLONG_TYPE): Likewise.
29788 (__SYSCALL_ULONG_TYPE): Likewise.
29789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29790 (__SYSCALL_SLONG_TYPE): Likewise.
29791 (__SYSCALL_ULONG_TYPE): Likewise.
29792
85736dc7
L
297932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29794
29795 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29796 Add sigaltstack-offsets.sym.
29797 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29798 <sigaltstack-offsets.h>.
29799 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29800 longjmp_msg pointer.
29801 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29802 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29803 signal stack.
29804 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29805
cc03b296
JM
298062012-05-15 Joseph Myers <joseph@codesourcery.com>
29807
a9538892
JM
29808 * elf/stackguard-macros.h: Remove file.
29809 * sysdeps/generic/stackguard-macros.h: New file.
29810 * sysdeps/i386/stackguard-macros.h: Likewise.
29811 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29812 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29813 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29814 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29815 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29816 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29817 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29818 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29819 <elf/stackguard-macros.h>.
29820
cc03b296
JM
29821 [BZ #14109]
29822 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29823 __aligned__ in attribute.
29824 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29825 (gregset_t): Likewise.
29826
93171016
L
298272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29828
29829 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29830 * sysdeps/x86_64/64/Implies-after: Here. New file.
29831 * sysdeps/x86_64/x32/Implies-after: New file.
29832
d86813a0
L
298332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29834
29835 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29836 and access return value for _dl_profile_fixup. Use R10_LP to
29837 load frame size.
29838
2953ec75
L
298392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29840
29841 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29842
3b550e9e
L
298432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29844
29845 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29846 * sysdeps/x86_64/x32/sysdep.h: New file.
29847
eda41706
L
298482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29849
29850 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29851 * sysdeps/x86_64/setjmp.S: Likewise.
29852
9ea01d93
AZ
298532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29854
29855 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29856 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29857 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29858 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29859 remove unused global constant.
29860
02a91938
CM
298612012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29862
29863 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29864 include of <not-cancel.h>.
29865
6540185f
RM
298662012-05-15 Roland McGrath <roland@hack.frob.com>
29867
29868 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29869
509072a0
AJ
298702012-05-15 Jeff Law <law@redhat.com>
29871 Andreas Jaeger <aj@suse.de>
29872
29873 [BZ #13594]
29874 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29875 out from...
29876 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29877 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29878 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29879 code changing __hst_map_handle.map.
29880
ba75122d
RM
298812012-05-15 Roland McGrath <roland@hack.frob.com>
29882
29883 * configure.in (sysnames): Look for Implies-before and Implies-after
29884 files.
29885 * configure: Regenerated.
29886
890d8bd8
L
298872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29888
29889 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29890 8-byte data alignment with LP_SIZE alignment.
29891
f6ee6623
L
298922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29893
29894 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29895 into R10_LP.
29896
ea2626f6
L
298972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29898
29899 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29900
085f715e
L
299012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29902
29903 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29904 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29905 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29906 Likewise.
29907 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29908
be8498fc
L
299092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29910
29911 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29912 (stackinfo_sub_sp): Likewise.
29913
70bc83b9
L
299142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29915
29916 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29917 RAX_LP.
29918
9bc0b730
L
299192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29920
29921 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29922 into R*_LP.
29923
6d2850e7
L
299242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29925
29926 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29927 sizes into R*_LP.
29928
3cb84561
L
299292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29930
29931 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29932
54e2ed81
L
299332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29934
29935 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29936 into R11_LP and load __x86_64_shared_cache_size_half into
29937 R8_LP.
29938
8a17f349
L
299392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29940
29941 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29942 R8_LP.
29943
777b1eea
AZ
299442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29945
29946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29947 logb for POWER7.
29948 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29949 logbf for POWER7.
29950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29951 logbl for POWER7.
29952 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29953 powerpc32/power7/fpu/s_logb.c via #include.
29954 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29955 powerpc32/power7/fpu/s_logbf.c via #include.
29956 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29957 powerpc32/power7/fpu/s_logbl.c via #include.
29958
d20d4ac2
JM
299592012-05-15 Joseph Myers <joseph@codesourcery.com>
29960
29961 * README.libm: Remove file.
29962
6cdef1ab
L
299632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29964
29965 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29966 count for x32. Use R*_LP and omit operand-size suffix.
29967
0b254d8f
L
299682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29969
29970 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29971 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29972 * sysdeps/x86_64/x32/shlib-versions: New file.
29973
ceb809dc
RM
299742012-05-14 Roland McGrath <roland@hack.frob.com>
29975
29976 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29977 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29978 Use _dl_fatal_printf instead.
29979
37f1abd4
JM
299802012-05-14 Joseph Myers <joseph@codesourcery.com>
29981
29982 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29983 set if not set by the user. Do not allow for being unset.
29984 * sysdeps/unix/sysv/linux/configure: Regenerated.
29985
11de3a33
L
299862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29987
29988 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29989 the `q' suffix from lea and replace .quad with ASM_ADDR.
29990
e02f153a
L
299912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29992
29993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29994 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29995 instead of $17.
29996 (PTR_DEMANGLE): Likewise.
29997
520ae0fd
L
299982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29999
30000 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30001 (LP_OP): Likewise.
30002 (ASM_ADDR): Likewise.
30003 (RAX_LP): Likewise.
30004 (RBP_LP): Likewise.
30005 (RBX_LP): Likewise.
30006 (RCX_LP): Likewise.
30007 (RDI_LP): Likewise.
30008 (RSI_LP): Likewise.
30009 (RSP_LP): Likewise.
30010 (R8_LP): Likewise.
30011 (R9_LP): Likewise.
30012 (R10_LP): Likewise.
30013 (R10_LP): Likewise.
30014 (R11_LP): Likewise.
30015 (R12_LP): Likewise.
30016 (R13_LP): Likewise.
30017 (R14_LP): Likewise.
30018 (R15_LP): Likewise.
30019
b985be81
L
300202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30021
30022 * sysdeps/x86_64/x32/dl-machine.h: New file.
30023
6a4888ff
AJ
300242012-05-14 Andreas Jaeger <aj@suse.de>
30025
30026 * manual/Makefile (subdir): Remove export of subdir.
30027 (all): Remove target.
30028 (.PHONY): Remove all from list.
30029 (mkinstalldirs): Remove.
30030 (.PHONY): Remove installdirs from list.
30031 ($(inst_infodir)/libc.info): Use make-target-directory.
30032 (installdirs): Remove.
30033 (subdir_%): Remove.
30034 (glibc-targets): Remove.
30035 (lib): Remove.
30036 (stubs): Remove.
30037 ($(objpfx)stubs ../po/manual.pot): Remove.
30038 ($(objpfx)stamp%): Remove.
30039 (make-target-directory): Remove.
30040 (subdir_install): Remove.
30041 (routines): Remove.
30042 (aux): Remove.
30043 (sources): Remove.
30044 (objects): Remove.
30045 (headers): Remove.
30046
30047 [BZ #13750]
30048 * manual/.gitignore: Remove, it's not needed anymore.
30049 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30050 all files in it.
30051 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30052 directory.
30053 (texis): Renamed to $(objpfx)texis.
30054 (texis-path): New, contains path to generated files.
30055 (chapters.%): Use texis-path for complete path, add extra argument
30056 libc-texinfo.sh.
30057 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30058 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30059 (summary,texi, stamp-summary): Use complete path of
30060 files. Generate files in build dir.
30061 (dir-add.texi): Build in build dir.
30062 (libm-err.texi,stamp-libm-err): Likewise.
30063 (version.texi, stamp-version): Likewise.
30064 (.%c.texi): Likewise.
30065 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30066 (mostlyclean): Remove target.
30067 (realclean): Remove target.
30068 (generated): Add new variable with contents from mostlyclean and
30069 realclean, remove entries duplicated in common-mostlyclean, add
30070 stamp-libm-err and stamp-version.
30071 (generated-dirs): Add libc directory.
30072 ($(inst_infodir)/libc.info): Install files from build dir.
30073
30074 * manual/install.texi (Configuring and compiling): Adjust since
30075 the info files are not part of the tar ball anymore.
30076
7ac77294
AJ
300772012-05-14 Andreas Jaeger <aj@suse.de>
30078
30079 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30080 variable.
30081
ffb7875d
JM
300822012-05-14 Joseph Myers <joseph@codesourcery.com>
30083
30084 [BZ #13717]
30085 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30086 to 2.2.0 where earlier.
30087 * sysdeps/unix/sysv/linux/configure: Regenerated.
30088 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30089 Remove conditional code.
30090 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30091 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30092 Remove conditional code.
30093 [!__NR_lchown]: Likewise.
30094 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30095 [__NR_lchown]: Likewise.
30096 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30097 comment referencing __ASSUME_LCHOWN_SYSCALL.
30098 * sysdeps/unix/sysv/linux/i386/sigaction.c
30099 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30100 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30101 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30102 Remove conditional code.
30103 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30104 (__protocol_available): Remove #if 0 code.
30105 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30106 conditional code.
30107 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30108 * sysdeps/unix/sysv/linux/kernel-features.h
30109 (__ASSUME_GETCWD_SYSCALL): Don't define.
30110 (__ASSUME_REALTIME_SIGNALS): Likewise.
30111 (__ASSUME_PREAD_SYSCALL): Likewise.
30112 (__ASSUME_PWRITE_SYSCALL): Likewise.
30113 (__ASSUME_POLL_SYSCALL): Likewise.
30114 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30115 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30116 non-SPARC.
30117 (__ASSUME_SIOCGIFNAME): Don't define.
30118 (__ASSUME_MSG_NOSIGNAL): Likewise.
30119 (__ASSUME_SENDFILE): Define unconditionally.
30120 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30121 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30122 conditional code.
30123 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30124 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30125 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30126 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30127 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30128 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30129 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30131 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30132 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30134 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30137 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30140 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30143 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30144 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30146 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30149 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30154 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30155 Remove conditional code.
30156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30157 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30158 Remove conditional code.
30159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30160 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30161 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30162 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30163 Remove conditional code.
30164 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30165 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30166 Remove conditional code.
30167 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30168 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30169 Remove conditional code.
30170 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30171 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30172 Remove conditional code.
30173 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30174 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30175 Remove conditional code.
30176 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30177 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30178 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30180 * sysdeps/unix/sysv/linux/sigaction.c
30181 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30182 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30183 * sysdeps/unix/sysv/linux/sigpending.c
30184 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30185 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30186 * sysdeps/unix/sysv/linux/sigprocmask.c
30187 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30188 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30189 * sysdeps/unix/sysv/linux/sigsuspend.c
30190 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30191 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30192 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30193 (__libc_missing_rt_sigs): Remove.
30194 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30195 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30196 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30197 Remove conditional code.
30198 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30199 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30200 return 1.
30201 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30202 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30203 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30204 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30205
1bfb7291
AJ
302062012-05-14 Andreas Jaeger <aj@suse.de>
30207
caae5a81
AJ
30208 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30209 it's not used in glibc.
30210 (__coshm1): Likewise.
30211 (__acosh1p): Likewise.
30212 (__sgn): Likewise.
30213
1bfb7291
AJ
30214 * manual/string.texi (Copying and Concatenation): Add missing
30215 variable in concat example.
30216 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30217
c044d724
L
302182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30219
144c5467 30220 [BZ #14103]
c044d724
L
30221 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30222 __builtin_clzl with __builtin_clzll.
30223
2523c62b
L
302242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30225
30226 [BZ #14104]
30227 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30228 libc_freeres_ptr.
30229
d7bb4c42
LD
302302012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30231
30232 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30233 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30234 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30235 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30236
9dc4e1fb
MF
302372012-05-14 Mike Frysinger <vapier@gentoo.org>
30238
30239 * NEWS: Update ia64 info.
30240
c7df0112
AS
302412012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30242
30243 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30244 used as bcopy.
30245
dc70356c
TS
302462012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30247
30248 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30249 * sysdeps/unix/syscalls.list (dup3): Likewise.
30250 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30251 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30252
9fb1a21f
L
302532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30254
30255 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30256 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30257
4822a2a5
L
302582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30259
30260 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30261 thread pointer.
30262 (TLS_IE): Use mov/add instead of movq/addq to load thread
30263 pointer.
30264 (TLS_GD_PREFIX): New.
30265 (TLS_GD): Use it.
30266
842b81d6
DM
302672012-05-11 David S. Miller <davem@davemloft.net>
30268
30269 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30270 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30271 (_FPU_SETCW): Likewise.
30272
1cf463cd
L
302732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30274
30275 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30276 is 32-byte aligned.
30277
60cc4a18
AS
302782012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30279
30280 [BZ #11837]
30281 * iconvdata/gb18030.c: Update tables.
30282 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30283 characters specially.
30284 (BODY for TO_LOOP): Add encoding of missing ranges.
30285
febb44a4
TS
302862012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30287
30288 [BZ #13673]
30289 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30290 * sysdeps/mach/hurd/dup3.c: Likewise.
30291 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30292 * sysdeps/powerpc/memmove.c:: Likewise.
30293
0a10fb9e
L
302942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30295
30296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30297 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30298
df8a552f
L
302992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30300
30301 * elf/elf.h (R_X86_64_RELATIVE64): New.
30302 (R_X86_64_NUM): Updated.
30303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30304 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30305 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30306 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30307 tst-quad1pie tst-quad2pie
30308 (modules-names): Add tst-quadmod1 tst-quadmod2.
30309 ($(objpfx)tst-quad1): New dependency.
30310 ($(objpfx)tst-quad2): Likewise.
30311 ($(objpfx)tst-quad1pie): Likewise.
30312 ($(objpfx)tst-quad2pie): Likewise.
30313 * sysdeps/x86_64/tst-quad1.c: New file.
30314 * sysdeps/x86_64/tst-quad1pie.c: New file.
30315 * sysdeps/x86_64/tst-quad2.c: Likewise.
30316 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30317 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30318 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30319 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30320 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30321
f34d6f84
ST
303222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30323
f42d41d1
ST
30324 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30325 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30326 * streams/stropts.h (t_scalar_t): Define type.
30327
3c3571fc
ST
30328 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30329 (_PATH_PRESERVE): Set to "/var/lib".
30330 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30331
61f06bd3
ST
30332 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30333 instead of int.
30334
918d4d71
ST
30335 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30336 if __dir_mkfile succeeded.
30337
f34d6f84
ST
30338 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30339 checking for _hurd_dtablesize. Unlock it right after having
30340 finished _hurd_dtable allocation.
30341
10589b4a
TS
303422012-05-10 Thomas Schwinge <thomas@schwinge.name>
30343
674cdbc7
TS
30344 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30345 * sysdeps/mach/hurd/configure: Regenerated.
30346 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30347 special-casing to...
30348 * sysdeps/gnu/configure.in: ... this new file.
30349 * sysdeps/unix/sysv/linux/configure: Regenerated.
30350 * sysdeps/gnu/configure: New generated file.
30351
8e41b99f
TS
30352 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30353 for Linux: use nsec instead of usec, as well as:
30354 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30355 members of type struct timespec.
30356 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30357 New macros.
30358 (struct stat64): Likewise.
30359 (_STATBUF_ST_NSEC): New macro.
30360 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30361
10589b4a
TS
30362 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30363 __strtoul_internal rather than strtoul.
30364
63643c85
PT
303652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30366
30367 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30368 and reject them.
30369
3faebe6a
ST
303702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30371
30372 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30373 which preserves existing values.
30374 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30375
c6474b07
PT
303762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30377
30378 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30379 TIMEOUT values. Return EINVAL for NFDS values either negative or
30380 greater than FD_SETSIZE.
30381
1043890b
ST
303822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30383
30384 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30385 allocated, call __vm_protect to finish enabling the existing space, and
30386 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30387 allocate the remainder.
30388
37ed8b9b
PT
303892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30390
30391 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30392 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30393
db653660
ST
303942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30395
37ed8b9b
PT
30396 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30397 sysdeps/mach/hurd/readlink.c.
b29d4053 30398
db653660
ST
30399 * posix/tst-sysconf.c (posix_options): Only use
30400 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30401 _POSIX_SYNCHRONIZED_IO when they are defined
30402 * sysdeps/mach/hurd/bits/posix_opt.h:
30403 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30404 (_XOPEN_REALTIME): Undefine macro.
30405 (_XOPEN_REALTIME_THREADS): Undefine macro.
30406 (_XOPEN_SHM): Undefine macro.
30407 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30408 macro to -1.
30409 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30410 macro to -1.
30411 (_POSIX_ASYNC_IO): Undefine macro.
30412 (_POSIX_PRIORITIZED_IO): Undefine macro.
30413 (_POSIX_SPIN_LOCKS): Define macro to -1.
30414
ee16e894
ST
30415 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30416 SA_NODEFER, SA_RESETHAND.
30417 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30418 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30419 F_DUPFD_CLOEXEC.
30420
6103ae3b
TS
304212012-05-10 Thomas Schwinge <thomas@schwinge.name>
30422
30423 * elf/Makefile (pldd-modules): Define unconditionally.
30424
80b4e5f3
TS
304252012-05-10 Thomas Schwinge <thomas@schwinge.name>
30426
30427 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30428
edadcbd6
ST
304292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30430
30431 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30432 Return ENOENT when name is empty.
30433 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30434
80694780
TS
304352012-05-10 Thomas Schwinge <thomas@schwinge.name>
30436
1792c087
TS
30437 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30438
80694780
TS
30439 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30440
6b645f0d
ST
304412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30442
80694780
TS
30443 Fix mlock in all cases except non-readable pages.
30444 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30445 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 30446
6b645f0d
ST
30447 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30448 (__mkdir): When path is `/', just fail with EEXIST.
30449 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30450
e468f8a3
TS
304512012-05-10 Thomas Schwinge <thomas@schwinge.name>
30452
30453 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30454 <sys/uio.h> (for writev).
30455 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30456 and <sys/param.h> (for MIN).
30457
a4186cff
PT
304582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30459
30460 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30461 REQUESTED_TIME. Properly set the remaining time and return EINTR
30462 if interrupted.
30463
510bbf14
TS
304642012-05-10 Thomas Schwinge <thomas@schwinge.name>
30465
30466 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30467 Depend on against $(link-rpcuserlibs).
30468
5d5722e8
ST
304692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30470
a4186cff
PT
30471 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30472 (__libc_stack_end): Do not use attribute_relro.
30473 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30474 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 30475 to libthread-provided value.
a4186cff
PT
30476 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30477 attribute_relro.
5d5722e8 30478
37233df9
TS
304792012-05-10 Thomas Schwinge <thomas@schwinge.name>
30480
be971a2b
TS
30481 [BZ #3748]
30482 * bits/libc-lock.h (__libc_once_get): New macro.
30483 * sysdeps/mach/bits/libc-lock.h: Likewise.
30484 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30485 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30486 instead of using implementation details.
30487
37233df9
TS
30488 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30489 * libio/freopen.c: Likewise.
30490 * libio/freopen64.c: Likewise.
30491 * misc/syslog.c: Likewise.
30492 * nscd/connections.c: Likewise.
30493 * nscd/netgroupcache.c: Likewise.
30494 * sysdeps/posix/getcwd.c: Likewise.
30495
38de94a5
RM
304962012-05-10 Roland McGrath <roland@hack.frob.com>
30497
30498 * math/w_ilogbf.c: Add #include <limits.h>.
30499
67530489
ST
305002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30501
a4186cff 30502 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
30503 path instead of returning without unlocking.
30504
67530489
ST
30505 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30506 immediate-write ioctls.
30507 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30508
5aa3a74a
TS
305092012-05-10 Thomas Schwinge <thomas@schwinge.name>
30510
18bad2ae
TS
30511 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30512 __builtin_frame_address instead of making assumptions about the
30513 location of the return address relative to DATA. Force early load of
30514 the return address.
30515 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30516 __builtin_frame_address.
30517
5aa3a74a
TS
30518 dup3 for GNU Hurd.
30519 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30520 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30521 implement dup3 and do some further code clean-ups.
30522 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30523 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30524
ecd0de9a
ST
305252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30526
cd9fa985
ST
30527 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30528
a4186cff
PT
30529 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30530 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30531 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30532 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30533 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30534 d->port.lock.
802ca5a5 30535
a4186cff
PT
30536 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30537 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30538 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30539
bcf55240
TS
305402012-05-10 Thomas Schwinge <thomas@schwinge.name>
30541
6960eb42
TS
30542 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30543 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30544 definitions.
30545
eb43375f
TS
30546 accept4 for GNU Hurd.
30547 * include/sys/socket.h (__libc_accept4): New prototype.
30548 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30549 to implement __libc_accept4.
30550 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30551 __libc_accept4.
30552 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30553
bcf55240
TS
30554 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30555 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30556 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30557 signal-defines.sym.
30558
6178c55b
ST
305592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30560
a4186cff 30561 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 30562
6f080c2f
TS
305632012-05-10 Thomas Schwinge <thomas@schwinge.name>
30564
30565 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30566 assertion on O_CLOEXEC flag.
30567 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30568 * hurd/intern-fd.c: Likewise.
30569 * hurd/port2fd.c: Likewise.
30570
bcfe3a54
ST
305712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30572
30573 [BZ #3906]
30574 * bits/in.h (IPV6_PKTINFO): Define new macro.
30575 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30576
89c9aa49
AZ
305772012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30578
30579 [BZ #13954]
30580 [BZ #13955]
30581 [BZ #13956]
30582 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30583 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30584 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30585 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30586 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30587 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30588 * math/libm-test.inc (logb_test) : Additional logb tests.
30589
021db4be
AJ
305902012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30591 Andreas Jaeger <aj@suse.de>
30592
30593 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30594 * configure: Regenerated.
30595 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30596 * config.make.in (link-obsolete-rpc): New substituted variable.
30597 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30598 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30599 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30600 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30601 so that libc.a contains the symbols.
30602 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30603 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30604 * sunrpc/auth_none.c: Likewise.
30605 * sunrpc/auth_unix.c: Likewise.
30606 * sunrpc/authdes_prot.c: Likewise.
30607 * sunrpc/authuxprot.c: Likewise.
30608 * sunrpc/clnt_gen.c: Likewise.
30609 * sunrpc/clnt_perr.c: Likewise.
30610 * sunrpc/clnt_raw.c: Likewise.
30611 * sunrpc/clnt_simp.c: Likewise.
30612 * sunrpc/clnt_tcp.c: Likewise.
30613 * sunrpc/clnt_udp.c: Likewise.
30614 * sunrpc/clnt_unix.c: Likewise.
30615 * sunrpc/des_crypt.c: Likewise.
30616 * sunrpc/des_soft.c: Likewise.
30617 * sunrpc/get_myaddr.c: Likewise.
30618 * sunrpc/key_call.c: Likewise.
30619 * sunrpc/key_prot.c: Likewise.
30620 * sunrpc/netname.c: Likewise.
30621 * sunrpc/pm_getmaps.c: Likewise.
30622 * sunrpc/pm_getport.c: Likewise.
30623 * sunrpc/pmap_clnt.c: Likewise.
30624 * sunrpc/pmap_prot.c: Likewise.
30625 * sunrpc/pmap_prot2.c: Likewise.
30626 * sunrpc/pmap_rmt.c: Likewise.
30627 * sunrpc/publickey.c: Likewise.
30628 * sunrpc/rpc_cmsg.c: Likewise.
30629 * sunrpc/rpc_common.c: Likewise.
30630 * sunrpc/rpc_dtable.c: Likewise.
30631 * sunrpc/rpc_prot.c: Likewise.
30632 * sunrpc/rpc_thread.c: Likewise.
30633 * sunrpc/rtime.c: Likewise.
30634 * sunrpc/svc.c: Likewise.
30635 * sunrpc/svc_auth.c: Likewise.
30636 * sunrpc/svc_raw.c: Likewise.
30637 * sunrpc/svc_run.c: Likewise.
30638 * sunrpc/svc_tcp.c: Likewise.
30639 * sunrpc/svc_udp.c: Likewise.
30640 * sunrpc/svc_unix.c: Likewise.
30641 * sunrpc/svcauth_des.c: Likewise.
30642 * sunrpc/xcrypt.c: Likewise.
30643 * sunrpc/xdr.c: Likewise.
30644 * sunrpc/xdr_array.c: Likewise.
30645 * sunrpc/xdr_float.c: Likewise.
30646 * sunrpc/xdr_intXX_t.c: Likewise.
30647 * sunrpc/xdr_mem.c: Likewise.
30648 * sunrpc/xdr_rec.c: Likewise.
30649 * sunrpc/xdr_ref.c: Likewise.
30650 * sunrpc/xdr_sizeof.c: Likewise.
30651 * sunrpc/xdr_stdio.c: Likewise.
30652
b5c086a2
RM
306532012-05-10 Roland McGrath <roland@hack.frob.com>
30654
30655 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30656 change. Update copyright years.
30657
6d74dd09
JM
306582012-05-10 Joseph Myers <joseph@codesourcery.com>
30659
30660 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30661
28e72501
MK
306622012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30663 Joseph Myers <joseph@codesourcery.com>
30664 Paul Pluzhnikov <ppluzhnikov@google.com>
30665
30666 [BZ #14012]
30667 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30668 requiring rpcgen.
30669 [cross-compiling] (extra-libs): Likewise.
30670 [cross-compiling] (extra-libs-others): Likewise.
30671 [cross-compiling] (librpcsvc-routines): Likewise.
30672 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30673 [cross-compiling] (omit-deps): Likewise.
30674 (sunrpc-CPPFLAGS): New variable.
30675 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30676 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30677 (cross-rpcgen-objs): New variable.
30678 (extra-objs): Append $(cross-rpcgen-objs).
30679 ($(cross-rpcgen-objs)): New rule.
30680 ($(objpfx)cross-rpcgen): Likewise.
30681 (rpcgen-cmd): Define to use $(built-program-file). Expand
30682 comment.
30683 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30684 ($(objpfx)x%.stmp): Likewise.
30685 * sunrpc/proto.h [IS_IN_build] (_): Define.
30686 [IS_IN_build] (_libc_intl_domainname): Likewise.
30687
c8c59454
L
306882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30689
30690 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30691 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30692 and R_X86_64_TPOFF64.
30693
6f27cd16
JM
306942012-05-10 Joseph Myers <joseph@codesourcery.com>
30695
30696 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30697 sysdeps/unix/sysv/syscalls.list.
30698 (stime): Likewise.
30699 (utime): Likewise.
30700 * sysdeps/unix/sysv/syscalls.list: Remove file.
30701
02467e1c
PE
307022012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30703
30704 [BZ #3440]
30705 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30706 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30707 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30708 (__LC_IDENTIFICATION): Make these macros useful in #if
30709 expressions, as required by C99.
30710
da392631
AS
307112012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30712
30713 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30714 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30715 after this.
30716
8115f29b
L
307172012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30718
30719 * stdlib/longlong.h: Updated from GCC.
30720
bdd74070
AJ
307212012-05-09 Andreas Jaeger <aj@suse.de>
30722
edfe0dbe
AJ
30723 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30724 default is first entry.
30725 (run_mode): Set type.
30726 (main): Remove informal message about syslog.
30727 (options): Fix typo.
30728
bcfe3a54
ST
30729 [BZ #14053]
30730 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30731 to asm.
bcfe3a54
ST
30732 (lrint): Likewise.
30733 (llrintf): Likewise.
30734 (llrint): Likewise.
30735 (rint): Likewise.
30736 (rintf): Likewise.
30737 (nearbyint): Likewise.
30738 (nearbyintf): Likewise.
bdd74070 30739
91d8d69e
AJ
307402012-05-09 Andreas Jaeger <aj@suse.de>
30741 Pedro Alves <palves@redhat.com>
30742
30743 * nscd/nscd.c (run_mode): Use enum.
30744 (main): Cleanup coding style issue.
30745
bb90b80b
AJ
307462012-05-09 Alexandre Oliva <aoliva@redhat.com>
30747 Andreas Jaeger <aj@suse.de>
30748
bcfe3a54
ST
30749 * nscd/nscd.c (go_background): Replaced with...
30750 (run_mode): ... this.
bb90b80b 30751 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30752 (options): Add -F --foreground.
30753 (main): Implement it.
30754 (parse_opt): Parse it.
bb90b80b 30755
1a4b75a1
AJ
307562012-05-09 Andreas Jaeger <aj@suse.de>
30757
30758 [BZ #14083]
30759 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30760 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30761 -Wconversion warning.
30762 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30763 Likewise.
30764
b1cc2472
JM
307652012-05-09 Joseph Myers <joseph@codesourcery.com>
30766
30767 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30768 == 0.
30769 (LC_ALL): Use macro-int-constant.
30770 (LC_COLLATE): Likewise.
30771 (LC_CTYPE): Likewise.
30772 (LC_MESSAGES): Likewise.
30773 (LC_MONETARY): Likewise.
30774 (LC_NUMERIC): Likewise.
30775 (LC_TIME): Likewise.
30776 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30777 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30778 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30779 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30780 Specify type.
30781 [C99-based standards] (float_t): Expect type.
30782 [C99-based standards] (double_t): Expect type.
30783 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30784 type.
30785 [C99-based standards] (HUGE_VALL): Likewise.
30786 [C99-based standards] (INFINITY): Likewise.
30787 [C99-based standards] (NAN): Likewise.
30788 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30789 [C99-based standards] (FP_NAN): Likewise.
30790 [C99-based standards] (FP_NORMAL): Likewise.
30791 [C99-based standards] (FP_SUBNORMAL): Likewise.
30792 [C99-based standards] (FP_ZERO): Likewise.
30793 [C99-based standards] (FP_FAST_FMA): Use
30794 optional-macro-int-constant. Specify type. Require == 1.
30795 [C99-based standards] (FP_FAST_FMAF): Likewise.
30796 [C99-based standards] (FP_FAST_FMAL): Likewise.
30797 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30798 [C99-based standards] (FP_ILOGBNAN): Likewise.
30799 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30800 Specify type.
30801 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30802 [C99-based standards] (math_errhandling): Specify type.
30803 [ISO99 || ISO11] (signgam): Do not allow.
30804 [non-C99-based standards] (copysignf): Do not allow.
30805 [non-C99-based standards] (exp2f): Likewise.
30806 [non-C99-based standards] (log2f): Likewise.
30807 [non-C99-based standards] (modff): Allow.
30808 [non-C99-based standards] (erff): Do not allow.
30809 [non-C99-based standards] (erfcf): Likewise.
30810 [non-C99-based standards] (gammaf): Likewise.
30811 [non-C99-based standards] (hypotf): Likewise.
30812 [non-C99-based standards] (j0f): Likewise.
30813 [non-C99-based standards] (j1f): Likewise.
30814 [non-C99-based standards] (jnf): Likewise.
30815 [non-C99-based standards] (lgammaf): Likewise.
30816 [non-C99-based standards] (tgammaf): Likewise.
30817 [non-C99-based standards] (y0f): Likewise.
30818 [non-C99-based standards] (y1f): Likewise.
30819 [non-C99-based standards] (ynf): Likewise.
30820 [non-C99-based standards] (isnanf): Likewise.
30821 [non-C99-based standards] (acoshf): Likewise.
30822 [non-C99-based standards] (asinhf): Likewise.
30823 [non-C99-based standards] (atanhf): Likewise.
30824 [non-C99-based standards] (cbrtf): Likewise.
30825 [non-C99-based standards] (expm1f): Likewise.
30826 [non-C99-based standards] (ilogbf): Likewise.
30827 [non-C99-based standards] (log1pf): Likewise.
30828 [non-C99-based standards] (logbf): Likewise.
30829 [non-C99-based standards] (nextafterf): Likewise.
30830 [non-C99-based standards] (remainderf): Likewise.
30831 [non-C99-based standards] (rintf): Likewise.
30832 [non-C99-based standards] (scalbf): Likewise.
30833 [non-C99-based standards] (copysignl): Likewise.
30834 [non-C99-based standards] (exp2l): Likewise.
30835 [non-C99-based standards] (log2l): Likewise.
30836 [non-C99-based standards] (modfl): Allow.
30837 [non-C99-based standards] (erfl): Do not allow.
30838 [non-C99-based standards] (erfcl): Likewise.
30839 [non-C99-based standards] (gammal): Likewise.
30840 [non-C99-based standards] (hypotl): Likewise.
30841 [non-C99-based standards] (j0l): Likewise.
30842 [non-C99-based standards] (j1l): Likewise.
30843 [non-C99-based standards] (jnl): Likewise.
30844 [non-C99-based standards] (lgammal): Likewise.
30845 [non-C99-based standards] (tgammal): Likewise.
30846 [non-C99-based standards] (y0l): Likewise.
30847 [non-C99-based standards] (y1l): Likewise.
30848 [non-C99-based standards] (ynl): Likewise.
30849 [non-C99-based standards] (isnanl): Likewise.
30850 [non-C99-based standards] (acoshl): Likewise.
30851 [non-C99-based standards] (asinhl): Likewise.
30852 [non-C99-based standards] (atanhl): Likewise.
30853 [non-C99-based standards] (cbrtl): Likewise.
30854 [non-C99-based standards] (expm1l): Likewise.
30855 [non-C99-based standards] (ilogbl): Likewise.
30856 [non-C99-based standards] (log1pl): Likewise.
30857 [non-C99-based standards] (logbl): Likewise.
30858 [non-C99-based standards] (nextafterl): Likewise.
30859 [non-C99-based standards] (remainderl): Likewise.
30860 [non-C99-based standards] (rintl): Likewise.
30861 [non-C99-based standards] (scalbl): Likewise.
30862 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30863 [non-C99-based standards] (FP_*): Do not allow.
30864 [C99-based standards] (FP_*): Change to
30865 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30866 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30867 allow.
30868 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30869 (SIG_ERR): Likewise.
30870 [X/Open-based standards] (SIG_HOLD): Likewise.
30871 (SIG_IGN): Likewise.
30872 (SIGABRT): Use macro-int-constant. Specify type. Require
30873 positive value.
30874 (SIGFPE): Likewise.
30875 (SIGILL): Likewise.
30876 (SIGINT): Likewise.
30877 (SIGSEGV): Likewise.
30878 (SIGTER): Likewise.
30879 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30880 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30881 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30882 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30883 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30884 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30885 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30886 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30887 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30888 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30889 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30890 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30891 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30892 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30893 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30894 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30895 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30896 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30897 [X/Open-based standards] (SIGTRAP): Likewise.
30898 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30899 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30900 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30901 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30902 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30903 allow.
30904
b9f1922d
IW
309052012-05-08 Ian Wienand <ianw@vmware.com>
30906
30907 [BZ #14080]
30908 * time/tzset.c (__tzset_parse_tz): Update default rules for
30909 daylight time changes in the Energy Policy Act of 2005.
30910
1db86e88
AJ
309112012-05-09 Andreas Jaeger <aj@suse.de>
30912
30913 [BZ #13983]
30914 * elf/ldconfig.c (parse_conf): Change string to make clear that
30915 ldconfig only issued a warning if ld.so.conf does not exist.
30916
dee4a4e3
DM
309172012-05-08 David S. Miller <davem@davemloft.net>
30918
ee0db190
DM
30919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30920 movxtod instead of popping the value on the stack.
30921
dee4a4e3
DM
30922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30923
6a43ec98
CD
309242012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30925
30926 * config.h.in: Add HAVE_ARM_PCS_VFP.
30927
05c2c961
RMG
309282012-05-08 Roland Mc Grath <roland@hack.frob.com>
30929
bcfe3a54
ST
30930 [BZ #13979]
30931 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30932 checking but the checks are disabled for any reason.
05c2c961 30933
4b30f61a
L
309342012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30935
30936 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30937 and ELF64_R_TYPE with ELFW(R_TYPE).
30938
eee2bc67
JM
309392012-05-08 Joseph Myers <joseph@codesourcery.com>
30940
7ea5391a
JM
30941 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30942 (ulimit): Likewise.
30943
eee2bc67
JM
30944 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30945 (settimeofday): Likewise.
30946
abb66a67
MF
309472012-05-08 Mike Frysinger <vapier@gentoo.org>
30948
30949 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30950 a struct th_u2 inside the union, and move tu_block/tu_code into
30951 a new th_u3 union of tu_block/tu_code inside of that. Move
30952 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30953 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30954 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30955 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30956 (th_stuff): Change to th_u1.tu_stuff.
30957 (th_data): Define.
30958 (th_msg): Change to th_u1.th_u2.tu_data.
30959
7f18b530
DM
309602012-05-07 David S. Miller <davem@davemloft.net>
30961
05760585
DM
30962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30963
7f18b530
DM
30964 [BZ #14074]
30965 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30966 (SETUP_PIC_REG): Use it.
30967 (SETUP_PIC_REG_LEAF): Use it.
30968
495fd99f
JM
309692012-05-07 Joseph Myers <joseph@codesourcery.com>
30970
30971 [BZ #13885]
30972 [BZ #13923]
30973 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30974 USE_AS_EXPM1L.
30975 (EXPL_FINITE): Likewise.
30976 (FLDLOG): Likewise.
30977 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30978 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30979 e_expl.S.
30980 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30981 USE_AS_EXPM1L.
30982 (EXPL_FINITE): Likewise.
30983 (FLDLOG): Likewise.
30984 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30985 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30986 e_expl.S.
30987 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30988 test of -max_value argument for long double.
30989 * sysdeps/i386/fpu/libm-test-ulps: Update.
30990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30991
6693d694
DM
309922012-05-06 David S. Miller <davem@davemloft.net>
30993
30994 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30995 quad soft-float symbols whose references which are compiler
30996 generated.
30997 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30998
6c23e11c
JM
309992012-05-06 Joseph Myers <joseph@codesourcery.com>
31000
d8b82cad
JM
31001 [BZ #13884]
31002 [BZ #13914]
31003 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31004 USE_AS_EXP10L.
31005 (EXPL_FINITE): Likewise.
31006 (FLDLOG): Likewise.
31007 (c0): Likewise.
31008 (c1): Likewise.
31009 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31010 Adjust comments for base varying.
31011 (__expl_finite): Change alias to EXPL_FINITE.
31012 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31013 e_expl.S.
31014 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31015 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31016 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31017 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31018 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31019 USE_AS_EXP10L.
31020 (EXPL_FINITE): Likewise.
31021 (FLDLOG): Likewise.
31022 (c0): Likewise.
31023 (c1): Likewise.
31024 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31025 Adjust comments for base varying.
31026 (__expl_finite): Change alias to EXPL_FINITE.
31027 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31028 tests for bugs.
31029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31030
6c23e11c
JM
31031 [BZ #14064]
31032 * math/libm-test.inc (check_float_internal): Correct ulp
31033 calculation for subnormal expected results.
31034
29ba805c
AJ
310352012-05-06 Andreas Jaeger <aj@suse.de>
31036
31037 * Makeconfig (+math-flags): New, set to -frounding-math.
31038 (+cflags): Add +math-flags so that all of glibc gets compiled with
31039 it.
31040
31041 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31042
7b17aeda
JM
310432012-05-05 Joseph Myers <joseph@codesourcery.com>
31044
5779f134
JM
31045 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31046 Disable one test.
31047
41498f4d
JM
31048 [BZ #13787]
31049 [BZ #13922]
31050 [BZ #14036]
31051 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31052 (__ieee754_expl): Allow for and saturate large arguments.
31053 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31054 (u_threshold): Likewise.
31055 (__exp): Call __ieee754_exp before checking for overflow and
31056 underflow.
31057 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31058 (u_threshold): Likewise.
31059 (__expf): Call __ieee754_expf before checking for overflow and
31060 underflow.
31061 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31062 (u_threshold): Likewise.
31063 (__expl): Call __ieee754_expl before checking for overflow and
31064 underflow.
31065 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31066 (__ieee754_expl): Allow for and saturate large arguments.
31067 * math/libm-test.inc (exp_test): Add another test. Do not allow
31068 missing overflow exception on overflow.
31069 (expm1_test): Do not allow missing overflow exception on overflow.
31070
6698b8bf
JM
31071 * sysdeps/i386/fpu/e_expl.c: Move to ...
31072 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31073 rather than using inline asm.
31074 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31075 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31076 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31077
7b17aeda
JM
31078 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31079 (nice): Likewise.
31080 (poll): Likewise.
31081 (signal): Likewise.
31082 (time): Likewise.
31083 (times): Likewise.
31084
f7c85819
JM
310852012-05-04 Joseph Myers <joseph@codesourcery.com>
31086
31087 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31088 sysdeps/unix/common/syscalls.list.
31089 (fchmod): Likewise.
31090 (fchown): Likewise.
31091 (ftruncate): Likewise.
31092 (getrusage): Likewise.
31093 (gettimeofday): Likewise.
31094 (setpgid): Likewise.
31095 (setregid): Likewise.
31096 (setreuid): Likewise.
31097 (sigaction): Likewise.
31098 (truncate): Likewise.
31099 (vhangup): Likewise.
31100 * sysdeps/unix/common/syscalls.list: Remove file.
31101 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31102 * sysdeps/unix/sysv/linux/Implies: Likewise.
31103
336270d0
L
311042012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31105
31106 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31108 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31109 Moved to ...
31110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31111 Here.
31112 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31113 to ...
31114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31115 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31116 to ...
31117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31118 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31119 to ...
31120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31121 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31122 to ...
31123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31124 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31125 to ...
31126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31127 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31128 to ...
31129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31130 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31131 to ...
31132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31133 Here.
31134 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31135 to ...
31136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31137 Here.
31138 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31139 to ...
31140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31141 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31142 Moved to ...
31143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31144 Here.
31145 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31146 to ...
31147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31148
d128e450
JM
311492012-05-04 Joseph Myers <joseph@codesourcery.com>
31150
fa8ee516
JM
31151 * sysdeps/unix/common/bits/dirent.h: Remove file.
31152 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31153
d128e450
JM
31154 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31155 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31156 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31157 * sysdeps/unix/bsd/isatty.c: Likewise.
31158 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31159 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31160 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31161
ff8faaf0 311622012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 31163
62881be4 31164 [BZ #13563]
31dc8730
AZ
31165 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31166 long double comparison inaccuracies.
31167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31169
6fef930c
AS
311702012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31171
31172 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31173 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31174
8f203e6c
JM
311752012-05-04 Joseph Myers <joseph@codesourcery.com>
31176
31177 [BZ #14049]
31178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31179 nonzero digits before rounding a hex value.
31180 * stdlib/tst-strtod.c (tests): Add another test.
31181
5197d9c2
AK
311822012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31183
31184 * sysdeps/s390/fpu/libm-test-ulps: Update.
31185
f0c1dedf
AJ
311862012-05-03 Andreas Jaeger <aj@suse.de>
31187
31188 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31189 does not get optimized out.
31190 (malloc_opt_barrier): New.
31191
a65ef2ae 311922012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 31193 Roland McGrath <roland@hack.frob.com>
a65ef2ae 31194
2b942cb7 31195 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 31196 intermediate file deletion.
2b942cb7 31197 (generated): Add .symlist files.
a65ef2ae 31198
54b71e02
JM
311992012-05-03 Joseph Myers <joseph@codesourcery.com>
31200
31201 [BZ #13775]
31202 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31203 Redirect under this condition.
31204 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31205 [__USE_GNU] (__dprintf_chk): Not under this condition.
31206 [__USE_GNU] (__vdprintf_chk): Likewise.
31207 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31208 under this condition.
31209 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31210 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31211 [__USE_XOPEN2K8] (vdprintf): Likewise.
31212 [__USE_GNU] (__dprintf_chk): Not under this condition.
31213 [__USE_GNU] (__vdprintf_chk): Likewise.
31214 [__USE_GNU] (dprintf): Likewise.
31215 [__USE_GNU] (vdprintf): Likewise.
31216
d3dfcc41
RM
312172012-05-03 Roland McGrath <roland@hack.frob.com>
31218
31219 * elf/Makefile (common-generated): Set this instead of generated for
31220 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31221 $(all-built-dso)-derived lists.
31222
7ac30cc5
AJ
312232012-05-03 Andreas Jaeger <aj@suse.de>
31224
0c51e550
AJ
31225 * sysdeps/i386/fpu/libm-test-ulps: Update.
31226
7ac30cc5
AJ
31227 * FAQ: Removed.
31228 * FAQ.in: Likewise.
31229 * scripts/gen-FAQ.pl: Likewise.
31230 * manual/install.texi (Installation): Point to online location of
31231 FAQ.
31232 * Makefile (files-for-dist): Remove FAQ.
31233 (FAQ): Remove.
31234
d4c2917f
AM
312352012-05-02 Allan McRae <allan@archlinux.org>
31236
31237 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31238 (LDFLAGS-reldepmod5.so): Likewise.
31239 (LDFLAGS-reldep6mod1.so): Likewise.
31240 (LDFLAGS-reldep6mod4.so): Likewise.
31241 (LDFLAGS-reldep8mod3.so): Likewise.
31242 (LDFLAGS-unload4mod1.so): Likewise.
31243 (LDFLAGS-unload4mod2.so): Likewise.
31244 (LDFLAGS-tst-initorder): Likewise.
31245 (LDFLAGS-tst-initordera2.so): Likewise.
31246 (LDFLAGS-tst-initordera3.so): Likewise.
31247 (LDFLAGS-tst-initordera4.so): Likewise.
31248 (LDFLAGS-tst-initorderb2.so): Likewise.
31249 (LDFLAGS-noload): Likewise.
31250 (LDFLAGS-next): Likewise.
31251 (LDFLAGS-order2mod1.so): Likewise.
31252 (LDFLAGS-order2mod2.so): Likewise.
31253 (LDFLAGS-tst-initorder2): Likewise.
31254 (LDFLAGS-tst-initorder2a.so): Likewise.
31255 (LDFLAGS-tst-initorder2b.so): Likewise.
31256 (LDFLAGS-tst-initorder2c.so): Likewise.
31257 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31258
d77f993f
DM
312592012-05-02 David S. Miller <davem@davemloft.net>
31260
31261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31262
171a70b4
PP
312632012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31264
31265 [BZ #14055]
31266 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31267
0be196ad
AJ
312682012-05-02 Andreas Jaeger <aj@suse.de>
31269
31270 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31271 since we manipulate rounding mode.
31272 (CPPFLAGS-test-idouble.c): Likewise.
31273 (CPPFLAGS-test-ifloat.c): Likewise.
31274 (CFLAGS-test-ldouble.c): Likewise.
31275 (CFLAGS-test-double.c): Likewise.
31276 (CFLAGS-test-float.c): Likewise.
31277 (CFLAGS-test-misc.c): Likewise.
31278 (CFLAGS-test-test-fenv.c): Likewise.
31279
4f9d04aa
AZ
312802012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31281
2b942cb7
RM
31282 [BZ #2550]
31283 [BZ #2570]
31284 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31285 comparisons to determine direction to adjust input.
4f9d04aa 31286
82a79e7d
RM
312872012-05-01 Roland McGrath <roland@hack.frob.com>
31288
f5a01ca9
RM
31289 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31290 output to the target.
31291
90fe4186
RM
31292 * scripts/localplt.awk: New file.
31293 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31294 (check-localplt-CFLAGS): Variable removed.
31295 ($(all-built-dso:=.jmprel)): New static pattern rule.
31296 (generated): Add those targets.
31297 (localplt-built-dso): New variable.
31298 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31299
31300 * elf/check-localplt.c: File removed.
31301
82397ed6
RM
31302 * scripts/check-execstack.awk: New file.
31303 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31304 (check-execstack-CFLAGS): Variable removed.
31305 ($(objpfx)check-execstack.h): Target removed.
31306 ($(objpfx)execstack-default): New target.
31307 (generated): Add that instead of check-execstack.h.
31308 ($(all-built-dso:=.phdr)): New static pattern rule.
31309 (generated): Add those targets.
31310 * elf/check-execstack.c: File removed.
31311
82a79e7d
RM
31312 * scripts/check-textrel.awk: New file.
31313 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31314 (check-textrel-CFLAGS): Variable removed.
31315 (all-built-dso): Use := to define.o
31316 ($(all-built-dso:=.dyn)): New static pattern rule.
31317 (generated): Add those targets.
31318 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31319 * config.make.in (READELF): New substituted variable.
31320 * elf/check-textrel.c: File removed.
31321
62fde54f 313222012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 31323
615605c9
JM
31324 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31325 allow.
31326 * conform/data/ctype.h-data [C99-based standards] (isblank):
31327 Expect function.
31328 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31329 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31331 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31332 Specify type. Require positive value.
31333 (EILSEQ): Likewise.
31334 (ERANGE): Likewise.
31335 [ISO || POSIX] (EILSEQ): Do not expect.
31336 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31337 Specify type. Require positive value.
31338 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31339 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31340 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31341 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31342 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31343 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31344 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31345 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31346 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31347 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31348 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31349 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31350 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31351 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31352 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31353 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31354 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31355 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31356 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31357 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31358 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31359 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31360 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31361 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31362 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31363 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31364 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31365 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31366 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31367 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31368 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31369 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31370 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31371 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31372 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31373 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31374 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31375 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31376 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31377 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31378 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31379 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31380 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31381 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31382 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31383 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31384 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31385 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31386 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31387 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31388 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31389 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31390 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31391 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31392 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31393 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31394 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31395 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31396 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31397 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31398 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31399 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31400 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31401 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31402 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31403 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31404 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31405 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31406 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31407 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31408 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31409 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31410 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31411 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31412 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31413 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31414 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31415 Require >= 2.
31416 (FLT_ROUNDS): Expect as macro, not constant.
31417 (FLT_MANT_DIG): Use macro-int-constant.
31418 (DBL_MANT_DIG): Likewise.
31419 (LDBL_MANT_DIG): Likewise.
31420 (FLT_DIG): Likewise.
31421 (DBL_DIG): Likewise.
31422 (LDBL_DIG): Likewise.
31423 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31424 (DBL_MIN_EXP): Likewise.
31425 (LDBL_MIN_EXP): Likewise.
31426 (FLT_MAX_EXP): Use macro-int-constant.
31427 (DBL_MAX_EXP): Likewise.
31428 (LDBL_MAX_EXP): Likewise.
31429 (FLT_MAX_10_EXP): Likewise.
31430 (DBL_MAX_10_EXP): Likewise.
31431 (LDBL_MAX_10_EXP): Likewise.
31432 (FLT_MAX): Use macro-constant.
31433 (DBL_MAX): Likewise.
31434 (LDBL_MAX): Likewise.
31435 (FLT_EPSILON): Use macro-constant. Give upper bound.
31436 (DBL_EPSILON): Likewise.
31437 (LDBL_EPSILON): Likewise.
31438 (FLT_MIN): Likewise.
31439 (DBL_MIN): Likewise.
31440 (LDBL_MIN): Likewise.
31441 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31442 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31443 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31444 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31445 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31446 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31447 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31448 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31449 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31450 [ISO11] (FLT_TRUE_MIN): Likewise.
31451 [ISO11] (LDBL_TRUE_MIN): Likewise.
31452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31453 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31454 (SCHAR_MIN): Use macro-int-constant. Specify type.
31455 (SCHAR_MAX): Likewise.
31456 (UCHAR_MAX): Likewise.
31457 (CHAR_MIN): Likewise.
31458 (CHAR_MAX): Likewise.
31459 (MB_LEN_MAX): Use macro-int-constant.
31460 (SHRT_MIN): Use macro-int-constant. Specify type.
31461 (SHRT_MAX): Likewise.
31462 (USHRT_MAX): Likewise.
31463 (INT_MAX): Likewise.
31464 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31465 bound negative.
31466 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31467 bound with "U".
31468 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31469 bound with "L".
31470 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31471 bound negative. Suffix upper bound with "L".
31472 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31473 bound with "UL".
31474 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31475 Specify type.
31476 [C99-based standards] (LLONG_MAX): Likewise.
31477 [C99-based standards] (ULLONG_MAX): Likewise.
31478 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31479 == 0.
31480 [ISO11] (max_align_t): Require type.
31481 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31482
c9140a62
JM
31483 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31484 from $CFLAGS, without defining away __attribute__ calls.
31485 (checknamespace): Use $CFLAGS_namespace.
31486
9af0bf29
JM
31487 * conform/conformtest.pl (@keywords): Only include C99 keywords
31488 for standards based on C99 or C11.
31489
343222a2
JM
31490 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31491 Disable tests.
31492 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31493 UNIX98]: Likewise.
31494
661f8cf0
JM
31495 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31496 usability of symbols in #if.
31497
ee74b9cb
JM
31498 * conform/conformtest.pl: If macro or constant types start
31499 "promoted:", expect the symbol to be of the following type
31500 promoted by the integer promotions.
62fde54f 31501
aafc49b3
JM
31502 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31503 in one place. Also handle "macro-constant".
31504
fefdf574
JM
31505 * conform/conformtest.pl: Only accept expected macro values with
31506 "==". Parse all "macro" lines in one place.
31507 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31508
f2d922fe
JM
31509 * conform/conformtest.pl: Handle braced types on "constant" lines
31510 instead of handling "typed-constant".
31511 * conform/data/signal.h-data: Use "constant" instead of
31512 "typed-constant".
31513
d22956c9
JM
31514 * conform/conformtest.pl: Handle "optional-" at start of lines in
31515 one place rather than duplicating several cases. Handle each
31516 format of "macro" line with initial "optional-".
31517
028e2e38
JM
31518 * conform/conformtest.pl: Only accept expected constant or
31519 optional-constant values with "==". Parse all "constant" lines in
31520 one place. Parse all "optional-constant" lines in one place.
31521 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31522 * conform/data/fmtmsg.h-data: Likewise.
31523 * conform/data/netinet/in.h-data: Likewise.
31524 * conform/data/tar.h-data: Likewise.
31525 * conform/data/limits.h-data: Use "==" form on "constant" and
31526 "optional-constant" lines.
31527
1b8f2850
JM
31528 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31529 Use -std=c99 for XOPEN2K.
31530 (@knownproblems): Remove.
31531 (newtoken): Don't check %isknown.
31532
a05a144b
JM
31533 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31534 Do not expect macro.
31535 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31536 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31537 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31538 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31539 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31540 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31541 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31542 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31543 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31544 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31545 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31546 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31547 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31548 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31549 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31550 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31551 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31552 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31553 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31554 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31555 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31556 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31557 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31558 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31559 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31560 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31561 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31562 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31563 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31564 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31565 [XPG3] (acosh): Likewise.
31566 [XPG3] (asinh): Likewise.
31567 [XPG3] (atanh): Likewise.
31568 [XPG3] (cbrt): Likewise.
31569 [XPG3] (expm1): Likewise.
31570 [XPG3] (ilogb): Likewise.
31571 [XPG3] (log1p): Likewise.
31572 [XPG3] (logb): Likewise.
31573 [XPG3] (nextafter): Likewise.
31574 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31575 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31576 [XPG3] (remainder): Likewise.
31577 [XPG3] (rint): Likewise.
31578 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31579 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31580 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31581 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31582 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31583 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31584 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31585 [UNIX98 || XOPEN2K] (scalb): Expect.
31586 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31587 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31588 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31589 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31590 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31591 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31592 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31593 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31594 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31595 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31596 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31597 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31598 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31599 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31600 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31601 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31602 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31603 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31604 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31605 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31606 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31607 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31608 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31609 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31610 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31611 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31612 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31613 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31614 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31615 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31616 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31617 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31618 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31619 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31620 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31621 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31622 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31623 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31624 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31625 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31626 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31627 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31628 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31629 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31630 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31631 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31632 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31633 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31634 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31635 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31636 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31637 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31638 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31639 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31640 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31641 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31642 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31643 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31644 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31645 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31646 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31647 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31648 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31649 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31650 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31651 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31652 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31653 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31654 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31655 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31656 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31657 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31658 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31659 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31660 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31661 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31662 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31663 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31664 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31665 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31666 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31667 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31668 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31669 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31670 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31671 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31672 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31673 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31674 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31675 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31676 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31677 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31678 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31679 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31680 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31681 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31682 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31683 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31684 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31685 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31686 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31687 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31688 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31689 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31690 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31691 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31692 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31693 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31694 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31695 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31696 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31697 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31698 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31699 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31700 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31701 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31702 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31703 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31704 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31705 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31706 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31707 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31708 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31709 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31710 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31711 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31712 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31713 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31714 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31715 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31716 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31717 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31718 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31719 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31720 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31721 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31722 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31723
73c5ebe3
JM
31724 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31725 _XOPEN_SOURCE_EXTENDED for XPG4.
31726
39c33b6c
JM
31727 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31728
62fde54f
JM
31729 * Makeconfig (localtime): Remove variable.
31730 (inst_localtime-file): Likewise.
31731
0741d64c
AS
317322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31733
31734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31735 Update.
31736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31737 Update.
31738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31739 Update.
31740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31741 Update.
31742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31743 Update.
31744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31745 Update.
31746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31747 Update.
31748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31749 Update.
31750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31751 Update.
31752
7cb029ee
JM
317532012-05-01 Joseph Myers <joseph@codesourcery.com>
31754
31755 [BZ #2550]
31756 [BZ #2570]
31757 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31758 comparisons to determine direction to adjust input.
31759 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31760 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31762 Likewise.
31763 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31764 Likewise.
31765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31766 Likewise.
31767 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31768 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31769 Likewise.
31770 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31771 Likewise.
31772 * math/libm-test.inc (nexttoward_test): Add more tests.
31773
412bd966
AS
317742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31775
31776 [BZ #14040]
31777 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31778 in version GLIBC_2.1, not GLIBC_2.0.
31779 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31780 Likewise.
31781
9568c0c2
JM
317822012-04-30 Joseph Myers <joseph@codesourcery.com>
31783
adfbc8ac
JM
31784 [BZ #13942]
31785 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31786 (1 - x) * (1 + x).
31787 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31788 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31789 * math/libm-test.inc (acos_test): Add more tests.
31790 (asin_test): Likewise.
31791 * sysdeps/i386/fpu/libm-test-ulps: Update.
31792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31793
5ba3cc69
JM
31794 [BZ #14034]
31795 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31796 of square root.
31797 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31798 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31799 * math/libm-test.inc (acos_test_tonearest): New function.
31800 (acos_test_towardzero): Likewise.
31801 (acos_test_downward): Likewise.
31802 (acos_test_upward): Likewise.
31803 (asin_test_tonearest): Likewise.
31804 (asin_test_towardzero): Likewise.
31805 (asin_test_downward): Likewise.
31806 (asin_test_upward): Likewise.
31807 (main): Call the new functions.
31808 * sysdeps/i386/fpu/libm-test-ulps: Update.
31809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31810
9568c0c2
JM
31811 [BZ #13884]
31812 [BZ #13924]
31813 * math/e_exp10.c: Include <float.h>.
31814 (__ieee754_exp10): Handle underflow here rather than multiplying
31815 large negative argument by M_LN10.
31816 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31817 of __ieee754_expf.
31818 * math/e_exp10l.c: Include <float.h>.
31819 (__ieee754_exp10l): Handle underflow here rather than multiplying
31820 large negative argument by M_LN10l.
31821 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31822 spurious overflow exception on underflow.
31823
5ac3ea17
MP
318242012-04-29 Marek Polacek <polacek@redhat.com>
31825
31826 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31827 (__fortify_function): New macro.
31828 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31829 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31830 __extern_always_inline.
31831 * libio/bits/stdio2.h: Likewise.
31832 * libio/bits/stdio.h: Likewise.
31833 * string/string.h: Likewise.
31834 * string/bits/string3.h: Likewise.
31835 * include/stdio.h: Likewise.
31836 * stdlib/bits/stdlib.h: Likewise.
31837 * stdlib/stdlib.h: Likewise.
31838 * rt/bits/mqueue2.h: Likewise.
31839 * rt/mqueue.h: Likewise.
31840 * posix/bits/unistd.h: Likewise.
31841 * posix/unistd.h: Likewise.
31842 * io/bits/poll2.h: Likewise.
31843 * io/bits/fcntl2.h: Likewise.
31844 * io/fcntl.h: Likewise.
31845 * io/sys/poll.h: Likewise.
31846 * misc/bits/syslog.h: Likewise.
31847 * misc/bits/syslog-ldbl.h: Likewise.
31848 * misc/sys/syslog.h: Likewise.
31849 * socket/bits/socket2.h: Likewise.
31850 * socket/sys/socket.h: Likewise.
31851 * debug/tst-chk1.c: Likewise.
31852 * wcsmbs/bits/wchar2.h: Likewise.
31853 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31854 * wcsmbs/wchar.h: Likewise.
31855
ecf0ebfb
AJ
318562012-04-29 Andreas Jaeger <aj@suse.de>
31857
31858 * Makerules (tests): Remove enable-check-abi protection.
31859 (check-abi-warn): Remove.
31860 (check-abi-%): Remove check-abi-warn usage.
31861
31862 * configure.in: Remove check-abi configure option.
31863 * configure: Regenerated.
31864 * config.make.in (enable-check-abi): Remove.
31865
6d5c57fa
AS
318662012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31867
24c5d07e 31868 [BZ #14033]
ded5180a
AS
31869 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31870 double functions to double *_finite functions.
31871
7e0d315d
AS
31872 [BZ #13941]
31873 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31874 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31875 LDBL_MIN_EXP.
31876 * stdio-common/Makefile (tests): Add tst-sprintf3.
31877 * stdio-common/tst-sprintf3.c: New file.
31878
6d5c57fa
AS
31879 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31880 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31881
0749ff8b
JM
318822012-04-28 Joseph Myers <joseph@codesourcery.com>
31883
31884 * conform/conformtest.pl: Remove duplicate typed-constant
31885 handling.
31886
8dbd5d7b
DM
318872012-04-28 David S. Miller <davem@davemloft.net>
31888
31889 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31890 (check-abi-%): Remove AWK script prerequisite and explicit
31891 abilist directory.
31892 (check-abi): Rewrite to just diff the symlist with the abilist.
31893 (config-tls, config-abi-config): Delete, no longer used.
31894 (update-abi-%): Remove AWK script and explicit abilist directory.
31895 (update-abi): Rewrite to simply compare and conditionally copy the
31896 symlist and the sysdep abilist file. Remove update-abi-config
31897 checks.
31898 * abilist/ld.abilist: Remove.
31899 * abilist/libBrokenLocale.abilist: Remove.
31900 * abilist/libanl.abilist: Remove.
31901 * abilist/libcrypt.abilist: Remove.
31902 * abilist/libdl.abilist: Remove.
31903 * abilist/librt.abilist: Remove.
31904 * abilist/libthread_db.abilist: Remove.
31905 * abilist/libutil.abilist: Remove.
31906 * scripts/extract-abilist.awk: Remove.
31907 * scripts/merge-abilist.awk: Remove.
31908 * sysdeps/generic/libcidn.abilist: New file.
31909 * sysdeps/generic/libnss_compat.abilist: New file.
31910 * sysdeps/generic/libnss_db.abilist: New file.
31911 * sysdeps/generic/libnss_dns.abilist: New file.
31912 * sysdeps/generic/libnss_files.abilist: New file.
31913 * sysdeps/generic/libnss_hesiod.abilist: New file.
31914 * sysdeps/generic/libnss_nis.abilist: New file.
31915 * sysdeps/generic/libnss_nisplus.abilist: New file.
31916 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31917 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31918 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31919 file.
31920 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31921 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31922 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31923 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31924 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31925 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31926 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31927 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31928 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31929 file.
31930 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31931 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31932 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31933 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31934 file.
31935 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31936 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31937 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31938 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31939 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31940 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31941 file.
31942 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31943 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31944 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31945 file.
31946 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31948 New file.
31949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31950 New file.
31951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31952 New file.
31953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31954 New file.
31955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31956 New file.
31957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31958 New file.
31959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31960 New file.
31961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31962 New file.
31963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31964 New file.
31965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31966 New file.
31967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31968 New file.
31969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31970 New file.
31971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31972 New file.
31973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31974 file.
31975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31976 New file.
31977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31978 New file.
31979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31980 file.
31981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31982 New file.
31983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31984 New file.
31985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31986 file.
31987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31988 New file.
31989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31990 New file.
31991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31992 New file.
31993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31994 New file.
31995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31996 New file.
31997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31998 New file.
31999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32001 file.
32002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32003 New file.
32004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32005 file.
32006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32007 file.
32008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32009 file.
32010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32011 file.
32012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32013 file.
32014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32015 New file.
32016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32017 file.
32018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32019 file.
32020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32021 New file.
32022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32023 file.
32024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32026 file.
32027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32028 New file.
32029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32030 file.
32031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32032 file.
32033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32034 file.
32035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32036 file.
32037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32038 file.
32039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32040 New file.
32041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32042 file.
32043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32044 file.
32045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32046 New file.
32047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32048 file.
32049 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32050 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32051 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32052 file.
32053 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32054 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32055 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32056 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32057 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32058 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32059 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32060 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32061 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32062 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32065 file.
32066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32067 New file.
32068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32069 file.
32070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32071 file.
32072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32073 file.
32074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32075 file.
32076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32077 file.
32078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32079 New file.
32080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32081 New file.
32082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32083 file.
32084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32085 New file.
32086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32087 file.
32088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32090 file.
32091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32092 New file.
32093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32094 file.
32095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32096 file.
32097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32098 file.
32099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32100 file.
32101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32102 file.
32103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32104 New file.
32105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32106 New file.
32107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32108 file.
32109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32110 New file.
32111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32112 file.
32113
41d73a1b
JM
321142012-04-28 Joseph Myers <joseph@codesourcery.com>
32115
32116 * conform/conformtest.pl: Fix typo in handling typed-constant from
32117 allow-header.
32118
28aeeda4
JM
321192012-04-27 Joseph Myers <joseph@codesourcery.com>
32120
adae8f5e
JM
32121 * README: Cut down references to pre-2.6 Linux kernels and
32122 Linuxthreads. Update lists of configurations in libc and ports
32123 and sort alphabetically. Say "or newer" with Linux kernel version
32124 requirements.
32125
28aeeda4
JM
32126 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32127
a462cb63
RA
321282012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32129
32130 [BZ #887]
32131 * math/libm-test.inc (logb_test_downward): New test to expose
32132 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32133 rounding mode.
32134
6ad3493e
JM
321352012-04-27 Joseph Myers <joseph@codesourcery.com>
32136
32137 [BZ #14027]
32138 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32139 to be done.
32140 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32141 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32142
2ce4f015
JM
321432012-04-26 Joseph Myers <joseph@codesourcery.com>
32144
5aeb141a
JM
32145 * sysdeps/unix/i386/brk.S: Remove file.
32146 * sysdeps/unix/i386/dl-brk.S: Likewise.
32147 * sysdeps/unix/i386/pipe.S: Likewise.
32148 * sysdeps/unix/i386/sigreturn.S: Likewise.
32149 * sysdeps/unix/i386/syscall.S: Likewise.
32150 * sysdeps/unix/i386/vfork.S: Likewise.
32151 * sysdeps/unix/i386/wait.S: Likewise.
32152
7143acae
JM
32153 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32154 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32155
2ce4f015
JM
32156 * configure.in (arm*-none*): Do not allow without
32157 --enable-hacker-mode.
32158 (netbsd*): Remove case setting base_os.
32159 (386bsd*): Likewise.
32160 (freebsd*): Likewise.
32161 (bsdi*): Likewise.
32162 (osf*): Likewise.
32163 (sunos*): Likewise.
32164 (ultrix*): Likewise.
32165 (newsos*): Likewise.
32166 (dynix*): Likewise.
32167 (*bsd*): Likewise.
32168 (sysv*): Likewise.
32169 (isc*): Likewise.
32170 (esix*): Likewise.
32171 (sco*): Likewise.
32172 (minix*): Likewise.
32173 (irix4*): Likewise.
32174 (irix6*): Likewise.
32175 (solaris[2-9]*): Likewise.
32176 (none): Likewise.
32177 * configure: Regenerated.
32178
0ac229c8
AZ
321792012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32180
32181 [BZ #11521]
32182 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32183 overflow or cancellation in calculating denominator.
32184 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32185 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32186 down expression to avoid unexpected rounding in newer GCCs.
32187 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32188
33f244f4
DM
321892012-04-26 David S. Miller <davem@davemloft.net>
32190
32191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32192 long-double compat symbols.
32193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32206
cfa1f3e8
DM
322072012-04-25 David S. Miller <davem@davemloft.net>
32208
32209 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32210 HWCAP_* values only after the memory barriers have been defined.
32211 (atomic_full_barrier): Define.
32212 (atomic_read_barrier): Define.
32213 (atomic_write_barrier): Define.
32214
6e236b92
SP
322152012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32216
32217 * shlib-versions: Add libgcc_s version information.
32218 * sysdeps/generic/libgcc_s.h: Remove.
32219 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32220 libgcc_s.h.
32221 * sysdeps/gnu/unwind-resume.c: Likewise.
32222 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32223
aab39a09
DM
322242012-04-25 David S. Miller <davem@davemloft.net>
32225
32226 * sysdeps/unix/sparc/brk.S: Delete.
32227 * sysdeps/unix/sparc/dl-brk.S: Delete.
32228 * sysdeps/unix/sparc/pipe.S: Delete.
32229 * sysdeps/unix/sparc/sysdep.S: Delete.
32230 * sysdeps/unix/sparc/sysdep.h: Delete.
32231 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32232 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32233 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32234 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32235 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32236 (JUMPTARGET): Remove.
32237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32238 sysdeps/unix/sparc/sysdep.h
32239 (ENTRY, END): Remove.
32240 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32241
a3cc4f48
JM
322422012-04-25 Joseph Myers <joseph@codesourcery.com>
32243
2ed8cda2
JM
32244 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32245 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32246 -DIS_IN_build.
32247
35d76d59
JM
32248 * timezone/README: Update upstream location and email address for
32249 tzcode and tzdata.
32250 * timezone/zdump.c: Update from tzcode 2012b.
32251 * timezone/zic.c: Likewise.
32252
a3cc4f48
JM
32253 * configure.in (libc_cv_as_needed): Remove test.
32254 * configure: Regenerated.
32255 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32256 conditional definition.
32257 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32258 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32259 * config.make.in (have-as-needed): Remove variable.
32260
ceab42c3
SP
322612012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32262 Paul Pluzhnikov <ppluzhnikov@google.com>
32263
32264 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32265 strings correctly.
32266
3ce2865f
CLT
322672012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32268
32269 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32270 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32271 * sysdeps/sh/strlen.S: Likewise.
32272
f37e0d68
JM
322732012-04-24 Joseph Myers <joseph@codesourcery.com>
32274
ae186e9a
JM
32275 * sysdeps/unix/fork.S: Remove file.
32276 * sysdeps/unix/i386/fork.S: Likewise.
32277 * sysdeps/unix/sparc/fork.S: Likewise.
32278
b96914af
JM
32279 * sysdeps/unix/system.c: Remove file.
32280 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32281
f37e0d68
JM
32282 * sysdeps/unix/getegid.S: Remove file.
32283 * sysdeps/unix/geteuid.S: Likewise.
32284
87ef29ca
RM
322852012-04-24 Roland McGrath <roland@hack.frob.com>
32286
83bcd236
RM
32287 * scripts/check-localplt.awk: New file.
32288 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32289 of diff.
32290 * scripts/data/localplt-generic.data: Add a comment.
32291
87ef29ca
RM
32292 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32293 NODE when __dir_mkfile failed.
32294 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32295 Reported by Ludovic Courtès <ludo@gnu.org>.
32296
e5a6e567
AJ
322972012-04-24 Andreas Jaeger <aj@suse.de>
32298
32299 * Makerules (common-clean): Also remove gen-as-const-headers
32300 files.
32301
c1820385
JM
323022012-04-24 Joseph Myers <joseph@codesourcery.com>
32303
32304 * Makerules (native-compile): Do not change working directory for
32305 build. Use $(OUTPUT_OPTION) in command.
32306 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32307
94e02fc4
AZ
323082012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32309
32310 [BZ #13886]
32311 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32312 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32313 * math/libm-test.inc (floor_test): Add more tests.
32314 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32315
3a533ca3
JM
323162012-04-24 Joseph Myers <joseph@codesourcery.com>
32317
940ab4b3
JM
32318 * sysdeps/unix/getdents.c: Remove file.
32319 * sysdeps/unix/sysv/getdents.c: Likewise.
32320 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32321
90e037bd
JM
32322 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32323 sysdeps/unix/mman/syscalls.list.
32324 (mmap): Likewise.
32325 (mprotect): Likewise.
32326 (msync): Likewise.
32327 (munmap): Likewise.
32328 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32329 * sysdeps/unix/mman/syscalls.list: Remove.
32330 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32331
3a533ca3
JM
32332 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32333 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32334 * configure: Regenerated.
32335 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32336 $(libgcc_s_suffix).
32337 * config.make.in (libgcc_s_suffix): Remove variable.
32338
1ad743de
JM
323392012-04-23 Joseph Myers <joseph@codesourcery.com>
32340
4ad451e2
JM
32341 * sysdeps/unix/sysv/gethostname.c: Move to ...
32342 * sysdeps/posix/gethostname.c: ... here.
32343
5e37ce39
JM
32344 * sysdeps/unix/execve.S: Remove file.
32345
1ad743de
JM
32346 * sysdeps/unix/_exit.S: Remove file.
32347
4e681b5b
AJ
323482012-04-23 Andreas Jaeger <aj@suse.de>
32349
32350 [BZ #13739]
32351 * manual/Makefile: Remove make dist support, there's no
32352 need for a stand-alone documentation tar ball.
32353 (TEXI2DVI): Define always, it's not in Makeconfig.
32354 (dist): Removed.
32355 (tar-it): Removed.
32356 (edition): Removed.
32357 (glibc-doc-$(edition).tar): Removed
32358 (%.Z): Removed.
32359 (%.gz): Removed.
32360 (%.uu): Removed.
32361 (ETAGS): Remove, it's in Makeconfig.
32362 (move-if-change): Remove, it's in Makeconfig.
32363
38686a03 323642012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
32365
32366 [BZ #13970]
32367 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32368 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32369 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32370 (strtod_l, strtof_l, strtold_l): Remove __wur.
32371 It is not necessarily an error to ignore strtol's return value.
32372 One can reliably look at the stored endptr to decide whether
32373 the number had valid syntax.
32374
7c0616fa
AJ
323752012-04-21 Andreas Jaeger <aj@suse.de>
32376
803cb6b7 32377 [BZ #13739]
7c0616fa
AJ
32378 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32379
b0fe253f
JM
323802012-04-21 Joseph Myers <joseph@codesourcery.com>
32381
32382 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32383 * sysdeps/unix/sysv/Versions: Remove file.
32384
8280f22d
MT
323852012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32386
32387 [BZ #13927]
32388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32389
75ce411f 323902012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
32391
32392 [BZ #7064]
32393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32394 version from __vm86.
32395
097d59fa
JM
323962012-04-20 Joseph Myers <joseph@codesourcery.com>
32397
a90f3bcb
JM
32398 * sysdeps/unix/common/lxstat.c: Remove file.
32399 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32400
edc7ea78
JM
32401 * sysdeps/unix/sysv/Makefile: Remove file.
32402
cb78c221
JM
32403 * sysdeps/unix/sysv/direct.h: Remove file.
32404
efa6a45f
JM
32405 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32406 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32407 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32408 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32409 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32410 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32411 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32412
9c9f2d0c
JM
32413 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32414
4541c83b
JM
32415 * sysdeps/unix/xmknod.c: Remove file.
32416 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32417
f5d153a0
JM
32418 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32419
aa746595
JM
32420 * sysdeps/unix/sysv/i386/time.S: Remove file.
32421
cce5905e
JM
32422 * sysdeps/unix/fxstat.c: Remove file.
32423 * sysdeps/unix/xstat.c: Likewise.
32424 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32425
37fa3841
JM
32426 * sysdeps/unix/sysv/sigaction.c: Remove file.
32427
ff1962a3
JM
32428 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32429 (sysdep_headers): Remove variable.
32430 [termio.h not in sysdep_headers] (generated): Likewise.
32431 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32432 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32433 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32434 * sysdeps/unix/sysv/tcflow.c: Likewise.
32435 * sysdeps/unix/sysv/tcflush.c: Likewise.
32436 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32437 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32438 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32439 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32440 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32441
e7740d31
JM
32442 * sysdeps/unix/siglist.c: Remove file.
32443
ee06f18b
JM
32444 * sysdeps/unix/getppid.S: Remove file.
32445
097d59fa
JM
32446 * sysdeps/unix/mkdir.c: Remove file.
32447 * sysdeps/unix/rmdir.c: Likewise.
32448
ff3d51ec
AS
324492012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32450
32451 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32452 ERR_MAX value.
32453 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32454 errlist-compat value.
32455
50f81fd7
DM
324562012-04-18 David S. Miller <davem@davemloft.net>
32457
32458 * sysdeps/generic/memcopy.h (reg_char): Delete.
32459 * debug/strcat_chk.c: Use char, not reg_char.
32460 * debug/strcpy_chk.c: Likewise.
32461 * debug/strncat_chk.c: Likewise.
32462 * debug/strncpy_chk.c: Likewise.
32463 * string/memchr.c: Likewise.
32464 * string/memrchr.c: Likewise.
32465 * string/rawmemchr.c: Likewise.
32466 * string/strcat.c: Likewise.
32467 * string/strchr.c: Likewise.
32468 * string/strchrnul.c: Likewise.
32469 * string/strcmp.c: Likewise.
32470 * string/strcpy.c: Likewise.
32471 * string/strncat.c: Likewise.
32472 * string/strncmp.c: Likewise.
32473 * string/strncpy.c: Likewise.
32474
8ff41c46
WS
324752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32476
32477 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32478 __builtin_memcopy is called when src and dest ranges are known to not
32479 overlap.
32480
6b652f46
WS
324812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32482
32483 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32484 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32485 fwd_align_merge macro call.
32486 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32487 bwd_align_merge macro call.
32488 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32489
b282631e
WS
324902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32491
32492 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32493 bwd_align_merge macros.
32494 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32495 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32496 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32497
95aa737c
DM
324982012-04-18 David S. Miller <davem@davemloft.net>
32499
32500 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32501
7a99a614
AJ
325022012-04-18 Andreas Jaeger <aj@suse.de>
32503
32504 [BZ# 6794]
32505 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32506 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32507 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32508
32509 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32510 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32511 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32512
32513 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32514 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32515 Adjust for changed ldbl-128 files.
32516
32517 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32518 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32519 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32520
e5270c23
DM
325212012-04-17 David S. Miller <davem@davemloft.net>
32522
32523 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32524
fb5e92c9
AS
325252012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32526
32527 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32528 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32529 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32530 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32531 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32532 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32533
76da7265
AZ
325342012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32535
32536 [BZ #6794]
32537 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32538 * math/libm-test.inc: Add ilogb errno and exception tests.
32539 * math/w_ilogb.c: New file: ilogb wrapper.
32540 * math/w_ilogbf.c: New file: ilogbf wrapper.
32541 * math/w_ilogbl.c: New file: ilogbl wrapper.
32542 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32543 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32544 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32545 exception being thrown with 0.0 as argument.
32546 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32547 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32548 exception being thrown with 0.0 as argument.
32549 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32550 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32551 exception being thrown with 0.0 as argument.
32552 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32553 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32554 exception being thrown with 0.0 as argument.
32555 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32556 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 32557 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
32558 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32559 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32560 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32561 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32562 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32563 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32564
0396e69d
PB
325652012-04-17 Petr Baudis <pasky@ucw.cz>
32566
32567 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32568 with altivec.
32569
750b5926
MP
325702012-04-16 Marek Polacek <polacek@redhat.com>
32571
32572 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32573
751728a1
MP
325742012-04-16 Marek Polacek <polacek@redhat.com>
32575
32576 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32577 operands of fdivp instruction.
32578
34a27407
L
325792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32580
32581 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32582 * elf/tst-auditmod3b.c: Likewise.
32583 * elf/tst-auditmod4b.c: Likewise.
32584 * elf/tst-auditmod5b.c: Likewise.
32585 * elf/tst-auditmod6b.c: Likewise.
32586 * elf/tst-auditmod6c.c: Likewise.
32587 * elf/tst-auditmod7b.c: Likewise.
32588 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32589 * sysdeps/x86_64/preconfigure.in: Likewise.
32590 * sysdeps/x86_64/preconfigure: Regenerated.
32591
7e73e17d
L
325922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32593
32594 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32595 __ILP32__.
32596
c7a6ab72
AB
325972012-04-13 Antoine Balestrat <merkil33@gmail.com>
32598
32599 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32600 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32601
a9e8e0e0
CL
326022012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32603
32604 [BZ #13973]
32605 * locale/iso-639.def: Fix gl language name. Spotted by
32606 Yaron Shahrabani.
32607
ec98af7d
RM
326082012-04-12 Roland McGrath <roland@hack.frob.com>
32609
32610 [BZ #2074]
32611 * libio/libio.h (__io_write_fn): Update comment.
32612
247c3ede
PB
326132012-04-12 Petr Baudis <pasky@ucw.cz>
32614
32615 [BZ #2074]
32616 * stdio.texi (Hook Functions): The user provided writer function
32617 is not allowed to return -1.
32618
55939d6d
DM
326192012-04-11 David S. Miller <davem@davemloft.net>
32620
32621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32622
90020f5a
MF
326232012-04-11 Mike Frysinger <vapier@gentoo.org>
32624
32625 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32626 Add a leading slash to rtkaio.
32627
288f9098
JM
326282012-04-11 Jim Meyering <meyering@redhat.com>
32629
90020f5a
MF
32630 [BZ #11959]
32631 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32632 It is not necessarily an error to ignore fwrite's return
32633 value. One can reliably use ferror to test for errors after
32634 the fact.
288f9098 32635
4be2b570
L
326362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32637
32638 * bits/types.h (__snseconds_t): New type.
32639 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32640
32641 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32643 (__SNSECONDS_T_TYPE): Likewise.
32644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32645 (__SNSECONDS_T_TYPE): Likewise.
32646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32647 (__SNSECONDS_T_TYPE): Likewise.
32648
288f9098 326492012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
32650
32651 [BZ #2636]
32652 * manual/time.texi (Processor Time): Return type of times is
32653 elapsed real time since an arbitrary point in the past.
32654 (CPU Time): Move CLK_TCK from here...
32655 (Processor Time): ...to here. Correct description.
32656 * manual/conf.texi (Constants for Sysconf): Correct description of
32657 _SC_CLK_TCK.
32658
d7dd4413
DM
326592012-04-10 David S. Miller <davem@davemloft.net>
32660
32661 [BZ #13967]
32662 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32663 where the is a gap between DT_REL(A) and DT_JMPREL.
32664
b46068fc
L
326652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32666
32667 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32668 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32669 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32670
73d65cc3
SP
326712012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32672
32673 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32674 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32675 (dl_main): Handle --inhibit-cache.
32676 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32677 _dl_inhibit_cache.
32678 * elf/dl-load.c (_dl_map_object): Use it.
32679 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32680
bcc8d661
JM
326812012-04-09 Joseph Myers <joseph@codesourcery.com>
32682
8f9a2fae
JM
32683 [BZ #13872]
32684 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32685 (__ieee754_powl): Saturate large exponents rather than testing for
32686 overflow of y*log2(x).
32687 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32688 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32689 exceptions.
32690
bcc8d661
JM
32691 [BZ #11521]
32692 * math/s_ctan.c: Include <float.h>.
32693 (__ctan): Avoid internal overflow or cancellation in calculating
32694 denominator.
32695 * math/s_ctanf.c: Likewise.
32696 * math/s_ctanl.c: Likewise.
32697 * math/s_ctanh.c: Likewise.
32698 * math/s_ctanhf.c: Likewise.
32699 * math/s_ctanhl.c: Likewise.
32700 * math/libm-test.inc (ctan_test): Add more tests.
32701 (ctanh_test): Likewise.
32702 * sysdeps/i386/fpu/libm-test-ulps: Update.
32703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32704
823fbbb4
AJ
327052012-04-09 Andreas Jaeger <aj@suse.de>
32706
03879793
AJ
32707 [BZ #6894]
32708 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32709 is an optional BSD extension.
32710
823fbbb4
AJ
32711 [BZ #10254]
32712 * manual/stdio.texi (Opening Streams): Document additional fopen
32713 parameters.
32714
8de131cb
RM
327152012-04-09 Roland McGrath <roland@hack.frob.com>
32716
32717 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32718 %eax without telling the compiler.
32719
c0ed9d7d
CD
327202012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32721
32722 [BZ # 13963]
32723 * manual/install.texi: Use sourceware.org.
32724
c483f6b4
JM
327252012-04-09 Joseph Myers <joseph@codesourcery.com>
32726
d7dd9453
JM
32727 [BZ #13873]
32728 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32729 (__ieee754_pow): Generate overflow and underflow using huge*huge
32730 and tiny*tiny rather than just returning constant infinity or zero
32731 for large exponents.
32732 * math/libm-test.inc (pow_test): Require overflow exceptions for
32733 applicable cases of large exponents.
32734
c483f6b4
JM
32735 [BZ #706]
32736 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32737 (__ieee754_pow): Use iterative multiplication algorithm only for
32738 integer exponents with absolute value below 1024. Check for odd
32739 integer exponents when using algorithm for real exponents.
32740 * math/libm-test.inc (pow_test): Add more tests.
32741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32742
d2de7579
JM
327432012-04-08 Joseph Myers <joseph@codesourcery.com>
32744
32745 [BZ #13705]
32746 * math/libm-test.inc (exp_test): Do not allow overflow exception
32747 on underflow test.
32748
f77f1232
AJ
327492012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32750
32751 [BZ #13705]
32752 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32753 instead of __kernel_standard_f.
32754
3884932b
MF
327552012-04-08 Mike Frysinger <vapier@gentoo.org>
32756
32757 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32758 * sysdeps/x86_64/memset_chk.S: Likewise.
32759
54472e9c
AJ
327602012-04-08 Andreas Jaeger <aj@suse.de>
32761
6ab0fbfc
AJ
32762 [BZ #10153]
32763 * manual/startup.texi (Environment Access): Describe return value
32764 for putenv and setenv.
32765
61efba8c
AJ
32766 [BZ #6895]
32767 * manual/filesys.texi (Directory Entries): Add description for
32768 DT_LNK.
32769
95c3f29a
AJ
32770 [BZ #6890]
32771 * manual/filesys.texi (Directory Entries): Clarify that it's file
32772 system not operating system in the description of DT_UNKNOWN.
32773
54472e9c
AJ
32774 [BZ #6578]
32775 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32776
624254b1
SC
327772012-04-08 Stephen Compall <s11@member.fsf.org>
32778
32779 [BZ #6649]
32780 * manual/llio.texi (Opening and Closing Files): Add cross
32781 reference to explain mode argument.
32782
1e4920e0
MF
327832012-04-07 Mike Frysinger <vapier@gentoo.org>
32784
32785 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32786 * sysdeps/x86_64/memset_chk.S: Likewise.
32787
5ed848f3
DM
327882012-04-07 David S. Miller <davem@davemloft.net>
32789
32790 * elf/elf.h (R_SPARC_WDISP10): Define.
32791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32792 R_SPARC_SIZE32.
32793 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32794 R_SPARC_SIZE64 and R_SPARC_H34.
32795
96154cd8
CD
327962012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32797
32798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32799 conditions and remove no longer applicable assertion.
32800
9904dc47
L
328012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32802
32803 * bits/byteswap.h: Include <features.h>.
32804 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32805 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32806
f8887d0a
L
328072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32808
32809 * bits/byteswap.h (__bswap_16): Removed.
32810 Include <bits/byteswap-16.h> to get __bswap_16.
32811 * sysdeps/i386/bits/byteswap.h: Likewise.
32812 * sysdeps/s390/bits/byteswap.h: Likewise.
32813 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32814 * bits/byteswap-16.h: New file.
32815 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32816 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32817 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32818 * string/Makefile (headers): Add bits/byteswap-16.h.
32819
62470f60
PP
328202012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32821
32822 [BZ #13895]
32823 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32824 extra indirection.
32825 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32826 * nss/tst-nss-static.c: New.
32827
4dad7bab
RM
328282012-04-06 Robert Millan <rmh@gnu.org>
32829
32830 [BZ #6486]
32831 * manual/llio.texi (File Position Primitive): lseek
32832 refers to WHENCE when it really means OFFSET.
32833
e9142a17
AJ
328342012-04-06 Andreas Jaeger <aj@suse.de>
32835
2c040eff
AJ
32836 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32837 strncmp declarations.
32838
e9142a17
AJ
32839 * abilist/libc.abilist: Add __poll and __ppoll.
32840
ff9f1c5f
DM
328412012-04-05 David S. Miller <davem@davemloft.net>
32842
dcd2ae90
DM
32843 * scripts/check-local-headers.sh: Accept a host triplet in the
32844 path matched by the exclude regexp.
32845
993eb054
DM
32846 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32847 definition.
32848 * sysdeps/powerpc/powerpc32/dl-machine.h
32849 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32850 * sysdeps/s390/s390-32/dl-machine.h
32851 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32852 * sysdeps/sparc/sparc32/dl-machine.h
32853 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32854 * sysdeps/sparc/sparc64/dl-machine.h
32855 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32856
ff9f1c5f
DM
32857 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32858 lazy binding.
48e2e132 32859 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32860 undefined symbol errors.
32861
48e2e132 32862 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32863 DT_NEEDED entries.
32864
e80d6f94
MM
328652012-04-05 Michael Matz <matz@suse.de>
32866
32867 [BZ #13592]
32868 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32869
349fa79f
AJ
328702012-04-05 Andreas Jaeger <aj@suse.de>
32871
32872 [BZ #13908]
32873 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32874 comment.
32875
f402708f
KK
328762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32877
32878 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32879 which ROUND is no valid rounding mode.
32880
2ecccfc9
KK
328812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32882
32883 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32884 read again.
32885 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32886
8a53f50f
KK
328872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32888
32889 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32890 an exception using FPU order intentionally.
32891
328922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32893
32894 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32895 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32896 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32897 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32898
d653abb7
SJ
328992012-04-05 Simon Josefsson <simon@josefsson.org>
32900
32901 [BZ #12340]
32902 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32903 EINVAL when BUFLEN is too smal.
32904
c3b1bf7d
TS
329052012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32906
32907 [BZ #13553]
32908 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32909 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32910
b1aa60f3
AJ
329112012-04-03 Andreas Jaeger <aj@suse.de>
32912
c3b1bf7d 32913 [BZ #13938]
67f60a26
AJ
32914 * manual/setjmp.texi (System V contexts): Fix sentence.
32915
b1aa60f3
AJ
32916 [BZ #13926]
32917 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32918 New macro for this case.
32919 [!__GNUC__] (__bswap_64): New inline function for this case.
32920 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32921 * bits/byteswap.h: Likewise.
32922 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32923 ull, guard with __GLIBC_HAVE_LONG_LONG.
32924
32925 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32926 __GLIBC_HAVE_LONG_LONG.
32927
32928 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32929 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32930
39c59c35
TMQMF
329312012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32932
32933 [BZ #13691]
32934 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32935 inptr and inend, rather than using last_ch.
32936
135ffda8
DM
329372012-04-02 David S. Miller <davem@davemloft.net>
32938
32939 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32940 * stdio-common/printf-parse.h (read_int): Change return type to
32941 'int', return -1 on INT_MAX overflow.
32942 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32943 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32944 overflows INT_MAX. Check for overflow of in-format-string precision
32945 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32946 SIZE_MAX not INT_MAX for integer overflow test.
32947 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32948 skip the construct in the format string but do not record anything.
32949 * stdio-common/bug22.c: Adjust to test both width/prevision
32950 INT_MAX overflow as well as total length INT_MAX overflow. Check
32951 explicitly for proper errno values.
32952
228c019e
TS
329532012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32954
302cadd3
TS
32955 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32956 CHAR_MAX.
32957 * string/test-strcmp.c [! WIDE]: Likewise.
32958 * time/tst-mktime2.c: Likewise for INT_MAX.
32959 * string/test-string.h: #include <sys/param.h> for MIN.
32960
228c019e
TS
32961 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32962 * sysdeps/i386/init-first.c (init): Likewise.
32963 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32964 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32965 * sysdeps/sh/init-first.c (init): Likewise.
32966
cfa633f5
UD
329672012-04-01 Ulrich Drepper <drepper@gmail.com>
32968
32969 * po/ru.po: Update from translation team.
d1635ef8 32970 * po/vi.po: Likewise.
cfa633f5 32971
6cd0a5ea
SP
329722012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32973
32974 * resolv/nss_dns/dns-host.c: Merge copyright years.
32975
4b43400f
LD
329762012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32977
32978 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32979 Optimize memcpy with prefetch if
32980 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32981 src, dst pointers have unequal 16 byte alignments.
32982
48c41d04
SP
329832012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32984
32985 [BZ #13928]
32986 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32987 from a CNAME entry and return the minimum ttl for the query.
32988 (gaih_getanswer_slice): Likewise.
32989
b8dc394d
JL
329902012-03-30 Jeff Law <law@redhat.com>
32991
32992 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32993 due to long keys.
32994 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32995 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32996
2f5a5ed0
JL
32997 * resolv/nss_dns/dns-host.c: Update copyright year.
32998
1d39e359
UD
329992012-03-30 Ulrich Drepper <drepper@gmail.com>
33000
c030f70c 33001 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33002 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33003
1d39e359
UD
33004 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33005 comments for sendmmsg.
33006
330072012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33008
33009 [BZ #13691]
33010 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33011 with only 1 character between 0x0041 and 0x01b0.
33012 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33013 * wcsmbs/tst-mbsnrtowcs.c: New file.
33014
20fde227
DM
330152012-03-29 David S. Miller <davem@davemloft.net>
33016
33017 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33018 small copies by hand.
33019
984a4237
JL
330202012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33021
33022 [BZ #13761]
57f41c40
AS
33023 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33024 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33025 group memberships.
984a4237 33026
18c9d62b
DM
330272012-03-28 David S. Miller <davem@davemloft.net>
33028
88d85d4f
DM
33029 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33030 that branches into memcpy.
33031 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33033 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33034 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33036 bits.
33037 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33038 implementation too.
33039 * sysdeps/sparc/mempcpy.S: New file.
33040
e5aa83e1
DM
33041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33042 the IFUNC routine in the libc case.
33043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33044
88570753
DM
33045 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33046 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33047 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33048 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33049 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33050 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33051 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33052 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33053
249d7567
DM
33054 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33055 loop to 256 bytes instead of 64 bytes and fix test signedness.
33056
18c9d62b
DM
33057 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33058 * sysdeps/sparc/sparc32/Makefile: rather than here...
33059 * sysdeps/sparc/sparc64/Makefile: and here.
33060
05f3d1f6
UD
330612012-03-28 Ulrich Drepper <drepper@gmail.com>
33062
33063 * malloc/mallocbug.c: Avoid warnings about unused variables.
33064
86ae07a8
JL
330652012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33066
33067 [BZ #13760]
33068 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33069 in the right place. Discard and retry query if response is
33070 larger than input buffer size.
33071
41bf21a1
JM
330722012-03-28 Joseph Myers <joseph@codesourcery.com>
33073
d6270972
JM
33074 [BZ #369]
33075 [BZ #2678]
33076 [BZ #3866]
33077 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33078 x for large integer exponent.
33079 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33080 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33081 sign of result as needed afterwards.
33082 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33083 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33084 result for underflowing pow the same as for overflow.
33085 (__kernel_standard_l): Handle powl overflow and underflow here
33086 rather than calling __kernel_standard.
33087 * math/libm-test.inc (pow_test): Add more tests.
33088
414fca03 33089 [BZ #3868]
41bf21a1
JM
33090 [BZ #13879]
33091 [BZ #13910]
33092 [BZ #13911]
33093 [BZ #13912]
33094 [BZ #13913]
33095 [BZ #13915]
33096 [BZ #13916]
33097 [BZ #13917]
33098 [BZ #13918]
33099 [BZ #13919]
33100 [BZ #13920]
33101 [BZ #13921]
33102 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33103 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33104 (__kernel_standard_l): New function.
33105 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33106 __kernel_standard.
33107 * math/w_acosl.c (__acosl): Likewise.
33108 * math/w_asinl.c (__asinl): Likewise.
33109 * math/w_atan2l.c (__atan2l): Likewise.
33110 * math/w_atanhl.c (__atanhl): Likewise.
33111 * math/w_coshl.c (__coshl): Likewise.
33112 * math/w_exp10l.c (__exp10l): Likewise.
33113 * math/w_exp2l.c (__exp2l): Likewise.
33114 * math/w_fmodl.c (__fmodl): Likewise.
33115 * math/w_hypotl.c (__hypotl): Likewise.
33116 * math/w_j0l.c (__j0l, __y0l): Likewise.
33117 * math/w_j1l.c (__j1l, __y1l): Likewise.
33118 * math/w_jnl.c (__jnl, __ynl): Likewise.
33119 * math/w_lgammal.c (__lgammal): Likewise.
33120 * math/w_log10l.c (__log10l): Likewise.
33121 * math/w_log2l.c (__log2l): Likewise.
33122 * math/w_logl.c (__logl): Likewise.
33123 * math/w_powl.c (__powl): Likewise.
33124 * math/w_remainderl.c (__remainderl): Likewise.
33125 * math/w_scalbl.c (sysv_scalbl): Likewise.
33126 * math/w_sinhl.c (__sinhl): Likewise.
33127 * math/w_sqrtl.c (__sqrtl): Likewise.
33128 * math/w_tgammal.c (__tgammal): Likewise.
33129 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33130 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33131 * math/libm-test.inc (acos_test): Add more tests.
33132 (acosh_test): Likewise.
33133 (asin_test): Likewise.
33134 (atanh_test): Likewise.
33135 (exp_test): Likewise.
33136 (exp10_test): Likewise.
33137 (exp2_test): Likewise.
33138 (expm1_test): Likewise.
33139 (lgamma_test): Likewise.
33140 (log_test): Likewise.
33141 (log10_test): Likewise.
33142 (log1p_test): Likewise.
33143 (log2_test): Likewise.
33144 (pow_test): Do not allow some spurious overflow exceptions.
33145 (sqrt_test): Add more tests.
33146 (tgamma_test): Likewise.
33147 (y0_test): Likewise.
33148 (y1_test): Likewise.
33149 (yn_test): Likewise.
33150
dd62fda6
AB
331512012-03-27 Anton Blanchard <anton@samba.org>
33152
33153 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33154 MAP_HUGETLB.
33155 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33156 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33157 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33158
1e3cdfda
AJ
331592012-03-27 David S. Miller <davem@davemloft.net>
33160
b855ab85
DM
33161 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33162
1e3cdfda
AJ
33163 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33164 have-as-vis3 check.
33165
331662012-03-27 Andreas Jaeger <aj@suse.de>
33167
33168 * sysdeps/x86_64/elf/configure.in: Moved to ...
33169 * sysdeps/x86_64/configure.in: ... here.
33170 * sysdeps/x86_64/elf/start.S: Moved to ...
33171 * sysdeps/x86_64/start.S: ... here.
33172 * sysdeps/x86_64/elf/configure: Delete.
33173
33174 * sysdeps/x86_64/configure.in: Merge contents from
33175 sysdeps/i386/configure.in (without i686 check).
33176
33177 * sysdeps/i386/elf/Versions: Merge into ...
33178 * sysdeps/i386/Versions: ... this.
33179 * sysdeps/i386/elf/Versions: Delete file.
33180 * sysdeps/i386/elf/start.S: Moved to ...
33181 * sysdeps/i386/start.S: ...here.
33182 * sysdeps/i386/elf/configure.in: Merge into...
33183 * sysdeps/i386/configure.in: ...here.
33184 * sysdeps/i386/elf/configure.in: Delete file.
33185 * sysdeps/i386/elf/configure: Delete file.
33186
33187 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33188 * debug/backtracesyms.c: ... here.
33189 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33190 * debug/backtracesymsfd.c: ... here.
33191 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33192 * sysdeps/generic/ifunc-sel.h: ... here.
33193
33194 * sysdeps/unix/i386/start.c: Delete file.
33195 * sysdeps/unix/sparc/start.c: Delete file.
33196 * sysdeps/unix/start.c: Delete file.
33197
33198 * sysdeps/sh/elf/configure.in: Moved to ...
33199 * sysdeps/sh/configure.in: ... here.
33200 * sysdeps/sh/elf/start.S: Moved to ...
33201 * sysdeps/sh/start.S: ... here.
33202 * sysdeps/sh/elf/configure: Delete file.
33203
33204 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33205 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33206 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33207 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33208 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33209 * sysdeps/powerpc/powerpc64/start.S: here.
33210 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33211 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33212 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33213 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33214 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33215
33216 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33217 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33218 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33219 * sysdeps/powerpc/powerpc32/start.S: ... here.
33220 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33221 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33222 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33223
33224 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33225 * sysdeps/powerpc/ifunc-sel.h: ... here.
33226 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33227 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33228
33229 * sysdeps/sparc/elf/configure.in: Moved to ...
33230 * sysdeps/sparc/configure.in: ... here.
33231 * sysdeps/sparc/elf/configure: Delete file.
33232 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33233 * sysdeps/sparc/sparc32/start.S: ... here.
33234 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33235 * sysdeps/sparc/sparc64/start.S: ... here.
33236 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33237 * sysdeps/sparc/sparc32/Makefile: ... this.
33238 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33239 * sysdeps/sparc/sparc64/Makefile: ... this.
33240
33241 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33242 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33243 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33244 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33245 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33246 * sysdeps/s390/s390-32/setjmp.S: ... here.
33247 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33248 * sysdeps/s390/s390-32/configure.in: ... here.
33249 * sysdeps/s390/s390-32/elf/configure: Delete file.
33250 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33251 * sysdeps/s390/s390-32/start.S: ... here.
33252
33253 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33254 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33255 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33256 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33257 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33258 * sysdeps/s390/s390-64/setjmp.S: ... here.
33259 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33260 * sysdeps/s390/s390-64/configure.in: ... here
33261 * sysdeps/s390/s390-64/elf/configure: Delete file.
33262 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33263 * sysdeps/s390/s390-64/start.S: ... here.
33264 * sysdeps/s390/s390-64/elf/configure: Delete.
33265
33266 * configure.in: Remove support for elf directories in sysdeps.
33267
33268 * configure: Regenerated.
33269 * sysdeps/i386/configure: Regenerated.
33270 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33271 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33272 * sysdeps/s390/s390-32/configure: Regenerated.
33273 * sysdeps/s390/s390-64/configure: Regenerated.
33274 * sysdeps/sh/configure: Regenerated.
33275 * sysdeps/sparc/configure: Regenerated.
33276 * sysdeps/x86_64/configure: Regenerated.
33277
a3f61311
AS
332782012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33279
c876e002
AS
33280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33281
a3f61311
AS
33282 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33283 denormal result into account.
33284
ac4c54f0
RM
332852012-03-25 Roland McGrath <roland@hack.frob.com>
33286
33287 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33288 Reported by Allan McRae <allan@archlinux.org>.
33289
6a9b9c02
JL
332902012-03-23 Jeff Law <law@redhat.com>
33291
33292 * nss/getnssent.c (__nss_getent): Fix typo.
33293
4c42a0c1
DM
332942012-03-23 David S. Miller <davem@davemloft.net>
33295
33296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33297
1532c7ac
L
332982012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33299
33300 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33301 to pad to uint64_t for each field.
33302 (dl_tls_index): Replace unsigned long with uint64_t.
33303
3ff42526
PP
333042012-03-23 Daniel Jacobowitz <dmj@google.com>
33305 Paul Pluzhnikov <ppluzhnikov@google.com>
33306
33307 [BZ #6528]
33308 * grp/Makefile (otherlibs): Don't set it.
33309 * inet/Makefile (otherlibs): Likewise.
33310 * login/Makefile (otherlibs): Likewise.
33311 * nscd/Makefile (otherlibs): Likewise.
33312 * posix/Makefile (otherlibs): Likewise.
33313 * pwd/Makefile (otherlibs): Likewise.
33314 * rt/Makefile (otherlibs): Likewise.
33315 * sunrpc/Makefile (otherlibs): Likewise.
33316 * nss/Makefile (otherlibs): Likewise.
33317 Add libnss_files to routines and static-only-routines.
33318 ($(objpfx)getent): Remove rule.
33319 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33320 static-only-routines.
33321
7c69cd14
JM
333222012-03-22 Joseph Myers <joseph@codesourcery.com>
33323
33324 [BZ #13892]
33325 * math/s_cexp.c: Include <float.h>.
33326 (__cexp): Handle exp result overflowing not necessarily
33327 overflowing both real and imaginary parts of result.
33328 * math/s_cexpf.c: Likewise.
33329 * math/s_cexpl.c: Likewise.
33330 * math/libm-test.inc (cexp_test): Add more tests.
33331 * sysdeps/i386/fpu/libm-test-ulps: Update.
33332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33333
81b035fe
L
333342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33335
33336 * include/link.h (ELFW): New macro.
33337 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33338 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33339
1da7940c
L
333402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33341
33342 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33343 with uint64_t.
33344
b749dbb9
L
333452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33346
33347 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33348 declaration.
33349 (struct La_x32_retval): Likewise.
33350
2ff87f3f
L
333512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33352
33353 * sysdeps/x86_64/preconfigure.in: New file.
33354 * sysdeps/x86_64/preconfigure: New generated file.
33355
c0df8e69
JM
333562012-03-22 Joseph Myers <joseph@codesourcery.com>
33357
48e44791
JM
33358 [BZ #13824]
33359 * math/e_exp2l.c: Include <float.h>.
33360 (__ieee754_exp2l): Handle overflow and underflow cases
33361 separately. Only pass fractional part of argument to
33362 __ieee754_expl.
33363 * math/libm-test.inc (exp2_test): Add more tests.
33364
c0df8e69
JM
33365 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33366 negating x to take absolute value.
33367 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33368 Likewise.
33369 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33370 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33371 Likewise.
33372 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33373 computing low part if x was negated.
33374 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33375
c8e43ba7
L
333762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33377
33378 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33379 la_x32_gnu_pltexit.
33380 (pltexit): Cast int_retval to ptrdiff_t.
33381 * elf/tst-auditmod3b.c: Likewise.
33382 * elf/tst-auditmod4b.c: Likewise.
33383 * elf/tst-auditmod5b.c: Likewise.
33384 * elf/tst-auditmod6b.c: Likewise.
33385 * elf/tst-auditmod6c.c: Likewise.
33386 * elf/tst-auditmod7b.c: Likewise.
33387
33388 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33389 and x32_gnu_pltexit.
33390
33391 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33392 __ELF_NATIVE_CLASS.
33393 (La_x32_regs): New macro.
33394 (La_x32_retval): Likewise.
33395 (la_x32_gnu_pltenter): New function prototype.
33396 (la_x32_gnu_pltexit): Likewise.
33397
7998fa78
AS
333982012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33399
dcb33988
AS
33400 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33401 exponent.
33402
233fc563
AS
33403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33404
7998fa78
AS
33405 * configure.in (libc_cv_cc_nofma): Check for option to disable
33406 generation of FMA instructions.
33407 * configure: Regenerate.
33408 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33409 * sysdeps/ieee754/dbl-64/Makefile: New file.
33410 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33411 Remove brandred-fma4.
33412 (CFLAGS-brandred-fma4.c): Remove.
33413 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33414 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33415 define.
33416 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33417 define.
33418
8e95c99a
L
334192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33420
33421 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33422 LLONG_MAX != LONG_MAX.
33423 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33424 (_fitoa_word): Likewise.
33425 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33426 LLONG_MAX != LONG_MAX.
33427 * stdio-common/_itowa.h: Include <_itoa.h>.
33428 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33429 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33430 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33431 only if not defined.
33432 (_ITOA_WORD_TYPE): Likewise.
33433 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33434 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33435
6f4db457
DM
334362012-03-21 David S. Miller <davem@davemloft.net>
33437
33438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33439
7785fe5a
L
334402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33441
33442 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33443 of x86_64 when setting libc_cv_slibdir, libdir and
33444 libc_cv_localedir.
33445 * sysdeps/unix/sysv/linux/configure: Regenerated.
33446
4535cd55
JM
334472012-03-21 Joseph Myers <joseph@codesourcery.com>
33448
33449 * manual/lang.texi (Old Varargs): Remove section.
33450 (How Variadic): Update menu.
33451 (va_start): Do not mention varargs.h.
33452
17228132
TS
334532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33454 Joseph Myers <joseph@codesourcery.com>
33455
33456 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33457 link test.
33458 * configure: Regenerated.
33459
8149f976
TS
334602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33461
05f3d1f6
UD
33462 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33463 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33464 conformtest.pl
8149f976 33465
1a4ac776
JM
334662012-03-21 Joseph Myers <joseph@codesourcery.com>
33467
be22ce65
JM
33468 * NOTES: Remove.
33469 * Makefile (files-for-dist): Remove NOTES.
33470 (NOTES): Remove rule.
33471 * README: Don't refer to NOTES.
33472 * manual/creature.texi: Don't include macros.texi.
33473 * manual/intro.texi (creature.texi): Remove comment referring to
33474 NOTES.
33475
40b601fb
JM
33476 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33477 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33478 * configure: Regenerated.
33479 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33480 LIBC_TRY_CC_OPTION.
33481 (libc_cv_as_i686): Likewise.
33482 (libc_cv_cc_avx): Likewise.
33483 (libc_cv_cc_sse2avx): Likewise.
33484 (libc_cv_cc_fma4): Likewise.
33485 (libc_cv_cc_novzeroupper): Likewise.
33486 * sysdeps/i386/configure: Regenerated.
33487
1a4ac776
JM
33488 [BZ #13883]
33489 * sysdeps/i386/fpu/s_cexp.S: Remove.
33490 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33491 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33492 * math/libm-test.inc (cexp_test): Add more tests.
33493 * sysdeps/i386/fpu/libm-test-ulps: Update.
33494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33495
a458e7fe
AM
334962012-03-21 Allan McRae <allan@archlinux.org>
33497
33498 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33499
0cb7efc5
JM
335002012-03-21 Joseph Myers <joseph@codesourcery.com>
33501
33502 [BZ #13871]
33503 * math/w_exp2.c: Do not include <float.h>.
33504 (o_threshold, u_threshold): Remove.
33505 (__exp2): Calculate result before checking finiteness and calling
33506 __kernel_standard.
33507 * math/w_exp2f.c: Likewise.
33508 * math/w_exp2l.c: Likewise.
33509 * math/libm-test.inc (exp2_test): Require overflow exception for
33510 1e6 input.
2460d3aa
JM
33511
33512 [BZ #3866]
33513 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33514 range of signed 64-bit integers before using fistpll. Remove
33515 checks for whether integers fit in mantissa bits.
33516 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33517 the range of signed 32-bit integers before using fistpl. Remove
33518 checks for whether integers fit in mantissa bits.
33519 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33520 (__ieee754_powl): Test for y outside the range of signed 64-bit
33521 integers before using fistpll. Reduce 64-bit values to 63-bit
33522 ones as needed.
33523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33524 divide-by-zero is raised for zero to large negative powers.
33525 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33526 (__ieee754_powl): Test for y outside the range of signed 64-bit
33527 integers before using fistpll. Reduce 64-bit values to 63-bit
33528 ones as needed.
33529 * math/libm-test.inc (pow_test): Add more tests.
33530
eb96ffb0
L
335312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33532
33533 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33534 <stdio-common/_itoa.h>.
33535 * debug/segfault.c: Likewise.
33536 * elf/dl-cache.c: Likewise.
33537 * elf/dl-minimal.c: Likewise.
33538 * elf/dl-misc.c: Likewise.
33539 * elf/dl-sysdep.c: Likewise.
33540 * elf/dl-version.c: Likewise.
33541 * elf/rtld.c: Likewise.
33542 * hurd/hurdsock.c: Likewise.
33543 * hurd/lookup-retry.c: Likewise.
33544 * malloc/malloc.c: Likewise.
33545 * malloc/mtrace.c: Likewise.
33546 * nscd/nscd_getgr_r.c: Likewise.
33547 * nscd/nscd_getpw_r.c: Likewise.
33548 * nscd/nscd_getserv_r.c: Likewise.
33549 * posix/getopt_init.c: Likewise.
33550 * posix/wordexp.c: Likewise.
33551 * stdio-common/_itoa.c: Likewise.
33552 * stdio-common/printf_fphex.c: Likewise.
33553 * stdio-common/vfprintf.c: Likewise.
33554 * string/_strerror.c: Likewise.
33555 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33556 * sysdeps/i386/i686/hp-timing.h: Likewise.
33557 * sysdeps/mach/_strerror.c: Likewise.
33558 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33559 * sysdeps/mach/hurd/sethostid.c: Likewise.
33560 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33561 * sysdeps/mach/xpg-strerror.c: Likewise.
33562 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33563 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33564 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33565 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33566 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33567 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33568 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33569 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33570 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33571 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33572 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33573 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33574 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33575 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33576 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33577 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33578 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33579 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33580 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33581 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33582 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33583
33584 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33585
33586 * stdio-common/_itoa.h: Moved to ...
33587 * sysdeps/generic/_itoa.h: Here.
33588
33589 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33590
33591 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33592 instead of "_itoa.h" and "_itowa.h".
33593 * stdio-common/vfprintf.: Likewise.
33594
d1af992d
L
335952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33596
33597 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33598 <bits/wordsize.h>.
33599 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33600 (__signbit): Likwise.
33601 (llrintf): Likwise.
33602 (llrint): Likwise.
33603
114883e0
L
336042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33605
33606 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33607 __WORDSIZE != 64.
33608
c135cc1b
JM
336092012-03-20 Joseph Myers <joseph@codesourcery.com>
33610
33611 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33612 OVERFLOW_EXCEPTION_OK.
33613 * math/libm-test.inc ("Philosophy"): Update comment about
33614 exception testing.
33615 (OVERFLOW_EXCEPTION): Define.
33616 (OVERFLOW_EXCEPTION_OK): Likewise.
33617 (INVALID_EXCEPTION_OK): Renumber.
33618 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33619 (IGNORE_ZERO_INF_SIGN): Likewise.
33620 (test_exceptions): Handle FE_OVERFLOW.
33621 (exp10_test): Expect overflow exceptions.
33622 (exp2_test): Likewise.
33623 (expm1_test): Likewise.
33624 (nextafter_test): Likewise.
33625 (pow_test): Likewise.
33626 (scalbn_test): Likewise.
33627 (scalbln_test): Likewise.
33628
95443d88
L
336292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33630
33631 * sysdeps/x86_64/bits/atomic.h
33632 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33633 64bit integer.
33634 (atomic_exchange_acq): Likewise.
33635 (__arch_exchange_and_add_body): Likewise.
33636 (__arch_add_body): Likewise.
33637 (atomic_add_negative): Likewise.
33638 (atomic_add_zero): Likewise.
33639
490df6c4
L
336402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33641
c2722551 33642 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
33643 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33644
5e52b189
L
336452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33646
33647 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33648 Check __x86_64__ instead of __WORDSIZE.
33649
a9879d4c
L
336502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33651
33652 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33653
5df98260
DM
336542012-03-19 David S. Miller <davem@davemloft.net>
33655
e1497744
DM
33656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33657
5df98260
DM
33658 * sysdeps/sparc/fpu/fenv_private.h: New file.
33659 * sysdeps/sparc/fpu/math_private.h: Use it.
33660 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33661 Remove.
57f41c40 33662 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
33663 (libc_feholdexcept_setroundl): Remove.
33664 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33665 Remove.
33666 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33667 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33668
b4c35121
L
336692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33670
33671 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33672 int64_t instead of long int.
33673 (INSERT_WORDS64): Likwise.
33674
56965fd7
L
336752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33676
33677 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33678 _Unwind_GetCFA return to _Unwind_Ptr first.
33679
83d1aec8
JM
336802012-03-19 Joseph Myers <joseph@codesourcery.com>
33681
1897ad44
JM
33682 [BZ #13629]
33683 * math/s_clog.c: Include <float.h>.
33684 (__clog): Scale large or subnormal inputs.
33685 * math/s_clogf.c: Likewise.
33686 * math/s_clogl.c: Likewise.
33687 * math/s_clog10.c: Include <float.h>.
33688 (M_LOG10_2): Define.
33689 (__clog10): Scale large or subnormal inputs.
33690 * math/s_clog10f.c: Likewise.
33691 * math/s_clog10l.c: Likewise.
33692 * math/libm-test.inc (clog_test): Add more tests.
33693 (clog10_test): Likewise.
33694 * sysdeps/i386/fpu/libm-test-ulps: Update.
33695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33696
7726d6a9
JM
33697 [BZ #11451]
33698 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33699 x and y.
33700 * math/libm-test.inc (atan2_test): Add another test.
33701
83d1aec8
JM
33702 * Makerules (common-objdir-compile): Remove.
33703 * sysdeps/unix/Makefile (config-generated): Do not add
33704 $(unix-generated) to variable.
33705 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33706 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33707 Remove rule.
33708 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33709 Likewise.
33710 [generic bits/local_lim.h] (before-compile): Do not append to
33711 variable.
33712 [generic bits/local_lim.h] (common-generated): Likewise.
33713 [generic sys/param.h] (before-compile): Do not append to variable.
33714 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33715 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33716 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33717 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33718 include.
33719 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33720 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33721 [generic sys/param.h] ($(addprefix
33722 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33723 [generic sys/param.h] (common-generated): Do not append to
33724 variable.
33725 [generic sys/param.h] (sysdep_headers): Likewise.
33726 [generic bits/errno.h] (before-compile): Do not append to
33727 variable.
33728 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33729 rule.
33730 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33731 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33732 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33733 [generic bits/errno.h] (common-generated): Do not append to
33734 variable.
33735 [generic bits/ioctls.h] (before-compile): Do not append to
33736 variable.
33737 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33738 rule.
33739 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33740 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33741 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33742 rule.
33743 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33744 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33745 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33746 [generic bits/ioctls.h] (common-generated): Do not append to
33747 variable.
33748 [generic sys/syscall.h] (syscall.h): Remove variable.
33749 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33750 rule.
33751 [generic sys/syscall.h] (before-compile): Do not append to
33752 variable.
33753 [generic sys/syscall.h] (common-generated): Likewise.
33754 * sysdeps/unix/errnos-tmpl.c: Remove file.
33755 * sysdeps/unix/errnos.awk: Likewise.
33756 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33757 * sysdeps/unix/ioctls.awk: Likewise.
33758 * sysdeps/unix/mk-local_lim.c: Likewise.
33759 * sysdeps/unix/snarf-ioctls: Likewise.
33760
4851a949
RH
337612012-03-19 Richard Henderson <rth@twiddle.net>
33762
bd37f2ee
RH
33763 * sysdeps/i386/fpu/fenv_private.h: New file.
33764 * sysdeps/i386/fpu/math_private.h: Use it.
33765 (math_opt_barrier, math_force_eval): Remove.
33766 (libc_feholdexcept_setround_53bit): Remove.
33767 (libc_feupdateenv_53bit): Remove.
33768 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33769 (math_opt_barrier, math_force_eval): Remove.
33770 (libc_feholdexcept): Remove.
33771 (libc_feholdexcept_setround): Remove.
33772 (libc_fetestexcept, libc_fesetenv): Remove.
33773 (libc_feupdateenv_test): Remove.
33774 (libc_feupdateenv, libc_feholdsetround): Remove.
33775 (libc_feresetround): Remove.
33776
d0adc922
RH
33777 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33778 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33779
0fe0f1f8
RH
33780 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33781 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33782 (libc_feupdateenv_testl): New.
33783 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33784 (libc_feupdateenv_testf): New.
33785 (libc_feupdateenv): Use libc_feupdateenv_test.
33786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33787 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33788
eb92c487
RH
33789 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33790 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33791 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33792 (libc_feresetround_noex): New.
33793 (libc_feresetround_noexf): New.
33794 (libc_feresetround_noexl): New.
33795 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33796 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33797 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33798 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33799 SET_RESTORE_ROUND.
33800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33801 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33802 (__cos): Likewise.
33803 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33804 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33805 SET_RESTORE_ROUND_NOEX.
33806 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33807 SET_RESTORE_ROUND_NOEXF.
33808 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33809 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33810 (libc_feholdsetroundf): New.
33811 (libc_feresetround, libc_feresetroundf): New.
33812
7d2e8012
RH
33813 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33814 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33815 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33816
b4dabbb4
RH
33817 * sysdeps/generic/math_private.h: Include <fenv.h>.
33818 (default_libc_feholdexcept): New.
33819 (default_libc_feholdexcept_setround): New.
33820 (default_libc_fesetenv, default_libc_feupdateenv): New.
33821 (libc_feholdexcept): Only define if undefined.
33822 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33823 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33824 (libc_feholdexcept_setroundl): Likewise.
33825 (libc_feholdexcept_setround_53bit): Likewise.
33826 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33827 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33828 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33829 (libc_feupdateenv_53bit): Likewise.
33830 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33831 (libc_feholdexcept): Convert from macro to inline function.
33832 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33833 (libc_fesetenv, libc_feupdateenv): Likewise.
33834
4851a949
RH
33835 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33836 not previously defined.
33837 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33838 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33839 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33840 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33841 * sysdeps/ieee754/flt-32/math_private.h: New file.
33842 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33843 math_private.h below SET_FLOAT_WORD.
33844 (__isnan, __isinf_ns, __finite): Remove.
33845 (__isnanf, __isinf_nsf, __finitef): Remove.
33846
e79d442e
AS
338472012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33848
33849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33850
90b80344
DM
338512012-03-17 David S. Miller <davem@davemloft.net>
33852
33853 [BZ #6471]
33854 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33855 for 2.16.
33856
edc21804
DM
338572012-03-16 David S. Miller <davem@davemloft.net>
33858
77e927af
DM
33859 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33860 warnings.
33861
374976dd
DM
33862 [BZ #6471]
33863 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33864 properly.
33865 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33866 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33867 sysdep_routines when subdir is sysvipc.
33868 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33869 __getshmlba helper.
33870
edc21804
DM
33871 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33872
473c3ef3
L
338732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33874
33875 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33876 [__LP64__].
33877
eb0f39b6
L
338782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33879
33880 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33881 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33882 (__lround): Renamed to ...
33883 (__llround): This. Replace long int with long long int.
33884 Define lround functions as aliases of llround functions.
33885 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33886
6b6cd74b
L
338872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33888
33889 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33890 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33891 adresses to uintptr_t. Replace "long int" and "unsigned long
33892 int" with "greg_t" on va_arg.
33893
f1a77b01
L
338942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33895
33896 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33897 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33898
33899 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33900 Move e_machine check before EI_CLASS check. Handle x32
33901 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33902 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33903 SKIP_EM_IA_64 and include
33904 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33905
33906 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33907 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33908 (add_system_dir): New macro.
33909
33910 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33911 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33912
11b90b9f
JM
339132012-03-16 Joseph Myers <joseph@codesourcery.com>
33914
c36e1d23
JM
33915 [BZ #2551]
33916 [BZ #2552]
33917 [BZ #2553]
33918 [BZ #2554]
33919 [BZ #2562]
33920 [BZ #2563]
33921 [BZ #2565]
33922 [BZ #2566]
33923 [BZ #2576]
33924 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33925 (y0): Likewise.
33926 * math/w_j0f.c (j0f): Likewise.
33927 (y0f): Likewise.
33928 * math/w_j0l.c (__j0l): Likewise.
33929 (__y0l): Likewise.
33930 * math/w_j1.c (j1): Likewise.
33931 (y1): Likewise.
33932 * math/w_j1f.c (j1f): Likewise.
33933 (y1f): Likewise.
33934 * math/w_j1l.c (__j1l): Likewise.
33935 (__y1l): Likewise.
33936 * math/w_jn.c (jn): Likewise.
33937 (yn): Likewise.
33938 * math/w_jnf.c (jnf): Likewise.
33939 (ynf): Likewise.
33940 * math/w_jnl.c (__jnl): Likewise.
33941 (__ynl): Likewise.
33942 * math/libm-test.inc (j0_test): Add more tests.
33943 (j1_test): Likewise.
33944 (jn_test): Likewise. Add trailing semicolon to existing test.
33945 (y0_test): Likewise.
33946 (y1_test): Likewise.
33947 * sysdeps/i386/fpu/libm-test-ulps: Update.
33948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33949
11b90b9f
JM
33950 [BZ #13851]
33951 [BZ #13854]
33952 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33953 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33954 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33955 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33956 (__tanl): Set errno for infinite argument.
33957 * sysdeps/i386/fpu/mptan.c: Remove.
33958 * sysdeps/i386/fpu/s_tan.S: Likewise.
33959 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33960 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33961 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33962 * math/libm-test.inc (tan_test): Add more tests and enable more
33963 tests for double and long double.
33964 * sysdeps/i386/fpu/libm-test-ulps: Update.
33965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33966
6a1bd2a1
JK
339672012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33968
33969 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33970 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33971
10a803e0
RM
339722012-03-16 Roland McGrath <roland@hack.frob.com>
33973
33974 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33975 * configure.in: Use it for both main tree and add-ons.
33976 * configure: Regenerated.
33977
f196c7f7
L
339782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33979
33980 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33981
8848d99d
JM
339822012-03-16 Joseph Myers <joseph@codesourcery.com>
33983
96cbe7f4
JM
33984 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33985 in comment.
33986
8848d99d
JM
33987 [BZ #13851]
33988 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33989 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33990 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33991 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33992 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33993 infinite argument.
33994 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33995 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33996 != 0 for prec == 2.
33997 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33998 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33999 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34000 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34001 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34002 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34003 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34004 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34005 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34006 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34007 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34008 * math/libm-test.inc (cos_test): Add more tests and enable more
34009 tests for long double.
34010 (sin_test): Likewise.
34011 (sincos_test): Likewise.
34012 * sysdeps/i386/fpu/libm-test-ulps: Update.
34013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34014
dd7f4703
DM
340152012-03-16 David S. Miller <davem@davemloft.net>
34016
34017 * sysdeps/sparc/fpu/math_private.h: New file.
34018
006f1daa
DM
340192012-03-15 David S. Miller <davem@davemloft.net>
34020
c0c83bc8
DM
34021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34022 file.
e6a62e18 34023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34025 file.
e6a62e18
DM
34026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34032 sysdep routines.
34033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34034
88cb87d9
DM
34035 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34036 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34037
006f1daa 34038 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34040 sparc-ifunc.h
006f1daa 34041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34043 Likewise.
34044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34045 Likewise.
006f1daa
DM
34046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34050 Likewise.
006f1daa
DM
34051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34056 Likewise.
34057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34058 Likewise.
006f1daa
DM
34059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34082 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34083
11e0098e
AS
340842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34085
34086 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34087 scaling.
34088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34089
e85b09d0
AJ
340902012-03-15 Andreas Jaeger <aj@suse.de>
34091
34092 [BZ #13852]
34093 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34094 ieee754/flt-32 implementation for sin, cos and sincos.
34095 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34096 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34097 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34098 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34099 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34100 ieee754/flt-32 implementation for tan.
34101
34102 * math/libm-test.inc (cos_test): Enable some large input tests for
34103 float as well
34104 (sin_test): Likewise.
34105 (sincos_test): Likewise.
34106 (tan_test): Add tests for large input.
34107
34108 * sysdeps/i386/fpu/libm-test-ulps: Update.
34109
81c64153
AJ
341102012-03-15 Andreas Jaeger <aj@suse.de>
34111
34112 [BZ #13658]
34113 * math/libm-test.inc (cos_test): Add more test cases.
34114 (sin_test): Likewise.
34115 (sincos_test): Likewise.
34116
7bbfa5c6
AJ
341172012-03-15 Andreas Jaeger <aj@suse.de>
34118
34119 [BZ #13837]
34120 * math/libm-test.inc (cos_test): Add a test case for large input
34121 value.
34122 (sin_test): Likewise.
34123 (sincos_test): Likewise.
34124
57f41c40
AS
341252012-03-15 Andreas Jaeger <aj@suse.de>
34126 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34127
34128 [BZ #13658]
0671f479 34129 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34130 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34131 * sysdeps/i386/fpu/branred.c: Likewise.
34132 * sysdeps/i386/fpu/dosincos.c: Likewise.
34133 * sysdeps/i386/fpu/mpa.c: Likewise.
34134 * sysdeps/i386/fpu/s_cos.S: Likewise.
34135 * sysdeps/i386/fpu/s_sin.S: Likewise.
34136 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34137 * sysdeps/i386/fpu/sincos32.c: Likewise.
34138
34139 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34140 Define.
34141 (libc_feupdateenv_53bit): Define.
34142 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34143 Define.
34144 (libc_feupdateenv_53bit): Define.
34145
34146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34147 53 bit (without extend i386 double precision).
34148
34149 * math/libm-test.inc (sincos_test): Add tests for large input.
34150 (sin): Likewise.
34151 (cos): Likewise.
34152
34153 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34154
9cad04ea
AS
341552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34156
34157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34158
f7062b9a
DM
341592012-03-15 David S. Miller <davem@davemloft.net>
34160
34161 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34162 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34163 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34164 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
34176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34177 file.
f7062b9a 34178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
34179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34180 file.
f7062b9a 34181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
34182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34183 file.
f7062b9a 34184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
34185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34186 file.
f7062b9a
DM
34187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34188 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34189 fmin/fmax sysdep routines.
34190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34191
7bd951ff
DM
341922012-03-14 David S. Miller <davem@davemloft.net>
34193
559398ab
DM
34194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34221 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34223 routines.
34224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34225 file.
559398ab 34226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34228 file.
559398ab 34229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34231 file.
559398ab 34232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34234 file.
559398ab 34235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34237 file.
559398ab 34238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34240 file.
34241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34242 file.
34243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34244 file.
34245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34246 file.
34247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34248 New file.
34249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34250 file.
34251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34252 file.
559398ab 34253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34255 file.
559398ab 34256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34258 file.
559398ab 34259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34261 file.
559398ab 34262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34264 VIS3 routines.
559398ab
DM
34265
34266 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34267 New file.
34268
5a1c1e32
DM
34269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34270
eae47a36
DM
34271 * sysdeps/sparc/configure.in: New file.
34272 * sysdeps/sparc/configure: Generate.
34273 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34274 * configure: Regenerate.
34275 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34276 * config.make.in (have-as-vis3): New.
34277 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34278 available use -Av9d instead of -Av9a.
34279 * sysdeps/sparc/sparc64/Makefile: Likewise.
34280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34282 New file.
34283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34284 file.
34285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34286 New file.
34287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34288 file.
eae47a36
DM
34289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34293 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34294
c0c83bc8
DM
34295 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34296 fzeros/fnegs to load 0x80000000 into a float register instead of
34297 using the stack.
7bd951ff
DM
34298 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34299
bd951ccb
JM
343002012-03-14 Joseph Myers <joseph@codesourcery.com>
34301
34302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34303 bits/syscall.h.
34304 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34305 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34306 ($(inst_includedir)/bits/syscall.h): Remove rule.
34307 ($(objpfx)bits/syscall.d): Include instead of
34308 $(objpfx)syscall-list.d.
34309 (generated): Change syscall-list.h and syscall-list.d to
34310 bits/syscall.h and bits/syscall.d.
34311
bb4e6db2
RM
343122012-03-14 Roland McGrath <roland@hack.frob.com>
34313
34314 [BZ #13846]
34315 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34316
aa4a2ae1
JM
343172012-03-14 Joseph Myers <joseph@codesourcery.com>
34318
e456826d
JM
34319 [BZ #13841]
34320 * math/s_csqrt.c: Include <float.h>.
34321 (__csqrt): Scale large or subnormal inputs.
34322 * math/s_csqrtf.c: Likewise.
34323 * math/s_csqrtl.c: Likewise.
34324 * math/libm-test.inc (csqrt_test): Add more tests.
34325 * sysdeps/i386/fpu/libm-test-ulps: Update.
34326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34327
aa4a2ae1
JM
34328 [BZ #13840]
34329 * math/libm-test.inc (hypot_test): Add more tests.
34330
7c10fd35
DM
343312012-03-13 David S. Miller <davem@davemloft.net>
34332
34333 [BZ #13840]
34334 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34335 double-precision for the calculation instead of scaling.
34336
f453b98b
JM
343372012-03-13 Joseph Myers <joseph@codesourcery.com>
34338
34339 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34340 manipulate bits before adding and subtracting TWO52[sx].
34341 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34342 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34343 Likewise.
34344 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34345
09a3453f
DM
343462012-03-13 David S. Miller <davem@davemloft.net>
34347
8e59da90
DM
34348 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34349 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34351 rtld-global-offsets.h
34352 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34353
2a8ab7f2
DM
34354 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34355 large parameters.
34356
10f62770
DM
34357 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34358
5f0bdb18
DM
34359 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34360 'err' in the ifdef scope in which it is actually used.
34361
09a3453f
DM
34362 * nss/nss_db/db-init.c: Include string.h
34363
b4b2eb5e
DM
343642012-03-12 David S. Miller <davem@davemloft.net>
34365
98bb2f1c
DM
34366 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34367 masking out of the most significant byte of random value used.
34368 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34369 Fix coding style in previous change.
34370
b4b2eb5e
DM
34371 * sysdeps/unix/sysv/linux/kernel-features.h
34372 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34373 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34374 expression.
34375 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34376 later.
34377
6e226b09
DM
343782012-03-11 David S. Miller <davem@davemloft.net>
34379
a1bcbd40
DM
34380 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34381 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34382 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34383 for 'resultvar' otherwise things get truncated on 64-bit.
34384
cb9d6174
DM
34385 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34386 Fix masking out of the most significant byte of random value used.
34387
6e226b09
DM
34388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34389
058c132d
AS
343902012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34391
34392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34393
2d2cd515
DM
343942012-03-09 David S. Miller <davem@davemloft.net>
34395
34396 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34397 variables with appropriate CPP guards.
57f41c40
AS
34398 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34399 from the frame pointer, not the stack pointer. Correct layout
34400 comments. Fix test on resulting framesize and the management of
34401 the outregs buffer for pltexit. Preserve floating point return
34402 values across _dl_call_pltexit call.
2d2cd515
DM
34403 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34404 framesize and the management of the outregs buffer for pltexit.
34405 Preserve floating point return values across _dl_call_pltexit
34406 call.
57f41c40
AS
34407 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34408 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34409 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
34410 (print_exit): Fix format string for return register value.
34411
9a07f9d0
JM
344122012-03-10 Joseph Myers <joseph@codesourcery.com>
34413
34414 * sunrpc/Makefile (others): Add rpcgen.
34415 ($(objpfx)rpcgen): Remove special build rule and dependency on
34416 libc.
34417 * sunrpc/rpcgen.c: New file.
34418
547b5e30
PE
344192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34420
c524201a
PE
34421 [BZ #13673]
34422 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34423 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34424 * sysdeps/i386/crti.S: Likewise.
34425 * sysdeps/i386/crtn.S: Likewise.
34426 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34427 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34428 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34429 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34430 * sysdeps/sh/crti.S: Likewise.
34431 * sysdeps/sh/crtn.S: Likewise.
34432 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34433
7b6235f2
PE
34434 [BZ #13673]
34435 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34436 with URL.
34437 * locale/programs/locfile-kw.gperf: Likewise.
34438 * locale/programs/charmap-kw.h: Regenerated.
34439 * locale/programs/locfile-kw.h: Likewise.
34440
547b5e30
PE
34441 [BZ #13673]
34442 * intl/plural.y: Replace FSF snail mail address with URL.
34443 * intl/plural.c: Regenerated.
34444
5f0a5dae
RH
344452012-03-09 Richard Henderson <rth@twiddle.net>
34446
34447 * include/math_private.h: Remove file.
34448 * math/math_private.h: Move file ...
34449 * sysdeps/generic/math_private.h: ... here.
34450
b8c03620
RH
34451 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34452 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34453 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34454
4e234f5d 34455 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
34456 and <math_private.h>.
34457 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34458 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34459 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34460 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34461 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34462 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34463 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34465 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34466 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34468 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34469 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34470 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34471 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34472 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34473 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34474 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34475 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34476 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34478 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34479 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34481 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34482 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34483 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34484 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34486 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34487 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34488 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34489 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34490 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34491 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34492 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34493 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34494 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34495 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34496 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34497 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34498 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34499 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34500 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34501 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34502 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34503 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34504 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34505 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34506 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34507 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34508 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34509 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34510 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34511 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34512 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34513 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34514 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34515 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34516 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34517 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34518 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34519 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34520 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34521 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34522 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34523 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34524 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34525 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34526 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34527 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34528 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34529 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34530 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34531 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34532 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34534 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34535 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34536 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34537 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34538 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34539 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34540 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34541 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34542 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34544 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34545 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34546 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34547 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34548 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34549 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34550 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34551 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34552 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34553 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34554 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34555 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34556 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34557 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34558 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34559 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34560 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34561 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34562 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34563 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34564 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34565 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34566 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34567 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34568 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34569 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34570 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34571 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34572 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34573 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34574 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34575 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34576 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34577 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34578 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34579 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34580 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34581 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34582 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34583 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34584 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34585 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34586 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34587 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34588 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34589 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34590 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34591 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34592 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34593 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34594 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34595 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34596 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34597 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34598 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34599 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34600 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34601 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34602 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34603 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34604 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34605 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34606 * sysdeps/ieee754/k_standard.c: Likewise.
34607 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34608 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34609 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34610 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34611 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34612 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34613 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34614 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34615 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34616 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34617 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34618 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34619 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34620 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34621 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34622 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34623 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34624 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34625 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34626 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34627 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34628 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34629 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34630 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34631 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34632 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34633 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34634 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34635 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34636 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34637 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34638 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34639 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34640 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34641 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34642 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34643 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34644 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34645 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34646 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34647 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34648 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34649 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34650 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34651 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34652 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34653 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34655 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34656 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34657 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34658 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34659 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34660 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34661 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34662 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34663 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34664 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34665 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34666 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34667 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34668 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34669 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34670 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34671 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34673 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34674 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34675 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34676 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34677 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34679 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34680 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34681 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34682 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34683 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34684 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34685 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34686 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34687 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34688 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34689 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34690 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34691 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34692 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34693 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34694 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34695 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34696 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34697 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34698 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34699 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34700 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34701 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34702 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34704 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34705 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34706 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34707 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34708 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34709 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34710 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34711 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34714 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34715 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34716 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34717 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34718 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34719 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34720 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34721 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34722 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34723 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34724 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34725 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34726 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34727 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34728 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34729 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34730 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34732 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34733 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34734 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34735 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34736 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34737 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34738 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34739 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34740 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34741 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34742 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34743 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34744 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34745 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34746 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34747 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34748 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34749 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34750 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34751 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34752 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34753 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34754 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34755 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34756 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34757 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34758 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34759 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34760 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34761 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34762 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34763 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34764 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34765 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34766 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34767 * sysdeps/ieee754/s_lib_version.c: Likewise.
34768 * sysdeps/ieee754/s_matherr.c: Likewise.
34769 * sysdeps/ieee754/s_signgam.c: Likewise.
34770 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34771 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34772 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34773 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34774 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34775 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34776 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34777 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34778 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34779 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34780 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34781 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34782 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34783 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34784 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34785 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34786 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34787 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34788 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34791
1991fa03
JM
347922012-03-09 Joseph Myers <joseph@codesourcery.com>
34793
34794 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34795 * sunrpc/rpc_main.c: Likewise.
34796 * sunrpc/rpc_svcout.c: Likewise.
34797
60d6f5a6
DM
347982012-03-09 David S. Miller <davem@davemloft.net>
34799
34800 * include/math_private.h: New file.
34801
4962050e
JM
348022012-03-09 Joseph Myers <joseph@codesourcery.com>
34803
02a6f887
JM
34804 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34805 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34806 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34807 from <bits/socket_type.h>.
34808 (enum __socket_type): Don't define here.
34809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34811 bits/socket_type.h.
34812
c6e013c1
JM
34813 [BZ #13566]
34814 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34815 checking __USE_GNU.
34816
4962050e
JM
34817 * Makerules ($(inst_includedir)/%.h): New rule.
34818 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34819 (install-others): Remove variable setting.
34820 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34821
38842f45
RH
348222012-03-08 Richard Henderson <rth@twiddle.net>
34823
67bb6da6
RH
34824 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34825 from macro to inline function; merge with the
34826 !__LIBC_INTERNAL_MATH_INLINES version.
34827 (__ieee754_sqrtf): Likewise.
34828
15194b4b
RH
34829 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34830 to inline function.
34831 (__rintf, __floor, __floorf): Likewise.
34832
64e21ede
RH
34833 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34834 macro to inline function.
34835 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34836
38842f45
RH
34837 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34838 not <math/math_private.h>.
34839
c64bf5fe
DM
348402012-03-08 David S. Miller <davem@davemloft.net>
34841
34842 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34843 copyright year.
34844 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34845
82d86f28
TS
348462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34847
34848 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34849 normalization.
34850 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34851 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34852
aea5d727
UD
348532012-03-08 Ulrich Drepper <drepper@gmail.com>
34854
34855 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34856 be defined individually, they must be defined as a block. Define
34857 S for printing a string instead of hidint the different by using a
34858 macro for adding the 'l'.
34859 * stdio-common/tst-fphex-wide.c: Adjust.
34860
70bca0a3
MP
348612012-03-07 Marek Polacek <polacek@redhat.com>
34862
34863 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34864
65b81130
MP
348652012-03-08 Marek Polacek <polacek@redhat.com>
34866
34867 [BZ #13806]
34868 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34869 * stdio-common/tst-fphex.c: Define a few macros to make the
34870 test reusable. Use them.
34871 * stdio-common/tst-fphex-wide.c: New file.
34872
07037eeb
JM
348732012-03-08 Joseph Myers <joseph@codesourcery.com>
34874
a7a93d50
JM
34875 [BZ #6911]
34876 * manual/macros.texi (gnusystems): New macro.
34877 (nongnusystems): Likewise.
34878 (gnulinuxhurdsystems): Likewise.
34879 (gnuhurdsystems): Likewise..
34880 (gnulinuxsystems): Likewise.
34881 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34882 variants of the GNU system, not "GNU system".
34883 * manual/conf.texi: Likewise.
34884 * manual/errno.texi: Likewise. Update example of errno macro
34885 expansion.
34886 * manual/filesys.texi: Likewise.
34887 (getumask): Document as specific to GNU/Hurd.
34888 * manual/install.texi: Likewise. Reword some references to
34889 GNU/Linux.
34890 * manual/intro.texi: Likewise.
34891 * manual/io.texi: Likewise.
34892 (File Name Portability): Detail which constraints are inapplicable
34893 to all GNU systems and which are only inapplicable to GNU/Hurd.
34894 * manual/job.texi: Likewise.
34895 * manual/llio.texi: Likewise.
34896 (O_NOCTTY): Document as present on GNU/Linux.
34897 * manual/maint.texi: Likewise.
34898 * manual/memory.texi: Likewise.
34899 * manual/pattern.texi: Likewise.
34900 * manual/pipe.texi: Likewise.
34901 * manual/process.texi: Likewise.
34902 * manual/resource.texi: Likewise.
34903 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34904 child on GNU/Hurd.
34905 * manual/setjmp.texi: Likewise.
34906 * manual/signal.texi: Likewise.
34907 * manual/startup.texi: Likewise.
34908 * manual/stdio.texi: Likewise.
34909 * manual/terminal.texi: Likewise.
34910 (ONLCR): Document as POSIX.
34911 (OXTABS): Document availability on GNU/Linux as XTABS.
34912 (ONOEOT): Document availability separately from other bits.
34913 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34914 * manual/time.texi: Likewise.
34915 * manual/users.texi: Likewise.
34916 * INSTALL: Regenerated.
34917 * sysdeps/gnu/errlist.c: Regenerated.
34918
07037eeb
JM
34919 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34920 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34921 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34922 puts.
34923 * configure: Regenerated.
34924
d1d3431a
JM
349252012-03-07 Joseph Myers <joseph@codesourcery.com>
34926
af6a1e37
JM
34927 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34928 default includes instead of AC_HEADER_CHECK.
34929 * sysdeps/i386/configure: Regenerated.
34930
d1d3431a
JM
34931 [BZ #10716]
34932 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34933 * math/s_cacoshf.c (__cacoshf): Likewise.
34934 * math/s_cacoshl.c (__cacoshl): Likewise.
34935 * math/s_casinh.c (__casinh): Set signs of result from argument.
34936 * math/s_casinhf.c (__casinhf): Likewise.
34937 * math/s_casinhl.c (__casinhl): Likewise.
34938 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34939 (casinh_test): Add more tests.
34940 * sysdeps/i386/fpu/libm-test-ulps: Update.
34941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34942
482ff4da
UD
349432012-03-07 Ulrich Drepper <drepper@gmail.com>
34944
872fda05
UD
34945 * po/zh_TW.po: Update from translation team.
34946
a4300c7a
UD
34947 * login/Makefile (distribute): Remove variable.
34948 * catgets/Makefile: Likewise.
34949 * mach/Makefile: Likewise.
34950 * malloc/Makefile: Likewise.
34951 * misc/Makefile: Likewise.
34952 * iconv/Makefile: Likewise.
34953 * nscd/Makefile: Likewise.
34954 * hurd/Makefile: Likewise.
34955 * manual/Makefile: Likewise.
34956 * locale/Makefile: Likewise.
34957 * intl/Makefile: Likewise.
34958 * conform/Makefile: Likewise.
34959 * nss/Makefile: Likewise.
34960 * time/Makefile: Likewise.
34961 * soft-fp/Makefile: Likewise.
34962 * dirent/Makefile: Likewise.
34963 * gmon/Makefile: Likewise.
34964 * po/Makefile: Likewise.
34965 * rt/Makefile: Likewise.
34966 * socket/Makefile: Likewise.
34967 * math/Makefile: Likewise.
34968 * signal/Makefile: Likewise.
34969 * debug/Makefile: Likewise.
34970 * elf/Makefile: Likewise.
34971 * timezone/Makefile: Likewise.
34972 * stdlib/Makefile: Likewise.
34973 * iconvdata/Makefile: Likewise.
34974 * sunrpc/Makefile: Likewise.
34975 * io/Makefile: Likewise.
34976 * argp/Makefile: Likewise.
34977 * inet/Makefile: Likewise.
34978 * hesiod/Makefile: Likewise.
34979 * grp/Makefile: Likewise.
34980 * csu/Makefile: Likewise.
34981 * wctype/Makefile: Likewise.
34982 * crypt/Makefile: Likewise.
34983 * libio/Makefile: Likewise.
34984 * string/Makefile: Likewise.
34985 * nis/Makefile: Likewise.
34986 * resolv/Makefile: Likewise.
34987 * stdio-common/Makefile: Likewise.
34988 * wcsmbs/Makefile: Likewise.
34989 * dlfcn/Makefile: Likewise.
34990 * posix/Makefile: Likewise.
34991
3b7c4e74 34992 [BZ #6959]
482ff4da
UD
34993 * timezone/Makefile: Don't install timezone files, just the programs
34994 and scripts.
34995
f72ed77d
UD
349962012-03-06 Ulrich Drepper <drepper@gmail.com>
34997
a000466f
UD
34998 * nss/databases.def: Add missing gshadow entry.
34999
f72ed77d
UD
35000 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35001
a53b7a4e
MP
350022012-03-06 Marek Polacek <polacek@redhat.com>
35003
35004 [BZ #13726]
35005 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35006 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35007 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35008 * stdio-common/tst-long-dbl-fphex.c: New file.
35009
e9258400
DM
350102012-03-06 David S. Miller <davem@davemloft.net>
35011
35012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35013 (set_obp_int): New function.
35014 (get_obp_int): New function.
35015 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35016 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35017 Avoid unused variable warnings on 'val' and use builtin_expect.
35018 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35019 __builtin_expect.
e9258400
DM
35020 (INLINE_CLONE_SYSCALL): Likewise.
35021
3bd2c723
DM
350222012-03-05 David S. Miller <davem@davemloft.net>
35023
35024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35025
bbb78d03
AS
350262012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35027
884c5db4
AS
35028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35029
bbb78d03
AS
35030 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35031 only for |x| >= 40.
35032 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35033
1c9f702a 350342012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35035
35036 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35037 Replace gettimeofday with __vdso_gettimeofday.
35038
7be16f82
RM
35039 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35040 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35041 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35042
35043 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35044 time with __vdso_time.
35045
ed58a00f
JM
350462012-03-05 Joseph Myers <joseph@codesourcery.com>
35047
35048 * manual/lang.texi (size_t): Note types to which size_t may be
35049 equivalent with the GNU C Library, but do not describe when
35050 differences between them are significant.
35051
30ee4ced
AJ
350522012-03-05 Andreas Jaeger <aj@suse.de>
35053
35054 * sysdeps/i386/fpu/libm-test-ulps: Update.
35055
b7cd39e8
JM
350562012-03-05 Joseph Myers <joseph@codesourcery.com>
35057
35058 [BZ #3976]
35059 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35060 (__ieee754_pow): Save and restore rounding mode and use
35061 round-to-nearest for main computations.
35062 * math/libm-test.inc (pow_test_tonearest): New function.
35063 (pow_test_towardzero): Likewise.
35064 (pow_test_downward): Likewise.
35065 (pow_test_upward): Likewise.
35066 (main): Call the new functions.
35067 * sysdeps/i386/fpu/libm-test-ulps: Update.
35068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35069
35070 [BZ #3976]
35071 * math/libm-test.inc (cosh_test_tonearest): New function.
35072 (cosh_test_towardzero): Likewise.
35073 (cosh_test_downward): Likewise.
35074 (cosh_test_upward): Likewise.
35075 (sinh_test_tonearest): Likewise.
35076 (sinh_test_towardzero): Likewise.
35077 (sinh_test_downward): Likewise.
35078 (sinh_test_upward): Likewise.
35079 (main): Call the new functions.
35080 * sysdeps/i386/fpu/libm-test-ulps: Update.
35081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35082
6c6a98c9
TV
350832012-03-05 Tom de Vries <tom@codesourcery.com>
35084
35085 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35086 default stack guard is set in last bytes.
35087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35088
21bb2d2e 350892012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35090
21bb2d2e 35091 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35092
21bb2d2e
AJ
35093 [BZ #13656]
35094 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35095 possibly allocate from heap instead of stack.
35096 * stdio-common/bug-vfprintf-nargs.c: New file.
35097 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35098
c6922934
AS
350992012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35100
35101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35102
bc957d53
MP
351032012-03-03 Marek Polacek <polacek@redhat.com>
35104
35105 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35106 * math/math_private.h: Likewise.
35107 * stdlib/tst-strtod.c: Likewise.
35108 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35109 * sysdeps/x86_64/bits/atomic.h: Likewise.
35110
6358490d
DM
351112012-03-02 David S. Miller <davem@davemloft.net>
35112
35113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35117 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35118 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35119 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35120 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35121
01ae168d
RM
351222012-03-02 Roland McGrath <roland@hack.frob.com>
35123
d9a17c07
RM
35124 [BZ #13792]
35125 * manual/examples/README: New file, says the example source files
35126 can be used under GPL>=2.
35127 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35128 line containing just "*/".
35129 * manual/examples/add.c: Add copyright header (GPL>=2).
35130 * manual/examples/argp-ex1.c: Likewise.
35131 * manual/examples/argp-ex2.c: Likewise.
35132 * manual/examples/argp-ex3.c: Likewise.
35133 * manual/examples/argp-ex4.c: Likewise.
35134 * manual/examples/atexit.c: Likewise.
35135 * manual/examples/db.c: Likewise.
35136 * manual/examples/dir.c: Likewise.
35137 * manual/examples/dir2.c: Likewise.
35138 * manual/examples/execinfo.c: Likewise.
35139 * manual/examples/filecli.c: Likewise.
35140 * manual/examples/filesrv.c: Likewise.
35141 * manual/examples/fmtmsgexpl.c: Likewise.
35142 * manual/examples/genpass.c: Likewise.
35143 * manual/examples/inetcli.c: Likewise.
35144 * manual/examples/inetsrv.c: Likewise.
35145 * manual/examples/isockad.c: Likewise.
35146 * manual/examples/longopt.c: Likewise.
35147 * manual/examples/memopen.c: Likewise.
35148 * manual/examples/memstrm.c: Likewise.
35149 * manual/examples/mkfsock.c: Likewise.
35150 * manual/examples/mkisock.c: Likewise.
35151 * manual/examples/mygetpass.c: Likewise.
35152 * manual/examples/pipe.c: Likewise.
35153 * manual/examples/popen.c: Likewise.
35154 * manual/examples/rprintf.c: Likewise.
35155 * manual/examples/search.c: Likewise.
35156 * manual/examples/select.c: Likewise.
35157 * manual/examples/setjmp.c: Likewise.
35158 * manual/examples/sigh1.c: Likewise.
35159 * manual/examples/sigusr.c: Likewise.
35160 * manual/examples/stpcpy.c: Likewise.
35161 * manual/examples/strdupa.c: Likewise.
35162 * manual/examples/strftim.c: Likewise.
35163 * manual/examples/strncat.c: Likewise.
35164 * manual/examples/subopt.c: Likewise.
35165 * manual/examples/swapcontext.c: Likewise.
35166 * manual/examples/termios.c: Likewise.
35167 * manual/examples/testopt.c: Likewise.
35168 * manual/examples/testpass.c: Likewise.
35169 * manual/examples/timeval_subtract.c: Likewise.
35170
01ae168d
RM
35171 [BZ #13792]
35172 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35173 function to ...
35174 * manual/timeval_subtract.c.texi: ... here, new file.
35175
49efa33d
DM
351762012-03-02 David S. Miller <davem@davemloft.net>
35177
35178 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35179
28afd92d
JM
351802012-03-02 Joseph Myers <joseph@codesourcery.com>
35181
804360ed
JM
35182 [BZ #3976]
35183 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35184 (__sin): Save and restore rounding mode and use round-to-nearest
35185 for all computations.
35186 (__cos): Save and restore rounding mode and use round-to-nearest
35187 for all computations.
35188 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35189 <fenv.h>.
35190 (tan): Save and restore rounding mode and use round-to-nearest for
35191 all computations.
35192 * math/libm-test.inc (cos_test_tonearest): New function.
35193 (cos_test_towardzero): Likewise.
35194 (cos_test_downward): Likewise.
35195 (cos_test_upward): Likewise.
35196 (sin_test_tonearest): Likewise.
35197 (sin_test_towardzero): Likewise.
35198 (sin_test_downward): Likewise.
35199 (sin_test_upward): Likewise.
35200 (tan_test_tonearest): Likewise.
35201 (tan_test_towardzero): Likewise.
35202 (tan_test_downward): Likewise.
35203 (tan_test_upward): Likewise.
35204 (main): Call the new functions.
35205 * sysdeps/i386/fpu/libm-test-ulps: Update.
35206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35207
a6d06d7b
JM
35208 [BZ #10135]
35209 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35210 small n, then large n, before computing and testing k+n.
35211 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35212 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35213 Likewise.
35214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35215 Likewise.
35216 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35217 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35218 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35219 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35220 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35221 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35222 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35223 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35224 * math/libm-test.inc (scalbn_test): Add more tests.
35225 (scalbln_test): Likewise.
35226
07e12bb3
JM
35227 * manual/filesys.texi (mode_t): Describe constraints on size and
35228 signedness, not exact equivalence to a particular type.
35229 (ino_t): Likewise.
35230 (ino64_t): Likewise.
35231 (dev_t): Likewise.
35232 (nlink_t): Likewise.
35233 (blkcnt_t): Likewise.
35234 (blkcnt64_t): Likewise.
35235 * manual/llio.texi (off_t): Likewise.
35236
28afd92d
JM
35237 [BZ #3976]
35238 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35239 (__ieee754_exp): Save and restore rounding mode and use
35240 round-to-nearest for all computations.
35241 * math/libm-test.inc (exp_test_tonearest): New function.
35242 (exp_test_towardzero): Likewise.
35243 (exp_test_downward): Likewise.
35244 (exp_test_upward): Likewise.
35245 (main): Call the new functions.
35246 * sysdeps/i386/fpu/libm-test-ulps: Update.
35247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35248
b1eeb65d
CD
352492012-03-01 Chris Demetriou <cgd@google.com>
35250
35251 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35252 have predictable order.
35253
53362a4b
DM
352542012-03-01 David S. Miller <davem@davemloft.net>
35255
3c969083
DM
35256 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35257
759707de
DM
35258 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35259 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35260 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35261 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35262
dfdb8ff2
DM
35263 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35264 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35265 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35267 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35268 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35269 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35270 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35271 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35272
ead89f96
DM
35273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35274
7f66bd07
DM
35275 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35276 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35277 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35278
53362a4b
DM
35279 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35280 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35281 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35282 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35283 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35284 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35285 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35286 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35287 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35288 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35289 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35290 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35292 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35293 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35295 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35296 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35297 * sysdeps/sparc/elf/configure: Regenerated.
35298
7b1902cb
JM
352992012-03-01 Joseph Myers <joseph@codesourcery.com>
35300
bec039bc
JM
35301 * configure.in (AS, LD): Require binutils 2.20 or later.
35302 * configure: Regenerated.
35303 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35304 as required minimum version.
35305 * INSTALL: Regenerated.
35306
7b1902cb
JM
35307 [BZ #2541]
35308 [BZ #4108]
35309 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35310 before squaring exponent.
35311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35312 bottom long double and 27 bits of top long double before squaring
35313 exponent.
35314 * math/libm-test.inc (erfc_test): Add more tests.
35315 * sysdeps/i386/fpu/libm-test-ulps: Update.
35316 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35318
f775c276
KT
353192012-03-01 Kai Tietz <ktietz@redhat.com>
35320
35321 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35322 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35323 containing bit-fields.
35324 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35325 * soft-fp/single.h (_FP_UNION_S): Likewise.
35326 * soft-fp/double.h (_FP_UNION_D): Likewise.
35327
5b8a4d4a
JM
353282012-02-29 Joseph Myers <joseph@codesourcery.com>
35329
0bab47b6
JM
35330 [BZ #13786]
35331 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35332 not include ../strcmp.S.
35333 [USE_AS_STRNCASECMP_L]: Likewise.
35334 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35335 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35336 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35337 (__strncasecmp_l_ia32): Define as alias to
35338 __strncasecmp_l_nonascii.
35339
0fcad3e2
JM
35340 [BZ #5794]
35341 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35342 * sysdeps/i386/fpu/libm-test-ulps: Update.
35343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35344
5b8a4d4a
JM
35345 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35347
8fdceb2e
JL
353482012-02-29 Jeff Law <law@redhat.com>
35349
35350 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35351 out of bounds read.
35352
1f393a11
MP
353532012-02-29 Marek Polacek <polacek@redhat.com>
35354
35355 [BZ #13706]
35356 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35357 * elf/Makefile: Add rules to run tst-unused-dep.out.
35358
8847f037
DM
353592012-02-28 David S. Miller <davem@davemloft.net>
35360
35361 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35362 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35363 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35365 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35366 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35367
169d7f11
JM
353682012-02-29 Joseph Myers <joseph@codesourcery.com>
35369
35370 * math/libm-test.inc (llround_test): Move one test from
35371 lround_test. Use TEST_f_L in moved test.
35372 (lround_test): Move misplaced test to llround_test. Add testcase
35373 from bug 2561.
35374
39adf059
UD
353752012-02-28 Ulrich Drepper <drepper@gmail.com>
35376
35377 * sysdeps/x86_64/fpu/e_expf.S: New file.
35378 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35379
71b5d1c5
SB
353802012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35381
35382 [BZ #13637]
35383 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35384 of remain_len that may cause incomplete multi-byte character and
35385 false match.
35386 * posix/bug-regex33.c: New file.
35387 * posix/Makefile (tests): Add bug-regex33.
35388
1f77f049
JM
353892012-02-28 Joseph Myers <joseph@codesourcery.com>
35390
35391 * manual/macros.texi: New file.
35392 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35393 * manual/libc.texinfo: Include macros.texi.
35394 * manual/creatute.texi: Likewise.
35395 * manual/install.texi: Likewise.
35396 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35397 @glibcadj{} in references to the GNU C Library.
35398 * manual/charset.texi: Likewise.
35399 * manual/conf.texi: Likewise.
35400 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35401 when not using those macros.
35402 * manual/creature.texi: Likewise.
35403 * manual/crypt.texi: Likewise.
35404 * manual/errno.texi: Likewise.
35405 * manual/filesys.texi: Likewise.
35406 * manual/header.texi: Likewise.
35407 * manual/install.texi: Likewise.
35408 * manual/intro.texi: Likewise.
35409 * manual/io.texi: Likewise.
35410 * manual/job.texi: Likewise.
35411 * manual/lang.texi: Likewise.
35412 * manual/libc.texiinfo: Likewise.
35413 * manual/llio.texi: Likewise.
35414 * manual/locale.texi: Likewise.
35415 * manual/maint.texi: Likewise.
35416 * manual/math.texi: Likewise.
35417 * manual/memory.texi: Likewise.
35418 * manual/message.texi: Likewise.
35419 * manual/nss.texi: Likewise.
35420 * manual/pattern.texi: Likewise.
35421 * manual/process.texi: Likewise.
35422 * manual/resource.texi: Likewise.
35423 * manual/search.texi: Likewise.
35424 * manual/setjmp.texi: Likewise.
35425 * manual/signal.texi: Likewise.
35426 * manual/socket.texi: Likewise.
35427 * manual/startup.texi: Likewise.
35428 * manual/stdio.texi: Likewise.
35429 * manual/string.texi: Likewise.
35430 * manual/sysinfo.texi: Likewise.
35431 * manual/syslog.texi: Likewise.
35432 * manual/terminal.texi: Likewise.
35433 * manual/time.texi: Likewise.
35434 * manual/users.texi: Likewise.
35435 * INSTALL: Regenerated.
35436 * NOTES: Regenerated.
d40c5d54 35437 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 35438
450bf206
AS
354392012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35440
35441 * include/dirent.h: Include <dirstream.h> before
35442 <dirent/dirent.h>.
35443
741a235b
DM
354442012-02-28 David S. Miller <davem@davemloft.net>
35445
35446 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35447 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35448 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35449 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35450
d6b5aa58
DM
354512012-02-27 David S. Miller <davem@davemloft.net>
35452
1aff59a3
DM
35453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35455 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35456 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35457
d6b5aa58
DM
35458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35459 frame pointer instead of stack pointer relative arg slot.
35460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35461 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35462 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35463
433f48bf
CD
354642012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35465
35466 [BZ #3992]
35467 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35468
d674b76d
DM
354692012-02-27 David S. Miller <davem@davemloft.net>
35470
35471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35475 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35476 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35477 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35478 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35479
0e7727f7
JM
354802012-02-27 Joseph Myers <joseph@codesourcery.com>
35481
35482 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35483 later. Allow versions 5-9.
43be4ca2 35484 * configure: Regenerated.
0e7727f7
JM
35485 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35486 required minimum version and 4.6 as recommended version. Do not
35487 mention bugs in GCC 2.7 and 2.8.
43be4ca2 35488 * INSTALL: Regenerated.
0e7727f7 35489
a78bc654
DM
354902012-02-27 David S. Miller <davem@davemloft.net>
35491
428d5830
DM
35492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35496 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35497 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35498 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35499 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35500
a78bc654
DM
35501 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35502 manipulate bits before adding and subtracting TWO112[sx].
35503 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35504
4579f81c
RM
355052012-02-27 Roland McGrath <roland@hack.frob.com>
35506
36c8acb4
RM
35507 [BZ #13775]
35508 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35509 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35510 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35511 being in POSIX, because they are in 1003.1-2008.
35512
84ad622b
RM
35513 * rt/tst-aio.c: Include <fcntl.h>.
35514 * rt/tst-aio7.c: Likewise.
35515 * rt/tst-aio64.c: Likewise.
35516
4579f81c
RM
35517 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35518
abd923db
JM
355192012-02-27 Joseph Myers <joseph@codesourcery.com>
35520
35521 * manual/install.texi (--with-headers): Describe headers as
35522 interface headers, not private headers.
35523 (Specific advice for GNU/Linux systems): Describe use of headers
35524 from "make headers_install", not private headers from older
35525 kernels.
43be4ca2 35526 * INSTALL: Regenerated.
abd923db
JM
35527 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35528 Change to 2.6.19.
35529 * sysdeps/unix/sysv/linux/configure: Regenerated.
35530
6664049b
JM
35531 * manual/llio.texi (fclean): Remove documentation.
35532
bb8b6697
JM
35533 * manual/Makefile (libc-texi-generated): New variable. Include
35534 version.texi.
35535 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35536 $(libc-texi-generated), not duplicated list of files.
35537 (version.texi, stamp-version): New rules.
35538 (realclean): Remove $(libc-texi-generated), not individual files
35539 from that list. Do not remove dir-add.texinfo.
35540 * manual/libc.texinfo: Comment out uses of edition numbers and
35541 references to printed manual. Remove last-updated dates.
35542 (EDITION): Comment out.
35543 (ISBN): Likewise.
35544 (VERSION, UPDATED): Remove.
35545 (version.texi): Include.
35546
12e5c3b9
AS
355472012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35548
35549 * sysdeps/posix/spawni.c: Include <signal.h>.
35550 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35551 * sysdeps/pthread/aio_fsync.c: Likewise.
35552
4efeffc1 355532012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 35554
ba63ba08
UD
35555 * conform/Makefile (tests): Run only when not cross-compiling and
35556 when fast-check is not defined.
35557
d94a4670
UD
35558 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35559 * conform/data/limits.h-data: Fixes for POSIX2008.
35560 * conform/run-conformtest.sh: Run all tests.
35561 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35562 headers.
35563 * include/bits/dlfcn.h: Likewise.
35564 * include/langinfo.h: Likewise.
35565 * include/monetary.h: Likewise.
35566 * include/sys/poll.h: Likewise.
35567
35568 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35569 for __USE_GNU.
35570 * posix/spawn.h: Define __need_sigset_t.
35571 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35572 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35573 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35574 to get sigevent_t only.
35575 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35576 only for __USE_GNU.
35577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35578 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35579 process_vm_writev only for __USE_GNU.
35580 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
35581
35582 * conform/Makefile: For now ignore errors from run-conformtest.
35583 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35584 POSIX to avoid namespace pollution. Don't prepend headers.
35585 * conform/data/aio.h-data: Fixes for POSIX testing.
35586 * conform/data/fcntl.h-data: Likewise.
35587 * conform/data/glob.h-data: Likewise.
35588 * conform/data/grp.h-data: Likewise.
35589 * conform/data/pthread.h-data: Likewise.
35590 * conform/data/pwd.h-data: Likewise.
35591 * conform/data/signal.h-data: Likewise.
35592 * conform/data/spawn.h-data: Likewise.
35593 * conform/data/stdio.h-data: Likewise.
35594 * conform/data/stdlib.h-data: Likewise.
35595 * conform/data/stropts.h-data: Likewise.
35596 * conform/data/sys/mman.h-data: Likewise.
35597 * conform/data/sys/stat.h-data: Likewise.
35598 * conform/data/sys/types.h-data: Likewise.
35599 * conform/data/sys/wait.h-data: Likewise.
35600 * conform/data/time.h-data: Likewise.
35601 * conform/data/unistd.h-data: Likewise.
35602 * conform/data/utime.h-data: Likewise.
35603
35604 * io/sys/stat.h: fchmod was always in POSIX.
35605 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35606 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35607 * rt/aio.h: Define __need_timespec before including <time.h>.
35608 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35609 struct. Add forward declaration of pthread_attr_t and use it in
35610 sigevent.
35611 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35612 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35613 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35614 always remove CLK_TCK definition.
35615
c20105c3
AS
356162012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35617
35618 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35619
7a270350
UD
356202012-02-25 Ulrich Drepper <drepper@gmail.com>
35621
31341567
UD
35622 * conform/run-conformtest.sh: New file.
35623 * conform/Makefile: Run run-conformtest for tests.
35624 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35625 support.
35626
35627 * conform/data/uchar.h-data: New file.
35628 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35629 * conform/data/arpa/inet.h-data: Likewise.
35630 * conform/data/assert.h-data: Likewise.
35631 * conform/data/complex.h-data: Likewise.
35632 * conform/data/cpio.h-data: Likewise.
35633 * conform/data/ctype.h-data: Likewise.
35634 * conform/data/dirent.h-data: Likewise.
35635 * conform/data/dlfcn.h-data: Likewise.
35636 * conform/data/errno.h-data: Likewise.
35637 * conform/data/fcntl.h-data: Likewise.
35638 * conform/data/float.h-data: Likewise.
35639 * conform/data/fmtmsg.h-data: Likewise.
35640 * conform/data/fnmatch.h-data: Likewise.
35641 * conform/data/ftw.h-data: Likewise.
35642 * conform/data/glob.h-data: Likewise.
35643 * conform/data/grp.h-data: Likewise.
35644 * conform/data/iconv.h-data: Likewise.
35645 * conform/data/inttypes.h-data: Likewise.
35646 * conform/data/langinfo.h-data: Likewise.
35647 * conform/data/libgen.h-data: Likewise.
35648 * conform/data/limits.h-data: Likewise.
35649 * conform/data/locale.h-data: Likewise.
35650 * conform/data/math.h-data: Likewise.
35651 * conform/data/monetary.h-data: Likewise.
35652 * conform/data/mqueue.h-data: Likewise.
35653 * conform/data/ndbm.h-data: Likewise.
35654 * conform/data/net/if.h-data: Likewise.
35655 * conform/data/netdb.h-data: Likewise.
35656 * conform/data/netinet/in.h-data: Likewise.
35657 * conform/data/nl_types.h-data: Likewise.
35658 * conform/data/poll.h-data: Likewise.
35659 * conform/data/pthread.h-data: Likewise.
35660 * conform/data/pwd.h-data: Likewise.
35661 * conform/data/regex.h-data: Likewise.
35662 * conform/data/sched.h-data: Likewise.
35663 * conform/data/search.h-data: Likewise.
35664 * conform/data/semaphore.h-data: Likewise.
35665 * conform/data/setjmp.h-data: Likewise.
35666 * conform/data/signal.h-data: Likewise.
35667 * conform/data/spawn.h-data: Likewise.
35668 * conform/data/stdarg.h-data: Likewise.
35669 * conform/data/stdio.h-data: Likewise.
35670 * conform/data/stdlib.h-data: Likewise.
35671 * conform/data/string.h-data: Likewise.
35672 * conform/data/strings.h-data: Likewise.
35673 * conform/data/stropts.h-data: Likewise.
35674 * conform/data/sys/ipc.h-data: Likewise.
35675 * conform/data/sys/mman.h-data: Likewise.
35676 * conform/data/sys/msg.h-data: Likewise.
35677 * conform/data/sys/resource.h-data: Likewise.
35678 * conform/data/sys/select.h-data: Likewise.
35679 * conform/data/sys/sem.h-data: Likewise.
35680 * conform/data/sys/shm.h-data: Likewise.
35681 * conform/data/sys/socket.h-data: Likewise.
35682 * conform/data/sys/stat.h-data: Likewise.
35683 * conform/data/sys/statvfs.h-data: Likewise.
35684 * conform/data/sys/time.h-data: Likewise.
35685 * conform/data/sys/timeb.h-data: Likewise.
35686 * conform/data/sys/times.h-data: Likewise.
35687 * conform/data/sys/types.h-data: Likewise.
35688 * conform/data/sys/uio.h-data: Likewise.
35689 * conform/data/sys/un.h-data: Likewise.
35690 * conform/data/sys/utsname.h-data: Likewise.
35691 * conform/data/sys/wait.h-data: Likewise.
35692 * conform/data/syslog.h-data: Likewise.
35693 * conform/data/tar.h-data: Likewise.
35694 * conform/data/termios.h-data: Likewise.
35695 * conform/data/utime.h-data: Likewise.
35696 * conform/data/utmpx.h-data: Likewise.
35697 * conform/data/varargs.h-data: Likewise.
35698 * conform/data/wchar.h-data: Likewise.
35699 * conform/data/wctype.h-data: Likewise.
35700 * conform/data/wordexp.h-data: Likewise.
35701
35702 * include/stropts.h: New file.
35703 * include/uchar.h: New file.
35704 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35705 * include/assert.h: Likewise.
35706 * include/ctype.h: Likewise.
35707 * include/dirent.h: Likewise.
35708 * include/dlfcn.h: Likewise.
35709 * include/fcntl.h: Likewise.
35710 * include/fnmatch.h: Likewise.
35711 * include/glob.h: Likewise.
35712 * include/grp.h: Likewise.
35713 * include/libio.h: Likewise.
35714 * include/locale.h: Likewise.
35715 * include/math.h: Likewise.
35716 * include/net/if.h: Likewise.
35717 * include/netdb.h: Likewise.
35718 * include/netinet/in.h: Likewise.
35719 * include/pthread.h: Likewise.
35720 * include/pwd.h: Likewise.
35721 * include/regex.h: Likewise.
35722 * include/sched.h: Likewise.
35723 * include/search.h: Likewise.
35724 * include/setjmp.h: Likewise.
35725 * include/signal.h: Likewise.
35726 * include/stdio.h: Likewise.
35727 * include/stdlib.h: Likewise.
35728 * include/string.h: Likewise.
35729 * include/sys/cdefs.h: Likewise.
35730 * include/sys/mman.h: Likewise.
35731 * include/sys/msg.h: Likewise.
35732 * include/sys/resource.h: Likewise.
35733 * include/sys/select.h: Likewise.
35734 * include/sys/socket.h: Likewise.
35735 * include/sys/stat.h: Likewise.
35736 * include/sys/statvfs.h: Likewise.
35737 * include/sys/time.h: Likewise.
35738 * include/sys/times.h: Likewise.
35739 * include/sys/uio.h: Likewise.
35740 * include/sys/utsname.h: Likewise.
35741 * include/sys/wait.h: Likewise.
35742 * include/termios.h: Likewise.
35743 * include/time.h: Likewise.
35744 * include/ulimit.h: Likewise.
35745 * include/unistd.h: Likewise.
35746 * include/utime.h: Likewise.
35747 * include/wchar.h: Likewise.
35748 * include/wctype.h: Likewise.
35749 * include/wordexp.h: Likewise.
35750
35751 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35752
7a270350
UD
35753 * time/time.h: TIME_UTC must be a macro.
35754 Make timespec_get available for ISO C11 only as well.
35755
7724defc
UD
357562012-02-24 Ulrich Drepper <drepper@gmail.com>
35757
35758 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35759 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35760
6b1d1d46
JM
357612012-02-24 Joseph Myers <joseph@codesourcery.com>
35762
35763 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35764
0f8bbd69
JM
357652012-02-24 Joseph Myers <joseph@codesourcery.com>
35766
35767 * manual/texinfo.tex: Update to version 2012-01-19.16.
35768
66ab80bc
JM
357692012-02-24 Joseph Myers <joseph@codesourcery.com>
35770
35771 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35772
74981cc5
RM
357732012-02-24 Roland McGrath <roland@hack.frob.com>
35774
ee968201
RM
35775 [BZ #13738]
35776 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35777 * manual/fdl-1.3.texi: New file.
35778 * manual/fdl-1.1.texi: File removed.
35779
74981cc5
RM
35780 [BZ #13738]
35781 * manual/libc.texinfo (FDL_VERSION): New @set.
35782 Use it for mention of FDL in cover text.
35783 (Documentation License): Use it in @include file name.
35784
7bb764bc
JM
357852012-02-22 Joseph Myers <joseph@codesourcery.com>
35786 Roland McGrath <roland@hack.frob.com>
35787
35788 [BZ #5461]
57f41c40
AS
35789 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35790 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35791 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35792 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35793 name.
35794 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35795
6cbeae47
JM
357962012-02-22 Joseph Myers <joseph@codesourcery.com>
35797
35798 [BZ #2547]
35799 [BZ #11365]
35800 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35801 manipulate bits before adding and subtracting TWO23[sx].
35802 * math/libm-test.inc (nearbyint_test): Add more tests.
35803
fe45ce09
JM
358042012-02-22 Joseph Myers <joseph@codesourcery.com>
35805
35806 [BZ #2548]
35807 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35808 bits before adding and subtracting TWO23[sx].
35809 * math/libm-test.inc (rint_test): Add more tests.
35810 (rint_test_tonearest): Likewise.
35811 (rint_test_towardzero): Likewise.
35812 (rint_test_downward): Likewise.
35813 (rint_test_upward: Likewise.
35814
ff3b3d82
JM
358152012-02-22 Joseph Myers <joseph@codesourcery.com>
35816
35817 [BZ #10110]
35818 * include/stdc-predef.h: New file. Extracted from features.h.
35819 * include/features.h: Include stdc-predef.h.
35820 * Makefile (headers): Add stdc-predef.h.
35821 * CONFORMANCE (Compiler limitations): Update.
35822
ef0aab35
JM
358232012-02-22 Joseph Myers <joseph@codesourcery.com>
35824
35825 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35826
58639409
DM
358272012-02-21 David S. Miller <davem@davemloft.net>
35828
35829 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35830 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35831
c0e70b25
DM
358322012-02-20 David S. Miller <davem@davemloft.net>
35833
35834 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35835 using a normal save/restore sequence, rather than allocating a
35836 dummy stack frame just to store a frame pointer and restore.
35837 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35838
fb06851d
JM
358392012-02-21 Joseph Myers <joseph@codesourcery.com>
35840
35841 * manual/install.texi: Fix stray word in line-wrapped comment.
35842
7a8b71c3
DM
358432012-02-20 David S. Miller <davem@davemloft.net>
35844
d510c123
DM
35845 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35846 both binutils and gcc support GOTDATA.
35847
0722d7c2
DM
35848 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35849 "rd %pc" in the PIC register setup sequences.
35850
3d2b3019
DM
35851 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35852 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35853 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35854 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35855 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35858 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35859 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35860 (SYSCALL_ERROR_HANDLER): Likewise.
35861 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35862 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35864 (SYSCALL_ERROR_HANDLER): Likewise.
35865
c80098a9
DM
35866 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35867 (HAVE_GCC_GOTDATA): New.
35868 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35869 relocation support in both binutils and gcc.
35870 * sysdeps/sparc/elf/configure: Regenerate.
35871
3a2545a0
DM
35872 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35873 * sysdeps/sparc/sparc32/elf/configure: Delete.
35874 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35875 * sysdeps/sparc/sparc64/elf/configure: Delete.
35876 * sysdeps/sparc/elf/configure.in: New file.
35877 * sysdeps/sparc/elf/configure: Generate.
35878
7a8b71c3
DM
35879 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35880 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35881 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35882 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35883 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35884
f1e86fca
JM
358852012-02-21 Joseph Myers <joseph@codesourcery.com>
35886
35887 * manual/install.texi: Do not mention specific glibc version
35888 numbers.
35889 * manual/libc.texinfo (VERSION, UPDATED): Update.
35890 (@copying): Use @copyright{} and range of years.
35891
0e7dfaef
JM
358922012-02-21 Joseph Myers <joseph@codesourcery.com>
35893
35894 [BZ #13695]
35895 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35896 [crti.S not in sysdirs] (generated): Do not append.
35897 [crti.S not in sysdirs] (omit-deps): Likewise.
35898 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35899 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35900 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35901 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35902 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35903 Likewise.
35904 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35905 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35906 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35907 * csu/defs.awk: Remove file.
35908 * sysdeps/generic/initfini.c: Likewise.
35909 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35910 variable.
35911 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35912 Likewise.
35913
599af3ca
JM
359142012-02-20 Joseph Myers <joseph@codesourcery.com>
35915
35916 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35917 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35918 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35919 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35920 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35921 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35922 <bits/epoll.h>.
35923 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35924 (__EPOLL_PACKED): Define to empty if not defined by
35925 <bits/epoll.h>.
35926 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35928 bits/epoll.h.
35929
0e499750
JM
359302012-02-20 Joseph Myers <joseph@codesourcery.com>
35931
35932 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35933 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35934 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35935 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35936 <bits/timerfd.h>.
35937 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35939 bits/timerfd.h.
35940
5ad91f6e
JM
359412012-02-20 Joseph Myers <joseph@codesourcery.com>
35942
35943 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35944 in C locale.
35945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35946 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35947 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35949
06b99b02
AJ
359502012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35951
35952 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35953 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35954
7638c0fd
AS
359552012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35956
35957 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35958 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35959 defined.
35960 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35961 Likewise.
35962 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35963 entry for 2.16.
35964
92221550
AJ
359652012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35966
35967 * math/w_acos.c: Use non-signaling floating-point comparisons.
35968 * math/w_acosf.c: Likewise.
35969 * math/w_acosh.c: Likewise.
35970 * math/w_acoshf.c: Likewise.
35971 * math/w_acoshl.c: Likewise.
35972 * math/w_acosl.c: Likewise.
35973 * math/w_asin.c: Likewise.
35974 * math/w_asinf.c: Likewise.
35975 * math/w_asinl.c: Likewise.
35976 * math/w_atanh.c: Likewise.
35977 * math/w_atanhf.c: Likewise.
35978 * math/w_atanhl.c: Likewise.
35979 * math/w_exp2.c: Likewise.
35980 * math/w_exp2f.c: Likewise.
35981 * math/w_exp2l.c: Likewise.
35982 * math/w_j0.c: Likewise.
35983 * math/w_j0f.c: Likewise.
35984 * math/w_j0l.c: Likewise.
35985 * math/w_j1.c: Likewise.
35986 * math/w_j1f.c: Likewise.
35987 * math/w_j1l.c: Likewise.
35988 * math/w_jn.c: Likewise.
35989 * math/w_jnf.c: Likewise.
35990 * math/w_log.c: Likewise.
35991 * math/w_log10.c: Likewise.
35992 * math/w_log10f.c: Likewise.
35993 * math/w_log10l.c: Likewise.
35994 * math/w_log2.c: Likewise.
35995 * math/w_log2f.c: Likewise.
35996 * math/w_log2l.c: Likewise.
35997 * math/w_logf.c: Likewise.
35998 * math/w_logl.c: Likewise.
35999 * math/w_sqrt.c: Likewise.
36000 * math/w_sqrtf.c: Likewise.
36001 * math/w_sqrtl.c: Likewise.
36002 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36003 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36004 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36005 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36006 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36007
ebaf36eb
JM
360082012-02-19 Joseph Myers <joseph@codesourcery.com>
36009
36010 [BZ #9739]
36011 * manual/string.texi (strnlen): Use correct parameter name in
36012 equivalent expression.
36013
71c254a6
JM
360142012-02-19 Joseph Myers <joseph@codesourcery.com>
36015
36016 [BZ #11174]
36017 * manual/users.texi (seteuid): Consistently use neweuid for
36018 argument name.
36019
16d2c631
JM
360202012-02-19 Joseph Myers <joseph@codesourcery.com>
36021
36022 [BZ #13704]
36023 * manual/nss.texi (Services in the NSS configuration): Correct
36024 list of services in example configuration file.
36025
cd837b09
NB
360262012-02-19 Nick Bowler <nbowler@draconx.ca>
36027
36028 [BZ #11322]
36029 * manual/arith.texi: Remove statements about negative zero
36030 behaving identically to zero.
36031
02c4bbad
JM
360322012-02-18 Joseph Myers <joseph@codesourcery.com>
36033
36034 [BZ #5993]
36035 * manual/install.texi: Do not document upgrading from libc5.
36036
366842e7
JM
360372012-02-18 Joseph Myers <joseph@codesourcery.com>
36038
36039 [BZ #4596]
36040 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36041
dd54084d
DM
360422012-02-18 David S. Miller <davem@davemloft.net>
36043
36044 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36045 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36046 %o7 across the call.
36047 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36048 instead.
36049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36050 SETUP_PIC_REG_LEAF.
36051 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36052 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36053 * sysdeps/sparc/crtn.S: Likewise.
36054
2bcc53a3
UD
360552012-02-17 Ulrich Drepper <drepper@gmail.com>
36056
36057 * aout/Makefile: Remove.
36058
09c093b5
RK
360592012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36060
36061 [BZ #13058]
36062 * manual/examples/argp-ex1.c (main): Format definition in GNU
36063 style.
36064 * manual/examples/argp-ex2.c (main): Likewise.
36065 * manual/examples/argp-ex3.c (main): Likewise.
36066 * manual/examples/argp-ex4.c (main): Likewise.
36067 * manual/examples/longopt.c (main): Use new-style prototype
36068 definition.
36069 * manual/examples/strncat.c (main): Specify return type and use
36070 (void) for arguments.
36071 * manual/examples/subopt.c (main): Use char **argv argument.
36072
2ee633a2
JM
360732012-02-17 Joseph Myers <joseph@codesourcery.com>
36074
36075 [BZ #5077]
36076 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36077 rounding modes.
36078
0520adde
FB
360792012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36080
36081 [BZ #6907]
36082 * manual/string.texi (strchr): Change when strchrnul is
36083 recommended.
36084
3f4081cd
DGM
360852012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36086
36087 [BZ #174]
36088 * manual/locale.texi (setlocale): Document LOCPATH.
36089
d1b10e78
JM
360902012-02-17 Joseph Myers <joseph@codesourcery.com>
36091
36092 [BZ #10210]
36093 * manual/process.texi (execle): Move @dots{} before last argument.
36094
79c6869c
PB
360952012-02-17 Paul Bolle <pebolle@tiscali.nl>
36096
36097 [BZ #12047]
36098 * manual/charset.texi (Generic Charset Conversion): Fix typo
36099 (LC_TYPE -> LC_CTYPE).
36100
cc6e48bc
NB
361012012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36102
36103 [BZ #5805]
36104 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36105 (scalbnf): Likewise.
36106 (scalbnl): Likewise.
36107 (scalbln): Likewise.
36108 (scalblnf): Likewise.
36109 (scalblnl): Likewise.
36110 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36111 (vwarnx): Likewise.
36112 (verr): Likewise.
36113 (verrx): Likewise.
36114 * manual/filesys.texi (telldir): Use braces around return type.
36115 * manual/llio.texi (mmap): Add space after comma.
36116 (mmap64): Likewise.
36117 * manual/math.texi (jn): Use @var{} on parameter names.
36118 (jnf): Likewise.
36119 (jnl): Likewise.
36120 (yn): Likewise.
36121 (ynf): Likewise.
36122 (ynl): Likewise.
36123 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36124 line.
36125 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36126 "...".
36127 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36128 (sched_get_priority_max): Likewise.
36129 * manual/signal.texi (sigvec): Add space after comma.
36130 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36131 names.
36132 (if_indextoname): Likewise.
36133 (if_freenameindex): Likewise.
36134 (sendto): Use ',' instead of '.' in prototype.
36135 * manual/startup.texi (syscall): Use @dots{} instead of literal
36136 "...".
36137 * manual/stdio.texi (__fpending): Separate initial words of
36138 paragraph from @deftypefun line.
36139 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36140 "...".
36141 (vsyslog): Use @var{} on parameter names.
36142 * manual/terminal.texi (stty): Use @var{} on parameter names.
36143 * manual/users.texi (getutmp): Use @var{} on parameter names.
36144 (getutmpx): Likewise.
36145
5b23062f
JM
361462012-02-17 Joseph Myers <joseph@codesourcery.com>
36147
36148 [BZ #6884]
36149 * manual/stdio.texi (fopen): Fix typos in description of
36150 ",ccs=STRING".
36151
8dee4833
AJ
361522012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36153
36154 [BZ #4026]
36155 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36156 get clock_id definition.
36157
9078ce93
TS
361582012-02-17 Thomas Schwinge <thomas@schwinge.name>
36159
36160 [BZ #4822]
36161 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36162 (madvise): Cast every argument to void on its own.
36163
3835c55f
JM
361642012-02-17 Joseph Myers <joseph@codesourcery.com>
36165
36166 [BZ #9902]
36167 * manual/startup.texi (Exit Status): Fix typo.
36168
35c47e37
JM
361692012-02-17 Joseph Myers <joseph@codesourcery.com>
36170
36171 [BZ #10140]
36172 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36173 * manual/examples/argp-ex2.c: Likewise.
36174 * manual/examples/argp-ex3.c: Likewise.
36175
e3b69ca7
RH
361762012-02-16 Richard Henderson <rth@redhat.com>
36177
36178 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36179 * sysdeps/s390/s390-32/initfini.c: Remove.
36180 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36181 * sysdeps/s390/s390-64/initfini.c: Remove.
36182
df83af67
KK
361832012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36184
36185 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36186 compiler output for sysdeps/generic/initfini.c.
36187 * sysdeps/sh/elf/initfini.c: Remove file.
36188
f63f3380
DM
361892012-02-16 David S. Miller <davem@davemloft.net>
36190
fb59b3a4
DM
36191 [BZ #11494]
36192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36193
f63f3380
DM
36194 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36195 * sysdeps/sparc/crti.S: New file.
36196 * sysdeps/sparc/crtn.S: New file.
36197 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36198 * sysdeps/sparc/sparc64/Makefile: Likewise.
36199
df6a4a4a
MF
362002012-02-15 Mike Frysinger <vapier@gentoo.org>
36201
6dd8f3dc 36202 [BZ #3335]
df6a4a4a
MF
36203 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36204
1cac7236
RM
362052012-02-15 Roland McGrath <roland@hack.frob.com>
36206
d2c736f8
RM
36207 [BZ #4822]
36208 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36209
1cac7236
RM
36210 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36211 (write, read, close): Likewise.
36212 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36213
8e475601
JM
362142012-02-15 Joseph Myers <joseph@codesourcery.com>
36215
36216 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36217 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36218 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36219 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36220 <bits/signalfd.h>.
36221 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36223 bits/signalfd.h.
36224
ed656b40
MP
362252012-02-14 Marek Polacek <polacek@redhat.com>
36226
36227 * sysdeps/x86_64/crti.S: New file.
36228 * sysdeps/x86_64/crtn.S: New file.
36229 * sysdeps/x86_64/elf/initfini.c: Remove file.
36230
2a979d3a
JM
362312012-02-13 Joseph Myers <joseph@codesourcery.com>
36232
36233 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36234 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36235 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36236 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36237 <bits/inotify.h>.
36238 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36240 bits/inotify.h.
36241
2a418ac3
JM
362422012-02-13 Joseph Myers <joseph@codesourcery.com>
36243
36244 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36245 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36246 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36247 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36248 <bits/eventfd.h>.
36249 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36251 bits/eventfd.h.
36252
fb779be7
TS
362532012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36254
e19e83c5
RM
36255 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36256 __feraiseexcept instead of feraiseexcept.
7c35ffed 36257
fb779be7
TS
36258 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36259 nanosleep invocations.
36260 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36261 strings, and add error checking for a nanosleep invocations.
36262
59ba27a6
PE
362632012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36264
36265 Replace FSF snail mail address with URLs, as per GNU coding standards.
36266 Most of the snail mail addresses were wrong anyway, and omitting
36267 them makes the source code easier to maintain. Almost all of the
36268 changes are to license notices and to locale LC_IDENTIFICATION
36269 addresses, except for this one:
36270 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36271 not its snail mail address.
36272
57b957eb
RH
362732012-02-09 Richard Henderson <rth@twiddle.net>
36274
af850b1c
RH
36275 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36276 of kernel-features.h.
36277
57b957eb
RH
36278 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36279
6b73181a
MP
362802012-02-08 Marek Polacek <polacek@redhat.com>
36281
36282 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36283 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36284 * sysdeps/gnu/_G_config.h: Likewise.
36285 * sysdeps/generic/_G_config.h: Likewise.
36286
26ecc33a
AS
362872012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36288
6c6dbc63
AS
36289 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36290 tests.
36291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36292
e216c012
AS
36293 * sysdeps/powerpc/powerpc32/crti.S: New file.
36294 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36295 * sysdeps/powerpc/powerpc64/crti.S: New file.
36296 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36297
26ecc33a
AS
36298 * Makeconfig (have-initfini): Don't set.
36299 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36300 * configure.in (nopic_initfini): Don't substitute.
36301 * config.h.in (HAVE_INITFINI): Don't #undef.
36302 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36303 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36304
3add8e13
JM
363052012-02-08 Joseph Myers <joseph@codesourcery.com>
36306
36307 Support crti.S and crtn.S provided directly by architectures.
36308 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36309 [crti.S in sysdirs] (omit-deps): Likewise.
36310 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36311 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36312 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36313 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36314 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36315 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36316 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36317 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36318 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36319 compiler output for sysdeps/generic/initfini.c.
36320 * sysdeps/i386/elf/Makefile: Remove file.
36321 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36322
a22f12b4
MP
363232012-02-07 Marek Polacek <polacek@redhat.com>
36324
36325 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36326 * sysdeps/gnu/_G_config.h: Likewise.
36327 * sysdeps/mach/hurd/_G_config.h: Likewise.
36328
148cf100
MP
363292012-02-07 Marek Polacek <polacek@redhat.com>
36330
36331 * math/Makefile (tests): Add tst-CMPLX2.
36332 * math/tst-CMPLX2.c: New file.
36333
cfdc0dd7
AS
363342012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36335
84ba42c4
AS
36336 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36337
cfdc0dd7
AS
36338 * math/libm-test.inc (jn_test): Add missing L suffix.
36339
622c86f4
MP
363402012-02-06 Marek Polacek <polacek@redhat.com>
36341
36342 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36343 * sysdeps/i386/fpu/e_powf.S: Likewise.
36344 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36345 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36346 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36347 * sysdeps/i386/fpu/e_pow.S: Likewise.
36348 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36349 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36350 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36351 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36352 * sysdeps/i386/fpu/e_log2.S: Likewise.
36353 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36354 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36355 * sysdeps/i386/fpu/e_powl.S: Likewise.
36356 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36358 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36359 * sysdeps/i386/fpu/e_logl.S: Likewise.
36360 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36361 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36362 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36363 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36364 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36365 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36366 * sysdeps/i386/fpu/e_log.S: Likewise.
36367 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36368 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36369 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36370 * sysdeps/i386/fpu/e_logf.S: Likewise.
36371 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36372 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36373 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36374 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36375 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36376 * sysdeps/i386/fpu/e_log10.S: Likewise.
36377 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36379 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36380 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36381 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36382 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36383 * sysdeps/i386/asm-syntax.h: Likewise.
36384 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36385 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36386 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36387 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36388 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36389 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36390 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36391 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36392 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36393 * sysdeps/powerpc/sysdep.h: Likewise.
36394 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36395 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36396
d4a54ac6
JM
363972012-02-06 Joseph Myers <joseph@codesourcery.com>
36398
36399 [BZ #411]
36400 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36401
314054ea
JM
364022012-02-06 Joseph Myers <joseph@codesourcery.com>
36403
36404 * sysdeps/i386/sysdep.h: Include <features.h>.
36405 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36406 version.
36407
d8e0ca50
JM
364082012-02-05 Joseph Myers <joseph@codesourcery.com>
36409
36410 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36411 Define.
36412 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36413 LOAD_PIC_REG_STR.
36414
b1da7dd9
JM
364152012-02-03 Joseph Myers <joseph@codesourcery.com>
36416
36417 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36418 (SETUP_PIC_REG): Use GET_PC_THUNK.
36419 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36420 macro.
36421
9a1d9254
JM
364222012-02-03 Joseph Myers <joseph@codesourcery.com>
36423
36424 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36425 for non-PIC compilation.
36426 (SETUP_PIC_REG): Add .p2align directive.
36427 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36428 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36429 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36430 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36431 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36432 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36433 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36435 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36436 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36437 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36438 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36439 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36440 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36441 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36442 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36443 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36444 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36445 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36446 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36447 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36449 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36450 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36451 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36453 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36454 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36455 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36456 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36457 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36458 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36459 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36460 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36461 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36462 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36463 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36464 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36465 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36466 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36467 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36468
65dc3b75
JM
364692012-02-03 Joseph Myers <joseph@codesourcery.com>
36470
36471 * math/tst-CMPLX.c: Include <stdio.h>.
36472
d55bf177
JM
364732012-01-31 Joseph Myers <joseph@codesourcery.com>
36474
36475 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36476 float.
36477 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36478 * sysdeps/sparc/bits/mathdef.h: Likewise.
36479
69db4f8f
MP
364802012-01-31 Marek Polacek <polacek@redhat.com>
36481
36482 * libio/libio.h: Don't define _PARAMS.
36483 * locale/programs/config.h: Don't define PARAMS.
36484 * stdlib/strtol_l.c: Likewise.
36485 (__strtol_l): Remove PARAMS from the prototype.
36486
41b81892
UD
364872012-01-31 Ulrich Drepper <drepper@gmail.com>
36488
3b49edc0
UD
36489 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36490 names. Just use the correct names. Remove unnecessary wrapper
36491 functions.
36492 * malloc/arena.c: Likewise.
36493 * malloc/hooks.c: Likewise.
36494
41b81892
UD
36495 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36496 ARENA_TEST says not to. Simplify test for creation of a new arena.
36497 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36498
27a25b6e
UD
364992012-01-30 Ulrich Drepper <drepper@gmail.com>
36500
36501 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36502 into tail calls.
36503 (update_get_addr): New function.
36504 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36505 GET_ADDR_MODULE parameter.
36506
c8a89e7d
JM
365072012-01-30 Joseph Myers <joseph@codesourcery.com>
36508
36509 * crypt/cert.c: Remove __STDC__ conditionals.
36510 * crypt/crypt-entry.c: Likewise.
36511 * crypt/crypt_util.c: Likewise.
36512 * libio/filedoalloc.c: Likewise.
36513 * libio/fileops.c: Likewise.
36514 * libio/genops.c: Likewise.
36515 * libio/iofclose.c: Likewise.
36516 * libio/iofdopen.c: Likewise.
36517 * libio/iofopen.c: Likewise.
36518 * libio/iofopen64.c: Likewise.
36519 * libio/iogetdelim.c: Likewise.
36520 * libio/iopopen.c: Likewise.
36521 * libio/obprintf.c: Likewise.
36522 * libio/oldfileops.c: Likewise.
36523 * libio/oldiofclose.c: Likewise.
36524 * libio/oldiofdopen.c: Likewise.
36525 * libio/oldiofopen.c: Likewise.
36526 * libio/oldiopopen.c: Likewise.
36527 * libio/wfiledoalloc.c: Likewise.
36528 * libio/wgenops.c: Likewise.
36529 * locale/programs/xmalloc.c: Likewise.
36530 * misc/syslog.c: Likewise.
36531 * stdio-common/xbug.c: Likewise.
36532 * string/memchr.c: Likewise.
36533 * string/memcmp.c: Likewise.
36534 * string/memrchr.c: Likewise.
36535 * string/rawmemchr.c: Likewise.
36536 * sysdeps/posix/getcwd.c: Likewise.
36537 * time/strftime_l.c: Likewise.
36538
3b100462
JM
365392012-01-30 Joseph Myers <joseph@codesourcery.com>
36540
36541 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
36542 * config.make.in (config-cflags-sse2avx): Define.
36543 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36544 Fix typo.
36545
607998af
CM
365462012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36547
36548 * scripts/config.guess: Update from upstream config git repository.
36549 * scripts/config.sub: Likewise.
36550
3601428f
CM
365512012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36552
3ac8b282
CM
36553 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36554 (EM_NUM): Update.
36555 (R_TILEPRO_*, R_TILEGX_*): New macros.
36556
e034841e
CM
36557 * scripts/firstversions.awk: Fix bug in version range handling.
36558
540d7568
CM
36559 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36560
3601428f
CM
36561 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36562
463de862
CM
36563 * include/sys/epoll.h: New file.
36564 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36565 libc_hidden_def.
36566
73139a76
UD
365672012-01-28 Ulrich Drepper <drepper@gmail.com>
36568
96bc5b45
UD
36569 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36570 Avoid unnecessary __WORDSIZE == 64 test.
36571 (fmaxf): Use VEX format if possible.
36572 (fmax): Likewise.
36573 (fminf): Likewise.
36574 (fmin): Likewise.
36575
56f6f6a2
UD
36576 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36577 * math/math_private.h: Remove libc_fegetround* and
36578 libc_fesetround*.
36579 * sysdeps/i386/configure.in: Check for -msse2avx.
36580 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36581 also if SSE2AVX is defined.
36582 Remove libc_fegetround* and libc_fesetround*.
36583 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36584 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36585 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36586 of HAS_YMM_USABLE.
36587 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36588 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36589 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36590 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36591 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36592
73139a76
UD
36593 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36594
d73f93a4
AZ
365952012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36596
36597 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36598 size is not set.
36599 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36600
6ee65ed6
UD
366012012-01-27 Ulrich Drepper <drepper@gmail.com>
36602
36603 [BZ #13618]
36604 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36605 relocation.
36606 * Makeconfig (libm): Define.
36607 * elf/Makefile: Add rules to build and run tst-relsort1.
36608 * elf/tst-relsort1.c: New file.
36609 * elf/tst-relsort1mod1.c: New file.
36610 * elf/tst-relsort1mod2.c: New file.
36611
8db21882
JM
366122012-01-27 Joseph Myers <joseph@codesourcery.com>
36613
36614 * math/s_ldexp.c: Remove __STDC__ conditionals.
36615 * math/s_ldexpf.c: Likewise.
36616 * math/s_ldexpl.c: Likewise.
36617 * math/s_nextafter.c: Likewise.
36618 * math/s_nexttowardf.c: Likewise.
36619 * math/s_significand.c: Likewise.
36620 * math/s_significandf.c: Likewise.
36621 * math/s_significandl.c: Likewise.
36622 * math/w_jnl.c: Likewise.
36623 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36624 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36625 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36626 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36627 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36629 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36630 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36631 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36632 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36633 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36634 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36635 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36636 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36637 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36638 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36639 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36640 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36642 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36643 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36644 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36645 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36646 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36647 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36648 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36649 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36650 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36651 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36652 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36653 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36654 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36655 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36656 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36657 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36658 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36659 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36660 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36661 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36662 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36663 * sysdeps/ieee754/k_standard.c: Likewise.
36664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36665 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36666 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36667 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36668 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36669 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36670 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36671 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36672 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36673 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36674 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36675 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36676 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36677 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36678 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36679 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36680 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36681 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36682 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36683 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36684 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36685 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36686 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36687 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36688 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36689 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36690 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36691 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36693 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36694 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36695 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36696 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36697 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36698 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36699 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36700 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36701 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36702 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36703 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36704 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36705 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36706 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36707 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36708 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36709 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36710 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36711 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36712 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36713 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36714 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36717 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36718 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36719 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36720 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36721 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36722 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36723 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36724 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36725 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36726 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36727 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36728 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36729 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36730 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36731 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36732 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36733 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36734 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36735 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36736 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36737 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36738 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36739 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36740 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36741 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36742 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36743 * sysdeps/ieee754/s_matherr.c: Likewise.
36744 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36745 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36746 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36747 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36748
965a54a4
JM
367492012-01-26 Joseph Myers <joseph@codesourcery.com>
36750
36751 * crypt/md5.h: Remove __STDC__ conditionals.
36752 * libio/libioP.h: Likewise.
36753 * locale/programs/config.h: Likewise.
36754 * sysdeps/generic/sysdep.h: Likewise.
36755 * sysdeps/i386/asm-syntax.h: Likewise.
36756 * sysdeps/s390/asm-syntax.h: Likewise.
36757 * sysdeps/unix/sysdep.h: Likewise.
36758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36760
7071ad79
JM
367612012-01-26 Joseph Myers <joseph@codesourcery.com>
36762
36763 * libio/libio.h: Remove __STDC__ conditionals.
36764 * malloc/obstack.h: Likewise.
36765 * math/complex.h: Likewise.
36766 * math/math.h: Likewise.
36767 * sysdeps/generic/_G_config.h: Likewise.
36768 * sysdeps/gnu/_G_config.h: Likewise.
36769 * sysdeps/mach/hurd/_G_config.h: Likewise.
36770 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36771 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36772 * sysdeps/sparc/bits/mathdef.h: Likewise.
36773
afc5ed09
UD
367742012-01-26 Ulrich Drepper <drepper@gmail.com>
36775
36776 [BZ #13583]
36777 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36778 Clean up HAS_* macros.
afc5ed09 36779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36780 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36781 possible.
36782 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36783 HAS_AVX.
36784 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36785 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36786 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36787 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36788 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36789
bdb6de1d
JM
367902012-01-25 Joseph Myers <joseph@codesourcery.com>
36791
36792 * elf/tst-unique3.cc (gets): Remove declaration.
36793 * elf/tst-unique3lib.cc (gets): Likewise.
36794 * elf/tst-unique3lib2.cc (gets): Likewise.
36795 * elf/tst-unique4.cc (gets): Likewise.
36796
b15549e6
UD
367972012-01-24 Ulrich Drepper <drepper@gmail.com>
36798
36799 * include/stdio.h: Add C++ protection. Add gets declarations and
36800 definitions.
36801 * debug/tst-chk1.c: Don't declare gets here.
36802 * stdio-common/tst-gets.c: Likewise.
36803
a037381f
JM
368042012-01-24 Joseph Myers <joseph@codesourcery.com>
36805
36806 * posix/glob: Remove directory.
36807
f1d4aa75
JM
368082012-01-24 Joseph Myers <joseph@codesourcery.com>
36809
36810 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36811
81c0c964
PT
368122012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36813
36814 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36815 of the non-standard EPFNOSUPPORT.
36816
0ea698ae
ST
368172011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36818
36819 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36820 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36821 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36822
d220b117
UD
368232012-01-21 Ulrich Drepper <drepper@gmail.com>
36824
36825 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36826
3e1aa84e
UD
368272012-01-20 Ulrich Drepper <drepper@gmail.com>
36828
36829 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36830 transient errors.
36831 * nscd/grpcache.c (cache_addgr): Likewise.
36832 * nscd/hstcache.c (cache_addhst): Likewise.
36833 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36834 * nscd/pwdcache.c (cache_addpw): Likewise.
36835 * nscd/servicescache.c (cache_addserv): Likewise.
36836
400aa020
UD
368372012-01-16 Ulrich Drepper <drepper@gmail.com>
36838
d77e7869
UD
36839 * malloc/malloc.c: Various cleanups.
36840 * malloc/hooks.c: Likewise.
36841
400aa020
UD
36842 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36843 * stdlib/bug-fmtmsg1.c: New file.
36844
36845 * stdlib/fmtmsg.c (init): Add missing unlock.
36846 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36847
e0a309cf
MP
368482012-01-12 Marek Polacek <polacek@redhat.com>
36849
36850 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36851 and _GNU_SOURCE.
36852
929d11c7
WS
368532012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36854
36855 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36856 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36857 macro to ensure uniqueness of label name.
36858 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36859 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36860
41d0e869
UD
368612012-01-11 Ulrich Drepper <drepper@gmail.com>
36862
0cc5ed3b
UD
36863 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36864
41d0e869
UD
36865 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36866 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36867 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36869
a47a831a
UD
368702012-01-10 Ulrich Drepper <drepper@gmail.com>
36871
daa891c0
UD
36872 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36873
36874 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36875 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36876 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36877
e58ef0f2
UD
36878 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36879
a47a831a 36880 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36881 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36882 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36884
36885 * math/bits/math-finite.h: Add ldexp support.
36886
a0bfc9c7
MP
368872012-01-10 Marek Polacek <polacek@redhat.com>
36888
36889 * locale/programs/localedef.h (show_archive_content): Add noreturn
36890 attribute.
36891
d6e97a1d
UD
368922012-01-09 Ulrich Drepper <drepper@gmail.com>
36893
36894 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36895
d5835c26
UD
368962012-01-08 Ulrich Drepper <drepper@gmail.com>
36897
e5f484c6
UD
36898 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36899
d5835c26
UD
36900 * io/Makefile (headers): Add bits/poll2.h.
36901
d1f741e9
WS
369022011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36903
36904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36905 typo #include statement.
36906
ec09c1c4
UD
369072012-01-08 Ulrich Drepper <drepper@gmail.com>
36908
36909 * include/sys/cdefs.h: Define __attribute_alloc_size.
36910 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36911 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36912 * elf/pldd.c: Likewise.
36913 * iconv/iconv_charmap.c: Likewise.
36914 * iconv/iconvconfig.c: Likewise.
36915 * iconv/strtab.c: Likewise.
36916 * locale/programs/locale.c: Likewise.
36917 * locale/programs/localedef.h: Likewise.
36918 * locale/programs/simple-hash.c: Likewise.
36919 * nscd/nscd.h: Likewise.
36920 * nss/makedb.c: Likewise.
36921 * sysdeps/generic/ldconfig.h: Likewise.
36922 * locale/programs/localedef.c: Remove xmalloc prototype.
36923 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36924
20b38e03
PP
369252012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36926
36927 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36928 appropriate.
36929
a0da5fe1
UD
369302012-01-08 Ulrich Drepper <drepper@gmail.com>
36931
1d5a644a 36932 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36933 * math/tst-CMPLX.c: New file.
1d5a644a 36934
8784a6db
UD
36935 * math/complex.h (CMPLXL): Fix typo.
36936
d9a216c0
UD
36937 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36938 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36939 GLIBC_2.16.
36940 * debug/tst-chk1.c: Add poll and ppoll tests.
36941 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36942 * include/sys/poll.h: Add hidden proto for ppoll.
36943 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36944 * sysdeps/mach/hurd/ppoll.c: Likewise.
36945 * io/ppoll.c: Likewise.
36946 * debug/poll_chk.c: New file.
36947 * debug/ppoll_chk.c: New file.
36948 * include/bits/poll2.h: New file.
36949 * io/bits/poll2.h: New file.
36950
ac097f5c
UD
36951 [BZ #1350]
36952 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36953
2119dcfa
UD
36954 * configure.in: static is always set to yes. Remove.
36955 * config.make.in: Don't set build-static.
36956 * Makeconfig: Remove use of build-static.
36957 * dlfcn/Makefile: Likewise.
36958 * elf/Makefile: Likewise.
36959 * math/Makefile: Likewise.
36960 * misc/Makefile: Likewise.
36961 * nptl/Makefile: Likewise.
36962 * sysdeps/mach/hurd/Makefile: Likewise.
36963
121766a9
UD
36964 * configure.in: PWD_P is not used anymore.
36965 * config.make.in: Remove PWD_P entry.
36966
51a1d39c 36967 * configure.in: Remove last remnants of RANLIB.
8720d066 36968 No need to check for signed size_t anymore.
215f4bdc
UD
36969 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36970 and IA-64.
3857022a 36971 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36972 * aclocal.m4: Likewise.
36973
d3ed7225
UD
36974 * wcsmbs/mbrtoc16.c: Implement using towc function.
36975 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36976 * wcsmbs/wcsmbsload.c: Likewise.
36977 * iconv/gconv_simple.c: Likewise.
36978 * iconv/gconv_int.h: Likewise.
36979 * iconv/gconv_builtin.h: Likewise.
36980 * iconv/iconv_prog.c: Remove CHAR16 handling.
36981
36982 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36983
36984 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36985
a0da5fe1
UD
36986 * configure.in: Remove --with-elf and --enable-bounded options.
36987 Dont set base_machine for ia64. More non-ELF conditions removed.
36988 Remove testing and setting of leading underscore information.
36989 * config.make.in (build-bounded): Set to no.
36990 * config.h.in: Remove NO_UNDERSCORES entry.
36991 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36992 them.
36993 * csu/start.c: Remove !NO_UNDERSCORE code.
36994 * locale/localeinfo.h: Likewise.
36995 * sysdeps/generic/machine-gmon.h: Likewise.
36996 * sysdeps/generic/sysdep.h: Likewise.
36997 * sysdeps/i386/sysdep.h: Likewise.
36998 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36999 * sysdeps/mach/sysdep.h: Likewise.
37000 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37002 * sysdeps/sh/sysdep.h: Likewise.
37003 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37004 * sysdeps/unix/i386/sysdep.S: Likewise.
37005 * sysdeps/unix/sparc/start.c: Likewise.
37006 * sysdeps/unix/sparc/sysdep.S: Likewise.
37007 * sysdeps/unix/sparc/sysdep.h: Likewise.
37008 * sysdeps/unix/start.c: Likewise.
37009 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37010 * sysdeps/x86_64/sysdep.h: Likewise.
37011
df78418a
UD
370122012-01-07 Ulrich Drepper <drepper@gmail.com>
37013
a784e502
UD
37014 [BZ #13553]
37015 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37016 for non-gcc.
37017 * argp/argp-fmtstream.h: Use const instead __const.
37018 * argp/argp.h: Likewise.
37019 * assert/assert.h: Likewise.
37020 * bits/fenv.h: Likewise.
37021 * bits/sched.h: Likewise.
37022 * bits/sigset.h: Likewise.
37023 * bits/sigthread.h: Likewise.
37024 * catgets/nl_types.h: Likewise.
37025 * conform/data/pthread.h-data: Likewise.
37026 * crypt/crypt-private.h: Likewise.
37027 * crypt/crypt.h: Likewise.
37028 * crypt/crypt_util.c: Likewise.
37029 * ctype/ctype.h: Likewise.
37030 * debug/execinfo.h: Likewise.
37031 * debug/mbsnrtowcs_chk.c: Likewise.
37032 * debug/mbsrtowcs_chk.c: Likewise.
37033 * debug/wcsnrtombs_chk.c: Likewise.
37034 * debug/wcsrtombs_chk.c: Likewise.
37035 * debug/wcstombs_chk.c: Likewise.
37036 * dirent/dirent.h: Likewise.
37037 * dlfcn/dlfcn.h: Likewise.
37038 * elf/neededtest4.c: Likewise.
37039 * grp/grp.h: Likewise.
37040 * gshadow/gshadow.h: Likewise.
37041 * iconv/gconv.h: Likewise.
37042 * iconv/gconv_int.h: Likewise.
37043 * iconv/gconv_simple.c: Likewise.
37044 * iconv/iconv.h: Likewise.
37045 * iconv/loop.c: Likewise.
37046 * iconv/skeleton.c: Likewise.
37047 * include/aio.h: Likewise.
37048 * include/aliases.h: Likewise.
37049 * include/argz.h: Likewise.
37050 * include/arpa/inet.h: Likewise.
37051 * include/assert.h: Likewise.
37052 * include/dirent.h: Likewise.
37053 * include/dlfcn.h: Likewise.
37054 * include/execinfo.h: Likewise.
37055 * include/fcntl.h: Likewise.
37056 * include/fenv.h: Likewise.
37057 * include/glob.h: Likewise.
37058 * include/grp.h: Likewise.
37059 * include/libintl.h: Likewise.
37060 * include/mntent.h: Likewise.
37061 * include/netdb.h: Likewise.
37062 * include/pwd.h: Likewise.
37063 * include/rpc/netdb.h: Likewise.
37064 * include/sched.h: Likewise.
37065 * include/search.h: Likewise.
37066 * include/shadow.h: Likewise.
37067 * include/signal.h: Likewise.
37068 * include/stdio.h: Likewise.
37069 * include/stdlib.h: Likewise.
37070 * include/string.h: Likewise.
37071 * include/sys/socket.h: Likewise.
37072 * include/sys/stat.h: Likewise.
37073 * include/sys/statfs.h: Likewise.
37074 * include/sys/statvfs.h: Likewise.
37075 * include/sys/syslog.h: Likewise.
37076 * include/sys/time.h: Likewise.
37077 * include/sys/uio.h: Likewise.
37078 * include/time.h: Likewise.
37079 * include/unistd.h: Likewise.
37080 * include/utmp.h: Likewise.
37081 * include/wchar.h: Likewise.
37082 * include/wctype.h: Likewise.
37083 * inet/aliases.h: Likewise.
37084 * inet/arpa/inet.h: Likewise.
37085 * inet/netinet/ether.h: Likewise.
37086 * inet/netinet/in.h: Likewise.
37087 * intl/libintl.h: Likewise.
37088 * io/bits/fcntl2.h: Likewise.
37089 * io/fcntl.h: Likewise.
37090 * io/ftw.h: Likewise.
37091 * io/sys/poll.h: Likewise.
37092 * io/sys/stat.h: Likewise.
37093 * io/sys/statfs.h: Likewise.
37094 * io/sys/statvfs.h: Likewise.
37095 * io/utime.h: Likewise.
37096 * libio/bits/stdio.h: Likewise.
37097 * libio/bits/stdio2.h: Likewise.
37098 * libio/libio.h: Likewise.
37099 * libio/libioP.h: Likewise.
37100 * libio/stdio.h: Likewise.
37101 * locale/lc-ctype.c: Likewise.
37102 * locale/locale.h: Likewise.
37103 * login/utmp.h: Likewise.
37104 * malloc/arena.c: Likewise.
37105 * malloc/malloc.c: Likewise.
37106 * malloc/malloc.h: Likewise.
37107 * malloc/mcheck.c: Likewise.
37108 * malloc/mtrace.c: Likewise.
37109 * math/bits/mathcalls.h: Likewise.
37110 * math/fenv.h: Likewise.
37111 * math/math_private.h: Likewise.
37112 * misc/bits/error.h: Likewise.
37113 * misc/bits/syslog.h: Likewise.
37114 * misc/err.h: Likewise.
37115 * misc/error.h: Likewise.
37116 * misc/fstab.h: Likewise.
37117 * misc/mntent.h: Likewise.
37118 * misc/regexp.h: Likewise.
37119 * misc/search.h: Likewise.
37120 * misc/sgtty.h: Likewise.
37121 * misc/sys/mman.h: Likewise.
37122 * misc/sys/syslog.h: Likewise.
37123 * misc/sys/uio.h: Likewise.
37124 * misc/sys/xattr.h: Likewise.
37125 * misc/ttyent.h: Likewise.
37126 * nis/rpcsvc/ypclnt.h: Likewise.
37127 * nss/nss.h: Likewise.
37128 * posix/bits/unistd.h: Likewise.
37129 * posix/fnmatch.h: Likewise.
37130 * posix/glob.h: Likewise.
37131 * posix/sched.h: Likewise.
37132 * posix/spawn.h: Likewise.
37133 * posix/sys/wait.h: Likewise.
37134 * posix/unistd.h: Likewise.
37135 * posix/wordexp.h: Likewise.
37136 * pwd/pwd.h: Likewise.
37137 * resolv/netdb.h: Likewise.
37138 * resource/sys/resource.h: Likewise.
37139 * rt/aio.h: Likewise.
37140 * rt/bits/mqueue2.h: Likewise.
37141 * rt/mqueue.h: Likewise.
37142 * shadow/shadow.h: Likewise.
37143 * signal/signal.h: Likewise.
37144 * socket/send.c: Likewise.
37145 * socket/sendto.c: Likewise.
37146 * socket/sys/socket.h: Likewise.
37147 * stdio-common/printf.h: Likewise.
37148 * stdlib/bits/stdlib.h: Likewise.
37149 * stdlib/fmtmsg.h: Likewise.
37150 * stdlib/monetary.h: Likewise.
37151 * stdlib/stdlib.h: Likewise.
37152 * stdlib/ucontext.h: Likewise.
37153 * streams/stropts.h: Likewise.
37154 * string/argz.h: Likewise.
37155 * string/bits/string2.h: Likewise.
37156 * string/string.h: Likewise.
37157 * string/strings.h: Likewise.
37158 * sunrpc/rpc/auth.h: Likewise.
37159 * sunrpc/rpc/auth_des.h: Likewise.
37160 * sunrpc/rpc/clnt.h: Likewise.
37161 * sunrpc/rpc/netdb.h: Likewise.
37162 * sunrpc/rpc/pmap_clnt.h: Likewise.
37163 * sunrpc/rpc/xdr.h: Likewise.
37164 * sysdeps/generic/inttypes.h: Likewise.
37165 * sysdeps/generic/net/if.h: Likewise.
37166 * sysdeps/generic/sys/swap.h: Likewise.
37167 * sysdeps/gnu/net/if.h: Likewise.
37168 * sysdeps/gnu/utmpx.h: Likewise.
37169 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37170 * sysdeps/i386/i486/bits/string.h: Likewise.
37171 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37172 * sysdeps/s390/bits/string.h: Likewise.
37173 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37174 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37175 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37176 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37177 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37178 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37179 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37180 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37181 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37182 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37183 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37184 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37185 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37186 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37187 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37188 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37189 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37191 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37192 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37193 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37194 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37195 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37196 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37197 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37198 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37199 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37200 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37201 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37202 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37203 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37204 * sysvipc/sys/ipc.h: Likewise.
37205 * sysvipc/sys/msg.h: Likewise.
37206 * sysvipc/sys/sem.h: Likewise.
37207 * sysvipc/sys/shm.h: Likewise.
37208 * termios/termios.h: Likewise.
37209 * time/sys/time.h: Likewise.
37210 * time/time.h: Likewise.
37211 * wcsmbs/bits/wchar2.h: Likewise.
37212 * wcsmbs/uchar.h: Likewise.
37213 * wcsmbs/wchar.h: Likewise.
37214 * wctype/wctype.h: Likewise.
37215
0269750c
UD
37216 [BZ #13551]
37217 * Makeconfig: Remove all but ELF support including AIX support.
37218 * Makerules: Likewise.
37219 * config.h.in: Likewise.
37220 * config.make.in: Likewise.
37221 * configure: Likewise.
37222 * configure.in: Likewise.
37223 * csu/Makefile: Likewise.
37224 * csu/version.c: Likewise.
37225 * debug/Makefile: Likewise.
37226 * dlfcn/Makefile: Likewise.
37227 * elf/Makefile: Likewise.
37228 * extra-lib.mk: Likewise.
37229 * iconv/Makefile: Likewise.
37230 * include/libc-symbols.h: Likewise.
37231 * include/shlib-compat.h: Likewise.
37232 * resolv/Makefile: Likewise.
37233 * resolv/res_libc.c: Likewise.
37234 * rt/Makefile: Likewise.
37235 * sysdeps/i386/asm-syntax.h: Likewise.
37236 * sysdeps/i386/sysdep.h: Likewise.
37237 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37238 * sysdeps/mach/sysdep.h: Likewise.
37239 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37240 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37241 * sysdeps/s390/asm-syntax.h: Likewise.
37242 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37243 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37244 * sysdeps/sh/sysdep.h: Likewise.
37245 * sysdeps/unix/sparc/sysdep.h: Likewise.
37246 * sysdeps/wordsize-32/divdi3.c: Likewise.
37247 * sysdeps/x86_64/sysdep.h: Likewise.
37248
00bbd29b
UD
37249 * argp/Versions: Remove _argp_unlock_xxx.
37250
37251 [BZ #13559]
37252 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37253 * abilist/libBrokenLocale.abilist: Likewise.
37254 * abilist/libanl.abilist: Likewise.
37255 * abilist/libc.abilist: Likewise.
37256 * abilist/libcrypt.abilist: Likewise.
37257 * abilist/libdl.abilist: Likewise.
37258 * abilist/libm.abilist: Likewise.
37259 * abilist/libnsl.abilist: Likewise.
37260 * abilist/libpthread.abilist: Likewise.
37261 * abilist/libresolv.abilist: Likewise.
37262 * abilist/librt.abilist: Likewise.
37263 * abilist/libthread_db.abilist: Likewise.
37264 * abilist/libutil.abilist: Likewise.
37265 * abilist/libnss_db.abilist: New file.
37266
37267 * scripts/abilist.awk: Add support for indirect functions.
37268
a2693a0e
UD
37269 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37270
3f05895f
UD
37271 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37272
ecb6fb48
UD
37273 * shlib-versions: Remove entries for ports architectures.
37274
664f8cb9
UD
37275 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37276 files in ports.
37277 * elf/stackguard-macros.h: Remove support for IA-64.
37278 * elf/tst-auditmod1.c: Likewise.
37279 * sysdeps/generic/ldsodefs.h: Likewise.
37280
7ae81d88
UD
37281 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37282 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37283 configure files.
37284
bdeba135
UD
37285 [BZ #13552]
37286 * configure.in: Remove --enable-omitfp support.
37287 * FAQ.in: Adjust.
37288 * config.make.in: Likewise.
37289 * Makeconfig: Likewise.
37290 * manual/install.texi: Likewise.
37291
d75a0a62
UD
37292 In case anyone cares, the IA-64 architecture could move to ports.
37293 * sysdeps/ia64/*: Removed.
37294 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37295 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37296
dcc9756b
UD
37297 [BZ #13555]
37298 * configure.in: Remove entries for unsupported architectures.
37299
d3761ebc 37300 [BZ #13533]
9954432e
UD
37301 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37302 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37303 routines.
37304 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37305 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37306 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37307 fall back to using wcrtomb.
37308 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37309 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37310 renaming.
37311 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37312 * wcsmbs/tst-c16c32-1.c: New file.
37313
37314 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37315 local variable.
37316
c3a87236
UD
37317 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37318
28926a1b
UD
37319 * elf/tst-unique3.cc: Add explicit declaration of gets.
37320 * elf/tst-unique3lib.cc: Likewise.
37321 * elf/tst-unique3lib2.cc: Likewise.
37322 * elf/tst-unique4.cc: Likewise.
37323
df78418a
UD
37324 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37325
8ecd6b2a
JM
373262012-01-06 Joseph Myers <joseph@codesourcery.com>
37327
37328 [BZ #13566]
37329 * assert/assert.h (static_assert): Don't define for C++.
37330 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37331 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37332
9f115170
UD
373332012-01-03 Ulrich Drepper <drepper@gmail.com>
37334
5e0d0300
UD
37335 * iconv/loop.c (single loop): Fix assertion in storing of
37336 remaining bytes.
37337
9f115170
UD
37338 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37339
81fb02b0
UD
373402012-01-01 Ulrich Drepper <drepper@gmail.com>
37341
37342 * posix/getconf.c: Update copyright year.
37343 * nss/getent.c: Likewise.
a316c1f6 37344 * nss/makedb.c: Likewise.
81fb02b0
UD
37345 * iconv/iconvconfig.c: Likewise.
37346 * iconv/iconv_prog.c: Likewise.
37347 * elf/ldconfig.c: Likewise.
a316c1f6
UD
37348 * elf/pldd.c: Likewise.
37349 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
37350 * catgets/gencat.c: Likewise.
37351 * csu/version.c: Likewise.
37352 * elf/ldd.bash.in: Likewise.
37353 * elf/sprof.c (print_version): Likewise.
37354 * locale/programs/locale.c: Likewise.
37355 * locale/programs/localedef.c: Likewise.
a316c1f6 37356 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
37357 * nscd/nscd.c (print_version): Likewise.
37358 * debug/xtrace.sh: Likewise.
37359 * malloc/memusage.sh: Likewise.
37360 * malloc/mtrace.pl: Likewise.
37361 * debug/catchsegv.sh: Likewise.
37362
2ba92745
JJ
373632011-12-30 Jakub Jelinek <jakub@redhat.com>
37364
37365 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37366 pure attribute.
37367
dadebdae
UD
373682011-12-24 Ulrich Drepper <drepper@gmail.com>
37369
d3761ebc 37370 [BZ #13533]
db6af3eb
UD
37371 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37372 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37373 transformations.
37374 * iconv/gconv_int.h: Likewise.
37375 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37376 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37377 from libc for GLIBC_2.16.
37378 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37379 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37380 * wcsmbs/uchar.h: Really define mbstate_t.
37381 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37382 * wcsmbs/c16rtomb.c: New file.
37383 * wcsmbs/mbrtoc16.c: New file.
37384 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37385 for C/POSIX locale.
37386 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37387 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37388
dadebdae
UD
37389 * wcsmbs/wchar.h: Add missing __restrict.
37390
67371b56
UD
373912011-12-23 Ulrich Drepper <drepper@gmail.com>
37392
74033a25
UD
37393 [BZ #13532]
37394 * time/Makefile (routines): Add timespec_get.
37395 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37396 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37397 timespec for ISO C11.
37398 * time/timespec_get.c: New file.
37399 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37400 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37401
380d7e87
UD
37402 [BZ #13531]
37403 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37404 * stdlib/stdlib.h: Declare aligned_alloc.
37405 * Versions.def: Add GLIBC_2.16 for libc.
37406 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37407
4e9e7a35
UD
37408 [BZ 13527]
37409 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37410 ISO C11.
37411
380d7e87 37412 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
37413 code.
37414
03a71829
UD
37415 [BZ #13528]
37416 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37417
839e283e
UD
37418 [BZ #13529]
37419 * assert/assert.h (static_assert): Define.
37420
ce5294e2 37421 * version.h: Update for 2.16 development version.
90fa7312 37422
8d44e150 37423 [BZ #13526]
d7809905
UD
37424 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37425 _ISOC11_SOURCE.
37426
c0da14cd
UD
37427 * version.h (RELEASE): Bump for 2.15 release.
37428 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37429
530a3249
MP
37430 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37431 Patch by Marek Polacek <mpolacek@redhat.com>.
37432
67371b56
UD
37433 * bits/byteswap.h: Protect long long constants with __extension__.
37434 * sysdeps/i386/bits/byteswap.h: Likewise.
37435 * sysdeps/ia64/bits/byteswap.h: Likewise.
37436 * sysdeps/s390/bits/byteswap.h: Likewise.
37437 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37438
15db4de1
LD
374392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37440
37441 [BZ #13540]
bbe315ea
LD
37442 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37443 destination buffer.
15db4de1
LD
37444 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37445
2b2596b1
MP
374462011-12-23 Marek Polacek <polacek@redhat.com>
37447
37448 * elf/dl-addr.c (determine_info): Add inline keyword.
37449 * elf/tst-auditmod4b.c (check_avx): Likewise.
37450 * elf/tst-auditmod6b.c (check_avx): Likewise.
37451 * elf/tst-auditmod6c.c (check_avx): Likewise.
37452 * elf/tst-auditmod7b.c (check_avx): Likewise.
37453
70c6c246
UD
374542011-12-23 Ulrich Drepper <drepper@gmail.com>
37455
37456 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37457 !__SSE_MATH__.
37458
c044cf14
LD
374592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37460
15db4de1 37461 [BZ #13540]
c044cf14
LD
37462 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37463 processing for last bytes.
37464
6b13d9d9
BH
374652011-08-06 Bruno Haible <bruno@clisp.org>
37466
d455f537
BH
37467 [BZ #13061]
37468 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37469 U+0385, not to U+1FEE.
37470
6b13d9d9
BH
37471 [BZ #13062]
37472 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37473 entry for U+00A5 U+0301.
37474
db910efd
UD
374752011-12-22 Ulrich Drepper <drepper@gmail.com>
37476
27deeafc
UD
37477 [BZ #13166]
37478 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37479 buffer for the output is too small.
37480
aed9d171
UD
37481 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37482 optimization.
37483
db910efd
UD
37484 [BZ #13185]
37485 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37486 SSE flags if possible.
37487
2bd779ae
LD
374882011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37489
e7f9dac3 37490 [BZ #13540]
2bd779ae
LD
37491 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37492 processing for last bytes.
37493
154bfc16
JM
374942011-12-22 Joseph Myers <joseph@codesourcery.com>
37495
37496 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37497 (syscall-list-default-options, syscall-list-default-condition)
37498 (syscall-list-includes): Define.
37499 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37500 list of ABIs and options and #if conditions for each ABI. Do not
37501 handle common syscalls between ABIs specially.
37502 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37503 Remove.
37504 (syscall-list-variants, syscall-list-32bit-options)
37505 (syscall-list-32bit-condition, syscall-list-64bit-options)
37506 (syscall-list-64bit-condition): Define.
37507 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37508 (syscall-list-variants, syscall-list-32bit-options)
37509 (syscall-list-32bit-condition, syscall-list-64bit-options)
37510 (syscall-list-64bit-condition): Define.
37511 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37512 Remove.
37513 (syscall-list-variants, syscall-list-32bit-options)
37514 (syscall-list-32bit-condition, syscall-list-64bit-options)
37515 (syscall-list-64bit-condition): Define.
37516 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37517 Remove.
37518 (syscall-list-variants, syscall-list-32bit-options)
37519 (syscall-list-32bit-condition, syscall-list-64bit-options)
37520 (syscall-list-64bit-condition): Define.
37521
21eaf3a5
UD
375222011-12-22 Ulrich Drepper <drepper@gmail.com>
37523
16c6f992
UD
37524 * locale/iso-639.def: Add brx entry.
37525
41043168
UD
37526 [BZ #13328]
37527 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37528 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37529
21eaf3a5
UD
37530 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37531 __feraiseexcept_renamed.
37532
e3a851a2
UD
375332011-12-21 Ulrich Drepper <drepper@gmail.com>
37534
4920765e
UD
37535 [BZ #13538]
37536 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37537 EPOLLET with unsigned values.
37538 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37539 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37540
e3a851a2
UD
37541 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37542 to large cancellation.
37543 * math/s_cacoshf.c: Likewise.
37544 * math/s_cacoshl.c: Likewise.
37545
b27e24b8
RK
375462011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37547
37548 [BZ #13305]
aebefeee 37549 [BZ #12786]
b27e24b8
RK
37550 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37551 * math/s_cacoshf.c: Likewise.
37552 * math/s_cacoshl.c: Likewise.
37553
ee190f67
UD
375542011-12-21 Ulrich Drepper <drepper@gmail.com>
37555
37556 [BZ #13439]
37557 * iconv/gconv.h: Define __GCONV_SWAP.
37558 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37559 * iconvdata/utf-16.c: Likewise.
37560 * iconvdata/utf-32.c: Likewise.
37561
707f25df
AS
375622011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37563
37564 [BZ #13524]
37565 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37566 numerator after shifting it by one limb.
37567
d2daaa1e
RÁE
375682011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37569
37570 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37571 under [__USE_EXTERN_INLINES].
37572
a4647e72
UD
375732011-12-17 Ulrich Drepper <drepper@gmail.com>
37574
37575 [BZ #13446]
37576 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37577
f0b264f1
AZ
375782011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37579
37580 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37581 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37582 optimized code.
37583 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37584 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37585 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37586 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37587 for strncasecmp/strncasecmp_l compilation.
37588 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37589 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37590
8ef4f244
MP
375912011-12-08 Marek Polacek <mpolacek@redhat.com>
37592
37593 [BZ #13484]
37594 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37595 of __asm__.
37596
97ac2654
UD
375972011-12-17 Ulrich Drepper <drepper@gmail.com>
37598
37599 [BZ #13506]
37600 * time/tzfile.c (__tzfile_read): Check values from file header.
37601
91d2a845
WS
376022011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37603
37604 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37605 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37606 * powerpc/powerpc32/dl-start.S: Likewise.
37607 * powerpc/powerpc32/elf/start.S: Likewise.
37608 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37609 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37610 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37611 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37612 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37613 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37614 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37615 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37616 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37617 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37618 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37619 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37620 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37621 * powerpc/powerpc32/memset.S: Likewise.
37622 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37623 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37624 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37625 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37626 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37627 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37628 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37629 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37630 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37631 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37632 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37633 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37634 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37635
a1267ba1
AZ
376362011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37637
37638 * math/libm-test.inc: Added more nearbyint tests.
37639 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37640 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37641 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37642 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37643
ad8ac1bd
RL
376442011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37645
37646 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37647 FD_CLOEXEC.
37648
1d3e4b61
UD
376492011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37650
37651 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37652 Add wcscpy-ssse3 wcscpy-c.
37653 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37654 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37655 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37656 * sysdeps/x86_64/wcschr.S: New file.
37657 * sysdeps/x86_64/wcsrchr.S: New file.
37658 * string/test-strcmp.c: Remove checking of wcscmp function for
37659 wrong alignments.
37660 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37661 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37662 wcsrchr-sse2 wcsrchr-c.
37663 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37664 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37665 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37666 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37667 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37668 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37669 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37670 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37671 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37672 * wcsmbc/wcschr.c (WCSCHR): New macro.
37673
5b330a2d
UD
376742011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37675
37676 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37677 * wcsmbs/test-wcsrchr.c: New file.
37678 * string/test-strrchr.c: Add wcsrchr support.
37679 (WIDE): New macro.
37680 * wcsmbs/test-wcscpy.c: New file.
37681 * string/test-strcpy.c: Add wcscpy support.
37682 (WIDE): New macro.
26428b7c 37683
f039c043
UD
376842011-12-10 Ulrich Drepper <drepper@gmail.com>
37685
37686 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37687 the inner loop.
37688
850fb039
AS
376892011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37690
37691 [BZ #13472]
37692 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37693
4efbd5cb
UD
376942011-12-04 Ulrich Drepper <drepper@gmail.com>
37695
52ff5dd0 37696 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37697 Minor optimizations.
52ff5dd0 37698
4efbd5cb
UD
37699 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37700 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37701 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37702
8a426e12
UD
377032011-12-03 Ulrich Drepper <drepper@gmail.com>
37704
aff2453d
UD
37705 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37706 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37707 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37708 for gcc to avoid warnings.
37709 * inet/Makefile (tests): Add tst-checks.
37710 * inet/tst-checks.c: New file.
37711
37712 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37713 warning.
37714
37715 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37716 __wmemcmp_sse2.
37717
37718 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37719 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37720
8a426e12
UD
37721 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37722
9bea3473
UD
377232011-12-02 Ulrich Drepper <drepper@gmail.com>
37724
3a965496
UD
37725 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37726 problem.
37727
9bea3473
UD
37728 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37729
f101631b
UD
377302011-11-29 Joseph Myers <joseph@codesourcery.com>
37731
37732 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37733 conditional on GCC version.
37734 (__arch_compare_and_exchange_val_8_acq)
37735 (__arch_compare_and_exchange_val_16_acq)
37736 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37737 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37738 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37739
a98275aa
UD
377402011-12-02 Joseph Myers <joseph@codesourcery.com>
37741
37742 * sysdeps/sh/backtrace.c: New file.
37743
d4cc29a2
AS
377442011-12-02 Andreas Schwab <schwab@redhat.com>
37745
37746 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37747 parenthesis.
37748
6257af2d
AS
377492011-12-01 Andreas Schwab <schwab@redhat.com>
37750
37751 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37752 falling back to utime.
37753
b5f44c1a
AS
377542011-11-30 Andreas Schwab <schwab@redhat.com>
37755
37756 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37757 expectations for float.
37758
f3a6cc0a
AS
377592011-11-29 Andreas Schwab <schwab@redhat.com>
37760
37761 * locale/weight.h (findidx): Add parameter len.
37762 * locale/weightwc.h (findidx): Likewise.
37763 * posix/fnmatch_loop.c (FCT): Adjust caller.
37764 * posix/regcomp.c (build_equiv_class): Likewise.
37765 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37766 * posix/regexec.c (check_node_accept_bytes): Likewise.
37767 * string/strcoll_l.c (STRCOLL): Likewise.
37768 * string/strxfrm_l.c (STRXFRM): Likewise.
37769
9d65ea3a
UD
377702011-11-17 Ulrich Drepper <drepper@gmail.com>
37771
37772 * Makefile.in: Remove CVSOPT handling.
37773 * configure.in: Remove use of AC_REVISION.
37774 * iconvdata/Makefile (distribute): No need to filter out CVS.
37775 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37776 handling.
37777
5583a086
AS
377782011-11-16 Andreas Schwab <schwab@redhat.com>
37779
37780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37781 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37782 [USE_AS_STRNCASECMP_L]: Likewise.
37783 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37784 NO_TLS_DIRECT_SEG_REFS.
37785 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37786 Fix argument offsets for non-PIC.
37787 [USE_AS_STRNCASECMP_L]: Likewise.
37788 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37789 NO_TLS_DIRECT_SEG_REFS.
37790
d62a8200
UD
377912011-11-15 Ulrich Drepper <drepper@gmail.com>
37792
9d65ea3a 37793 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37794 O_CLOEXEC.
37795 * locale/loadlocale.c (_nl_load_locale): Likewise.
37796
09f93bd3
AS
377972011-11-15 Andreas Schwab <schwab@redhat.com>
37798
446514f9
AS
37799 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37800 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37801 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37802 (SYSCALL_GETTIME): Set errno on error.
37803
09f93bd3
AS
37804 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37805 count references to noai6ai_cached.
37806
312be3f9
UD
378072011-11-15 Ulrich Drepper <drepper@gmail.com>
37808
37809 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37810
37811 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37812 FD_CLOEXEC for /proc/self/maps.
37813
37814 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37815 FD_CLOEXEC for /proc/meminfo.
37816
37817 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37818 gai.conf.
37819
37820 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37821 FD_CLOEXEC for given file.
37822
37823 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37824
37825 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37826 FD_CLOEXEC for /etc/hosts.
37827 (_gethtent): Likewise.
37828
37829 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37830
37831 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37832 cancellation and set FD_CLOEXEC for /etc/netgroup.
37833
37834 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37835 reading /etc/publickey.
37836
37837 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37838 allow cancellation when reading /etc/group.
37839
37840 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37841 cancellation.
37842 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37843
37844 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37845 when using data file.
37846
37847 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37848
37849 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37850 (write_nis_obj): Use "c" and "e" in fopen.
37851
37852 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37853
37854 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37855
37856 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37857
37858 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37859
37860 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37861 locale.alias.
37862
37863 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37864
37865 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37866
37867 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37868
37869 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37870 file parsing and set FD_CLOEXEC.
37871
82af0fa8
UD
378722011-11-14 Ulrich Drepper <drepper@gmail.com>
37873
37874 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37875
a5fb313c
AS
378762011-11-14 Andreas Schwab <schwab@redhat.com>
37877
37878 * malloc/arena.c (arena_get2): Don't call reused_arena when
37879 _int_new_arena failed.
37880
6abf3465
UD
378812011-11-14 Ulrich Drepper <drepper@gmail.com>
37882
37883 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37884 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37885 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37886 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37887 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37888 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37889 to compile strcasecmp and strncasecmp.
37890 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37891 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37892
37893 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37894
76e3966e
UD
378952011-11-13 Ulrich Drepper <drepper@gmail.com>
37896
37897 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37898 locale-defines.sym to gen-as-const-headers.
37899 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37900 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37902 to compile strcasecmp and strncasecmp.
37903 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37904 strcasecmp_l and strncasecmp_l.
37905 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37906 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37907 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37908 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37909 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37910 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37911 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37912 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37913 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37914 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37915 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37916
ab26144e
UD
379172011-11-12 Ulrich Drepper <drepper@gmail.com>
37918
7edb22ef
UD
37919 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37920 result of SYSDEP_GETTIME_CPU to retval.
37921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37922 parameter list to macro. Remove trailing semicolon. Adjust users.
37923
9694fc44
UD
37924 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37925 variable.
37926
8ad89ef8
UD
37927 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37928 mantissa words.
37929 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37930
0c822ef9
UD
37931 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37932 from unused variable.
37933
874e0564
UD
37934 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37935 DWARF definitions.
37936 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37937 for assembling.
37938
3a2edc79
UD
37939 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37940 over namespaces.
37941
f3c2577f
UD
37942 * sunrpc/rpc_prot.c (rejected): Fix case value.
37943
294ce126
UD
37944 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37945 unsigned long long int to avoid warnings in shift.
37946
5e2b63c6
UD
37947 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37948 of use of trans.
37949 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37950 variable tmp.
37951
e7f4b08e
UD
37952 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37953 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37954 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37955
ab26144e
UD
37956 * nis/nis_table.c (nis_list): Use variable of correct type for
37957 result of __follow_path call.
37958
8a6d5255
AZ
379592011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37960
37961 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37962 of math functions ceil, trunc, floor, round, and sqrt, when
37963 avaliable on the platform.
37964 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37965 name clash.
37966 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37967 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37968 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37969
aaddc98c
MP
379702011-10-30 Marek Polacek <mpolacek@redhat.com>
37971
37972 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37973 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37974
95b7042b
RM
379752011-11-11 Roland McGrath <roland@hack.frob.com>
37976
37977 * include/unistd.h: Fix __readlink return type.
37978 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37979
57769839
UD
379802011-11-11 Ulrich Drepper <drepper@gmail.com>
37981
37982 * stdlib/ucontext.h: Undo last change for makecontext.
37983
edc5984d
AS
379842011-11-11 Andreas Schwab <schwab@redhat.com>
37985
98591e58
AS
37986 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37987
edc5984d
AS
37988 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37989 * setjmp/setjmp.h: Mark functions as non-leaf.
37990 * setjmp/bits/setjmp2.h: Likewise.
37991 * stdlib/ucontext.h: Likewise.
37992
77cdc054
AS
379932011-11-10 Andreas Schwab <schwab@redhat.com>
37994
37995 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37996 (reused_arena): Don't check arena limit.
37997 (arena_get2): Atomically check arena limit.
37998
fe72eebd
UD
379992011-11-08 Ulrich Drepper <drepper@gmail.com>
38000
5f078c32
UD
38001 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38002 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38003
fe72eebd
UD
38004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38005 instructions.
38006
ae1bc2fa
AS
380072011-11-07 Andreas Schwab <schwab@redhat.com>
38008
7583a88d
AS
38009 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38010 handler when locking.
38011
ae1bc2fa
AS
38012 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38013 Fix size of allocated buffer.
38014
10fb0bfa
AS
380152011-11-04 Andreas Schwab <schwab@redhat.com>
38016
998832a4
AS
38017 [BZ #10103]
38018 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38019 declarations for long double functions.
38020 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38021
10fb0bfa
AS
38022 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38023
3d7ba52b
AS
380242011-11-03 Andreas Schwab <schwab@redhat.com>
38025
a9ae54a1
AS
38026 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38027 installed.
38028
3d7ba52b
AS
38029 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38030 is disabled.
38031
bc8db248
ST
380322011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38033
38034 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38035
45b96dd6
AS
380362011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38037
647776f6
AS
38038 * include/alloca.h (stackinfo_alloca_round): Define.
38039 (extend_alloca): Use it.
38040 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38041 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38042 here.
38043
d91a8b93
AS
38044 * scripts/check-local-headers.sh: Ignore libaudit.h.
38045
45b96dd6
AS
38046 * nscd/Makefile (extra-objs): Make recursively expanded.
38047
432d41ce
UD
380482011-11-01 Ulrich Drepper <drepper@gmail.com>
38049
34372fc6
UD
38050 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38051 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38052
fadb59f8
UD
38053 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38054 * posix/tst-rfc3484-2.c: Likewise.
38055 * posix/tst-rfc3484-3.c: Likewise.
38056
78239589
UD
38057 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38058 process_vm_writev.
38059 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38060 process_vm_writev.
38061 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38062 process_vm_writev from libc using GLIBC_2.15 version.
38063
432d41ce
UD
38064 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38065
02f9c6cf
PP
380662011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38067
38068 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38069 stack usage.
38070
3a2c0242
UD
380712011-10-31 Ulrich Drepper <drepper@gmail.com>
38072
f4ec4833
UD
38073 [BZ #13367]
38074 * nss/getent.c (initgroups_keys): Show error message in case no group
38075 names are given.
38076
3a2c0242
UD
38077 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38078 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38079 __bump_nl_timestamp.
38080 * nscd/connections (nscd_init): When host database is served open
38081 netlink socket and request notification about configuration changes.
38082 (main_loop_poll): Track netlink file descriptor and bump timestamp
38083 in case data becomes available.
38084 (main_loop_epoll): Likewise.
38085 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38086 (database_pers_head): Add extra_data fileds.
38087 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38088 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38089 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38090 Adjust caller.
38091 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38092 in6ai data, call __free_in6ai.
38093 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38094 Add -DHAVE_NETLINK.
38095 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38096 interface information. Reuse previous data if netlink timestamp
38097 is not changed.
38098 (__bump_nl_timestamp): New function.
38099 (__free_in6ai): New function.
38100
636064eb
UD
381012011-10-30 Ulrich Drepper <drepper@gmail.com>
38102
38103 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38104 close_not_cancel_no_status here.
38105 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38106
9beb2334
UD
381072011-10-29 Ulrich Drepper <drepper@gmail.com>
38108
6ef76f3b
UD
38109 [BZ #13276]
38110 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38111 return value.
38112
0ffc4f3e 38113 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38114 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38115 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38116
cb95113e
UD
381172011-07-03 Andreas Jaeger <aj@suse.de>
38118
38119 [BZ #10709]
38120 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38121 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38122 * math/libm-test.inc (sin_test): Add test case.
38123
a1b560ff
UD
381242011-10-29 Ulrich Drepper <drepper@gmail.com>
38125
c9aaface
UD
38126 [BZ #13337]
38127 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38128 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38129
d272e7f1
UD
38130 * elf/chroot_canon.c (chroot_canon): Cleanups.
38131
1bc33071
UD
38132 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38133
1760874d
TJ
38134 [BZ #13335]
38135 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38136 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38137
51d91b18
UD
38138 * string/test-strchr.c: Make usable for strchrnul testing.
38139 * string/test-strchrnul.c: New file.
38140 * string/Makefile (strop-tests): Add strchrnul.
38141
a1b560ff 38142 * po/it.po: Update from translation team.
b611fb81 38143 * po/es.po: Likewise.
a1b560ff 38144
a5b81e1f
UD
381452011-10-28 Ulrich Drepper <drepper@gmail.com>
38146
fd52bc6d
UD
38147 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38148 the three constants needed as parameters. Drop the others.
38149 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38150 __m128i_strloadu_tolower.
52e4b9eb
UD
38151 Create and initialize variable zero and use it in all the places
38152 where _mm_setzero_si128 was used.
fd52bc6d 38153
a5b81e1f
UD
38154 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38155 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38156 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38157 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38158 anymore.
38159 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38160 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38161 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38162 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38163 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38164 __mpranred, __mptan.
38165 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38166 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38167 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38168 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38169 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38170 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38172 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38173 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38174
b4343346
AS
381752011-10-28 Andreas Schwab <schwab@redhat.com>
38176
0c92d8a8
AS
38177 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38178 redefine if SHARED.
38179 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38180
b4343346
AS
38181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38182 wide char related routines to wcsmbs subdir.
38183
3871f58f
AS
381842011-10-27 Andreas Schwab <schwab@redhat.com>
38185
38186 [BZ #13344]
38187 * misc/sys/cdefs.h (__THROWNL): Define.
38188 * posix/unistd.h: Use __THREADNL instead of __THREAD
38189 for memory synchronization functions.
38190
94d44d9f
RM
381912011-10-26 Roland McGrath <roland@hack.frob.com>
38192
21b64b15 38193 [BZ #13349]
94d44d9f
RM
38194 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38195 doesn't exist.
38196 * manual/stdio.texi (Obstack Streams): Node removed.
38197
f6ce9294
AS
381982011-10-26 Andreas Schwab <schwab@redhat.com>
38199
80479147
AS
38200 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38201 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38202 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38203
f6ce9294
AS
38204 * math/math_private.h (math_force_eval): Allow non-addressable
38205 arguments.
38206 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38207
618280a1
UD
382082011-10-25 Ulrich Drepper <drepper@gmail.com>
38209
e0016b11
UD
38210 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38211 file is not needed.
38212
38213 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38214 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38215 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38216 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38217 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38218 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38219 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38220 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38221 Add AVX variants.
38222 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38223 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38224 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38225 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38226 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38227 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38228 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38229 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38230 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38231 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38232 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38233 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38234 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38235 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38236 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38237 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38238 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38239 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38240 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38241
38242 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38243 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38244
618280a1
UD
38245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38246 place. Use VEX encoding when compiling for AVX.
38247
37822576
AS
382482011-10-25 Andreas Schwab <schwab@redhat.com>
38249
1f1e1947
AS
38250 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38251 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38252
37822576
AS
38253 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38254
31ea014d
UD
382552011-10-25 Ulrich Drepper <drepper@gmail.com>
38256
d7826aa1 38257 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38258 useless if() expression.
d7826aa1
UD
38259 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38260 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38261 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38263 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38264 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38265 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38266 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38267 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38268 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38269 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38270 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38271 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38272 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38273 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38274 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38275 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38276 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38277 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38278
31ea014d
UD
38279 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38280
16437fec
AS
382812011-10-25 Andreas Schwab <schwab@redhat.com>
38282
38283 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38284 condition.
38285 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38286
31d3cc00
UD
382872011-10-25 Ulrich Drepper <drepper@gmail.com>
38288
38289 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38290 .text section. Avoid duplicate constants.
38291 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38292 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38293 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38295 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38299 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38300 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38301 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38302 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38303 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38304 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38305 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38306 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38308 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38309 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38310 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38311 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38312 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38313 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38314 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38315 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38316 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38317 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38318 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38319 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38320 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38321 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38322 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38323 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38324 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38325 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38326 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38327 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38328 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38329 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38330 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38331 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38332 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38333 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38334 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38335 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38336
58985aa9
UD
383372011-10-24 Ulrich Drepper <drepper@gmail.com>
38338
202c9deb
UD
38339 * sysdeps/x86_64/dla.h: Move to ...
38340 * sysdeps/x86_64/fpu/dla.h: ...here.
38341 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38342 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 38343
af968f62
UD
38344 * config.make.in: Add have-mfma4 entry.
38345 * configure.in: Substitute libc_cv_cc_fma4.
38346 * math/Makefile (dbl-only-routines): Add sincostab.
38347 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38348 Use __sincostab not sincos.
38349 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38350 name is a macro.
38351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38354 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38355 using __copysign.
38356 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38357 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38358 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38359 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38360 and __inv.
38361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38362 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38363 __copysign.
38364 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38365 define aliases when function name is a macro.
38366 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38367 sysdeps/ieee754/dbl-64/sincos.tbl.
38368 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38369 fma4-enabled routines.
38370 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38371 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38372 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38373 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38374 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38375 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38377 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38378 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38379 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38380 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38381 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38382 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38383 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38384 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38385 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38386 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38387 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38388 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38389 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38390 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38391 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38392 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38393 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38394 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38395 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38396 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38397 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38398 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38399 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38400
58985aa9
UD
38401 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38402 rename.
38403 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38409 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38410 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38411
a201fbcf
AS
384122011-10-24 Andreas Schwab <schwab@redhat.com>
38413
38414 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38415
fc2ee42a
LD
384162011-10-23 Ulrich Drepper <drepper@gmail.com>
38417
bb3129bd
UD
38418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38419
0275fff8
UD
38420 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38421 prediction.
38422 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38423
2fa2ae85
UD
38424 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38425 Remove unused variable magic_bits.
38426 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38427
fc2ee42a
LD
38428 * string/strnlen.c: Define and use STRNLEN macro.
38429 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38430 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38431 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38432 * wcsmbs/wcslen.c: Define and use WCSLEN.
38433 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38434 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38435 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38436 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38437 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38438 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38439 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38440
ce7dd29f
LD
384412011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38442
38443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38444 strnlen-sse2-no-bsf.
38445 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38446 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38447 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38448 Add strnlen support.
38449 (USE_AS_STRNLEN): New macro.
38450 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38451 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38452 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38453 * sysdeps/x86_64/wcslen.S: New file.
38454
979c70a3
MZ
384552011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38456
38457 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38458 XMM-moves are used for copying on small sizes.
38459
2d09f82f
LD
384602011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38461
38462 * wcsmbs/Makefile (strop-tests): Add wcschr.
38463 * wcsmbs/test-wcschr.c: New file.
38464 * string/test-strchr.c: Update.
38465 Add wcschr support.
38466 (WIDE): New macro.
38467
619fccca
LD
384682011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38469
2d09f82f 38470 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
38471 * wcsmbs/test-wcslen.c: New file.
38472 * string/test-strlen.c: Update.
38473 Add wcslen support.
38474 (WIDE): New macro.
38475
09f699ea
UD
384762011-10-23 Ulrich Drepper <drepper@gmail.com>
38477
38478 * po/it.po: Update from translation team.
38479
95584d3b
LD
384802011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38481
38482 * sysdeps/x86_64/wcscmp.S: Update.
38483 Fix wrong comparison semantics.
38484 wcscmp shall use signed comparison not unsigned.
38485 Don't use substraction to avoid overflow bug.
38486 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38487 * wcsmbc/wcscmp.c: Likewise.
38488 * string/test-strcmp.c: Likewise.
38489 Add new tests to check cases with negative values.
38490
c8b3296b
UD
384912011-10-23 Ulrich Drepper <drepper@gmail.com>
38492
38493 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38494 * sysdeps/x86_64/dla.h: ...here. New file.
38495 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38496 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38497 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38498 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38500 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38501 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38502 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38503 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38504
246ad57a
AS
385052011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38506
38507 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38508 __ynl_finite aliases.
38509
a1a87169
UD
385102011-10-22 Ulrich Drepper <drepper@gmail.com>
38511
0d355eb7
UD
38512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38513
a1a87169
UD
38514 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38515 define DLA_FMA.
38516 [DLA_FMA] (EMULV): Use DLA_FMA.
38517 [DLA_FMA] (MUL12): Use EMULV.
38518 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38519 that are not needed.
38520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38522 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38524 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38526 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38527
ee2aafe0
AS
385282011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38529
38530 * math/s_nan.c: Undef __nan.
38531 * math/s_nanf.c: Undef __nanf.
38532 * math/s_nanl.c: Undef __nanl.
38533 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38534 "math_private.h".
38535
bc62c2fb
UD
385362011-10-22 Ulrich Drepper <drepper@gmail.com>
38537
77425c63
UD
38538 * math/s_catan.c: Add branch predictions.
38539 * math/s_catanf.c: Likewise.
38540 * math/s_catanh.c: Likewise.
38541 * math/s_catanhf.c: Likewise.
38542 * math/s_catanhl.c: Likewise.
38543 * math/s_catanl.c: Likewise.
38544 * math/s_cexp.c: Likewise.
38545 * math/s_cexpf.c: Likewise.
38546 * math/s_cexpl.c: Likewise.
38547 * math/s_clog.c: Likewise.
38548 * math/s_clog10.c: Likewise.
38549 * math/s_clog10f.c: Likewise.
38550 * math/s_clog10l.c: Likewise.
38551 * math/s_clogf.c: Likewise.
38552 * math/s_clogl.c: Likewise.
38553 * math/s_csqrt.c: Likewise.
38554 * math/s_csqrtf.c: Likewise.
38555 * math/s_csqrtl.c: Likewise.
38556 * math/s_ctanf.c: Likewise.
38557 * math/s_ctanh.c: Likewise.
38558 * math/s_ctanhf.c: Likewise.
38559 * math/s_ctanhl.c: Likewise.
38560 * math/s_ctanl.c: Likewise.
38561
bc62c2fb
UD
38562 * math/math_private.h: Define __nan, __nanf, __nanl.
38563 * math/s_cacosh.c: Include <math_private.h>.
38564 * math/s_cacoshl.c: Likewise.
38565 * math/s_casinh.c: Likewise.
38566 * math/s_casinhf.c: Likewise.
38567 * math/s_casinhl.c: Likewise.
38568 * math/s_ccos.c: Rely entire on ccosh.
38569 * math/s_ccosf.c: Rely entire on ccoshf.
38570 * math/s_ccosl.c: Rely entirely on ccoshl.
38571 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38572 Remove tests for FE_INVALID.
38573 * math/s_ccoshf.c: Likewise.
38574 * math/s_ccoshl.c: Likewise.
38575 * math/s_csin.c: Likewise.
38576 * math/s_csinf.c: Likewise.
38577 * math/s_csinh.c Likewise.
38578 * math/s_csinhf.c: Likewise.
38579 * math/s_csinhl.c: Likewise.
38580 * math/s_csinl.c: Likewise.
38581 * math/s_ctan.c: Likewise.
38582 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38583 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38584 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38585
8ec250a4
UD
385862011-10-21 Ulrich Drepper <drepper@gmail.com>
38587
c196fed8
UD
38588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38589 compilation problems.
38590
8ec250a4
UD
38591 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38592 __builtin_expect.
38593
8d4f46c6
UD
385942011-10-20 Ulrich Drepper <drepper@gmail.com>
38595
ed72b654
UD
38596 * sysdeps/i386/configure.in: Test for -mfma4 option.
38597 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38598 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38599 COMMON_CPUID_INDEX_80000001.
38600 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38601 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38602 use it if FMA3 is not supported.
38603 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38604
8d4f46c6
UD
38605 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38606 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38607
d45c60c2
AS
386082011-10-20 Andreas Schwab <schwab@redhat.com>
38609
38610 [BZ #12892]
38611 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38612 it would create a cycle with a link time dependency.
38613
d9a4d2ab
UD
386142011-10-19 Ulrich Drepper <drepper@gmail.com>
38615
855d1560
UD
38616 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38617 instruction.
38618 * string/Makefile (strop-tests): Add rawmemchr.
38619 * string/test-rawmemchr.c: New file.
38620
d9a4d2ab
UD
38621 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38622 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38623 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38624 when compiling str{,n}casecmp and when AVX is available. Hook up
38625 new optimized code in initializers.
38626
8f3b1ffe
AS
386272011-10-19 Andreas Schwab <schwab@redhat.com>
38628
38629 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38630 __feraiseexcept instead of feraiseexcept.
38631
d38f1dba
UD
386322011-10-18 Ulrich Drepper <drepper@gmail.com>
38633
d9a8d0ab
UD
38634 * math/math_private.h: Define defaults for libc_fetestexcept and
38635 libc_feupdateenv.
38636 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38637 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38638 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38639 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38640 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38641 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38642 libc_fetestexcept and libc_feupdateenv.
38643
4855e3dd
UD
38644 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38645 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38646 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38647 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38648 libc_feholdexcept_setround.
38649
581d30e3
UD
38650 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38651 Add s_nearbyint-c and s_nearbyintf-c.
38652 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38653 nearbyintf inlines.
38654 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38655 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38656 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38657 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38658
d38f1dba
UD
38659 * math/math_private.h: Define defaults for libc_fegetround,
38660 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38661 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38662 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38663 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38664 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38665 standard functions.
38666 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38667 Remove comments and hacks for old compiler versions.
38668 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38669 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38670 libc_feholdexceptl.
38671
caa6c9d8
AS
386722011-10-18 Andreas Schwab <schwab@redhat.com>
38673
38674 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38675 (__feraiseexcept_renamed): Add __NTH.
38676 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38677 namespace violations.
38678
97c066e6
UD
386792011-10-17 Ulrich Drepper <drepper@gmail.com>
38680
99ce7b04
UD
38681 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38682
1004d182
UD
38683 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38684
228a984d
UD
38685 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38686 recently added interfaces.
38687 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38688
c8553a6a
UD
38689 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38690 about macro parameter expansion.
38691
ed22dcf6
UD
38692 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38693 __NO_MATH_INLINES is defined. Cleanups.
38694
38695 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38696 and __floorf is target has SSE4.1.
38697 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38698 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38699 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38700 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38701
b171c137
UD
38702 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38703 name.
38704 (floorf): Likewise.
38705
97c066e6
UD
38706 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38707
629f62ef
AS
387082011-10-17 Andreas Schwab <schwab@redhat.com>
38709
49a43d80
AS
38710 * misc/sys/cdefs.h: Fix last change.
38711
629f62ef
AS
38712 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38713 database lookup.
38714
e453f6cd
UD
387152011-10-16 Ulrich Drepper <drepper@gmail.com>
38716
aa78043a
UD
38717 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38718
ad0f5cad
UD
38719 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38722 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38725 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38726 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38727 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38728 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38729 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38730 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38731 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38732 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38733 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38734 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38735 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38736 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38737 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38738 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38739 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38740 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38741
38742 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38743 ceil, ceilf, floor, floorf.
38744
38745 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38746 Perform IRELATIVE relocations last.
38747
e453f6cd
UD
38748 * elf/do-rel.h: Add another parameter nrelative, replacing the
38749 local variable with the same name. Change name of the function
38750 to end in Rel or Rela (uppercase).
38751 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38752 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38753 elf_dynamic_do_##reloc function.
38754
fd5bdc09
UD
387552011-10-15 Ulrich Drepper <drepper@gmail.com>
38756
79b195b5
UD
38757 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38758 is sufficient, at least on modern CPUs.
38759
d4a28569
UD
38760 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38761
b61099b5
UD
38762 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38763 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38764
bcf01e6d
UD
38765 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38766 __expl_finite.
38767 * math/bits/math-finite.h: Add entries for exp.
38768 * math/e_expl.c: Add __*_finite alias.
38769 * sysdeps/i386/fpu/e_exp.S: Likewise.
38770 * sysdeps/i386/fpu/e_expf.S: Likewise.
38771 * sysdeps/i386/fpu/e_expl.c: Likewise.
38772 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38773 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38774 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38776 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38777 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38778 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38779
ba1a0d59
UD
38780 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38781 is sufficient, at least on modern CPUs.
38782
fd5bdc09
UD
38783 * ctype/ctype-info.c (__ctype_init): Define.
38784 * include/ctype.h (__ctype_init): Declare.
38785 (__ctype_b_loc): The variable is always initialized.
38786 (__ctype_toupper_loc): Likewise.
38787 (__ctype_tolower_loc): Likewise.
38788 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38789 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38790
7872cfb0
AS
387912011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38792
b468825a
AS
38793 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38794
7872cfb0
AS
38795 * configure.in: Also look in $cxxmachine/include for C++ system
38796 headers.
38797
be13f7bf
LD
387982011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38799
38800 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38801 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38802 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38803 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38804 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38805 (USE_AS_WMEMCMP): New macro.
38806 Fixing indents.
38807 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38808 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38809 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38810 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38812 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38813 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38814 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38815 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38816 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38817 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38818 (USE_AS_WMEMCMP): New macro.
38819 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38820 * sysdeps/string/test-memcmp.c: Update.
38821 Fix simple_wmemcmp.
38822 Add new tests.
38823 * wcsmbs/wmemcmp.c: Update.
38824 (WMEMCMP): New macro.
38825 Fix overflow bug.
38826
556a2007
AJ
388272011-10-12 Andreas Jaeger <aj@suse.de>
38828
38829 [BZ #13268]
38830 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38831
538faaa7
UD
388322011-10-15 Ulrich Drepper <drepper@gmail.com>
38833
ab6737ff
UD
38834 * libio/iofwide.c (do_length): Avoid warning.
38835
538faaa7
UD
38836 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38837
396a21b1
UD
388382011-10-14 Ulrich Drepper <drepper@gmail.com>
38839
cdf2901f
UD
38840 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38841
38ad40ce
UD
38842 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38843 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38844 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38845 * sysdeps/i386/i686/fpu/e_log.S: New file.
38846 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38847 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38848
396a21b1
UD
38849 * ctype/ctype.h: Add support for inlined isXXX functions when
38850 compiling C++ code.
38851
6b1f68c9
AS
388522011-10-14 Andreas Schwab <schwab@redhat.com>
38853
349290c0
AS
38854 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38855
6b1f68c9
AS
38856 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38857
f2282d42
RM
388582011-10-13 Roland McGrath <roland@hack.frob.com>
38859
38860 [BZ #13291]
38861 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38862
5298ffa8
AS
388632011-10-13 Andreas Schwab <schwab@redhat.com>
38864
714fad23
AS
38865 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38866 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38867 feraiseexcept.
38868
81dcc7fb
AS
38869 * sysdeps/x86_64/memrchr.S: Check for zero size.
38870
5298ffa8
AS
38871 * string/stratcliff.c: Add memrchr tests.
38872
951fbcec
LD
388732011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38874
38875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38876 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38877 rawmemchr-sse2 rawmemchr-sse2-bsf.
38878 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38879 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38880 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38881 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38882 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38883 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38884 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38885 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38886 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38887 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38888 * string/memrchr.c (MEMRCHR): New macro.
38889
0ac5ae23
UD
388902011-10-12 Ulrich Drepper <drepper@gmail.com>
38891
38892 Add integration with gcc's -ffinite-math-only and optimize wrapper
38893 functions in libm.
38894 * Versions.def: Define GLIBC_2.15 version for libm.
38895 * math/Makefile (headers): Add bits/math-finite.h.
38896 * math/bits/math-finite.h: New file.
38897 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38898 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38899 * math/e_acoshl.c: Add __*_finite alias.
38900 * math/e_acosl.c: Likewise.
38901 * math/e_asinl.c: Likewise.
38902 * math/e_atan2l.c: Likewise.
38903 * math/e_atanhl.c: Likewise.
38904 * math/e_coshl.c: Likewise.
38905 * math/e_exp10.c: Likewise.
38906 * math/e_exp10f.c: Likewise.
38907 * math/e_exp10l.c: Likewise.
38908 * math/e_exp2l.c: Likewise.
38909 * math/e_fmodl.c: Likewise.
38910 * math/e_gammal_r.c: Likewise.
38911 * math/e_hypotl.c: Likewise.
38912 * math/e_j0l.c: Likewise.
38913 * math/e_j1l.c: Likewise.
38914 * math/e_jnl.c: Likewise.
38915 * math/e_lgammal_r.c: Likewise.
38916 * math/e_log10l.c: Likewise.
38917 * math/e_log2l.c: Likewise.
38918 * math/e_logl.c: Likewise.
38919 * math/e_powl.c: Likewise.
38920 * math/e_sinhl.c: Likewise.
38921 * math/e_sqrtl.c: Likewise.
38922 * math/e_scalb.c: Completely rewritten and optimized.
38923 * math/e_scalbf.c: Likewise.
38924 * math/e_scalbl.c: Likewise.
38925 * math/w_acos.c: Likewise.
38926 * math/w_acosf.c: Likewise.
38927 * math/w_acosl.c: Likewise.
38928 * math/w_acosh.c: Likewise.
38929 * math/w_acoshf.c: Likewise.
38930 * math/w_acoshl.c: Likewise.
38931 * math/w_asin.c: Likewise.
38932 * math/w_asinf.c: Likewise.
38933 * math/w_asinl.c: Likewise.
38934 * math/w_atan2.c: Likewise.
38935 * math/w_atan2f.c: Likewise.
38936 * math/w_atan2l.c: Likewise.
38937 * math/w_atanh.c: Likewise.
38938 * math/w_atanhf.c: Likewise.
38939 * math/w_atanhl.c: Likewise.
38940 * math/w_exp10.c: Likewise.
38941 * math/w_exp10f.c: Likewise.
38942 * math/w_exp10l.c: Likewise.
38943 * math/w_fmod.c: Likewise.
38944 * math/w_fmodf.c: Likewise.
38945 * math/w_fmodl.c: Likewise.
38946 * math/w_j0.c: Likewise.
38947 * math/w_j0f.c: Likewise.
38948 * math/w_j0l.c: Likewise.
38949 * math/w_j1.c: Likewise.
38950 * math/w_j1f.c: Likewise.
38951 * math/w_j1l.c: Likewise.
38952 * math/w_jn.c: Likewise.
38953 * math/w_jnf.c: Likewise.
38954 * math/w_log.c: Likewise.
38955 * math/w_logf.c: Likewise.
38956 * math/w_logl.c: Likewise.
38957 * math/w_log10.c: Likewise.
38958 * math/w_log10f.c: Likewise.
38959 * math/w_log10l.c: Likewise.
38960 * math/w_log2.c: Likewise.
38961 * math/w_log2f.c: Likewise.
38962 * math/w_log2l.c: Likewise.
38963 * math/w_pow.c: Likewise.
38964 * math/w_powf.c: Likewise.
38965 * math/w_powl.c: Likewise.
38966 * math/w_remainder.c: Likewise.
38967 * math/w_remainderf.c: Likewise.
38968 * math/w_remainderl.c: Likewise.
38969 * math/w_scalb.c: Likewise.
38970 * math/w_scalbf.c: Likewise.
38971 * math/w_scalbl.c: Likewise.
38972 * math/w_sqrt.c: Likewise.
38973 * math/w_sqrtf.c: Likewise.
38974 * math/w_sqrtl.c: Likewise.
38975 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38976 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38977 used.
38978 * math/math_private.h: Declare __kernel_standard_f.
38979 * math/w_cosh.c: Remove cruft and optimize a bit.
38980 * math/w_coshf.c: Likewise.
38981 * math/w_coshl.c: Likewise.
38982 * math/w_exp2.c: Likewise.
38983 * math/w_exp2f.c: Likewise.
38984 * math/w_exp2l.c: Likewise.
38985 * math/w_hypot.c: Likewise.
38986 * math/w_hypotf.c: Likewise.
38987 * math/w_hypotl.c: Likewise.
38988 * math/w_lgamma.c: Likewise.
38989 * math/w_lgamma_r.c: Likewise.
38990 * math/w_lgammaf.c: Likewise.
38991 * math/w_lgammaf_r.c: Likewise.
38992 * math/w_lgammal.c: Likewise.
38993 * math/w_lgammal_r.c: Likewise.
38994 * math/w_sinh.c: Likewise.
38995 * math/w_sinhf.c: Likewise.
38996 * math/w_sinhl.c: Likewise.
38997 * math/w_tgamma.c: Likewise.
38998 * math/w_tgammaf.c: Likewise.
38999 * math/w_tgammal.c: Likewise.
39000 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39001 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39002 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39003 Minor optimizations. Pretty printing. Remove cruft.
39004 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39005 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39006 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39007 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39008 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39009 * sysdeps/i386/fpu/e_asin.S: Likewise.
39010 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39011 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39012 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39013 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39014 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39015 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39016 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39017 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39018 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39019 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39020 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39021 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39022 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39023 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39024 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39025 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39026 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39027 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39028 * sysdeps/i386/fpu/e_log.S: Likewise.
39029 * sysdeps/i386/fpu/e_log10.S: Likewise.
39030 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39031 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39032 * sysdeps/i386/fpu/e_log2.S: Likewise.
39033 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39034 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39035 * sysdeps/i386/fpu/e_logf.S: Likewise.
39036 * sysdeps/i386/fpu/e_logl.S: Likewise.
39037 * sysdeps/i386/fpu/e_pow.S: Likewise.
39038 * sysdeps/i386/fpu/e_powf.S: Likewise.
39039 * sysdeps/i386/fpu/e_powl.S: Likewise.
39040 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39041 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39042 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39043 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39044 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39045 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39046 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39047 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39048 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39049 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39050 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39052 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39053 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39054 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39055 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39056 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39057 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39058 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39059 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39060 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39062 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39063 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39065 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39066 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39067 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39068 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39069 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39070 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39071 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39072 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39073 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39074 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39075 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39076 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39077 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39078 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39079 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39080 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39081 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39082 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39083 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39084 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39085 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39086 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39087 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39088 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39089 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39090 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39091 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39092 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39093 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39094 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39095 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39096 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39097 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39098 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39099 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39100 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39101 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39102 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39103 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39104 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39105 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39106 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39107 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39108 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39109 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39110 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39111 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39112 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39113 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39114 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39115 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39116 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39117 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39118 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39119 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39120 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39121 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39123 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39124 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39125 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39126 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39127 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39128 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39129 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39130 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39131 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39132 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39133 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39134 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39135 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39136 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39137 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39138 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39139 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39142 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39143 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39144 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39145 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39146 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39147 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39148 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39149 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39150 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39151 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39152 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39153 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39154 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39155 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39156 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39157 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39158 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39159 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39160 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39161 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39162 (__isnanf): Likewise.
39163 (__isinf_ns): Likewise.
39164 (__isinf_nsf): Likewise.
39165 (__finite): Likewise.
39166 (__finitef): Likewise.
39167 (__ieee754_sqrt): Define as macro.
39168 (__ieee754_sqrtf): Define as macro.
39169 (__ieee754_sqrtl): Define as macro.
39170 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39171 inlined copy.
39172 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39173 __FINITE_MATH_ONLY__ consistent.
39174 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39175
12cc2fcd
AS
391762011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39177
a843a204
AS
39178 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39179 of rawmemchr.
39180
12cc2fcd
AS
39181 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39182
c853acd5
UD
391832011-10-09 Ulrich Drepper <drepper@gmail.com>
39184
39185 * po/ja.po: Update from translation team.
39186
c658d255
RM
391872011-10-08 Roland McGrath <roland@hack.frob.com>
39188
110946e4
RM
39189 * locale/programs/locarchive.c (prepare_address_space): New function.
39190 (create_archive, enlarge_archive, open_archive): Use it.
39191
50604220
RM
39192 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39193 inside [SHARED], where it is used.
39194
c658d255
RM
39195 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39196
39197 * nss/getent.c (netgroup_keys): Remove unused variable.
39198 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39199
6a621eb7
UD
392002011-10-08 Ulrich Drepper <drepper@gmail.com>
39201
7edb55ce
UD
39202 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39203 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39204 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39205 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39206 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39207 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39208 * math/Makefile (libm-calls): Add s_isinf_ns.
39209 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39210 * math/multc3.c: Likewise.
39211 * math/s_casin.c: Likewise.
39212 * math/s_casinf.c: Likewise.
39213 * math/s_casinl.c: Likewise.
39214 * math/s_ccos.c: Likewise.
39215 * math/s_ccosf.c: Likewise.
39216 * math/s_ccosl.c: Likewise.
39217 * math/s_ctan.c: Likewise.
39218 * math/s_ctanf.c: Likewise.
39219 * math/s_ctanh.c: Likewise.
39220 * math/s_ctanhf.c: Likewise.
39221 * math/s_ctanhl.c: Likewise.
39222 * math/s_ctanl.c: Likewise.
39223 * math/w_fmod.c: Likewise.
39224 * math/w_fmodf.c: Likewise.
39225 * math/w_fmodl.c: Likewise.
39226 * math/w_remainder.c: Likewise.
39227 * math/w_remainderf.c: Likewise.
39228 * math/w_remainderl.c: Likewise.
39229 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39230 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39231 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39233 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39234 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39235 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39236 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39237
187da0ae
UD
39238 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39239 of the number.
39240 * stdio-common/printf_fphex.c: Likewise.
39241 * stdio-common/printf_size.c: Likewise.
39242
9277c064
UD
39243 * math/e_exp10.c: Include math_private.h using <...> not "...".
39244 * math/e_exp10f.c: Likewise.
39245 * math/e_exp10l.c: Likewise.
39246 * math/e_exp2l.c: Likewise.
39247 * math/e_j0l.c: Likewise.
39248 * math/e_j1l.c: Likewise.
39249 * math/e_jnl.c: Likewise.
39250 * math/e_lgammal_r.c: Likewise.
39251 * math/e_rem_pio2l.c: Likewise.
39252 * math/e_scalb.c: Likewise.
39253 * math/e_scalbf.c: Likewise.
39254 * math/e_scalbl.c: Likewise.
39255 * math/k_cosl.c: Likewise.
39256 * math/k_sinl.c: Likewise.
39257 * math/k_tanl.c: Likewise.
39258 * math/s_cacoshf.c: Likewise.
39259 * math/s_catan.c: Likewise.
39260 * math/s_catanf.c: Likewise.
39261 * math/s_catanh.c: Likewise.
39262 * math/s_catanhf.c: Likewise.
39263 * math/s_catanhl.c: Likewise.
39264 * math/s_catanl.c: Likewise.
39265 * math/s_ccosh.c: Likewise.
39266 * math/s_ccoshf.c: Likewise.
39267 * math/s_ccoshl.c: Likewise.
39268 * math/s_cexp.c: Likewise.
39269 * math/s_cexpf.c: Likewise.
39270 * math/s_cexpl.c: Likewise.
39271 * math/s_clog.c: Likewise.
39272 * math/s_clog10.c: Likewise.
39273 * math/s_clog10f.c: Likewise.
39274 * math/s_clog10l.c: Likewise.
39275 * math/s_clogf.c: Likewise.
39276 * math/s_clogl.c: Likewise.
39277 * math/s_csin.c: Likewise.
39278 * math/s_csinf.c: Likewise.
39279 * math/s_csinh.c: Likewise.
39280 * math/s_csinhf.c: Likewise.
39281 * math/s_csinhl.c: Likewise.
39282 * math/s_csinl.c: Likewise.
39283 * math/s_csqrt.c: Likewise.
39284 * math/s_csqrtf.c: Likewise.
39285 * math/s_csqrtl.c: Likewise.
39286 * math/s_ctan.c: Likewise.
39287 * math/s_ctanf.c: Likewise.
39288 * math/s_ctanh.c: Likewise.
39289 * math/s_ctanhf.c: Likewise.
39290 * math/s_ctanhl.c: Likewise.
39291 * math/s_ctanl.c: Likewise.
39292 * math/s_ldexp.c: Likewise.
39293 * math/s_ldexpf.c: Likewise.
39294 * math/s_ldexpl.c: Likewise.
39295 * math/s_significand.c: Likewise.
39296 * math/s_significandf.c: Likewise.
39297 * math/s_significandl.c: Likewise.
39298 * math/w_acos.c: Likewise.
39299 * math/w_acosf.c: Likewise.
39300 * math/w_acosh.c: Likewise.
39301 * math/w_acoshf.c: Likewise.
39302 * math/w_acoshl.c: Likewise.
39303 * math/w_acosl.c: Likewise.
39304 * math/w_asin.c: Likewise.
39305 * math/w_asinf.c: Likewise.
39306 * math/w_asinl.c: Likewise.
39307 * math/w_atan2.c: Likewise.
39308 * math/w_atan2f.c: Likewise.
39309 * math/w_atan2l.c: Likewise.
39310 * math/w_atanh.c: Likewise.
39311 * math/w_atanhf.c: Likewise.
39312 * math/w_atanhl.c: Likewise.
39313 * math/w_cosh.c: Likewise.
39314 * math/w_coshf.c: Likewise.
39315 * math/w_coshl.c: Likewise.
39316 * math/w_dremf.c: Likewise.
39317 * math/w_exp10.c: Likewise.
39318 * math/w_exp10f.c: Likewise.
39319 * math/w_exp10l.c: Likewise.
39320 * math/w_exp2.c: Likewise.
39321 * math/w_exp2f.c: Likewise.
39322 * math/w_fmod.c: Likewise.
39323 * math/w_fmodf.c: Likewise.
39324 * math/w_fmodl.c: Likewise.
39325 * math/w_hypot.c: Likewise.
39326 * math/w_hypotf.c: Likewise.
39327 * math/w_hypotl.c: Likewise.
39328 * math/w_j0.c: Likewise.
39329 * math/w_j0f.c: Likewise.
39330 * math/w_j0l.c: Likewise.
39331 * math/w_j1.c: Likewise.
39332 * math/w_j1f.c: Likewise.
39333 * math/w_j1l.c: Likewise.
39334 * math/w_jn.c: Likewise.
39335 * math/w_jnf.c: Likewise.
39336 * math/w_jnl.c: Likewise.
39337 * math/w_lgamma.c: Likewise.
39338 * math/w_lgamma_r.c: Likewise.
39339 * math/w_lgammaf.c: Likewise.
39340 * math/w_lgammaf_r.c: Likewise.
39341 * math/w_lgammal.c: Likewise.
39342 * math/w_lgammal_r.c: Likewise.
39343 * math/w_log.c: Likewise.
39344 * math/w_log10.c: Likewise.
39345 * math/w_log10f.c: Likewise.
39346 * math/w_log10l.c: Likewise.
39347 * math/w_log2.c: Likewise.
39348 * math/w_log2f.c: Likewise.
39349 * math/w_log2l.c: Likewise.
39350 * math/w_logf.c: Likewise.
39351 * math/w_logl.c: Likewise.
39352 * math/w_pow.c: Likewise.
39353 * math/w_powf.c: Likewise.
39354 * math/w_powl.c: Likewise.
39355 * math/w_remainder.c: Likewise.
39356 * math/w_remainderf.c: Likewise.
39357 * math/w_remainderl.c: Likewise.
39358 * math/w_scalb.c: Likewise.
39359 * math/w_scalbf.c: Likewise.
39360 * math/w_scalbl.c: Likewise.
39361 * math/w_sinh.c: Likewise.
39362 * math/w_sinhf.c: Likewise.
39363 * math/w_sinhl.c: Likewise.
39364 * math/w_sqrt.c: Likewise.
39365 * math/w_sqrtf.c: Likewise.
39366 * math/w_sqrtl.c: Likewise.
39367 * math/w_tgamma.c: Likewise.
39368 * math/w_tgammaf.c: Likewise.
39369 * math/w_tgammal.c: Likewise.
39370
6a621eb7
UD
39371 * po/ja.po: Update from translation team.
39372
bf582445
AJ
393732011-09-29 Andreas Jaeger <aj@suse.de>
39374
f9efbf3a
AJ
39375 [BZ #13179]
39376 * sunrpc/netname.c (netname2host): Fix logic.
39377
bf582445
AJ
39378 [BZ #6779]
39379 [BZ #6783]
39380 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39381 correctly.
39382 * math/w_remainder.c (__remainder): Likewise.
39383 * math/w_remainderf.c (__remainderf): Likewise.
39384 * math/libm-test.inc (remainder_test): Add test cases.
39385
48693bea
AK
393862011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39387
39388 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39389 sdiv_qrnnd.
39390
42622229
LD
393912011-10-07 Ulrich Drepper <drepper@gmail.com>
39392
39393 * string/test-memcmp.c: Avoid unncessary #defines.
39394 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39395
093ecf92
LD
393962011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39397
39398 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39399 Use new sse2 version for core i3 - i7 as it's faster
39400 than sse42 version.
39401 (bit_Prefer_PMINUB_for_stringop): New.
39402 * sysdeps/x86_64/rawmemchr.S: Update.
39403 Replace with faster SSE2 version.
39404 * sysdeps/x86_64/memrchr.S: New file.
39405 * sysdeps/x86_64/memchr.S: Update.
39406 Replace with faster SSE2 version.
39407
fde56e5c
MP
394082011-09-12 Marek Polacek <mpolacek@redhat.com>
39409
39410 * elf/dl-load.c (lose): Add cast to avoid warning.
39411
21fd49a9
UD
394122011-10-07 Ulrich Drepper <drepper@gmail.com>
39413
5a06e643
UD
39414 * po/ca.po: Update from translation team.
39415
684ae515
UD
39416 * inet/getnetgrent_r.c: Hook up nscd.
39417 * nscd/Makefile (routines): Add nscd_netgroup.
39418 (nscd-modules): Add netgroupcache.
39419 (CFLAGS-netgroupcache.c): Define.
39420 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39421 (cache_search): Add const to second parameter.
39422 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39423 INNETGR.
39424 (dbs): Add netgrdb entry.
39425 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39426 (verify_persistent_db): Handle netgrdb.
39427 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39428 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39429 GETFDNETGR.
39430 (netgroup_response_header): Define.
39431 (innetgroup_response_header): Define.
39432 (datahead): Add netgroup_response_header and innetgroup_response_header
39433 elements.
39434 * nscd/nscd.conf: Add entries for netgroup cache.
39435 * nscd/nscd.h (dbtype): Add netgrdb.
39436 (_PATH_NSCD_NETGROUP_DB): Define.
39437 (netgroup_iov_disabled): Declare.
39438 (xmalloc, xcalloc, xrealloc): Move declarations here.
39439 (cache_search): Adjust prototype.
39440 Add netgroup-related prototypes.
39441 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39442 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39443 (__nscd_innetgr): Declare.
39444 * nscd/selinux.c (perms): Use access_vector_t as element type and
39445 add netgroup-related initializers.
39446 * nscd/netgroupcache.c: New file.
39447 * nscd/nscd_netgroup.c: New file.
39448 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39449 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39450 For four parameters use innetgr.
39451 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39452 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39453 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39454 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39455
21fd49a9
UD
39456 * nscd/connections.c (register_traced_file): Don't register file
39457 for disabled databases.
39458
054c0457
UD
394592011-10-06 Ulrich Drepper <drepper@gmail.com>
39460
32b63198
UD
39461 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39462
054c0457
UD
39463 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39464 from tree and freeing node.
39465
64031225
JO
394662011-09-25 Jiri Olsa <jolsa@redhat.com>
39467
39468 * nss/nsswitch.c (__nss_database_lookup): Handle
39469 nss_parse_service_list out of memory case.
39470
0490345c
JO
394712011-09-15 Jiri Olsa <jolsa@redhat.com>
39472
39473 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39474 out of memory case.
39475
3a62d00d
AS
394762011-10-04 Andreas Schwab <schwab@redhat.com>
39477
39478 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39479 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39480 pass it down.
39481 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39482 elf_machine_rela, elf_machine_lazy_rel.
39483 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39484 (ELF_DYNAMIC_DO_REL): Likewise.
39485 (ELF_DYNAMIC_DO_RELA): Likewise.
39486 (ELF_DYNAMIC_RELOCATE): Likewise.
39487 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39488 to ELF_DYNAMIC_DO_REL.
39489 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39490 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39491 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39492 elf_machine_rela.
39493 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39494 skip_ifunc, don't call ifunc function if non-zero.
39495 (elf_machine_rela): Likewise.
39496 (elf_machine_lazy_rel): Likewise.
39497 (elf_machine_lazy_rela): Likewise.
39498 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39499 (elf_machine_lazy_rel): Likewise.
39500 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39501 Likewise.
39502 (elf_machine_lazy_rel): Likewise.
39503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39504 Likewise.
39505 (elf_machine_lazy_rel): Likewise.
39506 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39507 (elf_machine_lazy_rel): Likewise.
39508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39509 (elf_machine_lazy_rel): Likewise.
39510 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39511 (elf_machine_lazy_rel): Likewise.
39512 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39513 (elf_machine_lazy_rel): Likewise.
39514 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39515 (elf_machine_lazy_rel): Likewise.
39516 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39517 (elf_machine_lazy_rel): Likewise.
39518
68577918
UD
395192011-09-28 Ulrich Drepper <drepper@gmail.com>
39520
39521 * nss/nss_files/files-init.c (_nss_files_init): Use static
39522 initialization for all the *_traced_file variables.
39523
68822d74
AS
395242011-09-28 Andreas Schwab <schwab@redhat.com>
39525
39526 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39527
2056100b
RM
395282011-09-27 Roland McGrath <roland@hack.frob.com>
39529
39530 [BZ #13226]
39531 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39532
32c76b63
AS
395332011-09-27 Andreas Schwab <schwab@redhat.com>
39534
39535 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39536 Reread the line before reparsing it.
39537
bf972c9d
AS
395382011-09-26 Andreas Schwab <schwab@redhat.com>
39539
39540 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39541
e057a1b5
JM
395422011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39543 Maxim Kuvyrkov <maxim@codesourcery.com>
39544 Joseph Myers <joseph@codesourcery.com>
39545
39546 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39547 if needed for __stack_chk_guard.
39548
bc7e1c36
RM
395492011-09-19 Roland McGrath <roland@hack.frob.com>
39550
ecb1482f
RM
39551 * sysdeps/posix/spawni.c (script_execute): Always define it.
39552 It will be optimized away if unused.
39553 (maybe_script_execute): New function.
39554 (__spawni): Call it.
39555
bc7e1c36
RM
39556 * Makerules: Don't include tls.make.
39557 (config-tls): Always set to thread.
39558 * tls.make.c: File removed.
39559
1c3b002b
MF
395602011-09-19 Mike Frysinger <vapier@gentoo.org>
39561
39562 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39563 * config.make.in (CPPFLAGS-config): New substituted variable.
39564
2840865d
UD
395652011-09-15 Ulrich Drepper <drepper@gmail.com>
39566
88738eb6
UD
39567 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39568
cbf645a6 39569 [BZ #13192]
2840865d
UD
39570 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39571 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39572
b402e91a
RM
395732011-09-15 Roland McGrath <roland@hack.frob.com>
39574
39575 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39576 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39577 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39578 (CALL_FAIL): Likewise.
39579 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39580 (CALL_FAIL): Macro removed.
39581 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39582
4c1a1f71
UD
395832011-09-15 Ulrich Drepper <drepper@gmail.com>
39584
39585 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39586 for __FINITE_MATH_ONLY__ == 1.
39587
edc121be
AS
395882011-09-15 Andreas Schwab <schwab@redhat.com>
39589
39590 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39591 __ieee754_sqrt instead of sqrt.
39592 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39593 __ieee754_sqrtf instead of sqrtf.
39594 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39595 __floorf instead of floorf.
39596 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39597 __floorf, __truncf instead of floorf, truncf.
39598
cd205654
UD
395992011-09-14 Ulrich Drepper <drepper@gmail.com>
39600
ee4d0315
UD
39601 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39602
cd205654
UD
39603 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39604 __extern_always_inline.
39605 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39606 32-bit.
39607
48b67d71
AS
396082011-09-14 Andreas Schwab <schwab@redhat.com>
39609
39610 * elf/rtld.c (dl_main): Also relocate in dependency order when
39611 doing symbol dependency testing.
39612
1ae12c75
AS
396132011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39614
39615 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39616 Always define `refsym'.
39617
995a80df
AS
396182011-09-13 Andreas Schwab <schwab@redhat.com>
39619
e529793b
AS
39620 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39621 (__FD_ELT): Renamed from __FDELT.
39622 * misc/bits/select2.h (__FD_ELT): Likewise.
39623 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39624 __FD_MASK instead of __FDELT, __FDMASK.
39625 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39626 Likewise.
39627 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39628 Likewise.
39629
52d4fef8
AS
39630 * elf/Makefile (gen-ldd): Fix pattern.
39631
995a80df
AS
39632 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39633 (init_tls): Likewise.
39634
8682f8b0
UD
396352011-09-12 Ulrich Drepper <drepper@gmail.com>
39636
39637 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39638
de82006d
AS
396392011-09-12 Andreas Schwab <schwab@redhat.com>
39640
a7c8e6a1
AS
39641 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39642 `struct cmsghdr *' instead of `void *'.
39643 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39644 Likewise.
39645
0f31fe77
AS
396462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39647
39648 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39649 if non-absolute.
39650 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39651 ldd_rewrite_script.
0f31fe77 39652
32b4c839
UD
396532011-09-11 Ulrich Drepper <drepper@gmail.com>
39654
83cd1420
UD
39655 * configure.in: Remove --with-tls option.
39656 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39657 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39658 out in case it is missing.
39659 * sysdeps/ia64/elf/configure.in: Likewise.
39660 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39661 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39662 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39663 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39664 * sysdeps/sh/elf/configure.in: Likewise.
39665 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39666 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39667 * sysdeps/x86_64/elf/configure.in: Likewise.
39668 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39669 * sysdeps/mach/hurd/tls.h: Likewise.
39670
633f745d
UD
39671 [BZ #13067]
39672 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39673
f318beb8
UD
39674 [BZ #13090]
39675 * configure.in: Fix use of AC_INIT.
39676
32b4c839
UD
39677 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39678
3ce1f295
UD
396792011-09-10 Ulrich Drepper <drepper@gmail.com>
39680
bb016596
UD
39681 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39682 __set_errno.
8e58439c
UD
39683 * malloc/hooks.c: Likewise.
39684
aebae053 39685 [BZ #11929]
02d46fc4
UD
39686 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39687 variables statically.
39688 (narenas): Initialize.
39689 (list_lock): Initialize.
bb016596
UD
39690 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39691 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39692 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39693 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39694 Add initializers to main_arena and mp_.
39695 (malloc_state): Remove pagesize member. Change all users to use
39696 GLRO(dl_pagesize).
39697
39698 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39699 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39700 is always initialized.
39701
22a89187
UD
39702 * malloc/malloc.c: Removed unused configurations and dead code.
39703 * malloc/arena.c: Likewise.
39704 * malloc/hooks.c: Likewise.
02d46fc4 39705 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39706
d063d164
UD
39707 * include/tls.h: Removed. USE___THREAD must always be defined.
39708 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39709 * elf/dl-libc.c: Likewise.
39710 * elf/dl-tsd.c: Likewise.
39711 * include/errno.h: Likewise.
39712 * include/netdb.h: Likewise.
39713 * include/resolv.h: Likewise.
39714 * inet/herrno-loc.c: Likewise.
39715 * inet/herrno.c: Likewise.
39716 * malloc/arena.c: Likewise.
39717 * malloc/hooks.c: Likewise.
39718 * malloc/malloc.c: Likewise.
39719 * resolv/res-state.c: Likewise.
39720 * resolv/res_libc.c: Likewise.
39721 * sysdeps/i386/dl-machine.h: Likewise.
39722 * sysdeps/ia64/dl-machine.h: Likewise.
39723 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39724 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39725 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39726 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39727 * sysdeps/sh/dl-machine.h: Likewise.
39728 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39729 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39730 * sysdeps/unix/i386/sysdep.S: Likewise.
39731 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39732 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39733 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39737 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39741 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39742 * sysdeps/x86_64/dl-machine.h: Likewise.
39743 * tls.make.c: Likewise.
39744
3ce1f295
UD
39745 * configure.in: Remove --with-__thread option. Make tests for
39746 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39747 tls_model attribute fail if no support is available. Remove
39748 USE_IN_LIBIO.
39749 * Makeconfig: Adjust for dropped configure option. All features are
39750 now mandatory.
39751 * Makerules: Likewise.
39752 * Versions.def: Likewise.
39753 * argp/argp-fmtstream.c: Likewise.
39754 * argp/argp-fmtstream.h: Likewise.
39755 * argp/argp-help.c: Likewise.
39756 * assert/assert.c: Likewise.
39757 * config.h.in: Likewise.
39758 * config.make.in: Likewise.
39759 * configure: Likewise.
39760 * configure.in: Likewise.
39761 * csu/Versions: Likewise.
39762 * csu/init.c: Likewise.
39763 * elf/tst-audit2.c: Likewise.
39764 * elf/tst-tls10.c: Likewise.
39765 * elf/tst-tls10.h: Likewise.
39766 * elf/tst-tls11.c: Likewise.
39767 * elf/tst-tls12.c: Likewise.
39768 * elf/tst-tls14.c: Likewise.
39769 * elf/tst-tlsmod11.c: Likewise.
39770 * elf/tst-tlsmod12.c: Likewise.
39771 * elf/tst-tlsmod13.c: Likewise.
39772 * elf/tst-tlsmod13a.c: Likewise.
39773 * elf/tst-tlsmod14a.c: Likewise.
39774 * elf/tst-tlsmod15b.c: Likewise.
39775 * elf/tst-tlsmod16a.c: Likewise.
39776 * elf/tst-tlsmod16b.c: Likewise.
39777 * elf/tst-tlsmod7.c: Likewise.
39778 * elf/tst-tlsmod8.c: Likewise.
39779 * elf/tst-tlsmod9.c: Likewise.
39780 * gmon/gmon.c: Likewise.
39781 * grp/fgetgrent_r.c: Likewise.
39782 * grp/putgrent.c: Likewise.
39783 * hurd/fopenport.c: Likewise.
39784 * include/libc-symbols.h: Likewise.
39785 * include/tls.h: Likewise.
39786 * intl/gettextP.h: Likewise.
39787 * intl/loadinfo.h: Likewise.
39788 * locale/global-locale.c: Likewise.
39789 * locale/localeinfo.h: Likewise.
39790 * mach/devstream.c: Likewise.
39791 * malloc/arena.c: Likewise.
39792 * malloc/set-freeres.c: Likewise.
39793 * misc/err.c: Likewise.
39794 * misc/getttyent.c: Likewise.
39795 * misc/mntent_r.c: Likewise.
39796 * posix/getopt.c: Likewise.
39797 * posix/wordexp.c: Likewise.
39798 * pwd/fgetpwent_r.c: Likewise.
39799 * resolv/Versions: Likewise.
39800 * resolv/res_hconf.c: Likewise.
39801 * shadow/fgetspent_r.c: Likewise.
39802 * shadow/putspent.c: Likewise.
39803 * stdio-common/printf_fphex.c: Likewise.
39804 * stdio-common/tmpfile.c: Likewise.
39805 * stdlib/abort.c: Likewise.
39806 * stdlib/fmtmsg.c: Likewise.
39807 * sunrpc/auth_unix.c: Likewise.
39808 * sunrpc/clnt_perr.c: Likewise.
39809 * sunrpc/clnt_tcp.c: Likewise.
39810 * sunrpc/clnt_udp.c: Likewise.
39811 * sunrpc/clnt_unix.c: Likewise.
39812 * sunrpc/openchild.c: Likewise.
39813 * sunrpc/svc_simple.c: Likewise.
39814 * sunrpc/svc_tcp.c: Likewise.
39815 * sunrpc/svc_udp.c: Likewise.
39816 * sunrpc/svc_unix.c: Likewise.
39817 * sunrpc/xdr.c: Likewise.
39818 * sunrpc/xdr_array.c: Likewise.
39819 * sunrpc/xdr_rec.c: Likewise.
39820 * sunrpc/xdr_ref.c: Likewise.
39821 * sunrpc/xdr_stdio.c: Likewise.
39822
1248c1c4
PB
398232011-09-09 Ulrich Drepper <drepper@gmail.com>
39824
39825 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39826
398272011-07-03 Andreas Jaeger <aj@suse.de>
39828
39829 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39830 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39831 regenerate with gen-libm-tests.pl.
39832
398332010-05-12 Petr Baudis <pasky@suse.cz>
39834
39835 [BZ #11589]
39836 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39837 around j0() zero points by switching to j1().
39838 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39839 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39842
f22e1074
UD
398432011-09-09 Ulrich Drepper <drepper@gmail.com>
39844
f19009c1
UD
39845 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39846 instead of 0.
39847 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39848 instead of 0.
f19009c1
UD
39849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39850 Patch in part by Pavel Roskin <proski@gnu.org>.
39851
3f8cc204
UD
39852 [BZ #13138]
39853 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39854 realloc.
39855 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39856 Free memory block if necessary.
39857
f22e1074
UD
39858 [BZ #12847]
39859 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39860 be NULL. Don't lock in this case.
39861
0a2349f9
RM
398622011-09-09 Roland McGrath <roland@hack.frob.com>
39863
39864 * elf/elf.h (ELFOSABI_GNU): New macro.
39865 (ELFOSABI_LINUX): Define to that.
39866
f3cdd467
DZ
398672011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39868
39869 * string/strncat.c (strncat): Undef the symbol in case it has been
39870 defined in bits/string.h.
39871
74718d13
UD
398722011-09-09 Ulrich Drepper <drepper@gmail.com>
39873
633e9e0f
UD
39874 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39875
0a2349f9 39876 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39877 link map.
39878
f9924780
AJ
398792011-08-17 Andreas Jaeger <aj@suse.de>
39880
39881 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39882
7f5517aa
PP
398832011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39884 Ian Lance Taylor <iant@google.com>
39885
39886 * math/libm-test.inc (lround_test): New testcase.
39887 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39888
762011fe
UD
398892011-09-08 Ulrich Drepper <drepper@gmail.com>
39890
92963737
UD
39891 * Makefile: Remove support for automatic cvs check-ins.
39892 * Makerules: Likewise.
39893 * config.make.in: Likewise.
39894 * configure.in: Likewise.
39895 * intl/Makefile: Likewise.
39896 * locale/Makefile: Likewise.
39897 * po/Makefile: Likewise.
39898 * posix/Makefile: Likewise.
39899 * sysdeps/gnu/Makefile: Likewise.
39900 * sysdeps/mach/hurd/Makefile: Likewise.
39901 * sysdeps/sparc/sparc32/Makefile: Likewise.
39902
b0727fd8
JS
39903 [BZ #13118]
39904 * posix/Makefile (bug-regex32-ENV): Define.
39905 Patch by John Stanley <jpsinthemix@verizon.net>.
39906
a0f33f99
UD
39907 * misc/Makefile (headers): Add bits/select2.h.
39908 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39909 * misc/bits/select2.h: New file.
39910 * include/bits/select2.h: New file.
39911 * debug/Makefile (routines): Add fdelt_chk.
39912 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39913 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39914 FD_ISSET.
39915 * debug/fdelt_chk.c: New file.
39916
762011fe
UD
39917 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39918 * wcsmbs/test-wmemcmp.c: Likewise.
39919 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39920 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39921
399222011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39923
39924 * string/Makefile (strop-tests): Add memcmp.
39925 * string/test-wmemcmp.c: New file.
39926 * string/test-memcmp.c: Add wmemcmp support.
39927
7f513ec8
RM
399282011-09-08 Roland McGrath <roland@hack.frob.com>
39929
0442afb4
RM
39930 [BZ #13153]
39931 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39932 2011-07-19 change.
39933
7f513ec8
RM
39934 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39935 garbage value in a __mach_port_mod_refs call in the cases of the
39936 task-self and thread-self ports.
39937
a12b2239
ST
399382011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39939
39940 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39941
610f9ab4
AS
399422011-09-08 Andreas Schwab <schwab@redhat.com>
39943
7f513ec8 39944 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39945
48882a1a
LD
399462011-09-07 Ulrich Drepper <drepper@gmail.com>
39947
b49865be
UD
39948 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39949
fdc86bc9
UD
39950 * elf/dl-libc.c (dlerror_run): Pass back error code from
39951 dl_catch_error.
39952
c966526a
UD
39953 [BZ #13123]
39954 * elf/dl-load.c (lose): Free l_origin if it is valid.
39955
48882a1a
LD
39956 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39957 names.
39958 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39959 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39960 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39961 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39962 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39963 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39964
77a2a8b4
AZ
399652011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39966
39967 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39968 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39969 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39970 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39971 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39972 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39973 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39974 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39975 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39976 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39977
24f579d8
AM
399782011-08-15 Alan Modra <amodra@gmail.com>
39979
39980 [BZ #13092]
39981 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39982 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39983 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39984 ppc_mcount to static-only-routines.
39985 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39986 __mcount_internal.
39987 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39988 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39989
3d4837df
UD
399902011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39991
39992 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39993 for finite and infinity parameters.
39994
22700377
WS
399952011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39996
39997 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39998 and add nop instructions for throughput optimization.
39999 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40000
5025581e
WS
400012011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40002
40003 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40004 aligned copy for power7 with vector-scalar instructions.
40005 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40006
08a300c9
L
400072011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40008
40009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40010 AVX check.
40011
59178ef9
AS
400122011-09-07 Andreas Schwab <schwab@redhat.com>
40013
40014 [BZ #13144]
40015 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40016 last change.
40017
e38ba7ab
UD
400182011-09-07 Ulrich Drepper <drepper@gmail.com>
40019
40020 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40021 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40022 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40023 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40024 clock_gettime.
40025
d53a73ac
UD
400262011-09-06 Ulrich Drepper <drepper@gmail.com>
40027
fc8bffcc
UD
40028 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40029 Forgot to demangle the pointer.
40030
ceaa0c5d
UD
40031 * sysdeps/i386/sysdep.h: Define atom_text_section.
40032 * sysdeps/x86_64/sysdep.h: Likewise.
40033 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40034 section with atom_text_section.
40035 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40036 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40037 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40039 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40040
a77d3c17
UD
40041 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40042 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40043 already be defined. Change to take two parameters and don't assign
40044 result to variable. Adjust all users.
40045 Define INTERNAL_GETTIME if not already defined.
40046 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40047 call.
40048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40049 HAVE_CLOCK_GETTIME_VSYSCALL.
40050 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40051
d53a73ac
UD
40052 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40053 gettimeofday vsyscall, just use time.
40054
a8f84144
AS
400552011-09-06 Andreas Schwab <schwab@redhat.com>
40056
40057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40058 <errno.h>.
40059
ef606249
UD
400602011-09-06 Ulrich Drepper <drepper@gmail.com>
40061
40062 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40063 syscall on x86-64.
40064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40065 syscall.
40066 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40067 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40068 syscall if possible.
40069
6585cb60
UD
400702011-09-05 Ulrich Drepper <drepper@gmail.com>
40071
40072 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40073 e_ident. Don't pass to find_mapsXX.
40074 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40075
a5f524e4
LD
400762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40077
40078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40079 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40080 * sysdeps/x86_64/multiarch/strchr.S: Update.
40081 Check bit_slow_BSF bit.
40082 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40083 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40084 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40085
554881ef
UD
400862011-09-05 Ulrich Drepper <drepper@gmail.com>
40087
d96de963
UD
40088 [BZ #13134]
40089 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40090 before glibc 2.15.
40091 (tryshell): Define.
40092 (__spawni): Change last parameter to be flag. Test
40093 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40094 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40095 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40096 * posix/spawni.c: Likewise.
40097 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40098 * posix/spawnp.c: Likewise. Change normal version to use
40099 SPAWN_XFLAGS_USE_PATH.
40100 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40101 SPAWN_XFLAGS_TRY_SHELL.
40102
d48e5868
UD
40103 [BZ #13150]
40104 * posix/glob.h: Remove gcc 1.x support.
40105
554881ef
UD
40106 [BZ #13068]
40107 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40108
693fb948
LD
401092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40110
40111 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40112 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40113 strrchr-sse2-bsf
40114 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40115 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40116 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40118 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40119 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40120
1b48c537
UD
401212011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40122
49d42c37
UD
40123 * sysdeps/x86_64/wcscmp.S: New file.
40124
1b48c537
UD
40125 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40126 wcscmp-c wcscmp-sse2
40127 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40128 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40129 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40130 * wcsmbs/wcscmp.c: Allow renaming.
40131
15c95c5d
DM
401322011-09-05 David S. Miller <davem@davemloft.net>
40133
40134 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40135 stack slot, rather than the struct return pointer slot.
40136 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40137 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40139 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40140
2f0ad8f3
UD
401412011-09-05 Ulrich Drepper <drepper@gmail.com>
40142
d88ae418
UD
40143 * po/ja.po: Update from translation team.
40144
2f0ad8f3
UD
40145 [BZ #13144]
40146 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40147 kernel in 64-bit binaries.
40148
5f4318d1
DM
401492011-09-01 David S. Miller <davem@davemloft.net>
40150
40151 * elf/elf.h (HWCAP_SPARC_*): Move to..
40152 * sysdeps/sparc/sysdep.h: this new file and add new values.
40153 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40154 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40155 _DL_HWCAP_COUNT to 24.
40156 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40157 entries.
40158 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40159 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40160 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40162 instead of magic constants.
40163 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40164
3ba57516
DM
401652011-08-31 David S. Miller <davem@davemloft.net>
40166
40167 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40169 Reimplement to do errno handling inline.
40170 (SYSCALL_ERROR_HANDLER): New macro.
40171 (__SYSCALL_STRING): Do not do errno handling in asm.
40172 (__CLONE_SYSCALL_STRING): Delete.
40173 (__INTERNAL_SYSCALL_STRING): Delete.
40174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40175 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40176 (PSEUDO): Reimplement to do errno handling inline.
40177 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40178 (SYSCALL_ERROR_HANDLER): New macro.
40179 (__SYSCALL_STRING): Do not do errno handling in asm.
40180 (__CLONE_SYSCALL_STRING): Delete.
40181 (__INTERNAL_SYSCALL_STRING): Delete.
40182 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40183 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40184 i386.
40185 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40186 (inline_syscall*): Add 'err' argument.
40187 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40188 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40189 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40190 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40191
40192 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40193 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40194
2bc17433
AS
401952011-08-30 Andreas Schwab <schwab@redhat.com>
40196
40197 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40198
fbeb5f4d
JO
401992011-08-29 Jiri Olsa <jolsa@redhat.com>
40200
40201 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40202 directive.
40203
ad69cc26
DM
402042011-08-24 David S. Miller <davem@davemloft.net>
40205
40206 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40207
39dd69df
AS
402082011-08-24 Andreas Schwab <schwab@redhat.com>
40209
40210 * elf/Makefile: Add rules to build and run unload8 test.
40211 * elf/unload8.c: New file.
40212 * elf/unload8mod1.c: New file.
40213 * elf/unload8mod1x.c: New file.
40214 * elf/unload8mod2.c: New file.
40215 * elf/unload8mod3.c: New file.
40216
40217 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40218 it wasn't used.
40219
2c0b250a
DM
402202011-08-23 David S. Miller <davem@davemloft.net>
40221
40222 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40223 subtract stack bias.
40224 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40225 %sp not %fp in calculations.
40226 (_JMPBUF_UNWINDS_ADJ): Likewise.
40227
22044b48
DM
40228 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40229 (aio_suspend): Call it to force an exception region around the
40230 AIO_MISC_WAIT() invocation.
40231
2cae4995
AS
402322011-08-23 Andreas Schwab <schwab@redhat.com>
40233
40234 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40235 backslash.
40236
873a772e
AJ
402372011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40238
40239 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40240 protection macro.
40241 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40242 and <dl-machine.h>.
40243 (Elf64_FuncDesc): Remove.
40244
25ad0df1
DM
402452011-08-22 David S. Miller <davem@davemloft.net>
40246
40247 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40248 sigaltstack check, add missing cfi directives.
40249 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40250 missing cfi directives, and sigaltstack handling.
40251
e888bcbe
AS
402522011-08-16 Andreas Schwab <schwab@redhat.com>
40253
40254 [BZ #11724]
40255 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40256 object is seen twice.
40257 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40258
40259 * elf/Makefile (distribute): Add tst-initorder2.c.
40260 (tests): Add tst-initorder2.
40261 (modules-names): Add tst-initorder2a tst-initorder2b
40262 tst-initorder2c tst-initorder2d. Add rules to build them.
40263 ($(objpfx)tst-initorder2.out): New rule.
40264 * elf/tst-initorder2.c: New file.
40265 * elf/tst-initorder2.exp: New file.
40266
87162f46
AS
402672011-08-22 Andreas Schwab <schwab@redhat.com>
40268
70538b7f
AS
40269 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40270
f55ffe58
AS
40271 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40272 dependencies back to end of function.
40273
87162f46
AS
40274 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40275 $(elfobjdir)/ld.so.
40276
91b392a4
UD
402772011-08-21 Ulrich Drepper <drepper@gmail.com>
40278
40279 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40280 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40282 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40283 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40284 of __vdso_gettimeofday.
40285 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40286 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40287 attribute_hidden.
40288 (_libc_vdso_platform_setup): Remove initialization of
40289 __vdso_gettimeofday and __vdso_time.
40290
5c43483f
UD
402912011-08-20 Ulrich Drepper <drepper@gmail.com>
40292
775a77e7
UD
40293 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40294 and fgetc_unlocked.
40295 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40296 getc_unlocked.
89f447ed 40297
49c74ba9
UD
40298 * elf/dl-open.c (add_to_global): Report additions to the global scope
40299 for LD_DEBUG=scopes.
40300 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40301 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40302
5c43483f
UD
40303 [BZ #13114]
40304 * stdio-common/Makefile (tests): Add bug24.
40305 * stdio-common/bug24.c: New file.
40306
a101b025
AJ
403072011-08-19 Andreas Jaeger <aj@suse.de>
40308
40309 [BZ #13114]
40310 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40311 non-existant file when using close-on-exec mode.
40312
c88f1766
UD
403132011-08-20 Ulrich Drepper <drepper@gmail.com>
40314
0276a718
UD
40315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40316 the very first instruction.
40317
c88f1766
UD
40318 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40319 the CFI state in the end.
40320 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40321 inclusion of dl-trampoline.h.
40322 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40323
51ccffa0
AS
403242011-08-19 Andreas Schwab <schwab@redhat.com>
40325
94d7165f
AS
40326 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40327 expectations for long double.
40328
51ccffa0
AS
40329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40330 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40331
fd708658 403322011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
40333
40334 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40335 artificual limit depends upon the system page size.
40336
44f0a71e
UD
403372011-08-17 Ulrich Drepper <drepper@gmail.com>
40338
40339 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40340 * resolv/Makefile: Define CFLAGS-libresolv.
40341
8de79a24
AS
403422011-08-17 Andreas Schwab <schwab@redhat.com>
40343
40344 * nss/makedb.c (compute_tables): Make variables used in nested
40345 function static.
40346
27724598
UD
403472011-08-17 Ulrich Drepper <drepper@gmail.com>
40348
c5305d88
UD
40349 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40350 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40351 if buffer was too small.
40352
27724598
UD
40353 * elf/pldd.c (main): Attach to all threads in the process.
40354 Rewrite /proc handling to use *at functions.
40355
076fe015
UD
403562011-08-16 Ulrich Drepper <drepper@gmail.com>
40357
174baab3
UD
40358 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40359 specifies first scope to show.
40360 (dl_open_worker): Update callers. Move printing scope of new
40361 object to before the relocation.
44f0a71e 40362 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
40363 * sysdeps/generic/ldsodefs.h: Update declaration.
40364
076fe015
UD
40365 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40366 string for the scope number.
40367
a60df2c3
UD
403682011-08-14 Ulrich Drepper <drepper@gmail.com>
40369
40370 * nscd/servicescache.c (cache_addserv): Make sure written is always
40371 initialized.
40372
5e4287d1
RM
403732011-08-14 Roland McGrath <roland@hack.frob.com>
40374
85ae0589
RM
40375 * sysdeps/i386/i486/bits/atomic.h
40376 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40377 statement expression, so as to suppress "set but not used" warning.
40378 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40379
69f63097
RM
40380 * string/strncat.c (STRNCAT): Use prototype definition.
40381
675456ef
RM
40382 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40383 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40384 -Iprograms here.
40385 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40386 (localedef-modules): Add localedef.
40387 (locale-modules): Add locale.
40388
5e4287d1
RM
40389 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40390 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40391 to avoid a warning.
40392
9c96ff23
DM
403932011-08-14 David S. Miller <davem@davemloft.net>
40394
40395 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40396 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40397
f9ddf089
UD
403982011-08-13 Ulrich Drepper <drepper@gmail.com>
40399
44f0a71e 40400 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
40401 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40402 * elf/rtld.c (dl_main): Set l_name of vDSO.
40403 Call _dl_show_scope when DL_DEBUG_SCOPES.
40404 (process_dl_debug): Recognize scopes flag and also set it for all.
40405 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40406 Declare _dl_show_scope.
40407
1dc27704
UD
40408 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40409 (do_dlopen): Pass caller_dlopen to dl_open.
40410 (__libc_dlopen_mode): Initialize caller_dlopen.
40411
f9ddf089
UD
40412 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40413 of libc. Make tolower call locale-independent. Optimize a bit by
40414 using isdigit instead of isalnum.
40415 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40416
9ac533d3
UD
404172011-08-12 Ulrich Drepper <drepper@gmail.com>
40418
40419 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40420 was a dependency or dynamically loaded.
40421
89edf2e9
UD
404222011-08-11 Ulrich Drepper <drepper@gmail.com>
40423
8e999d29
UD
40424 * intl/l10nflist.c: Allow architecture-specific pop function.
40425 * sysdeps/x86_64/l10nflist.c: New file.
40426
89edf2e9
UD
40427 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40428 classification.
40429
14d96785
AS
404302011-08-10 Andreas Schwab <schwab@redhat.com>
40431
40432 * include/dirent.h: Add libc_hidden_proto for scandirat and
40433 scandirat64. Don't declare __scandirat64.
40434 * dirent/scandirat.c: Add libc_hidden_def.
40435 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40436 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40437
6761ac04
DM
404382011-08-10 David S. Miller <davem@davemloft.net>
40439
40440 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40441 enum.
40442 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40443 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40444 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40445
c55fbd1e
UD
404462011-08-09 Ulrich Drepper <drepper@gmail.com>
40447
40448 * Versions.def [libc]: Add GLIBC_2.15.
40449 * dirent/Makefile (routines): Add scandirat and scandirat64.
40450 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40451 GLIBC_2.15.
40452 * dirent/dirent.h: Declare scandirat and scandirat64.
40453 * dirent/scandirat.c: New file.
40454 * dirent/scandirat64.c: New file.
40455 * sysdeps/wordsize-64/scandirat.c: New file.
40456 * sysdeps/wordsize-64/scandirat64.c: New file.
40457 * dirent/opendir.c: Define opendirat.
40458 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40459 using scandirat.
40460 * dirent/scandir64.c: Adjust for scandir.c change.
40461 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40462 __scandirat64, and __scandir_cancel_handler.
40463 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40464 additional parameter and use openat instead of open (outside of ld.so).
40465 Add new __opendir as wrapper around __opendirat.
40466 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40467 here without requiring old scandirat implementation.
40468
879165f2
UD
404692011-08-08 Ulrich Drepper <drepper@gmail.com>
40470
40471 * dirent/scandir.c (cancel_handler): Renamed to
40472 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40473 defined. Adjust users.
40474 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40475 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40476
cb7e923b
UD
404772011-08-04 Ulrich Drepper <drepper@gmail.com>
40478
16292edd
UD
40479 * string/test-string.h (IMPL): Use __STRING to expand name and then
40480 stringify it.
40481
cb7e923b
UD
40482 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40483 of cleanups.
40484
cff82933
LD
404852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40486
40487 * string/Makefile: Update.
40488 (strop-tests): Append strncat.
40489 * string/test-wcscmp.c: New file.
40490 New comprehensive test for wcscmp.
40491 * string/test-strcmp.c: Update.
40492 (WIDE): New define.
40493
9be9bfcc
AS
404942011-07-22 Andreas Schwab <schwab@redhat.com>
40495
40496 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40497 line.
40498
2e96f1c7
AS
404992011-07-26 Andreas Schwab <schwab@redhat.com>
40500
40501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40502 encoding to ACE if AI_IDN.
40503
85188888
JJ
405042011-08-01 Jakub Jelinek <jakub@redhat.com>
40505
40506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40507 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40508
5fa16e9b
LD
405092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40510
40511 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40512 Fix overflow bug in strncat.
40513 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40514
40515 * string/test-strncat.c: Update.
40516 Add new tests for checking overflow bugs.
40517
405182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40519
40520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40521 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40522 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40523 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40524 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40525 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40526 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40527 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40528 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40529
40530 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40531 (USE_AS_STRCAT): Define.
40532 Add strcat and strncat support.
40533 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40534
8c1a459f
AS
405352011-07-25 Andreas Schwab <schwab@redhat.com>
40536
40537 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40538 __n bigger than INT_MAX+1.
40539 (__strncmp_g): Likewise.
40540
bba33c28
UD
405412011-07-23 Ulrich Drepper <drepper@gmail.com>
40542
798be72d
UD
40543 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40544 * libio/stido.h: Likewise.
40545
8accd4dc
UD
40546 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40547 (AF_NFC): Define.
40548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40549 (AF_NFC): Define.
40550
cbff0d96
UD
40551 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40553 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40554 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40555 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40556
9191c04a
UD
40557 [BZ #13021]
40558 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40559 installed.
40560
bba33c28
UD
40561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40562 typo.
40563 (_dl_x86_64_save_sse): Likewise.
40564
90f139dd
UD
405652011-07-22 Ulrich Drepper <drepper@gmail.com>
40566
1aae088a
UD
40567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40568 OSXSAVE.
40569 (_dl_x86_64_save_sse): Likewise.
40570
8e2045f5
UD
40571 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40572
90f139dd
UD
40573 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40574
1d002f25
AS
405752011-07-21 Andreas Schwab <schwab@redhat.com>
40576
40577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40578 change.
40579 (_dl_x86_64_save_sse): Use correct AVX check.
40580
21137f89
UD
405812011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40582
40583 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40584 bug in strncpy/strncat.
40585 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40586
a65c0b7a
UD
405872011-07-21 Ulrich Drepper <drepper@gmail.com>
40588
40589 * string/tester.c (test_strcat): Add tests for different alignments
40590 of source and destination.
40591 (test_strncat): Likewise.
40592
6986b98a
UD
405932011-07-20 Ulrich Drepper <drepper@gmail.com>
40594
90bb2039
UD
40595 [BZ #12852]
40596 * posix/glob.c (glob): Check passed in values before using them in
40597 expressions to avoid some overflows.
40598 (glob_in_dir): Likewise.
40599
5644ef54
UD
40600 [BZ #13007]
40601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40602 check for AVX enablement so that we don't crash with old kernels and
40603 new hardware.
40604 * elf/tst-audit4.c: Add same checks here.
40605 * elf/tst-audit6.c: Likewise.
40606
40607 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40608
bfc9dc9b
AS
406092011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40610
40611 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40612
702e64bb
UD
406132011-07-20 Ulrich Drepper <drepper@gmail.com>
40614
40615 * po/cs.po: Update from translation team.
40616 * po/bg.po: Likewise.
40617
295e904f
MP
406182011-07-12 Marek Polacek <mpolacek@redhat.com>
40619
40620 * misc/sys/cdefs.h: Add support for const attribute.
40621 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40622 to gnu_dev_{major,minor,makedev} functions.
40623
3ff94596
MP
406242011-07-20 Marek Polacek <mpolacek@redhat.com>
40625
40626 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40627
28b59fca
AS
406282011-07-20 Andreas Schwab <schwab@redhat.com>
40629
40630 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40631 strlen results.
40632
19df733e
AK
406332011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40634
40635 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40636 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40637 register in order to avoid conflicts with the soft frame pointer
40638 being held in r11 when necessary.
40639 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40640 (INTERNAL_VSYSCALL_NCS): Likewise.
40641
c8835729
MP
406422011-07-14 Marek Polacek <mpolacek@redhat.com>
40643
40644 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40645 * elf/dl-fini.c (_dl_fini): Adjust caller.
40646 * elf/dl-close.c (_dl_close_worker): Likewise.
40647 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40648
b902330c
MP
406492011-07-15 Marek Polacek <mpolacek@redhat.com>
40650
8991e135
MP
40651 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40652 "aux_cache->nlibs < 0".
40653
b902330c
MP
40654 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40655 in the reload-count case.
40656
99710781
LD
406572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40658
40659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40660 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40661 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40662 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40663 * sysdeps/x86_64/multiarch/strcat.S: New file.
40664 * sysdeps/x86_64/multiarch/strncat.S: New file.
40665 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40666 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40667 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40668 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40670 (USE_AS_STRCAT): Define.
40671 Add strcat and strncat support.
40672 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40673 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40674 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40675 * string/strncat.c: Update.
40676 (USE_AS_STRNCAT): Define.
40677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40678 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40679 and i7.
40680 * sysdeps/x86_64/multiarch/init-arch.h
40681 (bit_Prefer_PMINUB_for_stringop): New.
40682 (index_Prefer_PMINUB_for_stringop): Likewise.
40683 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40684 bit_Prefer_PMINUB_for_stringop.
40685
7dc6bd90
UD
406862011-07-19 Ulrich Drepper <drepper@gmail.com>
40687
40688 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40689 buffer64.
40690 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40691 of casting of buffer.
40692 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40693 buffer32 and buffer64.
40694 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40695 writes instead of casting of buffer.
40696 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40697 buffer32.
40698 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40699 casting of buffer.
40700
e0e72284
AS
407012011-07-19 Andreas Schwab <schwab@redhat.com>
40702
40703 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40704
feb1eb0b
UD
407052011-07-19 Ulrich Drepper <drepper@gmail.com>
40706
40707 * nscd/nscd.c (termination_handler): Don't do anything for a database
40708 if it has not yet been initialized.
40709
298711ff
UD
407102011-07-18 Ulrich Drepper <drepper@gmail.com>
40711
40712 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40713
407142011-07-15 Marek Polacek <mpolacek@redhat.com>
40715
40716 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40717
f9d68389
UD
407182011-07-18 Ulrich Drepper <drepper@gmail.com>
40719
40720 * po/nl.po: Update from translation team.
40721 * po/sv.po: Likewise.
40722
db290cf5
RM
407232011-07-16 Roland McGrath <roland@hack.frob.com>
40724
40725 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40726 now disallowed by GCC.
5c550700 40727
fd5e21c7
RM
40728 * configure.in (use-default-link): Default to yes if a test -shared
40729 link meets our qualifications.
40730 * configure: Regenerated.
40731
5c550700
RM
40732 * config.make.in (output-format): New variable.
40733 * configure.in: Check for ld --print-output-format support.
40734 * configure: Regenerated.
40735 * Makerules ($(common-objpfx)format.lds)
40736 [$(output-format) != unknown]: Just use $(output-format),
40737 instead of the linker-script munging.
40738
9fa2c032
RM
407392011-07-14 Roland McGrath <roland@hack.frob.com>
40740
a6928d51
RM
40741 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40742 of $(common-objpfx)shlib.lds.
40743 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40744
661607b3
RM
40745 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40746 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40747
9fa2c032
RM
40748 * configure.in (-z relro check): Adjust test code to add a large
40749 writable data section after it.
40750 * configure: Regenerated.
40751
defe9061
RM
407522011-07-11 Roland McGrath <roland@hack.frob.com>
40753
40754 * configure.in (-z relro check): Fix test code to make the variable
40755 truly const.
40756 * configure: Regenerated.
40757
319b9ad4
UD
407582011-07-11 Ulrich Drepper <drepper@gmail.com>
40759
40760 * nscd/nscd.h (struct traced_file): Define.
40761 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40762 elements. Add traced_files.
40763 (inotify_fd): Declare.
40764 (register_traced_file): Declare.
40765 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40766 (inotify_fd): Export.
40767 (resolv_conf_descr): Remove.
40768 (nscd_init): Move inotify descriptor creation to main.
40769 Don't register files for notification here.
40770 (register_traced_file): New function.
40771 (invalidate_cache): Don't use reset_res to determine whether to call
40772 res_init, go through the list of registered files.
40773 (main_loop_poll): The inotify descriptors are now stored in the
40774 structures for the traced files.
40775 (main_loop_epoll): Likewise
40776 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40777 to __nss_disable_nscd.
40778 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40779 for a database anymore. Check the records for all the registered
40780 files instead.
40781 * nss/Makefile (libnss_files-routines): Add files-init.
40782 (libnss_db-routines): Add db-init.
40783 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40784 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40785 * nss/nss_db/db-init.c: New file.
40786 * nss/nss_files/files-init.c: New file.
40787 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40788 __nss_lookup_function.
40789 (__nss_lookup_function): Call nss_load_library.
40790 (nss_load_all_libraries): New function.
40791 (__nss_disable_nscd): Take parameter with callback function for files
40792 to register. Set is_nscd. Load all the DSOs for the NSS modules
40793 used for the cached services.
40794 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40795 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40796 options for features to all the files in nscd.
40797
40798 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40799
23bee3e8
RM
408002011-07-10 Roland McGrath <roland@hack.frob.com>
40801
40802 * csu/elf-init.c (__libc_csu_init): Comment typo.
40803
46a5b7f0
UD
408042011-07-09 Ulrich Drepper <drepper@gmail.com>
40805
40806 * po/pl.po: Update from translation team.
40807 * po/ja.po: Likewise.
40808 * po/ru.po: Likewise.
40809 * po/ko.po: Likewise.
40810 * po/fr.po: Likewise.
40811
d30cf5bb
RM
408122011-07-09 Roland McGrath <roland@hack.frob.com>
40813
113ddea4
RM
40814 * configure.in (.ctors/.dtors header and trailer check):
40815 Use an empirical test on a built program.
40816 * configure: Regenerated.
40817
574920b4
RM
40818 * configure.in (-z relro check): Use an empirical test on a built DSO.
40819 Detect, but do not require, on ia64.
40820 * configure: Regenerated.
40821
d30cf5bb
RM
40822 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40823 Update tests that use readelf to use $READELF instead.
40824 * configure: Regenerated.
40825
8538fdb3
UD
408262011-07-08 Ulrich Drepper <drepper@gmail.com>
40827
40828 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40829 if the result is not used.
40830
04d08991
AJ
408312011-07-05 Andreas Jaeger <aj@suse.de>
40832
40833 [BZ#9696]
40834 * stdlib/tst-strtod.c: Add testcase.
40835
de283087
AD
408362011-07-07 Ulrich Drepper <drepper@gmail.com>
40837
4e5f31c8 40838 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40839 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40840 The latter has a higher limit. Take additional parameter to pass to
40841 the new function.
40842 (__pathconf): Pass file to __statfs_link_max.
40843 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40844 __statfs_link_max.
40845 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40846 __statfs_link_max.
40847
de283087
AD
40848 [BZ #12868]
40849 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40850 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40851 Handle Lustre.
40852 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40853 (__statfs_filesize_max): Likewise.
40854 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40855
c75fa153
AJ
408562011-07-05 Andreas Jaeger <aj@suse.de>
40857
40858 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40859
1a544854
UD
408602011-07-06 Marek Polacek <mpolacek@redhat.com>
40861
40862 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40863 `status' variable.
40864 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40865 Likewise.
40866
6f0eec67
UD
408672011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40868
40869 * Makefile (strop-tests): Add strncat.
40870 * string/test-strncat.c: New file.
40871
aae30307
UD
408722011-06-30 Marek Polacek <mpolacek@redhat.com>
40873
40874 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40875
c0cfb5eb
UD
408762011-06-21 Andreas Jaeger <aj@suse.de>
40877
40878 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40879 Copy rule from iconvdata/Makefile.
40880
01636b21
UD
408812011-07-06 Ulrich Drepper <drepper@gmail.com>
40882
40883 [BZ #12922]
40884 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40885 but no long options are defined, just return 'W'.
40886
9895c8bc
UD
408872011-06-22 Marek Polacek <mpolacek@redhat.com>
40888
40889 [BZ #9696]
40890 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40891
5d4cf042
UD
408922011-07-06 Ulrich Drepper <drepper@gmail.com>
40893
40894 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40895 netgroups to read.
960e5535 40896 (innetgr): Likewise.
5d4cf042 40897
751eb97e
RM
408982011-07-05 Roland McGrath <roland@hack.frob.com>
40899
40900 * config.make.in (install_root): Default to $(DESTDIR).
40901
f15f1e45
UD
409022011-07-05 Ulrich Drepper <drepper@gmail.com>
40903
40904 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40905
4e34ac6a
RM
409062011-07-02 Roland McGrath <roland@hack.frob.com>
40907
5e9b6af4
RM
40908 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40909
84f9ea0f
RM
40910 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40911 containing directory rather than embedding absolute directory names.
40912
ea5ee9f7
RM
40913 * scripts/check-local-headers.sh: Rewritten using awk.
40914 Match by word, not by line. Print error messages for matches.
40915 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40916
1b74661a
RM
40917 * Makerules [shlib-lds-flags empty]:
40918 ($(common-objpfx)libc_pic.opts): New target.
40919 ($(common-objpfx)libc_pic.os.clean): New target.
40920 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40921
40922 * config.make.in (OBJCOPY): New variable.
40923 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40924 * configure: Regenerated.
40925
f781ef40
RM
40926 * config.make.in (use-default-link): New variable.
40927 * configure.in (use_default_link): Grok --with-default-link to set it.
40928 * configure: Regenerated.
40929 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40930 (shlib-lds, shlib-lds-flags): Define to empty.
40931
2d4fa81e
RM
40932 * Makerules (shlib-lds): New variable.
40933 (shlib-lds-flags): New variable.
40934 (build-shlib, build-moduile, build-module-asneeded): Use it.
40935 ($(common-objpfx)libc.so): Use $(shlib-lds).
40936 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40937 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40938
31fffa6b
RM
40939 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40940 DT_FLAGS/DT_FLAGS_1 with zero flags.
40941
4e34ac6a
RM
40942 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40943 linker script munging.
40944
fcfc776b
UD
409452011-07-02 Ulrich Drepper <drepper@gmail.com>
40946
40947 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40948 as 128-bit value.
40949 * crypt/sha512.c (sha512_process_block): Perform total addition using
40950 128-bit if possible.
40951 (__sha512_finish_ctx): Likewise.
40952 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40953 as 64-bit value.
40954 * crypt/sha256.c (SWAP64): Define.
40955 (sha256_process_block): Perform total addition using 64-bit if
40956 possible.
40957 (__sha256_finish_ctx): Likewise.
40958
99231d9a
UD
409592011-07-01 Ulrich Drepper <drepper@gmail.com>
40960
40961 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40962 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40963 * nscd/hstcache.c (cache_addhst): Likewise.
40964 * nscd/grpcache.c (cache_addgr): Likewise.
40965 * nscd/aicache.c (addhstaiX): Likewise
40966 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40967
445b4a53
TK
409682011-07-01 Thorsten Kukuk <kukuk@suse.de>
40969
40970 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40971 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40972 * nscd/hstcache.c (cache_addhst): Likewise.
40973 * nscd/grpcache.c (cache_addgr): Likewise.
40974 * nscd/aicache.c (addhstaiX): Likewise
40975
6d4d8e8e
AS
409762011-07-01 Andreas Schwab <schwab@redhat.com>
40977
40978 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40979 domain only when needed.
40980
89f654c5
AS
409812011-06-30 Andreas Schwab <schwab@redhat.com>
40982
40983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40984 is always restored.
40985
cf3b23ff
UD
409862011-06-29 Ulrich Drepper <drepper@gmail.com>
40987
40988 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40989 are re-adding the entry.
40990 * nscd/servicescache.c (cache_addserv): Likewise.
40991
751626f9
AJ
409922011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40993
40994 * sysdeps/generic/dl-irel.h: fix protection against multiple
40995 inclusions.
40996 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40997
9113ea1f
UD
409982011-06-28 Ulrich Drepper <drepper@gmail.com>
40999
5c0b8d90
UD
41000 [BZ #12935]
41001 * malloc/memusage.sh: Fix quoting in message.
41002 * debug/xtrace.sh: Likewise.
41003
9113ea1f
UD
41004 * configure.in: Remove support for --experimental-malloc option, make
41005 it the default.
41006 * config.make.in: Likewise.
41007 * malloc/Makefile: Likewise.
41008
a4172181
AS
410092011-06-27 Andreas Schwab <schwab@redhat.com>
41010
41011 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41012 two-byte characters.
41013
78a7eee7
RM
410142011-06-27 Roland McGrath <roland@hack.frob.com>
41015
62bede13
RM
41016 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41017 AC_CACHE_CHECK invocation.
41018 * configure: Regenerated.
41019
78a7eee7
RM
41020 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41021
5ce33a62
UD
410222011-06-27 Ulrich Drepper <drepper@gmail.com>
41023
034807a9
UD
41024 [BZ #12350]
41025 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41026 bit from old_res_options.
41027
4902da17
UD
41028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41029
5ce33a62
UD
41030 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41031 value type for setfct.
41032
c2344f56
L
410332011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41034
41035 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41036 __gettimeofday instead of gettimeofday.
41037
68468076
UD
410382011-06-26 Ulrich Drepper <drepper@gmail.com>
41039
41040 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41041
acb0d739
L
410422011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41043
41044 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41045
41046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41047 info.
41048
8912479f
L
410492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41050
41051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41052 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41053 strcpy-sse2-unaligned strncpy-sse2-unaligned
41054 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41055 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41056 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41057 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41058 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41059 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41060 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41061 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41062 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41063 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41064 (STRCPY): Support SSE2 and SSSE3 versions.
41065
d5495a11
UD
410662011-06-24 Ulrich Drepper <drepper@gmail.com>
41067
41068 [BZ #12874]
41069 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41070 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41071 kernels which artificially limit size of requests.
41072
0b1cbaae
L
410732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41074
41075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41076 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41077 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41078 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41079 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41080 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41081 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41082 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41083 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41085 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41086 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41087 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41088 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41089 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41091 Enable unaligned load optimization for Intel Core i3, i5 and i7
41092 processors.
41093 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41094 Define.
41095 (index_Fast_Unaligned_Load): Define.
41096 (HAS_FAST_UNALIGNED_LOAD): Define.
41097
07f494a0
MP
410982011-06-23 Marek Polacek <mpolacek@redhat.com>
41099
41100 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41101
fa3fc0fe
UD
411022011-06-22 Ulrich Drepper <drepper@gmail.com>
41103
41104 [BZ #12907]
41105 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41106 until it is clear that the information is realy needed.
41107 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41108
e12df166
AS
411092011-06-22 Andreas Schwab <schwab@redhat.com>
41110
41111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41112
852eb34d
UD
411132011-06-22 Ulrich Drepper <drepper@gmail.com>
41114
84e2a551
UD
41115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41116 /sys/devices/system/cpu/online if it is usable.
41117
852eb34d
UD
41118 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41119 reading the information from the /proc filesystem to once a second.
41120
6e502e19
UD
411212011-06-21 Andreas Jaeger <aj@suse.de>
41122
41123 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41124 NULL after inclusion of kernel headers.
41125
75d39ff2
UD
411262011-06-21 Ulrich Drepper <drepper@gmail.com>
41127
51f9aa6a
UD
41128 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41129 calls to internal_setent.
41130
c0244a9d
UD
41131 [BZ #12885]
41132 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41133 addresses using gethostbyname4_r ignore IPv4 addresses.
41134
c5e3c2ae
UD
41135 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41136 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41137
75d39ff2
UD
41138 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41139
42675c6f
DM
411402011-06-20 David S. Miller <davem@davemloft.net>
41141
41142 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41143 inclusions.
41144 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41145
41146 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41147 (elf_irel): Use it.
41148 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41149 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41150 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41151 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41152 * sysdeps/x86_64/dl-irel.h: Likewise.
41153
41154 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41155 * elf/dl-sym.c: Likewise.
41156
57912a71
UD
411572011-06-15 Ulrich Drepper <drepper@gmail.com>
41158
41159 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41160 need to dereference resplen2.
41161
ee22793d
AS
411622011-06-14 Andreas Schwab <schwab@redhat.com>
41163
41164 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41165
a9e836b0
UD
411662011-06-15 Ulrich Drepper <drepper@gmail.com>
41167
77fb9117
UD
41168 * Makeconfig: Define vardbdir and inst_vardbdir.
41169 * nss/Makefile: Add rules to install db-Makefile.
41170
40c1b22c
UD
41171 * nss/nss_db/db-XXX.c: Cleanup.
41172
9f2da732
UD
41173 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41174 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41175 GLIBC_PRIVATE.
41176 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41177 * nss/makedb.c: Implement -g option to specify that value strings
41178 are generated and should not be added to table iterated over for
41179 get*ent calls.
41180 * nss/nss_db/db-initgroups.c: New file.
41181
82e9a1f7
UD
41182 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41183 interface.
41184
c41af17e
UD
41185 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41186 (internal_getgrouplist): Adjust to name change.
41187 Update use_initgroups_entry if this is not the first call.
41188 * nss/databases.def: Add initgroups entry.
41189
a9e836b0
UD
41190 * nss/makedb.c (compute_tables): Check result of multiple hash table
41191 sizes to minimize maximum chain length.
41192
2666d441
UD
411932011-06-14 Ulrich Drepper <drepper@gmail.com>
41194
41195 * Versions.def: Add entry for libnss_db.
41196 * shlib-versions: Likewise.
41197 * nss/Makefile: Add rules to build libnss_db.
41198 * nss/Versions: Add libnss_db information. Organize libnss_files
41199 entries better.
41200 * nss/db-Makefile: Add gshadow support. Change rules for the new
41201 makedb progra. Some minor improvements to generate smaller files.
41202 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41203 here from...
41204 * nss/makedb.c: ...here.
41205 Improve database format to be smaller and require less memory at
41206 runtime.
41207 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41208 db anymore.
41209 * nss/nss_db/db-netgrp.c: Likewise.
41210 * nss/nss_db/db-open.c: Likewise.
41211 * nss/nss_files/flies-XXX.x: Adjust comments.
41212 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41213 * nss/nss_files/files-grp.c: Likewise.
41214 * nss/nss_files/files-hosts.c: Likewise.
41215 * nss/nss_files/files-network.c: Likewise.
41216 * nss/nss_files/files-proto.c: Likewise.
41217 * nss/nss_files/files-pwd.c: Likewise.
41218 * nss/nss_files/files-rpc.c: Likewise.
41219 * nss/nss_files/files-service.c: Likewise.
41220 * nss/nss_files/files-sgrp.c: Likewise.
41221 * nss/nss_files/files-spwd.c: Likewise.
41222 * nss/nss_db/db-alias.c: Removed.
41223 * nss/nss_db/dummy-db.h: Removed.
41224
9ee76b5a
UD
412252011-06-02 Ulrich Drepper <drepper@gmail.com>
41226
41227 * nss/makedb.c: Rewritten to not use database library.
41228 * nss/Makefile: Update to build new makedb program.
41229
c71ca1f8
AJ
412302011-06-14 Andreas Jaeger <aj@suse.de>
41231
41232 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41233 memset declaration.
41234
3154bfb8
UD
412352011-06-10 Andreas Schwab <schwab@redhat.com>
41236
41237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41238 tmpbuf.
41239
b350afab
RM
412402011-06-10 Roland McGrath <roland@hack.frob.com>
41241
decd4e50
RM
41242 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41243 * elf/Makefile ($(objpfx)ld.so): Likewise.
41244
5615eaf2
RM
41245 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41246 Don't list ld.so twice in dependencies.
41247
41248 * posix/bug-regex31.c: Include <stdlib.h>.
41249
41250 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41251
41252 * nis/nss_compat/compat-spwd.c
41253 (getspent_next_nss_netgr): Remove unused variable.
41254 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41255
41256 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41257 nonmembers" output to use the right array.
41258
41259 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41260
41261 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41262
41263 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41264 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41265 * catgets/gencat.c (read_input_file): Likewise.
41266 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41267
41268 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41269 variable definition inside #if's controlling its use.
41270
41271 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41272
41273 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41274
41275 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41276
41277 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41278 unreachable code.
41279
41280 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41281
b68e08db
RM
41282 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41283 * configure: Regenerated.
41284
b350afab
RM
41285 * Makerules: Revert last change.
41286 * elf/Makefile: Likewise.
41287
28368601
RM
412882011-06-09 Roland McGrath <roland@hack.frob.com>
41289
41290 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41291 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41292 (reloc-link): Likewise.
41293
11988f8f
UD
412942011-06-09 Ulrich Drepper <drepper@gmail.com>
41295
41296 * elf/Makefile: Add rules to build pldd.
41297 * elf/pldd.c: New file.
41298 * elf/pldd-xx.c: New file.
41299
e80fab37
UD
413002011-06-07 Ulrich Drepper <drepper@gmail.com>
41301
41302 * version.h: Update for 2.15 development version.
41303
9b849836
DM
413042011-06-07 David S. Miller <davem@davemloft.net>
41305
41306 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41307 ifuncs.
41308 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41309 elf_machine_lazy_rel): Likewise.
41310 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41311 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41312 elf_machine_lazy_rel): Likewise.
41313 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41314 dl_hwcap via passed in argument.
41315 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41316 Likewise.
41317
5a31b283
AK
413182011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41319
41320 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41321
069e52f8
RM
413222011-06-06 Roland McGrath <roland@hack.frob.com>
41323
41324 [BZ #12849]
41325 * manual/fdl-1.1.texi: New file, verbatim from:
41326 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41327 * manual/lgpl-2.1.texi: New file, verbatim from:
41328 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41329 * manual/Makefile (licenses): New variable, list those new file names.
41330 (texis): Use it.
41331 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41332
41333 * manual/fdl.texi: File removed.
41334 * manual/lesser.texi: File removed.
41335 * manual/libc.texinfo (Copying, Documentation License):
41336 Use new @include file names, put @appendix directive before @include.
41337
f16846a5
JJ
413382011-06-04 Jakub Jelinek <jakub@redhat.com>
41339
41340 [BZ #12841]
41341 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41342 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41343 (mq_open): Add __NTH.
41344
3d29045b
L
413452011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41346
41347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41348 Assume Intel Core i3/i5/i7 processor if AVX is available.
41349
8c297311
UD
413502011-05-31 Ulrich Drepper <drepper@gmail.com>
41351
41352 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41353 typo.
41354
c8fc0c91
UD
413552011-05-31 Andreas Schwab <schwab@redhat.com>
41356
41357 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41358 memory. Use alloca_account. Fix memory leak when retrying.
41359
5b27a807
UD
413602011-05-31 Ulrich Drepper <drepper@gmail.com>
41361
356f8bc6
UD
41362 * version.h (RELEASE): Bump for 2.14 release.
41363 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41364
5b27a807
UD
41365 * config.make.in (RANLIB): Remove entry.
41366
01f16ab0
UD
413672011-05-30 Ulrich Drepper <drepper@gmail.com>
41368
41fce8bd
UD
41369 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41370 (libc.pot): Work around missing support for .ksh extension in xgettext.
41371
4769ae77
UD
41372 [BZ #12684]
41373 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41374 if both request failed.
41375 (send_dg): In case of server errors clear resplen or *resplen2.
41376
6b1e7d19
UD
41377 [BZ #12454]
41378 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41379 when there are multiple maps.
41380 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41381 (_dl_fini): Remove test here.
41382
01f16ab0
UD
41383 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41384
b1ebd700
UD
413852011-05-29 Ulrich Drepper <drepper@gmail.com>
41386
7ae22829
UD
41387 [BZ #12350]
41388 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41389 bit from old_res_options.
41390 (gaih_inet): Likewise.
41391
553149f6 41392 [BZ #11099]
18a84741 41393 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
41394 as signed.
41395
652ffab1
UD
41396 * resolv/res_init.c (res_setoptions): Make the code more compact.
41397
16985fd0
UD
41398 [BZ #11558]
41399 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41400 set RES_USEVC.
41401
0464f746
UD
41402 [BZ #11634]
41403 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41404
7d17596c
UD
41405 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41406
cf6bbbd7
UD
41407 [BZ #11781]
41408 * malloc/malloc.h: Declare malloc hook variables as volatile.
41409
13f1ab36
UD
41410 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41411 in last patch.
41412
b1ebd700
UD
41413 [BZ #11799]
41414 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 41415 raise in the comment.
80e2212d
UD
41416 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41417 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41418 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 41419
ce67228d
UD
414202011-05-28 Ulrich Drepper <drepper@gmail.com>
41421
8887a920
UD
41422 [BZ #12811]
41423 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41424 grow the buffers more if it already has to be sufficient.
41425 (build_wcs_upper_buffer): Likewise.
41426 * posix/regexec.c (check_matching): Likewise.
41427 (clean_state_log_if_needed): Likewise.
41428 (extend_buffers): Don't enlarge buffers beyond size of the input
41429 buffer.
41430 Patches mostly by Emil Wojak <emil@wojak.eu>.
41431 * posix/bug-regex32.c: New file.
41432 * posix/Makefile (tests): Add bug-regex32.
41433
4f031072
UD
41434 * locale/findlocale.c (_nl_find_locale): Return right away if
41435 _nl_explode_name failed.
41436 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41437
d0478f0c
UD
41438 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41439
de81b246
UD
41440 * debug/xtrace.sh: Unify messages.
41441 * malloc/memusage.sh: Likewise.
41442
c738465a
UD
41443 [BZ #12813]
41444 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41445 time symbol from vDSO. Substitute with vsyscall if not available.
41446 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41447 __vdso_time.
41448
f1f929d7
UD
41449 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41450 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41451 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41452 Add sendmmsg and internal_sendmmsg.
41453 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41454 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41455 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41456
ce67228d
UD
41457 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41458 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41459 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41460
e57420c6
UD
414612011-05-27 Ulrich Drepper <drepper@gmail.com>
41462
a8509ca5
UD
41463 [BZ #12813]
41464 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41465 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41466 available.
41467 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41468 __vdso_getcpu.
41469
e57420c6
UD
41470 [BZ #12814]
41471 * iconvdata/Makefile (tests): Add bug-iconv9.
41472 * iconvdata/bug-iconv9.c: New file.
41473
4d07db15
AS
414742011-05-27 Andreas Schwab <schwab@redhat.com>
41475
41476 [BZ #12814]
41477 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41478
ea486f69
JJ
414792011-05-25 Jakub Jelinek <jakub@redhat.com>
41480
41481 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41482 (struct user_regs_struct): Change intcs field back to cs.
41483
6f038433
UD
414842011-05-25 Ulrich Drepper <drepper@gmail.com>
41485
41486 * po/ja.po: Update from translation team.
41487
67f86a25
UD
414882011-05-23 Ulrich Drepper <drepper@gmail.com>
41489
41490 [BZ #12795]
41491 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41492 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41493
def7fbd6
AS
414942011-05-20 Andreas Schwab <schwab@redhat.com>
41495
41496 * stdlib/longlong.h: Update from GCC.
41497
f50ef8f1
AS
414982011-05-23 Andreas Schwab <schwab@redhat.com>
41499
41500 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41501 parameter name.
41502 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41503 Add parameter name.
41504 (__sysconf): Pass it down.
41505
de7ce8f1
UD
415062011-05-22 Ulrich Drepper <drepper@gmail.com>
41507
f2962a71
UD
41508 [BZ #12671]
41509 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41510 some situations.
41511 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41512 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41513 add in in __libc_use_alloca calls. Adjust callers.
41514 (glob): Use malloc in some situations.
41515
de7ce8f1
UD
41516 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41517 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41518 pltexit.
41519
aec84f53
UD
415202011-05-21 Ulrich Drepper <drepper@gmail.com>
41521
05bb4a68
UD
41522 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41523 and CLOCK_BOOTTIME_ALARM.
41524
7ea72f99
UD
41525 [BZ #12782]
41526 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41527 is returned.
41528
7e4afad5
UD
41529 * string/_strerror.c (__strerror_r): Print negative errors as signed
41530 numbers.
41531
8e211fec
UD
41532 [BZ #12777]
41533 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41534 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41535 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41536
f7d82dc9
UD
41537 * configure.in: Fix typo in redirection and correct removal of test
41538 files in two cases.
41539
cc9e536d
UD
41540 [BZ #12788]
41541 * locale/setlocale.c (new_composite_name): Fix test to check for
41542 identical name of all categories.
41543
aec84f53
UD
41544 [BZ #12792]
41545 * libio/filedoalloc.c (local_isatty): New function.
41546 (_IO_file_doallocate): Use local_isatty.
41547 * stdio-common/perror.c (perror): In case a new stream is used
41548 forward the stream error.
41549 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41550 error flag.
41551
78e64fdc
RT
415522011-05-20 Ulrich Drepper <drepper@gmail.com>
41553
34a9094f
UD
41554 [BZ #11869]
41555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41556 alloca.
41557 * include/alloca.h (extend_alloca_account): Define.
41558
78e64fdc
RT
41559 [BZ #11857]
41560 * posix/regex.h: Fix comments with documentation of user-accessible
41561 fields after compilation and describe correct free'ing of pattern
41562 after re_compile_pattern.
41563 Patch by Reuben Thomas <rrt@sc3d.org>.
41564
457bddfc
RA
415652011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41566
41567 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41568 and -mno-altivec to prevent the compiler from using Altivec and/or
41569 VSX instructions when the corresponding registers are not available.
41570
a4527b51
AS
415712011-05-19 Andreas Schwab <schwab@redhat.com>
41572
41573 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41574
ed690b2f
UD
415752011-05-19 Ulrich Drepper <drepper@gmail.com>
41576
41577 * libio/freopen.c (freopen): Use __dup2, not dup2.
41578 * libio/freopen64.c (freopen64): Likewise.
41579
8db73634
L
415802011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41581
41582 [BZ #12775]
41583 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41584 * math/Makefile (tests): Add test-powl.
41585 (CFLAGS-test-powl.c): Define.
41586 * math/test-powl.c: New file.
41587
0a197a9d
L
415882011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41589
41590 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41591
ee30c380
UD
415922011-05-17 Ulrich Drepper <drepper@gmail.com>
41593
41594 [BZ #11837]
41595 * iconvdata/gb18030.c: Update to GB18020-2005.
41596
6ce75379
UD
415972011-05-16 Ulrich Drepper <drepper@gmail.com>
41598
a4b89fd8
AR
41599 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41600 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41601 Patch by Aharon Robbins <arnold@skeeve.com>.
41602
ea389b12
UD
41603 [BZ #11892]
41604 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41605 on the stack.
41606
68a3f91f
UD
41607 [BZ #11895]
41608 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41609 through underflows.
41610
15cc7dd1
UD
41611 [BZ #12766]
41612 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41613 point to strings before performing equality test for error_one_per_line
41614 mode.
41615
f3799213
UD
41616 [BZ #11697]
41617 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41618
d79a9c94
UD
41619 [BZ #11820]
41620 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41621 (struct user_fpregs_struct): Avoid __uint*_t types.
41622
56e5eb46
UD
41623 [BZ #6420]
41624 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41625 symbol info. Use it instead of calling _dl_addr locally.
41626 (lock_and_info): New function.
41627 (tr_freehook): Call lock_and_info and pass symbol info as additional
41628 parameter to tr_where.
41629 (tr_mallochook): Likewise.
41630 (tr_reallochook): Likewise.
41631 (tr_memalignhook): Likewise.
41632
6ce75379
UD
41633 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41634 used and couldn't be at all thread-safe.
41635
f8a3b5bf
UD
416362011-05-15 Ulrich Drepper <drepper@gmail.com>
41637
94b7cc37
UD
41638 * libio/freopen.c (freopen): Don't close old file descriptor
41639 before the new one is opened. Instead dup the new file descriptor
41640 to the old one after the new stream is created.
41641 * libio/freopen64.c (freopen64): Likewise.
41642 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41643 * libio/fileops.c (_IO_new_file_close_it): Handle new
41644 _IO_FLAGS2_NOCLOSE flag.
41645 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41646 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41647 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41648 _IO_FLAGS2_NOCLOSE flag.
41649 * include/unistd.h: Add hidden_proto for dup3.
41650 Define __have_dup3.
41651 * io/dup3.c: Define hidden symbol.
41652 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41653
bd25564e
UD
41654 [BZ #7101]
41655 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41656 when an incomplete long option is used.
41657 * posix/tst-getopt_long1.c: New file.
41658 * posix/Makefile (tests): Add tst-getopt_long1.
41659
c84cfef4
UD
41660 [BZ #10138]
41661 * scripts/config.guess: Update from autoconf-2.68.
41662 * scripts/config.sub: Likewise.
41663
3b85df27
UD
41664 [BZ #10157]
41665 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41666 tests into ...
41667 (has_cpuclock): ...this. New function.
41668 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41669 macro here based on has_cpuclock code.
41670
15a856b1
UD
41671 [BZ #10149]
41672 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41673 First byte (not low byte) is now always NUL.
41674 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41675
05f399e6
UD
41676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41677 Use non-cancelable interfaces.
41678
10a52685 41679 [BZ #9809]
94ecc67d
UD
41680 * locale/iso-639.def: Add entry for Sorani.
41681
f8a3b5bf
UD
41682 [BZ #11901]
41683 * include/stdlib.h: Move include protection to the right place.
41684 Define abort_msg_s. Declare __abort_msg with it.
41685 * stdlib/abort.c (__abort_msg): Adjust type.
41686 * assert/assert.c (__assert_fail_base): New function. Majority
41687 of code from __assert_fail. Allocate memory for __abort_msg with
41688 mmap.
41689 (__assert_fail): Now call __assert_fail_base.
41690 * assert/assert-perr.c: Remove bulk of implementation. Use
41691 __assert_fail_base.
41692 * include/assert.hL Declare __assert_fail_base.
41693 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41694 mmap.
41695 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41696
1af4e298
UD
416972011-05-14 Ulrich Drepper <drepper@gmail.com>
41698
f8a3b5bf 41699 [BZ #11952]
d26dfc60
MG
41700 [BZ #12453]
41701 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41702 until all modules are registered in the DTV.
41703 * elf/Makefile: Add rules to build and run tst-tls19.
41704 * elf/tst-tls19.c: New file.
41705 * elf/tst-tls19mod1.c: New file.
41706 * elf/tst-tls19mod2.c: New file.
41707 * elf/tst-tls19mod3.c: New file.
41708 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41709
2fc54d6f
UD
41710 [BZ #12083]
41711 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41712 correctly.
41713
98d76b46
UD
41714 [BZ #12601]
41715 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41716 two-byte sequence errors.
41717 * iconvdata/Makefile (tests): Add bug-iconv8.
41718 * iconvdata/bug-iconv8.c: New file.
41719
da3c19ef
UD
41720 [BZ #12626]
41721 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41722 buf2 definition.
41723
ca408c15
UD
41724 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41725
d6f67f7d
UD
41726 [BZ #12432]
41727 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41728 (dummy_getcfa): New function.
41729 (init): Get _Unwind_GetCFA address, use dummy if not found.
41730 (backtrace_helper): In recursion check, also check whether CFA changes.
41731 (__backtrace): Completely initialize arg.
41732
1af4e298 41733 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41734 storing incomplete byte sequence in state object. Avoid testing for
41735 guaranteed too small input if we know there is enough data available.
1af4e298 41736
da62f81b
AS
417372011-05-11 Andreas Schwab <schwab@redhat.com>
41738
41739 * Makeconfig (+link-pie): Indent.
41740 * Rules (binaries-pie): Define if $(have-fpie) and
41741 $(build-shared).
41742 (binaries-shared): Also filter out $(binaries-pie).
41743 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41744 * nscd/Makefile (others-pie): Add nscd.
41745 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41746 ($(objpfx)nscd): Remove command override.
41747 * login/Makefile (others-pie): Add pt_chown.
41748 ($(objpfx)pt_chown): Remove command override.
41749 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41750 remove command overrides.
41751
fcabc0f8
UD
417522011-05-13 Ulrich Drepper <drepper@gmail.com>
41753
20030ae6
UD
41754 * libio/tst_putwc.c: Fix error messages.
41755
fcabc0f8
UD
41756 [BZ #12724]
41757 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41758 currently writing and seek to current position when not.
41759 * libio/Makefile (tests): Add bug-fclose1.
41760 * libio/bug-fclose1.c: New file.
41761
320a5dc0
PB
417622011-05-12 Ulrich Drepper <drepper@gmail.com>
41763
41764 [BZ #12511]
41765 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41766 don't set DF_1_NODELETE here.
41767 (do_lookup_x): When entering new entry test for copy relocation
41768 and if necessary set DF_1_NODELETE flag.
41769 * elf/tst-unique4.cc: New file.
41770 * elf/tst-unique4.h: New file.
41771 * elf/tst-unique4lib.cc: New file.
41772 * elf/Makefile: Add rules to build and run tst-unique4.
41773 Patch by Piotr Bury <pbury@goahead.com>.
41774
22836f52
UD
417752011-05-11 Ulrich Drepper <drepper@gmail.com>
41776
f574184a
UD
41777 [BZ #12052]
41778 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41779
e1fb097f
UD
41780 [BZ #12625]
41781 * misc/mntent_r.c (addmntent): Flush the stream after the output
41782
22836f52
UD
41783 [BZ #12393]
41784 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41785 (is_trusted_path_normalize): Skip initial colon. Append slash
41786 to empty buffer. Duplicate is_trusted_path code but allow
41787 constructed patch to be prefix.
41788 (is_dst): Allow $ORIGIN followed by /.
41789 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41790 Correct testing of result of is_trusted_path_normalize
41791 (decompose_rpath): Fix warning.
41792
7b3b0b2a
UD
417932011-05-10 Ulrich Drepper <drepper@gmail.com>
41794
41795 [BZ #11257]
41796 * grp/initgroups.c (internal_getgrouplist): When we found the service
41797 list through the initgroups entry in nsswitch.conf do not always
41798 continue on a successful lookup. Don't always use the
eac80ce2 41799 __nss_group_database value if it is set.
7b3b0b2a
UD
41800 * nss/nsswitch.conf (initgroups): Change action for successful db
41801 lookup to continue for compatibility.
41802
2a81eaa5
UD
418032011-05-09 Ulrich Drepper <drepper@gmail.com>
41804
be97a69e
UD
41805 [BZ #11532]
41806 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41807 and CP774 modules.
41808 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41809 and CP774 modules.
41810 * iconvdata/tst-tables.sh: Likewise.
41811 * iconvdata/cp770.c: New file.
41812 * iconvdata/cp771.c: New file.
41813 * iconvdata/cp772.c: New file.
41814 * iconvdata/cp773.c: New file.
41815 * iconvdata/cp774.c: New file.
41816 * iconvdata/testdata/CP770: New file.
41817 * iconvdata/testdata/CP770..UTF8: New file.
41818 * iconvdata/testdata/CP771: New file.
41819 * iconvdata/testdata/CP771..UTF8: New file.
41820 * iconvdata/testdata/CP772: New file.
41821 * iconvdata/testdata/CP772..UTF8: New file.
41822 * iconvdata/testdata/CP773: New file.
41823 * iconvdata/testdata/CP773..UTF8: New file.
41824 * iconvdata/testdata/CP774: New file.
41825 * iconvdata/testdata/CP774..UTF8: New file.
41826
41827 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41828 END CHARMAP line.
41829 * iconvdata/gen-8bit-gap.sh: Likewise.
41830 * iconvdata/gen-8bit.sh: Likewise.
41831
c1e9e399
UD
41832 * locale/iso-639.def: Add ary entry.
41833
24c55fb3 41834 [BZ #11258]
96b4b1b0
UD
41835 * locale/C-translit.h.in: Add U20A1 transliteration.
41836
bdc2f971
KB
41837 [BZ #12178]
41838 * locale/iso-639.def: Add wae entry.
41839 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41840
2952b117
UD
41841 [BZ #12545]
41842 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41843 for n.
41844
2a81eaa5
UD
41845 [BZ #12711]
41846 * locale/C-translit.h.in: Add entry for U20B9.
41847 Patch by pravin.d.s@gmail.com.
41848
28377d1b
UD
418492011-05-08 Ulrich Drepper <drepper@gmail.com>
41850
7fb90fb8
UD
41851 [BZ #12713]
41852 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41853 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41854 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41855 in rtld. Use *stat64.
7fb90fb8 41856 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41857 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41858 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41859 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41860 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41861 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41862 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41863 __fstatat64 macros.
7fb90fb8
UD
41864 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41865 * dirent/rewinddir.c: Add libc_hidden_def.
41866 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41867 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41868
28377d1b
UD
41869 * include/dirent.h (__alloc_dir): Add flags parameter.
41870 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41871 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41872 __alloc_dir.
41873 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41874 from fdopendir if O_CLOEXEC is already set.
41875
66bdbaa4
AM
418762011-03-15 Alan Modra <amodra@gmail.com>
41877
41878 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41879 l_tls_firstbyte_offset non-zero. Save padding offset in
41880 l_tls_firstbyte_offset for later use.
41881 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41882 freeing static tls block.
41883
95721191
JN
418842011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41885
41886 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41887 where #ifdef was intended. The intent is to prevent ARG_MAX from
41888 being defined by the kernel headers.
41889
f87dfb1f
UD
418902011-05-07 Ulrich Drepper <drepper@gmail.com>
41891
41892 [BZ #12734]
41893 * resolv/resolv.h: Define RES_NOTLDQUERY.
41894 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41895 no-tld-query and set RES_NOTLDQUERY.
41896 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41897 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41898 modern BIND to search name as TLD unless forbidden.
41899
47c3cd7a
UD
419002011-05-07 Petr Baudis <pasky@suse.cz>
41901 Ulrich Drepper <drepper@gmail.com>
41902
41903 [BZ #12393]
41904 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41905 (is_trusted_path): ...to here.
c1e9ea35 41906 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41907 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41908 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41909
8a35c912
PP
419102011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41911
41912 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41913 __BEGIN/__END_DECLS.
41914
acd41f47
UD
419152011-05-06 Ulrich Drepper <drepper@gmail.com>
41916
41917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41918 NSS_STATUS_NOTFOUND if no record was found.
41919
597df647
AS
419202011-05-05 Andreas Schwab <schwab@redhat.com>
41921
41922 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41923 (headers-not-in-tirpc): Remove rpc/netdb.h
41924 * resolv/netdb.h: Revert last change.
41925
b9af1301
PP
419262011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41927
41928 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41929 circular dependency between libgcc.a and libc.a.
41930
4e34d5f5
AS
419312011-05-05 Andreas Schwab <schwab@redhat.com>
41932
41933 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41934 * nis/Makefile: Don't install rpcsvc/*.
41935 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41936 instead of <rpc/types.h>.
41937 (MAXHOSTNAMELEN): Define.
41938
00ee369c
AS
419392011-05-03 Andreas Schwab <schwab@redhat.com>
41940
41941 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41942
0b592a30
MB
419432011-04-28 Maciej Babinski <mbabinski@google.com>
41944
41945 [BZ #12714]
41946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41947 gethostbyname4_r when IPv6 results are possible.
41948
6e04cbbe
UD
419492011-05-02 Ulrich Drepper <drepper@gmail.com>
41950
41951 [BZ #12723]
41952 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41953 _PC_PIPE_BUF handling.
41954
e4ecafe0
BH
419552011-04-30 Bruno Haible <bruno@clisp.org>
41956
41957 [BZ #12717]
41958 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41959 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41960 to 'int'.
41961 * inet/getnameinfo.c (getnameinfo): Likewise.
41962
125ee683
UD
419632011-04-29 Ulrich Drepper <drepper@gmail.com>
41964
41965 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41966 to groups setting in database lookup.
41967 * nss/nsswitch.conf: Add initgroups entry.
41968
b722481a
EB
419692011-04-22 Ulrich Drepper <drepper@gmail.com>
41970
41971 [BZ #12685]
41972 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41973 mode string.
41974 Patch by Eric Blake <eblake@redhat.com>.
41975
4df46dbd
L
419762011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41977
41978 * sunrpc/Makefile (need-export-routines): Add svc_run.
41979 (routines): Remove svc_run.
41980 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41981 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41982 * sunrpc/svc_run.c (svc_run): Likewise.
41983 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41984
e84142d2
UD
419852011-04-21 Ulrich Drepper <drepper@gmail.com>
41986
41987 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41988 problem in reallocation in last patch.
41989
877175d8
UD
419902011-04-20 Ulrich Drepper <drepper@gmail.com>
41991
41992 * sunrpc/Makefile: Move inclusion of Rules.
41993
ab8eed78
UD
419942011-04-19 Ulrich Drepper <drepper@gmail.com>
41995
41996 * nss/nss_files/files-initgroups.c: New file.
41997 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41998 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41999 _nss_files_initgroups_dyn.
42000
e3d8f584
RS
420012011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42002
42003 * elf/elf.h (R_ARM_IRELATIVE): Define.
42004
af190f45
UD
420052011-04-19 Ulrich Drepper <drepper@gmail.com>
42006
42007 * po/ru.po: Update from translation team.
42008
53cf59ef
UD
420092011-04-17 Ulrich Drepper <drepper@gmail.com>
42010
42011 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42012 dependencies.
42013
4c559bcd
MF
420142011-02-06 Mike Frysinger <vapier@gentoo.org>
42015
42016 [BZ #12653]
42017 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42018 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42019 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42020 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42021 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42022
4420675c
AS
420232011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42024
42025 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42026 differing bytes.
42027 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42028 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42029 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42030
75ea32ab
UD
420312011-04-17 Ulrich Drepper <drepper@gmail.com>
42032
42033 [BZ #12420]
42034 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42035 storing it.
42036 * stdlib/bug-getcontext.c: New file.
42037 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42038
27390476
AK
420392011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42040
42041 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42042 instructions into .machine "z9-109".
42043 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42044 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42045
10442705
AK
420462011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42047
42048 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42049 between environment variables and auxiliary vector.
42050
7b57bfe5
UD
420512011-04-16 Ulrich Drepper <drepper@gmail.com>
42052
42053 * Makefile: Add rules to build linkobj/libc.so.
42054 * include/libc-symbols.h: Define libc_hidden_nolink.
42055 * include/rpc/auth.h: Mark functions which are to be hidden.
42056 * include/rpc/auth_des.h: Likewise.
42057 * include/rpc/auth_unix.h: Likewise.
42058 * include/rpc/clnt.h: Likewise.
42059 * include/rpc/des_crypt.h: Likewise.
42060 * include/rpc/key_prot.h: Likewise.
42061 * include/rpc/pmap_clnt.h: Likewise.
42062 * include/rpc/pmap_prot.h: Likewise.
42063 * include/rpc/pmap_rmt.h: Likewise.
42064 * include/rpc/rpc_msg.h: Likewise.
42065 * include/rpc/svc.h: Likewise.
42066 * include/rpc/svc_auth.h: Likewise.
42067 * include/rpc/xdr.h: Likewise.
42068 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42069 * nss/Makefile: Likewise.
42070 * sunrpc/Makefile: Don't install headers. Build library with normal
42071 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42072 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42073 for the compat linking library. Remove use of INTDEF/INTUSE.
42074 * sunrpc/auth_none.c: Likewise.
42075 * sunrpc/auth_unix.c: Likewise.
42076 * sunrpc/authdes_prot.c: Likewise.
42077 * sunrpc/authuxprot.c: Likewise.
42078 * sunrpc/clnt_gen.c: Likewise.
42079 * sunrpc/clnt_perr.c: Likewise.
42080 * sunrpc/clnt_raw.c: Likewise.
42081 * sunrpc/clnt_simp.c: Likewise.
42082 * sunrpc/clnt_tcp.c: Likewise.
42083 * sunrpc/clnt_udp.c: Likewise.
42084 * sunrpc/clnt_unix.c: Likewise.
42085 * sunrpc/des_crypt.c: Likewise.
42086 * sunrpc/des_soft.c: Likewise.
42087 * sunrpc/get_myaddr.c: Likewise.
42088 * sunrpc/key_call.c: Likewise.
42089 * sunrpc/key_prot.c: Likewise.
42090 * sunrpc/netname.c: Likewise.
42091 * sunrpc/pm_getmaps.c: Likewise.
42092 * sunrpc/pm_getport.c: Likewise.
42093 * sunrpc/pmap_clnt.c: Likewise.
42094 * sunrpc/pmap_prot.c: Likewise.
42095 * sunrpc/pmap_prot2.c: Likewise.
42096 * sunrpc/pmap_rmt.c: Likewise.
42097 * sunrpc/publickey.c: Likewise.
42098 * sunrpc/rpc_cmsg.c: Likewise.
42099 * sunrpc/rpc_common.c: Likewise.
42100 * sunrpc/rpc_dtable.c: Likewise.
42101 * sunrpc/rpc_prot.c: Likewise.
42102 * sunrpc/rpc_thread.c: Likewise.
42103 * sunrpc/rtime.c: Likewise.
42104 * sunrpc/svc.c: Likewise.
42105 * sunrpc/svc_auth.c: Likewise.
42106 * sunrpc/svc_authux.c: Likewise.
42107 * sunrpc/svc_raw.c: Likewise.
42108 * sunrpc/svc_run.c: Likewise.
42109 * sunrpc/svc_simple.c: Likewise.
42110 * sunrpc/svc_tcp.c: Likewise.
42111 * sunrpc/svc_udp.c: Likewise.
42112 * sunrpc/svc_unix.c: Likewise.
42113 * sunrpc/svcauth_des.c: Likewise.
42114 * sunrpc/xcrypt.c: Likewise.
42115 * sunrpc/xdr.c: Likewise.
42116 * sunrpc/xdr_array.c: Likewise.
42117 * sunrpc/xdr_float.c: Likewise.
42118 * sunrpc/xdr_intXX_t.c: Likewise.
42119 * sunrpc/xdr_mem.c: Likewise.
42120 * sunrpc/xdr_rec.c: Likewise.
42121 * sunrpc/xdr_ref.c: Likewise.
42122 * sunrpc/xdr_sizeof.c: Likewise.
42123 * sunrpc/xdr_stdio.c: Likewise.
42124
e6c61494
UD
421252011-04-10 Ulrich Drepper <drepper@gmail.com>
42126
42127 [BZ #12650]
42128 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42129 * sysdeps/ia64/dl-tls.h: Likewise.
42130 * sysdeps/powerpc/dl-tls.h: Likewise.
42131 * sysdeps/s390/dl-tls.h: Likewise.
42132 * sysdeps/sh/dl-tls.h: Likewise.
42133 * sysdeps/sparc/dl-tls.h: Likewise.
42134 * sysdeps/x86_64/dl-tls.h: Likewise.
42135 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42136
34fe483e
AS
421372011-03-14 Andreas Schwab <schwab@redhat.com>
42138
42139 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42140 rpath element also skip the following colon.
42141 (expand_dynamic_string_token): Add is_path parameter and pass
42142 down to DL_DST_REQUIRED and _dl_dst_substitute.
42143 (decompose_rpath): Call expand_dynamic_string_token with
42144 non-zero is_path. Ignore empty rpaths.
42145 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42146 with zero is_path.
42147
f12a32e6
AS
421482011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42149
42150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42151 Make cancelable.
42152
38a7d692
UD
421532011-04-09 Ulrich Drepper <drepper@gmail.com>
42154
42155 [BZ #12655]
42156 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42157 Patch by Filipe David Manana <fdmanana@apache.org>.
42158
e451d22b
AS
421592011-04-07 Andreas Schwab <schwab@redhat.com>
42160
42161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42162 Maintain aligned stack.
42163 (CHECK_RSP): Remove unused macro.
42164
dedc7c7b
UD
421652011-04-03 Ulrich Drepper <drepper@gmail.com>
42166
42167 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42168 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42169
94521213
UD
421702011-04-02 Ulrich Drepper <drepper@gmail.com>
42171
42172 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42173
8cb700c0 42174 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 42175
0354e355
L
421762011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42177
42178 [BZ #12518]
42179 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42180 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42181 * sysdeps/x86_64/memmove.c: New file.
42182 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42183 (memcpy): Renamed to ...
42184 (__new_memcpy): This.
42185 (memcpy): Provide GLIBC_2_14 memcpy.
42186 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42187 (memcpy): Provide GLIBC_2_2_5 memcpy.
42188
8593482f
UD
421892011-04-01 Ulrich Drepper <drepper@gmail.com>
42190
42191 [BZ #12631]
42192 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42193
81a5726b
AS
421942011-03-30 Andreas Schwab <schwab@redhat.com>
42195
42196 * misc/syncfs.c: New file.
42197 * misc/Makefile (routines): Add syncfs.
42198 * posix/unistd.h: Declare syncfs.
42199 * sysdeps/unix/syscalls.list: Add syncfs.
42200
00e5419f
AS
422012011-04-01 Andreas Schwab <schwab@redhat.com>
42202
42203 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42204 open_by_handle_at.
42205 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42206 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42208 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42209 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42210 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42211 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42212
748876bf
UD
422132011-04-01 Ulrich Drepper <drepper@gmail.com>
42214
658e451d
UD
42215 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42216 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42217 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42219 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42221 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42222
748876bf
UD
42223 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42224 sync_file_range.c with -fexceptions.
42225 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42226 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42227 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42228 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42229 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42230 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42232 sync_file_range as cancellation point
42233 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42234 now a wrapper around __call_sync_file_range with cancellation handling.
42235 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42236 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42237 function name to __call_sync_file_range.
42238 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42239 Add call_sync_file_range.
748876bf 42240
6e63d5e1
AS
422412011-04-01 Andreas Schwab <schwab@redhat.com>
42242
42243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42244 bits/timex.h.
6e63d5e1 42245
46998f74
UD
422462011-04-01 Ulrich Drepper <drepper@gmail.com>
42247
4c1423ed
UD
42248 * iconv/iconv.h: Fix typo in comment.
42249 * io/fcntl.h: Likewise.
42250 * libio/stdio.h: Likewise.
42251 * posix/spawn.h: Likewise.
42252 * posix/unistd.h: Likewise.
42253 * stdlib/stdlib.h: Likewise.
42254 * time/time.h: Likewise.
42255 * wcsmbs/wchar.h: Likewise.
42256
158648c0
UD
42257 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42258 open_by_handle): Add.
42259 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42260 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42261 Augment a few comments.
42262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42263 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42267 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42268 open_by_handle.
42269
46998f74
UD
42270 * io/fcntl.h (AT_EMPTY_PATH): Define.
42271
83fe108b
UD
422722011-03-30 Ulrich Drepper <drepper@gmail.com>
42273
42274 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42275 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42276 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42277 to...
42278 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42279 * Versions.def: Add GLIBC_2.14.
42280 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42281 Export.
83fe108b 42282
bb242059
UD
422832011-03-22 Ulrich Drepper <drepper@gmail.com>
42284
42285 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42286 round counter.
42287 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42288
c97a1282
L
422892011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42290
42291 [BZ #12597]
42292 * string/test-strncmp.c (do_page_test): New function.
42293 (check2): Likewise.
42294 (test_main): Call check2.
42295 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42296
2a115601
UD
422972011-03-20 Ulrich Drepper <drepper@gmail.com>
42298
42299 [BZ #12587]
42300 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42301 Handle cache information in CPU leaf 4.
42302 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42303
8126d904
UD
423042011-03-18 Ulrich Drepper <drepper@gmail.com>
42305
042c49c6 42306 [BZ #12583]
8126d904
UD
42307 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42308 character representation.
42309 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42310
ccfe366e
RA
423112011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42312
42313 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42314 END(__isnan) to END(__isnanf) to match function entry point/label
42315 EALIGN(__isnanf,...).
42316
c6e13027
JJ
423172011-03-10 Jakub Jelinek <jakub@redhat.com>
42318
42319 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42320
33f85a3f
UD
423212011-03-10 Ulrich Drepper <drepper@gmail.com>
42322
028478fa
UD
42323 [BZ #12510]
42324 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42325 copy from the symbol referenced in the relocation to initialize the
42326 used variable.
42327 Patch by Piotr Bury <pbury@goahead.com>.
42328 * elf/Makefile: Add rules to build and tst-unique3.
42329 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42330 * elf/tst-unique3.cc: New file.
42331 * elf/tst-unique3.h: New file.
42332 * elf/tst-unique3lib.cc: New file.
42333 * elf/tst-unique3lib2.cc: New file.
42334
33f85a3f
UD
42335 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42336
03592fc7
MF
423372011-03-10 Mike Frysinger <vapier@gentoo.org>
42338
42339 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42340 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42341 to _start.
03592fc7 42342
6a5ee102
UD
423432011-03-06 Ulrich Drepper <drepper@gmail.com>
42344
42345 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42346 to-be-loaded object along a path to loader is ld.so.
42347
7e4ba49c
HJ
423482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42349 Ulrich Drepper <drepper@gmail.com>
42350
42351 * sysdeps/x86_64/memset.S: After aligning destination, code
42352 branches to different locations depending on the value of
42353 misalignment, when multiarch is enabled. Fix this.
42354
423552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42356
42357 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42358 Set _x86_64_preferred_memory_instruction for AMD processsors.
42359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42360 Set bit_Prefer_SSE_for_memop for AMD processors.
42361
13a804de
UD
423622011-03-04 Ulrich Drepper <drepper@gmail.com>
42363
42364 * libio/fmemopen.c (fmemopen): Optimize a bit.
42365
9d25c392
AS
423662011-03-03 Andreas Schwab <schwab@redhat.com>
42367
42368 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42369
a5543c6a
RM
423702011-03-03 Roland McGrath <roland@redhat.com>
42371
42372 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42373
012d35f7
DM
423742011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42375
7e4ba49c 42376 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
42377 __bzero_ultra1 instead of __memset_ultra1.
42378
4bff6e01
AS
423792011-02-23 Andreas Schwab <schwab@redhat.com>
42380 Ulrich Drepper <drepper@gmail.com>
42381
42382 [BZ #12509]
42383 * include/link.h (struct link_map): Add l_orig_initfini.
42384 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42385 returning unsuccessfully.
42386 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42387 close of a file loaded at startup, restore the original l_initfini
42388 list.
42389 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42390 list, store the pointer.
42391 * elf/Makefile ($(objpfx)noload-mem): New rule.
42392 (noload-ENV): Define.
42393 (tests): Add $(objpfx)noload-mem.
42394 * elf/noload.c: Include <memcheck.h>.
42395 (main): Call mtrace. Close all opened handles.
42396
f2092faf
AS
423972011-02-17 Andreas Schwab <schwab@redhat.com>
42398
42399 [BZ #12454]
42400 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42401 dependencies are missing.
42402
6c8a2e88
ST
424032011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42404
f2092faf 42405 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
42406 Hurd needs munmap.
42407 * sysdeps/mach/hurd/ifreq.h: New file.
42408
84a42118
PB
424092011-01-27 Petr Baudis <pasky@suse.cz>
42410 Ulrich Drepper <drepper@gmail.com>
42411
071f805e 42412 [BZ 12445]#
84a42118
PB
42413 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42414 to extend_alloca().
42415 * stdio-common/bug23.c: New file.
42416 * stdio-common/Makefile (tests): Add bug23.
42417
e23fe25b
AS
424182010-09-28 Andreas Schwab <schwab@redhat.com>
42419 Ulrich Drepper <drepper@gmail.com>
42420
42421 [BZ #12489]
42422 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42423 before performing relro protection. At old place add assertion
42424 to make sure nothing changed.
42425
d3f02e10
NS
424262011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42427 Glauber de Oliveira Costa <glommer@gmail.com>
42428
42429 * elf/elf.h: Add new ARM TLS relocs.
42430
d55fd7a5
RA
424312011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42432
42433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42434 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42435 cast from r3.
42436 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42437 'tests' variable.
42438 * sysdeps/wordsize-64/tst-writev.c: New file.
42439
2206397e
RA
424402011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42441
42442 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42443 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42444 insns in _dl_start to prevent a TOC reference before relocs are
42445 resolved.
42446
e9433893
UD
424472011-02-15 Ulrich Drepper <drepper@gmail.com>
42448
42449 [BZ #12469]
42450 * Makeconfig: Remove RANLIB definition.
42451 * Makerules: Don't use RANLIB.
42452 * aclocal.m4: Remove ranlib test.
42453 * configure.in: No need to check for ranlib.
42454 * elf/rtld-Rules: Don't use RANLIB.
42455
f75286c6
ST
424562011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42457
8e31c82d
ST
42458 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42459 protection macro.
42460 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42461 inclusion protection macro.
42462
f75286c6
ST
42463 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42464 SIGRTMIN and SIGRTMAX and print information in that case only when
42465 SIGRTMIN is defined.
42466
c1d0e639
JJ
424672011-02-11 Jakub Jelinek <jakub@redhat.com>
42468
42469 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42470 arginfo fn returning -1.
42471
42472 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42473 and thousands string is zero terminated.
42474
edf9294e
AS
424752011-02-03 Andreas Schwab <schwab@redhat.com>
42476
42477 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42478 sysdeps/unix/sysv/linux/bits/socket.h.
42479
2b7e92df
ST
424802011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42481
edf9294e
AS
42482 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42483 (__CPU_COUNT): Remove old macros.
42484 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42485 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42486 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
42487 (__sched_cpualloc, __sched_cpufree): Add declarations.
42488
a4c7ea7b
UD
424892011-02-05 Ulrich Drepper <drepper@gmail.com>
42490
42491 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42492 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42493 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42494 (readdhstai): Return value of addhstaiX call.
42495 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42496 (addgrbyX): Return value returned by cache_addgr.
42497 (readdgrbyname): Return value returned by addgrbyX.
42498 (readdgrbygid): Likewise.
42499 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42500 (addpwbyX): Return value returned by cache_addpw.
42501 (readdpwbyname): Return value returned by addhstbyX.
42502 (readdpwbyuid): Likewise.
42503 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42504 (addservbyX): Return value returned by cache_addserv.
42505 (readdservbyname): Return value returned by addservbyX:
42506 (readdservbyport): Likewise.
42507 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42508 (addhstbyX): Return value returned by cache_addhst.
42509 (readdhstbyname): Return value returned by addhstbyX.
42510 (readdhstbyaddr): Likewise.
42511 (readdhstbynamev6): Likewise.
42512 (readdhstbyaddrv6): Likewise.
42513 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42514 (readdinitgroups): Return value returned by addinitgroupsX.
42515 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42516 (prune_cache): Keep track of timeout value of re-added entries.
42517 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42518 * nscd/nscd.h: Adjust prototypes of readd* functions.
42519
a0bf67cc
RM
425202011-02-04 Roland McGrath <roland@redhat.com>
42521
42522 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42523 (nis_stats): Likewise.
42524 * nis/nis_modify.c (nis_modify): Likewise.
42525 * nis/nis_remove.c (nis_remove): Likewise.
42526 * nis/nis_add.c (nis_add): Likewise.
42527
42528 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42529
42530 * posix/fnmatch_loop.c: Add some consts.
42531
42532 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42533
435b95eb
L
425342011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42535
42536 [BZ #12460]
42537 * config.make.in (config-cflags-novzeroupper): Define.
42538 * configure.in: Substitute libc_cv_cc_novzeroupper.
42539 * elf/Makefile (AVX-CFLAGS): Define.
42540 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42541 (CFLAGS-tst-auditmod4a.c): Likewise.
42542 (CFLAGS-tst-auditmod4b.c): Likewise.
42543 (CFLAGS-tst-auditmod6b.c): Likewise.
42544 (CFLAGS-tst-auditmod6c.c): Likewise.
42545 (CFLAGS-tst-auditmod7b.c): Likewise.
42546 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42547
8517b15e
UD
425482011-02-02 Ulrich Drepper <drepper@gmail.com>
42549
42550 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42551 function to the callback.
42552 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42553
10a656fe
AS
425542011-02-02 Andreas Schwab <schwab@redhat.com>
42555
42556 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42557 of errno.
42558
968dad0a
UD
425592011-01-19 Ulrich Drepper <drepper@gmail.com>
42560
9f94d2ea 42561 [BZ #11724]
968dad0a
UD
42562 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42563 of constructors.
42564 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42565 of destructors.
42566 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42567
42568 [BZ #11724]
42569 * elf/Makefile: Add rules to build and run new test.
42570 * elf/tst-initorder.c: New file.
42571 * elf/tst-initorder.exp: New file.
42572 * elf/tst-initordera1.c: New file.
42573 * elf/tst-initordera2.c: New file.
42574 * elf/tst-initordera3.c: New file.
42575 * elf/tst-initordera4.c: New file.
42576 * elf/tst-initorderb1.c: New file.
42577 * elf/tst-initorderb2.c: New file.
42578 * elf/tst-order-a1.c: New file.
42579 * elf/tst-order-a2.c: New file.
42580 * elf/tst-order-a3.c: New file.
42581 * elf/tst-order-a4.c: New file.
42582 * elf/tst-order-b1.c: New file.
42583 * elf/tst-order-b2.c: New file.
42584 * elf/tst-order-main.c: New file.
42585 New test case by George Gensure <werkt0@gmail.com>.
42586
86e92359
UD
425872010-10-01 Andreas Schwab <schwab@redhat.com>
42588
42589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42590 decoding ACE if AI_CANONIDN.
42591
5d5732b0
UD
425922011-01-18 Ulrich Drepper <drepper@gmail.com>
42593
42594 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42595
a77e8cbc
UD
425962011-01-17 Ulrich Drepper <drepper@gmail.com>
42597
6392473f
UD
42598 * version.h (RELEASE): Bump for 2.13 release.
42599 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42600
620a0529
UD
42601 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42602
18ba70a5
UD
42603 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42604 MADV_NOHUGEPAGE.
32465c3e
UD
42605 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42606 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42607 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42608 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42609 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42610 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42611
c0dafcf1
UD
42612 * posix/getconf.c: Update copyright year.
42613 * catgets/gencat.c: Likewise.
42614 * csu/version.c: Likewise.
42615 * debug/catchsegv.sh: Likewise.
42616 * debug/xtrace.sh: Likewise.
42617 * elf/ldconfig.c: Likewise.
42618 * elf/ldd.bash.in: Likewise.
42619 * elf/sprof.c (print_version): Likewise.
42620 * iconv/iconv_prog.c: Likewise.
42621 * iconv/iconvconfig.c: Likewise.
42622 * locale/programs/locale.c: Likewise.
42623 * locale/programs/localedef.c: Likewise.
42624 * malloc/memusage.sh: Likewise.
42625 * malloc/mtrace.pl: Likewise.
42626 * nscd/nscd.c (print_version): Likewise.
42627 * nss/getent.c: Likewise.
42628
a77e8cbc
UD
42629 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42630 PF_CAIF, and PF_ALG.
42631 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42632
77e8bddf
AS
426332011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42634
1f20b93a
AS
42635 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42636 (modules-names): Use them.
42637 (ifunc-test-modules, ifunc-pie-tests): Define.
42638 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42639 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42640 (test-extras): Likewise.
42641 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42642 $(compile-command.c).
42643 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42644 (all-built-dso): Define.
42645 (check-textrel.out, check-execstack.out): Depend on it.
42646
77e8bddf
AS
42647 * configure.in: Don't override --enable-multi-arch.
42648
bc425b33
UD
426492011-01-15 Ulrich Drepper <drepper@gmail.com>
42650
42651 [BZ #6812]
42652 * nscd/hstcache.c (tryagain): Define.
42653 (cache_addhst): Return tryagain not notfound for temporary errors.
42654 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42655 failed.
42656
794c3ad3
UD
426572011-01-14 Ulrich Drepper <drepper@gmail.com>
42658
70181fdd
UD
42659 [BZ #10563]
42660 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42661 to make the syscall.
42662 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42663
794c3ad3
UD
42664 [BZ #12378]
42665 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42666 and fall back to matching as normal character if the string ends before
42667 the matching ']' is found. This is what POSIX requires.
42668 * posix/testfnm.c: Adjust test result.
42669 * posix/globtest.sh: Adjust test result. Add new test.
42670 * posix/tst-fnmatch.input: Likewise.
42671 * posix/tst-fnmatch2.c: Add new test.
42672
68dc9497
AS
426732010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42674
42675 * elf/Makefile (check-execstack): Revert last change. Depend on
42676 check-execstack.h.
42677 (check-execstack.h): New target.
42678 (generated): Add check-execstack.h.
42679 * elf/check-execstack.c: Include "check-execstack.h".
42680 (main): Revert last change.
42681 (handle_file): Return zero if GNU_STACK is absent and
42682 DEFAULT_STACK_PERMS doesn't include PF_X.
42683
451f001b
UD
426842011-01-13 Ulrich Drepper <drepper@gmail.com>
42685
cfa28e56
UD
42686 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42687 in child fails because the descriptor is already closed.
8cf8ce17
UD
42688 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42689 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42690 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42691
1086d70d
UD
42692 [BZ #12397]
42693 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42694 syscall.
42695
451f001b
UD
42696 [BZ #10484]
42697 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42698 temporary buffer used to handle multi lookups locally.
a85b5cb4 42699 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42700
08769175
UD
427012011-01-12 Ulrich Drepper <drepper@gmail.com>
42702
42703 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42704 loader is ld.so.
42705
5e49c52e
UD
427062011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42707
42708 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42709 alignment for SSE2.
42710
60522a5f
UD
427112011-01-12 Ulrich Drepper <drepper@gmail.com>
42712
42713 [BZ #12394]
42714 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42715 characters. When rounding increased number of integer digits recompute
42716 number of groups.
42717 * stdio-common/tst-grouping.c: New file.
42718 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42719
f257bbd7
UD
427202011-01-09 Ulrich Drepper <drepper@gmail.com>
42721
42722 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42723 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42724
42725 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42726 void.
42727 * bits/select.h: Likewise.
42728
fa9c15cb
UD
427292011-01-08 Ulrich Drepper <drepper@gmail.com>
42730
42731 * po/ja.po: Update from translation team.
42732
16c2895f
DM
427332011-01-04 David S. Miller <davem@sunset.davemloft.net>
42734
42735 [BZ #11155]
42736 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42737 implementation just like for lxstat, fxstatat, et al.
42738
2543fef2
JM
427392010-12-27 Jim Meyering <meyering@redhat.com>
42740
42741 [BZ #12348]
42742 * posix/regexec.c (build_trtable): Return failure indication upon
42743 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42744
98727dbe
UD
427452010-12-25 Ulrich Drepper <drepper@gmail.com>
42746
5bd6dc5c
UD
42747 [BZ #12201]
42748 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42749 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42750 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42751 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42752
97983464
UD
42753 [BZ #12207]
42754 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42755
98727dbe
UD
42756 [BZ #12204]
42757 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42758 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42759
4a531bb0
L
427602010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42761
42762 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42763 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42764 script has SORT_BY_INIT_PRIORITY.
42765 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42766 NO_CTORS_DTORS_SECTIONS is defined.
42767 * elf/soinit.c: Likewise.
42768 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42769 NO_CTORS_DTORS_SECTIONS is defined.
42770 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42771 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42772 * sysdeps/sh/init-first.c: Likewise.
42773 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42774
07eb4b71
UD
427752010-12-24 Ulrich Drepper <drepper@gmail.com>
42776
42777 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42778 always use the slow path.
42779
30950a5f
RA
427802010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42781
42782 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42783 similar rule which adds the sysdep directories to the header search in
42784 order to pick up the correct platform stackinfo.h.
42785 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42786 perform test if it is, otherwise return successfully without testing.
42787 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42788 DEFAULT_STACK_PERMS define in stackinfo.h.
42789 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42790 defined in stackinfo.h.
42791 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42792 DEFAULT_STACK_PERMS defined in stackinfo.h.
42793 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42794 * sysdeps/ia64/stackinfo.h: Likewise.
42795 * sysdeps/s390/stackinfo.h: Likewise.
42796 * sysdeps/sh/stackinfo.h: Likewise.
42797 * sysdeps/sparc/stackinfo.h: Likewise.
42798 * sysdeps/x86_64/stackinfo.h: Likewise.
42799 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42800 PF_X for powerpc64. Retain PF_X for powerpc32.
42801
db753e2c
UD
428022010-12-19 Ulrich Drepper <drepper@gmail.com>
42803
14b697f7
UD
42804 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42805 accurately.
db753e2c
UD
42806 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42807 GETDENTS_64BIT_ALIGNED.
42808
28300719
UD
428092010-12-14 Ulrich Drepper <dreper@gmail.com>
42810
14b697f7 42811 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42812
4f197237
AS
428132010-12-10 Andreas Schwab <schwab@redhat.com>
42814
dbb0472f
AS
42815 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42816 _GNU_SOURCE.
42817
4f197237
AS
42818 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42819 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42820 Remove __restrict.
42821 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42822 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42823
fb88ac72
UD
428242010-12-09 Ulrich Drepper <drepper@gmail.com>
42825
42826 [BZ #11655]
42827 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42828 are initialized.
42829
42acbb92
JJ
428302010-12-09 Jakub Jelinek <jakub@redhat.com>
42831
42832 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42833
c038d98d
UD
428342010-12-03 Ulrich Drepper <drepper@gmail.com>
42835
42836 * po/it.po: Update from translation team.
42837
3a4a2499
L
428382010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42839
42840 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42841 unused codes.
42842
1e24cf6e
UD
428432010-11-30 Ulrich Drepper <drepper@gmail.com>
42844
42845 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42846
a7690819
AS
428472010-11-24 Andreas Schwab <schwab@redhat.com>
42848
42849 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42850 specially.
42851 (gaih_getanswer_slice): Likewise.
42852
3bf8d1b1
JJ
428532010-10-20 Jakub Jelinek <jakub@redhat.com>
42854
42855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42856
6db52fbb
PB
428572010-05-31 Petr Baudis <pasky@suse.cz>
42858
42859 [BZ #11149]
42860 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42861 silently even in the chroot mode.
42862
eaca7569
UD
428632010-11-22 Ulrich Drepper <drepper@gmail.com>
42864
42865 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42866 last patch a bit. Pretty printing
42867
3056dcdb
UD
428682010-05-31 Petr Baudis <pasky@suse.cz>
42869
42870 [BZ #10085]
42871 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42872 initialization of skip_initgroups_dyn.
42873
cf7c9078
UD
428742010-11-19 Ulrich Drepper <drepper@gmail.com>
42875
42876 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42877 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42878
a1fb5e3e
UD
428792010-11-16 Ulrich Drepper <drepper@gmail.com>
42880
42881 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42882
3540d66b
AS
428832010-11-11 Andreas Schwab <schwab@redhat.com>
42884
42885 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42886 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42887 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42888 ($(objpfx)tst-fnmatch-mem): New rule.
42889 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42890 * posix/tst-fnmatch.c (main): Call mtrace.
42891
13b69574
L
428922010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42893
42894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42895 Support Intel processor model 6 and model 0x2c.
42896
da93d214
LM
428972010-11-10 Luis Machado <luisgpm@br.ibm.com>
42898
42899 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42900 signed comparison.
42901
8ca52c6e
L
429022010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42903
42904 [BZ #12205]
42905 * string/test-strncasecmp.c (check_result): New function.
42906 (do_one_test): Use it.
42907 (check1): New function.
42908 (test_main): Use it.
42909 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42910 Support strcasecmp and strncasecmp.
42911
69da074d
UD
429122010-11-08 Ulrich Drepper <drepper@gmail.com>
42913
42914 [BZ #12194]
42915 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42916 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42917
ff02d528
L
429182010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42919
42920 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42921 IFUNC support.
42922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42923 memset-x86-64.
42924 * sysdeps/x86_64/multiarch/bzero.S: New file.
42925 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42926 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42927 * sysdeps/x86_64/multiarch/memset.S: New file.
42928 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42930 Set bit_Prefer_SSE_for_memop for Intel processors.
42931 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42932 Define.
42933 (index_Prefer_SSE_for_memop): Define.
42934 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42935
344d0b54
LM
429362010-11-04 Luis Machado <luisgpm@br.ibm.com>
42937
42938 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42939 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42940
c0dde15b
UD
429412010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42942
42943 [BZ #12191]
42944 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42945 (__x86_64_raw_data_cache_size_half): Likewise.
42946 (__x86_64_raw_shared_cache_size): Likewise.
42947 (__x86_64_raw_shared_cache_size_half): Likewise.
42948
42949 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42950 (__x86_64_raw_data_cache_size_half): Likewise.
42951 (__x86_64_raw_shared_cache_size): Likewise.
42952 (__x86_64_raw_shared_cache_size_half): Likewise.
42953 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42954 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42955 and __x86_64_raw_shared_cache_size_half. Round
42956 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42957 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42958 to multiple of 256 bytes.
42959
0e516e0e
MS
429602010-11-03 Ulrich Drepper <drepper@gmail.com>
42961
42962 [BZ #12167]
42963 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42964 of inacessible symlinks. Verify result of symlink before returning it.
42965 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42966 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42967
0e012e87
ER
429682010-10-28 Erich Ritz <erichritz@gmail.com>
42969
42970 * math/math.h (isinf): Fix typo in comment.
42971
de0ff7bc
UD
429722010-11-01 Ulrich Drepper <drepper@gmail.com>
42973
42974 * po/da.po: Update from translation team.
42975
fa41c84d
UD
429762010-10-26 Ulrich Drepper <drepper@gmail.com>
42977
42978 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42979 is added to the list.
42980
f0967738
AK
429812010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42982 Ulrich Drepper <drepper@gmail.com>
42983
42984 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42985 the global list here. Move code to...
42986 (_dl_add_to_namespace_list): ...here. New function.
42987 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42988 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42989 * elf/dl-load.c (lose): Don't remove the element from the list.
42990 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42991 (_dl_map_object): Likewise.
42992
429932010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42994
42995 [BZ #12159]
42996 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42997 into all bytes of SSE register.
42998 Patch by Richard Li <richardpku@gmail.com>.
42999
f0967738 430002010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43001
43002 [BZ #12140]
43003 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43004 perturbing.
43005
d0b9e94f
MB
430062010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43007
43008 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43009 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43010 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43011 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43013 submachine.
43014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43015
8e9f92e9
AS
430162010-10-22 Andreas Schwab <schwab@redhat.com>
43017
43018 * include/dlfcn.h (__RTLD_SECURE): Define.
43019 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43020 mode & __RTLD_SECURE instead.
43021 (open_path): Rename preloaded parameter to secure.
43022 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43023 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43024 * elf/dl-deps.c (openaux): Likewise.
43025 * elf/rtld.c (struct map_args): Remove is_preloaded.
43026 (map_doit): Don't use it.
43027 (dl_main): Likewise.
43028 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43029 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43030
bc96fbda
AS
430312010-09-09 Andreas Schwab <schwab@redhat.com>
43032
43033 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43034 (sysd-rules-targets): Remove duplicates.
43035 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43036 rtld-%.$o dependency.
43037
22cd1c9b
AS
430382010-10-18 Andreas Schwab <schwab@redhat.com>
43039
43040 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43041 _dl_map_object do it.
43042
18edac48
UD
430432010-10-19 Ulrich Drepper <drepper@gmail.com>
43044
43045 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43046 fast fma builtins, define the macros in the C99 standard.
43047 (FP_FAST_FMAF): Likewise.
43048 (FP_FAST_FMAL): Likewise.
43049 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43050
43051 * bits/mathdef.h: Update copyright year.
43052 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43053
d2050124
MM
430542010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43055
43056 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43057 builtins, define the macros in the C99 standard.
43058 (FP_FAST_FMAF): Likewise.
43059 (FP_FAST_FMAL): Likewise.
43060 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43061 multiply/add.
43062 (FP_FAST_FMAF): Likewise.
43063
475facd1
JJ
430642010-10-15 Jakub Jelinek <jakub@redhat.com>
43065
43066 [BZ #3268]
43067 * math/libm-test.inc (fma_test): Some new testcases.
43068 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43069 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43070 y and infinite z. Do multiplication by C already in long double.
43071 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43073 y and infinite z. Do bitwise or of inexact bit into u.d.
43074 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43075 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43076 * sysdeps/i386/fpu/s_fma.S: Removed.
43077 * sysdeps/i386/fpu/s_fmal.S: Removed.
43078
7c08a05c
JJ
430792010-10-16 Jakub Jelinek <jakub@redhat.com>
43080
43081 [BZ #3268]
43082 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43084 computation is not scheduled after fetestexcept. Fix value
43085 of minimum denormal long double.
43086
f3f7372d
JJ
430872010-10-14 Jakub Jelinek <jakub@redhat.com>
43088
43089 [BZ #3268]
43090 * math/libm-test.inc (fma_test): Add some more tests.
43091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43092 correctly.
43093
14d43591
AS
430942010-10-15 Andreas Schwab <schwab@redhat.com>
43095
43096 * scripts/data/localplt-s390-linux-gnu.data: New file.
43097 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43098
5e908464
JJ
430992010-10-13 Jakub Jelinek <jakub@redhat.com>
43100
43101 [BZ #3268]
43102 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43103 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43104 instead of dbl-64.
43105 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43106 inlines.
43107 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43109 if one of x and y is very large and the other is subnormal.
43110 * sysdeps/s390/fpu/s_fmaf.c: New file.
43111 * sysdeps/s390/fpu/s_fma.c: New file.
43112 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43113 * sysdeps/powerpc/fpu/s_fma.S: New file.
43114 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43115 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43116 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43117
431182010-10-12 Jakub Jelinek <jakub@redhat.com>
43119
43120 [BZ #3268]
43121 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43122 fma tests.
43123 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43124 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43125 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43126 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43127 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43128 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43129 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43130
b833d51f
UD
431312010-10-12 Ulrich Drepper <drepper@redhat.com>
43132
43133 [BZ #12078]
43134 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43135 * posix/bug-regex31.input: Add test case.
43136
1751705d
UD
431372010-10-11 Ulrich Drepper <drepper@gmail.com>
43138
e9b9cbf5
UD
43139 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43140 * posix/bug-regex31.input: New file.
43141
43142 [BZ #12078]
43143 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43144 (parse_sub_exp): Fix last change, use postorder.
43145
ef06edbe
UD
43146 * posix/bug-regex31.c: New file.
43147 * posix/Makefile: Add rules to build and run bug-regex31.
43148
a129c80d
UD
43149 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43150
43151 [BZ #12078]
43152 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43153
b76b818e
UD
43154 [BZ #12108]
43155 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43156 to have entries in sys_siglist.
43157
1751705d
UD
43158 [BZ #12093]
43159 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43160 be NULL.
43161
9ff8d36f
JJ
431622010-10-07 Jakub Jelinek <jakub@redhat.com>
43163
43164 [BZ #3268]
43165 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43166 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43167 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43168 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43169 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43170 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43171 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43172 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43173 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43174 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43175 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43176 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43177 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43178 * math/ftestexcept.c (fetestexcept): Likewise.
43179 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43180 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43181 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43182 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43183 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43184 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43185 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43186
af325969
UD
431872010-10-11 Ulrich Drepper <drepper@gmail.com>
43188
c579b202 43189 [BZ #12107]
af325969
UD
43190 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43191 newline.
43192
67a67b95
UD
431932010-10-06 Ulrich Drepper <drepper@gmail.com>
43194
43195 * string/bug-strstr1.c: New file.
43196 * string/Makefile: Add rules to build and run bug-strstr1.
43197
5fb308bc
EB
431982010-10-05 Eric Blake <eblake@redhat.com>
43199
43200 [BZ #12092]
43201 * string/str-two-way.h (two_way_long_needle): Always clear memory
43202 when skipping input due to the shift table.
43203
45db99c7
UD
432042010-10-03 Ulrich Drepper <drepper@gmail.com>
43205
3b111893
UD
43206 [BZ #12005]
43207 * malloc/mcheck.c: Handle large requests.
43208
45db99c7
UD
43209 [BZ #12077]
43210 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43211 for strncmp and strncasecmp.
43212 * string/stratcliff.c: Add tests for strcmp and strncmp.
43213 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43214
cf7a1eb8
NI
432152010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43216
43217 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43218 __set_fpscr.
43219
6484ba5e
AJ
432202010-09-30 Andreas Jaeger <aj@suse.de>
43221
43222 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43223 (CGROUP_SUPER_MAGIC): Define.
43224 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43225 Handle btrfs and cgroup file systems.
43226 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43227 Likewise.
43228
91c42559
LM
432292010-09-27 Luis Machado <luisgpm@br.ibm.com>
43230
43231 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43232 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43233
87a97932
AK
432342010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43235
43236 [BZ #12067]
43237 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43238 trying to locate the ELF header.
43239
c21cc9bc
AS
432402010-09-27 Andreas Schwab <schwab@redhat.com>
43241
43242 [BZ #11611]
43243 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43244 Mask out sign-bit copies when constructing f_fsid.
43245
315970f6
PB
432462010-09-24 Petr Baudis <pasky@suse.cz>
43247
43248 * debug/stack_chk_fail_local.c: Add missing licence exception.
43249 * debug/warning-nop.c: Likewise.
43250
1ac7a2c7
JM
432512010-09-15 Joseph Myers <joseph@codesourcery.com>
43252
43253 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43254 implementing getdents64 using getdents syscall, set d_type if
43255 __ASSUME_GETDENTS32_D_TYPE.
43256
56801c50
AS
432572010-09-16 Andreas Schwab <schwab@redhat.com>
43258
43259 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43260 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43261
dda51327
UD
432622010-09-21 Ulrich Drepper <drepper@redhat.com>
43263
43264 [BZ #12037]
43265 * posix/unistd.h: Undo change of feature selection for ftruncate from
43266 2010-01-11.
43267
8ffcee4a
UD
432682010-09-20 Ulrich Drepper <drepper@redhat.com>
43269
a545ecd9 43270 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43271 detection.
43272
e24f0a8b
AS
432732010-09-20 Andreas Schwab <schwab@redhat.com>
43274
43275 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43276 fanotify_mark.
43277 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43278
7291c56f
AS
432792010-09-14 Andreas Schwab <schwab@redhat.com>
43280
43281 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43282 variables after CHECK_SP call.
43283 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43284
bc5fb037
AS
432852010-09-13 Andreas Schwab <schwab@redhat.com>
43286 Ulrich Drepper <drepper@redhat.com>
43287
43288 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43289 re-relocationg ld.so.
43290 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43291 _dl_init_paths call.
43292 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43293 here anymore.
43294
e66e7419
UD
432952010-09-14 Ulrich Drepper <drepper@redhat.com>
43296
43297 * resolv/res_init.c (__res_vinit): Count the default server we added.
43298
c044aa75
CLT
432992010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43300 Ulrich Drepper <drepper@redhat.com>
43301
43302 [BZ #11968]
43303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43304 (____longjmp_chk): Use %ebx for saving value across system call.
43305 Add unwind info.
43306
32cf4069
AS
433072010-09-06 Andreas Schwab <schwab@redhat.com>
43308
43309 * manual/Makefile: Don't mix pattern rules with normal rules.
43310
817328ee
AS
433112010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43312
43313 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43314 operation.
43315 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43316 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43317 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43318 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43320 Likewise.
43321
29fddf61
UD
433222010-09-04 Ulrich Drepper <drepper@redhat.com>
43323
43324 [BZ #11979]
43325 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43326 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43327
0959ffc9
UD
433282010-09-02 Ulrich Drepper <drepper@redhat.com>
43329
43330 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43331 * sysdeps/x86_64/addmul_1.S: Likewise.
43332 * sysdeps/x86_64/lshift.S: Likewise.
43333 * sysdeps/x86_64/mul_1.S: Likewise.
43334 * sysdeps/x86_64/rshift.S: Likewise.
43335 * sysdeps/x86_64/sub_n.S: Likewise.
43336 * sysdeps/x86_64/submul_1.S: Likewise.
43337
ece29840
ST
433382010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43339
0959ffc9
UD
43340 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43341 Define __sched_param instead of SCHED_* and sched_param when
ece29840 43342 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 43343 * bits/sched.h [__need_schedparam]
ece29840 43344 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
43345 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43346 (__defined_schedparam): Define to 1.
ece29840
ST
43347 (__sched_param): New structure, identical to sched_param.
43348 (__need_schedparam): Undefine.
43349
e53a31fe
MF
433502010-08-31 Mike Frysinger <vapier@gentoo.org>
43351
fdc0c10d
MF
43352 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43353 (epoll_create1): Declare.
43354
e53a31fe
MF
43355 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43356
a726d796
AS
433572010-08-31 Andreas Schwab <schwab@redhat.com>
43358
43359 [BZ #7066]
43360 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43361 shifting retval into place.
43362
2f3e3dc7
UD
433632010-09-01 Ulrich Drepper <drepper@redhat.com>
43364
f2933da9
UD
43365 * nis/rpcsvc/nis.h: Update copyright notice.
43366 * nis/rpcsvc/nis.x: Likewise.
43367 * nis/rpcsvc/nis_callback.h: Likewise.
43368 * nis/rpcsvc/nis_callback.x: Likewise.
43369 * nis/rpcsvc/nis_object.x: Likewise.
43370 * nis/rpcsvc/nis_tags.h: Likewise.
43371 * nis/rpcsvc/yp.h: Likewise.
43372 * nis/rpcsvc/yp.x: Likewise.
43373 * nis/rpcsvc/ypupd.h: Likewise.
43374 * nis/yp_xdr.c: Likewise.
43375 * nis/ypupdate_xdr.c: Likewise.
43376
2f3e3dc7
UD
43377 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43378 mainly the body of pmap_getport. Add parameters to specify timeouts.
43379 (pmap_getport): Use __libc_rpc_getport.
43380 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43381 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43382 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43383
f3dcc2f9
AS
433842010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43385
43386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43387 fanotify_mark.
43388
6d34eb5b
RM
433892010-08-27 Roland McGrath <roland@redhat.com>
43390
43391 * sysdeps/i386/i686/multiarch/Makefile
43392 (CFLAGS-varshift.c): New variable.
43393
9ea3de11
UD
433942010-08-27 Ulrich Drepper <drepper@redhat.com>
43395
c96d23fc
UD
43396 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43397 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43398
9ea3de11
UD
43399 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43400
43401 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43402
623aac7f
L
434032010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43404
43405 * sysdeps/x86_64/strlen.S: Unroll the loop.
43406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43407 strlen-sse2 strlen-sse2-bsf.
43408 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43409 __strlen_no_bsf if bit_Slow_BSF is set.
43410 (__strlen_sse42): Removed.
43411 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43412 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43413
8b2b7715
RM
434142010-08-25 Roland McGrath <roland@redhat.com>
43415
43416 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43417 * sysdeps/x86_64/multiarch/varshift.c: New file.
43418 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43419 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43420 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43421 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43422
e73015f2
L
434232010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43424
43425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43426 strlen-sse2 strlen-sse2-bsf.
43427 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43428 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43429 (__strlen_sse2): Removed.
43430 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43431 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43433 bit_Slow_BSF for Atom.
43434 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43435 (index_Slow_BSF): Define.
43436 (HAS_SLOW_BSF): Define.
43437
df24a73e
UD
434382010-08-25 Ulrich Drepper <drepper@redhat.com>
43439
43440 [BZ #10851]
43441 * resolv/res_init.c (__res_vinit): When no server address at all
43442 is given default to loopback.
43443
f2ac4868
RM
434442010-08-24 Roland McGrath <roland@redhat.com>
43445
09055553
RM
43446 * configure.in: Remove config-name.h generation.
43447 * configure: Regenerated.
43448 * config-name.in: File removed.
43449 * scripts/config-uname.sh: New file.
43450 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43451 ($(objdir)config-name.h): New target.
43452
f2ac4868
RM
43453 * sunrpc/rpc_parse.h: Avoid nested comment.
43454
73f27d5e
RH
434552010-08-24 Richard Henderson <rth@redhat.com>
43456 Ulrich Drepper <drepper@redhat.com>
43457 H.J. Lu <hongjiu.lu@intel.com>
43458
43459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43461 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43462 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43463 _mm_alignr_epi8 with _mm_loadu_si128.
43464 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43465 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43466 (__m128i_shift_right): Removed.
43467 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43468 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43469 * sysdeps/x86_64/multiarch/varshift.h: New file.
43470 * sysdeps/x86_64/multiarch/varshift.S: New file.
43471
84b9230c
MF
434722010-08-21 Mike Frysinger <vapier@gentoo.org>
43473
43474 * configure.in: Move assembler checks to before sysdep dir checking.
43475
9bbd0ddc
PB
434762010-08-20 Petr Baudis <pasky@suse.cz>
43477
43478 * LICENSES: Sync the sunrpc license.
43479
9da4bb31
UD
434802010-08-19 Ulrich Drepper <drepper@redhat.com>
43481
a7ab6ec8
UD
43482 * sunrpc/auth_des.c: Update copyright notice once again.
43483 * sunrpc/auth_none.c: Likewise.
43484 * sunrpc/auth_unix.c: Likewise.
43485 * sunrpc/authdes_prot.c: Likewise.
43486 * sunrpc/authuxprot.c: Likewise.
43487 * sunrpc/bindrsvprt.c: Likewise.
43488 * sunrpc/clnt_gen.c: Likewise.
43489 * sunrpc/clnt_perr.c: Likewise.
43490 * sunrpc/clnt_raw.c: Likewise.
43491 * sunrpc/clnt_simp.c: Likewise.
43492 * sunrpc/clnt_tcp.c: Likewise.
43493 * sunrpc/clnt_udp.c: Likewise.
43494 * sunrpc/clnt_unix.c: Likewise.
43495 * sunrpc/des_crypt.c: Likewise.
43496 * sunrpc/des_soft.c: Likewise.
43497 * sunrpc/get_myaddr.c: Likewise.
43498 * sunrpc/getrpcport.c: Likewise.
43499 * sunrpc/key_call.c: Likewise.
43500 * sunrpc/key_prot.c: Likewise.
43501 * sunrpc/openchild.c: Likewise.
43502 * sunrpc/pm_getmaps.c: Likewise.
43503 * sunrpc/pm_getport.c: Likewise.
43504 * sunrpc/pmap_clnt.c: Likewise.
43505 * sunrpc/pmap_prot.c: Likewise.
43506 * sunrpc/pmap_prot2.c: Likewise.
43507 * sunrpc/pmap_rmt.c: Likewise.
43508 * sunrpc/rpc/auth.h: Likewise.
43509 * sunrpc/rpc/auth_unix.h: Likewise.
43510 * sunrpc/rpc/clnt.h: Likewise.
43511 * sunrpc/rpc/des_crypt.h: Likewise.
43512 * sunrpc/rpc/key_prot.h: Likewise.
43513 * sunrpc/rpc/netdb.h: Likewise.
43514 * sunrpc/rpc/pmap_clnt.h: Likewise.
43515 * sunrpc/rpc/pmap_prot.h: Likewise.
43516 * sunrpc/rpc/pmap_rmt.h: Likewise.
43517 * sunrpc/rpc/rpc.h: Likewise.
43518 * sunrpc/rpc/rpc_des.h: Likewise.
43519 * sunrpc/rpc/rpc_msg.h: Likewise.
43520 * sunrpc/rpc/svc.h: Likewise.
43521 * sunrpc/rpc/svc_auth.h: Likewise.
43522 * sunrpc/rpc/types.h: Likewise.
43523 * sunrpc/rpc/xdr.h: Likewise.
43524 * sunrpc/rpc_clntout.c: Likewise.
43525 * sunrpc/rpc_cmsg.c: Likewise.
43526 * sunrpc/rpc_common.c: Likewise.
43527 * sunrpc/rpc_cout.c: Likewise.
43528 * sunrpc/rpc_dtable.c: Likewise.
43529 * sunrpc/rpc_hout.c: Likewise.
43530 * sunrpc/rpc_main.c: Likewise.
43531 * sunrpc/rpc_parse.c: Likewise.
43532 * sunrpc/rpc_parse.h: Likewise.
43533 * sunrpc/rpc_prot.c: Likewise.
43534 * sunrpc/rpc_sample.c: Likewise.
43535 * sunrpc/rpc_scan.c: Likewise.
43536 * sunrpc/rpc_scan.h: Likewise.
43537 * sunrpc/rpc_svcout.c: Likewise.
43538 * sunrpc/rpc_tblout.c: Likewise.
43539 * sunrpc/rpc_util.c: Likewise.
43540 * sunrpc/rpc_util.h: Likewise.
43541 * sunrpc/rpcinfo.c: Likewise.
43542 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43543 * sunrpc/rpcsvc/key_prot.x: Likewise.
43544 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43545 * sunrpc/rpcsvc/mount.x: Likewise.
43546 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43547 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43548 * sunrpc/rpcsvc/rex.x: Likewise.
43549 * sunrpc/rpcsvc/rstat.x: Likewise.
43550 * sunrpc/rpcsvc/rusers.x: Likewise.
43551 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43552 * sunrpc/rpcsvc/spray.x: Likewise.
43553 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43554 * sunrpc/rtime.c: Likewise.
43555 * sunrpc/svc.c: Likewise.
43556 * sunrpc/svc_auth.c: Likewise.
43557 * sunrpc/svc_authux.c: Likewise.
43558 * sunrpc/svc_raw.c: Likewise.
43559 * sunrpc/svc_run.c: Likewise.
43560 * sunrpc/svc_simple.c: Likewise.
43561 * sunrpc/svc_tcp.c: Likewise.
43562 * sunrpc/svc_udp.c: Likewise.
43563 * sunrpc/svc_unix.c: Likewise.
43564 * sunrpc/svcauth_des.c: Likewise.
43565 * sunrpc/xcrypt.c: Likewise.
43566 * sunrpc/xdr.c: Likewise.
43567 * sunrpc/xdr_array.c: Likewise.
43568 * sunrpc/xdr_float.c: Likewise.
43569 * sunrpc/xdr_mem.c: Likewise.
43570 * sunrpc/xdr_rec.c: Likewise.
43571 * sunrpc/xdr_ref.c: Likewise.
43572 * sunrpc/xdr_sizeof.c: Likewise.
43573 * sunrpc/xdr_stdio.c: Likewise.
43574
9da4bb31
UD
43575 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43576 handling.
43577
bdaa77bc
AS
435782010-08-19 Andreas Schwab <schwab@redhat.com>
43579
43580 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43581
fe2f79db
LM
435822010-08-19 Luis Machado <luisgpm@br.ibm.com>
43583
43584 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43585 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43586 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43587 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43588 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43589 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43590 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43591 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43592 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43593 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43594 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43595 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43596 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43597 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43598
b9b42ee0
AB
435992010-07-26 Anton Blanchard <anton@samba.org>
43600
43601 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43602 * malloc/arena.c (heap_trim): Likewise.
43603
1c06ba31
UD
436042010-08-16 Ulrich Drepper <drepper@redhat.com>
43605
43606 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43607 here. Not...
43608 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43609 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43610
f8392f40
L
436112010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43612
43613 * sysdeps/i386/elf/Makefile: New file.
43614
3162f12e
AS
436152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43616
43617 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43618 from fanotify_init.
43619 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43621
28c90b2c
UD
436222010-08-15 Ulrich Drepper <drepper@redhat.com>
43623
43624 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43625 of strncasecmp_l.
1feccb6c 43626 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43627
ca6bb004
UD
436282010-08-14 Ulrich Drepper <drepper@redhat.com>
43629
e9f82e0d
UD
43630 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43631 strncase_l-nonascii.
43632 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43633 Add strncase_l-ssse3.
43634 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43635 * sysdeps/x86_64/strcmp.S: Likewise.
43636 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43637 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43638 * sysdeps/x86_64/strncase.S: New file.
43639 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43640 * sysdeps/x86_64/strncase_l.S: New file.
43641 * string/Makefile (strop-tests): Add strncasecmp.
43642 * string/test-strncasecmp.c: New file.
43643
43644 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43645 warning.
43646
ca6bb004
UD
43647 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43648 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43649
052fa7b3
AS
436502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43651
43652 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43653
962dba78
UD
436542010-08-12 Ulrich Drepper <drepper@redhat.com>
43655
43656 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43657 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43658 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43659
bebff237
AM
436602010-05-01 Alan Modra <amodra@gmail.com>
43661
43662 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43663 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43664 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43665 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43666 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43667 tidying. Don't tail-call __sigjmp_save for static lib.
43668 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43669 save location.
43670 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43671 (CALL_MCOUNT): Add eh info, and nop after bl.
43672 (TAIL_CALL_SYSCALL_ERROR): New macro.
43673 (PSEUDO_RET): Use it.
43674 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43675 Correct save location of integer regs and cr.
43676 (_dl_profile_resolve): Correct cr save location. Delete nops
43677 after bl when SHARED. Reduce cfi size a little by better
43678 placement of cfi directives.
43679 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43680 make a stack frame. Instead use parm save area as a temp.
43681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43682 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43684 Don't make a stack frame for parent, use parm save area.
43685 Increase child stack frame to 112 bytes. Don't save unused reg,
43686 and adjust reg usage. Set up cfi on error recovery and
43687 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43689 (__makecontext): Add dummy nop after jump to exit.
43690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43691 Use correct parm save area and cr save, reduce stack frame.
43692 Correct cfi for possible PSEUDO_RET frame setup.
43693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43694 Branch to local label emitted by PSEUDO_RET rather than
43695 __syscall_error.
43696
02637374
AS
436972010-08-12 Andreas Schwab <schwab@redhat.com>
43698
43699 [BZ #11904]
43700 * locale/programs/locale.c (print_assignment): New function.
43701 (show_locale_vars): Use it.
43702
c3e2f19b
UD
437032010-08-11 Ulrich Drepper <drepper@redhat.com>
43704
3cdaa6ad
UD
43705 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43706 field.
43707 (struct statfs64): Likewise.
43708 (_STATFS_F_FLAGS): Define.
43709 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43710 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43711 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43712 (ST_VALID): Define locally.
43713 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43714 __statvfs_getflags, use the provided value.
43715 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43716 __ASSUME_STATFS_F_FLAGS.
43717
754f7da3
UD
43718 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43719
10b3bedc
UD
43720 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43721 Add sys/fanotify.h.
43722 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43723 fanotify_mask for GLIBC_2.13.
43724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43725 fanotify_init and fanotify_mark.
43726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43727 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43728
c08fb0d7
UD
43729 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43730 Add prlimit.
43731 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43732 prlimit64 for GLIBC_2.13.
43733 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43734 prlimit64.
43735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43736 syscall.
43737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43738 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43739 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43740 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43741 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43742 add prlimit alias.
43743 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43744
15bac72b
UD
43745 [BZ #11903]
43746 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43747 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43748
c3e2f19b
UD
43749 * nss/Makefile: Add rules to build and run tst-nss-test1.
43750 * shlib-versions: Add entry for libnss_test1.
43751 * nss/nss_test1.c: New file.
43752 * nss/tst-nss-test1.c: New file.
43753
43754 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43755 (__nss_configure_lookup): Set appropriate entry in
43756 __nss_configure_lookup to true.
43757 * nss/nsswitch.h: Define enum with indeces of databases in
43758 databases and __nss_database_custom arrays. Declare
43759 __nss_database_custom.
43760 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43761 to avoid using nscd when custom rules are installed.
43762 * nss/getXXbyYY_r.c: Likewise.
43763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43764
43765 * nss/nss_files/files-parse.c: Whitespace fixes.
43766
f15ce4d8
UD
437672010-08-09 Ulrich Drepper <drepper@redhat.com>
43768
43769 [BZ #11883]
43770 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43771 * posix/fnmatch_loop.c: Likewise.
43772
d22e4cc9
AK
437732010-07-17 Andi Kleen <ak@linux.intel.com>
43774
43775 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43776 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43777 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43778 * Versions.def [GLIBC_2.13]: Add.
43779
805bc17d
UD
437802010-08-06 Ulrich Drepper <drepper@redhat.com>
43781
43782 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43783 Also fail if tpwd after pwuid call is NULL.
43784
5a42321d
ST
437852010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43786
43787 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43788 when converting to ms.
43789
fd3ebeda
ST
437902010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43791
43792 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43793 EOPNOTSUPP errors with ENOTTY.
43794 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43795 EOPNOTSUPP errors with ENOTTY.
43796
73507d3a
UD
437972010-07-31 Ulrich Drepper <drepper@redhat.com>
43798
43799 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43800 Add strcasecmp_l-ssse3.
43801 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43802 strcasecmp.
43803 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43804 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43805 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43806
fe36dd02
UD
438072010-07-30 Ulrich Drepper <drepper@redhat.com>
43808
66f6765a
UD
43809 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43810
42e08a54
UD
43811 * string/Makefile (strop-tests): Add strcasecmp.
43812 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43813 strcasecmp_l-nonascii.
43814 (gen-as-const-headers): Add locale-defines.sym.
43815 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43816 * sysdeps/x86_64/strcasecmp.S: New file.
43817 * sysdeps/x86_64/strcasecmp_l.S: New file.
43818 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43819 * sysdeps/x86_64/locale-defines.sym: New file.
43820 * string/test-strcasecmp.c: New file.
43821
fe36dd02
UD
43822 * string/test-strcasestr.c: Test both ends of the range of characters.
43823 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43824
48cbc0d6
RM
438252010-07-29 Roland McGrath <roland@redhat.com>
43826
76e6d6bc 43827 [BZ #11856]
48cbc0d6
RM
43828 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43829
880113d9
UD
438302010-07-27 Ulrich Drepper <drepper@redhat.com>
43831
43832 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43833 for ld.so.
43834
deb9cabb
AS
438352010-07-27 Andreas Schwab <schwab@redhat.com>
43836
43837 * manual/memory.texi (Malloc Tunable Parameters): Document
43838 M_PERTURB.
43839
1c7570ff
RM
438402010-07-26 Roland McGrath <roland@redhat.com>
43841
43842 [BZ #11840]
43843 * configure.in (-fgnu89-inline check): Set and substitute
43844 gnu89_inline, not libc_cv_gnu89_inline.
43845 * configure: Regenerated.
43846 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43847
24fb0f88
UD
438482010-07-26 Ulrich Drepper <drepper@redhat.com>
43849
43850 * string/test-strnlen.c: New file.
43851 * string/Makefile (strop-tests): Add strnlen.
43852 * string/tester.c (test_strnlen): Add a few more test cases.
43853 * string/tst-strlen.c: Better error reporting.
43854
43855 * sysdeps/x86_64/strnlen.S: New file.
43856
8e96b93a
UD
438572010-07-24 Ulrich Drepper <drepper@redhat.com>
43858
43859 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43860 lower-latency instructions.
43861
dbc676d4
UD
438622010-07-23 Ulrich Drepper <drepper@redhat.com>
43863
43864 * string/test-strcasestr.c: New file.
43865 * string/test-strstr.c: New file.
43866 * string/Makefile (strop-tests): Add strstr and strcasestr.
43867 * string/str-two-way.h: Don't undefine MAX.
43868 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43869
f6a31e0e
AS
438702010-07-21 Andreas Schwab <schwab@redhat.com>
43871
43872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43873 strcasestr-nonascii.
43874 (CFLAGS-strcasestr-nonascii.c): Define.
43875 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43876 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43877 Remove unused attribute.
43878
5dbc3b6c
RM
438792010-07-20 Roland McGrath <roland@redhat.com>
43880
43881 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43882 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43883 ld.so.cache was broken. With it, there is no way to disable dsocaps
43884 like LD_HWCAP_MASK can disable hwcaps.
43885
23d101d8
EPM
438862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43887
43888 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43889
cc9f2e47
UD
438902010-07-16 Ulrich Drepper <drepper@redhat.com>
43891
43892 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43893 call in strcasestr.
43894 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43895 __strcasestr_sse42_nonascii.
43896 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43897 strcasestr-nonascii.c.
43898 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43899
77c1b069
LM
439002010-06-15 Luis Machado <luisgpm@br.ibm.com>
43901
43902 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43903 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43904 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43905 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43906
440566c3
UD
439072010-07-09 Ulrich Drepper <drepper@redhat.com>
43908
43909 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43910 fcntl.
43911
5be9d05d
AS
439122010-07-06 Andreas Schwab <schwab@redhat.com>
43913
c30b7ee2 43914 [BZ #11577]
5be9d05d
AS
43915 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43916 dl_signal_cerror.
43917
8a492a67
UD
439182010-07-06 Ulrich Drepper <drepper@redhat.com>
43919
43920 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43921 _PC_PIPE_BUF using F_GETPIPE_SZ.
43922
713df3d5
RM
439232010-07-05 Roland McGrath <roland@redhat.com>
43924
43925 * manual/arith.texi (Rounding Functions): Fix rint description
43926 implicit in round description.
43927
702e8f14
UD
439282010-07-02 Ulrich Drepper <drepper@redhat.com>
43929
43930 * elf/Makefile: Fix linking for a few tests to make recent linker
43931 happy.
43932
52ed8be9
AS
439332010-06-30 Andreas Schwab <schwab@redhat.com>
43934
43935 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43936 $(common-objpfx)libc_nonshared.a.
43937
f47c9a11
LM
439382010-06-21 Luis Machado <luisgpm@br.ibm.com>
43939
43940 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43941 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43942 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43943 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43944 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43945 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43946 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43947 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43962 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43963 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43964 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43965 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43966 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43967 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43968 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43969 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43970 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43971 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43972 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43973 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43988
6fb8cbcb
L
439892010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43990
43991 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43992 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43993 * string/memmove.c (memmove): Renamed to ...
43994 (MEMMOVE): ...this. Default to memmove.
43995 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43996 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43997 (END_CHK): Define.
43998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43999 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44000 mempcpy-ssse3-back memmove-ssse3-back.
44001 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44002 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44004 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44005 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44006 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44007 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44008 * sysdeps/x86_64/multiarch/memmove.c: New file.
44009 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44010 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44011 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44012 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44013 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44014 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44015 Define.
44016 (index_Fast_Copy_Backward): Define.
44017 (HAS_ARCH_FEATURE): Define.
44018 (HAS_FAST_REP_STRING): Define.
44019 (HAS_FAST_COPY_BACKWARD): Define.
44020
4e733bac 440212010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44022
44023 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44024 Restore proper fallback handling.
44025
63c4ed22
UD
440262010-06-19 Ulrich Drepper <drepper@redhat.com>
44027
ac2b484c
UD
44028 [BZ #11701]
44029 * posix/group_member.c (__group_member): Correct checking loop.
44030
63c4ed22
UD
44031 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44032 OOM in getpwuid_r correctly. Return error number when the caller
44033 should return, otherwise -1.
44034 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44035 call returning > 0 value.
44036 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44037
765ade4b
AS
440382010-06-07 Andreas Schwab <schwab@redhat.com>
44039
44040 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44041 libc_nonshared.a from targets in modules-names.
44042
80da2e09
KS
440432010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44044
44045 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44046 requires it.
44047
158db122
LM
440482010-06-10 Luis Machado <luisgpm@br.ibm.com>
44049
44050 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44051 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44054
caa78cf8
AS
440552010-06-02 Andreas Schwab <schwab@redhat.com>
44056
44057 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44058
b2ef2c01
UD
440592010-06-14 Ulrich Drepper <drepper@redhat.com>
44060
44061 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44062 and F_GETPIPE_SZ.
44063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44067 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44068 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44069
fbd643b6
RM
440702010-06-14 Roland McGrath <roland@redhat.com>
44071
44072 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44073
f32f2869
JJ
440742010-06-07 Jakub Jelinek <jakub@redhat.com>
44075
44076 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44077 __REDIRECT followed by __THROW.
44078 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44079 * posix/getopt.h (getopt): Likewise.
44080
2a50c078
EPM
440812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44082
44083 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44084 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44085 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44086 in AT_FLAGS.
44087 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44088 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44089
eb5ad2eb
LM
440902010-05-28 Luis Machado <luisgpm@br.ibm.com>
44091
44092 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44093
3c88fe1e
L
440942010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44095
44096 [BZ #11640]
44097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44098 Properly check family and model.
44099
d2f73151
TY
441002010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44101
44102 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44103
ebd2e13d
LM
441042010-05-24 Luis Machado <luisgpm@br.ibm.com>
44105
44106 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44107
b32b8b45
UD
441082010-05-21 Ulrich Drepper <drepper@redhat.com>
44109
44110 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44111 symbol reference.
44112
9acbe24d
AS
441132010-05-19 Andreas Schwab <schwab@redhat.com>
44114
44115 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44116 symbol reference.
44117
f0ccf6ea
AS
441182010-05-21 Andreas Schwab <schwab@redhat.com>
44119
3d04ff3a
AS
44120 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44121 and internal_recvmmsg.
44122 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44123 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44124 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44125 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44126
f0ccf6ea
AS
44127 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44128 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44129 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44130
5b08ac57
AS
441312010-05-20 Andreas Schwab <schwab@redhat.com>
44132
44133 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44134
4828935d
LM
441352010-05-17 Luis Machado <luisgpm@br.ibm.com>
44136
44137 POWER7 optimizations.
44138 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44139 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44140
373d545e
UD
441412010-05-19 Ulrich Drepper <drepper@redhat.com>
44142
44143 * version.h: Update for 2.13 development version.
44144
21a2b1ae
AS
441452010-05-12 Andrew Stubbs <ams@codesourcery.com>
44146
44147 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44148 exceptions. Return 0.
44149
3f7dcb2b
RM
441502010-05-07 Roland McGrath <roland@redhat.com>
44151
44152 * elf/ldconfig.c (main): Add a const.
44153
5f24d53a 441542010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 44155
a160f8d8
UD
44156 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44157 (args_options): Add no-idn option.
44158 (ahosts_keys_int): Add idn_flags to ai_flags.
44159 (parse_option): Handle 'i' option to clear idn_flags.
44160
5f24d53a
UD
44161 * malloc/malloc.c (_int_free): Possible race in the most recently
44162 added check. Only act on the data if no current modification
44163 happened.
265bb1ce
UD
44164
44165See ChangeLog.17 for earlier changes.