]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
x86: Consolidate NPTL fork.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5675da1e
RM
12014-05-14 Roland McGrath <roland@hack.frob.com>
2
ec136444
RM
3 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8
2fbdf533
RM
9 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19
4c68138b
RM
20 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22
4eaae765
RM
23 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
24 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
25 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
30 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
31 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
38 Update #include.
39 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
40 Likewise.
41 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42 Likewise.
43 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44 Likewise.
45 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46 Likewise.
47 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
48 Likewise.
49 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50 Likewise.
51 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52 Likewise.
53 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
54 Likewise.
55 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
56 Likewise.
4ef6befa
RM
57 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
58 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
59 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
60 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
61 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3a51fb60 62
941d7dfd
RM
63 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
64 that was previously under [RESET_PID].
65 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
67 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
68
1b731c35
RM
69 * sysdeps/i386/nptl/Implies: New file.
70 * sysdeps/x86_64/nptl/Implies: New file.
71 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
72 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
73 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
74 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
75
e2787137
RM
76 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
77 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
78 (__libc_vfork): New strong alias.
79 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
80 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
81
82 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
83 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
84 (__libc_vfork): New strong alias.
85 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
86 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
87
5675da1e
RM
88 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
89 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
90 (__libc_vfork): New strong alias.
91 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
92 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
93 * nptl/pt-vfork.c: New file.
94 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
95 (libpthread: GLIBC_2.20): New version set (empty).
96
4f02e2b8
WN
972014-05-14 Will Newton <will.newton@linaro.org>
98
99 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
100 rather than #if.
101
0bf061d3
JM
1022014-05-14 Joseph Myers <joseph@codesourcery.com>
103
1a84c3d6
JM
104 [BZ #16564]
105 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
106 arguments with exponent 65 or above.
107 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
108 arguments 0x1p113L or above.
109 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
110 to arguments 0x1p107L or above.
111 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
112 positive arguments with exponent 65 or above.
113 * math/auto-libm-test-in: Add more tests of log1p.
114 * math/auto-libm-test-out: Regenerated.
115
01dbacd2
JM
116 [BZ #16928]
117 * math/s_cacos.c (__cacos): Ensure zero real part of result from
118 non-finite arguments is +0.
119 * math/s_cacosf.c (__cacosf): Likewise.
120 * math/s_cacosl.c (__cacosl): Likewise.
121 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
122 * sysdeps/i386/fpu/libm-test-ulps: Update.
123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
124
913d03c8
JM
125 [BZ #16927]
126 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
127 value.
128 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
129 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
130 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
131 for explicit high bit of mantissa when testing for argument equal
132 to 1.
133 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
134 * sysdeps/i386/fpu/libm-test-ulps: Update.
135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
136
0bf061d3
JM
137 [BZ #16516]
138 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
139 (__erf): Scale by 16 instead of 8 in potentially underflowing
140 case. Ensure exception if result actually underflows.
141 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
142 (__erff): Scale by 16 instead of 8 in potentially underflowing
143 case. Ensure exception if result actually underflows.
144 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
145 (efx8): Remove variable.
146 (__erfl): Scale by 16 instead of 8 in potentially underflowing
147 case. Ensure exception if result actually underflows.
148 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
149 (efx8): Remove variable.
150 (__erfl): Scale by 16 instead of 8 in potentially underflowing
151 case. Ensure exception if result actually underflows.
152 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
153 (efx8): Remove variable.
154 (__erfl): Scale by 16 instead of 8 in potentially underflowing
155 case. Ensure exception if result actually underflows.
156 * math/auto-libm-test-in: Add more tests of erf.
157 * math/auto-libm-test-out: Regenerated.
158
73ba67cb
AS
1592014-05-14 Andreas Schwab <schwab@suse.de>
160
3d8c8bff
AS
161 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
162 Remove code conditionalized on USE___THREAD.
163
73ba67cb
AS
164 * config.h.in (HAVE_PT_CHOWN): Define as 0.
165 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
166 not definedness.
167
5c521ecd
JM
1682014-05-14 Joseph Myers <joseph@codesourcery.com>
169
5e7698c6
JM
170 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
171 Define unconditionally.
172 (__ASSUME_O_CLOEXEC): Likewise.
173 (__ASSUME_SOCK_CLOEXEC): Likewise.
174 (__ASSUME_IN_NONBLOCK): Likewise.
175 (__ASSUME_PIPE2): Likewise.
176 (__ASSUME_EVENTFD2): Likewise.
177 (__ASSUME_SIGNALFD4): Likewise.
178 (__ASSUME_DUP3): Likewise.
179 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
180 (__ASSUME_DUP3): Do not define.
181 (__ASSUME_EVENTFD2): Likewise.
182 (__ASSUME_IN_NONBLOCK): Likewise.
183 (__ASSUME_O_CLOEXEC): Likewise.
184 (__ASSUME_PIPE2): Likewise.
185 (__ASSUME_SIGNALFD4): Likewise.
186 (__ASSUME_SOCK_CLOEXEC): Likewise.
187 (__ASSUME_UTIMES): Undefine.
188 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
189 (__ASSUME_UTIMES): Do not define.
190 (__ASSUME_O_CLOEXEC): Likewise.
191 (__ASSUME_SOCK_CLOEXEC): Likewise.
192 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
193 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
194 0x020621].
195 (__ASSUME_PIPE2): Likewise.
196 (__ASSUME_EVENTFD2): Likewise.
197 (__ASSUME_SIGNALFD4): Likewise.
198 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
199 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
200 Do not define.
201 (__ASSUME_EVENTFD2): Likewise.
202 (__ASSUME_SIGNALFD4): Likewise.
203 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
204 (__ASSUME_32BITUIDS): Likewise.
205 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
206 (__ASSUME_IPC64): Likewise.
207 (__ASSUME_ST_INO_64_BIT): Likewise.
208 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
209 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
210 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
211 (__ASSUME_UTIMES): Do not define.
212 (__ASSUME_PSELECT): Likewise.
213 (__ASSUME_PPOLL): Likewise.
214 (__ASSUME_O_CLOEXEC): Likewise.
215 (__ASSUME_SOCK_CLOEXEC): Likewise.
216 (__ASSUME_IN_NONBLOCK): Likewise.
217 (__ASSUME_PIPE2): Likewise.
218 (__ASSUME_EVENTFD2): Likewise.
219 (__ASSUME_SIGNALFD4): Likewise.
220 (__ASSUME_DUP3): Likewise.
221 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
222 (__ASSUME_UTIMES): Likewise.
223 (__ASSUME_O_CLOEXEC): Likewise.
224 (__ASSUME_SOCK_CLOEXEC): Likewise.
225 (__ASSUME_IN_NONBLOCK): Likewise.
226 (__ASSUME_PIPE2): Likewise.
227 (__ASSUME_EVENTFD2): Likewise.
228 (__ASSUME_SIGNALFD4): Likewise.
229 (__ASSUME_DUP3): Likewise.
230 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
231 (__ASSUME_UTIMES): Likewise.
232 (__ASSUME_O_CLOEXEC): Likewise.
233 (__ASSUME_SOCK_CLOEXEC): Likewise.
234 (__ASSUME_IN_NONBLOCK): Likewise.
235 (__ASSUME_PIPE2): Likewise.
236 (__ASSUME_EVENTFD2): Likewise.
237 (__ASSUME_SIGNALFD4): Likewise.
238 (__ASSUME_DUP3): Likewise.
239 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
240 Likewise.
241 (__ASSUME_UTIMES): Likewise.
242 (__ASSUME_EVENTFD2): Likewise.
243 (__ASSUME_SIGNALFD4): Likewise.
244 * sysdeps/unix/sysv/linux/tile/kernel-features.h
245 (__ASSUME_O_CLOEXEC): Likewise.
246 (__ASSUME_SOCK_CLOEXEC): Likewise.
247 (__ASSUME_IN_NONBLOCK): Likewise.
248 (__ASSUME_PIPE2): Likewise.
249 (__ASSUME_EVENTFD2): Likewise.
250 (__ASSUME_SIGNALFD4): Likewise.
251 (__ASSUME_DUP3): Likewise.
252 (__ASSUME_UTIMES): Undefine.
253
5c521ecd
JM
254 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
255 feclearexcept. Remove symbol versioning code.
256 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
257 symbol versioning code.
258 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
259 symbol versioning code.
260 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
261 feupdateenv. Remove symbol versioning code.
262 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
263 fegetexceptflag. Remove symbol versioning code.
264 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
265 fesetexceptflag. Remove symbol versioning code.
266 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
267 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
268 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
269 (__posix_fadvise64_l32): Remove prototype.
270 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
271 code.
272
5da9dfad
RM
2732014-05-13 Roland McGrath <roland@hack.frob.com>
274
275 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
276 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
277 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
278 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
279
893b4f37
SK
2802014-05-13 Sami Kerola <kerolasa@iki.fi>
281
282 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
283 current working directory
284
e0db6517
RM
2852014-05-13 Roland McGrath <roland@hack.frob.com>
286
58aa195d
RM
287 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
288 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
289 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
290 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
291 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
292 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
293 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
295 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
297 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
298 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
299 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
300 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
301 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
302 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
303 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
304 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
305 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
306 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
307 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
308 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
309 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
310 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
311 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
312 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
313 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
314 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
315 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
316 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
317 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
318 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
319 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
320 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
321 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
322 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
323 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
324 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
325 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
326 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
327 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
328 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
329
8c6d01f0
RM
330 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
331 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
332
333 * sysdeps/unix/sysv/linux/arm/Makefile
334 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
335 Add rt-aeabi_unwind_cpp_pr1.
336 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
337 Add nptl-aeabi_unwind_cpp_pr1.
338 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
339 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
340 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
341 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
342 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
343 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
344
345 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
346 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
347 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
348 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
349
bba6da4e
RM
350 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
351 Deconditionalize the code that was previously under [RESET_PID].
352 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
353
e0db6517
RM
354 * sysdeps/generic/exit-thread.h: New file.
355 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
356 * include/unistd.h (__exit_thread): Remove declaration.
357 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
358 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
359 * csu/libc-start.c: Include <exit-thread.h>.
360 (LIBC_START_MAIN): Pass no argument to __exit_thread.
361 * nptl/pthread_create.c: Include <exit-thread.h>.
362 (start_thread): Call __exit_thread in place of __exit_thread_inline.
363 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
364 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
365 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
366 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
367 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
368 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
369 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
370 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
371 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
372 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
373 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
374 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
375 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
376 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
377 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
378 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
379
01eb16fd
AS
3802014-05-13 Andreas Schwab <schwab@suse.de>
381
382 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
383
637461d9
JM
3842014-05-12 Joseph Myers <joseph@codesourcery.com>
385
386 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
387 (__ASSUME_UTIMES): Do not condition on kernel version.
388 (__ASSUME_PSELECT): Define unconditionally.
389 (__ASSUME_PPOLL): Likewise.
390 (__ASSUME_ATFCTS): Likewise.
391 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
392 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
393 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
394 (__ASSUME_UTIMENSAT): Define unconditionally.
395 (__ASSUME_PRIVATE_FUTEX): Likewise.
396 (__ASSUME_FALLOCATE): Likewise.
397 (__ASSUME_O_CLOEXEC): Likewise.
398 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
399 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
400 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
401 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
402 (__ASSUME_IN_NONBLOCK): Likewise.
403 (__ASSUME_PIPE2): Likewise.
404 (__ASSUME_EVENTFD2): Likewise.
405 (__ASSUME_SIGNALFD4): Likewise.
406 (__ASSUME_DUP3): Likewise.
407 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
408 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
409 (__ASSUME_AT_RANDOM): Likewise.
410 (__ASSUME_PREADV): Likewise.
411 (__ASSUME_PWRITEV): Likewise.
412 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
413 (__ASSUME_F_GETOWN_EX): Define unconditionally.
414 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
415 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
416 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
417 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
418 (__ASSUME_O_CLOEXEC): Define unconditionally.
419 (__ASSUME_PSELECT): Do not undefine conditionally.
420 (__ASSUME_PPOLL): Likewise.
421 (__ASSUME_ATFCTS): Likewise.
422 (__ASSUME_SET_ROBUST_LIST): Likewise.
423 (__ASSUME_UTIMENSAT): Likewise.
424 (__ASSUME_FDATASYNC): Define unconditionally.
425 * sysdeps/unix/sysv/linux/arm/kernel-features.h
426 (__ASSUME_SIGFRAME_V2): Likewise.
427 )__ASSUME_EVENTFD2): Likewise.
428 (__ASSUME_SIGNALFD4): Likewise.
429 (__ASSUME_PSELECT): Do not undefine conditionally.
430 (__ASSUME_PPOLL): Likewise.
431 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
432 (__ASSUME_PSELECT): Define unconditionally.
433 (__ASSUME_PPOLL): Likewise.
434 (__ASSUME_O_CLOEXEC): Likewise.
435 (__ASSUME_SOCK_CLOEXEC): Likewise.
436 (__ASSUME_IN_NONBLOCK): Likewise.
437 (__ASSUME_PIPE2): Likewise.
438 (__ASSUME_EVENTFD2): Likewise.
439 (__ASSUME_SIGNALFD4): Likewise.
440 (__ASSUME_DUP3): Likewise.
441 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
442 (__ASSUME_O_CLOEXEC): Likewise.
443 (__ASSUME_SOCK_CLOEXEC): Likewise.
444 (__ASSUME_IN_NONBLOCK): Likewise.
445 (__ASSUME_PIPE2): Likewise.
446 (__ASSUME_EVENTFD2): Likewise.
447 (__ASSUME_SIGNALFD4): Likewise.
448 (__ASSUME_DUP3): Likewise.
449 * sysdeps/unix/sysv/linux/mips/kernel-features.h
450 (__ASSUME_EVENTFD2): Likewise.
451 (__ASSUME_SIGNALFD4): Likewise.
452 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
453
315eb1d8
AS
4542014-05-12 Andreas Schwab <schwab@suse.de>
455
456 [BZ #16932]
457 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
458 (_nss_nis_gethostbyname4_r): Return error if item length is larger
459 than maximum RPC packet size.
460 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
461 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
462 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
463 (_nss_nis_getservbyport_r): Likewise.
464
91df99f7
WN
4652014-05-12 Will Newton <will.newton@linaro.org>
466
467 * malloc/Makefile (tests): Add tst-mallopt.
468 * malloc/tst-mallopt.c: New file.
469
0a982a29
RM
4702014-05-09 Roland McGrath <roland@hack.frob.com>
471
472 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
473 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
474
0ded08a5
AZ
4752014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
476
477 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
478 (tst-tlsmod6.so): Likewise.
479
55d4d550
RM
4802014-05-09 Roland McGrath <roland@hack.frob.com>
481
482 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
483
77d08aca
JM
4842014-05-09 Joseph Myers <joseph@codesourcery.com>
485
486 [BZ #16064]
487 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
488 and <dl-procinfo.h>.
489 (__fegetenv): Save SSE state in envp->__eip if supported.
490 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
491 envp->__eip if supported.
492 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
493 and <dl-procinfo.h>.
494 (__fesetenv): Always set __eip, __cs_selector, __opcode,
495 __data_offset and __data_selector in environment to 0. Set SSE
496 state if supported.
497 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
498 test-fenv-sse.
499 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
500 -mfpmath=sse.
501 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
502
28162f4d
WN
5032014-05-09 Will Newton <will.newton@linaro.org>
504
505 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
506 and libc_relro_required for ARM.
507 * sysdeps/arm/preconfigure: Regenerate.
508
5a414ff7
DV
5092014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
510 Stefan Liebler <stli@linux.vnet.ibm.com>
511
512 * config.make.in (enable-lock-elision): New Makefile variable.
513 * configure.ac: Likewise.
514 * configure: Regenerate.
515 * sysdeps/s390/configure.ac:
516 Add check for gcc transactions support.
517 * sysdeps/s390/configure: Regenerate.
518 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
519 Build elision files if enabled.
520 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
521 Add lock elision support for s390.
522 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
523 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
524 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
525 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
526 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
527 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
528 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
529 Likewise.
530 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
531 Likewise.
532 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
533 Likewise.
534 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
535 Likewise.
536 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
537 (__lll_timedlock_elision, __lll_lock_elision)
538 (__lll_unlock_elision, __lll_trylock_elision)
539 (lll_timedlock_elision, lll_lock_elision)
540 (lll_unlock_elision, lll_trylock_elision): Add.
541 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
542 (pthread_mutex_t): Add lock elision support for s390.
543
f63c86fe
WN
5442014-05-09 Will Newton <will.newton@linaro.org>
545
546 * sysdeps/arm/armv7/strcmp.S: New file.
547 * NEWS: Mention addition of ARMv7 optimized strcmp.
548
7a1a51b5
RM
5492014-05-08 Roland McGrath <roland@hack.frob.com>
550
95afbbe5
RM
551 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
552 look for %.ac rather than %.in.
553
554 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
555 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
556 * sysdeps/mach/hurd/configure: Regenerated.
557 * sysdeps/unix/sysv/linux/configure: Regenerated.
558
7a1a51b5
RM
559 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
560
5057ad3b
SE
5612014-05-07 Steve Ellcey <sellcey@mips.com>
562
563 [BZ# 16922]
564 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
565 (LONG_SUB): Ditto.
566 (PTR_SUB): Ditto.
567
8dc97517
AS
5682014-05-07 Andreas Schwab <schwab@suse.de>
569
570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
571 when skipping over non-matching result from nscd.
572
ce0c5b8f
OB
5732014-05-07 Ondřej Bílka <neleai@seznam.cz>
574
575 [BZ #16876]
576 * nptl/sockperf.c (client): Check socket return value.
8dc97517 577
a1189263
OB
578 [BZ #16877]
579 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
580 nscd security class.
ce0c5b8f 581
0f58d252
RM
5822014-05-06 Roland McGrath <roland@hack.frob.com>
583
584 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
585 * sysdeps/arm/unwind.h: ... here.
586
83df9ad0
AJ
5872014-05-06 Aurelien Jarno <aurelien@aurel32.net>
588
ce0c5b8f
OB
589 [BZ# 16916]
590 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
591 Define.
83df9ad0 592
f360f94a
VR
5932014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
594
595 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
596 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
597 multiarch strncpy for PPC64.
598 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
599 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
601 multiarch optimizations.
602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
603 (__libc_ifunc_impl_list): Likewise.
604 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
605 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
606 multiarch stpncpy for PPC64.
607 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
608 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
609
978a41c3
AS
6102014-05-06 Andreas Schwab <schwab@suse.de>
611
612 [BZ #16912]
613 * gmon/mcount.c (_MCOUNT_DECL): Use
614 atomic_compare_and_exchange_bool_acq instead of
615 catomic_compare_and_exchange_bool_acq.
616
eb1ed03d
RM
6172014-05-05 Roland McGrath <roland@hack.frob.com>
618
fe658845
RM
619 * elf/Makefile (others, install-bin): Remove pldd.
620 (pldd-modules): Variable removed.
621 ($(objpfx)pldd): Target removed.
622 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
623 (others, install-bin): Append pldd here.
624 ($(objpfx)pldd): New target.
625
eb1ed03d
RM
626 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
627 to 0, so the first #if test emitted later doesn't see it undefined.
628 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
629 * sysdeps/gnu/errlist.c: Regenerated.
630
19c4bec0
AZ
6312014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
632
633 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
634 [libc_hidden_builtin_def]: Define to empty value.
635 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
636 [libc_hidden_builtin_def]: Likewise.
637 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
638 [libc_hidden_builtin_def]: Likewise.
639 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
640 [libc_hidden_builtin_def]: Likewise.
641 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
642 __redirect_memcpy and define ifunc as default hidden symbol.
643 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
644 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
645
7776e669
AC
6462014-05-04 Adam Conrad <adconrad@0c3.net>
647
648 * locale/iso-4217.def: Reintroduce XDR currency.
649
d69aeb12
AM
6502014-05-04 Allan McRae <allan@archlinux.org>
651
652 * po/eo.po: Update Esperanto translation from translation project.
653
8f1df5cf
CD
6542014-05-02 Carlos O'Donell <carlos@redhat.com>
655
656 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
657 and FEATURE_INDEX_MAX to 1.
658 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
659
13e402e7
SE
6602014-05-01 Steve Ellcey <sellcey@mips.com>
661
662 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
663 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
664 * iconvdata/big5.c (ONE_DIRECTION): Define.
665 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
666 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
667 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
668 * iconvdata/cp932.c (ONE_DIRECTION): Define.
669 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
670 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
671 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
672 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
673 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
674 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
675 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
676 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
677 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
678 * iconvdata/gbk.c (ONE_DIRECTION): Define.
679 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
680 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
681 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
682 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
683 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
684 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
685 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
686 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
687 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
688 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
689 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
690 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
691 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
692 * iconvdata/iso646.c (ONE_DIRECTION): Define.
693 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
694 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
695 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
696 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
697 * iconvdata/johab.c (ONE_DIRECTION): Define.
698 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
699 * iconvdata/sjis.c (ONE_DIRECTION): Define.
700 * iconvdata/t.61.c (ONE_DIRECTION): Define.
701 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
702 * iconvdata/tscii.c (ONE_DIRECTION): Define.
703 * iconvdata/uhc.c (ONE_DIRECTION): Define.
704 * iconvdata/unicode.c (ONE_DIRECTION): Define.
705 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
706 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
707 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
708
c727f032
RM
7092014-05-01 Roland McGrath <roland@hack.frob.com>
710
8f2f08d0
RM
711 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
712 (_IO_JUMPS_OFFSET): Define to 0.
713
c727f032
RM
714 * nptl/sysdeps/pthread/bits/libc-lock.h
715 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
716 (__libc_lock_define_initialized_recursive): Always define using
717 initializer. Modern compilers treat uninitialized (implicit zero) and
718 explicit zero initializers the same (i.e. put the datum in bss).
719
a849e800
AS
7202014-05-01 Andreas Schwab <schwab@linux-m68k.org>
721
722 * nscd/nscd-client.h: Include <string.h>.
723
5331255b
DM
7242014-05-01 David S. Miller <davem@davemloft.net>
725
726 [BZ #16885]
727 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
728 multiple zero bytes exist at the end of a string.
729 Reported by Aurelien Jarno <aurelien@aurel32.net>
730
731 * string/test-strcmp.c (check): Add explicit test for situations where
732 there are multiple zero bytes after the first.
733
4fdfe821
AS
7342014-05-01 Andreas Schwab <schwab@linux-m68k.org>
735
736 [BZ #16890]
737 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
738 when compiling wprintf.
739 * stdio-common/tstdiomisc.c (t3): New function.
740 (main): Call it.
741
0cdddc25
SE
7422014-05-01 Steve Ellcey <sellcey@mips.com>
743
744 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
745 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
746 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
747 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
748
6426d77e
SE
7492014-05-01 Steve Ellcey <sellcey@mips.com>
750
751 * stdlib/longlong.h: Updated from GCC.
752
6d96f5e4
WN
7532014-05-01 Will Newton <will.newton@linaro.org>
754 Bernard Ogden <bernie.ogden@linaro.org>
755
7470db0c
WN
756 * NEWS: Update fixed bug list.
757
6d96f5e4
WN
758 [BZ #15119]
759 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
760
211d653c
DM
7612014-04-30 David S. Miller <davem@davemloft.net>
762
4fa262fa
DM
763 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
764 (libc_feholdexcept_setround_sparc_ctx): New function.
765 (libc_fesetenv_sparc_ctx): Likewise.
766 (libc_feupdateenv_sparc_ctx): Likewise.
767 (libc_feholdsetround_sparc_ctx): Likewise.
768 (libc_feholdexcept_setround_ctx): Define.
769 (libc_feholdexcept_setroundf_ctx): Likewise.
770 (libc_feholdexcept_setroundl_ctx): Likewise.
771 (libc_fesetenv_ctx): Likewise.
772 (libc_fesetenvf_ctx): Likewise.
773 (libc_fesetenvl_ctx): Likewise.
774 (libc_feupdateenv_ctx): Likewise.
775 (libc_feupdateenvf_ctx): Likewise.
776 (libc_feupdateenvl_ctx): Likewise.
777 (libc_feresetround_ctx): Likewise.
778 (libc_feresetroundf_ctx): Likewise.
779 (libc_feresetroundl_ctx): Likewise.
780 (libc_feholdsetround_ctx): Likewise.
781 (libc_feholdsetroundf_ctx): Likewise.
782 (libc_feholdsetroundl_ctx): Likewise.
783
1d3d93ef
DM
784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
785 with __USE_GNU instead of XOPEN cpp guards.
786
8aa583c3
DM
787 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
788 0.
789
211d653c
DM
790 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
791 with XOPEN cpp guards.
792
60c8f1f6
JB
7932014-04-30 Julian Brown <julian@codesourcery.com>
794
795 [BZ #16888]
796 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
797 handling.
798
9a461d46
JM
7992014-04-30 Joseph Myers <joseph@codesourcery.com>
800
d0f5b3f8
JM
801 [BZ #9894]
802 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
803 Change to 2.6.32.
804 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
805 * sysdeps/unix/sysv/linux/configure: Regenerated.
806 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
807 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
808 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
809 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
810 * README: Update reference to required Linux kernel version.
811 * manual/install.texi (Linux): Update reference to required Linux
812 kernel headers version.
813 * INSTALL: Regenerated.
814
9a461d46
JM
815 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
816 header inclusion.
817 [POSIX] (limits.h): Likewise.
818 [POSIX] (math.h): Likewise.
819 [POSIX] (sys/wait.h): Likewise.
820 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
821 function.
822 [POSIX] (stddef.h): Do not allow header inclusion.
823
1775babf
AZ
8242014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
825
57f41c40 826 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 827
8f630cca
YY
8282014-04-30 Yang Yingliang <yangyingliang@huawei.com>
829
830 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
831 Return immediately after lll_futex_wake.
832
1cdeb237
SP
8332014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
834
bc8f194c
SP
835 [BZ #16791]
836 * nscd/nscd-client.h (datahead_init_common): Initialize entire
837 structure.
838 (datahead_init_pos): Call datahead_init_common early.
839 (datahead_init_neg): Likewise.
840
1cdeb237
SP
841 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
842 datahead_init_neg): New functions.
843 * nscd/aicache.c (addhstaiX): Use them.
844 * nscd/grpcache.c (cache_addgr): Likewise.
845 * nscd/hstcache.c (cache_addhst): Likewise.
846 * nscd/initgrcache.c (addinitgroupsX): Likewise.
847 * nscd/netgroupcache.c (do_notfound): Likewise.
848 (addgetnetgrentX): Likewise.
849 (addinnetgrX): Likewise.
850 * nscd/pwdcache.c (cache_addpw): Likewise.
851 * nscd/servicescache.c (cache_addserv): Likewise.
852
16b293a7
SP
8532014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
854 Atsushi Onoe <atsushi@onoe.org>
855
856 [BZ #14308]
857 [BZ #12994]
858 [BZ #13651]
859 * resolv/res_query.c (__libc_res_nsearch): Return if at least
860 one response is valid.
861 * resolv/res_send.c (send_dg): Check for validity of other
862 response if the current response is a referral.
863
a28a9b94
SE
8642014-04-29 Steve Ellcey <sellcey@mips.com>
865
866 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
867
2ca180e9
SL
8682014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
869
870 [BZ #16823]
871 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
872 Always divide by positive zero when computing -Inf result.
873 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
874 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
875
18f2945a
AZ
8762014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
877
878 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
879 FPSCR if value do not change.
880 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
881 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
882 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
883 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
884 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
885 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
886 function.
887
5abebba4
CD
8882014-05-29 Carlos O'Donell <carlos@systemhalted.org>
889
890 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
891 * sysdeps/unix/sysv/linux/hppa: Move directory from
892 ports/systeps/unix/sysv/linux/hppa.
893 * README: Update listing for hppa-*-linux-gnu.
894
f7ed60c2
OB
8952014-04-28 Ondřej Bílka <neleai@seznam.cz>
896
fff763a5
OB
897 [BZ #16754]
898 * manual/stdio.texi (Hook functions): Fix types of stream hook
899 functions.
f7ed60c2
OB
900 [BZ #16854]
901 * socket/sys/socket.h: Fix typo in comment.
902
df639d73
WD
9032014-04-28 Wilco <wdijkstr@arm.com>
904
f7ed60c2 905 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
906 * sysdeps/arm/math_private.h: New file.
907 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
908
48332d82
L
9092014-04-25 H.J. Lu <hongjiu.lu@intel.com>
910
911 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
912 with __int128_t.
913 (La_x86_64_retval): Likewise.
914
e5e0d9a4
IB
9152014-04-24 Ian Bolton <ian.bolton@arm.com>
916
917 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
918 fpsr if value didn't change.
919 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
920 to fpcr if value didn't change.
921 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
922 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
923 fpsr or fpcr if value didn't change.
924 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
925 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
926 fpcr if value didn't change.
927 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
928 to fpsr if value didn't change.
929
bacc75f7
SP
9302014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
931
932 * nptl/tst-sem3.c: Use test-skeleton.c
933 (main): Rename to do_test. Use return instead of
934 exit.
935 * nptl/tst-sem4.c: Use test-skeleton.c
936 (main): Rename to do_test.
937
a059d359
DM
9382014-04-22 David S. Miller <davem@davemloft.net>
939
940 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
941 (struct sigaction): New struct member __glibc_reserved0, change
942 type of sa_flags to int.
943
ea6c92f3
YZ
9442014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
945
946 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
947 (COUNT_LEADING_ZEROS_0): Define for AArch64.
948
766c4a36
SP
9492014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
950
951 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
952 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
953
140cc7ab
VK
9542014-04-22 Will Newton <will.newton@linaro.org>
955 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
956
957 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
958 (__longjmp): Add longjmp and longjmp_target SystemTap
959 probes.
960 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
961 (__sigsetjmp): Add setjmp SystemTap probe.
962
c54e5cf7
CD
9632014-04-17 Carlos O'Donell <carlos@redhat.com>
964
965 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
966 match manual order.
967
75ffb047
AZ
9682014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
969
970 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
971
2cd925f7
AZ
972 * sysdeps/powerpc/fpu/fenv_private.h
973 (libc_feholdexcept_setroundl_ctx): Define to
974 libc_feholdexcept_setround_ppc_ctx.
975 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
976 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
977 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
978 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
979
39e6cd8d
IB
9802014-04-17 Ian Bolton <ian.bolton@arm.com>
981
982 * sysdeps/aarch64/math-tests.h: New file.
983
f9281df9
SY
9842014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
985
986 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
987 New.
988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
989 Check and set bit_AVX2_Usable.
990 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
991 macro.
992 (bit_AVX2): Likewise.
993 (index_AVX2_Usable): Likewise.
994 (CPUID_AVX2): Likewise.
995 (HAS_AVX2): Likewise.
996
37d35007
WN
9972014-04-17 Will Newton <will.newton@linaro.org>
998
7c677662
WN
999 * manual/setjmp.texi (System V contexts): Add note that
1000 calling setcontext on a context created by a call to a
1001 signal handler is undefined. Update text to note that
1002 setcontext from a signal handler is possible but not
1003 recommended.
1004
37d35007 1005 [BZ #16629]
e04a4e9d
WN
1006 * stdlib/tst-setcontext.c: Include signal.h.
1007 (main): Check that the signal stack before and
1008 after swapcontext is the same.
1009
37d35007
WN
1010 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1011 Re-implement to restore registers in user code and avoid
1012 rt_sigreturn system call.
1013
423a7160
W
10142014-04-17 Wilco <wdijkstr@arm.com>
1015
1016 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1017 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1018 * math/test-fenv.c: Skip exception trap tests on targets which only
1019 support non-stop mode.
1020
bc93ab29
IB
10212014-04-17 Ian Bolton <ian.bolton@arm.com>
1022 Wilco Dijkstra <wilco.dijkstra@arm.com>
1023
1024 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1025 (libc_feholdsetround_aarch64_ctx)
1026 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1027 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1028 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1029 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1030 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1031 (libc_feresetround_noexl_ctx): Define.
1032
95fc5fa3
RH
10332014-04-16 Richard Henderson <rth@redhat.com>
1034
ddb04724
RH
1035 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1036
d77c0899
RH
1037 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1038 unwind tables.
1039
a3df56fc
RH
1040 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1041 const from the non-libc, non-ldso copy.
1042
95fc5fa3
RH
1043 * sysdeps/alpha/libm-test-ulps: Regenerate.
1044
7e0b6763
IB
10452014-04-16 Ian Bolton <ian.bolton@arm.com>
1046 Wilco Dijkstra <wilco.dijkstra@arm.com>
1047
1048 * sysdeps/aarch64/fpu/math_private.h: New file.
1049
a9ea2e0c
MS
10502014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1051
1052 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1053
ea8ba7cd
IZ
10542014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1055
1056 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1057 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1058 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1059 Intel MPX bound registers before _dl_profile_fixup.
1060 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1061 registers after _dl_profile_fixup. Save and restore bound
1062 registers bnd0/bnd1 when calling _dl_call_pltexit.
1063 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1064 (LR_BND_OFFSET): Likewise.
1065 (LRV_BND0_OFFSET): Likewise.
1066 (LRV_BND1_OFFSET): Likewise.
1067
9f2a4fbc
ST
10682014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1069
1070 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1071 to...
1072 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1073 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1074 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1075 fields.
9f2a4fbc 1076
fd15a59b
ST
10772014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1078
1079 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1080
f19dfa0a
SL
10812014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1082
1083 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1084
4fa8bc3b
SL
10852014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1086
1087 [BZ #14770]
1088 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1089 * sysdeps/s390/configure: Regenerate.
1090
8ea587db
SL
1091 [BZ #16824]
1092 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1093 Set round-to-nearest internally to reduce error accumulation.
1094
aa5f0ff1
AM
10952014-04-16 Alan Modra <amodra@gmail.com>
1096
1097 [BZ #16740]
1098 [BZ #16619]
1099 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1100 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 1101 * NEWS: Update fixed bug list.
aa5f0ff1 1102
bb9c256f
SP
11032014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1104
1105 * benchtests/Makefile: Depend on libraries in build directory.
1106 (bench-math): Separate out math tests.
1107 (bench-pthread): Separate out pthread tests.
1108 (bench): Include math and pthread tests.
1109
f737dfd0
CD
11102014-04-14 Carlos O'Donell <carlos@redhat.com>
1111
1112 [BZ #16831]
1113 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1114 _dl_debug_initialize.
1115
0699f766
CD
1116 * configure.ac: Remove SELinux header check.
1117 * configure: Regenerate.
1118 * nscd/selinux.c (perms): Array of const char* to permission names.
1119 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1120 default policy. Call string_to_security_class and string_to_av_perm to
1121 translate strings. Enforce default policy and call avs_has_perm with
1122 results of translated strings.
1123
809bd45f
DM
11242014-04-13 David S. Miller <davem@davemloft.net>
1125
1126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1127
89e691f2
AM
11282014-04-12 Allan McRae <allan@archlinux.org>
1129
1130 [BZ #16838]
1131 * manual/string.texi (Collation Functions): Fix qsort argument
1132 order in example.
1133 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1134
9c9daaeb
CM
11352014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1136
1137 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1138 Make the test a no-op if there are no exceptions defined.
1139
95561fb9
PP
11402014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1141
fe8d072c 1142 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
1143 enable-hardcoded-path-in-tests
1144
970c602a
WN
11452014-04-11 Will Newton <will.newton@linaro.org>
1146
1147 * benchtests/Makefile (extra-objs): Add json-lib.o.
1148 (bench-func): Tidy up JSON output.
1149 * benchtests/bench-skeleton.c: Include json-lib.h.
1150 (main): Use JSON library functions to do output of
1151 benchmark results.
1152 * benchtests/bench-timing-type.c (main): Output the
1153 timing type simply, leaving formatting to the user.
1154 * benchtests/json-lib.c: New file.
1155 * benchtests/json-lib.h: Likewise.
1156
36875b06
TR
11572014-04-11 Torvald Riegel <triegel@redhat.com>
1158
1159 [BZ #15215]
1160 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1161 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1162 memory barriers. Add comments.
1163 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1164 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1165 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1166 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1167 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1168 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1169
579db35a
SL
11702014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1171
1172 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1173 * sysdeps/s390/s390-64/configure.ac: ... this ...
1174 * sysdeps/s390/configure.ac: ... to here.
1175 * sysdeps/s390/s390-32/configure: Delete file.
1176 * sysdeps/s390/s390-64/configure: Delete file.
1177 * sysdeps/s390/configure: Regenerate.
1178
c12e9f37
JAPH
11792014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1180
1181 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1182
439bda32
WN
11832014-04-11 Will Newton <will.newton@linaro.org>
1184
1185 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1186 to zero if it is not defined elsewhere. (mtrim): Test
1187 the value of MALLOC_DEBUG with #if rather than #ifdef.
1188
6a5d6ea1
TR
11892014-04-10 Torvald Riegel <triegel@redhat.com>
1190
1191 * benchtests/pthread_once-inputs: New file.
1192 * benchtests/pthread_once-source.c: New file.
1193 * benchtests/README: Update documentation.
1194
a4c75cfd
IZ
11952014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1196 H.J. Lu <hongjiu.lu@intel.com>
1197
1198 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1199 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1200 * sysdeps/x86_64/configure: Regenerated.
1201 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1202 macro.
1203 (REGISTER_SAVE_RAX): Likewise.
1204 (REGISTER_SAVE_RCX): Likewise.
1205 (REGISTER_SAVE_RDX): Likewise.
1206 (REGISTER_SAVE_RSI): Likewise.
1207 (REGISTER_SAVE_RDI): Likewise.
1208 (REGISTER_SAVE_R8): Likewise.
1209 (REGISTER_SAVE_R9): Likewise.
1210 (REGISTER_SAVE_BND0): Likewise.
1211 (REGISTER_SAVE_BND1): Likewise.
1212 (REGISTER_SAVE_BND2): Likewise.
1213 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1214 bound registers when calling _dl_fixup.
1215
27822ce6
AZ
12162014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217
1218 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1219 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1220 of its definition.
27822ce6
AZ
1221 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1222 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1223 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1224 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1225 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1226 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1227 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1228
a88ddc90
PTB
12292014-04-09 Peter Brett <peter@peter-b.co.uk>
1230
1231 [BZ #15514]
1232 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1233 pathconf(_PC_NAME_MAX).
1234
01f8eac2
AZ
12352014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1236
1237 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1238 Remove macro usage.
1239 (__PTHREAD_SPINS): Move definition to ...
1240 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1241 (__PTHREAD_SPINS): ... here.
1242 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1243 (__PTHREAD_SPIN): Likewise.
1244 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1245 (__PTHREAD_SPIN): Likewise.
1246 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1247 (__PTHREAD_SPIN): Likewise.
1248 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1249 (__PTHREAD_SPIN): Likewise.
1250 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1251 (__PTHREAD_SPIN): Likewise.
1252 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1253 (__PTHREAD_SPIN): Likewise.
1254 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1255 (__PTHREAD_SPIN): Likewise.
1256 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1257 (__PTHREAD_SPIN): Likewise.
1258 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1259 (__PTHREAD_SPIN): Likewise.
1260 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1261 (__PTHREAD_SPIN): Likewise.
1262 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1263 (__PTHREAD_SPIN): Likewise.
1264 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1265 (__PTHREAD_SPIN): Likewise.
1266
de21c33c
AZ
1267 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1268 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1269 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1270 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1271 imply folder.
1272 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1273 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1274 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1275 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1276 correct imply path.
1277 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1278 strlen symbol for non multi-arch builds.
1279 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1280 missing hidden_def and weak_alias.
1281
862c472e
CD
12822014-04-08 Carlos O'Donell <carlos@redhat.com>
1283
1284 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1285
8667f90e
WN
12862014-04-07 Will Newton <will.newton@linaro.org>
1287
1288 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1289 and contents. [!_LIBC] Remove #ifndef and contents.
1290 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1291 * string/memccpy.c (__memccpy): Use ANSI prototype.
1292 * string/memfrob.c (memfrob): Likewise.
1293 * string/strcoll.c (STRCOLL): Likewise.
1294 * string/strlen.c (strlen): Likewise.
1295 * string/strtok.c (STRTOK): Likewise.
1296 * string/strcat.c: Remove unused #include of memcopy.h.
1297 (strcat): Use ANSI prototype.
1298 * string/strchr.c: Remove unused #include of memcopy.h.
1299 (strchr): Use ANSI prototype.
1300 * string/strcmp.c: Remove unused #include of memcopy.h.
1301 (strcmp): Use ANSI prototype.
1302 * string/strcpy.c: Remove unused #include of memcopy.h.
1303 (strcpy): Use ANSI prototype.
1304
7ffa9423
AZ
13052014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306
1307 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1308 * config.make.in (config-extra-cppflags): Set it from
1309 libc_extra_cppflags.
1310 * configure.ac (libc_extra_cflags): Make it accumulate over
1311 configure fragments.
1312 (libc_extra_cppflags): New flag.
1313 * configure. Regenerate.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
1315 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1316 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1318
8bd70862
AZ
1319 [BZ #16815]
1320 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1321 result for FE_DOWNWARD rounding mode.
1322 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1323 Likewise.
1324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1325
d42f3448
CM
13262014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1327
1328 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1329 in function argument name.
1330
1c21d115
DS
13312014-04-03 David Svoboda <svoboda@cert.org>
1332
1333 [BZ #5666]
1334 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1335 explicitly.
1336
fcccd512
RM
13372014-04-03 Roland McGrath <roland@hack.frob.com>
1338
1339 * elf/dl-unmap-segments.h: New file.
1340 * sysdeps/generic/ldsodefs.h
1341 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1342 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1343 * elf/dl-fptr.c: Likewise.
1344 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1345 * sysdeps/aarch64/tlsdesc.c: Likewise.
1346 * sysdeps/arm/tlsdesc.c: Likewise.
1347 * sysdeps/i386/tlsdesc.c: Likewise.
1348 * sysdeps/tile/dl-runtime.c: Likewise.
1349 * sysdeps/x86_64/tlsdesc.c: Likewise.
1350 * elf/dl-load.h: New file.
1351 * elf/dl-load.c: Include it.
1352 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1353 Macros moved to dl-load.h.
1354 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1355 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1356 Use _dl_unmap_segments in place of __munmap.
1357 Break out segment-mapping loop into ...
1358 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1359
f6488e2b
WN
13602014-04-03 Will Newton <will.newton@linaro.org>
1361
1362 * elf/dl-lookup.c (do_lookup_x): Remove comment
1363 referring to nested function and move variable
1364 declarations down to before first use.
1365
6f05bafe
JM
13662014-04-02 Joseph Myers <joseph@codesourcery.com>
1367
a84e78c8
JM
1368 [BZ #16799]
1369 [BZ #16800]
1370 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1371 with 0 numerator.
1372 * math/s_catanf.c (__catanf): Likewise.
1373 * math/s_catanh.c (__catanh): Likewise.
1374 * math/s_catanhf.c (__catanhf): Likewise.
1375 * math/s_catanhl.c (__catanhl): Likewise.
1376 * math/s_catanl.c (__catanl): Likewise.
1377 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1378 by positive zero when computing -Inf result.
1379 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1380 (catanh_test): Likewise.
1381 * sysdeps/i386/fpu/libm-test-ulps: Update.
1382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1383
6f05bafe
JM
1384 [BZ #16789]
1385 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1386 instead of using underflowing value in computing result.
1387 * math/s_clog10.c (__clog10): Likewise.
1388 * math/s_clog10f.c (__clog10f): Likewise.
1389 * math/s_clog10l.c (__clog10l): Likewise.
1390 * math/s_clogf.c (__clogf): Likewise.
1391 * math/s_clogl.c (__clogl): Likewise.
1392 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1393 (clog10_test): Likewise.
1394 * sysdeps/i386/fpu/libm-test-ulps: Update.
1395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1396
b0abbc21
AM
13972014-04-02 Alan Modra <amodra@gmail.com>
1398
1399 [BZ #16739]
1400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1401 output when value is near a power of two. Use int64_t for lx and
1402 remove casts. Use decimal rather than hex exponent constants.
1403 Don't use long double multiplication when double will suffice.
1404 * math/libm-test.inc (nextafter_test_data): Add tests.
1405 * NEWS: Add 16739 and 16786 to bug list.
1406
af6b1797
AM
1407 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1408
483818d7
AM
1409 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1410
f6c55796
WN
14112014-04-01 Will Newton <will.newton@linaro.org>
1412
1413 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1414 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1415
13f7fe35
FW
14162014-04-01 Florian Weimer <fweimer@redhat.com>
1417
1418 [BZ #13347]
1419 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1420 * nptl/tst-setuid2.c: New file.
1421 * nptl/Makefile (xtests): Add tst-setuid2.
1422
c859b32e
AM
14232014-04-01 Alan Modra <amodra@gmail.com>
1424
1425 [BZ #16786]
1426 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1427
54fa2475
JM
14282014-03-31 Joseph Myers <joseph@codesourcery.com>
1429
8795b4a4
JM
1430 [BZ #6803]
1431 [BZ #6804]
1432 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1433 set errno as appropriate.
1434 * math/w_scalbf.c (__scalbf): Likewise.
1435 * math/w_scalbl.c (__scalbl): Likewise.
1436 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1437 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1438 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1439 Add more NaN tests.
1440
54fa2475
JM
1441 [BZ #16349]
1442 * math/w_atan2.c: Include <errno.h>.
1443 (__atan2): Set errno for result underflowing to zero.
1444 * math/w_atan2f.c: Include <errno.h>.
1445 (__atan2f): Set errno for result underflowing to zero.
1446 * math/w_atan2l.c: Include <errno.h>.
1447 (__atan2l): Set errno for result underflowing to zero.
1448 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1449 tests.
1450 * math/auto-libm-test-out: Regenerated.
1451
757d9dd5
AZ
14522014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1455 Encode instruction correctly in little endian.
1456 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1457 Likewise.
1458 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1459 Likewise.
1460 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1461 Likewise.
1462 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1463 Likewise.
1464
d7a68734
JM
14652014-03-31 Joseph Myers <joseph@codesourcery.com>
1466
47c5adeb
JM
1467 [BZ #9894]
1468 * sysdeps/unix/sysv/linux/kernel-features.h
1469 [__sparc__ && !__arch64__ && !__sparc_v9__]
1470 (__ASSUME_SET_ROBUST_LIST): Do not define.
1471 [__sparc__ && !__arch64__ && !__sparc_v9__]
1472 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1473 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1474 Likewise.
1475 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1476 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1477 (__ASSUME_REQUEUE_PI): Likewise.
1478 (__ASSUME_SET_ROBUST_LIST): Likewise.
1479 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1480 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1481 Undefine.
1482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1483 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1484 Likewise.
1485 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1486 Likewise.
1487 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1488 Likewise.
1489 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1490 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1491 Undefine.
1492 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1493 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1494 Likewise.
1495
d7a68734
JM
1496 [BZ #16648]
1497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1498 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1499 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1500
c760f5c2
WN
15012014-03-31 Will Newton <will.newton@linaro.org>
1502
1503 * benchtests/Makefile (bench): Add ffs and ffsll to list
1504 of tests.
1505 * benchtests/ffs-inputs: New file.
1506 * benchtests/ffsll-inputs: Likewise.
1507
ea6029b1
JM
15082014-03-29 Joseph Myers <joseph@codesourcery.com>
1509
1510 [BZ #16770]
1511 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1512 too large before casting to int.
1513 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1514 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1515 * math/libm-test.inc (scalb_test_data): Add more tests.
1516
cf806aff
SP
15172014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1518
56737508
SP
1519 * benchtests/Makefile (DETAILED_OPT): New make option.
1520 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1521 set.
1522 * benchtests/bench-skeleton.c: Include stdbool.h.
1523 (main): Store and print timings per input.
1524 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1525 member to each argument value.
1526 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1527 (_print_arg_data): Initialize per-input timing to 0.
1528
cb5e4aad
SP
1529 * benchtests/Makefile (timing-type): New binary.
1530 (bench-clean): Also remove bench-timing-type.
1531 (bench): New target for timing-type.
1532 (bench-func): Print output in JSON format.
1533 * benchtests/bench-skeleton.c (main): Print output in JSON
1534 format.
1535 * benchtests/bench-timing-type.c: New file.
1536 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1537 (TIMING_PRINT_STATS): Remove.
1538 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1539 name separately.
1540
cf806aff
SP
1541 * benchtests/bench-modf.c: Remove.
1542 * benchtests/modf-inputs: New inputs file.
1543
289e0779
JM
15442014-03-28 Joseph Myers <joseph@codesourcery.com>
1545
1546 [BZ #16362]
1547 * math/s_clog10.c (M_PI_LOG10E): New macro.
1548 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1549 imaginary parts are 0.
1550 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1551 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1552 imaginary parts are 0.
1553 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1554 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1555 imaginary parts are 0.
1556 * math/libm-test.inc (clog10_test_data): Update expected results
1557 for when real and imaginary parts are 0.
1558
277ae3f1
PP
15592014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1560
1561 * elf/dl-load.c: Finish conversion of __builtin_expect into
1562 __glibc_{un}likely.
1563
03a7091f
JM
15642014-03-27 Joseph Myers <joseph@codesourcery.com>
1565
1566 [BZ #16348]
1567 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1568 1+x for argument with exponent below -67.
1569 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1570 Likewise.
1571 * math/auto-libm-test-in: Add more tests of exp.
1572 * math/auto-libm-test-out: Regenerated.
1573
ea7d8b95
SP
15742014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1575
dd3022d7
SP
1576 [BZ #16759]
1577 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1578 (nscd_getnetgrent): Use it.
1579
ea7d8b95
SP
1580 [BZ #16760]
1581 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1582 of stpcpy.
1583
df5b85da
AK
15842014-03-27 Andi Kleen <ak@linux.intel.com>
1585
57f41c40
AS
1586 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1587 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1588 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1589 (lll_robust_unlock): Remove out of line section. Use cfi
1590 intrinsics.
df5b85da 1591 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
1592 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1593 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1594 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1595 (lll_robust_unlock): Remove out of line section. Use cfi
1596 intrinsics.
df5b85da
AK
1597 (LLL_STUB_UNWIND_INFO*): Remove.
1598
fbd6b5a4
SP
15992014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1600
1601 [BZ #16758]
1602 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1603 blank values.
1604
1b26b855
PP
16052014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1606
1607 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1608
9be36fb8
JM
16092014-03-26 Joseph Myers <joseph@codesourcery.com>
1610
1611 [BZ #16198]
1612 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1613 fnstenv.
1614 * math/test-fenv-preserve.c: New file.
1615 * math/Makefile (tests): Add test-fenv-preserve.
1616
60a2f3c1
WN
16172014-03-26 Will Newton <will.newton@linaro.org>
1618
1619 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1620
a5e5f1e2
RM
16212014-03-25 Roland McGrath <roland@hack.frob.com>
1622
1623 * scripts/versionlist.awk: Partition the version sets and emit all
1624 GLIBC_* (sorted) before all others (sorted).
1625
00f4012a
JM
16262014-03-25 Joseph Myers <joseph@codesourcery.com>
1627
1628 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1629 GLIBC_2.2.5 version.
1630
7bc5a741
AZ
16312014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1632
1633 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1634 calls.
1635
7578473b
AZ
1636 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1637 previous change.
1638
f3f1dab3
AZ
1639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1640
6da36183
AS
16412014-03-25 Andreas Schwab <schwab@suse.de>
1642
1643 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1644 label to be used after in6ailist is initialized.
1645
f3f1dab3 16462014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1647
7578473b 1648 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1649 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1650
046651c1
JM
16512014-03-25 Joseph Myers <joseph@codesourcery.com>
1652
1653 [BZ #16357]
1654 [BZ #16599]
1655 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1656 min_plus_half.
1657 (fp_formats): Update initializers.
1658 (init_fp_formats): Initialize new field.
1659 (output_for_one_input_case): Allow underflow for results up to
1660 min_plus_half.
1661 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1662 * math/auto-libm-test-in: Don't mark some underflows from asin and
1663 atanh as spurious.
1664 * math/auto-libm-test-out: Regenerated.
1665 * sysdeps/i386/fpu/libm-test-ulps: Update.
1666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1667
003e49ed
AS
16682014-03-25 Andreas Schwab <schwab@suse.de>
1669
1670 * libio/Makefile (tst-ftell-partial-wide-ENV)
1671 (tst-ftell-active-handler-ENV): Define.
1672
de031874
SL
16732014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1674
1675 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1676
55a81e3b
PP
16772014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1678
1679 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1680
f3426898
JM
16812014-03-24 Joseph Myers <joseph@codesourcery.com>
1682
1683 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1684 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1685 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1686
a42faf59
PP
16872014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1688
1689 [BZ #16634]
a42faf59 1690 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1691 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1692 (open_path): Change from boolean 'secure' to complete flag 'mode'
1693 (_dl_map_object): Adjust.
a42faf59
PP
1694 * elf/Makefile (tests): Add tst-dlopen-aout.
1695 * elf/tst-dlopen-aout.c: New test.
1696
50936127
SL
16972014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1698
1699 [BZ #16714]
1700 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1701 (struct stat): Rename member pad0 to __glibc_reserved0.
1702
26011b5c
SL
1703 [BZ #16712]
1704 * sysdeps/s390/s390-32/bits/wordsize.h
1705 (__WORDSIZE32_SIZE_ULONG): New define.
1706 * sysdeps/s390/s390-64/bits/wordsize.h
1707 (__WORDSIZE32_SIZE_ULONG): Likewise.
1708 * sysdeps/generic/stdint.h (SIZE_MAX):
1709 Define as UL if __WORDSIZE32_SIZE_ULONG.
1710
a2d86bf1
SL
1711 [BZ #16713]
1712 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1713 (__glibc_reserved0): New variable.
1714 (sa_flags): Change type to int.
1715
78b6eebc
SL
1716 * posix/Makefile (before-compile): Use += before-compile instead
1717 of a :=.
1718
f1399b5a
SL
1719 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1720 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1721
a071766e
AS
17222014-03-20 Andreas Schwab <schwab@suse.de>
1723
1724 [BZ #16743]
1725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1726 non-matching result from nscd.
1727
27c673b8
SP
17282014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1729
1730 * scripts/bench.py: Moved to ...
1731 * benchtests/scripts/bench.py: ... here.
1732 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1733
44152e4b
AS
17342014-03-24 Andreas Schwab <schwab@suse.de>
1735
1736 [BZ #16002]
1737 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1738 alloca_account and account alloca use for struct in6ailist.
1739
b376a11a
JM
17402014-03-24 Joseph Myers <joseph@codesourcery.com>
1741
1742 [BZ #16284]
1743 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1744 rounding mode to recompute results that overflow to infinity or
1745 underflow to zero.
1746 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1747 bug 16284.
1748 * math/auto-libm-test-out: Regenerated.
1749 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1750 (ccosh_test): Likewise.
1751 (csin_test_data): Use plus_oflow.
1752 (csin_test): Use ALL_RM_TEST.
1753 (csinh_test_data): Use plus_oflow.
1754 (csinh_test): Use ALL_RM_TEST.
1755 * sysdeps/i386/fpu/libm-test-ulps: Update.
1756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1757
f7be7376
JM
17582014-03-21 Joseph Myers <joseph@codesourcery.com>
1759
1ca2d03e
JM
1760 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1761 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1762 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1763
f7be7376
JM
1764 [BZ #16731]
1765 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1766 when x - 1 is zero.
1767 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1768 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1769 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1770 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1771 argument is 1.
1772 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1773 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1774 zero.
1775 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1776 * sysdeps/i386/fpu/libm-test-ulps: Update.
1777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1778
fdf4534d
SP
17792014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1780
df26ea53
SP
1781 * scripts/bench.pl: Remove file.
1782 * scripts/bench.py: New benchmark script.
1783 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1784 * benchtests/README: Mention python dependency.
1785 * scripts/pylintrc: New file.
1786 * scripts/pylint: New file.
1787
fdf4534d
SP
1788 * bits/mathdef.h: Use #ifdef instead of #if.
1789 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1790 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1791 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1792 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1793 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1794 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1795
6f23d093
AZ
17962014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1797 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1798
1799 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1801 and strpbrk-ppc64 objects.
1802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1803 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1804 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1805 multiarch strpbrk for POWER7.
1806 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1807 multiarch strpbrk for PPC64.
1808 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1809 ifunc selector.
1810 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1811 strpbrk for POWER7.
1812
8c92dfff
JM
18132014-03-20 Joseph Myers <joseph@codesourcery.com>
1814
1815 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1816 (atan_test): Likewise.
1817 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1818 (atanh_test): Use ALL_RM_TEST.
1819 (atan2_test_data): Likewise.
1820 (cabs_test): Likewise.
1821 (cacosh_test): Likewise.
1822 (carg_test): Likewise.
1823 (casin_test): Likewise.
1824 (casinh_test): Likewise.
1825 (cbrt_test): Likewise.
1826 (csqrt_test): Likewise.
1827 (erf_test): Likewise.
1828 (erfc_test): Likewise.
1829 (pow10_test): Likewise.
1830 (exp2_test): Likewise.
1831 (hypot_test): Likewise.
1832 (j0_test): Likewise.
1833 (j1_test): Likewise.
1834 (lgamma_test): Likewise.
1835 (gamma_test): Likewise.
1836 (sincos_test): Likewise.
1837 (tanh_test): Likewise.
1838 (y0_test): Likewise.
1839 (y1_test): Likewise.
1840 * sysdeps/i386/fpu/libm-test-ulps: Update.
1841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1842
6eaf95cb
AZ
18432014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1844
a387428c
SP
1845 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1847 and strcspn-ppc64 objects.
1848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1849 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1850 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1851 multiarch strcspn for POWER7.
1852 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1853 multiarch strcspn for PPC64.
1854 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1855 ifunc selector.
1856 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1857 strcspn for POWER7.
1858
ae3a5dff
JM
18592014-03-20 Joseph Myers <joseph@codesourcery.com>
1860
1861 * math/gen-libm-test.pl (generate_testfile): Expect only function
1862 name as argument to AUTO_TESTS_* and pass results for all rounding
1863 modes to parse_args.
1864 (parse_auto_input): Separate inputs of automatic tests from
1865 outputs before storing in %auto_tests.
1866 * math/libm-test.inc (acos_test_data): Update call to
1867 AUTO_TESTS_f_f.
1868 (acos_test): Use ALL_RM_TEST.
1869 (acos_tonearest_test_data): Remove.
1870 (acos_test_tonearest): Likewise.
1871 (acos_towardzero_test_data): Likewise.
1872 (acos_test_towardzero): Likewise.
1873 (acos_downward_test_data): Likewise.
1874 (acos_test_downward): Likewise.
1875 (acos_upward_test_data): Likewise.
1876 (acos_test_upward): Likewise.
1877 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1878 (asin_test_data): Likewise.
1879 (asin_test): Use ALL_RM_TEST.
1880 (asin_tonearest_test_data): Remove.
1881 (asin_test_tonearest): Likewise.
1882 (asin_towardzero_test_data): Likewise.
1883 (asin_test_towardzero): Likewise.
1884 (asin_downward_test_data): Likewise.
1885 (asin_test_downward): Likewise.
1886 (asin_upward_test_data): Likewise.
1887 (asin_test_upward): Likewise.
1888 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1889 (atan_test_data): Likewise.
1890 (atanh_test_data): Likewise.
1891 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1892 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1893 (carg_test_data): Likewise.
1894 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1895 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1896 (ccosh_test_data): Likewise.
1897 (cexp_test_data): Likewise.
1898 (clog_test_data): Likewise.
1899 (clog10_test_data): Likewise.
1900 (cos_test_data): Update call to AUTO_TESTS_f_f.
1901 (cos_test): Use ALL_RM_TEST.
1902 (cos_tonearest_test_data): Remove.
1903 (cos_test_tonearest): Likewise.
1904 (cos_towardzero_test_data): Likewise.
1905 (cos_test_towardzero): Likewise.
1906 (cos_downward_test_data): Likewise.
1907 (cos_test_downward): Likewise.
1908 (cos_upward_test_data): Likewise.
1909 (cos_test_upward): Likewise.
1910 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1911 (cosh_test): Use ALL_RM_TEST.
1912 (cosh_tonearest_test_data): Remove.
1913 (cosh_test_tonearest): Likewise.
1914 (cosh_towardzero_test_data): Likewise.
1915 (cosh_test_towardzero): Likewise.
1916 (cosh_downward_test_data): Likewise.
1917 (cosh_test_downward): Likewise.
1918 (cosh_upward_test_data): Likewise.
1919 (cosh_test_upward): Likewise.
1920 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1921 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1922 (ctan_test_data): Likewise.
1923 (ctan_test): Use ALL_RM_TEST.
1924 (ctan_tonearest_test_data): Remove.
1925 (ctan_test_tonearest): Likewise.
1926 (ctan_towardzero_test_data): Likewise.
1927 (ctan_test_towardzero): Likewise.
1928 (ctan_downward_test_data): Likewise.
1929 (ctan_test_downward): Likewise.
1930 (ctan_upward_test_data): Likewise.
1931 (ctan_test_upward): Likewise.
1932 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1933 (ctanh_test): Use ALL_RM_TEST.
1934 (ctanh_tonearest_test_data): Remove.
1935 (ctanh_test_tonearest): Likewise.
1936 (ctanh_towardzero_test_data): Likewise.
1937 (ctanh_test_towardzero): Likewise.
1938 (ctanh_downward_test_data): Likewise.
1939 (ctanh_test_downward): Likewise.
1940 (ctanh_upward_test_data): Likewise.
1941 (ctanh_test_upward): Likewise.
1942 (erf_test_data): Update call to AUTO_TESTS_f_f.
1943 (erfc_test_data): Likewise.
1944 (exp_test_data): Likewise.
1945 (exp_test): Use ALL_RM_TEST.
1946 (exp_tonearest_test_data): Remove.
1947 (exp_test_tonearest): Likewise.
1948 (exp_towardzero_test_data): Likewise.
1949 (exp_test_towardzero): Likewise.
1950 (exp_downward_test_data): Likewise.
1951 (exp_test_downward): Likewise.
1952 (exp_upward_test_data): Likewise.
1953 (exp_test_upward): Likewise.
1954 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1955 (exp10_test): Use ALL_RM_TEST.
1956 (exp10_tonearest_test_data): Remove.
1957 (exp10_test_tonearest): Likewise.
1958 (exp10_towardzero_test_data): Likewise.
1959 (exp10_test_towardzero): Likewise.
1960 (exp10_downward_test_data): Likewise.
1961 (exp10_test_downward): Likewise.
1962 (exp10_upward_test_data): Likewise.
1963 (exp10_test_upward): Likewise.
1964 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1965 (expm1_test_data): Likewise.
1966 (expm1_test): Use ALL_RM_TEST.
1967 (expm1_tonearest_test_data): Remove.
1968 (expm1_test_tonearest): Likewise.
1969 (expm1_towardzero_test_data): Likewise.
1970 (expm1_test_towardzero): Likewise.
1971 (expm1_downward_test_data): Likewise.
1972 (expm1_test_downward): Likewise.
1973 (expm1_upward_test_data): Likewise.
1974 (expm1_test_upward): Likewise.
1975 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1976 (fma_test): Use ALL_RM_TEST.
1977 (fma_towardzero_test_data): Remove.
1978 (fma_test_towardzero): Likewise.
1979 (fma_downward_test_data): Likewise.
1980 (fma_test_downward): Likewise.
1981 (fma_upward_test_data): Likewise.
1982 (fma_test_upward): Likewise.
1983 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1984 (j0_test_data): Update call to AUTO_TESTS_f_f.
1985 (j1_test_data): Likewise.
1986 (jn_test_data): Update call to AUTO_TESTS_if_f.
1987 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1988 (log_test_data): Update call to AUTO_TESTS_f_f.
1989 (log10_test_data): Likewise.
1990 (log1p_test_data): Likewise.
1991 (log2_test_data): Likewise.
1992 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1993 (pow_tonearest_test_data): Likewise.
1994 (sin_test_data): Update call to AUTO_TESTS_f_f.
1995 (sin_test): Use ALL_RM_TEST.
1996 (sin_tonearest_test_data): Remove.
1997 (sin_test_tonearest): Likewise.
1998 (sin_towardzero_test_data): Likewise.
1999 (sin_test_towardzero): Likewise.
2000 (sin_downward_test_data): Likewise.
2001 (sin_test_downward): Likewise.
2002 (sin_upward_test_data): Likewise.
2003 (sin_test_upward): Likewise.
2004 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2005 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2006 (sinh_test): Use ALL_RM_TEST.
2007 (sinh_tonearest_test_data): Remove.
2008 (sinh_test_tonearest): Likewise.
2009 (sinh_towardzero_test_data): Likewise.
2010 (sinh_test_towardzero): Likewise.
2011 (sinh_downward_test_data): Likewise.
2012 (sinh_test_downward): Likewise.
2013 (sinh_upward_test_data): Likewise.
2014 (sinh_test_upward): Likewise.
2015 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2016 (sqrt_test): Use ALL_RM_TEST.
2017 (sqrt_tonearest_test_data): Remove.
2018 (sqrt_test_tonearest): Likewise.
2019 (sqrt_towardzero_test_data): Likewise.
2020 (sqrt_test_towardzero): Likewise.
2021 (sqrt_downward_test_data): Likewise.
2022 (sqrt_test_downward): Likewise.
2023 (sqrt_upward_test_data): Likewise.
2024 (sqrt_test_upward): Likewise.
2025 (tan_test_data): Update call to AUTO_TESTS_f_f.
2026 (tan_test): Use ALL_RM_TEST.
2027 (tan_tonearest_test_data): Remove.
2028 (tan_test_tonearest): Likewise.
2029 (tan_towardzero_test_data): Likewise.
2030 (tan_test_towardzero): Likewise.
2031 (tan_downward_test_data): Likewise.
2032 (tan_test_downward): Likewise.
2033 (tan_upward_test_data): Likewise.
2034 (tan_test_upward): Likewise.
2035 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2036 (tgamma_test_data): Likewise.
2037 (y0_test_data): Likewise.
2038 (y1_test_data): Likewise.
2039 (yn_test_data): Update call to AUTO_TESTS_if_f.
2040 (main): Do not call removed functions.
2041
d71aeee8
JM
20422014-03-19 Joseph Myers <joseph@codesourcery.com>
2043
2044 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2045 (ldexp_test_data): Remove.
2046 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2047 scalbn_test_data.
2048 (scalb_test): Use ALL_RM_TEST.
2049
baaf1ded
AS
20502014-03-19 Andreas Schwab <schwab@suse.de>
2051
2052 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2053
b1115e91
JM
20542014-03-19 Joseph Myers <joseph@codesourcery.com>
2055
2056 [BZ #16649]
2057 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2058 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2059 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2060 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2061 (__ASSUME_PREADV): Undefine.
2062 (__ASSUME_PWRITEV): Likewise.
2063
0283ecca
RM
20642014-03-18 Roland McGrath <roland@hack.frob.com>
2065
7d375303
RM
2066 * bits/mman-linux.h: Add comment about non-Linux use.
2067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2068 bits/mman-linux.h resting place.
2069
0283ecca
RM
2070 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2071 * bits/mman-linux.h: ... here.
2072
aebe1003
AZ
20732014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074
2075 * conform/conformtest.pl: Add standard definition when calling C
2076 preprocessor on data files.
2077 (checknamespace): Remove unused variable.
2078
b29b6bb8
JM
20792014-03-18 Joseph Myers <joseph@codesourcery.com>
2080
2081 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2082 minus_oflow, plus_uflow and minus_uflow in expected results.
2083 * math/libm-test.inc (scalbn_test_data): Add more tests of
2084 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2085 minus_uflow.
2086 (scalbn_test): Use ALL_RM_TEST.
2087 (scalbln_test_data): Add more tests of negative arguments. Use
2088 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2089 (scalbln_test): Use ALL_RM_TEST.
2090
c8f8fa15
RM
20912014-03-18 Roland McGrath <roland@hack.frob.com>
2092
2093 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2094
fede7a5f
WN
20952014-03-18 Will Newton <will.newton@linaro.org>
2096
2097 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2098 inaccurate comment.
2099
80cf0a58
JM
21002014-03-18 Joseph Myers <joseph@codesourcery.com>
2101
2102 * Makerules [!subdir] (check-abi): Exit with error status if a
2103 test failed.
2104
b3620862
JM
21052014-03-17 Joseph Myers <joseph@codesourcery.com>
2106
2107 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2108 for rint. Include results for all rounding modes.
2109 (nearbyint_test): Use ALL_RM_TEST.
2110 (rint_test_data): Include all tests used for nearbyint.
2111
788bba36
WN
21122014-03-17 Will Newton <will.newton@linaro.org>
2113
04ec140a
WN
2114 * nptl/sysdeps/pthread/pthread.h: Revert previous
2115 change.
2116
7579d8d5
WN
2117 * sysdeps/generic/ldsodefs.h: Revert previous
2118 change.
2119
c15cf13a
WN
2120 * libio/genops.c: Revert previous change.
2121 * libio/libioP.h: Likewise.
2122 * stdio-common/vfprintf.c: Likewise.
2123
d0ac1324
WN
2124 * sysdeps/generic/math_private.h: Revert previous
2125 change.
2126
9290130a
WN
2127 * sysdeps/generic/math_private.h: Check whether
2128 HAVE_RM_CTX is defined with #ifdef rather
2129 than #if.
2130
afb466fc
WN
2131 * argp/argp-fmtstream.h: Check whether
2132 __STRICT_ANSI__ is defined with #ifdef rather
2133 than #if.
2134 * argp/argp.h: Likewise.
2135
f7efd7c3
WN
2136 * libio/genops.c: Check whether
2137 _IO_JUMPS_OFFSET is defined with #ifdef rather
2138 than #if.
2139 * libio/libioP.h: Likewise.
2140 * stdio-common/vfprintf.c: Likewise.
2141
53f1bed3
WN
2142 * sysdeps/generic/ldsodefs.h: Check whether
2143 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2144 than #if.
2145
788bba36
WN
2146 * nptl/sysdeps/pthread/pthread.h: Check
2147 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2148 its value.
2149
fcd89ebe
SP
21502014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2151
ae42bbc5
SP
2152 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2153 setting O_APPEND.
2154 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2155 test case.
2156
ea33158c
SP
2157 [BZ #16680]
2158 * libio/fileops.c (_IO_file_open): Seek to end of file but
2159 don't cache the offset.
2160 (get_file_offset): Remove function.
2161 (do_ftell): Use cached offset when available.
2162 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2163 don't cache the offset.
2164 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2165 case.
2166 (do_one_test): Call it.
2167 (do_ftell_test): Fix up expected old offset for a+ mode.
2168 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2169 available.
2170
b1dbb426
SP
2171 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2172 up test status with function return status.
2173 (do_write_test): Likewise.
2174 (do_append_test): Likewise.
2175
fcd89ebe
SP
2176 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2177 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2178 Remove.
2179
9962a2d3
JM
21802014-03-17 Joseph Myers <joseph@codesourcery.com>
2181
2182 * math/gen-libm-test.pl (parse_args): Handle results specified for
2183 each rounding mode separately.
2184 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2185 tests and results from lrint_tonearest_test_data,
2186 lrint_towardzero_test_data, lrint_downward_test_data and
2187 lrint_upward_test_data.
2188 (lrint_test): Use ALL_RM_TEST.
2189 (lrint_tonearest_test_data): Remove.
2190 (lrint_test_tonearest): Likewise.
2191 (lrint_towardzero_test_data): Likewise.
2192 (lrint_test_towardzero): Likewise.
2193 (lrint_downward_test_data): Likewise.
2194 (lrint_test_downward): Likewise.
2195 (lrint_upward_test_data): Likewise.
2196 (lrint_test_upward): Likewise.
2197 (llrint_test_data): Merge in per-rounding-mode tests and results
2198 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2199 llrint_downward_test_data and llrint_upward_test_data.
2200 (llrint_test): Use ALL_RM_TEST.
2201 (llrint_tonearest_test_data): Remove.
2202 (llrint_test_tonearest): Likewise.
2203 (llrint_towardzero_test_data): Likewise.
2204 (llrint_test_towardzero): Likewise.
2205 (llrint_downward_test_data): Likewise.
2206 (llrint_test_downward): Likewise.
2207 (llrint_upward_test_data): Likewise.
2208 (llrint_test_upward): Likewise.
2209 (rint_test_data): Merge in per-rounding-mode tests and results
2210 from rint_tonearest_test_data, rint_towardzero_test_data,
2211 rint_downward_test_data and rint_upward_test_data. Add
2212 per-rounding-mode results for tests not in those arrays.
2213 (rint_test): Use ALL_RM_TEST.
2214 (rint_tonearest_test_data): Remove.
2215 (rint_test_tonearest): Likewise.
2216 (rint_towardzero_test_data): Likewise.
2217 (rint_test_towardzero): Likewise.
2218 (rint_downward_test_data): Likewise.
2219 (rint_test_downward): Likewise.
2220 (rint_upward_test_data): Likewise.
2221 (rint_test_upward): Likewise.
2222 (main): Don't call removed functions.
2223
5006148e
RM
22242014-03-14 Roland McGrath <roland@hack.frob.com>
2225
2226 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2227 "Compiled on ..." crapola. It is anti-useful.
2228
d6fe5e58
JM
22292014-03-14 Joseph Myers <joseph@codesourcery.com>
2230
2231 * scripts/evaluate-test.sh: Handle fourth argument to determine
2232 whether test run should stop on failure.
2233 * Makeconfig (stop-on-test-failure): New variable.
2234 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2235 $(stop-on-test-failure).
2236 * Makefile (tests): Give a summary of results from testing and
2237 exit with failure status if they include an ERROR or FAIL.
2238 (xtests): Likewise.
2239 * manual/install.texi (Configuring and compiling): Mention
2240 stop-on-test-failure=y.
2241 * INSTALL: Regenerated.
2242
498a2233
RM
22432014-03-14 Roland McGrath <roland@hack.frob.com>
2244
22dbc19d
RM
2245 * scripts/versionlist.awk: New file.
2246 * Makerules [$(build-shared) = yes]
2247 (postclean-generated): Add Versions.def, not Versions.def.v and
2248 Versions.def.v.i.
2249 ($(common-objpfx)Versions.def.v.i): Target removed.
2250 ($(common-objpfx)Versions.def): New target.
2251 ($(common-objpfx)Versions.all): Depend on that rather that
2252 $(common-objpfx)Versions.def.v.
2253 * Versions.def: File removed.
2254
498a2233
RM
2255 * Makeconfig (+gccwarn): Add -Wundef.
2256 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2257 a dl-sysdep.h breaking its contract.
2258 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2259 * include/stackinfo.h: New file.
2260 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2261 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2262 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2263 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2264 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2265 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2266 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2267 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2268 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2269 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2270 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2271 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2272 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2273 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2274 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2275
c7de5025
AZ
22762014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2277
2278 [BZ #16707]
2279 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2280 implementation.
2281 * math/libm-test.inc (round_test_data): Add more tests.
2282
98fb27a3
AZ
2283 [BZ #16706]
2284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2285 implementation.
2286 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2287
374f7f61
AZ
2288 [BZ #16701]
2289 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2290 implementation.
2291 * math/libm-test.inc (ceil_test_data): Add more tests.
2292
4655c291
AZ
2293 * math/libm-test.inc (trunc_test_data): Add more tests related to
2294 BZ#16414.
2295
d7329d4b
RM
22962014-03-14 Roland McGrath <roland@hack.frob.com>
2297
2298 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2299 with #if rather than #ifdef.
2300 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2301
aa4de9ce
L
23022014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2303
2304 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2305 first. Disable AVX-512 GCC support if assembler doesn't support
2306 it.
2307 * sysdeps/x86_64/configure: Regenerated.
2308
2e03fae7
CD
23092014-03-13 Carlos O'Donell <carlos@redhat.com>
2310
2311 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2312 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2313 (__old_pthread_attr_setstack): Likewise.
2314 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2315 [!_STACK_GROWS_DOWN]: Likewise.
2316
43ca83ec
MF
23172014-03-13 Mike Frysinger <vapier@gentoo.org>
2318
2319 * config.make.in (have-bash2): Delete.
2320 * configure.ac (libc_cv_have_bash2): Delete.
2321 * configure: Regenerate.
2322 * elf/Makefile (common-ldd-rewrite): Rename to ...
2323 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2324 (sh-ldd-rewrite): Delete.
2325 (bash-ldd-rewrite): Delete.
2326 (have-bash2): Delete checks.
57f41c40
AS
2327 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2328 ldd-rewrite.
c66e48b4
MF
2329
2330 * config.make.in (have-ksh): Delete.
2331 (KSH): Delete.
2332 * configure.ac (libc_cv_have_ksh): Delete.
2333 * configure: Regenerate.
2334
b93834ef
MF
2335 * elf/Makefile: Delete $(have-ksh) check.
2336 ($(objpfx)sotruss): Change KSH to BASH.
2337 * elf/sotruss.ksh: Rename to ...
2338 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2339 function style to match POSIX. Drop ksh vim mode setting.
2340
f3a4632a
MF
2341 * manual/time.texi (Specifying the Time Zone with TZ): Change
2342 Tuesday to Thursday.
2343
5896c8bd
MF
2344 * debug/tst-longjmp_chk2.c: Update header comment.
2345 (stackoverflow_handler): Add comment. Call assert on pass value.
2346
2d63a517
IZ
23472014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2348
2349 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2350 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2351 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2352 (La_x86_64_vector): Add zmm.
2353 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2354 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2355 ($(objpfx)tst-audit10): New target.
2356 ($(objpfx)tst-audit10.out): Likewise.
2357 (tst-audit10-ENV): New.
2358 (AVX512-CFLAGS): Likewise.
2359 (CFLAGS-tst-audit10.c): Likewise.
2360 (CFLAGS-tst-auditmod10a.c): Likewise.
2361 (CFLAGS-tst-auditmod10b.c): Likewise.
2362 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2363 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2364 * sysdeps/x86_64/configure: Regenerated.
2365 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2366 AVX-512 zmm register support.
2367 (_dl_x86_64_save_sse): Likewise.
2368 (_dl_x86_64_restore_sse): Likewise.
2369 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2370 size vector registers.
2371 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2372 (ZMM_SIZE): Likewise.
2373 * sysdeps/x86_64/tst-audit10.c: New file.
2374 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2375 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2376
44c4e5d5
RM
23772014-03-13 Roland McGrath <roland@hack.frob.com>
2378
2379 * configure.ac (HAVE_EHDR_START): New check.
2380 * configure: Regenerated.
2381 * config.h.in (HAVE_EHDR_START): New #undef.
2382 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2383 assuming the lowest-addressed segment maps the start of the file.
2384
acd6e389
JM
23852014-03-13 Joseph Myers <joseph@codesourcery.com>
2386
2387 * INSTALL: Regenerated.
2388
6f918f36
WN
23892014-03-13 Will Newton <will.newton@linaro.org>
2390
2391 * manual/setjmp.texi (System V contexts): Improve
2392 clarity and grammar of documentation.
2393
798212a0
PP
23942014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2395
2396 [BZ #16381]
798212a0 2397 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 2398 (tests-pie): Add tst-pie2.
798212a0
PP
2399 * elf/tst-pie2.c: New file.
2400 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2401 for ET_EXEC.
2402 * elf/rtld.c (map_doit): Load executable as lt_executable.
2403 (dl_main): Likewise.
2404
abe6d90c
JM
24052014-03-12 Joseph Myers <joseph@codesourcery.com>
2406
2407 [BZ #16642]
2408 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2409 (__ASSUME_PSELECT): Undefine.
2410
dd3946c6
AZ
24112014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2412
2413 [BZ #16689]
2414 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2415 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2416 static build.
2417 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2418 selector for static builds.
2419
c44496df
SP
24202014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2421
2422 [BZ #16695]
2423 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2424 key in the buffer.
2425
27c7220a
AZ
24262014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2427
57f41c40
AS
2428 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2429 IFUNC selector for static builds.
27c7220a 2430
600fa361
JM
24312014-03-11 Joseph Myers <joseph@codesourcery.com>
2432
76c96cf7
JM
2433 * sysdeps/mips/math_private.h [__mips_hard_float]
2434 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2435 libc_feresetround_mips_ctx.
2436 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2437 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2438 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2439
600fa361
JM
2440 [BZ #16677]
2441 * math/s_nextafter.c (__nextafter): Do not return value from
2442 overflowing computation.
2443 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2444 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2445 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2446 Likewise.
2447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2448 Likewise.
2449 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2450 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2451
d7706c32
RM
24522014-03-11 Roland McGrath <roland@hack.frob.com>
2453
2454 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2455 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2456 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2457 the new mov targetting sp.
2458
4facea47
AZ
24592014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2460
2461 [BZ #16683]
2462 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2463 Define it for static builds as well.
2464 (NO_BZERO_IMPL): Likewise.
2465
e65caf1f
VR
24662014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2467
2468 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2469 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2470 multiarch strspn for PPC64.
2471 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2472 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2474 (__libc_ifunc_impl_list): Likewise.
2475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2476 multiarch optimizations
2477 * string/strspn.c (strspn): Using macro to redefine symbol name.
2478
ba9cc071
AZ
24792014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2480 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2481
2482 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2483 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2484 multiarch strncat for PPC64.
2485 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2486 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2488 (__libc_ifunc_impl_list): Likewise.
2489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2490 multiarch optimizations
2491
8b4ff974
SP
24922014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2493
2494 [BZ #16639]
2495 * nscd/nscd.service: Make service type forking.
2496
54b46a4b
AZ
24972014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2498
2499 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2500 sign in non default rounding modes.
2501 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2502
e9996ef7
JM
25032014-03-08 Joseph Myers <joseph@codesourcery.com>
2504
2505 * math/libm-test.inc (ALL_RM_TEST): New macro.
2506 (ceil_test): Use ALL_RM_TEST.
2507 (cimag_test): Likewise.
2508 (conj_test): Likewise.
2509 (copysign_test): Likewise.
2510 (cproj_test): Likewise.
2511 (creal_test): Likewise.
2512 (fabs_test): Likewise.
2513 (floor_test): Likewise.
2514 (fmax_test): Likewise.
2515 (fmin_test): Likewise.
2516 (fmod_test): Likewise.
2517 (fpclassify_test): Likewise.
2518 (frexp_test): Likewise.
2519 (ilogb_test): Likewise.
2520 (isfinite_test): Likewise.
2521 (finite_test): Likewise.
2522 (isgreater_test): Likewise.
2523 (isgreaterequal_test): Likewise.
2524 (isinf_test): Likewise.
2525 (isless_test): Likewise.
2526 (islessequal_test): Likewise.
2527 (islessgreater_test): Likewise.
2528 (isnan_test): Likewise.
2529 (isnormal_test): Likewise.
2530 (issignaling_test): Likewise.
2531 (isunordered_test): Likewise.
2532 (logb_test): Likewise.
2533 (logb_downward_test_data): Remove.
2534 (logb_test_downward): Likewise.
2535 (lround_test): Use ALL_RM_TEST.
2536 (llround_test): Likewise.
2537 (modf_test): Likewise.
2538 (nexttoward_test): Likewise.
2539 (remainder_test): Likewise.
2540 (drem_test): Likewise.
2541 (remainder_tonearest_test_data): Likewise.
2542 (remainder_test_tonearest): Likewise.
2543 (drem_test_tonearest): Likewise.
2544 (remainder_towardzero_test_data): Likewise.
2545 (remainder_test_towardzero): Likewise.
2546 (drem_test_towardzero): Likewise.
2547 (remainder_downward_test_data): Likewise.
2548 (remainder_test_downward): Likewise.
2549 (drem_test_downward): Likewise.
2550 (remainder_upward_test_data): Likewise.
2551 (remainder_test_upward): Likewise.
2552 (drem_test_upward): Likewise.
2553 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2554 (round_test): Use ALL_RM_TEST.
2555 (signbit_test): Likewise.
2556 (trunc_test): Likewise.
2557 (significand_test): Likewise.
2558 (main): Don't call removed functions.
2559
bc61d27c
JM
25602014-03-07 Joseph Myers <joseph@codesourcery.com>
2561
5c780849
JM
2562 [BZ #16674]
2563 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2564 || __USE_XOPEN2K8].
2565 (ILL_ILLOPN): Likewise.
2566 (ILL_ILLADR): Likewise.
2567 (ILL_ILLTRP): Likewise.
2568 (ILL_PRVOPC): Likewise.
2569 (ILL_PRVREG): Likewise.
2570 (ILL_COPROC): Likewise.
2571 (ILL_BADSTK): Likewise.
2572 (FPE_INTDIV): Likewise.
2573 (FPE_INTOVF): Likewise.
2574 (FPE_FLTDIV): Likewise.
2575 (FPE_FLTOVF): Likewise.
2576 (FPE_FLTUND): Likewise.
2577 (FPE_FLTRES): Likewise.
2578 (FPE_FLTINV): Likewise.
2579 (FPE_FLTSUB): Likewise.
2580 (SEGV_MAPERR): Likewise.
2581 (SEGV_ACCERR): Likewise.
2582 (BUS_ADRALN): Likewise.
2583 (BUS_ADRERR): Likewise.
2584 (BUS_OBJERR): Likewise.
2585 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2586 (TRAP_TRACE): Likewise.
2587 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2588 __USE_XOPEN2K8].
2589 (CLD_KILLED): Likewise.
2590 (CLD_DUMPED): Likewise.
2591 (CLD_TRAPPED): Likewise.
2592 (CLD_STOPPED): Likewise.
2593 (CLD_CONTINUED): Likewise.
2594 (POLL_IN): Likewise.
2595 (POLL_OUT): Likewise.
2596 (POLL_MSG): Likewise.
2597 (POLL_ERR): Likewise.
2598 (POLL_PRI): Likewise.
2599 (POLL_HUP): Likewise.
2600 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2601 Likewise.
2602 (ILL_ILLOPN): Likewise.
2603 (ILL_ILLADR): Likewise.
2604 (ILL_ILLTRP): Likewise.
2605 (ILL_PRVOPC): Likewise.
2606 (ILL_PRVREG): Likewise.
2607 (ILL_COPROC): Likewise.
2608 (ILL_BADSTK): Likewise.
2609 (FPE_INTDIV): Likewise.
2610 (FPE_INTOVF): Likewise.
2611 (FPE_FLTDIV): Likewise.
2612 (FPE_FLTOVF): Likewise.
2613 (FPE_FLTUND): Likewise.
2614 (FPE_FLTRES): Likewise.
2615 (FPE_FLTINV): Likewise.
2616 (FPE_FLTSUB): Likewise.
2617 (SEGV_MAPERR): Likewise.
2618 (SEGV_ACCERR): Likewise.
2619 (BUS_ADRALN): Likewise.
2620 (BUS_ADRERR): Likewise.
2621 (BUS_OBJERR): Likewise.
2622 (BUS_MCEERR_AR): Likewise.
2623 (BUS_MCEERR_AO): Likewise.
2624 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2625 (TRAP_TRACE): Likewise.
2626 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2627 __USE_XOPEN2K8].
2628 (CLD_KILLED): Likewise.
2629 (CLD_DUMPED): Likewise.
2630 (CLD_TRAPPED): Likewise.
2631 (CLD_STOPPED): Likewise.
2632 (CLD_CONTINUED): Likewise.
2633 (POLL_IN): Likewise.
2634 (POLL_OUT): Likewise.
2635 (POLL_MSG): Likewise.
2636 (POLL_ERR): Likewise.
2637 (POLL_PRI): Likewise.
2638 (POLL_HUP): Likewise.
2639 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2640 (ILL_ILLOPN): Likewise.
2641 (ILL_ILLADR): Likewise.
2642 (ILL_ILLTRP): Likewise.
2643 (ILL_PRVOPC): Likewise.
2644 (ILL_PRVREG): Likewise.
2645 (ILL_COPROC): Likewise.
2646 (ILL_BADSTK): Likewise.
2647 (FPE_INTDIV): Likewise.
2648 (FPE_INTOVF): Likewise.
2649 (FPE_FLTDIV): Likewise.
2650 (FPE_FLTOVF): Likewise.
2651 (FPE_FLTUND): Likewise.
2652 (FPE_FLTRES): Likewise.
2653 (FPE_FLTINV): Likewise.
2654 (FPE_FLTSUB): Likewise.
2655 (SEGV_MAPERR): Likewise.
2656 (SEGV_ACCERR): Likewise.
2657 (BUS_ADRALN): Likewise.
2658 (BUS_ADRERR): Likewise.
2659 (BUS_OBJERR): Likewise.
2660 (BUS_MCEERR_AR): Likewise.
2661 (BUS_MCEERR_AO): Likewise.
2662 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2663 (TRAP_TRACE): Likewise.
2664 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2665 __USE_XOPEN2K8].
2666 (CLD_KILLED): Likewise.
2667 (CLD_DUMPED): Likewise.
2668 (CLD_TRAPPED): Likewise.
2669 (CLD_STOPPED): Likewise.
2670 (CLD_CONTINUED): Likewise.
2671 (POLL_IN): Likewise.
2672 (POLL_OUT): Likewise.
2673 (POLL_MSG): Likewise.
2674 (POLL_ERR): Likewise.
2675 (POLL_PRI): Likewise.
2676 (POLL_HUP): Likewise.
2677 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2678 Likewise.
2679 (ILL_ILLOPN): Likewise.
2680 (ILL_ILLADR): Likewise.
2681 (ILL_ILLTRP): Likewise.
2682 (ILL_PRVOPC): Likewise.
2683 (ILL_PRVREG): Likewise.
2684 (ILL_COPROC): Likewise.
2685 (ILL_BADSTK): Likewise.
2686 (ILL_BADIADDR): Likewise.
2687 (ILL_BREAK): Likewise.
2688 (FPE_INTDIV): Likewise.
2689 (FPE_INTOVF): Likewise.
2690 (FPE_FLTDIV): Likewise.
2691 (FPE_FLTOVF): Likewise.
2692 (FPE_FLTUND): Likewise.
2693 (FPE_FLTRES): Likewise.
2694 (FPE_FLTINV): Likewise.
2695 (FPE_FLTSUB): Likewise.
2696 (FPE_DECOVF): Likewise.
2697 (FPE_DECDIV): Likewise.
2698 (FPE_DECERR): Likewise.
2699 (FPE_INVASC): Likewise.
2700 (FPE_INVDEC): Likewise.
2701 (SEGV_MAPERR): Likewise.
2702 (SEGV_ACCERR): Likewise.
2703 (SEGV_PSTKOVF): Likewise.
2704 (BUS_ADRALN): Likewise.
2705 (BUS_ADRERR): Likewise.
2706 (BUS_OBJERR): Likewise.
2707 (BUS_MCEERR_AR): Likewise.
2708 (BUS_MCEERR_AO): Likewise.
2709 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2710 (TRAP_TRACE): Likewise.
2711 (TRAP_BRANCH): Likewise.
2712 (TRAP_HWBKPT): Likewise.
2713 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2714 __USE_XOPEN2K8].
2715 (CLD_KILLED): Likewise.
2716 (CLD_DUMPED): Likewise.
2717 (CLD_TRAPPED): Likewise.
2718 (CLD_STOPPED): Likewise.
2719 (CLD_CONTINUED): Likewise.
2720 (POLL_IN): Likewise.
2721 (POLL_OUT): Likewise.
2722 (POLL_MSG): Likewise.
2723 (POLL_ERR): Likewise.
2724 (POLL_PRI): Likewise.
2725 (POLL_HUP): Likewise.
2726 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2727 (ILL_ILLOPN): Likewise.
2728 (ILL_ILLADR): Likewise.
2729 (ILL_ILLTRP): Likewise.
2730 (ILL_PRVOPC): Likewise.
2731 (ILL_PRVREG): Likewise.
2732 (ILL_COPROC): Likewise.
2733 (ILL_BADSTK): Likewise.
2734 (FPE_INTDIV): Likewise.
2735 (FPE_INTOVF): Likewise.
2736 (FPE_FLTDIV): Likewise.
2737 (FPE_FLTOVF): Likewise.
2738 (FPE_FLTUND): Likewise.
2739 (FPE_FLTRES): Likewise.
2740 (FPE_FLTINV): Likewise.
2741 (FPE_FLTSUB): Likewise.
2742 (SEGV_MAPERR): Likewise.
2743 (SEGV_ACCERR): Likewise.
2744 (BUS_ADRALN): Likewise.
2745 (BUS_ADRERR): Likewise.
2746 (BUS_OBJERR): Likewise.
2747 (BUS_MCEERR_AR): Likewise.
2748 (BUS_MCEERR_AO): Likewise.
2749 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2750 (TRAP_TRACE): Likewise.
2751 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2752 __USE_XOPEN2K8].
2753 (CLD_KILLED): Likewise.
2754 (CLD_DUMPED): Likewise.
2755 (CLD_TRAPPED): Likewise.
2756 (CLD_STOPPED): Likewise.
2757 (CLD_CONTINUED): Likewise.
2758 (POLL_IN): Likewise.
2759 (POLL_OUT): Likewise.
2760 (POLL_MSG): Likewise.
2761 (POLL_ERR): Likewise.
2762 (POLL_PRI): Likewise.
2763 (POLL_HUP): Likewise.
2764 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2765 (ILL_ILLOPN): Likewise.
2766 (ILL_ILLADR): Likewise.
2767 (ILL_ILLTRP): Likewise.
2768 (ILL_PRVOPC): Likewise.
2769 (ILL_PRVREG): Likewise.
2770 (ILL_COPROC): Likewise.
2771 (ILL_BADSTK): Likewise.
2772 (FPE_INTDIV): Likewise.
2773 (FPE_INTOVF): Likewise.
2774 (FPE_FLTDIV): Likewise.
2775 (FPE_FLTOVF): Likewise.
2776 (FPE_FLTUND): Likewise.
2777 (FPE_FLTRES): Likewise.
2778 (FPE_FLTINV): Likewise.
2779 (FPE_FLTSUB): Likewise.
2780 (SEGV_MAPERR): Likewise.
2781 (SEGV_ACCERR): Likewise.
2782 (BUS_ADRALN): Likewise.
2783 (BUS_ADRERR): Likewise.
2784 (BUS_OBJERR): Likewise.
2785 (BUS_MCEERR_AR): Likewise.
2786 (BUS_MCEERR_AO): Likewise.
2787 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2788 (TRAP_TRACE): Likewise.
2789 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2790 __USE_XOPEN2K8].
2791 (CLD_KILLED): Likewise.
2792 (CLD_DUMPED): Likewise.
2793 (CLD_TRAPPED): Likewise.
2794 (CLD_STOPPED): Likewise.
2795 (CLD_CONTINUED): Likewise.
2796 (POLL_IN): Likewise.
2797 (POLL_OUT): Likewise.
2798 (POLL_MSG): Likewise.
2799 (POLL_ERR): Likewise.
2800 (POLL_PRI): Likewise.
2801 (POLL_HUP): Likewise.
2802 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2803 (ILL_ILLOPN): Likewise.
2804 (ILL_ILLADR): Likewise.
2805 (ILL_ILLTRP): Likewise.
2806 (ILL_PRVOPC): Likewise.
2807 (ILL_PRVREG): Likewise.
2808 (ILL_COPROC): Likewise.
2809 (ILL_BADSTK): Likewise.
2810 (FPE_INTDIV): Likewise.
2811 (FPE_INTOVF): Likewise.
2812 (FPE_FLTDIV): Likewise.
2813 (FPE_FLTOVF): Likewise.
2814 (FPE_FLTUND): Likewise.
2815 (FPE_FLTRES): Likewise.
2816 (FPE_FLTINV): Likewise.
2817 (FPE_FLTSUB): Likewise.
2818 (SEGV_MAPERR): Likewise.
2819 (SEGV_ACCERR): Likewise.
2820 (BUS_ADRALN): Likewise.
2821 (BUS_ADRERR): Likewise.
2822 (BUS_OBJERR): Likewise.
2823 (BUS_MCEERR_AR): Likewise.
2824 (BUS_MCEERR_AO): Likewise.
2825 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2826 (TRAP_TRACE): Likewise.
2827 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2828 __USE_XOPEN2K8].
2829 (CLD_KILLED): Likewise.
2830 (CLD_DUMPED): Likewise.
2831 (CLD_TRAPPED): Likewise.
2832 (CLD_STOPPED): Likewise.
2833 (CLD_CONTINUED): Likewise.
2834 (POLL_IN): Likewise.
2835 (POLL_OUT): Likewise.
2836 (POLL_MSG): Likewise.
2837 (POLL_ERR): Likewise.
2838 (POLL_PRI): Likewise.
2839 (POLL_HUP): Likewise.
2840 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2841 (ILL_ILLOPN): Likewise.
2842 (ILL_ILLADR): Likewise.
2843 (ILL_ILLTRP): Likewise.
2844 (ILL_PRVOPC): Likewise.
2845 (ILL_PRVREG): Likewise.
2846 (ILL_COPROC): Likewise.
2847 (ILL_BADSTK): Likewise.
2848 (ILL_DBLFLT): Likewise.
2849 (ILL_HARDWALL): Likewise.
2850 (FPE_INTDIV): Likewise.
2851 (FPE_INTOVF): Likewise.
2852 (FPE_FLTDIV): Likewise.
2853 (FPE_FLTOVF): Likewise.
2854 (FPE_FLTUND): Likewise.
2855 (FPE_FLTRES): Likewise.
2856 (FPE_FLTINV): Likewise.
2857 (FPE_FLTSUB): Likewise.
2858 (SEGV_MAPERR): Likewise.
2859 (SEGV_ACCERR): Likewise.
2860 (BUS_ADRALN): Likewise.
2861 (BUS_ADRERR): Likewise.
2862 (BUS_OBJERR): Likewise.
2863 (BUS_MCEERR_AR): Likewise.
2864 (BUS_MCEERR_AO): Likewise.
2865 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2866 (TRAP_TRACE): Likewise.
2867 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2868 __USE_XOPEN2K8].
2869 (CLD_KILLED): Likewise.
2870 (CLD_DUMPED): Likewise.
2871 (CLD_TRAPPED): Likewise.
2872 (CLD_STOPPED): Likewise.
2873 (CLD_CONTINUED): Likewise.
2874 (POLL_IN): Likewise.
2875 (POLL_OUT): Likewise.
2876 (POLL_MSG): Likewise.
2877 (POLL_ERR): Likewise.
2878 (POLL_PRI): Likewise.
2879 (POLL_HUP): Likewise.
2880 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2881 (ILL_ILLOPN): Likewise.
2882 (ILL_ILLADR): Likewise.
2883 (ILL_ILLTRP): Likewise.
2884 (ILL_PRVOPC): Likewise.
2885 (ILL_PRVREG): Likewise.
2886 (ILL_COPROC): Likewise.
2887 (ILL_BADSTK): Likewise.
2888 (FPE_INTDIV): Likewise.
2889 (FPE_INTOVF): Likewise.
2890 (FPE_FLTDIV): Likewise.
2891 (FPE_FLTOVF): Likewise.
2892 (FPE_FLTUND): Likewise.
2893 (FPE_FLTRES): Likewise.
2894 (FPE_FLTINV): Likewise.
2895 (FPE_FLTSUB): Likewise.
2896 (SEGV_MAPERR): Likewise.
2897 (SEGV_ACCERR): Likewise.
2898 (BUS_ADRALN): Likewise.
2899 (BUS_ADRERR): Likewise.
2900 (BUS_OBJERR): Likewise.
2901 (BUS_MCEERR_AR): Likewise.
2902 (BUS_MCEERR_AO): Likewise.
2903 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2904 (TRAP_TRACE): Likewise.
2905 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2906 __USE_XOPEN2K8].
2907 (CLD_KILLED): Likewise.
2908 (CLD_DUMPED): Likewise.
2909 (CLD_TRAPPED): Likewise.
2910 (CLD_STOPPED): Likewise.
2911 (CLD_CONTINUED): Likewise.
2912 (POLL_IN): Likewise.
2913 (POLL_OUT): Likewise.
2914 (POLL_MSG): Likewise.
2915 (POLL_ERR): Likewise.
2916 (POLL_PRI): Likewise.
2917 (POLL_HUP): Likewise.
2918 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2919 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2920
bc61d27c
JM
2921 [BZ #16670]
2922 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2923 before #include of <time.h>.
2924 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2925 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2926 (test-xfail-UNIX98/sched.h/conform): Likewise.
2927
302949e2
MS
29282014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2929
2930 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2931 error absence of trapping exception support.
2932 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2933
a00f522a
JM
29342014-03-07 Joseph Myers <joseph@codesourcery.com>
2935
6f99f280
JM
2936 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2937 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2938 * timezone/Makefile (testdata): Move definition above include of
2939 Rules.
2940 (test-zones): New variable.
2941 (tests-special): Add zone files.
2942 (build-testdata): Use $(evaluate-test).
2943
0b20a9e8
JM
2944 * elf/Makefile (tests-special): Rename tests to end with .out.
2945 ($(objpfx)noload-mem): Likewise.
2946 ($(objpfx)tst-leaks1-mem): Likewise.
2947 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2948 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2949 $(objpfx)test-iconvconfig.out.
2950 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2951 set -e inside subshell and redirect output to file.
2952 * iconvdata/Makefile (generated): Rename tests to end with .out.
2953 Correct type.
2954 (tests-special): Rename tests to end with .out.
2955 ($(objpfx)mtrace-tst-loading): Likewise.
2956 * intl/Makefile (generated): Likewise.
2957 (tests-special): Likewise.
2958 ($(objpfx)mtrace-tst-gettext): Likewise.
2959 * misc/Makefile (generated): Likewise.
2960 (tests-special): Likewise.
2961 ($(objpfx)tst-error1-mem): Likewise.
2962 * nptl/Makefile (tests-special): Likewise.
2963 ($(objpfx)tst-stack3-mem): Likewise.
2964 (generated): Likewise.
2965 * posix/Makefile (generated): Likewise.
2966 (tests-special): Likewise.
2967 (xtests-special): Likewise.
2968 ($(objpfx)tst-fnmatch-mem): Likewise.
2969 ($(objpfx)bug-regex2-mem): Likewise.
2970 ($(objpfx)bug-regex14-mem): Likewise.
2971 ($(objpfx)bug-regex21-mem): Likewise.
2972 ($(objpfx)bug-regex31-mem): Likewise.
2973 ($(objpfx)tst-vfork3-mem): Likewise.
2974 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2975 ($(objpfx)tst-pcre-mem): Likewise.
2976 ($(objpfx)tst-boost-mem): Likewise.
2977 ($(objpfx)bug-ga2-mem): Likewise.
2978 ($(objpfx)bug-glob2-mem): Likewise.
2979 * resolv/Makefile (generate): Likewise.
2980 (tests-special): Likewise.
2981 (xtests-special): Likewise.
2982 (generated): Likewise.
2983 ($(objpfx)mtrace-tst-leaks): Likewise.
2984 ($(objpfx)mtrace-tst-leaks2): Likewise.
2985
265d52ab
JM
2986 * scripts/merge-test-results.sh: New file.
2987 * Makefile (tests-special-notdir): New variable.
2988 (tests): Run merge-test-results.sh.
2989 (xtests): Likewise.
2990 * Rules (tests-special-notdir): New variable.
2991 (xtests-special-notdir): Likewise.
2992 (tests): Run merge-test-results.sh
2993 (xtests): Likewise.
2994
54ee292d
JM
2995 * Makeconfig (test-xfail-name): New variable.
2996 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2997 compute variable name for expected failures.
2998 * conform/Makefile (conformtest-headers-data): New variable.
2999 (conformtest-standards): Likewise.
3000 (conformtest-headers-ISO): Likewise.
3001 (conformtest-headers-ISO99): Likewise.
3002 (conformtest-headers-ISO11): Likewise.
3003 (conformtest-headers-POSIX): Likewise.
3004 (conformtest-headers-XPG3): Likewise.
3005 (conformtest-headers-XPG4): Likewise.
3006 (conformtest-headers-UNIX98): Likewise.
3007 (conformtest-headers-XOPEN2K): Likewise.
3008 (conformtest-headers-POSIX2008): Likewise.
3009 (conformtest-headers-XOPEN2K8): Likewise.
3010 (conformtest-header-list-base): Likewise.
3011 (conformtest-header-list-tests): Likewise.
3012 (conformtest-header-base): Likewise.
3013 (conformtest-header-tests): Likewise.
3014 (tests-special): Add $(conformtest-header-list-tests). If
3015 [$(fast-check) && !$(cross-compiling)], add
3016 $(conformtest-header-tests) instead of
3017 $(objpfx)run-conformtest.out.
3018 (generated): Add $(conformtest-header-list-base). If
3019 [$(fast-check) && !$(cross-compiling)], add
3020 $(conformtest-header-base). Remove previous setting.
3021 ($(conformtest-header-list-tests)): New target.
3022 (test-xfail-run-conformtest): Remove variable.
3023 ($(objpfx)run-conformtest.out): Remove target.
3024 (test-xfail-ISO11/complex.h/conform): New variable.
3025 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3026 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3027 (test-xfail-XPG3/varargs.h/conform): Likewise.
3028 (test-xfail-XPG4/varargs.h/conform): Likewise.
3029 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3030 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3031 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3032 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3033 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3034 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3035 (test-xfail-XPG3/ftw.h/conform): Likewise.
3036 (test-xfail-XPG3/grp.h/conform): Likewise.
3037 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3038 (test-xfail-XPG3/limits.h/conform): Likewise.
3039 (test-xfail-XPG3/pwd.h/conform): Likewise.
3040 (test-xfail-XPG3/search.h/conform): Likewise.
3041 (test-xfail-XPG3/signal.h/conform): Likewise.
3042 (test-xfail-XPG3/stdio.h/conform): Likewise.
3043 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3044 (test-xfail-XPG3/string.h/conform): Likewise.
3045 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3046 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3047 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3048 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3049 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3050 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3051 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3052 (test-xfail-XPG3/termios.h/conform): Likewise.
3053 (test-xfail-XPG3/time.h/conform): Likewise.
3054 (test-xfail-XPG3/unistd.h/conform): Likewise.
3055 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3056 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3057 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3058 (test-xfail-XPG4/netdb.h/conform): Likewise.
3059 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3060 (test-xfail-XPG4/signal.h/conform): Likewise.
3061 (test-xfail-XPG4/stdio.h/conform): Likewise.
3062 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3063 (test-xfail-XPG4/stropts.h/conform): Likewise.
3064 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3065 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3066 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3067 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3068 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3069 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3070 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3071 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3072 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3073 (test-xfail-XPG4/termios.h/conform): Likewise.
3074 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3075 (test-xfail-XPG4/unistd.h/conform): Likewise.
3076 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3077 (test-xfail-POSIX/sched.h/conform): Likewise.
3078 (test-xfail-POSIX/signal.h/conform): Likewise.
3079 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3080 (test-xfail-POSIX/tar.h/conform): Likewise.
3081 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3082 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3083 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3084 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3085 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3086 (test-xfail-UNIX98/sched.h/conform): Likewise.
3087 (test-xfail-UNIX98/signal.h/conform): Likewise.
3088 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3089 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3090 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3091 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3092 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3093 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3094 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3095 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3096 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3097 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3098 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3099 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3100 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3101 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3102 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3103 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3104 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3105 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3106 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3107 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3108 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3109 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3110 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3111 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3112 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3113 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3114 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3115 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3116 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3117 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3118 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3119 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3120 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3121 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3122 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3123 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3124 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3125 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3126 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3127 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3128 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3129 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3130 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3131 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3132 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3133 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3134 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3135 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3136 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3137 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3138 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3139 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3140 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3141 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3142 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3143 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3144 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3145 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3146 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3147 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3148 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3149 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3150 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3151 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3152 (conformtest-cc-flags): Likewise.
3153 ($(conformtest-header-tests): New target.
3154 * conform/check-header-lists.sh: New file.
3155 * conform/run-conformtest.sh: Remove.
3156
a00f522a
JM
3157 * conform/conformtest.pl: Allow ' and \ in values given for
3158 constants.
3159 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3160 inclusion.
3161 [POSIX] (sys/types.h): Likewise.
3162 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3163 inclusion.
3164 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3165 inclusion.
3166 * conform/data/signal.h-data (SIGIO): Remove expectation.
3167 [XPG3] (SIGBUS): Do not expect.
3168 [POSIX || XPG3] (SIGPOLL): Likewise.
3169 [POSIX || XPG3] (SIGPROF): Likewise.
3170 [POSIX || XPG3] (SIGSYS): Likewise.
3171 [XPG3] (SIGTRAP): Likewise.
3172 [POSIX || XPG3] (SIGURG): Likewise.
3173 [POSIX || XPG3] (SIGVTALRM): Likewise.
3174 [POSIX || XPG3] (SIGXCPU): Likewise.
3175 [POSIX || XPG3] (SIGXFSZ): Likewise.
3176 [POSIX] (SA_SIGINFO): Expect.
3177 [XPG3] (siginfo_t): Do not expect type or contents.
3178 [POSIX] (si_pid): Do not expect element.
3179 [POSIX] (si_uid): Likewise.
3180 [POSIX] (si_addr): Likewise.
3181 [POSIX] (si_status): Likewise.
3182 [POSIX] (si_band): Likewise.
3183 [XPG4] (si_value): Likewise.
3184 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3185 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3186 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3187 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3188 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3189 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3190 [POSIX || XPG3] (ILL_COPROC): Likewise.
3191 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3192 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3193 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3194 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3195 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3196 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3197 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3198 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3199 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3200 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3201 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3202 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3203 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3204 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3205 [POSIX || XPG3] (CLD_EXITED): Likewise.
3206 [POSIX || XPG3] (CLD_KILLED): Likewise.
3207 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3208 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3209 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3210 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3211 [POSIX || XPG3] (POLL_IN): Likewise.
3212 [POSIX || XPG3] (POLL_OUT): Likewise.
3213 [POSIX || XPG3] (POLL_MSG): Likewise.
3214 [POSIX || XPG3] (POLL_ERR): Likewise.
3215 [POSIX || XPG3] (POLL_PRI): Likewise.
3216 [POSIX || XPG3] (POLL_HUP): Likewise.
3217 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3218 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3219 (SIG*): Do not allow.
3220 [XPG3] (si_*): Likewise.
3221 [XPG3] (SI_*): Likewise.
3222 [XPG3 || XPG4] (sigev_*): Likewise.
3223 [XPG3 || XPG4] (SIGEV_*): Likewise.
3224 [XPG3 || XPG4] (sival_*): Likewise.
3225 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3226 [POSIX || XPG3] (BUS_*): Likewise.
3227 [POSIX || XPG3] (CLD_*): Likewise.
3228 [POSIX || XPG3] (FPE_*): Likewise.
3229 [POSIX || XPG3] (ILL_*): Likewise.
3230 [POSIX || XPG3] (POLL_*): Likewise.
3231 [POSIX || XPG3] (SEGV_*): Likewise.
3232 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3233 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3234 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3235 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3236 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3237 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3238 Specify type and value.
3239 (TVERSLEN): Likewise.
3240 (REGTYPE): Likewise.
3241 (AREGTYPE): Likewise.
3242 (LNKTYPE): Likewise.
3243 (SYMTYPE): Likewise.
3244 (CHRTYPE): Likewise.
3245 (BLKTYPE): Likewise.
3246 (DIRTYPE): Likewise.
3247 (FIFOTYPE): Likewise.
3248 (CONTTYPE): Likewise.
3249 (TSUID): Likewise.
3250 (TSGID): Likewise.
3251 (TSVTX): Likewise.
3252 (TUREAD): Likewise.
3253 (TUWRITE): Likewise.
3254 (TUEXEC): Likewise.
3255 (TGREAD): Likewise.
3256 (TGWRITE): Likewise.
3257 (TGEXEC): Likewise.
3258 (TOREAD): Likewise.
3259 (TOWRITE): Likewise.
3260 (TOEXEC): Likewise.
3261 [POSIX] (TSVTX): Expect constant.
3262
aa97dee1
JM
32632014-03-06 Joseph Myers <joseph@codesourcery.com>
3264
f214606a
JM
3265 * Makefile (tests): Change dependencies to ....
3266 (tests-special): ... additions to this variable.
3267 (tests): Depend on $(tests-special).
3268 * Makerules (check-abi-list): New variable.
3269 (check-abi): Depend on $(check-abi-list).
3270 [$(subdir) = elf] (tests-special): Add
3271 $(objpfx)check-abi-libc.out.
3272 [$(build-shared) = yes && subdir] (tests-special): Add
3273 $(check-abi-list).
3274 [$(build-shared) = yes && subdir] (tests): Do not depend on
3275 check-abi.
3276 * Rules (tests): Depend on $(tests-special).
3277 (xtests): Depend on $(xtests-special).
3278 * catgets/Makefile (tests): Change dependencies to ....
3279 (tests-special): ... additions to this variable.
3280 * conform/Makefile (tests): Change dependencies to ....
3281 (tests-special): ... additions to this variable.
3282 * elf/Makefile (tests): Change dependencies to ....
3283 (tests-special): ... additions to this variable.
3284 * grp/Makefile (tests): Change dependencies to ....
3285 (tests-special): ... additions to this variable.
3286 * iconv/Makefile (xtests): Change dependencies to ....
3287 (xtests-special): ... additions to this variable.
3288 * iconvdata/Makefile (tests): Change dependencies to ....
3289 (tests-special): ... additions to this variable.
3290 * intl/Makefile (tests): Change dependencies to ....
3291 (tests-special): ... additions to this variable. Also add
3292 $(objpfx)tst-gettext.out.
3293 * io/Makefile (tests): Change dependencies to ....
3294 (tests-special): ... additions to this variable.
3295 * libio/Makefile (tests): Change dependencies to ....
3296 (tests-special): ... additions to this variable.
3297 * malloc/Makefile (tests): Change dependencies to ....
3298 (tests-special): ... additions to this variable.
3299 * misc/Makefile (tests): Change dependencies to ....
3300 (tests-special): ... additions to this variable.
3301 * nptl/Makefile (tests): Change dependencies to ....
3302 (tests-special): ... additions to this variable.
3303 * nptl_db/Makefile (tests): Change dependencies to ....
3304 (tests-special): ... additions to this variable.
3305 * posix/Makefile (tests): Change dependencies to ....
3306 (tests-special): ... additions to this variable.
3307 (xtests): Change dependencies to ....
3308 (xtests-special): ... additions to this variable.
3309 * resolv/Makefile (tests): Change dependencies to ....
3310 (tests-special): ... additions to this variable.
3311 (xtests): Change dependencies to ....
3312 (xtests-special): ... additions to this variable.
3313 * stdio-common/Makefile (tests): Change dependencies to ....
3314 (tests-special): ... additions to this variable.
3315 (do-tst-unbputc): Remove target.
3316 (do-tst-printf): Likewise.
3317 * stdlib/Makefile (tests): Change dependencies to ....
3318 (tests-special): ... additions to this variable.
3319 * string/Makefile (tests): Change dependencies to ....
3320 (tests-special): ... additions to this variable.
3321 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3322 (tests-special): ... additions to this variable.
3323
81700b53
JM
3324 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3325 whole file.
3326 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3327 whole file.
3328 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3329 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3330
2ea18461
JM
3331 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3332 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3333 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3334 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3335 * conform/data/libgen.h-data [XPG3]: Likewise.
3336 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3337 * conform/data/ndbm.h-data [XPG3]: Likewise.
3338 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3339 * conform/data/netdb.h-data [XPG3]: Likewise.
3340 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3341 * conform/data/poll.h-data [XPG3]: Likewise.
3342 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3343 * conform/data/strings.h-data [XPG3]: Likewise.
3344 * conform/data/stropts.h-data [XPG3]: Likewise.
3345 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3346 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3347 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3348 Likewise.
3349 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3350 * conform/data/sys/time.h-data [XPG3]: Likewise.
3351 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3352 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3353 * conform/data/sys/un.h-data [XPG3]: Likewise.
3354 * conform/data/syslog.h-data [XPG3]: Likewise.
3355 * conform/data/ucontext.h-data [XPG3]: Likewise.
3356 * conform/data/utmpx.h-data [XPG3]: Likewise.
3357 * conform/data/varargs.h-data [UNIX98]: Enable file.
3358
355bc986
JM
3359 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3360
215db402
JM
3361 * math/libm-test.inc (struct test_f_f_data): Move expected results
3362 into structure for each rounding mode.
3363 (struct test_ff_f_data): Likewise.
3364 (struct test_ff_f_data_nexttoward): Likewise.
3365 (struct test_fi_f_data): Likewise.
3366 (struct test_fl_f_data): Likewise.
3367 (struct test_if_f_data): Likewise.
3368 (struct test_fff_f_data): Likewise.
3369 (struct test_c_f_data): Likewise.
3370 (struct test_f_f1_data): Likewise.
3371 (struct test_fF_f1_data): Likewise.
3372 (struct test_ffI_f1_data): Likewise.
3373 (struct test_c_c_data): Likewise.
3374 (struct test_cc_c_data): Likewise.
3375 (struct test_f_i_data): Likewise.
3376 (struct test_ff_i_data): Likewise.
3377 (struct test_f_l_data): Likewise.
3378 (struct test_f_L_data): Likewise.
3379 (struct test_fFF_11_data): Likewise.
3380 (RM_): New macro.
3381 (RM_FE_DOWNWARD): Likewise.
3382 (RM_FE_TONEAREST): Likewise.
3383 (RM_FE_TOWARDZERO): Likewise.
3384 (RM_FE_UPWARD): Likewise.
3385 (RUN_TEST_LOOP_f_f): Update references to expected results.
3386 (RUN_TEST_LOOP_2_f): Likewise.
3387 (RUN_TEST_LOOP_fff_f): Likewise.
3388 (RUN_TEST_LOOP_c_f): Likewise.
3389 (RUN_TEST_LOOP_f_f1): Likewise.
3390 (RUN_TEST_LOOP_fF_f1): Likewise.
3391 (RUN_TEST_LOOP_fI_f1): Likewise.
3392 (RUN_TEST_LOOP_ffI_f1): Likewise.
3393 (RUN_TEST_LOOP_c_c): Likewise.
3394 (RUN_TEST_LOOP_cc_c): Likewise.
3395 (RUN_TEST_LOOP_f_i): Likewise.
3396 (RUN_TEST_LOOP_f_i_tg): Likewise.
3397 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3398 (RUN_TEST_LOOP_f_b): Likewise.
3399 (RUN_TEST_LOOP_f_b_tg): Likewise.
3400 (RUN_TEST_LOOP_f_l): Likewise.
3401 (RUN_TEST_LOOP_f_L): Likewise.
3402 (RUN_TEST_LOOP_fFF_11): Likewise.
3403 * math/gen-libm-test.pl (parse_args): Output four copies of
3404 expected results for each test.
3405
67737b8f
JM
3406 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3407 (__ASSUME_UTIMES): Remove.
3408 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3409 (__ASSUME_UTIMES): Likewise.
3410
aa97dee1
JM
3411 * math/gen-auto-libm-tests.c: Update comment on output format.
3412 (output_for_one_input_case): Generate before-rounding and
3413 after-rounding information as conditions on output flags not
3414 floating-point format.
3415 * math/auto-libm-test-out: Regenerated.
3416 * math/gen-libm-test.pl (cond_value): New function.
3417 (or_cond_value): Use cond_value.
3418 (generate_testfile): Handle conditional exceptions.
3419
e6b6a857
JM
34202014-03-05 Joseph Myers <joseph@codesourcery.com>
3421
2f0a0f44
JM
3422 * math/libm-test.inc (max_valid_error): New variable.
3423 (init_max_error): Take new argument specifying whether function
3424 results are exactly determined. Set max_valid_error and bound
3425 other variables for errors based on this argument.
3426 (set_max_error): Do not record results above max_valid_error.
3427 (check_float_internal): Only accept errors of up to 0.5ulps if
3428 also at most max_valid_error.
3429 (START): Take new argument EXACT and pass it to init_max_error.
3430 (acos_test): Update call to START.
3431 (acos_test_tonearest): Likewise.
3432 (acos_test_towardzero): Likewise.
3433 (acos_test_downward): Likewise.
3434 (acos_test_upward): Likewise.
3435 (acosh_test): Likewise.
3436 (asin_test): Likewise.
3437 (asin_test_tonearest): Likewise.
3438 (asin_test_towardzero): Likewise.
3439 (asin_test_downward): Likewise.
3440 (asin_test_upward): Likewise.
3441 (asinh_test): Likewise.
3442 (atan_test): Likewise.
3443 (atanh_test): Likewise.
3444 (atan2_test): Likewise.
3445 (cabs_test): Likewise.
3446 (cacos_test): Likewise.
3447 (cacosh_test): Likewise.
3448 (carg_test): Likewise.
3449 (casin_test): Likewise.
3450 (casinh_test): Likewise.
3451 (catan_test): Likewise.
3452 (catanh_test): Likewise.
3453 (cbrt_test): Likewise.
3454 (ccos_test): Likewise.
3455 (ccosh_test): Likewise.
3456 (ceil_test): Likewise.
3457 (cexp_test): Likewise.
3458 (cimag_test): Likewise.
3459 (clog_test): Likewise.
3460 (clog10_test): Likewise.
3461 (conj_test): Likewise.
3462 (copysign_test): Likewise.
3463 (cos_test): Likewise.
3464 (cos_test_tonearest): Likewise.
3465 (cos_test_towardzero): Likewise.
3466 (cos_test_downward): Likewise.
3467 (cos_test_upward): Likewise.
3468 (cosh_test): Likewise.
3469 (cosh_test_tonearest): Likewise.
3470 (cosh_test_towardzero): Likewise.
3471 (cosh_test_downward): Likewise.
3472 (cosh_test_upward): Likewise.
3473 (cpow_test): Likewise.
3474 (cproj_test): Likewise.
3475 (creal_test): Likewise.
3476 (csin_test): Likewise.
3477 (csinh_test): Likewise.
3478 (csqrt_test): Likewise.
3479 (ctan_test): Likewise.
3480 (ctan_test_tonearest): Likewise.
3481 (ctan_test_towardzero): Likewise.
3482 (ctan_test_downward): Likewise.
3483 (ctan_test_upward): Likewise.
3484 (ctanh_test): Likewise.
3485 (ctanh_test_tonearest): Likewise.
3486 (ctanh_test_towardzero): Likewise.
3487 (ctanh_test_downward): Likewise.
3488 (ctanh_test_upward): Likewise.
3489 (erf_test): Likewise.
3490 (erfc_test): Likewise.
3491 (exp_test): Likewise.
3492 (exp_test_tonearest): Likewise.
3493 (exp_test_towardzero): Likewise.
3494 (exp_test_downward): Likewise.
3495 (exp_test_upward): Likewise.
3496 (exp10_test): Likewise.
3497 (exp10_test_tonearest): Likewise.
3498 (exp10_test_towardzero): Likewise.
3499 (exp10_test_downward): Likewise.
3500 (exp10_test_upward): Likewise.
3501 (pow10_test): Likewise.
3502 (exp2_test): Likewise.
3503 (expm1_test): Likewise.
3504 (expm1_test_tonearest): Likewise.
3505 (expm1_test_towardzero): Likewise.
3506 (expm1_test_downward): Likewise.
3507 (expm1_test_upward): Likewise.
3508 (fabs_test): Likewise.
3509 (fdim_test): Likewise.
3510 (floor_test): Likewise.
3511 (fma_test): Likewise.
3512 (fma_test_towardzero): Likewise.
3513 (fma_test_downward): Likewise.
3514 (fma_test_upward): Likewise.
3515 (fmax_test): Likewise.
3516 (fmin_test): Likewise.
3517 (fmod_test): Likewise.
3518 (fpclassify_test): Likewise.
3519 (frexp_test): Likewise.
3520 (hypot_test): Likewise.
3521 (ilogb_test): Likewise.
3522 (isfinite_test): Likewise.
3523 (finite_test): Likewise.
3524 (isgreater_test): Likewise.
3525 (isgreaterequal_test): Likewise.
3526 (isinf_test): Likewise.
3527 (isless_test): Likewise.
3528 (islessequal_test): Likewise.
3529 (islessgreater_test): Likewise.
3530 (isnan_test): Likewise.
3531 (isnormal_test): Likewise.
3532 (issignaling_test): Likewise.
3533 (isunordered_test): Likewise.
3534 (j0_test): Likewise.
3535 (j1_test): Likewise.
3536 (jn_test): Likewise.
3537 (ldexp_test): Likewise.
3538 (lgamma_test): Likewise.
3539 (gamma_test): Likewise.
3540 (lrint_test): Likewise.
3541 (lrint_test_tonearest): Likewise.
3542 (lrint_test_towardzero): Likewise.
3543 (lrint_test_downward): Likewise.
3544 (lrint_test_upward): Likewise.
3545 (llrint_test): Likewise.
3546 (llrint_test_tonearest): Likewise.
3547 (llrint_test_towardzero): Likewise.
3548 (llrint_test_downward): Likewise.
3549 (llrint_test_upward): Likewise.
3550 (log_test): Likewise.
3551 (log10_test): Likewise.
3552 (log1p_test): Likewise.
3553 (log2_test): Likewise.
3554 (logb_test): Likewise.
3555 (logb_test_downward): Likewise.
3556 (lround_test): Likewise.
3557 (llround_test): Likewise.
3558 (modf_test): Likewise.
3559 (nearbyint_test): Likewise.
3560 (nextafter_test): Likewise.
3561 (nexttoward_test): Likewise.
3562 (pow_test): Likewise.
3563 (pow_test_tonearest): Likewise.
3564 (pow_test_towardzero): Likewise.
3565 (pow_test_downward): Likewise.
3566 (pow_test_upward): Likewise.
3567 (remainder_test): Likewise.
3568 (drem_test): Likewise.
3569 (remainder_test_tonearest): Likewise.
3570 (drem_test_tonearest): Likewise.
3571 (remainder_test_towardzero): Likewise.
3572 (drem_test_towardzero): Likewise.
3573 (remainder_test_downward): Likewise.
3574 (drem_test_downward): Likewise.
3575 (remainder_test_upward): Likewise.
3576 (drem_test_upward): Likewise.
3577 (remquo_test): Likewise.
3578 (rint_test): Likewise.
3579 (rint_test_tonearest): Likewise.
3580 (rint_test_towardzero): Likewise.
3581 (rint_test_downward): Likewise.
3582 (rint_test_upward): Likewise.
3583 (round_test): Likewise.
3584 (scalb_test): Likewise.
3585 (scalbn_test): Likewise.
3586 (scalbln_test): Likewise.
3587 (signbit_test): Likewise.
3588 (sin_test): Likewise.
3589 (sin_test_tonearest): Likewise.
3590 (sin_test_towardzero): Likewise.
3591 (sin_test_downward): Likewise.
3592 (sin_test_upward): Likewise.
3593 (sincos_test): Likewise.
3594 (sinh_test): Likewise.
3595 (sinh_test_tonearest): Likewise.
3596 (sinh_test_towardzero): Likewise.
3597 (sinh_test_downward): Likewise.
3598 (sinh_test_upward): Likewise.
3599 (sqrt_test): Likewise.
3600 (sqrt_test_tonearest): Likewise.
3601 (sqrt_test_towardzero): Likewise.
3602 (sqrt_test_downward): Likewise.
3603 (sqrt_test_upward): Likewise.
3604 (tan_test): Likewise.
3605 (tan_test_tonearest): Likewise.
3606 (tan_test_towardzero): Likewise.
3607 (tan_test_downward): Likewise.
3608 (tan_test_upward): Likewise.
3609 (tanh_test): Likewise.
3610 (tgamma_test): Likewise.
3611 (trunc_test): Likewise.
3612 (y0_test): Likewise.
3613 (y1_test): Likewise.
3614 (yn_test): Likewise.
3615 (significand_test): Likewise.
3616
e6b6a857
JM
3617 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3618 individual tests in comment.
3619 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3620 (prev_max_error): New variable.
3621 (prev_real_max_error): Likewise.
3622 (prev_imag_max_error): Likewise.
3623 (compare_ulp_data): Don't refer to test names in comment.
3624 (find_test_ulps): Remove function.
3625 (find_function_ulps): Likewise.
3626 (find_complex_function_ulps): Likewise.
3627 (init_max_error): Take function name as argument. Look up ulps
3628 for that function.
3629 (print_ulps): Remove function.
3630 (print_max_error): Use prev_max_error instead of calling
3631 find_function_ulps.
3632 (print_complex_max_error): Use prev_real_max_error and
3633 prev_imag_max_error instead of calling find_complex_function_ulps.
3634 (check_float_internal): Take max_ulp parameter instead of calling
3635 find_test_ulps. Don't call print_ulps.
3636 (check_float): Update call to check_float_internal.
3637 (check_complex): Update calls to check_float_internal.
3638 (START): Pass argument to init_max_error.
3639 * math/gen-libm-test.pl (%results): Don't include "kind"
3640 information.
3641 (parse_ulps): Don't handle ulps of individual tests.
3642 (print_ulps_file): Likewise.
3643 (output_ulps): Likewise.
3644 * math/README.libm-test: Update.
3645 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3646 individual tests.
3647 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3648 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3649 * sysdeps/arm/libm-test-ulps: Likewise.
3650 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3651 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3652 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3653 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3654 * sysdeps/microblaze/libm-test-ulps: Likewise.
3655 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3656 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3657 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3658 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3659 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3660 * sysdeps/sh/libm-test-ulps: Likewise.
3661 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3662 * sysdeps/tile/libm-test-ulps: Likewise.
3663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3664
45adef3c
JM
36652014-03-04 Joseph Myers <joseph@codesourcery.com>
3666
3667 * math/libm-test.inc (print_complex_max_error): Check separately
3668 whether real and imaginary errors are within allowed range and
3669 pass 0 to print_complex_function_ulps instead of value within
3670 allowed range.
3671
000232b9
SP
36722014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3673
d4b17258
SP
3674 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3675 formatting.
3676 (get_handles_fopen): Likewise.
3677 (do_write_test): Likewise.
3678
091eff71
SP
3679 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3680
fa3cd248
SP
3681 * libio/fileops.c (do_ftell): Use cached offset when
3682 available.
3683 * libio/iofwide.c (do_ftell_wide): Likewise.
3684 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3685 _IO_file_attach.
3686 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3687
000232b9
SP
3688 [BZ #16532]
3689 * libio/libioP.h (get_file_offset): New function.
3690 * libio/fileops.c (get_file_offset): Likewise.
3691 (do_ftell): Likewise.
3692 (_IO_new_file_seekoff): Split out ftell logic.
3693 * libio/wfileops.c (do_ftell_wide): Likewise.
3694 (_IO_wfile_seekoff): Split out ftell logic.
3695 * libio/tst-ftell-active-handler.c: New test case.
3696 * libio/Makefile (tests): Add it.
3697
116f4d1a
RM
36982014-03-03 Roland McGrath <roland@hack.frob.com>
3699
3700 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3701 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3702
532a6035
SP
37032014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3704
3705 [BZ #16639]
3706 * nscd/connections.c (nscd_init): Call do_exit.
3707 (start_threads): Call do_exit and notify_parent.
3708 (begin_drop_privileges): Call do_exit.
3709 (finish_drop_privileges): Likewise.
3710 * nscd/selinux.c (preserve_capabilities): Likewise.
3711 (install_real_capabilities): Likewise.
3712 (nscd_selinux_enabled): Likewise.
3713 (avc_create_thread): Likewise.
3714 (avc_alloc_lock): Likewise.
3715 (nscd_avc_init): Likewise.
3716 * nscd/nscd.c (parent_fd): New static variable.
3717 (main): Create a pipe between parent and child processes.
3718 Skip closing parent_fd.
3719 (monitor_child): New function.
3720 (do_exit): Likewise.
3721 (notify_parent): Likewise.
3722 * nscd/nscd.h (notify_parent): Likewise.
3723 (do_exit): Likewise.
3724
d6285c9f
CD
37252014-03-03 Carlos O'Donell <carlos@redhat.com>
3726
3727 * malloc/malloc.c (__libc_calloc): Revert last change.
3728
2b85d2a0
AZ
37292014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3730
3731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3732
c7debbdf
RS
37332014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3734
3735 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3737 implementation.
3738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3739 (__libc_ifunc_impl_list): Likewise.
3740 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3741 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3742 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3743 * string/strrchr.c: Define STRRCHR.
3744
235eed86
OB
37452014-02-28 Ondřej Bílka <neleai@seznam.cz>
3746
3747 * benchtest/bench-strtok.c (simple_strtok): Delete.
3748 (strtok_string): Use as benchmark.
3749 * string/strtok (STRTOK): New macro.
3750
8e25d1e7
CD
37512014-02-28 Carlos O'Donell <carlos@redhat.com>
3752
ef563f92
CD
3753 * manual/threads.texi: Add header and standard comments to all
3754 functions.
3755
8e25d1e7
CD
3756 * elf/dl-lookup.c (check_match): New function.
3757 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3758 (do_lookup_x): Remove nested function check_match. Use non-nested
3759 function check_match.
3760
ff71cc37
RM
37612014-02-28 Roland McGrath <roland@hack.frob.com>
3762
f08e9a26
RM
3763 * csu/Makefile (generated, before-compile): Use += rather than =.
3764 * catgets/Makefile (generated, generated-dirs): Likewise.
3765 * debug/Makefile (generated): Likewise.
3766 * dlfcn/Makefile (generated): Likewise.
3767 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3768 * iconvdata/Makefile (before-compile, generated): Likewise.
3769 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3770 * libio/Makefile (generated): Likewise.
3771 * malloc/Makefile (generated): Likewise.
3772 * manual/Makefile (generated, generated-dirs): Likewise.
3773 * misc/Makefile (generated): Likewise.
3774 * posix/Makefile (generated): Likewise.
3775 * resolv/Makefile (generated): Likewise.
3776 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3777 * timezone/Makefile (generated, generated-dirs): Likewise.
3778
ff71cc37
RM
3779 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3780
fe13a20c
AZ
37812014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3782
57f41c40
AS
3783 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3784 power8 implementation.
3785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3786 file: POWER8 llround ifunc implementation.
3787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3788 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3789 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3790 POWER8 llround implementation.
3791
57f41c40
AS
3792 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3793 power8 implementation.
3794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3795 file: POWER8 llrint ifunc implementation.
3796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3797 Add POWER8 implementation.
1ad8950a
AZ
3798 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3799 POWER8 llrint implementation.
3800
57f41c40
AS
3801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3802 power8 implementation.
3803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3804 file: POWER8 finite ifunc implementation.
3805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3806 Add POWER8 implementation.
cac626d6
AZ
3807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3808 Likewise.
3809 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3810 POWER8 finite implementation.
3811 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3812
57f41c40
AS
3813 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3814 power8 implementation.
3815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3816 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3818 POWER8 implementation.
3819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3820 Likewise.
57f41c40
AS
3821 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3822 isinf implementation.
4393fc11
AZ
3823 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3824
57f41c40
AS
3825 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3826 (INIT_ARCH): Add hwcap2 initialization.
3827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3828 power8 implementation.
3829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3830 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3832 POWER8 implementation.
3833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3834 Likewise.
57f41c40
AS
3835 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3836 isnan implementation.
487972ae
AZ
3837 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3838
7d92b787
JY
38392014-02-27 Joey Ye <joey.ye@arm.com>
3840
3841 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3842 (_FP_NANFRAC_Q): Set to zero.
3843
1cadc858
SP
38442014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3845
3846 [BZ #16623]
3847 * math/auto-libm-test-in: New test inputs.
3848 * math/auto-libm-test-out: Regenerate.
3849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3850 and DA.
3851 (__cos): Likewise.
3852 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3853
f8c17e79
JM
38542014-02-27 Joseph Myers <joseph@codesourcery.com>
3855
3856 * scripts/evaluate-test.sh: Take new argument indicating whether
3857 failure is expected.
3858 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3859 indicating whether failure is expected.
3860 * conform/Makefile (test-xfail-run-conformtest): New variable.
3861 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3862 level.
3863 * posix/Makefile (test-xfail-annexc): New variable.
3864 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3865
a5f891ac
JM
38662014-02-26 Joseph Myers <joseph@codesourcery.com>
3867
3868 * argp/Makefile: Include Makeconfig immediately after defining
3869 subdir.
3870 * assert/Makefile: Likewise.
3871 * benchtests/Makefile: Likewise.
3872 * catgets/Makefile: Likewise.
3873 * conform/Makefile: Likewise.
3874 * crypt/Makefile: Likewise.
3875 * csu/Makefile: Likewise.
3876 (all): Remove target.
3877 * ctype/Makefile: Include Makeconfig immediately after defining
3878 subdir.
3879 * debug/Makefile: Likewise.
3880 * dirent/Makefile: Likewise.
3881 * dlfcn/Makefile: Likewise.
3882 * gmon/Makefile: Likewise.
3883 * gnulib/Makefile: Likewise.
3884 * grp/Makefile: Likewise.
3885 * gshadow/Makefile: Likewise.
3886 * hesiod/Makefile: Likewise.
3887 * hurd/Makefile: Likewise.
3888 (all): Remove target.
3889 * iconvdata/Makefile: Include Makeconfig immediately after
3890 defining subdir.
3891 * inet/Makefile: Likewise.
3892 * intl/Makefile: Likewise.
3893 * io/Makefile: Likewise.
3894 * libio/Makefile: Likewise.
3895 (all): Remove target.
3896 * locale/Makefile: Include Makeconfig immediately after defining
3897 subdir.
3898 * login/Makefile: Likewise.
3899 * mach/Makefile: Likewise.
3900 (all): Remove target.
3901 * malloc/Makefile: Include Makeconfig immediately after defining
3902 subdir.
3903 (all): Remove target.
3904 * manual/Makefile: Include Makeconfig immediately after defining
3905 subdir.
3906 * math/Makefile: Likewise.
3907 * misc/Makefile: Likewise.
3908 * nis/Makefile: Likewise.
3909 * nss/Makefile: Likewise.
3910 * po/Makefile: Likewise.
3911 (all): Remove target.
3912 * posix/Makefile: Include Makeconfig immediately after defining
3913 subdir.
3914 * pwd/Makefile: Likewise.
3915 * resolv/Makefile: Likewise.
3916 * resource/Makefile: Likewise.
3917 * rt/Makefile: Likewise.
3918 * setjmp/Makefile: Likewise.
3919 * shadow/Makefile: Likewise.
3920 * signal/Makefile: Likewise.
3921 * socket/Makefile: Likewise.
3922 * soft-fp/Makefile: Likewise.
3923 * stdio-common/Makefile: Likewise.
3924 * stdlib/Makefile: Likewise.
3925 * streams/Makefile: Likewise.
3926 * string/Makefile: Likewise.
3927 * sunrpc/Makefile: Likewise.
3928 (all): Remove target.
3929 * sysvipc/Makefile: Include Makeconfig immediately after defining
3930 subdir.
3931 * termios/Makefile: Likewise.
3932 * time/Makefile: Likewise.
3933 * timezone/Makefile: Likewise.
3934 (all): Remove target.
3935 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3936 subdir.
3937 * wctype/Makefile: Likewise.
3938
5b456e9d
SE
39392014-02-26 Steve Ellcey <sellcey@mips.com>
3940
3941 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3942 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3943 (libc_feholdexcept_setround_mips): Ditto.
3944 (libc_feholdsetround): New.
3945 (libc_feholdsetroundf): New.
3946 (libc_feholdsetroundl): New.
3947 (libc_feupdateenv_test_mips): New.
3948 (libc_feupdateenv_test): New.
3949 (libc_feupdateenv_testf): New.
3950 (libc_feupdateenv_testl): New.
3951 (libc_feresetround): New.
3952 (libc_feresetroundf): New.
3953 (libc_feresetroundl): New.
3954 (libc_fetestexcept_mips): New.
3955 (libc_fetestexcept): New.
3956 (libc_fetestexceptf): New.
3957 (libc_fetestexceptl): New.
3958 (HAVE_RM_CTX): New.
3959 (libc_feholdexcept_setround_mips_ctx): New.
3960 (libc_feholdexcept_setround_ctx): New.
3961 (libc_feholdexcept_setroundf_ctx): New.
3962 (libc_feholdexcept_setroundl_ctx): New.
3963 (libc_fesetenv_mips_ctx): New.
3964 (libc_fesetenv_ctx): New.
3965 (libc_fesetenv_ctxf): New.
3966 (libc_fesetenv_ctxl): New.
3967 (libc_feupdateenv_mips_ctx): New.
3968 (libc_feupdateenv_ctx): New.
3969 (libc_feupdateenvf_ctx): New.
3970 (libc_feupdateenvl_ctx): New.
3971 (libc_feholdsetround_mips_ctx): New.
3972 (libc_feholdsetround_ctx): New.
3973 (libc_feholdsetroundf_ctx): New.
3974 (libc_feholdsetroundl_ctx): New.
3975 (libc_feresetround_mips_ctx): New.
3976 (libc_feresetround_ctx): New.
3977 (libc_feresetroundf_ctx): New.
3978 (libc_feresetroundl_ctx): New.
3979
085d0e35
CD
39802014-02-26 Carlos O'Donell <carlos@redhat.com>
3981
f067bf1f
CD
3982 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3983
085d0e35
CD
3984 * manual/ipc.texi: New file.
3985 * manual/Makefile (chapters): Add ipc.
3986 * manual/job.texi: Add "Inter-Process Communication" to next.
3987 * manual/process.texi: Add "Inter-Process Communication" to prev.
3988
86e58c08
AZ
39892014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3990
3991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3992
4248f0da
OB
39932014-02-26 Ondřej Bílka <neleai@seznam.cz>
3994
3995 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3996
cf822e3c
OB
3997 * manual/arith.texi: Fix spaces after sentences.
3998 * manual/charset.texi: Likewise.
3999 * manual/errno.texi: Likewise.
4000 * manual/install.texi: Likewise.
4001 * manual/llio.texi: Likewise.
4002 * manual/locale.texi: Likewise.
4003 * manual/maint.texi: Likewise.
4004 * manual/math.texi: Likewise.
4005 * manual/memory.texi: Likewise.
4006 * manual/message.texi: Likewise.
4007 * manual/probes.texi: Likewise.
4008 * manual/resource.texi: Likewise.
4009 * manual/signal.texi: Likewise.
4010 * manual/socket.texi: Likewise.
4011 * manual/stdio.texi: Likewise.
4012 * manual/string.texi: Likewise.
4013 * manual/time.texi: Likewise.
4014 * manual/users.texi: Likewise.
4015
ade40b10
CD
40162014-02-25 Carlos O'Donell <carlos@redhat.com>
4017
4018 [BZ #16632]
4019 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4020 _DEFAULT_SOURCE is defined.
4021
d0503676
CD
40222014-02-25 Ulrich Drepper <drepper@gmail.com>
4023 Carlos O'Donell <carlos@redhat.com>
4024
4025 [BZ #16613]
4026 * elf/dl-tls.c (_dl_count_modids): New function.
4027 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4028 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4029 audit library and increment generation counter.
4030 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4031 * elf/tst-audit9.c: New file.
4032 * elf/tst-auditmod9a.c: New file.
4033 * elf/tst-auditmod9b.c: New file.
4034 * elf/Makefile: Add rules to build and run tst-audit9.
4035
4cbf380c
FW
40362014-02-25 Florian Weimer <fweimer@redhat.com>
4037
4038 [BZ #15347]
4039 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4040
80a56cc3
WN
40412014-02-25 Will Newton <will.newton@linaro.org>
4042
4043 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4044 (__longjmp): Restore sp and lr before restoring callee
4045 saved registers. Add longjmp and longjmp_target
4046 SystemTap probe point.
4047 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4048 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4049 Define to zero to match jmpbuf layout.
4050 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4051 (__sigsetjmp): Save sp and lr before saving callee
4052 saved registers. Add setjmp SystemTap probe point.
4053
3ea0f74e
SL
40542014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4055
4056 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4057
b04acb26
AS
40582014-02-24 Andreas Schwab <schwab@suse.de>
4059
4060 [BZ #15804]
4061 * elf/pldd.c (wait_for_ptrace_stop): New function.
4062 (main): Call it after attaching.
4063
098ad55c
RM
40642014-02-22 Roland McGrath <roland@hack.frob.com>
4065
d4ec6ae1
RM
4066 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4067 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4068 Versions files is now verboten.
4069 * hurd/Versions (libc: GLIBC_2.0):
4070 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4071 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4072 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4073 * mach/Versions: Likewise.
4074
098ad55c
RM
4075 * csu/Versions: Remove unused %include.
4076 * resolv/Versions: Likewise.
4077
acd7f096
JM
40782014-02-21 Joseph Myers <joseph@codesourcery.com>
4079
f0881698
JM
4080 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4081 ($(objpfx)check-local-headers.out): Likewise.
4082 ($(objpfx)begin-end-check.out): Likewise.
4083 * Makerules (check-abi-%.out): Likewise.
4084 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4085 ($(objpfx)test2.cat): Likewise.
4086 ($(objpfx)de/libc.cat): Likewise.
4087 ($(objpfx)test-gencat.out): Likewise.
4088 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4089 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4090 ($(objpfx)noload-mem): Likewise.
4091 ($(objpfx)tst-pathopt.out): Likewise.
4092 ($(objpfx)tst-rtld-load-self.out): Likewise.
4093 ($(objpfx)tst-array1-cmp.out): Likewise.
4094 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4095 ($(objpfx)tst-array2-cmp.out): Likewise.
4096 ($(objpfx)tst-array3-cmp.out): Likewise.
4097 ($(objpfx)tst-array4-cmp.out): Likewise.
4098 ($(objpfx)tst-array5-cmp.out): Likewise.
4099 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4100 ($(objpfx)check-textrel.out): Likewise.
4101 ($(objpfx)check-execstack.out): Likewise.
4102 ($(objpfx)check-localplt.out): Likewise.
4103 ($(objpfx)order2-cmp.out): Likewise.
4104 ($(objpfx)tst-leaks1-mem): Likewise.
4105 ($(objpfx)tst-leaks1-static-mem): Likewise.
4106 ($(objpfx)tst-initorder-cmp.out): Likewise.
4107 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4108 ($(objpfx)tst-unused-dep.out): Likewise.
4109 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4110 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4111 * iconv/Makefile (test-iconvconfig): Likewise.
4112 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4113 ($(objpfx)iconv-test.out): Likewise.
4114 ($(objpfx)tst-tables.out): Likewise.
4115 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4116 ($(objpfx)tst-gettext.out): Likewise.
4117 ($(objpfx)tst-translit.out): Likewise.
4118 ($(objpfx)tst-gettext2.out): Likewise.
4119 ($(objpfx)tst-gettext4.out): Likewise.
4120 ($(objpfx)tst-gettext6.out): Likewise.
4121 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4122 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4123 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4124 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4125 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4126 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4127 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4128 ($(objpfx)wordexp-tst.out): Likewise.
4129 ($(objpfx)annexc.out): Likewise.
4130 ($(objpfx)tst-fnmatch-mem): Likewise.
4131 ($(objpfx)bug-regex2-mem): Likewise.
4132 ($(objpfx)bug-regex14-mem): Likewise.
4133 ($(objpfx)bug-regex21-mem): Likewise.
4134 ($(objpfx)bug-regex31-mem): Likewise.
4135 ($(objpfx)tst-vfork3-mem): Likewise.
4136 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4137 ($(objpfx)tst-pcre-mem): Likewise.
4138 ($(objpfx)tst-boost-mem): Likewise.
4139 ($(objpfx)tst-getconf.out): Likewise.
4140 ($(objpfx)bug-ga2-mem): Likewise.
4141 ($(objpfx)bug-glob2-mem): Likewise.
4142 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4143 ($(objpfx)mtrace-tst-leaks2): Likewise.
4144 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4145 ($(objpfx)tst-printf.out): Likewise.
4146 ($(objpfx)tst-setvbuf1.out): Likewise.
4147 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4148 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4149 ($(objpfx)tst-fmtmsg.out): Likewise.
4150 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4151 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4152
acd7f096
JM
4153 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4154 * bits/sigaction.h [__USE_MISC]: Likewise.
4155 * bits/waitstatus.h: Update #endif comments.
4156 * ctype/ctype.h: Likewise.
4157 * dirent/dirent.h: Likewise.
4158 [__USE_MISC]: Remove redundant conditionals.
4159 * grp/grp.h: Update #endif comments.
4160 [__USE_GNU]: Remove redundant conditionals.
4161 [__USE_MISC]: Likewise.
4162 * inet/netinet/in.h [__USE_GNU]: Likewise.
4163 * io/sys/stat.h [__USE_MISC]: Likewise.
4164 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4165 * libio/bits/stdio.h: Update #endif comments.
4166 [__USE_MISC]: Remove redundant conditionals.
4167 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4168 * libio/stdio.h: Update #endif comments.
4169 [__USE_MISC]: Remove redundant conditionals.
4170 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4171 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4172 * math/math.h: Update #else and #endif comments.
4173 [__USE_MISC]: Remove redundant conditionals.
4174 * misc/sys/uio.h: Update #endif comments.
4175 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4176 * posix/glob.h [__USE_MISC]: Likewise.
4177 * posix/sys/types.h: Update #endif comments.
4178 [__USE_MISC]: Remove redundant conditionals.
4179 * posix/sys/wait.h: Update #endif comments.
4180 [__USE_MISC]: Remove redundant conditionals.
4181 * posix/unistd.h: Update #endif comments.
4182 [__USE_MISC]: Remove redundant conditionals.
4183 * pwd/pwd.h [__USE_GNU]: Likewise.
4184 [__USE_MISC]: Likewise.
4185 * resolv/netdb.h [__USE_GNU]: Likewise.
4186 * signal/signal.h: Update #endif comments.
4187 [__USE_MISC]: Remove redundant conditionals.
4188 * stdlib/stdlib.h: Update #else and #endif comments.
4189 [__USE_MISC]: Remove redundant conditionals.
4190 [__USE_GNU]: Likewise.
4191 * string/bits/string2.h [__USE_MISC]: Likewise.
4192 * string/string.h: Update #endif comments.
4193 [__USE_MISC]: Remove redundant conditionals.
4194 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4195 Likewise.
4196 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4197 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4198 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4199 Likewise.
4200 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4201 Likewise.
4202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4203 comments.
4204 [__USE_MISC]: Remove redundant conditionals.
4205 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4206 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4207 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4208 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4209 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4210 Likewise.
4211 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4212 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4213 Likewise.
4214 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4215 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4216 Likewise.
4217 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4218 Likewise.
4219 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4220 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4221 Likewise.
4222 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4223 Likewise.
4224 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4225 * sysdeps/x86/bits/string.h: Update #endif comments.
4226 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4227 conditionals.
4228 * time/sys/time.h: Update #endif comments.
4229 * time/time.h: Likewise.
4230 [__USE_MISC]: Remove redundant conditionals.
4231
a5d82e4e
YG
42322014-02-21 Yury Gribov <y.gribov@samsung.com>
4233
4234 [BZ #16600]
4235 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4236
9a80491d
AS
42372014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4238
4239 * Versions.def (librt): Add GLIBC_2.17.
4240
105fa381
AC
42412014-02-21 Adam Conrad <adconrad@0c3.net>
4242
4243 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4244 synonym for _SYS_AUXV_H to allow direct inclusion.
4245 * sysdeps/sparc/bits/hwcap.h: Likewise.
4246 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4247 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4248 * sysdeps/sparc/sysdep.h: Likewise.
4249
b8cd1c4e
SP
42502014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4251
4252 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4253
bd939d23
RS
42542014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4255
4256 * benchtests/bench-strrchr.c: Print length instead of position.
4257
5d7b57ca
JM
42582014-02-20 Joseph Myers <joseph@codesourcery.com>
4259
bc688c10
JM
4260 [BZ #16611]
4261 * sysdeps/unix/sysv/linux/kernel-features.h
4262 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4263 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4264 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4265 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4266 Likewise.
4267 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4268 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4269 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4270 (__ASSUME_SENDMMSG): Define instead of using previous
4271 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4272 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4273 (__ASSUME_SENDMMSG_SYSCALL): Define.
4274 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4275 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4276 Likewise.
4277 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4278 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4279 Likewise.
4280 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4281 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4282 Likewise.
4283 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4284 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4285 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4286 [__ASSUME_SENDMMSG]: Change conditionals to
4287 [__ASSUME_SENDMMSG_SOCKETCALL].
4288 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4289 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4290 Define.
4291 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4292 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4293 Likewise.
4294 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4295 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4296 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4297 [!__ASSUME_SENDMMSG]: Change conditional to
4298 [!__ASSUME_SENDMMSG_SOCKETCALL].
4299 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4300 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4301 Define.
4302
0e31b18c
JM
4303 [BZ #16610]
4304 * sysdeps/unix/sysv/linux/kernel-features.h
4305 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4306 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4307 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4308 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4309 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4310 [__i386__ || __sparc__]
4311 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4312 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4313 (__ASSUME_RECVMMSG): Define instead of using previous
4314 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4315 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4316 (__ASSUME_RECVMMSG_SYSCALL): Define.
4317 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4318 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4319 Likewise.
4320 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4321 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4322 Likewise.
4323 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4324 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4325 Likewise.
4326 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4327 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4328 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4329 [__ASSUME_RECVMMSG]: Change condition to
4330 [__ASSUME_RECVMMSG_SOCKETCALL].
4331 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4332 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4333 Define.
4334 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4335 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4336 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4337 Likewise.
4338 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4339 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4340 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4341 [!__ASSUME_RECVMMSG]: Change condition to
4342 [!__ASSUME_RECVMMSG_SOCKETCALL].
4343 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4344 (__ASSUME_RECVMMSG_SYSCALL): Define.
4345
dd481ccf
JM
4346 [BZ #16609]
4347 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4348 __powerpc__ || __s390__ || __sh__ || __sparc__]
4349 (__ASSUME_SOCKETCALL): Define.
4350 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4351 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4352 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4353 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4354 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4355 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4356 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4357 (__ASSUME_ACCEPT4): Define instead of using previous
4358 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4359 __powerpc__ || __sparc__ || __s390__)] condition.
4360 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4361 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4362 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4363 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4364 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4365 [!__ASSUME_ACCEPT4]: Change condition to
4366 [!__ASSUME_ACCEPT4_SOCKETCALL].
4367 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4368 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4369 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4370 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4371 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4372 __ASSUME_ACCEPT4_SYSCALL.
4373 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4374 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4375 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4376 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4377 __ASSUME_ACCEPT4_SYSCALL.
4378 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4379 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4380 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4381 [__ASSUME_ACCEPT4]: Change condition to
4382 [__ASSUME_ACCEPT4_SOCKETCALL].
4383 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4384 (__ASSUME_SOCKETCALL): Define.
4385 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4386 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4387 (__ASSUME_SOCKETCALL): Define.
4388 (__ASSUME_ACCEPT4): Remove.
4389 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4390 Define.
4391 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4392 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4393 Likewise.
4394 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4395 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4396
5d7b57ca
JM
4397 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4398 macro.
4399 (HWCAP_ARM_LPAE): Likewise.
4400 (HWCAP_ARM_EVTSTRM): Likewise.
4401 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4402 Add vpfd32, lpae and evtstrm.
4403 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4404 Increase to 22.
4405
63689d61
JM
44062014-02-19 Joseph Myers <joseph@codesourcery.com>
4407
4408 * math/auto-libm-test-in: Add tests of clog10.
4409 * math/auto-libm-test-out: Regenerated.
4410 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4411 * sysdeps/i386/fpu/libm-test-ulps: Update.
4412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4413
ab09bf61
AS
44142014-02-18 Andreas Schwab <schwab@suse.de>
4415
4416 [BZ #16574]
4417 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4418 Store non-zero if the second buffer was newly allocated.
4419 (send_dg): Likewise.
4420 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4421 to send_vc and send_dg.
4422 (res_nsend): Pass NULL for ansp2_malloced.
4423 * resolv/res_query.c (__libc_res_nquery): Add parameter
4424 answerp2_malloced and pass it down to __libc_res_nsend.
4425 (res_nquery): Pass additional NULL to __libc_res_nquery.
4426 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4427 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4428 second answer buffer if answerp2_malloced was set.
4429 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4430 (__libc_res_nquerydomain): Add parameter
4431 answerp2_malloced and pass it down to __libc_res_nquery.
4432 (res_nquerydomain): Pass additional NULL to
4433 __libc_res_nquerydomain.
4434 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4435 additional NULL to __libc_res_nsend and __libc_res_nquery.
4436 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4437 additional NULL to __libc_res_nsearch.
4438 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4439 parameter of __libc_res_nsearch to check for separately allocated
4440 second buffer.
4441 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4442 __libc_res_nquery.
4443 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4444 additional NULL to __libc_res_nquery.
4445 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4446 __libc_res_nsearch.
4447 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4448 * include/resolv.h: Update prototypes of __libc_res_nquery,
4449 __libc_res_nsearch, __libc_res_nsend.
4450
a4fb7861
JM
44512014-02-18 Joseph Myers <joseph@codesourcery.com>
4452
c6af2d89
JM
4453 * math/auto-libm-test-in: Add tests of fma.
4454 * math/auto-libm-test-out: Regenerated.
4455 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4456 (fma_towardzero_test_data): Likewise.
4457 (fma_downward_test_data): Likewise.
4458 (fma_upward_test_data): Likewise.
4459 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4460 mpc_mode.
4461 (rounding_modes): Add values for new field.
4462 (func_calc_method): Add value mpfr_fff_f.
4463 (func_calc_desc): Add mpfr_fff_f union field.
4464 (test_function): Add field exact_args.
4465 (FUNC): Add macro argument EXACT_ARGS.
4466 (FUNC_mpfr_f_f): Update call to FUNC.
4467 (FUNC_mpfr_f_f): Likewise.
4468 (FUNC_mpfr_ff_f): Likewise.
4469 (FUNC_mpfr_if_f): Likewise.
4470 (FUNC_mpc_c_f): Likewise.
4471 (FUNC_mpc_c_c): Likewise.
4472 (test_functions): Add fma. Update calls to FUNC.
4473 (handle_input_arg): Add argument exact_args.
4474 (add_test): Update call to handle_input_arg.
4475 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4476 (output_for_one_input_case): Update call to calc_generic_results.
4477 Recalculate exact zero results in each rounding mode.
4478
a4fb7861
JM
4479 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4480 non-negative before setting low bit.
4481 * math/auto-libm-test-in: Mark one asin test possibly having
4482 spurious underflow.
4483 * math/auto-libm-test-out: Regenerated.
4484 * sysdeps/i386/fpu/libm-test-ulps: Update.
4485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4486
ef114eaf
DH
44872014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4488
2b7f4f2c
SP
4489 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4490 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4491 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
4492 * README: Add missing listing for microblaze*-*-linux-gnu.
4493
c70a4b1d
MF
44942014-02-16 Mike Frysinger <vapier@gentoo.org>
4495
4496 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4497 * sysdeps/unix/sysv/linux/ia64: Move directory from
4498 ports/sysdeps/unix/sysv/linux/ia64.
4499 * README: Update listing for ia64-*-linux-gnu.
4500
591aeaf7
TD
45012014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4502 Joseph Myers <joseph@codesourcery.com>
4503
4504 * Makeconfig (test-name): New variable.
4505 (evaluate-test): Likewise.
4506 * Makerules (do-test-clean): Remove .test-result files.
4507 (common-mostlyclean): Likewise.
4508 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4509 * scripts/evaluate-test.sh: New file.
4510
6e89caf1
JM
45112014-02-14 Joseph Myers <joseph@codesourcery.com>
4512
7f98f180
JM
4513 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4514 separate $(objpfx)tst-fopenloc-cmp.out and
4515 $(objpfx)tst-fopenloc-mem.out targets.
4516 (tests): Update dependencies.
4517 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4518 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4519 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4520 (tst-rxspencer-no-utf8-ARGS): New variable.
4521 (tst-rxspencer-no-utf8-ENV): Likewise.
4522 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4523 instead of $(objpfx)tst-rxspencer-mem.
4524 ($(objpfx)tst-rxspencer-mem): Change target to
4525 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4526 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4527 * posix/tst-rxspencer-no-utf8.c: New file.
4528
6e89caf1
JM
4529 * elf/Makefile ($(objpfx)order.out): Remove rule.
4530 [$(run-built-tests) = yes] (tests): Depend on
4531 $(objpfx)order-cmp.out.
4532 ($(objpfx)order-cmp.out): New rule.
4533 [$(run-built-tests) = yes] (tests): Depend on
4534 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4535 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4536 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4537 $(objpfx)tst-array5-static-cmp.out.
4538 ($(objpfx)tst-array1.out): Remove rule.
4539 ($(objpfx)tst-array1-cmp.out): New rule.
4540 ($(objpfx)tst-array1-static.out): Remove rule.
4541 ($(objpfx)tst-array1-static-cmp.out): New rule.
4542 ($(objpfx)tst-array2.out): Remove rule.
4543 ($(objpfx)tst-array2-cmp.out): New rule.
4544 ($(objpfx)tst-array3.out): Remove rule.
4545 ($(objpfx)tst-array3-cmp.out): New rule.
4546 ($(objpfx)tst-array4.out): Remove rule.
4547 ($(objpfx)tst-array4-cmp.out): New rule.
4548 ($(objpfx)tst-array5.out): Remove rule.
4549 ($(objpfx)tst-array5-cmp.out): New rule.
4550 ($(objpfx)tst-array5-static.out): Remove rule.
4551 ($(objpfx)tst-array5-static-cmp.out): New rule.
4552 [$(run-built-tests) = yes] (tests): Depend on
4553 $(objpfx)order2-cmp.out.
4554 ($(objpfx)order2.out): Remove rule.
4555 ($(objpfx)order2-cmp.out): New rule.
4556 ($(objpfx)tst-initorder.out): Remove rule.
4557 [$(run-built-tests) = yes] (tests): Depend on
4558 $(objpfx)tst-initorder-cmp.out.
4559 ($(objpfx)tst-initorder-cmp.out): New rule.
4560 ($(objpfx)tst-initorder2.out): Remove rule.
4561 [$(run-built-tests) = yes] (tests): Depend on
4562 $(objpfx)tst-initorder2-cmp.out.
4563 ($(objpfx)tst-initorder2-cmp.out): New rule.
4564 [$(run-built-tests) = yes] (tests): Depend on
4565 $(objpfx)tst-unused-dep-cmp.out.
4566 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4567 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4568 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4569 on $(objpfx)tst-setvbuf1-cmp.out.
4570 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4571 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4572 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4573 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4574 ($(objpfx)tst-svc.out): Remove rule.
4575 ($(objpfx)tst-svc-cmp.out): New rule.
4576
ed9a38e2
JM
45772014-02-13 Joseph Myers <joseph@codesourcery.com>
4578
4579 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4580 * ctype/ctype.h [__USE_MISC]: Likewise.
4581 * dirent/dirent.h [__USE_MISC]: Likewise.
4582 * grp/grp.h [__USE_MISC]: Likewise.
4583 * io/fcntl.h [__USE_MISC]: Likewise.
4584 * io/sys/stat.h [__USE_MISC]: Likewise.
4585 * libio/stdio.h [__USE_MISC]: Likewise.
4586 * posix/unistd.h [__USE_MISC]: Likewise.
4587 * pwd/pwd.h [__USE_MISC]: Likewise.
4588 * stdlib.h [__USE_MISC]: Likewise.
4589 * string/bits/string2.h [__USE_MISC]: Likewise.
4590 * string/string.h [__USE_MISC]: Likewise.
4591 * time/time.h [__USE_MISC]: Likewise.
4592
d6680619
AS
45932014-02-13 Andreas Schwab <schwab@suse.de>
4594
4595 [BZ #16574]
4596 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4597 second answer buffer if it was separately allocated.
4598
ace614b8
JM
45992014-02-12 Joseph Myers <joseph@codesourcery.com>
4600
743151ae
JM
4601 * sysdeps/mips/math-tests.h: Include <features.h>.
4602 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4603 (ROUNDING_TESTS_long_double): Do not define.
4604 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4605 (EXCEPTION_TESTS_long_double): Likewise.
4606 * sysdeps/mips/mips64/libm-test-ulps: Update.
4607
498afc54
JM
4608 * include/features.h (__USE_BSD): Remove macro definitions.
4609 (__USE_SVID): Likewise.
4610 (_BSD_SOURCE): Likewise.
4611 (_SVID_SOURCE): Likewise.
4612 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4613 from definition of _DEFAULT_SOURCE.
4614 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4615 [_DEFAULT_SOURCE].
4616 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4617 * bits/mman.h [__USE_BSD]: Likewise.
4618 * bits/termios.h [__USE_BSD]: Likewise.
4619 * bits/waitstatus.h [__USE_BSD]: Likewise.
4620 * ctype/ctype.h [__USE_SVID]: Likewise.
4621 * dirent/dirent.h [__USE_BSD]: Likewise.
4622 * grp/grp.h [__USE_SVID]: Likewise.
4623 [__USE_BSD]: Likewise.
4624 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4625 * io/fcntl.h [__USE_BSD]: Likewise.
4626 * io/ftw.h [__USE_BSD]: Likewise.
4627 * io/sys/stat.h [__USE_BSD]: Likewise.
4628 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4629 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4630 * libio/stdio.h [__USE_SVID]: Likewise.
4631 [__USE_BSD]: Likewise.
4632 * math/math.h [__USE_SVID]: Likewise.
4633 [__USE_BSD]: Likewise.
4634 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4635 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4636 * misc/search.h [__USE_SVID]: Likewise.
4637 * misc/sys/mman.h [__USE_BSD]: Likewise.
4638 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4639 * misc/sys/uio.h [__USE_BSD]: Likewise.
4640 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4641 * posix/glob.h [__USE_BSD]: Likewise.
4642 * posix/regex.h [__USE_BSD]: Likewise.
4643 * posix/sys/types.h [__USE_BSD]: Likewise.
4644 [__USE_SVID]: Likewise.
4645 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4646 * posix/sys/wait.h [__USE_BSD]: Likewise.
4647 [__USE_SVID]: Likewise.
4648 * posix/unistd.h [__USE_BSD]: Likewise.
4649 [__USE_SVID]: Likewise.
4650 * pwd/pwd.h [__USE_SVID]: Likewise.
4651 * resolv/netdb.h [__USE_BSD]: Likewise.
4652 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4653 * signal/signal.h [__USE_BSD]: Likewise.
4654 [__USE_SVID]: Likewise.
4655 * socket/sys/socket.h [__USE_BSD]: Likewise.
4656 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4657 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4658 [__USE_SVID]: Likewise.
4659 * string/bits/string2.h [__USE_BSD]: Likewise.
4660 [__USE_SVID]: Likewise.
4661 * string/bits/string3.h [__USE_BSD]: Likewise.
4662 * string/endian.h [__USE_BSD]: Likewise.
4663 * string/string.h [__USE_SVID]: Likewise.
4664 [__USE_BSD]: Likewise.
4665 * string/strings.h [__USE_BSD]: Likewise.
4666 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4667 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4668 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4669 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4670 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4671 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4672 Likewise.
4673 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4674 Likewise.
4675 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4676 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4677 Likewise.
4678 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4679 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4680 Likewise.
4681 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4682 Likewise.
4683 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4684 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4685 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4686 Likewise.
4687 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4688 Likewise.
4689 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4690 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4691 * termios/termios.h [__USE_BSD]: Likewise.
4692 * time/sys/time.h [__USE_BSD]: Likewise.
4693 * time/time.h [__USE_BSD]: Likewise.
4694 [__USE_SVID]: Likewise.
4695
dd7b064c
JM
4696 * Makefile (subdir_targets): Remove subdir_lint.out.
4697
a2c4c199
JM
4698 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4699 (do-tst-printf): Likewise.
4700 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4701 $(objpfx)tst-printf.out.
4702
8756f740
JM
4703 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4704
1b6dd3f1
JM
4705 * Makerules (check-abi-%): Change target to
4706 $(objpfx)check-abi-%.out.
4707 (check-abi target): Update dependencies.
4708 (check-abi-pattern variable): Redirect output of diff to $@.
4709 (check-abi variable): Likewise.
4710 * elf/Makefile (check-abi): Update dependencies.
4711
ace614b8
JM
4712 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4713 unused.
4714 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4715 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4716 subnormal range.
4717 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4718 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4719 value has largest subnormal exponent.
4720 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4721 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4722 * sysdeps/aarch64/soft-fp/sfp-machine.h
4723 (_FP_TININESS_AFTER_ROUNDING): New macro.
4724 * sysdeps/alpha/soft-fp/sfp-machine.h
4725 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4726 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4727 Likewise.
4728 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4729 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4730 * sysdeps/mips/soft-fp/sfp-machine.h
4731 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4732 * sysdeps/powerpc/soft-fp/sfp-machine.h
4733 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4734 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4735 Likewise.
4736 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4737 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4738 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4739 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4740 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4741 Likewise.
4742
fbfdf9cb
DAS
47432014-02-12 Dylan Alex Simon <dylan@dylex.net>
4744
4745 [BZ #16545]
4746 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4747 model 1.
4748
68b7efaa
RH
47492014-02-12 Richard Henderson <rth@redhat.com>
4750
c70a4b1d 4751 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4752 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4753 * sysdeps/unix/sysv/linux/alpha: Move directory from
4754 ports/sysdeps/unix/sysv/linux/alpha.
4755 * README: Update listing for alpha-*-linux-gnu.
4756
cb4a2928
JM
47572014-02-11 Joseph Myers <joseph@codesourcery.com>
4758
c941736c
JM
4759 * include/features.h: Update comment documenting feature test
4760 macros.
4761 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4762 _DEFAULT_SOURCE.
4763 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4764 (_SVID_SOURCE): Likewise.
4765 (_DEFAULT_SOURCE): Update description of default features.
4766 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4767 with _GNU_SOURCE.
4768 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4769 (S_ISVTX): Likewise.
4770 * manual/math.texi (Mathematical Constants): Likewise.
4771 * manual/signal.texi (Interrupted Primitives): Likewise.
4772 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4773 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4774 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4775 Don't refer to _SVID_SOURCE in warning text.
4776
e8d8d7ec
JM
4777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4778
cb4a2928
JM
4779 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4780 already defined.
4781 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4782 * sysdeps/mips/dl-lookup.c: Remove.
4783 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4784
7e6424e3
AK
47852014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4786
4787 [BZ #16447]
4788 * math/auto-libm-test-in: Add testcase for expl.
4789 * math/auto-libm-test-out: Regenerate.
4790 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4791 calculation of unsafe.
4792 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4793
75eff3fe
MS
47942014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4795
4796 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4797 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4798 ports/sysdeps/unix/sysv/linux/aarch64.
4799 * README: Update listing for aarch64*-*-linux-gnu.
4800
d35f1e80
WN
48012014-02-11 Will Newton <will.newton@linaro.org>
4802
4803 * manual/probes.texi (Mathematical Function Probes): Use
4804 "triggered" instead of "hit".
4805
7b3436d4
WN
4806 * manual/probes.texi (Internal Probes): Add documentation
4807 of setjmp, longjmp and longjmp_target probes.
4808
b4f12ca3
WN
4809 * include/stap-probe.h: Add comment about probe argument
4810 format.
4811
c13a72b7
WN
4812 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4813 definition. (tr_where, tr_freehook, tr_mallochook,
4814 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4815
195b8165
DM
48162014-02-11 David S. Miller <davem@davemloft.net>
4817
4818 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4819 processing int_tests.
4820
2ad7600b
JM
48212014-02-10 Joseph Myers <joseph@codesourcery.com>
4822
4823 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4824 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4825 * sysdeps/unix/sysv/linux/mips: Move directory from
4826 ports/sysdeps/unix/sysv/linux/mips.
4827 * README: Update listing for mips-*-linux-gnu and
4828 mips64-*-linux-gnu.
4829
73588a72
AS
48302014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4831
4832 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4833 * sysdeps/unix/sysv/linux/m68k: Move directory from
4834 ports/sysdeps/unix/sysv/linux/m68k.
4835 * README: Update listing for m68k-*-linux-gnu.
4836
4372980f
CM
48372014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4838
4839 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4840 * sysdeps/unix/sysv/linux/generic: Move directory from
4841 ports/sysdeps/unix/sysv/linux/generic.
4842 * sysdeps/unix/sysv/linux/tile: Move directory from
4843 ports/sysdeps/unix/sysv/linux/tile.
4844 * README: Update listing for tile*-*-linux-gnu.
4845
a1ffb40e
OB
48462014-02-10 Ondřej Bílka <neleai@seznam.cz>
4847
57f41c40
AS
4848 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4849 __builtin_expect.
a1ffb40e
OB
4850 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4851 * catgets/open_catalog.c (__open_catalog): Likewise.
4852 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4853 * debug/confstr_chk.c: Likewise.
4854 * debug/fread_chk.c (__fread_chk): Likewise.
4855 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4856 * debug/getgroups_chk.c: Likewise.
4857 * debug/mbsnrtowcs_chk.c: Likewise.
4858 * debug/mbsrtowcs_chk.c: Likewise.
4859 * debug/mbstowcs_chk.c: Likewise.
4860 * debug/memcpy_chk.c: Likewise.
4861 * debug/memmove_chk.c: Likewise.
4862 * debug/mempcpy_chk.c: Likewise.
4863 * debug/memset_chk.c: Likewise.
4864 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4865 * debug/strcat_chk.c (__strcat_chk): Likewise.
4866 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4867 * debug/strncat_chk.c (__strncat_chk): Likewise.
4868 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4869 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4870 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4871 * debug/wcpncpy_chk.c: Likewise.
4872 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4873 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4874 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4875 * debug/wcsncpy_chk.c: Likewise.
4876 * debug/wcsnrtombs_chk.c: Likewise.
4877 * debug/wcsrtombs_chk.c: Likewise.
4878 * debug/wcstombs_chk.c: Likewise.
4879 * debug/wmemcpy_chk.c: Likewise.
4880 * debug/wmemmove_chk.c: Likewise.
4881 * debug/wmempcpy_chk.c: Likewise.
4882 * debug/wmemset_chk.c: Likewise.
4883 * dirent/scandirat.c (SCANDIRAT): Likewise.
4884 * dlfcn/dladdr1.c (dladdr1): Likewise.
4885 * dlfcn/dladdr.c (dladdr): Likewise.
4886 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4887 * dlfcn/dlerror.c (__dlerror): Likewise.
4888 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4889 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4890 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4891 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4892 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4893 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4894 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4895 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4896 Likewise.
4897 * elf/dl-conflict.c: Likewise.
4898 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4899 * elf/dl-dst.h: Likewise.
4900 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4901 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4902 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4903 * elf/dl-init.c (call_init, _dl_init): Likewise.
4904 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4905 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4906 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4907 Likewise.
a1ffb40e
OB
4908 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4909 Likewise.
4910 * elf/dl-minimal.c (__libc_memalign): Likewise.
4911 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4912 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4913 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4914 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4915 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4916 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4917 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4918 * elf/dl-writev.h (_dl_writev): Likewise.
4919 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4920 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4921 (dl_main): Likewise.
a1ffb40e
OB
4922 * elf/setup-vdso.h (setup_vdso): Likewise.
4923 * grp/compat-initgroups.c (compat_call): Likewise.
4924 * grp/fgetgrent.c (fgetgrent): Likewise.
4925 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4926 * grp/putgrent.c (putgrent): Likewise.
4927 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4928 Likewise.
4929 * hurd/hurdinit.c: Likewise.
4930 * iconvdata/8bit-gap.c (struct): Likewise.
4931 * iconvdata/ansi_x3.110.c : Likewise.
4932 * iconvdata/big5.c : Likewise.
4933 * iconvdata/big5hkscs.c : Likewise.
4934 * iconvdata/cp1255.c: Likewise.
4935 * iconvdata/cp1258.c : Likewise.
4936 * iconvdata/cp932.c : Likewise.
4937 * iconvdata/euc-cn.c: Likewise.
4938 * iconvdata/euc-jisx0213.c : Likewise.
4939 * iconvdata/euc-jp.c: Likewise.
4940 * iconvdata/euc-jp-ms.c : Likewise.
4941 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4942 * iconvdata/gb18030.c : Likewise.
4943 * iconvdata/gbbig5.c (const): Likewise.
4944 * iconvdata/gbgbk.c: Likewise.
4945 * iconvdata/gbk.c : Likewise.
4946 * iconvdata/ibm1364.c : Likewise.
4947 * iconvdata/ibm930.c : Likewise.
4948 * iconvdata/ibm932.c: Likewise.
4949 * iconvdata/ibm933.c : Likewise.
4950 * iconvdata/ibm935.c : Likewise.
4951 * iconvdata/ibm937.c : Likewise.
4952 * iconvdata/ibm939.c : Likewise.
4953 * iconvdata/ibm943.c: Likewise.
4954 * iconvdata/iso_11548-1.c: Likewise.
4955 * iconvdata/iso-2022-cn.c : Likewise.
4956 * iconvdata/iso-2022-cn-ext.c : Likewise.
4957 * iconvdata/iso-2022-jp-3.c: Likewise.
4958 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4959 * iconvdata/iso-2022-kr.c : Likewise.
4960 * iconvdata/iso646.c (gconv_end): Likewise.
4961 * iconvdata/iso_6937-2.c : Likewise.
4962 * iconvdata/iso_6937.c : Likewise.
4963 * iconvdata/iso8859-1.c: Likewise.
4964 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4965 * iconvdata/shift_jisx0213.c : Likewise.
4966 * iconvdata/sjis.c : Likewise.
4967 * iconvdata/t.61.c : Likewise.
4968 * iconvdata/tcvn5712-1.c : Likewise.
4969 * iconvdata/tscii.c: Likewise.
4970 * iconvdata/uhc.c : Likewise.
4971 * iconvdata/unicode.c (gconv_end): Likewise.
4972 * iconvdata/utf-16.c (gconv_end): Likewise.
4973 * iconvdata/utf-32.c (gconv_end): Likewise.
4974 * iconvdata/utf-7.c (base64): Likewise.
4975 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4976 * iconv/gconv_close.c (__gconv_close): Likewise.
4977 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4978 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4979 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4980 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4981 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4982 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4983 * iconv/iconv.c (iconv): Likewise.
4984 * iconv/iconv_close.c: Likewise.
4985 * iconv/loop.c (SINGLE): Likewise.
4986 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4987 * include/atomic.h: Likewise.
4988 * inet/inet6_option.c (option_alloc): Likewise.
4989 * intl/bindtextdom.c (set_binding_values): Likewise.
4990 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4991 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4992 * intl/localealias.c (read_alias_file): Likewise.
4993 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4994 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4995 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4996 * libio/fmemopen.c (fmemopen): Likewise.
4997 * libio/iofgets.c (_IO_fgets): Likewise.
4998 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4999 * libio/iofgetws.c (fgetws): Likewise.
5000 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5001 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5002 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5003 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5004 * locale/findlocale.c (_nl_find_locale): Likewise.
5005 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5006 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5007 Likewise.
5008 * locale/setlocale.c (setlocale): Likewise.
5009 * login/programs/pt_chown.c (main): Likewise.
5010 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5011 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5012 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5013 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5014 * math/e_exp2l.c: Likewise.
5015 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5016 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5017 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5018 * math/s_catan.c (__catan): Likewise.
5019 * math/s_catanf.c (__catanf): Likewise.
5020 * math/s_catanh.c (__catanh): Likewise.
5021 * math/s_catanhf.c (__catanhf): Likewise.
5022 * math/s_catanhl.c (__catanhl): Likewise.
5023 * math/s_catanl.c (__catanl): Likewise.
5024 * math/s_ccosh.c (__ccosh): Likewise.
5025 * math/s_ccoshf.c (__ccoshf): Likewise.
5026 * math/s_ccoshl.c (__ccoshl): Likewise.
5027 * math/s_cexp.c (__cexp): Likewise.
5028 * math/s_cexpf.c (__cexpf): Likewise.
5029 * math/s_cexpl.c (__cexpl): Likewise.
5030 * math/s_clog10.c (__clog10): Likewise.
5031 * math/s_clog10f.c (__clog10f): Likewise.
5032 * math/s_clog10l.c (__clog10l): Likewise.
5033 * math/s_clog.c (__clog): Likewise.
5034 * math/s_clogf.c (__clogf): Likewise.
5035 * math/s_clogl.c (__clogl): Likewise.
5036 * math/s_csin.c (__csin): Likewise.
5037 * math/s_csinf.c (__csinf): Likewise.
5038 * math/s_csinh.c (__csinh): Likewise.
5039 * math/s_csinhf.c (__csinhf): Likewise.
5040 * math/s_csinhl.c (__csinhl): Likewise.
5041 * math/s_csinl.c (__csinl): Likewise.
5042 * math/s_csqrt.c (__csqrt): Likewise.
5043 * math/s_csqrtf.c (__csqrtf): Likewise.
5044 * math/s_csqrtl.c (__csqrtl): Likewise.
5045 * math/s_ctan.c (__ctan): Likewise.
5046 * math/s_ctanf.c (__ctanf): Likewise.
5047 * math/s_ctanh.c (__ctanh): Likewise.
5048 * math/s_ctanhf.c (__ctanhf): Likewise.
5049 * math/s_ctanhl.c (__ctanhl): Likewise.
5050 * math/s_ctanl.c (__ctanl): Likewise.
5051 * math/w_pow.c: Likewise.
5052 * math/w_powf.c: Likewise.
5053 * math/w_powl.c: Likewise.
5054 * math/w_scalb.c (sysv_scalb): Likewise.
5055 * math/w_scalbf.c (sysv_scalbf): Likewise.
5056 * math/w_scalbl.c (sysv_scalbl): Likewise.
5057 * misc/error.c (error_tail): Likewise.
5058 * misc/pselect.c (__pselect): Likewise.
5059 * nis/nis_callback.c (__nis_create_callback): Likewise.
5060 * nis/nis_call.c (__nisfind_server): Likewise.
5061 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5062 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5063 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5064 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5065 * nis/nis_lookup.c (nis_lookup): Likewise.
5066 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5067 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5068 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5069 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5070 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5071 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5072 * nis/nss_compat/compat-initgroups.c (add_group)
5073 (internal_getgrent_r): Likewise.
5074 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5075 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5076 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5077 (internal_getspnam_r): Likewise.
5078 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5079 (_nss_nis_getaliasbyname_r): Likewise.
5080 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5081 (_nss_nis_getntohost_r): Likewise.
5082 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5083 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5084 (_nss_nis_getgrgid_r): Likewise.
5085 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5086 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5087 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5088 (_nss_nis_gethostbyname4_r): Likewise.
5089 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5090 (initgroups_netid): Likewise.
a1ffb40e 5091 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
5092 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5093 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5094 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5095 (_nss_nis_getprotobynumber_r): Likewise.
5096 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5097 (_nss_nis_getsecretkey): Likewise.
5098 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5099 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5100 (_nss_nis_getpwuid_r): Likewise.
5101 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5102 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5103 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5104 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5105 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5106 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
5107 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5108 Likewise.
57f41c40
AS
5109 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5110 (_nss_nisplus_getntohost_r): Likewise.
5111 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5112 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5113 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5114 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 5115 Likewise.
57f41c40
AS
5116 * nis/nss_nisplus/nisplus-initgroups.c
5117 (_nss_nisplus_initgroups_dyn): Likewise.
5118 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5119 (_nss_nisplus_getnetbyaddr_r): Likewise.
5120 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5121 (_nss_nisplus_getprotobynumber_r): Likewise.
5122 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5123 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
5124 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5125 Likewise.
57f41c40
AS
5126 * nis/nss_nisplus/nisplus-service.c
5127 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5128 (_nss_nisplus_getservbyport_r): Likewise.
5129 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5130 (_nss_nisplus_getspnam_r): Likewise.
5131 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5132 Likewise.
a1ffb40e
OB
5133 * nscd/aicache.c (addhstaiX): Likewise.
5134 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
5135 * nscd/connections.c (register_traced_file, send_ro_fd)
5136 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5137 (main_loop_epoll): Likewise.
a1ffb40e
OB
5138 * nscd/grpcache.c (addgrbyX): Likewise.
5139 * nscd/hstcache.c (addhstbyX): Likewise.
5140 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5141 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
5142 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5143 (addinnetgrX): Likewise.
5144 * nscd/nscd-client.h (__nscd_acquire_maplock)
5145 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
5146 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5147 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5148 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5149 Likewise.
5150 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5151 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
5152 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5153 (__nscd_get_map_ref): Likewise.
a1ffb40e 5154 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
5155 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5156 Likewise.
a1ffb40e
OB
5157 * nscd/pwdcache.c (addpwbyX): Likewise.
5158 * nscd/selinux.c (preserve_capabilities): Likewise.
5159 * nscd/servicescache.c (addservbyX): Likewise.
5160 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5161 * posix/fnmatch.c (fnmatch): Likewise.
5162 * posix/getopt.c (_getopt_internal_r): Likewise.
5163 * posix/glob.c (glob, glob_in_dir): Likewise.
5164 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5165 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5166 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5167 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5168 * resolv/res_init.c: Likewise.
5169 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5170 * resolv/res_query.c (__libc_res_nquery): Likewise.
5171 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5172 Likewise.
5173 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5174 * stdio-common/perror.c (perror): Likewise.
5175 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5176 * stdio-common/tmpnam.c (tmpnam): Likewise.
5177 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5178 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5179 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5180 Likewise.
a1ffb40e
OB
5181 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5182 * stdlib/putenv.c (putenv): Likewise.
5183 * stdlib/setenv.c (__add_to_environ): Likewise.
5184 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5185 * stdlib/strtol_l.c (INTERNAL): Likewise.
5186 * string/memmem.c (memmem): Likewise.
5187 * string/strerror.c (strerror): Likewise.
5188 * string/strnlen.c (__strnlen): Likewise.
5189 * string/test-memmem.c (simple_memmem): Likewise.
5190 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5191 * sunrpc/pm_getport.c (__get_socket): Likewise.
5192 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5193 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5194 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5195 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5196 Likewise.
5197 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5198 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5199 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5200 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5201 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5202 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5203 Likewise.
5204 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5205 Likewise.
a1ffb40e
OB
5206 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5207 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5209 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5210 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5212 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5213 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5214 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5215 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5216 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5217 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5218 Likewise.
5219 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5220 Likewise.
5221 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5222 Likewise.
5223 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5224 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5225 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5226 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5227 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5228 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5229 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5230 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5231 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5235 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5236 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5237 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5238 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5239 Likewise.
a1ffb40e
OB
5240 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5241 Likewise.
5242 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5243 Likewise.
5244 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5245 Likewise.
5246 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5247 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5248 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5249 Likewise.
5250 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5251 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5252 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5253 * sysdeps/posix/sleep.c: Likewise.
5254 * sysdeps/posix/tempname.c: Likewise.
5255 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5256 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5257 Likewise.
57f41c40
AS
5258 * sysdeps/powerpc/powerpc32/dl-machine.h
5259 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
5260 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5262 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5263 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5264 Likewise.
5265 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5266 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5267 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5268 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5269 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5270 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5271 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5272 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5273 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5274 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5276 (elf_machine_lazy_rel): Likewise.
a1ffb40e 5277 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5279 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5280 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5281 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5282 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5283 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5284 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5285 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5286 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5287 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5288 Likewise.
5289 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5290 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5291 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5292 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5293 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5294 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5295 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5296 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5297 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5298 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5299 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5300 Likewise.
5301 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5302 (__posix_fallocate64_l64): Likewise.
5303 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5304 (posix_fallocate): Likewise.
57f41c40
AS
5305 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5306 Likewise.
a1ffb40e 5307 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
5308 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5309 (getifaddrs_internal): Likewise.
a1ffb40e
OB
5310 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5311 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5312 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5313 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5314 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5315 (__posix_fallocate64_l64): Likewise.
5316 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5317 Likewise.
5318 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
5319 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5320 (__get_clockfreq): Likewise.
a1ffb40e
OB
5321 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5322 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5323 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5324 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5325 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5326 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5327 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5328 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5329 Likewise.
5330 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5331 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5332 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5334 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5335 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5336 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5337 Likewise.
5338 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5339 (posix_fallocate): Likewise.
5340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5341 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5342 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5343 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5344 (elf_machine_rela, elf_machine_rela_relative)
5345 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5346 * time/asctime.c (asctime_internal): Likewise.
5347 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5348 * time/tzset.c (__tzset_parse_tz): Likewise.
5349 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5350 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5351 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5352 * wcsmbs/wcsmbsload.h: Likewise.
5353
f3d338c9
OB
5354 [BZ #15894]
5355 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5356
57f41c40
AS
5357 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5358 (arena_get2): Remove THREAD_STATS conditionals.
5359 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5360 (__malloc_stats, int): Likewise.
bdfe308a 5361
d674667c
MF
53622014-02-08 Mike Frysinger <vapier@gentoo.org>
5363
5364 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5365 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5366
6349768c
MF
5367 * manual/setjmp.texi: Fix typos/grammar errors.
5368
0b7c7473
MF
5369 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5370 Only return early when n is <= 0. Delete unused return statement.
5371
ac8cc9e3
MF
5372 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5373 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5374 * debug/tst-longjmp_chk3.c: New file.
5375
c5bb8e23
MF
5376 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5377 (test_main): Replace code with set_fortify_handler call.
5378 * debug/test-strcpy_chk.c: Likewise.
5379 * debug/tst-chk1.c: Likewise.
5380 * debug/tst-longjmp_chk.c: Likewise.
5381 * test-skeleton.c: Include fcntl.h & paths.h
5382 (set_fortify_handler): Define.
5383
10444e42
MF
5384 * debug/tst-longjmp_chk.c: Add header comment and include
5385 ../test-skeleton.c.
5386 (do_test): Mark static.
5387 (TEST_FUNCTION): Define.
5388
1e805e8d
MF
5389 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5390 (IP_PMTUDISC_INTERFACE): Likewise.
5391 (IP_MULTICAST_IF): Likewise.
5392 (IP_MULTICAST_TTL): Likewise.
5393 (IP_MULTICAST_LOOP): Likewise.
5394 (IP_ADD_MEMBERSHIP): Likewise.
5395 (IP_DROP_MEMBERSHIP): Likewise.
5396 (IP_UNBLOCK_SOURCE): Likewise.
5397 (IP_BLOCK_SOURCE): Likewise.
5398 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5399 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5400 (IP_MSFILTER): Likewise.
5401 (MCAST_JOIN_GROUP): Likewise.
5402 (MCAST_BLOCK_SOURCE): Likewise.
5403 (MCAST_UNBLOCK_SOURCE): Likewise.
5404 (MCAST_LEAVE_GROUP): Likewise.
5405 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5406 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5407 (MCAST_MSFILTER): Likewise.
5408 (IP_MULTICAST_ALL): Likewise.
5409 (IP_UNICAST_IF): Likewise.
5410
73f79bb7
MF
5411 * timezone/Makefile: Delete $(have-ksh) check.
5412 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5413 * timezone/tzselect.ksh: Add +x mode bits.
5414
8da79b60
MF
5415 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5416 (ANON_INODE_FS_MAGIC): Likewise.
5417 (BDEVFS_MAGIC): Likewise.
5418 (BINFMTFS_MAGIC): Likewise.
5419 (BTRFS_TEST_MAGIC): Likewise.
5420 (CRAMFS_MAGIC_WEND): Likewise.
5421 (DEBUGFS_MAGIC): Likewise.
5422 (ECRYPTFS_SUPER_MAGIC): Likewise.
5423 (EXT3_SUPER_MAGIC): Likewise.
5424 (EXT4_SUPER_MAGIC): Likewise.
5425 (FUTEXFS_SUPER_MAGIC): Likewise.
5426 (HOSTFS_SUPER_MAGIC): Likewise.
5427 (HUGETLBFS_MAGIC): Likewise.
5428 (MINIX3_SUPER_MAGIC): Likewise.
5429 (MTD_INODE_FS_MAGIC): Likewise.
5430 (NILFS_SUPER_MAGIC): Likewise.
5431 (OPENPROM_SUPER_MAGIC): Likewise.
5432 (PIPEFS_MAGIC): Likewise.
5433 (PSTOREFS_MAGIC): Likewise.
5434 (QNX6_SUPER_MAGIC): Likewise.
5435 (RAMFS_MAGIC): Likewise.
5436 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5437 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5438 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5439 (SECURITYFS_MAGIC): Likewise.
5440 (SELINUX_MAGIC): Likewise.
5441 (SMACK_MAGIC): Likewise.
5442 (SOCKFS_MAGIC): Likewise.
5443 (SQUASHFS_MAGIC): Likewise.
5444 (STACK_END_MAGIC): Likewise.
5445 (TMPFS_MAGIC): Likewise.
5446 (USBDEVICE_SUPER_MAGIC): Likewise.
5447 (V9FS_MAGIC): Likewise.
5448 (XENFS_SUPER_MAGIC): Likewise.
5449 (CRAMFS_MAGIC): Fix typo in comment.
5450 (EXT2_SUPER_MAGIC): Update comment.
5451 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5452
464263cc
JM
54532014-02-08 Joseph Myers <joseph@codesourcery.com>
5454
c6bfe5c4
JM
5455 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5456 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5457 * sysdeps/unix/sysv/linux/arm: Move directory from
5458 ports/sysdeps/unix/sysv/linux/arm.
5459 * README: Update listing for arm-*-linux-gnueabi.
5460
464263cc
JM
5461 * README: Remove mention of am33.
5462
32749f6c
RM
54632014-02-07 Roland McGrath <roland@hack.frob.com>
5464
5465 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5466 than the comma operator, to avoid "rhs of comma has no effect"
5467 compiler warnings.
5468 (__sigfillset, __sigandset, __sigorset): Likewise.
5469 * include/signal.h (__sigemptyset): Likewise.
5470 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5471
d5b396c1
AM
54722014-02-07 Allan McRae <allan@archlinux.org>
5473
5474 * version.h (RELEASE): Set to "development".
5475 (VERSION): Set to "2.19.90"
5476 * NEWS: Add 2.20 section.
5477
3bfff2ed
CD
54782014-02-06 Carlos O'Donell <carlos@redhat.com>
5479
5480 [BZ #16529]
5481 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5482
ee7cc385
SP
54832014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5484
5485 * manual/contrib.texi: Update entry for Carlos O'Donell,
5486 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5487
f877c4f2
CD
54882014-02-05 Carlos O'Donell <carlos@rehdat.com>
5489
27e839f6
CD
5490 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5491
f877c4f2
CD
5492 * sysdeps/unix/sysv/linux/kernel-features.h
5493 [__LINUX_KERNEL_VERSION >= 0x020621]
5494 (__ASSUME_PROC_PID_TASK_COMM): Define.
5495
68159946
SP
54962014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5497
ba17cdbd
SP
5498 [BZ #16398]
5499 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5500 conversion when destination buffer does not have enough space.
5501 * libio/tst-ftell-partial-wide.c: New test case.
5502 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5503
68159946
SP
5504 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5505 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5506 Leonard and Allan McRae.
5507
2b528732
DM
55082014-02-04 David S. Miller <davem@davemloft.net>
5509
5510 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5511 32-bit.
5512
0ff82463
AZ
55132014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5514
57f41c40
AS
5515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5516 New file
c01603f7
AZ
5517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5518 New file
57f41c40
AS
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5520 New file.
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5522 New file.
c01603f7
AZ
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5524 New file.
57f41c40
AS
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5526 New file.
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5528 New file.
c01603f7
AZ
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5530 New file.
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5532 New file.
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5534 New file.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5536 New file.
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5538 New file.
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5540 New file.
5541
55422014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5543
0ff82463
AZ
5544 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5545 * shlib-versions: Likewise.
5546
1695c773
AZ
55472014-02-04 Roland McGrath <roland@hack.frob.com>
5548 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5549
5550 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5551 (abilist-pattern): New variable, set to %-le.abilist.
5552
5553 * Makerules (abilist-pattern): New variable.
5554 (vpath): Use $(abilist-pattern) in place of %.abilist.
5555 (check-abi-% pattern rule): Likewise.
5556 (check-abi, update-abi): Likewise.
5557
6c0ce4b4
EW
55582014-02-04 Eric Wong <normalperson@yhbt.net>
5559
5560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5561
481e3524
CD
55622014-02-03 Carlos O'Donell <carlos@redhat.com>
5563
5564 * manual/startup.texi: Add next, previous, and top entries for
5565 the `Program Arguments' and `Environment Variables' nodes.
5566
375592d3
AO
55672014-02-03 Alexandre Oliva <aoliva@redhat.com>
5568
5569 * manual/macros.texi: Add comments before MTASC-safety macros.
5570
f54838ba
AO
5571 * manual/users.texi: Document MTASC-safety properties.
5572
57f41c40
AS
5573 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5574 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5575 @deftypefun, and add @safety note.
5576 * manual/signal.texi: Move comments that analyze the above
5577 functions to their home place.
5578
fd3daba4
AM
55792014-02-03 Allan McRae <allan@archlinux.org>
5580
5581 * po/sl.po: Update Slovenian translation from translation project.
5582
597636d7
AO
55832014-02-02 Alexandre Oliva <aoliva@redhat.com>
5584
5585 * manual/time.texi (timegm): Add missing blank after @c.
5586 Reported by Joseph Myers <joseph@codesourcery.com>.
5587
ee196e3c
AO
55882014-02-01 Alexandre Oliva <aoliva@redhat.com>
5589
5590 * manual/check-safety.sh: New.
5591 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5592
f8d529d5
AO
5593 * manual/terminal.texi: Document MTASC-safety properties.
5594
de55fdf4
AO
5595 * manual/filesys.texi: Document MTASC-safety properties.
5596
c3299c08
AO
5597 * manual/errno.texi: Document MTASC-safety properties.
5598
06e90b14
AO
5599 * manual/intro.texi: Document safety identifiers and
5600 conditionals.
5601
1acd4371
AO
5602 * manual/string.texi (wcstok): Fix prototype.
5603 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5604
23e5b8cb
AO
5605 * manual/time.texi: Document MTASC-safety properties.
5606
11087373
AO
5607 * manual/string.texi: Document MTASC-safety properties.
5608
5da2c93d
AO
5609 * manual/threads.texi: Document MTASC-safety properties.
5610
171e9210
AO
5611 * manual/stdio.texi: Document MTASC-safety properties.
5612
d9e02532
AO
5613 * manual/syslog.texi: Document MTASC-safety properties.
5614
6af8bab7
AO
5615 * manual/sysinfo.texi: Document MTASC-safety properties.
5616
663b02d7
AO
5617 * manual/startup.texi: Document MTASC-safety properties.
5618
973f180b
AO
5619 * manual/socket.texi: Document MTASC-safety properties.
5620
8f3c25c8
AO
5621 * manual/signal.texi: Document MTASC-safety properties.
5622
542210fb
AO
56232014-01-31 Alexandre Oliva <aoliva@redhat.com>
5624
5625 * manual/setjmp.texi: Document MTASC-safety properties.
5626
433c45a2
AO
5627 * manual/search.texi: Document MTASC-safety properties.
5628
c8ce789c
AO
5629 * manual/resource.texi: Document MTASC-safety properties.
5630
19f5d29c
AO
5631 * manual/process.texi: Document MTASC-safety properties.
5632
e2dfb7f4
AO
5633 * manual/platform.texi: Document MTASC-safety properties.
5634
8c1413f5
AO
5635 * manual/pipe.texi: Document MTASC-safety properties.
5636
03483ada
AO
5637 * manual/pattern.texi: Document MTASC-safety properties.
5638
29e7e2df
AO
5639 * manual/message.texi: Document MTASC-safety properties.
5640
9f529d7c
AO
5641 [BZ #12751]
5642 * manual/memory.texi: Document MTASC-safety properties.
5643
27aaa791
AO
5644 * manual/math.texi: Document MTASC-safety properties.
5645
f2d58726
AO
5646 * manual/locale.texi: Document MTASC-safety properties.
5647
2cc3615c
AO
5648 * manual/llio.texi: Document MTASC-safety properties.
5649
d9f0ec97
AO
5650 * manual/libdl.texi: New.
5651
e7c4409a
AO
5652 * manual/lang.texi: Document MTASC-safety properties.
5653
27bdc63c
AO
5654 * manual/job.texi: Document MTASC-safety properties.
5655
a7b90ea9
AO
5656 * manual/getopt.texi: Document MTASC-safety properties.
5657
c49130e3
AO
5658 * manual/ctype.texi: Document MTASC-safety properties.
5659
0d23a5c1
MR
56602014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5661
5662 [BZ #16046]
5663 * csu/libc-tls.c (static_map): Remove variable.
5664 (__libc_setup_tls): Use main executable's link map for TLS data.
5665 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5666 casing for LM_ID_BASE and GL(dl_nns).
5667 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5668 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5669 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5670 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5671 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5672 member.
5673 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5674 l_phnum members.
5675
0037bb60
AO
56762014-01-30 Alexandre Oliva <aoliva@redhat.com>
5677
5678 * manual/debug.texi: Document MTASC-safety properties.
5679
409e00bd
L
56802014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5681
5682 [BZ #16510]
5683 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5684 of __x86_64__ when disabling x87 inline functions.
5685
86e60666
AO
56862014-01-29 Alexandre Oliva <aoliva@redhat.com>
5687
5688 * manual/charset.texi: Document MTASC-safety properties.
5689
76167637
AO
5690 * manual/crypt.texi: Document MTASC-safety properties.
5691
e567f2a0
AO
5692 * manual/conf.texi: Document MTASC-safety properties.
5693
b719dafd
AO
5694 * manual/arith.texi: Document MTASC-safety properties.
5695
4a16c662
AO
5696 * manual/argp.texi: Document MTASC-safety properties.
5697
0a57b83e
AO
5698 * manual/macros.texi: Introduce macros to document multi
5699 thread, asynchronous signal and asynchronous cancellation
5700 safety properties.
5701 * manual/intro.texi: Introduce the properties themselves.
5702
feab2397
KK
57032014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5704
5705 * sysdeps/sh/sh4/Makefile: New file.
5706
1c0d11bc
AS
57072014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5708
5709 * math/gen-libm-test.pl ($srcdir): New variable.
5710 ($auto_input): Use it.
5711
af37a8a3
SP
57122014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5713
d7b00f98
SP
5714 [BZ #16506]
5715 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5716 access beyond array bounds when parsing netgroups file.
5717
af37a8a3
SP
5718 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5719 the old buffer before realloc.
5720
0c00f062
AM
57212014-01-27 Allan McRae <allan@archlinux.org>
5722
5723 * po/fr.po: Update French translation from translation project.
5724
7d69a1b0
KK
57252014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5726
5727 * sysdeps/sh/libm-test-ulps: Regenerate.
5728
6e697ff7
DM
57292014-01-24 David S. Miller <davem@davemloft.net>
5730
5731 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5732
9cadb35c
KK
57332014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5734
5735 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5736 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5737
5d41dadf
SP
57382013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5739
5740 [BZ #16474]
5741 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5742 string pointers after reallocation.
5743
0bad441c
KK
57442014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5745
5746 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5747 __SH4A__ instead of __SH_FPU_ANY__.
5748
7007c661
KK
57492014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5750
5751 * sysdeps/sh/fpu_control.h: New file.
5752 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5753 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5754 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5755 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5756 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5757 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5758 * sysdeps/sh/sys/ucontext.h: Remove.
5759 * sysdeps/sh/sys: Remove directory.
5760
0f0c35e4
AK
57612014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5762
5763 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5764 s390/sys/ucontext.h.
5765 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5766 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5767
4959e284
L
57682014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5769
5770 [BZ #15605]
5771 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5772
d98720e0
AZ
57732014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5774
5775 [BZ#16431]
5776 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5777 Adjust the vDSO correctly for internal calls.
5778 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5779
91cbd0bc
AM
57802014-01-20 Allan McRae <allan@archlinux.org>
5781
5782 * po/ca.po: Update Catalan translation from translation project.
5783
7a02cfad
MF
57842014-01-16 Mike Frysinger <vapier@gentoo.org>
5785
5786 * sysdeps/s390/sotruss-lib.c: New file.
5787
736c304a
AZ
57882014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5789
5790 [BZ#16430]
6e077ee5 5791 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5792 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5793 local calls issues by not having a PLT stub required for IFUNC calls.
5794 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5795
94d0cea0
JM
57962014-01-16 Joseph Myers <joseph@codesourcery.com>
5797
5798 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5799 * math/test-fpucw-static.c: Likewise.
5800
980cb518
SP
58012013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5802
5803 [BZ #16453]
5804 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5805
2393fc01
AZ
58062014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5807
5808 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5809 implementation for powerpc.
5810
d359bcc2
OB
58112014-01-15 Ondřej Bílka <neleai@seznam.cz>
5812
5813 [BZ #14782]
5814 * sysdeps/posix/system.c (__libc_system): Do not enable
5815 asynchronous cancellation.
5816
7beb48cb
AK
58172014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5818
5819 [BZ #16427]
5820 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5821 handling only for numbers special also in the IEEE case.
5822
c20d5bf5
AK
58232014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5824
5825 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5826
e83bd4ee
AM
58272014-01-11 Allan McRae <allan@archlinux.org>
5828
76d0ea69
AM
5829 * po/bg.po: Update Bulgarian translation from translation project.
5830
e83bd4ee
AM
5831 * po/de.po: Update German translation from translation project.
5832
bc2ba20a
RM
58332014-01-10 Roland McGrath <roland@hack.frob.com>
5834
5835 * sysdeps/generic/gcc-compat.h: New file.
5836
649ecea2
SP
58372014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5838
5839 * benchtests/asin-inputs: Correct slow inputs.
5840 * benchtests/acos-inputs: Likewise.
5841
1b19c006
AM
58422014-01-10 Allan McRae <allan@archlinux.org>
5843
a46dab08
AM
5844 * po:sv.po: Update Swedish translation from translation project.
5845
421df74a
AM
5846 * po/vi.po: Update Vietnamese translation from translation project.
5847
d61c51a7
AM
5848 * po/eo.po: Update Esperanto translation from translation project.
5849
0339a319
AM
5850 * po/cs.po: Update Czech translation from translation project.
5851
94ad3e99
AM
5852 * po/nl.po: Update Dutch translation from translation project.
5853
e349ca71
AM
5854 * po/pl.po: Update Polish translation from translation project.
5855
ddf930c1
AM
5856 * po/ru.po: Update Russian translation from translation project.
5857
1b19c006
AM
5858 * po/uk.po: Update Ukrainian translation from translation project.
5859
9f236c49
BM
58602014-01-08 Brooks Moses <bmoses@google.com>
5861
5862 * elf/dl-load.c: Fix comment typo.
5863
cd6701cf
CD
58642014-01-08 Carlos O'Donell <carlos@redhat.com>
5865
5866 * po/header.pot: Rename to...
5867 * po/pot.header: ... this.
5868 * po/Makefile: Use pot.header.
5869
66671c84
YK
58702014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5871 Maxim Kuvyrkov <maxim@kugelworks.com>
5872
5873 [BZ #16394]
cd6701cf
CD
5874 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5875 SRC and DEST against LEN.
66671c84 5876
38f34581
AZ
58772014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5878
5879 [BZ #16414]
5880 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5881 implementation.
5882 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5883
58842014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5885
5886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5887
4c327f2a
JM
58882014-01-08 Joseph Myers <joseph@codesourcery.com>
5889
5890 [BZ #16408]
5891 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5892 for large positive arguments.
5893
b821f414
JM
58942014-01-07 Joseph Myers <joseph@codesourcery.com>
5895
1f0f2067
JM
5896 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5897
a5a326f6
JM
5898 * math/auto-libm-test-in: Mark various tests with
5899 xfail-rounding:ldbl-128ibm.
5900 * math/auto-libm-test-out: Regenerated.
5901
b821f414
JM
5902 [BZ #16407]
5903 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5904 Increase overflow threshold.
5905
94c8a4bc
OB
59062014-01-07 Ondřej Bílka <neleai@seznam.cz>
5907
5908 [BZ #14286]
5909 * stdio-common/vfprintf.c: Check for integer overflow.
5910
87ded0c3
AK
59112014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5912
5913 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5914 the first argument and return value of __tls_get_addr_internal.
5915
c5eebdd0
AK
59162014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5917
5918 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5919 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5920
05d138ef
AK
59212014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5922
5923 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5924 * sysdeps/s390/rtld-global-offsets.sym: New file.
5925 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5926 GLIBC_2.19 symbol.
5927 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5928 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5929 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5930 ... this.
5931 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5932 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5933 ... this.
5934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5935 Regenerate.
5936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5937 Regenerate.
5938 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5939 halfs of GPRs for high_gprs contexts.
5940 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5941 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5942 field.
5943 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5944 uc_flags field.
5945 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5946 64 bit versions:
5947 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5948 for high GPRs (uc_high_gprs) and for future extensions
5949 (__reserved).
5950 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5951 for future extensions (__reserved).
5952 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5953 64 bit versions:
5954 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5955 SC_HIGHGPRS offset definition.
5956 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5957 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5958
93a45ff1
AK
5959 * Versions.def: Add GLIBC_2.19 for libpthread.
5960 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5961 siglongjmp for libpthread with GLIBC_2.19 symver.
5962 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5963 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5964 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5965 * sysdeps/s390/__longjmp.c: New file.
5966 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5967 * sysdeps/s390/longjmp.c: New file.
5968 * sysdeps/s390/setjmp.S: New file.
5969 * sysdeps/s390/sigjmp.S: New file.
5970 * sysdeps/s390/v1-longjmp.c: New file.
5971 * sysdeps/s390/v1-setjmp.h: New file.
5972 * sysdeps/s390/v1-sigjmp.c: New file.
5973 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5974 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5975 GLIBC_2.19 version.
5976 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5977 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5978 versioned symbols for ____longjmp_chk.
5979 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5980 Likewise.
5981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5982 Regenerate.
5983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5984 Regenerate.
5985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5986 Regenerate.
5987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5988 Regenerate.
5989 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5990 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5991 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5992 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5993 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5994 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5995 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5996 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5997 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5998 * sysdeps/s390/rtld-__longjmp.c: New file.
5999 * sysdeps/s390/rtld-setjmp.S: New file.
6000
eb3fc44b
JM
60012014-01-06 Joseph Myers <joseph@codesourcery.com>
6002
6003 [BZ #16400]
6004 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6005 Return -__logl (x) for small positive arguments without evaluating
6006 a polynomial.
6007
9341dde4
MF
60082014-01-06 Mike Frysinger <vapier@gentoo.org>
6009
6010 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6011 Rename to ...
6012 (__ptrace_peeksiginfo_args): ... this.
6013 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6015 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6016
4cff0293
AM
60172014-01-06 Allan McRae <allan@archlinux.org>
6018
6019 * inet/netinet/in.h: Fix typo in comment.
6020
75595dcf
AJ
60212014-01-05 Andreas Jaeger <aj@suse.de>
6022
6023 * sysdeps/i386/fpu/libm-test-ulps: Update.
6024
79c1e109
AM
60252014-01-05 Allan McRae <allan@archlinux.org>
6026
dd804818
AM
6027 * po/libc.pot: Regenerated.
6028
79c1e109
AM
6029 * malloc/memusagestat.c: Fix gettext call formatting.
6030
0c813d1f
SK
60312014-01-04 Sami Kerola <kerolasa@iki.fi>
6032
6033 * nscd/nscd.c: Improve usage() output.
6034
20f4a8d9
MF
60352014-01-04 Mike Frysinger <vapier@gentoo.org>
6036
6037 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6038 * sysdeps/unix/sysv/linux/configure: Regenerated.
6039 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6040 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6041
22562bb2
JM
60422014-01-03 Joseph Myers <joseph@codesourcery.com>
6043
6044 [BZ #16390]
6045 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6046 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6047
d7ad2d9b
AZ
60482014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6049
6050 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6051 extra tokens at end of #undef directive.
6052 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6053 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6054 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6055
7dd009d8
JM
60562014-01-03 Joseph Myers <joseph@codesourcery.com>
6057
24db925a
JM
6058 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6059
7dd009d8
JM
6060 * math/auto-libm-test-in: Mark various tests with
6061 xfail-rounding:ldbl-128ibm.
6062 * math/auto-libm-test-out: Regenerated.
6063
396e3ecf
JM
60642014-01-02 Joseph Myers <joseph@codesourcery.com>
6065
819e5d50
JM
6066 [BZ #16386]
6067 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6068 numbers with subnormal high part when calculating exponent.
6069
90b6a1e5
JM
6070 [BZ #16385]
6071 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6072 fabs.
6073
396e3ecf
JM
6074 [BZ #16384]
6075 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6076 M_LN2l.
6077 (__ieee754_acoshl): Use __log1pl not __log1p.
6078
6c8dbf00
OB
60792013-01-02 Ondřej Bílka <neleai@seznam.cz>
6080
57f41c40
AS
6081 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6082 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6083 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6084 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6085 (reused_arena, arena_get2): Convert to GNU style.
6086 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6087 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6088 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 6089 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
6090 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6091 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6092 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6093 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6094 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6095 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 6096 * malloc/malloc.h: Likewise.
57f41c40
AS
6097 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6098 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 6099 * malloc/mcheck.h: Likewise.
57f41c40
AS
6100 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6101 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
6102 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6103 * malloc/morecore.c (__default_morecore): Likewise.
6104 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
6105 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6106 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6107 (print_and_abort): Likewise.
6c8dbf00
OB
6108 * malloc/obstack.h: Likewise.
6109 * malloc/set-freeres.c (__libc_freeres): Likewise.
6110 * malloc/tst-mallocstate.c (main): Likewise.
6111 * malloc/tst-mtrace.c (main): Likewise.
6112 * malloc/tst-realloc.c (do_test): Likewise.
6113
d4124212
SP
61142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6115
9a3c6a6f
SP
6116 [BZ #16366]
6117 * nscd/netgroupcache.c (do_notfound): New function.
6118 (addgetnetgrentX): Use it.
6119
d4124212
SP
6120 [BZ # 16365]
6121 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6122 NSS_STATUS_NOTFOUND.
6123
97b9a009
JM
61242014-01-01 Joseph Myers <joseph@codesourcery.com>
6125
6126 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6128
d4697bc9
AM
61292014-01-01 Allan McRae <allan@archlinux.org>
6130
ddb3687f
AM
6131 * scripts/update-copyrights: Update configure input file suffix.
6132
88726d48
AM
6133 * NEWS: Update copyright year.
6134 * catgets/gencat.c: Likewise.
6135 * csu/version.c: Likewise.
6136 * debug/catchsegv.sh: Likewise.
6137 * debug/pcprofiledump.c: Likewise.
6138 * debug/xtrace.sh: Likewise.
6139 * elf/ldconfig.c: Likewise.
6140 * elf/ldd.bash.in: Likewise.
6141 * elf/pldd.c: Likewise.
6142 * elf/sotruss.ksh: Likewise.
6143 * elf/sprof.c: Likewise.
6144 * iconv/iconv_prog.c: Likewise.
6145 * iconv/iconvconfig.c: Likewise.
6146 * locale/programs/locale.c: Likewise.
6147 * locale/programs/localedef.c: Likewise.
6148 * login/programs/pt_chown.c: Likewise.
6149 * malloc/memusage.sh: Likewise.
6150 * malloc/memusagestat.c: Likewise.
6151 * malloc/mtrace.pl: Likewise.
6152 * manual/libc.texinfo: Likewise.
6153 * nscd/nscd.c: Likewise.
6154 * nss/getent.c: Likewise.
6155 * nss/makedb.c: Likewise.
6156 * posix/getconf.c: Likewise.
6157 * scripts/test-installation.pl: Likewise.
6158
d4697bc9
AM
6159 * All files with FSF copyright notices: Update copyright dates
6160 using scripts/update-copyrights.
6161 * intl/plural.c: Regenerated.
6162 * locale/programs/charmap-kw.h: Likewise.
6163 * locale/programs/locfile-kw.h: Likewise.
6164
c8590f9d
MF
61652013-12-31 Mike Frysinger <vapier@gentoo.org>
6166
6167 * sysdeps/unix/sysv/linux/configure: Regenerated.
6168 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6169 the linux/fanotify.h header.
6170 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6171 HAVE_LINUX_FANOTIFY_H is defined.
6172
b19221b9
SP
61732013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6174
dd1d85e5
SP
6175 * benchtests/cos-inputs: New inputs.
6176 * benchtests/sin-inputs: Likewise.
6177
1acbb90f
SP
6178 * benchtests/atan-inputs: New inputs. Fix name of multiple
6179 precision fallback inputs.
6180
4c012ed3
SP
6181 * benchtests/atanh-inputs: New inputs.
6182 * benchtests/tanh-inputs: Likewise.
6183
eff98324
SP
6184 * benchtests/acosh-inputs: New inputs.
6185 * benchtests/asinh-inputs: Likewise.
6186
ce641152
SP
6187 * benchtests/cosh-inputs: New inputs.
6188 * benchtests/sinh-inputs: Likewise.
6189
b19221b9
SP
6190 * benchtests/acos-inputs: Add more inputs.
6191 * benchtests/asin-inputs: Likewise.
6192
030a4976 61932013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6194
030a4976 6195 [BZ #16375]
9dcc8f11
VS
6196 * manual/arith.texi: Fix spelling.
6197 * manual/charset.texi: Likewise.
6198 * manual/errno.texi: Likewise.
6199 * manual/filesys.texi: Likewise.
6200 * manual/lang.texi: Likewise.
6201 * manual/llio.texi: Likewise.
6202 * manual/locale.texi: Likewise.
6203 * manual/message.texi: Likewise.
6204 * manual/resource.texi: Likewise.
6205 * manual/search.texi: Likewise.
6206 * manual/setjmp.texi: Likewise.
6207 * manual/stdio.texi: Likewise.
6208 * manual/string.texi: Likewise.
6209 * manual/sysinfo.texi: Likewise.
6210 * manual/time.texi: Likewise.
6211
11520a57
CD
62122013-12-27 Carlos O'Donell <carlos@redhat.com>
6213
6214 * po/sl.po: New file.
6215
471103ae
MF
62162013-12-27 Mike Frysinger <vapier@gentoo.org>
6217
6218 * .gitignore: Add core/.gdbinit/.gdb_history.
6219
6c9642ed
AM
62202013-12-27 Allan McRae <allan@archlinux.org>
6221
6222 [BZ #16369]
6223 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6224 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6225
3f637079
BM
62262013-12-24 Brooks Moses <bmoses@google.com>
6227
6228 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6229 all compilers that claim C++98 compliance, not just GCC.
6230 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6231 Likewise.
6232
abc26e99
MK
62332013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6234
6235 * NEWS: Restore accidentally deleted bug-fix entries.
6236
362b47fe
MK
62372013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6238 Ondřej Bílka <neleai@seznam.cz>
6239
6240 [BZ #15073]
6241 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6242 have_lock.
362b47fe 6243
b9bcbbcb
OB
62442013-12-23 Ondřej Bílka <neleai@seznam.cz>
6245
6246 [BZ #12986]
6247 * manual/stdio.texi (String Input Conversions): Clarify that character
6248 classes are not supported.
6249
fb55fcd2
AZ
62502013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6251
6252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6253
ef7344f0
JM
62542013-12-22 Joseph Myers <joseph@codesourcery.com>
6255
4f40e4b3
JM
6256 [BZ #16337]
6257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6258 Calculate results for small negative arguments directly rather
6259 than using reflection formula with special underflow handling.
6260
ef7344f0
JM
6261 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6262 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6263 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6264 (fchflags): Likewise.
6265 (revoke): Likewise.
6266 (setlogin): Likewise.
6267 (sigaltstack): Likewise.
6268 (wait4): Likewise.
6269 (sigblock): Remove.
6270 (sigsetmask): Likewise.
6271 (wait3): Likewise.
6272 (waitpid): Likewise.
6273 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6274 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6275 file.
6276 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6277 * sysdeps/unix/bsd/Makefile: ... here.
6278 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6279 * sysdeps/unix/bsd/Versions: ... here.
6280 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6281 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6282 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6283 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6284 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6285 * sysdeps/unix/bsd/sigblock.c: ... here.
6286 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6287 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6288 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6289 * sysdeps/unix/bsd/sigvec.c: ... here.
6290 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6291 * sysdeps/unix/bsd/tcdrain.c: ... here.
6292 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6293 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6294 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6295 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6296 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6297 * sysdeps/unix/bsd/wait.c: ... here.
6298 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6299 * sysdeps/unix/bsd/wait3.c: ... here.
6300 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6301 * sysdeps/unix/bsd/waitpid.c: ... here.
6302
5b0626b9
JM
63032013-12-21 Joseph Myers <joseph@codesourcery.com>
6304
6305 [BZ #16356]
6306 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6307 round-to-nearest for [!USE_AS_EXPM1L].
6308 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6309 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6310 more tests of exp and exp10. Expect some exp10 tests to miss
6311 exceptions or fail in directed rounding modes.
6312 * math/auto-libm-test-out: Regenerated.
6313 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6314 (exp10_test_tonearest): New function.
6315 (exp10_towardzero_test_data): New array.
6316 (exp10_test_towardzero): New function.
6317 (exp10_downward_test_data): New array.
6318 (exp10_test_downward): New function.
6319 (exp10_upward_test_data): New array.
6320 (exp10_test_upward): New function.
6321 (main): Call the new functions.
6322 * sysdeps/i386/fpu/libm-test-ulps: Update.
6323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6324
7fda5682
JM
63252013-12-20 Joseph Myers <joseph@codesourcery.com>
6326
31e3a405
JM
6327 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6328 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6329 * math/auto-libm-test-out: Regenerated.
6330 * math/libm-test.inc (acosh_test_data): Add more tests.
6331 (atanh_test_data): Likewise.
6332 (ceil_test_data): Likewise.
6333 (copysign_test_data): Likewise.
6334 * sysdeps/i386/fpu/libm-test-ulps: Update.
6335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6336
85bff96a
JM
6337 * timezone/checktab.awk: Update from tzcode 2013i.
6338 * timezone/private.h: Likewise.
6339 * timezone/scheck.c: Likewise.
6340 * timezone/tzfile.h: Likewise.
6341 * timezone/tzselect.ksh: Likewise.
6342 * timezone/zdump.c: Likewise.
6343 * timezone/zic.c: Likewise.
6344
b7867a3b
JM
6345 * math/auto-libm-test-in: Add tests of cpow.
6346 * math/auto-libm-test-out: Regenerated.
6347 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 6348 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
6349 mpc_cc_c.
6350 (func_calc_desc): Add mpc_cc_c union field.
6351 (test_functions): Add cpow.
6352 (special_fill_2pi): New function.
6353 (special_real_inputs): Add 2pi.
6354 (calc_generic_results): Handle mpc_cc_c.
6355 * sysdeps/i386/fpu/libm-test-ulps: Update.
6356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6357
7fda5682
JM
6358 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6359 csqrt, ctan and ctanh.
6360 * math/auto-libm-test-out: Regenerated.
6361 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6362 (TEST_COND_x86): Likewise.
6363 (ccos_test_data): Use AUTO_TESTS_c_c.
6364 (ccosh_test_data): Likewise.
6365 (cexp_test_data): Likewise.
6366 (clog_test_data): Likewise.
6367 (csqrt_test_data): Likewise.
6368 (ctan_test_data): Likewise.
6369 (ctan_tonearest_test_data): Likewise.
6370 (ctan_towardzero_test_data): Likewise.
6371 (ctan_downward_test_data): Likewise.
6372 (ctan_upward_test_data): Likewise.
6373 (ctanh_test_data): Likewise.
6374 (ctanh_tonearest_test_data): Likewise.
6375 (ctanh_towardzero_test_data): Likewise.
6376 (ctanh_downward_test_data): Likewise.
6377 (ctanh_upward_test_data): Likewise.
6378 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6379 mpc_c_c.
6380 (func_calc_desc): Add mpc_c_c union field.
6381 (FUNC_mpc_c_c): New macro.
6382 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6383 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6384 ctanh.
6385 (special_fill_min_subnorm_p120): New function.
6386 (special_real_inputs): Add min_subnorm_p120.
6387 (calc_generic_results): Handle mpc_c_c.
6388 * sysdeps/i386/fpu/libm-test-ulps: Update.
6389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6390
5ff8d60e
SP
63912013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6392
57f41c40
AS
6393 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6394 (do_sin_slow): New functions.
6395 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6396 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 6397
84ba214c
SP
6398 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6399 Use M to change sign of result instead of X. Assume X is
6400 positive.
6401 (csloww1): Likewise.
6402 (__sin): Adjust.
6403 (__cos): Adjust.
6404
975195e4
SP
6405 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6406 arguments A and DA.
6407 (__sin): Adjust.
6408 (__cos): Likewise.
6409
5ff8d60e
SP
6410 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6411 (__cos): Likewise.
6412 (sloww1): Don't adjust sign of DX.
6413 (csloww1): Likewise.
6414 (sloww2): Use X directly and don't adjust sign of DX.
6415 (csloww2): Likewise.
6416
eb983568
JM
64172013-12-19 Joseph Myers <joseph@codesourcery.com>
6418
64a17f1a
JM
6419 * math/auto-libm-test-in: Add tests of cabs and carg.
6420 * math/auto-libm-test-out: Regenerated.
6421 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6422 (carg_test_data): Likewise.
6423 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6424 mpc_c_f.
6425 (func_calc_desc): Add mpc_c_f union field.
6426 (test_functions): Add cabs and carg.
6427 (calc_generic_results): Handle mpc_c_f.
6428
eb983568
JM
6429 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6430 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6431 as a macro and a compat symbol.
6432 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6433 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6434 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6435 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6436 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6437 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6438 not use .hidden.
6439 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6440 Likewise.
6441 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6442 Likewise.
6443 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6444 Likewise.
6445 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6446 Likewise.
6447 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6448 Likewise.
6449 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6450 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6451 from GLIBC_2.3.2.
6452
6eeb678a
AZ
64532013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6454
6455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6456
6f6fc482
JM
64572013-12-19 Joseph Myers <joseph@codesourcery.com>
6458
21fea2e2
JM
6459 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6460 trailing whitespace removed.
6461 * scripts/config.guess: Update to version 2013-11-29.
6462 * scripts/config.sub: Update to version 2013-10-01.
6463
6f6fc482
JM
6464 * math/auto-libm-test-in: Add tests of sincos.
6465 * math/auto-libm-test-out: Regenerated.
6466 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6467 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6468 mpfr_f_11.
6469 (func_calc_desc): Add mpfr_f_11 union field.
6470 (test_functions): Add sincos.
6471 (calc_generic_results): Handle mpfr_f_11.
6472 * sysdeps/i386/fpu/libm-test-ulps: Update.
6473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6474
83f5c32d
AS
64752013-12-19 Andreas Schwab <schwab@suse.de>
6476
6477 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6478 CALL_MCOUNT.
6479 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6480 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6481 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6482
c688b419
JM
64832013-12-19 Joseph Myers <joseph@codesourcery.com>
6484
335ee092
JM
6485 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6486 * sysdeps/i386/fpu/libm-test-ulps: Update.
6487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6488
f88acd39
JM
6489 [BZ #16293]
6490 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6491 round-to-nearest mode when using frndint.
6492 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6493 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6494 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6495 Likewise.
6496 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6497 sinh test to fail.
6498 * math/auto-libm-test-out: Regenerated.
6499 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6500 (TEST_COND_x86): Likewise.
6501 (expm1_tonearest_test_data): New array.
6502 (expm1_test_tonearest): New function.
6503 (expm1_towardzero_test_data): New array.
6504 (expm1_test_towardzero): New function.
6505 (expm1_downward_test_data): New array.
6506 (expm1_test_downward): New function.
6507 (expm1_upward_test_data): New array.
6508 (expm1_test_upward): New function.
6509 (main): Run the new test functions.
6510 * sysdeps/i386/fpu/libm-test-ulps: Update.
6511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6512
c688b419
JM
6513 * include/features.h: Update comment documenting feature test
6514 macros. Mention _DEFAULT_SOURCE in comment.
6515 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6516 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6517 _BSD_SOURCE and _SVID_SOURCE.
6518 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6519 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6520 !_SVID_SOURCE]: Likewise.
6521 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6522 (__USE_POSIX_IMPLICITLY): Define.
6523 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6524 (_POSIX_SOURCE): Undefine and redefine.
6525 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6526 (_POSIX_C_SOURCE): Likewise.
6527 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6528 (Feature Test Macros): Update documentation of default features.
6529
9f6e964c
RS
65302013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6531
6532 * benchtests/Makefile: Add bench-strtok.
6533 * benchtests/bench-strtok.c: New file: strtok benchtest.
6534
ee0a148a
AM
65352013-12-19 Allan McRae <allan@archlinux.org>
6536
6537 * manual/install.texi: Suppress menu for plain text output.
6538 * INSTALL: Regenerated.
6539
b9ab448f
BM
65402013-12-18 Brooks Moses <bmoses@google.com>
6541
6542 [BZ #15846]
6543 * misc/getauxval.c: Include errno.h.
6544 (__getauxval): Set errno to ENOENT if the requested type is not
6545 found.
6546 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6547 don't declare with __attribute_const__.
6548 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6549 * manual/startup.texi: Document that getauxval sets errno.
6550
23776487
JM
65512013-12-18 Joseph Myers <joseph@codesourcery.com>
6552
f889953b
JM
6553 * math/auto-libm-test-in: Add tests of jn and yn.
6554 * math/auto-libm-test-out: Regenerated.
6555 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6556 (yn_test_data): Likewise.
6557 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6558 mpfr_if_f.
6559 (func_calc_desc): Add mpfr_if_f union field.
6560 (FUNC_mpfr_if_f): New macro.
6561 (test_functions): Add jn and yn.
6562 (calc_generic_results): Assert type of second input for
6563 mpfr_ff_f. Handle mpfr_if_f.
6564 (output_for_one_input_case): Disable all checking for arguments
6565 fitting floating-point types in case of an integer argument.
6566 * sysdeps/i386/fpu/libm-test-ulps: Update.
6567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6568
23776487
JM
6569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6570 Don't expect fegetround reference in libm.so.
6571
cb756c6d
MS
65722013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6573
6574 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6575 $(config-cflags-nofma).
6576
2dec468f
JM
65772013-12-18 Joseph Myers <joseph@codesourcery.com>
6578
5953eb3a
JM
6579 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6580 * math/auto-libm-test-out: Regenerated.
6581
2dec468f
JM
6582 [BZ #16338]
6583 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6584 to determine exponent and adjust argument to have exponent of -1.
6585 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6586 log2.
6587 * math/auto-libm-test-out: Regenerated.
6588 * sysdeps/i386/fpu/libm-test-ulps: Update.
6589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6590
4d84e6ad
OB
65912013-12-18 Ondřej Bílka <neleai@seznam.cz>
6592
6593 * manual/probes.texi: Remove cases when per-thread arenas are
6594 disabled.
6595
1818483b
AS
65962013-12-18 Andreas Schwab <schwab@suse.de>
6597
6598 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6599 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6600 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6601 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6602 * sysdeps/i386/i686/multiarch/Makefile: Update.
6603 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6604
25de95bf
JM
66052013-12-17 Joseph Myers <joseph@codesourcery.com>
6606
6607 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6608 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6609
674762d9
PE
66102013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6611
ed27ed83 6612 [BZ #15968]
0748546f
PE
6613 Support TZ transition times < 00:00:00.
6614 This is needed for version-3 tz-format files; it supports time
6615 stamps past 2037 for America/Godthab (the only entry in the tz
6616 database for which this change is relevant).
6617 * manual/time.texi (TZ Variable): Document transition times
6618 from -167:59:59 through -00:00:01.
6619 * time/tzset.c (tz_rule): Time of day is now signed.
6620 (__tzset_parse_tz): Parse negative time of day.
6621
4480e934
PE
6622 Document TZ transition times >= 25:00:00.
6623 * manual/time.texi (TZ Variable): Document transition times from
6624 25:00:00 through 167:59:59. These are already supported, and this
6625 support will help with version-3 tz-format files.
6626
69947401
PE
6627 * manual/time.texi (TZ Variable): Modernize North America example
6628 to reflect current (i.e., 2007-and-later) daylight saving rules.
6629
674762d9
PE
6630 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6631
7011c262
JM
66322013-12-17 Joseph Myers <joseph@codesourcery.com>
6633
2fc6557e
JM
6634 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6635 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6636 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6637 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6638 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6639 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6640 * sysdeps/unix/bsd/clock.c: Likewise.
6641 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6642 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6643 * sysdeps/unix/bsd/init-posix.c: Likewise.
6644 * sysdeps/unix/bsd/poll.c: Likewise.
6645 * sysdeps/unix/bsd/ptsname.c: Likewise.
6646 * sysdeps/unix/bsd/seekdir.c: Likewise.
6647 * sysdeps/unix/bsd/setegid.c: Likewise.
6648 * sysdeps/unix/bsd/seteuid.c: Likewise.
6649 * sysdeps/unix/bsd/setgid.c: Likewise.
6650 * sysdeps/unix/bsd/setrgid.c: Likewise.
6651 * sysdeps/unix/bsd/setruid.c: Likewise.
6652 * sysdeps/unix/bsd/setsid.c: Likewise.
6653 * sysdeps/unix/bsd/setuid.c: Likewise.
6654 * sysdeps/unix/bsd/sigaction.c: Likewise.
6655 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6656 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6657 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6658 * sysdeps/unix/bsd/telldir.c: Likewise.
6659 * sysdeps/unix/bsd/times.c: Likewise.
6660 * sysdeps/unix/bsd/usleep.c: Likewise.
6661
029c7b25
JM
6662 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6663 ($(objpfx)libbsd-compat.a): Remove rule.
6664
7011c262
JM
6665 * include/features.h (__FAVOR_BSD): Do not define.
6666 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6667 features conflicting with POSIX.
6668 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6669 (_BSD_SOURCE): Remove description of not being a subset of other
6670 feature test macros.
6671 * manual/job.texi (getpgrp): Do not document BSD version.
6672 (getpgid): Do not document by reference to BSD getpgrp.
6673 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6674 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6675 * signal/signal.h [__FAVOR_BSD]: Likewise.
6676 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6677 instead of making contents conditional on [__FAVOR_BSD].
6678 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6679
affb6f78
AZ
66802013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6681
6682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6683
c88769dd
JM
66842013-12-17 Joseph Myers <joseph@codesourcery.com>
6685
6432a540
JM
6686 [BZ #16314]
6687 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6688 values below 2**-450, not 2**-500.
6689 * math/auto-libm-test-in: Don't allow spurious underflow from
6690 hypot.
6691 * math/auto-libm-test-out: Regenerated.
6692
c88769dd
JM
6693 [BZ #16316]
6694 [BZ #16330]
6695 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6696 values of ha and hb and sort them after adjusting subnormal
6697 arguments.
6698 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6699 Likewise.
6700 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6701 values of ea and eb and sort them after adjusting subnormal
6702 arguments.
6703 * math/auto-libm-test-in: Do not expect some hypot tests of
6704 subnormals to fail. Add more hypot tests.
6705 * math/auto-libm-test-out: Regenerated.
6706
29618f6b
KK
67072013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6708
6709 [BZ #13304]
6710 * sysdeps/sh/s_fma.c: New file.
6711 * sysdeps/sh/s_fmaf.c: New file.
6712 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6713 version.
6714 * sysdeps/sh/Implies: Add sh/soft-fp.
6715
eacfdfbf
RM
67162013-12-16 Roland McGrath <roland@hack.frob.com>
6717
6718 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6719 level of indirection to members `objname', `errstring', `malloced'.
6720 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6721 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6722 it as the __longjmp argument (just pass 1 instead).
6723 (_dl_catch_error): Initialize C with argument pointers and address of
6724 volatile local ERRCODE rather than copying values out of C at return.
6725
ff362e5b
JM
67262013-12-16 Joseph Myers <joseph@codesourcery.com>
6727
6728 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6729 * math/auto-libm-test-out: Regenerated.
6730 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6731 (hypot_test_data): Likewise.
6732 (pow_test_data): Likewise.
6733 (pow_tonearest_test_data): Likewise.
6734 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6735 mpfr_ff_f.
6736 (func_calc_desc): Add mpfr_ff_f union field.
6737 (FUNC_mpfr_ff_f): New macro.
6738 (test_functions): Add atan2, hypot and pow.
6739 (special_fill_min): New function.
6740 (special_fill_minus_min): Likewise.
6741 (special_fill_min_subnorm): Likewise.
6742 (special_fill_minus_min_subnorm): Likewise.
6743 (special_real_inputs): Add min, -min, min_subnorm and
6744 -min_subnorm.
6745 (calc_generic_results): Handle mpfr_ff_f.
6746 * sysdeps/i386/fpu/libm-test-ulps: Update.
6747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6748
5764c27f
WN
67492013-12-16 Will Newton <will.newton@linaro.org>
6750
6751 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6752 (Aligned Memory Blocks): Add documentation for aligned_alloc
6753 and suggest it as an alternative to posix_memalign.
6754 (Hooks for Malloc): Document __memalign_hook is also called
6755 for aligned_alloc. (Summary of Malloc): Add summary for
6756 aligned alloc. Document __memalign_hook is also called
6757 for aligned_alloc.
6758
0a096e44
WN
67592013-12-16 Will Newton <will.newton@linaro.org>
6760
6761 * manual/memory.texi (Malloc Examples): Clarify default
6762 alignment documentation. Suggest posix_memalign rather
6763 than memalign or valloc.
6764 (Aligned Memory Blocks): Remove suggestion to use memalign
6765 or valloc. Remove obsolete comment about BSD.
6766 Document memalign errno values and mark the function obsolete.
6767 Document posix_memalign returned error codes. Mark valloc
6768 as obsolete. (Hooks for Malloc): __memalign_hook is also
6769 called for posix_memalign and valloc.
6770 (Summary of Malloc): Add posix_memalign to function summary.
6771 __memalign_hook is also called for posix_memalign and valloc.
6772
8d561986
SP
67732013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6774
6775 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6776 TAYLOR_SIN.
6777 (__sin): Adjust.
6778 (__cos): Likewise.
6779 (sloww): Use mynumber union. Expand ternary operator into
6780 if-else statements.
6781 (cslow): use mynumber union.
6782
73616a74
AM
67832013-12-16 Allan McRae <allan@archlinux.org>
6784
9e8ac24b
AM
6785 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6786 * configure: Regenerated.
6787
6f8e37eb
AM
6788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6789
8894bad3
AM
6790 [BZ #14120]
6791 * configure.ac: Added --enable-maintainer-mode. Check for
6792 autoconf when enabled.
6793 * configure: Regenerated.
6794
73616a74
AM
6795 * nscd/nscd.service: New file.
6796 * nscd/nscd.tmpfiles: New file.
6797
584b18eb
OB
67982013-12-14 Ondřej Bílka <neleai@seznam.cz>
6799
6800 [BZ #12100]
6801 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6802 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6803 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6804 (strstr): Add __strstr_sse2_unaligned ifunc.
6805 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6806 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6807 (strcasestr): Remove __strcasestr_sse42 ifunc.
6808 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6811
8a5c7897
KK
68122013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6813
6814 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6815 * sysdeps/sh/bits/fenv.h: ... here.
6816 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6817
fd712ef3
AZ
68182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6819
6820 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6821
42fcb46c
AZ
6822 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6823 hypotf multiarch implementations.
6824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6825 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6826 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6827 multiarch hypot for PPC64.
6828 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6829 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6830 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6831 multiarch hypotf for PPC64.
6832
83efded4
AZ
6833 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6834 modff multiarch implementations.
6835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6838 multiarch modf for PPC64.
6839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6842 multiarch modff for PPC64.
6843
43e246d2
AZ
6844 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6845 and logl multiarch implementations.
6846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6849 multiarch logb for PPC64.
6850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6853 multiarch logb for PPC64.
6854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6857 multiarch logb for PPC64.
6858
8fdad123
AZ
6859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6860 isinff multiarch implementation.
6861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6862 file.
6863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6865 multiarch isinf for PPC64.
6866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6867 file.
6868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6869 multiarch isinff for PPC64.
6870
1481d706
AZ
6871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6872 finitef multiarch implementation.
6873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6874 file.
6875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6877 multiarch finite for PPC64.
6878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6879 file.
6880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6881 multiarch finitef for PPC64.
6882
5ccd5fc8
AZ
6883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6884 lrint multiarch implementation.
6885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6886 file.
6887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6889 multiarch llrint for PPC64.
6890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6891 multiarch lrint for PPC64.
6892
2568f3fa
AZ
6893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6894 copysignf multiarch implementation.
6895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6896 file.
6897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6898 file.
6899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6900 multiarch copysign for PPC64.
6901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6902 multiarch copysignf for PPC64.
6903
1cb341fd
AZ
6904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6905 multiarch implementation.
6906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6907 file.
6908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6909 file.
6910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6911 file.
6912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6913 file.
6914 multiarch llround for PPC64.
6915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6916 multiarch trunc for PPC64.
6917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6918 multiarch truncf for PPC64.
6919
59a3e194
AZ
6920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6921 multiarch implementation.
6922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6923 file.
6924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6925 file.
6926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6927 file.
6928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6929 file.
6930 multiarch llround for PPC64.
6931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6932 multiarch round for PPC64.
6933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6934 multiarch roundf for PPC64.
6935
357fd3b4
AZ
6936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6937 multiarch implementation.
6938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6939 file.
6940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6941 file.
6942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6943 file.
6944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6945 file.
6946 multiarch llround for PPC64.
6947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6948 multiarch floor for PPC64.
6949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6950 multiarch floorf for PPC64.
6951
96770f12
AZ
6952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6953 multiarch implementation.
6954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6955 file.
6956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6957 file.
6958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6959 file.
6960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6961 file.
6962 multiarch llround for PPC64.
6963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6964 multiarch ceil for PPC64.
6965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6966 multiarch ceilf for PPC64.
6967
c3627f6e
AZ
6968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6969 multiarch implementation.
6970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6971 file.
6972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6973 file.
6974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6975 file.
6976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6977 multiarch llround for PPC64.
6978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6979 multiarch lround for PPC64.
6980
b2284ad7
AZ
6981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6982 multiarch implementation.
6983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6986 file.
6987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6990 multiarch isnan for PPC64.
6991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6992 multiarch isnanf for PPC64.
6993
69bbc63d
AZ
6994 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6995 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6996 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6997 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6998 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7000
c24517c9
AZ
7001 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7002 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7004 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7005
a52374e8
AZ
7006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7007 multiarch implementations.
7008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7009 (__libc_ifunc_impl_list): Likewise.
7010 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7011 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7012 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7013 multiarch stpcpy for PPC64.
7014
7f5ec113
AZ
7015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7016 multiarch implementations.
7017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7018 (__libc_ifunc_impl_list): Likewise.
7019 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7020 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7021 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7022 multiarch strcpy for PPC64.
7023
e28bcd42
AZ
7024 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7025 redefine function name.
7026 (_wordcopy_fwd_dest_aligned): Likewise.
7027 (_wordcopy_bwd_aligned): Likewise.
7028 (_wordcopy_bwd_dest_aligned): Likewise.
7029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7030 multiarch implementations.
7031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7032 (__libc_ifunc_impl_list): Likewise.
7033 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7034 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7035 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7036 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7037 multiarch wcscpy for PPC64.
7038
92cacfce
AZ
7039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7040 multiarch implementations.
7041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7042 (__libc_ifunc_impl_list): Likewise.
7043 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7044 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7045 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7046 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7047 multiarch wcscpy for PPC64.
7048
7b714620
AZ
7049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7050 multiarch implementations.
7051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7052 (__libc_ifunc_impl_list): Likewise.
7053 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7054 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7055 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7056 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7057 multiarch wcsrchr for PPC64.
7058
16fd2ae3
AZ
7059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7060 multiarch implementations.
7061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7062 (__libc_ifunc_impl_list): Likewise.
7063 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7064 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7065 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7066 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7067 multiarch wcschr for PPC64.
7068
9ee2969b
AZ
7069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7070 multiarch implementations.
7071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7072 (__libc_ifunc_impl_list): Likewise.
7073 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7074 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7075 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7076 multiarch strchrnul for PPC64.
7077
372dc060
AZ
7078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7079 implementations.
7080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7081 (__libc_ifunc_impl_list): Likewise.
7082 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7083 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7084 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7085 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7086 strchr for PPC64.
7087
24c2c3b9
AZ
7088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7089 implementations.
7090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7091 (__libc_ifunc_impl_list): Likewise.
7092 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7093 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7094 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7095 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7096 strncmp for PPC64.
7097
1c92d9a0
AZ
7098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7099 multiarch implementations.
7100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7101 (__libc_ifunc_impl_list): Likewise.
7102 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7103 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7104 strncasecmp for PPC64.
7105 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7106 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7107 multiarch strncasecmp_l for PPC64.
7108
17de3ee3
AZ
7109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7110 multiarch implementations.
7111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7112 (__libc_ifunc_impl_list): Likewise.
7113 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7114 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7115 multiarch strcasecmp for PPC64.
7116 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7117 file.
7118 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7119 multiarch strcasecmp_l for PPC64.
7120
62982bf9
AZ
7121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7122 implementations.
7123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7124 (__libc_ifunc_impl_list): Likewise.
7125 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7126 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7127 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7128 strnlen for PPC64.
7129
a65f4904
AZ
7130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7131 implementations.
7132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7133 (__libc_ifunc_impl_list): Likewise.
7134 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7135 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7136 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7137 strlen for PPC64.
7138
1fd005ad
AZ
7139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7140 implementations.
7141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7142 (__libc_ifunc_impl_list): Likewise.
7143 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7144 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7145 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7146 rawmemrchr for PPC64.
7147
cd05ba91
AZ
7148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7149 implementation.
7150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7151 (__libc_ifunc_impl_list): Likewise.
7152 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7153 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7154 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7155 memrchr for PPC64.
7156
870f8676
AZ
7157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7158 implementation.
7159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7160 (__libc_ifunc_impl_list): Likewise.
7161 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7162 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7163 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7164 memchr for PPC64.
7165
f00be62b
AZ
7166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7167 implementation.
7168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7169 (__libc_ifunc_impl_list): Likewise.
7170 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7171 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7172 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7173 mempcpy for PPC64.
7174
8a29a3d0
AZ
7175 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7176 avoid cretion of __bzero symbol.
7177 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7178 Likewise.
7179 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7180 Likewise.
7181 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7182 Likewise.
7183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7184 multiarch implementations.
7185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7186 (__libc_ifunc_impl_list): Likewise.
7187 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7188 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7189 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7190 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7191 bzero for PPC32.
7192 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7193 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7194 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7195 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7196 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7197 memset for PPC64.
7198 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7199
07253fcf
AZ
7200 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7202 implementations.
7203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7204 (__libc_ifunc_impl_list): Likewise.
7205 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7206 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7207 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7208 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7209 memcmp for PPC64.
7210
b5beafbc
AZ
7211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7212 multiarch for POWER/PPC64.
7213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7214 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7215 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7216 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7217 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7218 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7219 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7220 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7221 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7222 memcpy for PPC64.
7223
5e6a4d4b
AZ
7224 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7225 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7226 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7227 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7228 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7229 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7230 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7231 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7232 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7233 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7234 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7235 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7236 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7237 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7238 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7246
ddfab6dc
KK
72472013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7248
7249 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7250
19b5525e
SP
72512013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7252
7253 * benchtests/Makefile (bench): Add exp2 and log2.
7254 (LDLIBS-bench-exp2): Add -lm.
7255 (LDLIBS-bench-log2): Likewise.
7256 * benchtests/exp2-inputs: New inputs file.
7257 * benchtests/log2-inputs: New inputs file.
7258 * benchtests/log-inputs: Add new inputs.
7259 * benchtests/tan-inputs: Likewise.
7260
196f7f5d
SP
72612013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7262
7a74607f
SP
7263 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7264 definition...
57f41c40
AS
7265 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7266 (csloww2): ... from here.
7a74607f 7267
196f7f5d
SP
7268 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7269 instead of structures.
7270 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7271 (POLYNOMIAL): Likewise.
7272 (TAYLOR_SLOW): Likewise.
7273 (__sin): Likewise.
7274 (__cos): Likewise.
7275 (slow1): Likewise.
7276 (slow2): Likewise.
7277 (sloww): Likewise.
7278 (sloww1); Likewise.
7279 (sloww2): Likewise.
7280 (bsloww1): Likewise.
7281 (bsloww2): Likewise.
7282 (cslow2): Likewise.
7283 (csloww): Likewise.
7284 (csloww1): Likewise.
7285 (csloww2): Likewise.
7286
0dfa665c
OB
72872013-12-10 Ondřej Bílka <neleai@seznam.cz>
7288
7289 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
7290 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7291 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
7292 * malloc/hooks.c (realloc_check): Likewise.
7293
5782a80f
OB
7294 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7295 * malloc/arena.c: Remove PER_THREAD conditional.
7296 [!PER_THREAD]: Remove code.
7297 (ptmalloc_unlock_all2): Likewise.
7298 (ptmalloc_init): Likewise.
7299 (_int_new_arena): Likewise.
7300 (arena_get2): Likewise.
7301 * malloc/hooks.c (__malloc_get_state): Likewise.
7302 (__malloc_set_state): Likewise.
7303 * malloc/malloc.c: Likewise.
7304 (struct malloc_state): Likewise.
7305 (struct malloc_par): Likewise.
7306 (__libc_realloc): Likewise.
7307 (__libc_mallopt): Likewise.
7308
aeb95445
AZ
73092013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7310
7311 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7312
e8349efd
OB
73132013-12-09 Ondřej Bílka <neleai@seznam.cz>
7314
7315 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7316 macro to a function. Check for zero perturb_byte.
7317 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7318
f3eeb3fc 7319 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
7320 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7321 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
7322 force_reg by atomic_forced_read.
7323 * malloc/arena.c (ptmalloc_init): Likewise.
7324 * malloc/hooks.c (top_check): Likewise.
7325
be2f9009
AZ
73262013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7327
7328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7329
e7b914bd
MT
73302013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7331
7332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7333
9f0be4f8
JM
73342013-12-08 Joseph Myers <joseph@codesourcery.com>
7335
7336 * math/auto-libm-test-in: Add tests of lgamma.
7337 * math/auto-libm-test-out: Regenerated.
7338 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7339 (M_LOG_2_SQRT_PIl): Likewise.
7340 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7341 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7342 mpfr_f_f1.
7343 (func_calc_desc): Add mpfr_f_f1 union field.
7344 (ARGS1): New macro.
7345 (ARGS2): Likewise.
7346 (ARGS3): Likewise.
7347 (ARGS4): Likewise.
7348 (RET1): Likewise.
7349 (RET2): Likewise.
7350 (CALC): Likewise.
7351 (FUNC): Likewise.
7352 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7353 (test_functions): Add lgamma.
7354 (calc_generic_results): Handle mpfr_f_f1.
7355 * sysdeps/i386/fpu/libm-test-ulps: Update.
7356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7357
24eeafdb
AZ
73582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7359
7360 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7361 __mpn_add_n for PowerPC64/POWER7.
7362 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7363 __mpn_sub_n for PowerPC64/POWER7.
7364
4a2c0fd4
AZ
7365 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7366 __mpn_addmul_1 for PowerPC64.
7367 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7368 __mpn_submul_1 for PowerPC64.
7369 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7370 for PowerPC64.
7371 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7372 for PowerPC64.
7373
4b5b548c
FS
73742013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7375
7376 [BZ #15089]
7377 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7378
0a3ac0aa
AZ
73792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7380
7381 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7382
ccdc8438
AZ
7383 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7384 add multiarch folders.
7385 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7386 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7387 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7388 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7389 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7390 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7391 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7392 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7393 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7394 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7395 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7402
2e973d99
AZ
7403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7404 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7406 New file.
7407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7408 New file.
7409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7410 multiarch __ieee754_hypot for PowerPC32.
7411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7412 New file.
7413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7414 New file.
7415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7416 multiarch __ieee754_hypotf for PowerPC32.
7417
2d9470b2
AZ
7418 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7419 long_double_symbol only if __logbl is defined.
7420 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7421 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7422 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7423 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7424 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7425 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7426 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7427 path for implementation.
7428 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7429 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7431 logb, and logbl multiarch implementations for PowerPC32.
7432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7433 file.
7434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7435 file.
7436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7437 multiarch logb for PowerPC32.
7438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7439 file.
7440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7441 file.
7442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7443 multiarch logbf for PowerPC32.
7444 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7446 file.
7447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7448 multiarch logbl implementation for PowerPC32.
7449
5212ffce
AZ
7450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7451 and modff multiarch implementations.
7452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7453 New file.
7454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7455 New file.
7456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7457 multiarch modf for PowerPC32.
7458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7459 New file.
7460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7461 New file.
7462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7463 multiarch modff for PowerPC32.
7464
79dccf31
AZ
7465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7466 and lrintf multiarch implementations.
7467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7468 New file.
7469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7470 New file.
7471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7472 multiarch lrint for PowerPC32.
7473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7474 file: multiarch lrintf for PowerPC32.
7475
deb66480
AZ
7476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7477 and lroundf multiarch implementations.
7478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7479 New file.
7480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7481 New file.
7482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7483 New file.
7484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7485 multiarch lround for PowerPC32.
7486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7487 file: multiarch lroundf for PowerPC32.
7488
264b036b
AZ
7489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7490 copysign and copysignf multiarch implementations.
7491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7492 New file.
7493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7494 New file.
7495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7496 file: multiarch copysign for PowerPC32.
7497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7498 file: multiarch copysignf for PowerPC32.
7499
d47db6c9
AZ
7500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7501 and truncf multiarch implementations.
7502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7503 New file.
7504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7505 file.
7506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7507 multiarch trunc for PowerPC32.
7508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7509 New file.
7510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7511 New file.
7512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7513 multiarch truncf for PowerPC32.
7514
ddb60b5a
AZ
7515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7516 and roundf multiarch implementations.
7517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7518 New file.
7519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7520 file.
7521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7522 multiarch round for PowerPC32.
7523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7524 New file.
7525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7526 New file.
7527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7528 multiarch roundf for PowerPC32.
7529
bedcf49b
AZ
7530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7531 and floorf multiarch implementations.
7532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7533 New file.
7534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7535 file.
7536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7537 multiarch floor for PowerPC32.
7538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7539 New file.
7540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7541 New file.
7542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7543 multiarch floorf for PowerPC32.
7544
35ae5b40
AZ
7545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7546 and ceilf multiarch implementations.
7547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7548 New file.
7549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7550 file.
7551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7552 multiarch ceil for PowerPC32.
7553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7554 New file.
7555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7556 file.
7557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7558 multiarch ceilf for PowerPC32.
7559
ae1a4cd9
AZ
7560 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7561 is defined.
7562 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7563 FINITEF is defined.
7564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7565 and finitef multiarch implementations.
7566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7567 New file.
7568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7569 file.
7570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7571 multiarch finite for PowerPC32.
7572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7573 New file.
7574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7575 file: multiarch finitef for PowerPC32.
7576
64fffd65
AZ
7577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7578 and isinff multiarch implementations.
7579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7580 file.
7581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7582 file.
7583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7584 multiarch isinf for PowerPC32.
7585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7586 New file.
7587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7588 multiarch isinff for PowerPC32.
7589
8e4e7ba2
AZ
7590 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7591 alias when __isnan is defined.
7592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7593 and isnanf multiarch implementations.
7594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7595 file.
7596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7597 file.
7598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7599 file.
7600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7601 file.
7602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7603 multiarch isnan for PowerPC32.
7604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7605 New file.
7606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7607 New file.
7608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7609 multiarch isnanf for PowerPC32.
7610
ddba588e
AZ
7611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7612 and sqrtf multiarch implementations.
7613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7614 file.
7615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7616 file.
7617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7618 multiarch sqrt for PowerPC32.
7619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7620 file.
7621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7622 file.
7623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7624 multiarch sqrtf for PowerPC32.
7625
0f96a2f0
AZ
7626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7627 and llroundf multiarch implementations.
7628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7629 New file.
7630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7631 New file.
7632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7633 New file.
7634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7635 file: multiarch llround for PowerPC32.
7636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7637 file: multiarch llroundf for PowerPC32.
7638
c9b5d79e
AZ
7639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7640 multiarch PowerPC32 fpu implementations.
7641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7642 New file.
7643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7644 New file.
7645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7646 multiarch llrint for PowerPC32.
7647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7648 New file.
7649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7650 New file.
7651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7652 file.
7653
9cbb3aab
AZ
7654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7655
ea5a72f8
AZ
7656 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7657 file.
7658 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7659 file.
7660 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7661 file.
7662 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7663 multiarch wordcopy for PPC32.
7664 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7665 wordcopy objects.
7666 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7667 (__libc_ifunc_impl_list): Likewise.
7668 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7669 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7670 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7671 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7672 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7673 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7674
93be09e7
AZ
7675 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7677 file.
7678 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7679 file.
7680 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7681 file.
7682 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7683 multiarch wcscpy for PPC32.
7684 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7685 multiarch objects.
7686 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7687 (__libc_ifunc_impl_list): Likewise.
7688 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7689 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7690 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7691 sysdeps/powerpc/power6/wcscpy.c.
7692
bb04e529
AZ
7693 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7695 file.
7696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7697 file.
7698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7699 file.
7700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7701 multiarch wcsrchr for PPC32.
7702 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7703 multiarch objects.
7704 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7705 (__libc_ifunc_impl_list): Likewise.
7706 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7707 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7708 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7709 sysdeps/powerpc/power6/wcsrchr.c.
7710
05b5cd1c
AZ
7711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7712 file.
7713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7714 file.
7715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7717 multiarch wcschr for PPc32.
7718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7719 multiarch objects.
7720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7721 (__libc_ifunc_impl_list): Likewise.
7722 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7723 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7724 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7725 sysdeps/powerpc/power6/wcschr.c.
7726
ba964147
AZ
7727 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7728 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7729 file.
7730 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7731 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7732 file: multiarch strchr for PPC32.
7733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7734 multiarch objects.
7735 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7736 (__libc_ifunc_impl_list): Likewise.
7737
31c81aaa
AZ
7738 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7739 name.
7740 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7741 file.
7742 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7743 file.
7744 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7745 multiarch strchrnul for PPC32.
7746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7747 multiarch objects.
7748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7749 (__libc_ifunc_impl_list): Likewise.
7750
0d0607d9
AZ
7751 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7752 file.
7753 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7754 multiarch strncasecmp for PPC32.
7755 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7756 file.
7757 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7758 multiarch strncasecmp_l for PPC32.
7759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7760 strncasecmp multiarch objects.
7761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7762 (__libc_ifunc_impl_list): Likewise.
7763
4dfd5c86
AZ
7764 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7765 file.
7766 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7767 multiarch strncasecmp for PPC32.
7768 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7769 New file.
7770 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7771 multiarch strcasecmp_l for PPC32.
7772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7773 multiarch objects.
7774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7775 (__libc_ifunc_impl_list): Likewise.
7776
a19e01a3
AZ
7777 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7778 file.
7779 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7780 file.
7781 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7782 multiarch strncmp for PPC32.
7783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7784 multiarch objects.
7785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7786 (__libc_ifunc_impl_list): Likewise.
7787
ae9cf7a2
AZ
7788 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7789 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7790 file.
7791 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7792 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7794 multiarch objects.
7795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7796 (__libc_ifunc_impl_list): Likewise.
7797
3148bb7d
AZ
7798 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7799 file.
7800 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7801 file.
7802 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7804 multiarch objects.
7805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7806 (__libc_ifunc_impl_list): Likewise.
7807
7af8b946
AZ
7808 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7809 file.
7810 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7811 file.
7812 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7813 multiarch rawmemchr for PPC32.
7814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7815 multiarch objects.
7816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7817 (__libc_ifunc_impl_list): Likewise.
7818
03a6aa6a
AZ
7819 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7820 file.
7821 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7822 file.
7823 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7824 file: memrchr multiarch for PPC32.
7825 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7826 multiarch objects.
7827 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7828 (__libc_ifunc_impl_list): Likewise.
7829
1c62e6d9
AZ
7830 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7831 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7832 file.
7833 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7834 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7835 multiarch memchr for PPC32.
7836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7837 multiarch objects.
7838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7839 (__libc_ifunc_impl_list): Likewise.
7840
87da8bdb
AZ
7841 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7842 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7843 file.
7844 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7845 file.
7846 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7847 file: multiarch mempcpy for PPC32.
7848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7849 multiarch objects.
7850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7851 (__libc_ifunc_impl_list): Likewise.
7852
20ed4714
AZ
7853 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7854 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7855 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7856 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7857 multiarch bzero for PPC32.
7858 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7859 file.
7860 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7861 file.
7862 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7863 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7864 file: multiarch memset for PPC32.
7865 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7867 memset multiarch objects.
7868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7869 (__libc_ifunc_impl_list): Likewise.
7870
ab3e3a46
AZ
7871 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7872 file.
7873 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7874 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7875 memcmp for PPC32.
7876 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7878 multiarch objects.
7879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7880 (__libc_ifunc_impl_list): Likewise.
7881
930de6f0
AZ
7882 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7883 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7884 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7885 file.
7886 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7887 file.
7888 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7889 file.
7890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7891 multiarch memcpy for PPC32.
7892 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7893 multiarch objects.
7894 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7895 (__libc_ifunc_impl_list): Likewise.
7896
4c628e00
AZ
7897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7898 support multiarch for POWER/PPC32.
7899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7900 Likewise.
7901 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7903 Implies file to make multiarch folder appers before the fpu and
7904 default folder for power4 configuration.
7905
f4479220
SP
79062013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7907
7908 * scripts/bench.pl: Append volatile keyword to type.
7909
8517800f
KK
79102013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7911
7912 * sysdeps/sh/sotruss-lib.c: New file.
7913 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7914
180138f1
AZ
79152013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7916
7917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7918
bbf37bdc
JM
79192013-12-05 Joseph Myers <joseph@codesourcery.com>
7920
e47cc4e0
JM
7921 [BZ #6810]
7922 * math/w_tgamma.c: Include <errno.h>.
7923 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7924 * math/w_tgammaf.c: Include <errno.h>.
7925 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7926 * math/w_tgammal.c: Include <errno.h>.
7927 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7928 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7929 underflow. Add more tgamma tests.
7930 * math/auto-libm-test-out: Regenerated.
7931 * sysdeps/i386/fpu/libm-test-ulps: Update.
7932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7933
bbf37bdc
JM
7934 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7935 sin, sinh, tan, tanh, tgamma, y0 and y1.
7936 * math/auto-libm-test-out: Regenerated.
7937 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7938 (TEST_COND_x86): Likewise.
7939 (M_E2l): Remove macro.
7940 (M_E3l): Likewise.
7941 (M_2_SQRT_PIl): Likewise.
7942 (M_SQRT_PIl): Likewise.
7943 (M_1_DIV_El): Likewise.
7944 (log_test_data): Use AUTO_TESTS_f_f.
7945 (log10_test_data): Likewise.
7946 (log1p_test_data): Likewise.
7947 (log2_test_data): Likewise.
7948 (sin_test_data): Likewise.
7949 (sin_tonearest_test_data): Likewise.
7950 (sin_towardzero_test_data): Likewise.
7951 (sin_downward_test_data): Likewise.
7952 (sin_upward_test_data): Likewise.
7953 (sinh_test_data): Likewise.
7954 (sinh_tonearest_test_data): Likewise.
7955 (sinh_towardzero_test_data): Likewise.
7956 (sinh_downward_test_data): Likewise.
7957 (sinh_upward_test_data): Likewise.
7958 (tan_test_data): Likewise.
7959 (tan_tonearest_test_data): Likewise.
7960 (tan_towardzero_test_data): Likewise.
7961 (tan_downward_test_data): Likewise.
7962 (tan_upward_test_data): Likewise.
7963 (tanh_test_data): Likewise.
7964 (tgamma_test_data): Likewise.
7965 (y0_test_data): Likewise.
7966 (y1_test_data): Likewise.
7967 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7968 (special_real_inputs): Add pi/4.
7969 * sysdeps/i386/fpu/libm-test-ulps: Update.
7970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7971
eb5ad6b9
AZ
79722013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7973
7974 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7975 "longjmp_target" static probes.
7976 (__longjmp): Rename to __longjmp_symbol.
7977 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7978 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7979 on which longjmp to generate.
7980 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7981 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7982 probe.
7983 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7984 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7985 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7986 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7987 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7988 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7990 __longjmp_symbol based on which __longjmp to generate.
7991 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7992 probe.
7993 (setjmp): Rename to setjmp_symbol.
7994 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7995 (_setjmp): Rename to _setjmp_symbol.
7996 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7997 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7998 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7999 which setjmp to generate.
8000 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8001 "longjmp_target" static probes.
8002
d136c6dc
SP
80032013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8004
9298ecba
SP
8005 * benchtests/README: Add note about output arguments.
8006 * benchtests/bench-sincos.c: Remove file.
8007 * benchtests/sincos-inputs: New file.
8008 * scripts/bench.pl: Identify output arguments and define
8009 static variables for them.
8010
232983e9
SP
8011 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8012
d136c6dc
SP
8013 [BZ #15941]
8014 * Makefile (INSTALL): Add install-plain.texi as the primary
8015 dependency.
8016 * manual/install-plain.texi: New file.
8017 * manual/install.texi: Include node directive only for
8018 non-plaintext output.
8019
699ff837
JM
80202013-12-04 Joseph Myers <joseph@codesourcery.com>
8021
ab07cea8
JM
8022 * stdlib/longlong.h: Update from GCC.
8023
699ff837
JM
8024 [BZ #6807]
8025 [BZ #15901]
8026 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8027 * math/w_j0f.c (y0f): Likewise.
8028 * math/w_j0l.c (__y0l): Likewise.
8029 * math/w_j1.c (y1): Likewise.
8030 * math/w_j1f.c (y1f): Likewise.
8031 * math/w_j1l.c (__y1l): Likewise
8032 * math/w_jn.c (yn): Likewise.
8033 * math/w_jnf.c (ynf): Likewise.
8034 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8035 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8036 value for Bessel function domain errors outside _SVID_ mode.
8037 Adjust sign of return value for yn (negative integer, 0).
8038 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8039 by zero in return for negative x and set sign appropriately for
8040 negative n.
8041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8042 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8043 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8044 expectations in error cases.
8045 (y1_test_data): Likewise.
8046 (yn_test_data): Likewise.
8047 * sysdeps/i386/fpu/libm-test-ulps: Update.
8048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8049
5b118558
UW
80502013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8051
8052 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8053 "64" to "64-v1". Add "64-v2".
8054 (abi-64-options): Rename to ...
8055 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8056 (abi-64-condition): Rename to ...
8057 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8058 (abi-64-ld-soname): Rename to ...
8059 (abi-64-v1-ld-soname): ... this.
8060 (abi-64-v2-options): Define.
8061 (abi-64-v2-condition): Likewise.
8062 (abi-64-v2-ld-soname): Likewise.
8063 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8064 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8068
61cd8fe4
UW
80692013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8070 Alan Modra <amodra@gmail.com>
8071
8072 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8073 New versions for use with the ELFv2 ABI.
8074 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8075 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8076 declaration.
8077 (struct La_ppc64v2_retval): Likewise.
8078 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8079 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8080 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8081 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8082 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8083 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8084 Do not save or restore CR.
8085 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8086 (_dl_profile_resolve): Do no save or restore CR. Support extended
8087 return values for ELFv2 ABI. Fix location of FPR return registers.
8088 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8089 updated values for _CALL_ELF == 2.
8090 (La_regs, La_retval, int_retval): Likewise.
8091
8b8a692c
UW
80922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8093
8094 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8095 (FRAME_MIN_SIZE_PARM): Likewise.
8096 (FRAME_BACKCHAIN): Likewise.
8097 (FRAME_CR_SAVE): Likewise.
8098 (FRAME_LR_SAVE): Likewise.
8099 (FRAME_TOC_SAVE): Likewise.
8100 (FRAME_PARM_SAVE): Likewise.
8101 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8102 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8103 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8104 (call_mcount_parm_offset): New macro.
8105 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8106 (PROF): Use symbolic stack frame offsets.
8107 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8108 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8109 Redefine in terms of FRAME_MIN_SIZE.
8110 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8111 (_dl_profile_resolve): Likewise. Update comment.
8112 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8113 symbols stack frame offsets.
8114 (__sigsetjmp): Likewise.
8115 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8116 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8117 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8118 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8119
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8121 (FRAME_BACKCHAIN): Remove.
8122 (FRAME_CR_SAVE): Likewise.
8123 (FRAME_LR_SAVE): Likewise.
8124 (FRAME_COMPILER_DW): Likewise.
8125 (FRAME_LINKER_DW): Likewise.
8126 (FRAME_TOC_SAVE): Likewise.
8127 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
8128 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8129 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8130 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8132 (CHECK_SP): Use symbolic stack frame offsets.
8133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8134 zone" instead of caller's parameter save area for temp storage.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8136 Likewise. Also, use symbolic stack frame offsets.
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8138 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8139 our own stack frame instead of the caller's.
8140 (__socket): Use symbolic stack frame offsets.
8141
122b66de
UW
81422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8143 Alan Modra <amodra@gmail.com>
8144
8145 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8146 Define.
57f41c40
AS
8147 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8148 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
8149 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8150 New function.
8151 (elf_machine_fixup_plt): Call it.
8152 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8153 reloc arguments.
8154 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
8155 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8156 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
8157 r2 before calling target.
8158
696caf1d
UW
81592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8160 Alan Modra <amodra@gmail.com>
8161
8162 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8163 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8164 versions of macros to support ELFv2 ABI.
8165 (LOCALENTRY): New macro.
8166 (ENTRY, EALIGN): Use it.
8167 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8168 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8169 fall through into ENTRY entry point.
8170 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8171 Only define if _CALL_ELF != 2.
8172
8173 (elf_machine_matches_host): Verify ABI version matches.
8174 (RTLD_START): Use LOCALENTRY.
8175 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8176 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8177 (PLT_ENTRY_WORDS): New macro.
8178 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8179 (elf_machine_runtime_setup): Support ELFv2 ABI.
8180 (elf_machine_fixup_plt): Likewise.
8181 (elf_machine_plt_conflict): Likewise.
8182 (resolve_ifunc): Likewise.
8183 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8184 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8185 Likewise.
8186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8187 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8189 (makecontext): Support ELFv2 ABI.
8190 * elf/elf.h (EF_PPC64_ABI): Define.
8191
d31beafa
UW
81922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8193
57f41c40
AS
8194 * sysdeps/powerpc/powerpc64/sysdep.h
8195 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8196 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8197 (ENTRY) [ASSEMBLER]: ... but instead here ...
8198 (EALIGN) [ASSEMBLER]: ... and here.
8199 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8200 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8201 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8202 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8203 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8204 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8205 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8206 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8208 Use PPC64_LOAD_FUNCPTR.
8209
b525166b
UW
8210 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8211
7ec07d9a
AM
82122013-12-04 Alan Modra <amodra@gmail.com>
8213
8214 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8215 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8216 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8217 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8218
8219 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8220 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8221 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8222 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8223 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8224 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8225
5162e7dd
UW
82262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8227
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8229 (__makecontext): Fix incorrect CFI when backtracing out of
8230 context created via makecontext.
8231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8232 (__setcontext): Fix incorrect CFI during switch to new context.
8233 (__novec_setcontext): Likewise.
8234
19e3372b
OB
82352013-12-04 Ondřej Bílka <neleai@seznam.cz>
8236
8237 [BZ #4772]
8238 * time/strptime_l.c (__strptime_internal): Allow modifiers
8239 in strptime.
8240 * time/tst-strptime.c (day_tests): Add testcase.
8241
ecaf142d
SP
82422013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8243
8244 * scripts/bench.pl: Skip over blank lines.
8245
fbf964ae
PE
82462013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8247
8248 [BZ #926]
8249 * manual/time.texi (Calendar Time): Clarify what timezone functions
8250 use.
8251
fa60a674
AZ
82522013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8253
8254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8255
d674f0ef
OB
82562013-12-04 Ondřej Bílka <neleai@seznam.cz>
8257
8258 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8259 implementation.
8260 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8261 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8262 * debug/memset_chk.c (__memset_chk): Likewise.
8263 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8264 * debug/strncpy_chk.c: Likewise.
8265
17dea188
JM
82662013-12-03 Joseph Myers <joseph@codesourcery.com>
8267
749008ff
JM
8268 [BZ #15268]
8269 [BZ #15425]
8270 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8271 (__ieee754_exp): For possibly underflowing results, check size of
8272 result and force underflow exception if required.
8273 * math/auto-libm-test-in: Add more tests of exp.
8274 * math/auto-libm-test-out: Regenerated.
8275 * sysdeps/i386/fpu/libm-test-ulps: Update.
8276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8277
17dea188
JM
8278 [BZ #16283]
8279 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8280 * math/w_exp2f.c (__exp2f): Likewise.
8281 * math/w_exp2l.c (__exp2l): Likewise.
8282 * math/auto-libm-test-in: Do not allow missing errno on exp2
8283 underflow.
8284 * math/auto-libm-test-out: Regenerated.
8285
b20de2c3
OB
82862013-12-03 Ondřej Bílka <neleai@seznam.cz>
8287
8288 [BZ #16274]
8289 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8290 handle filename validation.
8291 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8292 (do_open): Delete.
8293
d8e2dbe3
JM
82942013-12-03 Joseph Myers <joseph@codesourcery.com>
8295
34e16df5
JM
8296 [BZ #6786]
8297 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8298 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8299 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8300 <float.h>.
8301 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8302 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8303 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8304 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8305 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8306 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8307 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8308 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8309 Add more erfc tests.
8310 * math/auto-libm-test-out: Regenerated.
8311 * sysdeps/i386/fpu/libm-test-ulps: Update.
8312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8313
d8e2dbe3
JM
8314 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8315 exp2, expm1, j0 and j1.
8316 * math/auto-libm-test-out: Regenerated.
8317 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8318 (erfc_test_data): Likewise.
8319 (exp_test_data): Likewise.
8320 (exp_tonearest_test_data): Likewise.
8321 (exp_towardzero_test_data): Likewise.
8322 (exp_downward_test_data): Likewise.
8323 (exp_upward_test_data): Likewise.
8324 (exp10_test_data): Likewise.
8325 (exp2_test_data): Likewise.
8326 (expm1_test_data): Likewise.
8327 (j0_test_data): Likewise.
8328 (j1_test_data): Likewise.
8329 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8330 (input_flag_type): Add flag_xfail_rounding.
8331 (input_flags): Add xfail-rounding.
8332 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8333 (output_for_one_input_case): Handle flag_xfail_rounding.
8334 * sysdeps/i386/fpu/libm-test-ulps: Update.
8335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8336
18d14251
AJ
83372013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8338
3d2e6075 8339 [BZ #16289]
18d14251
AJ
8340 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8341 division by 0.
8342
520d437b
SP
83432013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8344
8345 [BZ #16195]
8346 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8347 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8348 (STAP_PROBE0): New macro.
8349 (STAP_PROBE1): Likewise.
8350 (STAP_PROBE2): Likewise.
8351 (STAP_PROBE3): Likewise.
8352 (STAP_PROBE4): Likewise.
8353
416e0145
OB
83542013-12-02 Ondřej Bílka <neleai@seznam.cz>
8355
8356 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8357
9d17796a
SE
83582013-12-02 Steve Ellcey <sellcey@mips.com>
8359
8360 * benchtests/Makefile (bench): Add sqrt.
8361 (LDLIBS-bench-sqrt): New.
8362 * benchtests/sqrt-input: New.
8363
f524d6a8
PS
83642013-12-02 Pavel Simerda <psimerda@redhat.com>
8365
639a0ef8
PS
8366 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8367 (GAIH_EAI): Likewise.
8368 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8369 (gaih_inet): Likewise.
8370 (getaddrinfo): Don't use GAIH_EAI.
8371
f524d6a8
PS
8372 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8373 (struct gaih): Remove definition.
8374
df3aedaf
SP
83752013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8376
8377 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8378 Use HERRNOP directly.
8379
1ab19dec
AZ
83802013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8381
b42ad38d 8382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 8383
176b0c79
JM
83842013-11-30 Joseph Myers <joseph@codesourcery.com>
8385
8386 * math/gen-auto-libm-tests.c (test_functions): Add more
8387 single-argument functions.
8388 (special_fill_pi_2): New function.
8389 (special_fill_minus_pi_2): Likewise.
8390 (special_fill_pi_6): Likewise.
8391 (special_fill_minus_pi_6): Likewise.
8392 (special_fill_pi_3): Likewise.
8393 (special_fill_2pi_3): Likewise.
8394 (special_fill_e): Likewise.
8395 (special_fill_1_e): Likewise.
8396 (special_fill_e_minus_1): Likewise.
8397 (special_real_inputs): Add more special inputs.
8398 (output_for_one_input_case): Do not require ERANGE on underflow to
8399 zero if round-to-nearest result does not underflow to zero, unless
8400 exact results required.
8401 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8402 atan, atanh, cbrt, cos and cosh.
8403 * math/auto-libm-test-out: Regenerated.
8404 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8405 (acos_tonearest_test_data): Likewise.
8406 (acos_towardzero_test_data): Likewise.
8407 (acos_downward_test_data): Likewise.
8408 (acos_upward_test_data): Likewise.
8409 (acosh_test_data): Likewise.
8410 (asin_test_data): Likewise.
8411 (asin_tonearest_test_data): Likewise.
8412 (asin_towardzero_test_data): Likewise.
8413 (asin_upward_test_data): Likewise.
8414 (asinh_test_data): Likewise.
8415 (atan_test_data): Likewise.
8416 (atanh_test_data): Likewise.
8417 (cbrt_test_data): Likewise.
8418 (cos_test_data): Likewise.
8419 (cos_tonearest_test_data): Likewise.
8420 (cos_towardzero_test_data): Likewise.
8421 (cos_downward_test_data): Likewise.
8422 (cos_upward_test_data): Likewise.
8423 (cosh_test_data): Likewise.
8424 (cosh_tonearest_test_data): Likewise.
8425 (cosh_towardzero_test_data): Likewise.
8426 (cosh_downward_test_data): Likewise.
8427 (cosh_upward_test_data): Likewise.
8428 * sysdeps/i386/fpu/libm-test-ulps: Update.
8429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8430
ffb536d0
JM
84312013-11-29 Joseph Myers <joseph@codesourcery.com>
8432
2a77a467
JM
8433 [BZ #6787]
8434 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8435 * math/w_exp10f.c (__exp10f): Likewise.
8436 * math/w_exp10l.c (__exp10l): Likewise.
8437 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8438 errno settings in existing tests.
8439
ea3bc4e8
JM
8440 [BZ #14032]
8441 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8442 precision control set to double precision.
8443 * sysdeps/i386/fpu/w_sqrt.c: New file.
8444 * math/auto-libm-test-in: Add more tests.
8445 * math/auto-libm-test-out: Update.
8446
0712c9d8
JM
8447 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8448 (sqrt_test_tonearest): New function.
8449 (sqrt_towardzero_test_data): New variable.
8450 (sqrt_test_towardzero): New function.
8451 (sqrt_downward_test_data): New variable.
8452 (sqrt_test_downward): New function.
8453 (sqrt_upward_test_data): New variable.
8454 (sqrt_test_upward): New function.
8455 (main): Call the new functions.
8456
ffb536d0
JM
8457 * math/gen-auto-libm-tests.c: New file.
8458 * math/auto-libm-test-in: Likewise.
8459 * math/auto-libm-test-out: New generated file.
8460 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8461 variables.
8462 (%beautify): Add generated representations of zero.
8463 (top level): Set $auto_input and call parse_auto_input.
8464 (beautify): Remove trailing "f" from hex float constants.
8465 (parse_args): Handle XFAIL_TEST.
8466 (convert_condition): New function.
8467 (or_value): Likewise.
8468 (or_cond_value): Likewise.
8469 (generate_testfile): Handle AUTO_TESTS_* lines.
8470 (parse_auto_input): New function.
8471 * math/libm-test.inc (XFAIL_TEST): New macro.
8472 (ERRNO_UNCHANGED): Update value.
8473 (ERRNO_EDOM): Likewise.
8474 (ERRNO_ERANGE): Likewise.
8475 (IGNORE_RESULT): Likewise.
8476 (TEST_COND_flt_32): New macro.
8477 (TEST_COND_dbl_64): Likewise.
8478 (TEST_COND_ldbl_96_intel): Likewise.
8479 (TEST_COND_ldbl_96_m68k): Likewise.
8480 (TEST_COND_ldbl_128): Likewise.
8481 (TEST_COND_ldbl_128ibm): Likewise.
8482 (TEST_COND_long32): Likewise.
8483 (TEST_COND_long64): Likewise.
8484 (TEST_COND_before_rounding): Likewise.
8485 (TEST_COND_after_rounding): Likewise.
8486 (enable_test): Handle XFAIL_TEST flag.
8487 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8488 with finite results.
8489 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8490 auto-libm-test-out.
8491
acd98a8e
AK
84922013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8493 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8494
8495 [BZ #16214]
8496 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8497 __tls_get_addr_internal instead of __tls_get_offset in order to
8498 avoid GOT pointer dependency. Make rtld export
8499 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8500 __tls_get_addr since we are a __tls_get_offset platform.
8501 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8502 GOT pointer being set up before.
8503 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8504
3c1c46a6
JM
85052013-11-28 Joseph Myers <joseph@codesourcery.com>
8506
7475aef5
JM
8507 * manual/math.texi (Errors in Math Functions): Document accuracy
8508 goals.
8509
8bca7cd8
JM
8510 [BZ #15004]
8511 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8512 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8513 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8514 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8515 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8517 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8519 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8524 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8527
91a1f3fe
JM
8528 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8529 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8530 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8531 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8532 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8533 Likewise.
8534 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8535 Likewise.
8536 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8537 Likewise.
8538 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8539 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8540 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8541 atomic-feupdateenv and flt-rounds.
8542 * sysdeps/powerpc/nofpu/Versions (libc): Add
8543 __atomic_feholdexcept, __atomic_feclearexcept,
8544 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8545 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8546 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8547 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8548 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8549 here.
8550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8551 Update.
8552
c5df7609
JM
8553 * manual/arith.texi (FP Exceptions): Document that exceptions may
8554 not be raised when matherr is used.
8555 (Math Error Reporting): Document overflow in directed rounding
8556 modes. Document that errno may not be set when finite values are
8557 returned on overflow. Document intent to set errno on underflow
8558 only for underflow to zero.
8559
3c1c46a6
JM
8560 [BZ #16271]
8561 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8562 round-to-nearest then adjust result for other rounding modes.
8563 * include/fenv.h (fegetround): Use libm_hidden_proto.
8564 * math/fegetround.c (fegetround): Use libm_hidden_def.
8565 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8566 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8567 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8568 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8569 Likewise.
8570 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8571 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8572 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8573 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8574
5a4c6d53
SP
85752013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8576
8577 [BZ #16077]
8578 * nss/Versions (libnss_files): Add
8579 _nss_files_gethostbyname3_r.
8580 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8581 New function.
8582 (HOST_DB_LOOKUP): Remove macro.
8583 (_nss_files_gethostbyname_r): Implement function without the
8584 HOST_DB_LOOKUP macro.
8585 (_nss_files_gethostbyname2_r): Likewise.
8586
897b98ba
OB
85872013-11-28 Ondřej Bílka <neleai@seznam.cz>
8588
8589 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8590
6f476861
UB
85912013-11-26 Uros Bizjak <ubizjak@gmail.com>
8592
8593 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8594 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8595 warning.
8596
bd12ab55
AZ
85972013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8598
8599 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8600 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8601 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8602 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8603 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8604 __fe_nomask_env_priv and attribute_hidden.
8605 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8606 (libc_feupdateenv_test_ppc): Likewise.
8607 (libc_feresetround_ppc): Likewise.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8609 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8610 compat_symbol macro.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8612 (__fe_nomask_env): Likewise.
8613 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8614
52bb6543
OB
86152013-11-26 Ondřej Bílka <neleai@seznam.cz>
8616
8617 * string/Makefile: Remove ifunc tests.
8618 * string/test-string.h: Define TEST_IFUNC.
8619 * string/test-bcopy-ifunc.c: Remove.
8620 * string/test-bzero-ifunc.c: Likewise.
8621 * string/test-memccpy-ifunc.c: Likewise.
8622 * string/test-memchr-ifunc.c: Likewise.
8623 * string/test-memcmp-ifunc.c: Likewise.
8624 * string/test-memcpy-ifunc.c: Likewise.
8625 * string/test-memmem-ifunc.c: Likewise.
8626 * string/test-memmove-ifunc.c: Likewise.
8627 * string/test-mempcpy-ifunc.c: Likewise.
8628 * string/test-memrchr-ifunc.c: Likewise.
8629 * string/test-memset-ifunc.c: Likewise.
8630 * string/test-rawmemchr-ifunc.c: Likewise.
8631 * string/test-stpcpy-ifunc.c: Likewise.
8632 * string/test-stpncpy-ifunc.c: Likewise.
8633 * string/test-strcasecmp-ifunc.c: Likewise.
8634 * string/test-strcasestr-ifunc.c: Likewise.
8635 * string/test-strcat-ifunc.c: Likewise.
8636 * string/test-strchr-ifunc.c: Likewise.
8637 * string/test-strchrnul-ifunc.c: Likewise.
8638 * string/test-strcmp-ifunc.c: Likewise.
8639 * string/test-strcpy-ifunc.c: Likewise.
8640 * string/test-strcspn-ifunc.c: Likewise.
8641 * string/test-strlen-ifunc.c: Likewise.
8642 * string/test-strncasecmp-ifunc.c: Likewise.
8643 * string/test-strncat-ifunc.c: Likewise.
8644 * string/test-strncmp-ifunc.c: Likewise.
8645 * string/test-strncpy-ifunc.c: Likewise.
8646 * string/test-strnlen-ifunc.c: Likewise.
8647 * string/test-strpbrk-ifunc.c: Likewise.
8648 * string/test-strrchr-ifunc.c: Likewise.
8649 * string/test-strspn-ifunc.c: Likewise.
8650 * string/test-strstr-ifunc.c: Likewise.
8651
ab260039 86522013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8653
8654 * benchtests/Makefile: Remove ifunc tests.
8655 * benchtests/bench-string.h: Define TEST_IFUNC.
8656 * benchtests/bench-bcopy-ifunc.c: Remove.
8657 * benchtests/bench-bzero-ifunc.c: Likewise.
8658 * benchtests/bench-memccpy-ifunc.c: Likewise.
8659 * benchtests/bench-memchr-ifunc.c: Likewise.
8660 * benchtests/bench-memcmp-ifunc.c: Likewise.
8661 * benchtests/bench-memcpy-ifunc.c: Likewise.
8662 * benchtests/bench-memmem-ifunc.c: Likewise.
8663 * benchtests/bench-memmove-ifunc.c: Likewise.
8664 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8665 * benchtests/bench-memrchr-ifunc.c: Likewise.
8666 * benchtests/bench-memset-ifunc.c: Likewise.
8667 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8668 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8669 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8670 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8671 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8672 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8673 * benchtests/bench-strcat-ifunc.c: Likewise.
8674 * benchtests/bench-strchr-ifunc.c: Likewise.
8675 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8676 * benchtests/bench-strcmp-ifunc.c: Likewise.
8677 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8678 * benchtests/bench-strcpy-ifunc.c: Likewise.
8679 * benchtests/bench-strcspn-ifunc.c: Likewise.
8680 * benchtests/bench-strlen-ifunc.c: Likewise.
8681 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8682 * benchtests/bench-strncat-ifunc.c: Likewise.
8683 * benchtests/bench-strncmp-ifunc.c: Likewise.
8684 * benchtests/bench-strncpy-ifunc.c: Likewise.
8685 * benchtests/bench-strnlen-ifunc.c: Likewise.
8686 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8687 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8688 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8689 * benchtests/bench-strspn-ifunc.c: Likewise.
8690 * benchtests/bench-strstr-ifunc.c: Likewise.
8691
86922013-11-26 Ondřej Bílka <neleai@seznam.cz>
8693
ab260039
OB
8694 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8695
d1d9eaf4 86962013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8697
d1d9eaf4
OB
8698 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8699 * rt/aio.h: Likewise.
8700 * sysdeps/gnu/bits/utmp.h: Likewise.
8701 * sysdeps/gnu/bits/utmpx.h: Likewise.
8702 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8703 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8704 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8705 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8706 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8707 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8708 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8709 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8710 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8711 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8712 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8713 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8714 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8716 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8717 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8718 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8719 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8720 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8721 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8722 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8723 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8724 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8725 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8726 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8728 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8729 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8730 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8731 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8732 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8733 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8734 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8735 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8736 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8737 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8738 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8739 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8740 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8741 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8742 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8743 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8744
a7624ed9
CD
87452013-11-25 Carlos O'Donell <carlos@redhat.com>
8746
8747 [BZ #16245]
8748 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8749 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8750
63cfe52b
JM
87512013-11-25 Joseph Myers <joseph@codesourcery.com>
8752
8753 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8754 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8755 Likewise.
8756
41e8926a
AZ
87572013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8758
8759 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8760 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8761 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8762 (__fesetround): Remove define.
8763 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8764 rounding and exceptions handling.
8765 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8766 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8767 (__fe_nomask_env): Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8769 __fegetround instead of fegetround.
8770 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8772
6851bd4d
RM
87732013-11-21 Roland McGrath <roland@hack.frob.com>
8774
070906ff
RM
8775 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8776 it's there.
8777
6851bd4d
RM
8778 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8779
84ae135d
MI
87802013-11-21 Meador Inge <meadori@codesourcery.com>
8781
8782 [BZ #11157]
8783 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8784 (encrypt_r): Likewise.
8785 * malloc/obstack.h (obstack_free): Likewise.
8786 * posix/unistd.h (encrypt): Likewise.
8787
daf75146
GM
87882013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8789
8790 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8791 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8792 DL_CALL_DT_FINI() that call the functions directly.
8793 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8794 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8795 * elf/dl-fini.c: Likewise.
8796
10ad46bc
OB
87972013-11-20 Ondřej Bílka <neleai@seznam.cz>
8798
8799 * malloc/hooks.c (memalign_check): Add alignment rounding.
8800 * malloc/malloc.c (_mid_memalign): New function.
8801 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8802 Implement by calling _mid_memalign.
8803 * manual/probes.texi (Memory Allocation Probes): Remove
8804 memory_valloc_retry and memory_pvalloc_retry.
8805
f3fd2628
SP
88062013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8807
4712799f
SP
8808 * locale/programs/locarchive.c (open_archive): Add const
8809 qualifier to ARCHIVEFNAME and copy default fname to
8810 DEFAULT_FNAME.
8811
0417b20f
SP
8812 [BZ #15601]
8813 * libio/tst-widetext.input: Rename Oriya to Odia.
8814 * locale/iso-639.def: Likewise.
8815
f3fd2628
SP
8816 * manual/probes.texi (Mathematical Function Probes): Add
8817 documentation for sin, cos, asin and acos probes.
8818 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8819 (__sin32): Add slowasin probe.
8820 (__cos32): Add slowacos probe.
8821 (__mpsin): Add slowsin probe.
8822 (__mpcos): Add slowcos probe.
8823
73c1ce4f
JM
88242013-11-19 Joseph Myers <joseph@codesourcery.com>
8825
8826 [BZ #15483]
8827 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8828 thread-local __sim_exceptions_thread and global
8829 __sim_exceptions_global.
8830 (__sim_disabled_exceptions): Change to thread-local
8831 __sim_disabled_exceptions_thread and global
8832 __sim_disabled_exceptions_global.
8833 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8834 and global __sim_round_mode_global.
8835 (__simulate_exceptions): Use thread-local floating-point state and
8836 set global state from it as needed.
8837 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8838 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8839 __sim_round_mode_thread.
8840 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8841 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8842 and global __sim_exceptions_global.
8843 (__sim_disabled_exceptions): Change to thread-local
8844 __sim_disabled_exceptions_thread and global
8845 __sim_disabled_exceptions_global.
8846 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8847 and global __sim_round_mode_global.
8848 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8849 (SIM_SET_GLOBAL): Likewise.
8850 * sysdeps/powerpc/soft-fp/sfp-machine.h
8851 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8852 __sim_round_mode_thread.
8853 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8854 __sim_disabled_exceptions_thread.
8855 (__sim_exceptions): Change to __sim_exceptions_thread.
8856 (__sim_disabled_exceptions): Change to
8857 __sim_disabled_exceptions_thread.
8858 (__sim_round_mode): Change to __sim_round_mode_thread.
8859 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8860 thread-local floating-point state and set global state from it as
8861 needed.
8862 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8863 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8864 (__sim_disabled_exceptions): Remove extern declaration.
8865 (feenableexcept): Use thread-local floating-point state and set
8866 global state from it as needed.
8867 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8868 extern declaration.
8869 (__sim_disabled_exceptions): Likewise.
8870 (__sim_round_mode): Likewise.
8871 (__fegetenv): Use thread-local floating-point state.
8872 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8873 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8874 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8875 floating-point state and set global state from it as needed.
8876 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8877 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8878 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8879 Likewise.
8880 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8881 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8882 Likewise.
8883 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8884 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8885 Use __sim_round_mode_thread.
8886 * math/test-fenv-tls.c: New file.
8887 * math/Makefile (tests): Add test-fenv-tls.
8888 ($(objpfx)test-fenv-tls): Depend on
8889 $(common-objpfx)nptl/libpthread.so.
8890
b5449b12
AS
88912013-11-19 Andreas Schwab <schwab@suse.de>
8892
8893 * locale/programs/locale.c (show_info): Decode wordarray elements.
8894 * locale/categories.def (LC_MONETARY): Add element for
8895 _NL_MONETARY_CRNCYSTR.
8896 * locale/C-monetary.c (conversion_rate): New variable.
8897 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8898 element.
8899
e186536b
CM
89002013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8901
8902 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8903 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8904
5c349950
PP
89052013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8906
8907 * elf/Makefile (tst-auxv): New test.
8908 * elf/tst-auxv.c: New
8909 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8910
699df45b
JM
89112013-11-18 Joseph Myers <joseph@codesourcery.com>
8912
8913 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8914 (hidden_proto): Caller changed.
8915 (hidden_tls_proto): New macro.
8916 (libc_hidden_tls_proto): Likewise.
8917 (rtld_hidden_tls_proto): Likewise.
8918 (libm_hidden_tls_proto): Likewise.
8919 (libresolv_hidden_tls_proto): Likewise.
8920 (librt_hidden_tls_proto): Likewise.
8921 (libdl_hidden_tls_proto): Likewise.
8922 (libnss_files_hidden_tls_proto): Likewise.
8923 (libnsl_hidden_tls_proto): Likewise.
8924 (libnss_nisplus_hidden_tls_proto): Likewise.
8925 (libutil_hidden_tls_proto): Likewise.
8926
b7589107
OB
89272013-11-18 Ondřej Bílka <neleai@seznam.cz>
8928
8929 [BZ #10253]
8930 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8931 (decompose_rpath): Defer expansion to fillin_rpath.
8932 (_dl_init_paths): Pass linkmap to fillin_rpath.
8933
250c23bd
RS
89342013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8935
8936 * benchtests/Makefile: Add strsep.
8937 * benchtests/bench-strsep.c: New file: strsep benchtest.
8938 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8939
a7931fcf
AS
89402013-11-18 Andreas Schwab <schwab@suse.de>
8941
8942 * locale/programs/locale.c (show_info) [case byte]: Check for
8943 '\377' instead of '\177'.
8944 * locale/C-monetary.c (not_available): Always use "\377".
8945 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8946 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8947 detect unavailable sign_posn locale elements.
8948 * locale/localeconv.c (__localeconv): For grouping and
8949 mon_grouping handle "\177" and "\377" like no grouping.
8950 (INT_ELEM): New macro. Use it to set all numeric members.
8951 * locale/programs/ld-monetary.c (monetary_read)
8952 <tok_mon_grouping>: Normalize single -1 to the empty string.
8953 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8954 Likewise.
8955
728dab0e
OB
89562013-11-07 Ondřej Bílka <neleai@seznam.cz>
8957
8958 [BZ #16055]
8959 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8960 when we match (nil).
8961 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8962
66294491
JM
89632013-11-16 Joseph Myers <joseph@codesourcery.com>
8964
ce665817
JM
8965 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8966 (NO_TEST_INLINE): Update value.
8967 (ERRNO_UNCHANGED): Likewise.
8968 (ERRNO_EDOM): Likewise.
8969 (ERRNO_ERANGE): Likewise.
8970 (IGNORE_RESULT): Likewise.
8971 (check_float_internal): Check signs of NaN results if
8972 TEST_NAN_SIGN used.
8973 (check_complex): Pass TEST_NAN_SIGN flag through to second
8974 check_float_internal call.
8975 (copysign_test_data): Add tests with quiet NaNs as second
8976 argument. Use TEST_NAN_SIGN.
8977 (fabs_test_data): Add test of negative quiet NaN argument. Use
8978 TEST_NAN_SIGN.
8979 (signbit_test_data): Add tests of quiet NaN argument.
8980 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8981
ee1466a9
JM
8982 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8983 $ignore_result.
8984 (parse_args): Handle function results specified as IGNORE.
8985 * math/libm-test.inc (IGNORE_RESULT): New macro.
8986 (check_float_internal): Do not check numerical result if flag
8987 IGNORE_RESULT set.
8988 (check_complex): Pass through IGNORE_RESULT to second
8989 check_float_internal call.
8990 (check_int): Do not check numerical result if flag IGNORE_RESULT
8991 set.
8992 (check_long): Likewise.
8993 (check_bool): Likewise.
8994 (check_longlong): Likewise.
8995 (lrint_test_data): Add tests of infinite and NaN arguments.
8996 (lrint_tonearest_test_data): Likewise.
8997 (lrint_towardzero_test_data): Likewise.
8998 (lrint_downward_test_data): Likewise.
8999 (lrint_upward_test_data): Likewise.
9000 (llrint_test_data): Likewise.
9001 (llrint_tonearest_test_data): Likewise.
9002 (llrint_towardzero_test_data): Likewise.
9003 (llrint_downward_test_data): Likewise.
9004 (llrint_upward_test_data): Likewise.
9005 (lround_test_data): Likewise.
9006 (llround_test_data): Likewise.
9007
14407b7e
JM
9008 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9009 (ERRNO_UNCHANGED): Update value.
9010 (ERRNO_EDOM): Likewise.
9011 (ERRNO_ERANGE): Likewise.
9012 (NO_TEST_INLINE_FLOAT): New macro.
9013 (NO_TEST_INLINE_DOUBLE): Likewise.
9014 (enable_test): New function.
9015 (RUN_TEST_f_f): Check enable_test before running test.
9016 (RUN_TEST_2_f): Likewise.
9017 (RUN_TEST_fff_f): Likewise.
9018 (RUN_TEST_c_f): Likewise.
9019 (RUN_TEST_f_f1): Likewise.
9020 (RUN_TEST_fF_f1): Likewise.
9021 (RUN_TEST_fI_f1): Likewise.
9022 (RUN_TEST_ffI_f1): Likewise.
9023 (RUN_TEST_c_c): Likewise.
9024 (RUN_TEST_cc_c): Likewise.
9025 (RUN_TEST_f_i): Likewise.
9026 (RUN_TEST_f_i_tg): Likewise.
9027 (RUN_TEST_ff_i_tg): Likewise.
9028 (RUN_TEST_f_b): Likewise.
9029 (RUN_TEST_f_b_tg): Likewise.
9030 (RUN_TEST_f_l): Likewise.
9031 (RUN_TEST_f_L): Likewise.
9032 (RUN_TEST_fFF_11): Likewise.
9033 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9034 conditionals.
9035 (cosh_test_data): Likewise.
9036 (exp_test_data): Likewise.
9037 (expm1_test_data): Likewise.
9038 (hypot_test_data): Likewise.
9039 (pow_test_data): Likewise.
9040 (sinh_test_data): Likewise.
9041 (tanh_test_data): Likewise.
9042 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9043 flags argument.
9044
ca07f197
JM
9045 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9046 tests with quiet NaN input and output.
9047 (acosh_test_data): Likewise.
9048 (asin_test_data): Likewise.
9049 (asinh_test_data): Likewise.
9050 (atan_test_data): Likewise.
9051 (atanh_test_data): Likewise.
9052 (atan2_test_data): Likewise.
9053 (cbrt_test_data): Likewise.
9054 (cos_test_data): Likewise.
9055 (cosh_test_data): Likewise.
9056 (erf_test_data): Likewise.
9057 (erfc_test_data): Likewise.
9058 (exp_test_data): Likewise.
9059 (exp10_test_data): Likewise.
9060 (exp2_test_data): Likewise.
9061 (expm1_test_data): Likewise.
9062 (hypot_test_data): Likewise.
9063 (j0_test_data): Likewise.
9064 (j1_test_data): Likewise.
9065 (jn_test_data): Likewise.
9066 (lgamma_test_data): Likewise.
9067 (log_test_data): Likewise.
9068 (log10_test_data): Likewise.
9069 (log1p_test_data): Likewise.
9070 (log2_test_data): Likewise.
9071 (pow_test_data): Likewise.
9072 (scalb_test_data): Likewise.
9073 (sin_test_data): Likewise.
9074 (sincos_test_data): Likewise.
9075 (sinh_test_data): Likewise.
9076 (tan_test_data): Likewise.
9077 (tanh_test_data): Likewise.
9078 (tgamma_test_data): Likewise.
9079 (y0_test_data): Likewise.
9080 (y1_test_data): Likewise.
9081 (yn_test_data): Likewise.
9082
66294491
JM
9083 [BZ #16167]
9084 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9085 argument being NaN and avoid computations with second argument in
9086 that case.
9087 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9088 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9089 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9090
1820b143
CL
90912013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9092
9093 * locale/iso-639.def: Add Chitwani Tharu (the).
9094
714bd261
AS
90952013-11-14 Andreas Schwab <schwab@suse.de>
9096
9097 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9098 word instead of empty string.
9099
7ab44563
AZ
91002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9101
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9103 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9105 (__fe_nomask_env): Likewise.
9106
e8470ea2
SE
91072013-11-13 Steve Ellcey <sellcey@mips.com>
9108
9109 * benchtests/bench-timing.h: Include time.h.
9110
17c1d9f0
L
91112013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9112
9113 [BZ #15997]
9114 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9115 to 3.4.0 for x32.
9116 * sysdeps/unix/sysv/linux/configure: Regenerated.
9117
9310c284
JM
91182013-11-13 Joseph Myers <joseph@codesourcery.com>
9119
9120 [BZ #16151]
9121 * stdlib/strtod_l.c (round_and_return): Do not consider
9122 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9123 exponent one less than half the least subnormal exponent.
9124 * stdlib/test-strtod-round-data: Add more tests.
9125 * stdlib/tst-strtod-round.c (tests): Regenerated.
9126
7a2ad8cf
AZ
91272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9128
9129 [BZ #14143]
9130 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9131 (__fe_mask_env): Likewise.
9132 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9133 libm_hidden_proto and add function prototype.
9134 (__fe_mask_env): Add function prototype.
9135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9136 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9138 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9140 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9141
50727aa7
MS
91422013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9143
b2f386c1 9144 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
9145 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9146
a615be46
MS
91472013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9148
9149 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9150 of htab_find_slot().
9151
7ddace62
DM
91522013-11-11 David S. Miller <davem@davemloft.net>
9153
9154 [BZ #16150]
9155 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9156 symbol in the non-vis3 case in static builds.
9157 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9158 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9159 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9160 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9161
9182aa67
JK
91622013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9163
9164 [BZ #387]
9165 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9166 it is empty.
9167
450a2e2d
AZ
91682013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9169
b2f386c1
SP
9170 * benchtests/Makefile: Add bench-strtod.
9171 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9172
8ec3f656
AS
91732013-11-11 Andreas Schwab <schwab@suse.de>
9174
9175 [BZ #16153]
9176 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9177 terminating NUL in key length.
9178
76a9b998
AZ
91792013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9180
9181 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9182 Add artificial ODP entry for vDSO symbol for PPC64.
9183 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9184 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9185
e4368156
OB
91862013-11-07 Ondřej Bílka <neleai@seznam.cz>
9187
9188 [BZ #15374]
9189 * nss/getent.c (services_keys): Recognize services starting with digit.
9190
8d6bb57c
DM
91912013-11-06 David S. Miller <davem@davemloft.net>
9192
9193 [BZ #15985]
9194 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9195 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9196
e256c421
WN
91972013-11-06 Will Newton <will.newton@linaro.org>
9198
9199 * manual/memory.texi (Malloc Examples): Remove register
9200 keyword from examples.
9201
f6e12daa 92022013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9203
f6e12daa 9204 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9205
9d880655
AS
92062013-11-04 Joseph Myers <joseph@codesourcery.com>
9207
fd2f9486 9208 [BZ #6981]
9d880655
AS
9209 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9210 depending on [__GCC_IEC_559 > 0].
9211 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9212 depending on [__GCC_IEC_559_COMPLEX > 0].
9213
ae129d3c
CL
92142013-11-03 Chris Leonard <cjl@sugarlabs.org>
9215
9216 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9217 to iso-639.def.
9218
4a15c2a4 92192013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9220
9221 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9222
8b35e35d
OB
92232013-11-01 Ondřej Bílka <neleai@seznam.cz>
9224
9225 [BZ #16112]
9226 * malloc/malloc (malloc_info): Do not handle first bin as
9227 special case.
9228
1d70fd6c
CL
92292013-11-01 Chris Leonard <cjl@sugarlabs.org>
9230
9231 * locale/iso-639.def: Add Central Nahuatl (nhn).
9232
8c5c2600
BH
92332013-11-01 Bruno Haible <bruno@clisp.org>
9234
9235 [BZ #7003]
9236 * manual/math.texi (BSD Random): Specify range upper bound as
9237 in POSIX.
9238
da5579c2
CL
92392013-10-31 Chris Leonard <cjl@sugarlabs.org>
9240
9241 * locale/iso-639.def: Add Meadow Mari (mhr).
9242
5d30d853
OB
92432013-10-31 Ondřej Bílka <neleai@seznam.cz>
9244
9245 [BZ #14752], [BZ #15763]
9246 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9247 Validate name.
9248 * rt/tst_shm.c: Add test for escaping directory.
9249
a4966c61
AS
92502013-10-31 Andreas Schwab <schwab@suse.de>
9251
8a43e768 9252 [BZ #15917]
a4966c61
AS
9253 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9254 followed by 'x' as part of digit sequence.
9255 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9256
28d708c4
MAP
92572013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9258
9259 [BZ #16037]
9260 * configure.ac: allow GNU Make 4.0 and greater.
9261 * configure: Regenerated.
9262
a56ee40b
WN
92632013-10-30 Will Newton <will.newton@linaro.org>
9264
9265 [BZ #16038]
9266 * malloc/hooks.c (memalign_check): Limit alignment to the
9267 maximum representable power of two.
9268 * malloc/malloc.c (__libc_memalign): Likewise.
9269 * malloc/tst-memalign.c (do_test): Add test for very
9270 large alignment values.
9271 * malloc/tst-posix_memalign.c (do_test): Likewise.
9272
c6e4925d
OB
92732013-10-30 Ondřej Bílka <neleai@seznam.cz>
9274
9275 [BZ #11087]
9276 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9277 (munmap_chunk): Likewise.
9278 (mremap_chunk): Likewise.
9279
92802013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 9281
8a43e768 9282 [BZ #15799]
bbea82f7
OB
9283 * stdlib/div.c (div): Remove obsolete code.
9284 * stdlib/ldiv.c (ldiv): Likewise.
9285 * stdlib/lldiv.c (lldiv): Likewise.
9286
977f4b31
SP
92872013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9288
9289 [BZ #16071]
9290 * nss/nss_files/files-XXX.c (get_contents_ret): New
9291 enumerator.
9292 (get_contents): New function.
9293 (internal_getent): Use it. Expand size of LINEBUFLEN.
9294
cb8a6dbd
MF
92952013-10-30 Mike Frysinger <vapier@gentoo.org>
9296
9297 * configure.in: Moved to ...
9298 * configure.ac: ... here. Change reference to configure.in
9299 to configure.ac.
9300 * sysdeps/arm/preconfigure.ac: ... here.
9301 configure.in to configure.ac.
9302 * sysdeps/gnu/configure.in: Moved to ...
9303 * sysdeps/gnu/configure.ac: ... here.
9304 * sysdeps/i386/configure.in: Moved to ...
9305 * sysdeps/i386/configure.ac: ... here.
9306 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9307 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9308 * sysdeps/mach/configure.in: Moved to ...
9309 * sysdeps/mach/configure.ac: ... here.
9310 * sysdeps/mach/hurd/configure.in: Moved to ...
9311 * sysdeps/mach/hurd/configure.ac: ... here.
9312 * sysdeps/powerpc/configure.in: Moved to ...
9313 * sysdeps/powerpc/configure.ac: ... here.
9314 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9315 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9316 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9317 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9318 * sysdeps/s390/s390-32/configure.in: Moved to ...
9319 * sysdeps/s390/s390-32/configure.ac: ... here.
9320 * sysdeps/s390/s390-64/configure.in: Moved to ...
9321 * sysdeps/s390/s390-64/configure.ac: ... here.
9322 * sysdeps/sh/configure.in: Moved to ...
9323 * sysdeps/sh/configure.ac: ... here.
9324 * sysdeps/sparc/configure.in: Moved to ...
9325 * sysdeps/sparc/configure.ac: ... here.
9326 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9327 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9328 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9329 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9330 * sysdeps/x86_64/configure.in: Moved to ...
9331 * sysdeps/x86_64/configure.ac: ... here.
9332 * sysdeps/x86_64/preconfigure.in: Moved to ...
9333 * sysdeps/x86_64/preconfigure.ac: ... here.
9334 * aclocal.m4: Change reference to configure.in to configure.ac.
9335 * config.h.in: Likewise.
9336 * manual/install.texi: Likewise.
9337 * manual/maint.texi: Likewise.
9338 * Makefile: Likewise.
9339 * malloc/Makefile: Likewise.
9340 * nscd/Makefile: Likewise.
9341 * Makeconfig: Change reference to configure.in and
9342 preconfigure.in to configure.ac and preconfigure.ac
9343 respectively.
9344 * INSTALL: Regenerated.
9345 * configure: Likewise.
9346 * sysdeps/gnu/configure: Likewise.
9347 * sysdeps/i386/configure: Likewise.
9348 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9349 * sysdeps/mach/configure: Likewise.
9350 * sysdeps/mach/hurd/configure: Likewise.
9351 * sysdeps/powerpc/configure: Likewise.
9352 * sysdeps/powerpc/powerpc32/configure: Likewise.
9353 * sysdeps/powerpc/powerpc64/configure: Likewise.
9354 * sysdeps/s390/s390-32/configure: Likewise.
9355 * sysdeps/s390/s390-64/configure: Likewise.
9356 * sysdeps/sh/configure: Likewise.
9357 * sysdeps/sparc/configure: Likewise.
9358 * sysdeps/unix/sysv/linux/configure: Likewise.
9359 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9360 * sysdeps/x86_64/configure: Likewise.
9361 * sysdeps/x86_64/preconfigure: Likewise.
9362
36a4953a
AS
93632013-10-29 Andreas Schwab <schwab@suse.de>
9364
9365 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9366
c79a1204
SP
93672013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9368
dfa1b402
SP
9369 * benchtests/pow-inputs: Add new inputs.
9370
54f73d9c
SP
9371 * benchtests/exp-inputs: Add new inputs.
9372
c79a1204
SP
9373 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9374 conditional check for return value.
9375 (__cos32): Likewise.
9376
67beb545 93772013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
9378
9379 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9380 to provide a boost for large inputs with word alignment.
9381 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9382 implementation based on optimized PPC64 strcpy.
9383 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9384 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9385 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9386 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9387
151659f6
OB
93882013-10-25 Ondřej Bílka <neleai@seznam.cz>
9389
482a077e 9390 [BZ #2801]
151659f6
OB
9391 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9392
10b0f26b
OB
93932013-10-25 Ondřej Bílka <neleai@seznam.cz>
9394
9395 [BZ #14876]
9396 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9397 * time/tst-strptime.c (day_tests): Add testcase.
9398
ca42d35e
OB
93992013-10-25 Ondřej Bílka <neleai@seznam.cz>
9400
482a077e 9401 [BZ #14029]
ca42d35e
OB
9402 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9403
52e6d801
FB
94042013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9405
9406 [BZ #16074]
9407 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9408 MAP_FAILED on error.
9409
7cbcdb36
SP
94102013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9411
9412 [BZ #16072]
9413 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9414 heap for large requests.
9415
894f3f10
AM
94162013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9417
9418 [BZ #9954]
9419 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9420 result if the result has no associated interface.
9421 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9422 interface for all 127.X.Y.Z addresses.
9423
b85545a6
CL
94242013-10-24 Chris Leonard <cjl@sugarlabs.org>
9425
9426 * locale/iso-639.def: Add Ligurian (lij)
9427
d1f23d46
OB
94282013-10-21 Ondřej Bílka <neleai@seznam.cz>
9429
9430 [BZ #15825]
9431 * sunrpc/rpc_main.c: Document rpcgen -5.
9432
4db5b08f
MS
94332013-10-19 Michael Stahl <mstahl@redhat.com>
9434
9435 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9436
a471e96a
OB
94372013-10-19 Ondřej Bílka <neleai@seznam.cz>
9438
d1f23d46 9439 [BZ #10278]
a471e96a
OB
9440 * posix/glob.c: Match only directories when trailing slash is present.
9441 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9442 (main): Add testcase.
9443
45c30c61
OB
94442013-10-19 Ondřej Bílka <neleai@seznam.cz>
9445
9446 [BZ #15670]
9447 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9448
484c12fb
CD
94492013-10-18 Carlos O'Donell <carlos@redhat.com>
9450
3d7dc513
CD
9451 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9452 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9453 AUTH_DES and cindex for FIPS 140-2.
9454 (DES Encryption): Add cindex FIPS 46-3.
9455
484c12fb
CD
9456 * locale/locarchive.h (struct locarhandle): Add fname.
9457 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9458 if an optional argument was specified to --list-archive,
9459 otherwise NULL.
9460 * locale/programs/locarchive.c (show_archive_content): Take new
9461 argument fname and pass it via ah.fname to open_archive.
9462 * locale/programs/localedef.h: Update decl.
9463 (open_archive): If AH->fname is non-null, open that file
9464 rather than the default file name, and don't ignore ENOENT.
9465 (create_archive): Set AH.fname to NULL.
9466 (delete_locales_from_archive): Likewise.
9467 (add_locales_to_archive): Likewise.
9468 * locale/programs/locfile.c (write_all_categories): Likewise.
9469
3c8325fb
JM
94702013-10-18 Joseph Myers <joseph@codesourcery.com>
9471 Aldy Hernandez <aldyh@redhat.com>
9472
9473 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9474 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9475 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9476 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9477 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9478 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9479 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9480 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9481 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9482 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9483 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9484 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9485 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9486 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9487 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9488 Likewise.
9489 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9490 Likewise.
9491 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9492 Likewise.
9493 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9494 Likewise.
9495 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9496 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9497 Likewise.
9498 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9499 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9500 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9501 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9502 Likewise.
9503 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9504 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9505 * sysdeps/powerpc/preconfigure: Likewise.
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9507 Likewise.
9508 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9509 Replace contents of file by #include of <fenv_libc.h>.
9510 * sysdeps/powerpc/soft-fp/sfp-machine.h
9511 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9512 and <sys/prctl.h>.
9513 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9514 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9515 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9516 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9517 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9518 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9520 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9521 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9522 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9523 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9524 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9526 Allow copysignl PLT reference to be missing.
9527
5abe0682
RS
95282013-10-18 Richard Sandiford <richard@codesourcery.com>
9529 Joseph Myers <joseph@codesourcery.com
9530
9531 [BZ #15948]
9532 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9533 single character.
9534 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9535
c7738d08
SP
95362013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9537
9538 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9539 * elf/tst-tls1.c: Likewise.
9540 * elf/tst-tls10.h: Likewise.
9541 * elf/tst-tls14.c: Likewise.
9542 * elf/tst-tls2.c: Likewise.
9543 * elf/tst-tls3.c: Likewise.
9544 * elf/tst-tls4.c: Likewise.
9545 * elf/tst-tls5.c: Likewise.
9546 * elf/tst-tls6.c: Likewise.
9547 * elf/tst-tls7.c: Likewise.
9548 * elf/tst-tls8.c: Likewise.
9549 * elf/tst-tls9.c: Likewise.
9550 * elf/tst-tlsmod1.c: Likewise.
9551 * elf/tst-tlsmod13.c: Likewise.
9552 * elf/tst-tlsmod13a.c: Likewise.
9553 * elf/tst-tlsmod14a.c: Likewise.
9554 * elf/tst-tlsmod16a.c: Likewise.
9555 * elf/tst-tlsmod16b.c: Likewise.
9556 * elf/tst-tlsmod2.c: Likewise.
9557 * elf/tst-tlsmod3.c: Likewise.
9558 * elf/tst-tlsmod4.c: Likewise.
9559 * elf/tst-tlsmod5.c: Likewise.
9560 * elf/tst-tlsmod6.c: Likewise.
9561
0bfcf2c7
OB
95622013-10-18 Ondřej Bílka <neleai@seznam.cz>
9563
9564 [BZ #12486]
9565 * malloc/malloc.c: remove checks for statistics.
9566
264aad1e
OB
95672013-10-17 Ondřej Bílka <neleai@seznam.cz>
9568
9569 [BZ #15277]
9570 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9571 * inet/tst-network.c: Add testcase.
9572
b957ced8
AS
95732013-10-17 Andreas Schwab <schwab@suse.de>
9574
9575 [BZ #15218]
9576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9577 to determine canonical name.
9578
c5d5d574
OB
95792013-10-17 Ondřej Bílka <neleai@seznam.cz>
9580
9581 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9582 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9584 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9599 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9600 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9601 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9603 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9605 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9606 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9611 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9613 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9614 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9618 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9619 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9620 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9624 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9625 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9626 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9627 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9628 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9629 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9630 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9631 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9632 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9633 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9634 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9635 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9636 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9638 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9639
e5c2c2d0
JM
96402013-10-17 Joseph Myers <joseph@codesourcery.com>
9641
9642 [BZ #16041]
9643 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9644 make result into a quiet NaN.
9645
51ca9e29
JM
96462013-10-16 Joseph Myers <joseph@codesourcery.com>
9647
9648 * soft-fp/adddf3.c: Fix horizontal whitespace.
9649 * soft-fp/addsf3.c: Likewise.
9650 * soft-fp/addtf3.c: Likewise.
9651 * soft-fp/divdf3.c: Likewise.
9652 * soft-fp/divsf3.c: Likewise.
9653 * soft-fp/divtf3.c: Likewise.
9654 * soft-fp/double.h: Likewise.
9655 * soft-fp/eqdf2.c: Likewise.
9656 * soft-fp/eqsf2.c: Likewise.
9657 * soft-fp/eqtf2.c: Likewise.
9658 * soft-fp/extenddftf2.c: Likewise.
9659 * soft-fp/extended.h: Likewise.
9660 * soft-fp/extendsfdf2.c: Likewise.
9661 * soft-fp/extendsftf2.c: Likewise.
9662 * soft-fp/extendxftf2.c: Likewise.
9663 * soft-fp/fixdfdi.c: Likewise.
9664 * soft-fp/fixdfsi.c: Likewise.
9665 * soft-fp/fixdfti.c: Likewise.
9666 * soft-fp/fixsfdi.c: Likewise.
9667 * soft-fp/fixsfsi.c: Likewise.
9668 * soft-fp/fixsfti.c: Likewise.
9669 * soft-fp/fixtfdi.c: Likewise.
9670 * soft-fp/fixtfsi.c: Likewise.
9671 * soft-fp/fixtfti.c: Likewise.
9672 * soft-fp/fixunsdfdi.c: Likewise.
9673 * soft-fp/fixunsdfsi.c: Likewise.
9674 * soft-fp/fixunsdfti.c: Likewise.
9675 * soft-fp/fixunssfdi.c: Likewise.
9676 * soft-fp/fixunssfsi.c: Likewise.
9677 * soft-fp/fixunssfti.c: Likewise.
9678 * soft-fp/fixunstfdi.c: Likewise.
9679 * soft-fp/fixunstfsi.c: Likewise.
9680 * soft-fp/fixunstfti.c: Likewise.
9681 * soft-fp/floatdidf.c: Likewise.
9682 * soft-fp/floatdisf.c: Likewise.
9683 * soft-fp/floatditf.c: Likewise.
9684 * soft-fp/floatsidf.c: Likewise.
9685 * soft-fp/floatsisf.c: Likewise.
9686 * soft-fp/floatsitf.c: Likewise.
9687 * soft-fp/floattidf.c: Likewise.
9688 * soft-fp/floattisf.c: Likewise.
9689 * soft-fp/floattitf.c: Likewise.
9690 * soft-fp/floatundidf.c: Likewise.
9691 * soft-fp/floatundisf.c: Likewise.
9692 * soft-fp/floatunditf.c: Likewise.
9693 * soft-fp/floatunsidf.c: Likewise.
9694 * soft-fp/floatunsisf.c: Likewise.
9695 * soft-fp/floatunsitf.c: Likewise.
9696 * soft-fp/floatuntidf.c: Likewise.
9697 * soft-fp/floatuntisf.c: Likewise.
9698 * soft-fp/floatuntitf.c: Likewise.
9699 * soft-fp/fmadf4.c: Likewise.
9700 * soft-fp/fmasf4.c: Likewise.
9701 * soft-fp/fmatf4.c: Likewise.
9702 * soft-fp/gedf2.c: Likewise.
9703 * soft-fp/gesf2.c: Likewise.
9704 * soft-fp/getf2.c: Likewise.
9705 * soft-fp/ledf2.c: Likewise.
9706 * soft-fp/lesf2.c: Likewise.
9707 * soft-fp/letf2.c: Likewise.
9708 * soft-fp/muldf3.c: Likewise.
9709 * soft-fp/mulsf3.c: Likewise.
9710 * soft-fp/multf3.c: Likewise.
9711 * soft-fp/negdf2.c: Likewise.
9712 * soft-fp/negsf2.c: Likewise.
9713 * soft-fp/negtf2.c: Likewise.
9714 * soft-fp/op-1.h: Likewise.
9715 * soft-fp/op-2.h: Likewise.
9716 * soft-fp/op-4.h: Likewise.
9717 * soft-fp/op-8.h: Likewise.
9718 * soft-fp/op-common.h: Likewise.
9719 * soft-fp/quad.h: Likewise.
9720 * soft-fp/single.h: Likewise.
9721 * soft-fp/soft-fp.h: Likewise.
9722 * soft-fp/sqrtdf2.c: Likewise.
9723 * soft-fp/sqrtsf2.c: Likewise.
9724 * soft-fp/sqrttf2.c: Likewise.
9725 * soft-fp/subdf3.c: Likewise.
9726 * soft-fp/subsf3.c: Likewise.
9727 * soft-fp/subtf3.c: Likewise.
9728 * soft-fp/truncdfsf2.c: Likewise.
9729 * soft-fp/trunctfdf2.c: Likewise.
9730 * soft-fp/trunctfsf2.c: Likewise.
9731 * soft-fp/trunctfxf2.c: Likewise.
9732 * soft-fp/unorddf2.c: Likewise.
9733 * soft-fp/unordsf2.c: Likewise.
9734 * soft-fp/unordtf2.c: Likewise.
9735
9ebb0332
JM
97362013-10-15 Joseph Myers <joseph@codesourcery.com>
9737
9738 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9739 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9740
4b1a6d8b
OB
97412013-10-15 Ondřej Bílka <neleai@seznam.cz>
9742
9743 * elf/dl-libc.c: Clear initfini list after freeing.
9744
1e145589
JM
97452013-10-14 Joseph Myers <joseph@codesourcery.com>
9746
9747 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9748 * soft-fp/addsf3.c: Likewise.
9749 * soft-fp/addtf3.c: Likewise.
9750 * soft-fp/divdf3.c: Likewise.
9751 * soft-fp/divsf3.c: Likewise.
9752 * soft-fp/divtf3.c: Likewise.
9753 * soft-fp/double.h: Likewise.
9754 * soft-fp/eqdf2.c: Likewise.
9755 * soft-fp/eqsf2.c: Likewise.
9756 * soft-fp/eqtf2.c: Likewise.
9757 * soft-fp/extenddftf2.c: Likewise.
9758 * soft-fp/extended.h: Likewise.
9759 * soft-fp/extendsfdf2.c: Likewise.
9760 * soft-fp/extendsftf2.c: Likewise.
9761 * soft-fp/extendxftf2.c: Likewise.
9762 * soft-fp/fixdfdi.c: Likewise.
9763 * soft-fp/fixdfsi.c: Likewise.
9764 * soft-fp/fixdfti.c: Likewise.
9765 * soft-fp/fixsfdi.c: Likewise.
9766 * soft-fp/fixsfsi.c: Likewise.
9767 * soft-fp/fixsfti.c: Likewise.
9768 * soft-fp/fixtfdi.c: Likewise.
9769 * soft-fp/fixtfsi.c: Likewise.
9770 * soft-fp/fixtfti.c: Likewise.
9771 * soft-fp/fixunsdfdi.c: Likewise.
9772 * soft-fp/fixunsdfsi.c: Likewise.
9773 * soft-fp/fixunsdfti.c: Likewise.
9774 * soft-fp/fixunssfdi.c: Likewise.
9775 * soft-fp/fixunssfsi.c: Likewise.
9776 * soft-fp/fixunssfti.c: Likewise.
9777 * soft-fp/fixunstfdi.c: Likewise.
9778 * soft-fp/fixunstfsi.c: Likewise.
9779 * soft-fp/fixunstfti.c: Likewise.
9780 * soft-fp/floatdidf.c: Likewise.
9781 * soft-fp/floatdisf.c: Likewise.
9782 * soft-fp/floatditf.c: Likewise.
9783 * soft-fp/floatsidf.c: Likewise.
9784 * soft-fp/floatsisf.c: Likewise.
9785 * soft-fp/floatsitf.c: Likewise.
9786 * soft-fp/floattidf.c: Likewise.
9787 * soft-fp/floattisf.c: Likewise.
9788 * soft-fp/floattitf.c: Likewise.
9789 * soft-fp/floatundidf.c: Likewise.
9790 * soft-fp/floatundisf.c: Likewise.
9791 * soft-fp/floatunsidf.c: Likewise.
9792 * soft-fp/floatunsisf.c: Likewise.
9793 * soft-fp/floatuntidf.c: Likewise.
9794 * soft-fp/floatuntisf.c: Likewise.
9795 * soft-fp/floatuntitf.c: Likewise.
9796 * soft-fp/fmadf4.c: Likewise.
9797 * soft-fp/fmasf4.c: Likewise.
9798 * soft-fp/fmatf4.c: Likewise.
9799 * soft-fp/gedf2.c: Likewise.
9800 * soft-fp/gesf2.c: Likewise.
9801 * soft-fp/getf2.c: Likewise.
9802 * soft-fp/ledf2.c: Likewise.
9803 * soft-fp/lesf2.c: Likewise.
9804 * soft-fp/letf2.c: Likewise.
9805 * soft-fp/muldf3.c: Likewise.
9806 * soft-fp/mulsf3.c: Likewise.
9807 * soft-fp/multf3.c: Likewise.
9808 * soft-fp/negdf2.c: Likewise.
9809 * soft-fp/negsf2.c: Likewise.
9810 * soft-fp/negtf2.c: Likewise.
9811 * soft-fp/op-1.h: Likewise.
9812 * soft-fp/op-2.h: Likewise.
9813 * soft-fp/op-4.h: Likewise.
9814 * soft-fp/op-8.h: Likewise.
9815 * soft-fp/op-common.h: Likewise.
9816 * soft-fp/quad.h: Likewise.
9817 * soft-fp/single.h: Likewise.
9818 * soft-fp/soft-fp.h: Likewise.
9819 * soft-fp/sqrtdf2.c: Likewise.
9820 * soft-fp/sqrtsf2.c: Likewise.
9821 * soft-fp/sqrttf2.c: Likewise.
9822 * soft-fp/subdf3.c: Likewise.
9823 * soft-fp/subsf3.c: Likewise.
9824 * soft-fp/subtf3.c: Likewise.
9825 * soft-fp/truncdfsf2.c: Likewise.
9826 * soft-fp/trunctfdf2.c: Likewise.
9827 * soft-fp/trunctfsf2.c: Likewise.
9828 * soft-fp/trunctfxf2.c: Likewise.
9829 * soft-fp/unorddf2.c: Likewise.
9830 * soft-fp/unordsf2.c: Likewise.
9831 * soft-fp/unordtf2.c: Likewise.
9832
17c48a60
OB
98332013-10-14 Ondřej Bílka <neleai@seznam.cz>
9834
9835 [BZ #15672]
9836 * misc/error.c (error_tail): Fix possible buffer overflow.
9837
cabba934
OB
98382013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9839
9840 [BZ #13028]
9841 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9842 address.
9843
94bf958a
PM
98442013-10-14 P. J. McDermott <pj@pehjota.net>
9845
9846 [BZ #832]
9847 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9848 testing pipefail option.
9849
71b4dea7
JM
98502013-10-12 Joseph Myers <joseph@codesourcery.com>
9851
9852 * soft-fp/double.h: Indent preprocessor directives inside #if.
9853 * soft-fp/extended.h: Likewise.
9854 * soft-fp/op-2.h: Likewise.
9855 * soft-fp/op-4.h: Likewise.
9856 * soft-fp/op-common.h: Likewise.
9857 * soft-fp/quad.h: Likewise.
9858 * soft-fp/single.h: Likewise.
9859 * soft-fp/soft-fp.h: Likewise.
9860
55602758
YC
98612013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9862
9863 * iconv/iconv_prog.c: Fix typos.
9864 * stdio-common/psiginfo-data.h: Likewise.
9865
9cd83302
RT
98662013-10-12 Reuben Thomas <rrt@sc3d.org>
9867
9868 [BZ #15764]
9869 * locale/setlocale.c: Fix typo.
9870
99fd9f47
JM
98712013-10-12 Joseph Myers <joseph@codesourcery.com>
9872
b7ea74f0
JM
9873 [BZ #16036]
9874 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9875 signaling NaN arguments.
9876 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9877 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9878
8a509447
JM
9879 [BZ #14910]
9880 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9881 unordered operands.
9882 * soft-fp/gesf2.c (__gesf2): Likewise.
9883 * soft-fp/getf2.c (__getf2): Likewise.
9884 * soft-fp/ledf2.c (__ledf2): Likewise.
9885 * soft-fp/lesf2.c (__lesf2): Likewise.
9886 * soft-fp/letf2.c (__letf2): Likewise.
9887
98998e9f
JM
9888 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9889 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9890 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9891 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9892 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9893 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9894 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9895 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9896 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9897 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9898 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9899 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9900 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9901 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9902 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9903 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9904 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9905 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9906 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9907 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9908 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9909 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9910 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9911 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9912 * soft-fp/floattidf.c (__floattidf): Likewise.
9913 * soft-fp/floattisf.c (__floattisf): Likewise.
9914 * soft-fp/floattitf.c (__floattitf): Likewise.
9915 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9916 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9917 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9918 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9919 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9920 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9921 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9922 * soft-fp/gesf2.c (__gesf2): Likewise.
9923 * soft-fp/getf2.c (__getf2): Likewise.
9924 * soft-fp/ledf2.c (__ledf2): Likewise.
9925 * soft-fp/lesf2.c (__lesf2): Likewise.
9926 * soft-fp/letf2.c (__letf2): Likewise.
9927
8edc4a11
JM
9928 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9929 Undefine and redefine.
9930 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9931 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9932 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9933 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9934 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9935 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9936 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9937 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9938 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9939 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9940 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9941 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9942 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9943 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9944 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9945
8399acaf
JM
9946 [BZ #16032]
9947 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9948 without decrementing exponent if mantissa >= that for the
9949 denominator, not >.
9950 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9951 denominator, not >. Decrement exponent in < case instead of
9952 incrementing in >= case.
9953 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9954 without decrementing exponent if mantissa >= that for the
9955 denominator, not >.
9956
99fd9f47
JM
9957 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9958 computing saturated result for unsigned overflow.
9959
10e1cf6b
SP
99602013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9961 Jeff Law <law@redhat.com>
9962
9963 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9964 (atan2Mp): Add systemtap probe marker.
9965 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9966 (__ieee754_log): Add systemtap probe marker.
9967 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9968 (atanMp): Add systemtap probe marker.
9969 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9970 (tanMp): Add systemtap probe marker.
9971 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9972 (__slowexp): Add systemtap probe marker.
9973 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9974 (__slowpow): Add systemtap probe marker.
9975 * manual/probes.texi: Document probes.
9976
3d110c7c
EB
99772013-10-11 Eric Biggers <ebiggers3@gmail.com>
9978
9979 [BZ #15362]
9980 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9981 written.
9982 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9983 written.
9984 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9985 written to buffer but not flushed.
9986 * libio/iofwrite_u.c: Likewise.
9987 * libio/iopadn.c: Return bytes returned even if EOF was
9988 encountered.
9989 * libio/iowpadn.c: Likewise.
9990 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9991 if _IO_padn does not write the whole buffer.
9992 [!COMPILE_WPRINTF] (PAD): Likewise.
9993
75b4202a
DM
99942013-10-10 David S. Miller <davem@davemloft.net>
9995
9996 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9997 directory block.
9998
6c6352e6
JM
99992013-10-10 Joseph Myers <joseph@codesourcery.com>
10000
33b853c3
JM
10001 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10002 instead of FSF address.
10003 * soft-fp/fixdfti.c: Likewise.
10004 * soft-fp/fixsfti.c: Likewise.
10005 * soft-fp/fixtfti.c: Likewise.
10006 * soft-fp/fixunsdfti.c: Likewise.
10007 * soft-fp/fixunssfti.c: Likewise.
10008 * soft-fp/fixunstfti.c: Likewise.
10009 * soft-fp/floattidf.c: Likewise.
10010 * soft-fp/floattisf.c: Likewise.
10011 * soft-fp/floattitf.c: Likewise.
10012 * soft-fp/floatuntidf.c: Likewise.
10013 * soft-fp/floatuntisf.c: Likewise.
10014 * soft-fp/floatuntitf.c: Likewise.
10015 * soft-fp/trunctfxf2.c: Likewise.
10016
6c6352e6
JM
10017 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10018 * soft-fp/fixdfti.c: Likewise.
10019 * soft-fp/fixsfti.c: Likewise.
10020 * soft-fp/fixtfti.c: Likewise.
10021 * soft-fp/fixunsdfti.c: Likewise.
10022 * soft-fp/fixunssfti.c: Likewise.
10023 * soft-fp/fixunstfti.c: Likewise.
10024 * soft-fp/floattidf.c: Likewise.
10025 * soft-fp/floattisf.c: Likewise.
10026 * soft-fp/floattitf.c: Likewise.
10027 * soft-fp/floatuntidf.c: Likewise.
10028 * soft-fp/floatuntisf.c: Likewise.
10029 * soft-fp/floatuntitf.c: Likewise.
10030 * soft-fp/trunctfxf2.c: Likewise.
10031
3bf78b71
DM
100322013-10-10 David S. Miller <davem@davemloft.net>
10033
10034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10035
6f10289e
JM
100362013-10-10 Joseph Myers <joseph@codsourcery.com>
10037
bd878fc0
JM
10038 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10039 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10040 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10041 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10042 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10043 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10044 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10045
6f10289e
JM
10046 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10047 for NaNs before doing comparisons on argument.
10048 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10049 Likewise.
10050
321e2684
WN
100512013-10-10 Will Newton <will.newton@linaro.org>
10052
10053 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10054 passed to _int_memalign does not overflow.
10055
40fefba1
TR
100562013-10-10 Torvald Riegel <triegel@redhat.com>
10057
10058 * scripts/bench.pl: Add include-sources directive.
10059 * benchtests/README: Update documentation.
10060
2ae21ed2
JM
100612013-10-10 Joseph Myers <joseph@codesourcery.com>
10062
dcc2dd3f
JM
10063 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10064 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10065 instead of FP_INIT_ROUNDMODE.
10066 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10067 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10068
2ae21ed2
JM
10069 [BZ #16034]
10070 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10071 copy class of input value.
10072 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10073 not handle exceptions.
10074 * soft-fp/negsf2.c (__negsf2): Likewise.
10075 * soft-fp/negtf2.c (__negtf2): Likewise.
10076 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10077
cb8f9562
JM
100782013-10-09 Joseph Myers <joseph@codesourcery.com>
10079
10080 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10081 semicolon. From Linux kernel.
10082
5b60c59d
AB
100832013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10084
10085 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10086
b86835ca
YC
100872013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10088
10089 [BZ #156]
10090 * manual/socket.texi: Added statement about buffer
10091 for gethostbyname2_r.
10092
e7044ea7
OB
100932013-10-08 Ondřej Bílka <neleai@seznam.cz>
10094
10095 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10096 Use .p2align directive instead, throughout.
10097 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10098 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10099 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10100 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10101 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10102 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10103 * sysdeps/x86_64/strchr.S: Likewise.
10104 * sysdeps/x86_64/strrchr.S: Likewise.
10105
09544cbc
SP
101062013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10107
88576635
SP
10108 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10109
e7b2d1dd
SP
10110 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10111
09544cbc
SP
10112 * sysdeps/generic/math_private.h (__mpsin1): Remove
10113 declaration.
10114 (__mpcos1): Likewise.
10115 (__mpsin): New argument __range_reduce.
10116 (__mpcos): Likewise.
10117 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10118 (slow): Use __mpsin and __mpcos.
10119 (slow1): Likewise.
10120 (slow2): Likewise.
10121 (sloww): Likewise.
10122 (sloww1): Likewise.
10123 (sloww2): Likewise.
10124 (bsloww): Likewise.
10125 (bsloww1): Likewise.
10126 (bsloww2): Likewise.
10127 (cslow2): Likewise.
10128 (csloww): Likewise.
10129 (csloww1): Likewise.
10130 (csloww2): Likewise.
10131 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10132 range_reduce. Merge in __mpsin1.
10133 (__mpcos): Likewise.
10134 (__mpsin1): Remove.
10135 (__mpcos1): Likewise.
10136
7602d070
JM
101372013-10-07 Joseph Myers <joseph@codesourcery.com>
10138
10139 * locale/loadlocale.c (_nl_intern_locale_data): Use
10140 LOCFILE_ALIGNED_P.
10141 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10142 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10143 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10144 obstack data is appropriately aligned.
10145 (obstack_int32_grow_fast): Likewise.
10146 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10147 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10148 (add_locale_uint32_array): Likewise.
10149
a357259b
SP
101502013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10151
10152 * benchtests/Makefile: Remove ARGLIST and RET variables.
10153 ($(objpfx)bench-%.c): Pass only function name to the script.
10154 * benchtests/README: Update documentation.
10155 * benchtests/acos-inputs: Add new directives.
10156 * benchtests/acosh-inputs: Likewise.
10157 * benchtests/asin-inputs: Likewise.
10158 * benchtests/asinh-inputs: Likewise.
10159 * benchtests/atan-inputs: Likewise.
10160 * benchtests/atanh-inputs: Likewise.
10161 * benchtests/cos-inputs: Likewise.
10162 * benchtests/cosh-inputs: Likewise.
10163 * benchtests/exp-inputs: Likewise.
10164 * benchtests/log-inputs: Likewise.
10165 * benchtests/pow-inputs: Likewise.
10166 * benchtests/rint-inputs: Likewise.
10167 * benchtests/sin-inputs: Likewise.
10168 * benchtests/sinh-inputs: Likewise.
10169 * benchtests/tan-inputs: Likewise.
10170 * benchtests/tanh-inputs: Likewise.
10171 * scripts/bench.pl: Add support for new directives.
10172
9ec1b13d
AM
101732013-10-07 Alan Modra <amodra@gmail.com>
10174
10175 * README: Fix careless merge.
10176
8b7d57cd
AM
101772013-10-05 Alan Modra <amodra@gmail.com>
10178
10179 * NEWS: Mention powerpc64le support and bugs fixed.
10180 * README: Both big-endian and little-endian powerpc64 supported.
10181
7b7bab13
ST
101822013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10183
57f41c40
AS
10184 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10185 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10186 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10187 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10188
d39baad1
RA
101892013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10190
10191 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10192 match prototype.
10193
cd78f7e7
JM
101942013-10-04 Joseph Myers <joseph@codesourcery.com>
10195
29d73d86
JM
10196 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10197 Move -mhard-float appending from
10198 ports/sysdeps/powerpc/powerpc32/Makefile.
10199 [$(with-fp) = yes] (ASFLAGS): Likewise.
10200 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10201 * sysdeps/powerpc/nofpu: Move directory from
10202 ports/sysdeps/powerpc/nofpu.
10203 * sysdeps/powerpc/soft-fp: Move directory from
10204 ports/sysdeps/powerpc/soft-fp.
10205 * sysdeps/powerpc/powerpc32/405: Move directory from
10206 ports/sysdeps/powerpc/powerpc32/405.
10207 * sysdeps/powerpc/powerpc32/440: Move directory from
10208 ports/sysdeps/powerpc/powerpc32/440.
10209 * sysdeps/powerpc/powerpc32/464: Move directory from
10210 ports/sysdeps/powerpc/powerpc32/464.
10211 * sysdeps/powerpc/powerpc32/476: Move directory from
10212 ports/sysdeps/powerpc/powerpc32/476.
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10214 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10216 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10218 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10220 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10222 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10223 * README: Update for powerpc-*-linux-gnu software floating point
10224 support in libc.
10225
e246b347
JM
10226 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10227 case to powerpc/powerpc32*.
10228 * sysdeps/unix/sysv/linux/configure: Regenerated.
10229
89c2003e
JM
10230 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10231 (_FPU_MASK_OM): Define as 0x04.
10232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10234 0x00c10080.
10235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10236 0x0000003c.
10237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10238
cd78f7e7
JM
10239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10240 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10241 getcontext_e500.
10242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10243 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10244 setcontext_e500.
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10246 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10247 and setcontext_e500.
10248
c755294d
CL
102492013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10250
10251 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10252
e16d221c
SP
102532013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10254
10255 * manual/threads.texi (Default Thread Attributes): Fix typo.
10256
215c7d43
WN
102572013-10-04 Will Newton <will.newton@linaro.org>
10258
10259 * malloc/Makefile: Add tst-memalign.
10260 * malloc/tst-memalign.c: New file.
10261
27d0461b
WN
10262 * malloc/tst-posix_memalign.c: Add comments.
10263 (do_test): Add comments and call free on all potentially
10264 allocated pointers. Add space after cast.
10265
1bc92709
WN
10266 * malloc/tst-pvalloc.c: Add comments.
10267 (do_test): Add comments and call free on all potentially
10268 allocated pointers. Remove duplicate check for NULL pointer.
10269 Add space after cast.
10270
66a9be9d
WN
10271 * malloc/tst-valloc.c: Add comments.
10272 (do_test): Add comments and call free on all potentially
10273 allocated pointers. Remove duplicate check for NULL pointer.
10274 Add space after cast.
10275
4cb81307
AM
102762013-10-04 Alan Modra <amodra@gmail.com>
10277
10278 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10279 Use stdint types in rather than __attribute__((mode())).
10280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10281
f8e3e9f3
AM
102822013-10-04 Alan Modra <amodra@gmail.com>
10283
10284 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10285 Correct handling of unaligned relocs for little-endian.
10286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10287
8f9ebb08
AM
102882013-10-04 Alan Modra <amodra@gmail.com>
10289
10290 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10291 * configure: Regenerate.
10292 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10293 * shlib-versions: Likewise.
10294
0edf96c2
AM
102952013-10-04 Alan Modra <amodra@gmail.com>
10296
10297 * string/tester.c (test_memrchr): Increment reported test cycle.
10298
e0f7a380
AM
102992013-10-04 Alan Modra <amodra@gmail.com>
10300
10301 * string/test-memcpy.c (do_one_test): When reporting errors, print
10302 string address and don't overrun end of string.
10303
466b0393
AM
103042013-10-04 Alan Modra <amodra@gmail.com>
10305
10306 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10307 insrdi. Make better use of reg selection to speed exit slightly.
10308 Schedule entry path a little better. Remove useless "are we done"
10309 checks on entry to main loop. Handle wrapping around zero address.
10310 Correct main loop count. Handle single left-over word from main
10311 loop inline rather than by using loop_small. Remove extra word
10312 case in loop_small caused by wrong loop count. Add little-endian
10313 support.
10314 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10315 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10316 cache hint.
10317 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10318 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10319 support. Avoid rlwimi.
10320 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10321
3be87c77
AM
103222013-10-04 Alan Modra <amodra@gmail.com>
10323
10324 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 10325 insrdi. Formatting.
3be87c77
AM
10326 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10327 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10328 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10329 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10330 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10331 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10332
759cfef3
AM
103332013-10-04 Alan Modra <amodra@gmail.com>
10334
10335 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10336 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10337 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10338 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10339 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10340 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10341 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10342 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10343 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10344 use of regs. Use power7 mtocrf. Tidy function tails.
10345
fe6e95d7
AM
103462013-10-04 Alan Modra <amodra@gmail.com>
10347
10348 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10349 Formatting. Consistently use rXXX register defines or rN defines.
10350 Use early exit labels that avoid restoring unused non-volatile regs.
10351 Make cr field use more consistent with rWORDn compares. Rename
10352 regs used as shift registers for unaligned loop, using rN defines
10353 for short lifetime/multiple use regs.
10354 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10355 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10356 addi 1,1,64 to pop stack frame. Simplify return value code.
10357 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10358
664318c3
AM
103592013-10-04 Alan Modra <amodra@gmail.com>
10360
10361 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10362 support. Correct typos, formatting. Optimize tail. Use insrdi
10363 rather than rlwimi.
10364 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10365 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10366 little-endian support. Correct typos.
10367 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10368 rather than rlwimi.
10369 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10370 in loop and entry code to keep "and." results.
10371 (strchr): Add little-endian support. Comment. Move cntlzd
10372 earlier in tail.
10373 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10374
43b84013
AM
103752013-10-04 Alan Modra <amodra@gmail.com>
10376
10377 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10378 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10379 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10380 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10381
8a7413f9
AM
103822013-10-04 Alan Modra <amodra@gmail.com>
10383
10384 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10385 (rTMP): Define as r11.
10386 (strcmp): Add little-endian support. Optimise tail.
10387 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10388 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10389 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10390 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10391 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10392 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10393 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10394
33ee81de
AM
103952013-10-04 Alan Modra <amodra@gmail.com>
10396
10397 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10398 little-endian support. Remove unnecessary "are we done" tests.
10399 Handle "s" wrapping around zero and extremely large "size".
10400 Correct main loop count. Handle single left-over word from main
10401 loop inline rather than by using small_loop. Correct comments.
10402 Delete "zero" tail, use "end_max" instead.
10403 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10404
db9b4570
AM
104052013-10-04 Alan Modra <amodra@gmail.com>
10406
10407 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10408 support. Don't branch over align.
10409 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10410 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10411 support. Rearrange tmp reg use to suit. Comment.
10412 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10413
f7c399cf
AM
104142013-10-04 Alan Modra <amodra@gmail.com>
10415
10416 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10417
0b2c2ace
AM
104182013-10-04 Alan Modra <amodra@gmail.com>
10419
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10421 conditional form of branch and link when obtaining pc.
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10423
02f04a6c
AM
104242013-10-04 Alan Modra <amodra@gmail.com>
10425
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10427 HIWORD/LOWORD.
10428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10430
9b874b2f
AM
104312013-10-04 Alan Modra <amodra@gmail.com>
10432
10433 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10434 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10435 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10436 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10437 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10438 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10439 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10440 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10441 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10442 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10443
be1e5d31
AB
104442013-10-04 Anton Blanchard <anton@au1.ibm.com>
10445 Alistair Popple <alistair@ozlabs.au.ibm.com>
10446 Alan Modra <amodra@gmail.com>
10447
10448 [BZ #15723]
10449 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10450 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10451 _dl_hwcap access for little-endian.
10452 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10453 destroy vmx regs when saving unaligned.
10454 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10455 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10456 destroy vmx regs when saving unaligned.
10457
fef13a78
AM
104582013-10-04 Alan Modra <amodra@gmail.com>
10459
10460 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10461 Don't use a union to pack hi/low value.
10462
76a66d51
AB
104632013-10-04 Anton Blanchard <anton@au1.ibm.com>
10464
10465 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10466 for little-endian.
10467 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10468 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10469 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10470 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10471 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10472
6a31fe7f
AM
104732013-10-04 Alan Modra <amodra@gmail.com>
10474
10475 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10476 constants to usual value for .cst8 section, and remove redundant
10477 high address load.
10478 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10479 constant for 0x1p52. Load little-endian words of double from
10480 correct stack offsets.
10481
7b88401f
AM
104822013-10-04 Alan Modra <amodra@gmail.com>
10483
10484 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10485 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10486 words of double from correct stack offsets.
10487 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10488 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10489 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10490 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10491 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10492 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10493 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10494 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10495 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10496 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10497 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10498 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10499 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10500 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10501 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10502 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10503 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10504
9c008155
AM
105052013-10-04 Alan Modra <amodra@gmail.com>
10506
10507 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10508 64-bit int/double union.
10509 (_FPU_SETCW): Likewise.
10510 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10511 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10512
da13146d
AM
105132013-10-04 Alan Modra <amodra@gmail.com>
10514
10515 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10516 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10517
603e8410
AM
105182013-10-04 Alan Modra <amodra@gmail.com>
10519
10520 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10521 use vector int constants.
10522 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10523
4a28b3ca
AB
105242013-10-04 Anton Blanchard <anton@au1.ibm.com>
10525
10526 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10527 array with long long.
10528 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10529 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10530 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10531 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10532 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10533 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10534 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10535 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10536 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10537 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10538 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10539 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10540 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10541
2ca85d2b
AB
105422013-10-04 Anton Blanchard <anton@au1.ibm.com>
10543
10544 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10545 (__signbit): Likewise. Correct for little-endian.
10546 (__signbitl): Call __signbit.
10547 (lrint): Correct for little-endian.
10548 (lrintf): Call lrint.
10549
62a728ae
AM
105502013-10-04 Alan Modra <amodra@gmail.com>
10551
10552 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10553 union 32-bit int array member with 64-bit int array.
10554 (t515, tm256): Double rather than long double.
10555 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10556
32c301df
AM
105572013-10-04 Alan Modra <amodra@gmail.com>
10558
10559 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10560 Delete.
10561 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10562 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10563 version of math_ldbl.h.
10564
650ef4bd
AM
105652013-10-04 Alan Modra <amodra@gmail.com>
10566
10567 [BZ #15734], [BZ #15735]
10568 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10569 all uses of ieee875 long double macros and unions. Simplify test
10570 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10571 ldbl_extract_mantissa value for ix,iy exponents. Properly
10572 normalize after ldbl_extract_mantissa, and don't add hidden bit
10573 already handled. Don't treat low word of ieee854 mantissa like
10574 low word of IBM long double and mask off bit when testing for
10575 zero.
10576 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10577 all uses of ieee875 long double macros and unions. Simplify tests
10578 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10579 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10580 two1022, instead use their values. Recognise that tests for large
10581 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10582 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10583 Rewrite all uses of ieee875 long double macros and unions. Simplify
10584 test for 0.0L and nan. Correct negation.
10585 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10586 ieee875 long double macros and unions. Correct output for large
10587 magnitude x. Correct absolute value calculation.
10588 (__erfcl): Likewise.
10589 * math/libm-test.inc: Add tests for errors discovered in IBM long
10590 double versions of fmodl, remainderl, erfl and erfcl.
10591
765714ca
AM
105922013-10-04 Alan Modra <amodra@gmail.com>
10593
10594 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10595 all uses of ieee854 long double macros and unions. Simplify tests
10596 for long doubles that are fully specified by the high double.
10597 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10598 Likewise.
10599 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10600 Remove dead code too.
10601 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10602 (__ieee754_ynl): Likewise.
10603 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10604 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10605 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10606 Remove dead code too.
10607 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10608 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10609 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10610 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10611 Simplify.
10612 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10613 Simplify.
10614 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10615 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10616 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10617 Comment on variable precision.
10618 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10619 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10620 Likewise.
10621 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10622 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10623 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10624 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10625 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10626
4ebd120c
AM
106272013-10-04 Alan Modra <amodra@gmail.com>
10628
10629 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10630 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10631 all uses of ieee854 long double macros and unions.
10632 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10633 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10634 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10635 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10636 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10637 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10638 Likewise.
10639 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10640 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10641 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10642 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10643 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10644 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10645 Simplify sign and nan test too.
10646 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10647 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10648 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10649 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10650 Likewise.
10651 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10652 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10653 Likewise.
10654 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10655 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10656 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10657 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10658 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10659 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10660
1b6adf88
AM
106612013-10-04 Alan Modra <amodra@gmail.com>
10662
10663 * stdio-common/printf_size.c (__printf_size): Don't use
10664 union ieee854_long_double in fpnum union.
10665 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10666 signbit macro to retrieve sign from long double.
10667 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10668 retrieve sign from long double.
10669 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10670 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10671 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10672 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10673 * math/test-misc.c (main): Don't use union ieee854_long_double.
10674
4cf69995
AM
106752013-10-04 Alan Modra <amodra@gmail.com>
10676
10677 [BZ #15680]
10678 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10679 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10680 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10681 calculation. Remove unnecessary test for denormal exponent.
10682 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10683 Correct handling of denormals. Avoid undefined shift behaviour.
10684 Correct normalisation of low mantissa when low double is denormal.
10685 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10686 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10687 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10688 Correct normalisation of low mantissa. Test for overflow of high
10689 mantissa and normalise.
10690 (ldbl_nearbyint): Use more readable constant for two52.
10691 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10692 (__mpn_construct_long_double): Fix test for overflow of high
10693 mantissa and correct normalisation. Avoid undefined shift.
10694
9605ca6c
AM
106952013-10-04 Alan Modra <amodra@gmail.com>
10696
10697 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10698 (union ibm_extended_long_double): Define as an array of ieee754_double.
10699 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10700 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10701 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10702 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10706 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10710
975569d0
JM
107112013-10-03 Joseph Myers <joseph@codesourcery.com>
10712
d3d23756
JM
10713 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10714 page size instead of calling getpagesize.
10715
975569d0
JM
10716 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10717 (LOCFILE_ALIGN_MASK): Likewise.
10718 (LOCFILE_ALIGN_UP): Likewise.
10719 (LOCFILE_ALIGNED_P): Likewise.
10720 * locale/programs/ld-collate.c (collate_output): Use the new
10721 macros instead of __alignof__ (int32_t).
10722 * locale/weight.h (findidx): Likewise.
10723
b1fe1f2b
OB
107242013-10-03 Ondřej Bílka <neleai@seznam.cz>
10725
10726 [BZ #431]
10727 * manual/string.texi: Fix strncat and wcsncat.
10728
5f855e35
BM
107292013-10-03 Brooks Moses <bmoses@google.com>
10730
10731 [BZ #15915]
10732 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10733 * Makerules: ...here, and adjust associated comments.
10734
3cef6009
WN
107352013-10-02 Will Newton <will.newton@linaro.org>
10736
10737 * malloc/Makefile: Add tst-pvalloc.
10738 * malloc/tst-pvalloc.c: New file.
10739
7815420b
WN
107402013-10-02 Will Newton <will.newton@linaro.org>
10741
10742 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10743 improve test coverage.
10744
4868b204
WN
107452013-10-02 Will Newton <will.newton@linaro.org>
10746
10747 * malloc/Makefile: Add tst-posix_memalign.
10748 * malloc/tst-posix_memalign.c: New file.
10749
29c793b3
EB
107502013-10-01 Eric Blake <eblake@redhat.com>
10751
10752 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10753 Use __THROWNL rather than __THROW on static functions.
10754
fd967522
PM
107552013-09-30 Petr Machata <pmachata@redhat.com>
10756
10757 * elf/elf.h (R_AARCH64_ABS16): New macro.
10758 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10759 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10760 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10761 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10762 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10763 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10764 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10765 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10766 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10767 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10768 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10769 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10770 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10771 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10772 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10773 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10774 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10775 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10776 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10777 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10778 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10779 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10780 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10781 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10782 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10783 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10784 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10785 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10786 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10787 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10788 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10789 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10790 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10791 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10792 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10793 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10794 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10795 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10796 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10797 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10798 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10799 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10800 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10801 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10802 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10803 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10804 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10805 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10806 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10807 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10808 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10809 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10810 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10811 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10812 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10813 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10814 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10815 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10816 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10817 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10818 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10819 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10820 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10821 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10822 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10823 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10824 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10825 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10826 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10827 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10828 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10829 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10830 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10831 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10832 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10833 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10834 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10835 (R_AARCH64_TLSDESC_LDR): Likewise.
10836 (R_AARCH64_TLSDESC_ADD): Likewise.
10837 (R_AARCH64_TLSDESC_CALL): Likewise.
10838
b2179107
AS
108392013-09-30 Andreas Schwab <schwab@suse.de>
10840
10841 [BZ #15048]
10842 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10843 the nss database lookup.
10844 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10846
47f28d0a
MF
108472013-09-28 Mike Frysinger <vapier@gentoo.org>
10848
10849 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10850
108512013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10852
10853 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10854 ${Bash-specific parameter/pattern/string} parameter expansion.
10855 * sysdeps/unix/make-syscalls.sh: Likewise.
10856
f4518a17
KK
108572013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10858
10859 * sysdeps/sh/stackguard-macros.h: New file.
10860
dc1a95c7
OB
108612013-09-26 Ondřej Bílka <neleai@seznam.cz>
10862
10863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10864 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10865 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10866 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10867 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10868 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10869
5ebbff8f
AZ
108702013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10871
10872 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10873 Fix thread ID register.
10874
4fd2cf9f
JM
108752013-09-25 Joseph Myers <joseph@codesourcery.com>
10876
10877 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10878 [POSIX || UNIX98]: Require rather than permitting all symbols from
10879 <time.h>.
10880 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10881 element of struct sched_param.
10882 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10883 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10884 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10885 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10886 constant.
10887
12c22bc4
OL
108882013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10889
10890 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10891 argument calculation.
10892
a03d8ea7
JM
108932013-09-24 Joseph Myers <joseph@codesourcery.com>
10894
10895 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10896 Expect macro.
10897 [POSIX] (pthread_attr_t): Do not require type.
10898 [POSIX] (pthread_cond_t): Likewise.
10899 [POSIX] (pthread_condattr_t): Likewise.
10900 [POSIX] (pthread_key_t): Likewise.
10901 [POSIX] (pthread_mutex_t): Likewise.
10902 [POSIX] (pthread_mutexattr_t): Likewise.
10903 [POSIX] (pthread_once_t): Likewise.
10904 [POSIX] (pthread_t): Likewise.
10905 [POSIX-based standards] (pthread_atfork): Expect function.
10906
6055173a
JM
109072013-09-24 Joseph Myers <joseph@codesourcery.com>
10908 Richard Sandiford <richard@codesourcery.com>
10909
10910 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10911 (swap_endianness_p): New extern variable.
10912 (set_big_endian): New inline function.
10913 (maybe_swap_uint32): Likewise.
10914 (maybe_swap_uint32_array): Likewise.
10915 (maybe_swap_uint32_obstack): Likewise.
10916 * locale/programs/locfile.c: Include <stdbool.h>.
10917 (swap_endianness_p): New variable.
10918 (add_locale_uint32): Call maybe_swap_uint32.
10919 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10920 (write_locale_data): Call maybe_swap_uint32_array.
10921 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10922 maybe_swap_uint32.
10923 (obstack_int32_grow_fast): Likewise.
10924 (output_weightwc): Call maybe_swap_uint32_obstack.
10925 (collate_output): Likewise.
10926 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10927 (OPT_LITTLE_ENDIAN): Likewise.
10928 (options): Add --little-endian and --big-endian options.
10929 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10930 * locale/programs/locarchive.c: Include "locfile.h".
10931 (GET): New macro.
10932 (SET): Likewise.
10933 (INC): Likewise.
10934 (create_archive): Use the new macros to access fields of
10935 structures directly mapped from or written to locale archives.
10936 (oldlocrecentcmp): Likewise.
10937 (enlarge_archive): Likewise.
10938 (insert_name): Likewise.
10939 (add_alias): Likewise.
10940 (add_locale): Likewise.
10941 (delete_locales_from_archive): Likewise.
10942 (show_archive_content): Likewise.
10943 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10944 locale data.
10945
39bf0bb4
RM
109462013-09-24 Roland McGrath <roland@hack.frob.com>
10947
10948 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10949 http://www.gnu.org/doc/freemanuals.texi.
10950 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10951
f02eed10
WN
109522013-09-24 Will Newton <will.newton@linaro.org>
10953
10954 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10955 macro.
10956
a3a6c312
JM
109572013-09-23 Joseph Myers <joseph@codesourcery.com>
10958
10959 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10960 unsigned char.
10961
107375ac
MR
109622013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10963
10964 * manual/threads.texi (POSIX Threads): Fix a typo.
10965
141f3a77
SP
109662013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10967
303e567a
SP
10968 [BZ #14547]
10969 * string/tst-strcoll-overflow.c: New test case.
10970 * string/Makefile (xtests): Add tst-strcoll-overflow.
10971 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10972 cache if string sizes may cause integer overflow.
10973
141f3a77
SP
10974 [BZ #14547]
10975 * string/strcoll_l.c (coll_seq): New members rule, idx,
10976 save_idx and back_us.
10977 (get_next_seq_nocache): New function.
10978 (do_compare_nocache): New function.
10979 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10980 when malloc fails.
10981
c61b4d41
CD
109822013-09-23 Carlos O'Donell <carlos@redhat.com>
10983
0b1f8e35
CD
10984 [BZ #15754]
10985 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10986 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10987 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10988
c61b4d41
CD
10989 [BZ #15754]
10990 * elf/Makefile (tests): Add tst-ptrguard1.
10991 (tests-static): Add tst-ptrguard1-static.
10992 (tst-ptrguard1-ARGS): Define.
10993 (tst-ptrguard1-static-ARGS): Define.
10994 * elf/tst-ptrguard1.c: New file.
10995 * elf/tst-ptrguard1-static.c: New file.
10996 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10997 * sysdeps/i386/stackguard-macros.h: Likewise.
10998 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10999 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11000 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11001 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11002 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11003 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11004
110052013-09-23 Hector Marco <hecmargi@upv.es>
11006 Ismael Ripoll <iripoll@disca.upv.es>
11007 Carlos O'Donell <carlos@redhat.com>
11008
11009 [BZ #15754]
11010 * sysdeps/generic/stackguard-macros.h: Define
11011 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11012 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11013 Define __pointer_chk_guard_local.
11014 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11015 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11016
f5f4e7b4
VV
110172013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11018
11019 [BZ #15859]
11020 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11021
5bb43a43
AS
110222013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11023
11024 * include/string.h (__ffs): Declare as hidden.
11025 * string/ffs.c (__ffs): Define as hidden.
11026 * sysdeps/i386/ffs.c (__ffs): Likewise.
11027 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11028 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11029 * sysdeps/s390/ffs.c (__ffs): Likewise.
11030 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11031
3ea5be54
AO
110322013-09-20 Alexandre Oliva <aoliva@redhat.com>
11033
ffb89e53
AO
11034 * NEWS: Mention malloc probes.
11035
322dea08
AO
11036 * malloc/arena.c (new_heap): New memory_heap_new probe.
11037 (grow_heap): New memory_heap_more probe.
11038 (shrink_heap): New memory_heap_less probe.
11039 (heap_trim): New memory_heap_free probe.
11040 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11041 (systrim): New memory_sbrk_less probe.
11042 * manual/probes.texi: Document them.
11043
655673f3
AO
11044 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11045 * manual/probes.texi: Document it.
11046
35fed6f1
AO
11047 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11048 (__libc_realloc): Add memory_realloc_retry probe.
11049 (__libc_memalign): Add memory_memalign_retry probe.
11050 (__libc_valloc): Add memory_valloc_retry probe.
11051 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11052 (__libc_calloc): Add memory_calloc_retry probe.
11053 * manual/probes.texi: Document them.
11054
6999d38c
AO
11055 * malloc/arena.c (get_free_list): Add probe
11056 memory_arena_reuse_free_list.
11057 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11058 and memory_arena_reuse.
11059 (arena_get2) [!PER_THREAD]: Likewise.
11060 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11061 memory_arena_reuse_realloc.
11062 * manual/probes.texi: Document them.
11063
0653427f
AO
11064 * malloc/malloc.c (__libc_free): Add
11065 memory_mallopt_free_dyn_thresholds probe.
11066 (__libc_mallopt): Add multiple memory_mallopt probes.
11067 * manual/probes.texi: Document them.
11068
3ea5be54
AO
11069 * malloc/malloc.c: Include stap-probe.h.
11070 (__libc_mallopt): Add memory_mallopt probe.
11071 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11072 * manual/probes.texi: New.
11073 * manual/Makefile (chapters): Add probes.
11074 * manual/threads.texi: Set next node.
11075
e35696c3 110762013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11077
e35696c3
CL
11078 [BZ #15963, #13985]
11079 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11080 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11081 Add `Chinese' to `nan' entry name.
11082
4aafb73c
SP
110832013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11084
11085 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11086 (POLYNOMIAL): Likewise.
11087 (TAYLOR_SINCOS): Likewise.
11088 (TAYLOR_SLOW): Likewise.
11089 (__sin): Use TAYLOR_SINCOS.
11090 (__cos): Likewise.
11091 (slow): Use TAYLOR_SLOW.
11092 (sloww): Likewise.
11093 (bsloww): Likewise.
11094 (csloww): Likewise.
11095
d84f25c7
LD
110962013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11097
11098 * stdlib/strtod_l.c: Fix buffer overrun.
11099
5eea0404
SP
111002013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11101
7849ff93
SP
11102 * benchtests/Makefile (bench): Add sincos.
11103 * benchtests/bench-sincos.c: New file.
11104
cfa3c886
SP
11105 * math/libm-test.inc (cos_test_data): New test inputs.
11106 (sin_test_data): Likewise.
11107
b348e1e3
SP
11108 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11109 macro.
11110 (__sin): Use it.
11111 (__cos): Likewise.
11112 (slow1): Likewise.
11113 (slow2): Likewise.
11114 (sloww1): Likewise.
11115 (sloww2): Likewise.
11116 (bsloww1): Likewise.
11117 (bsloww2): Likewise.
11118 (cslow2): Likewise.
11119 (csloww1): Likewise.
11120 (csloww2): Likewise.
11121
6cce25f8
SP
11122 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11123 function.
11124 (__sin): Use it.
11125 (__cos): Likewise.
11126
5eea0404
SP
11127 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11128 gotos.
11129 (__cos): Likewise.
11130
9c21573c
MR
111312013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11132
11133 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11134 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11135 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11136 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11137 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11138 * elf/cache.c (print_entry): Handle the new cache flags.
11139
24d22e65
JM
111402013-09-18 Joseph Myers <joseph@codesourcery.com>
11141 Aldy Hernandez <aldyh@redhat.com>
11142
11143 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11144 Change condition to [_SOFT_FLOAT].
11145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11157 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11160 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11161 declaration.
11162
d13ef066
JM
111632013-09-18 Joseph Myers <joseph@codesourcery.com>
11164
2e071de0
JM
11165 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11166 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11167 (__longjmp): Use LOAD_GP to load saved GPRs.
11168 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11169 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11170 (__sigsetjmp): Use SAVE_GP to save GPRs.
11171
d13ef066
JM
11172 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11173 Do not append -msoft-float.
11174 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11175
97a0650b
SP
111762013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11177
11178 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11179
11ca09e9
JM
111802013-09-17 Joseph Myers <joseph@codesourcery.com>
11181
11182 [BZ #15966]
11183 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11184 (_FPU_GETCW): Use initial "__" on variable and field names but not
11185 on macro parameter name.
11186 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11187 parentheses around reference to macro parameter.
11188
08ffcf34
RS
111892013-09-13 Richard Sandiford <richard@codesourcery.com>
11190
11191 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11192 prototype.
11193 (ctype_startup): Use uint32_t in cast and sizeof for
11194 ctype->charnames.
11195
ae7080d3
JL
111962013-09-11 Jia Liu <proljc@gmail.com>
11197
11198 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11199 __daddr_t_defined.
11200 [__FreeBSD__]: Likewise.
11201
5905e7b3
OB
112022013-09-11 Ondřej Bílka <neleai@seznam.cz>
11203
11204 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11205 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11206 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11207 (strchr): Remove __strchr_sse42 ifunc selection.
11208 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11209 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11210
b987c776
WN
112112013-09-11 Will Newton <will.newton@linaro.org>
11212
11213 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11214 parameter to RES. Remove hardcoded 1000 value.
11215 * benchtests/bench-skeleton.c (main): Pass RES parameter
11216 to TIMING_INIT and multiply result by 1000.
11217
ddf985af
AZ
112182013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11219
11220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11221
ffdd3181
AS
112222013-09-11 Andreas Schwab <schwab@suse.de>
11223
11224 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11225 if not defined.
11226 (O_TMPFILE) [__USE_GNU]: Define.
11227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11228 Define.
11229
b73ed247
WN
112302013-09-11 Will Newton <will.newton@linaro.org>
11231
11232 [BZ #15857]
11233 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11234 does not overflow.
11235
55e17aad
WN
112362013-09-11 Will Newton <will.newton@linaro.org>
11237
11238 [BZ #15856]
11239 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11240 does not overflow.
11241
1159a193
WN
112422013-09-11 Will Newton <will.newton@linaro.org>
11243
11244 [BZ #15855]
11245 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11246 does not overflow.
11247
5905e7b3 112482013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
11249
11250 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11251 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11253 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11255
cdfc721b
AM
112562013-09-10 Allan McRae <allan@archlinux.org>
11257
aa04af00
AM
11258 [BZ #15748]
11259 * manual/arith.texi (Parsing of Floats): Clarify
11260 cross-reference.
11261
cdfc721b
AM
11262 [BZ #15849]
11263 * manual/install.texi (Running make install): Mention
11264 --enable-pt-chown.
11265 * INSTALL: Regenerated.
11266
95e7cf29
MR
112672013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11268
11269 * csu/init-first.c (_init): Remove the !SHARED condition around
11270 FPU control word initialization.
11271 * elf/dl-support.c (_dl_fpu_control): New variable.
11272 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11273 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11274 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11275 * math/test-fpucw-static.c: New file.
11276 * math/test-fpucw-ieee.c: New file.
11277 * math/test-fpucw-ieee-static.c: New file.
11278 * math/Makefile (tests): Add `test-fpucw-ieee' and
11279 `$(tests-static)'.
11280 (tests-static): New variable.
11281 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11282 dependency to...
11283 [($(build-shared),yes)]
11284 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11285 ... this.
11286 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11287 New dependency.
11288
83e43bf0
AM
112892013-09-09 Allan McRae <allan@archlinux.org>
11290
a9f5ce09
AM
11291 [BZ #15939]
11292 * manual/string.texi (Collation Functions): Fix typo in
11293 strcoll example.
11294 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11295
34829bc2
AM
11296 [BZ #15893]
11297 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11298
3932737d
AM
11299 [BZ #15892]
11300 * libio/memstream.c (open_memstream): Fix memory leak.
11301 * libio/wmemstream.c (open_wmemstream): Likewise.
11302
83e43bf0
AM
11303 [BZ #15895]
11304 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11305
0c66b8e9
WN
113062013-09-09 Will Newton <will.newton@linaro.org>
11307
11308 * malloc/Makefile: Add tst-realloc to tests.
11309 * malloc/tst-realloc.c: New file.
11310
f6b00fd1
AM
113112013-09-09 Allan McRae <allan@archlinux.org>
11312
11313 [BZ #15844]
11314 * COPYING: Update from GNU website to fix FSF address.
11315 * COPYING.LIB: Likewise.
11316
eec55e16
DM
113172013-09-06 David S. Miller <davem@davemloft.net>
11318
11319 * po/zh_TW.po: Update Chinese (traditional) translation from
11320 translation project.
11321
1ecbb381
RS
113222013-09-06 Richard Sandiford <richard@codesourcery.com>
11323 Joseph Myers <joseph@codesourcery.com>
11324
11325 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11326 "localeinfo.h".
11327 (obstack_chunk_alloc): New macro.
11328 (obstack_chunk_free): Likewise.
11329 (record_offset): New function.
11330 (init_locale_data): Likewise.
11331 (align_locale_data): Likewise.
11332 (add_locale_empty): Likewise.
11333 (add_locale_raw_data): Likewise.
11334 (add_locale_raw_obstack): Likewise.
11335 (add_locale_string): Likewise.
11336 (add_locale_wstring): Likewise.
11337 (add_locale_uint32): Likewise.
11338 (add_locale_uint32_array): Likewise.
11339 (add_locale_char): Likewise.
11340 (start_locale_structure): Likewise.
11341 (end_locale_structure): Likewise.
11342 (start_locale_prelude): Likewise.
11343 (end_locale_prelude): Likewise.
11344 (write_locale_data): Take locale_file structure rather than an
11345 iovec.
11346 * locale/programs/locfile.h: Include "obstack.h".
11347 (struct locale_file): Change to store locale file contents instead
11348 of header.
11349 (init_locale_data): New prototype.
11350 (align_locale_data): Likewise.
11351 (add_locale_empty): Likewise.
11352 (add_locale_raw_data): Likewise.
11353 (add_locale_raw_obstack): Likewise.
11354 (add_locale_string): Likewise.
11355 (add_locale_wstring): Likewise.
11356 (add_locale_uint32): Likewise.
11357 (add_locale_uint32_array): Likewise.
11358 (add_locale_char): Likewise.
11359 (start_locale_structure): Likewise.
11360 (end_locale_structure): Likewise.
11361 (start_locale_prelude): Likewise.
11362 (end_locale_prelude): Likewise.
11363 (write_locale_data): Update prototype.
11364 * locale/programs/3level.h (struct TABLE): Remove result field.
11365 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11366 Use new locale_file interface.
11367 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11368 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11369 * locale/programs/ld-address.c (address_output): Use new
11370 locale_file interface.
11371 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11372 NO_ADD_LOCALE.
11373 (collate_finish): Don't call collseq_table_finalize.
11374 (collate_output): Use new locale_file interface.
11375 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11376 in file.
11377 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11378 (TABLE): Move defines earlier in file.
11379 (ELEMENT): Likewise.
11380 (DEFAULT): Likewise.
11381 (wctrans_table_add): Move macro and inline function earlier in
11382 file.
11383 (struct wctype_table): Move type earlier in file.
11384 (add_locale_wctype_table): New static prototype.
11385 (struct locale_ctype_t): Use logical types instead of struct iovec
11386 pointers for members.
11387 (ctype_output): Use new locale_file interface.
11388 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11389 new locale_file interface.
11390 (allocate_arrays): Update for use of new locale_file interface.
11391 * locale/programs/ld-identification.c (identification_output): Use
11392 new locale_file interface.
11393 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11394 * locale/programs/ld-messages.c (messages_output): Likewise.
11395 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11396 * locale/programs/ld-name.c (name_output): Likewise.
11397 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11398 * locale/programs/ld-paper.c (paper_output): Likewise.
11399 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11400 * locale/programs/ld-time.c (time_output): Likewise.
11401
e029e2e5
AZ
114022013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11403
11404 * benchtests/Makefile: Add memrchr benchmark.
11405 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11406 benchmark as memrchr.
11407 * benchtests/bench-memrchr-ifunc.c: New file.
11408 * benchtests/bench-memrchr.c: New file.
11409
bbf6e8e4
WN
114102013-09-06 Will Newton <will.newton@linaro.org>
11411
11412 * benchtests/Makefile (string-bench): Add memcpy.
11413
6c82a2f8
CD
114142013-09-05 Carlos O'Donell <carlos@redhat.com>
11415 Cong Wang <amwang@redhat.com>
11416
e732c5f0 11417 [BZ #15850]
6c82a2f8
CD
11418 * sysdeps/unix/sysv/linux/bits/in.h
11419 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11420 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11421 before __USE_KERNEL_IPV6_DEFS uses.
11422 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11423 IPPROTO_BEETPH.
11424 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11425 sockaddr_in6, or ipv6_mreq.
11426
5430fc65
AZ
114272013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11428
11429 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11430 memory access for final bytes in some large inputs.
11431 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11432
4660856c
AZ
114332013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11434
11435 * string/test-memrchr.c: New file.
11436 * string/test-memrchr-ifunc.c: New file.
11437 * string/Makefile: Add new memrchr testcase.
11438
bb8ea713
MF
114392013-09-05 Mike Frysinger <vapier@gentoo.org>
11440
11441 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11442 fanotify_init returns EPERM.
11443
b92a20b5
JM
114442013-09-04 Joseph Myers <joseph@codesourcery.com>
11445
11446 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11447 errors.
11448 (top level): Treat second token from macro or constant entries for
11449 allowed headers as allowed.
11450 * include/complex.h: Condition internal declarations on
11451 [!_ISOMAC].
11452 * include/fenv.h: Condition include of <stdbool.h> and internal
11453 declarations on [!_ISOMAC].
7447ccd9
CL
11454
114552013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11456
3e181dda 11457 [BZ #15923]
7447ccd9
CL
11458 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11459
3f2e46a4
JM
114602013-09-04 Joseph Myers <joseph@codesourcery.com>
11461
11462 * configure.in (--enable-versioning): Remove configure option.
11463 (libc_cv_asm_symver_directive): Remove configure test.
11464 (libc_cv_ld_version_script_option): Likewise.
11465 (VERSIONING): Remove variable and AC_SUBST.
11466 (DO_VERSIONING): Remove AC_DEFINE.
11467 * configure: Regenerated.
11468 * config.h.in (DO_VERSIONING): Remove macro.
11469 * Makerules [$(versioning) = yes]: Change conditionals to
11470 [$(build-shared) = yes].
11471 * config.make.in (versioning): Remove variable.
11472 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11473 [$(build-shared) = yes].
11474 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11475 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11476 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11477 [$(build-shared) = yes].
11478 * extra-lib.mk [$(versioning) = yes]: Likewise.
11479 * hurd/Makefile [$(versioning) = yes]: Likewise.
11480 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11481 [SHARED].
11482 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11483 [SHARED].
11484 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11485 [SHARED && !NO_HIDDEN].
11486 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11487 [SHARED].
11488 [SHARED && DO_VERSIONING]: Likewise..
11489 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11490 [$(build-shared) = yes].
11491 * manual/install.texi (--disable-versioning): Remove
11492 documentation.
11493 * INSTALL: Regenerated.
11494 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11495 to [SHARED].
11496 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11497 [$(build-shared) = yes].
11498 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11499 * sysdeps/i386/i686/multiarch/strstr-c.c
11500 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11501 [SHARED && !NO_HIDDEN].
11502 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11503 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11504 * sysdeps/powerpc/powerpc32/dl-machine.c
11505 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11506 * sysdeps/powerpc/powerpc32/sysdep.h
11507 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11508 to [SHARED && PIC && !NO_HIDDEN].
11509 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11510 conditional to [SHARED].
11511
44558701
WN
115122013-09-04 Will Newton <will.newton@linaro.org>
11513
11514 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11515 * benchtests/bench-string.h: Include bench-timing.h instead
11516 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11517 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11518 call to HP_TIMING_DIFF_INIT.
11519 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11520 instead of hp-timing.h macros.
11521 * benchtests/bench-memchr.c: Likewise.
11522 * benchtests/bench-memcmp.c: Likewise.
11523 * benchtests/bench-memcpy.c: Likewise.
11524 * benchtests/bench-memmem.c: Likewise.
11525 * benchtests/bench-memmove.c: Likewise.
11526 * benchtests/bench-memset.c: Likewise.
11527 * benchtests/bench-rawmemchr.c: Likewise.
11528 * benchtests/bench-strcasecmp.c: Likewise.
11529 * benchtests/bench-strcasestr.c: Likewise.
11530 * benchtests/bench-strcat.c: Likewise.
11531 * benchtests/bench-strchr.c: Likewise.
11532 * benchtests/bench-strcmp.c: Likewise.
11533 * benchtests/bench-strcpy.c: Likewise.
11534 * benchtests/bench-strcpy_chk.c: Likewise.
11535 * benchtests/bench-strlen.c: Likewise.
11536 * benchtests/bench-strncasecmp.c: Likewise.
11537 * benchtests/bench-strncat.c: Likewise.
11538 * benchtests/bench-strncmp.c: Likewise.
11539 * benchtests/bench-strncpy.c: Likewise.
11540 * benchtests/bench-strnlen.c: Likewise.
11541 * benchtests/bench-strpbrk.c: Likewise.
11542 * benchtests/bench-strrchr.c: Likewise.
11543 * benchtests/bench-strspn.c: Likewise.
11544 * benchtests/bench-strstr.c: Likewise.
11545
cae16d66
WN
115462013-09-04 Will Newton <will.newton@linaro.org>
11547
11548 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11549
ffa3cd7f
JM
115502013-09-03 Joseph Myers <joseph@codesourcery.com>
11551
11552 [BZ #15427]
11553 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11554 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11555 * math/libm-test.inc (lgamma_test_data): Add more tests.
11556 * sysdeps/i386/fpu/libm-test-ulps: Update.
11557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11558
8f02859f
OB
115592013-09-03 Ondřej Bílka <neleai@seznam.cz>
11560
11561 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11563 Add ifunc.
11564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11565 Add strcmp-sse2-unaligned
11566 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11567
18d43716
MF
115682013-09-02 Mike Frysinger <vapier@gentoo.org>
11569
11570 * Versions.def (libc): Add GLIBC_2.19.
11571
ac444012
MF
115722013-09-02 Mike Frysinger <vapier@gentoo.org>
11573
11574 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11575 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11576
b7835e32
JM
115772013-09-02 Joseph Myers <joseph@codesourcery.com>
11578
11579 [BZ #14155]
11580 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11581 intermediate calculations in recurrence.
11582 (__ieee754_ynf): Likewise.
11583 * math/libm-test.inc (jn_test_data): Do not allow spurious
11584 underflow exception. Add more tests.
11585 (yn_test_data): Add more tests.
11586 * sysdeps/i386/fpu/libm-test-ulps: Update.
11587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11588
8220f4f0
OB
115892013-09-02 Ondřej Bílka <neleai@seznam.cz>
11590
11591 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11592
f24a6d08
OB
115932013-08-30 Ondřej Bílka <neleai@seznam.cz>
11594
11595 * csu/init-first.c: Fix then/than typos.
11596 * locale/programs/ld-collate.c: Likewise.
11597 * locale/programs/linereader.h: Likewise.
11598 * manual/charset.texi: Likewise.
11599 * manual/filesys.texi: Likewise.
11600 * manual/stdio.texi: Likewise.
11601 * manual/string.texi: Likewise.
11602 * stdlib/fmtmsg.c: Likewise.
11603 * sysdeps/i386/stpncpy.S: Likewise.
11604 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11605 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11606 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11607 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11608
382466e0
OB
116092013-08-30 Ondřej Bílka <neleai@seznam.cz>
11610
11611 * elf/dl-open.c: Fix typos.
11612 * iconvdata/gbbig5.c: Likewise.
11613 * iconvdata/iso-2022-jp.c: Likewise.
11614 * iconv/gconv_int.h: Likewise.
11615 * iconv/loop.c: Likewise.
11616 * nis/rpcsvc/nis.h: Likewise.
11617 * resolv/ns_name.c: Likewise.
11618 * stdio-common/vfscanf.c: Likewise.
11619 * streams/stropts.h: Likewise.
11620 * sunrpc/rpc_thread.c: Likewise.
11621 * sysdeps/i386/strpbrk.S: Likewise.
11622 * sysdeps/ieee754/k_standard.c: Likewise.
11623 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11625 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11626 * sysdeps/mach/hurd/profil.c: Likewise.
11627 * sysdeps/s390/dl-procinfo.h: Likewise.
11628 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11629 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11630 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11631 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11632 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11633
0186c6e9
OB
116342013-08-30 Ondřej Bílka <neleai@seznam.cz>
11635
11636 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11637 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11638
d4e16af1
OB
116392013-08-29 Ondřej Bílka <neleai@seznam.cz>
11640
11641 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11642 aix specific files.
11643 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11644 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11645 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11646 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11647 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11648 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11649 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11650 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11651
88335980
TS
116522013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11653 Roland McGrath <roland@hack.frob.com>
11654
11655 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11656 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11657
ed479b02
ST
116582013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11659
11660 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11661 __executable_start symbol instead of _start.
11662
f1cc4c86
TS
116632013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11664
d821f07c
TS
11665 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11666 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11667 Move macros to...
11668 * sysdeps/gnu/ldsodefs.h: ... this new file.
11669
c54290cf
TS
11670 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11671 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11672 instead of ELFOSABI_LINUX.
11673
0007fc9b 11674 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11675 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11676 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11677 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11678 Likewise.
11679 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11680 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11682 Likewise.
11683 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11684 (ibm_extended_long_double): Add ieee_nan member.
11685 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11686 (do_test): New function.
11687
f1cc4c86
TS
11688 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11689 TEST_TRUNC.
11690 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11691 functions, renamed from truncdfsf_test, trunctfsf_test,
11692 trunctfdf_test.
11693 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11694 functions.
11695 (do_test): Run all these.
11696
6f65e668
OB
116972013-08-29 Ondřej Bílka <neleai@seznam.cz>
11698
11699 * argp/argp-help.c: Fix typos.
11700 * argp/argp-parse.c: Likewise.
11701 * debug/backtracesyms.c: Likewise.
11702 * elf/elf.h: Likewise.
11703 * malloc/malloc.c: Likewise.
11704 * nis/nis_print.c: Likewise.
11705 * resolv/res_comp.c: Likewise.
11706 * stdlib/stdlib.h: Likewise.
11707 * sunrpc/clnt_tcp.c: Likewise.
11708 * sunrpc/clnt_udp.c: Likewise.
11709 * sunrpc/clnt_unix.c: Likewise.
11710 * sysdeps/unix/bsd/ptsname.c: Likewise.
11711 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11712 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11714 Likewise.
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11716 Likewise.
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11718 Likewise.
6f65e668
OB
11719 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11720
3a309239
SP
117212013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11722
11723 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11725
3b813b29
MF
117262013-08-27 Mike Frysinger <vapier@gentoo.org>
11727
11728 [BZ #15897]
11729 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11730 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11731 ($(objpfx)bug-dl-leaf): New rule.
11732 ($(objpfx)bug-dl-leaf.so): Likewise.
11733 ($(objpfx)bug-dl-leaf.out): Likewise.
11734 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11735 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11736 * dlfcn/bug-dl-leaf.c: New test.
11737 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11738 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11739 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11740 (dlclose): Likewise.
11741 (dlmopen): Likewise.
11742
8cc3269f
RM
117432013-08-27 Roland McGrath <roland@hack.frob.com>
11744
7f9d0034
RM
11745 * include/netdb.h [!_ISOMAC]:
11746 Don't include <tls.h>.
11747 (h_errno, __libc_h_errno): Move declaration and macros out of
11748 [_LIBC_REENTRANT].
11749
fb431262
RM
11750 * include/resolv.h [_RESOLV_H_]:
11751 Don't include <tls.h>.
11752 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11753 * resolv/res_libc.c: Don't include <tls.h>.
11754 (_res): Use __attribute__ ((nocommon)) in place of
11755 __attribute__ ((section (".bss"))).
11756
bd81123a
RM
11757 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11758 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11759
c4e42566
RM
11760 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11761
f890a59b
RM
11762 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11763 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11764
11765 * resolv/res_mkquery.c: Include <sys/time.h>.
11766
5d1f0a09
RM
11767 * inet/ifreq.c: Moved to ...
11768 * sysdeps/unix/ifreq.c: ... here.
11769 * inet/ifreq.c: New file, true stub version.
11770
6fcf28b3
RM
11771 * socket/sa_len.c: New file.
11772 * socket/Makefile (aux): Add it.
11773 * sysdeps/unix/sysv/linux/Makefile
11774 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11775 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11776 and #include <socket/sa_len.c>.
11777 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11778 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11779
e041fb8b
RM
11780 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11781 * bits/socket.h: ... here.
11782
8cc3269f
RM
11783 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11784 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11785 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11786
5d228a43
AS
117872013-08-27 Andreas Schwab <schwab@suse.de>
11788
45b8accc
AS
11789 [BZ #15736]
11790 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11791 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11792 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11793 * string/test-strcasecmp.c (test_main): Run tests in several
11794 locales.
11795 * string/test-strncasecmp.c (test_main): Likewise.
11796
5d228a43
AS
11797 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11798 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11799 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11800 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11801 (__strncasecmp_ssse3) [PIC]: Likewise.
11802
59d112a4
RM
118032013-08-26 Roland McGrath <roland@hack.frob.com>
11804
53234cc3
RM
11805 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11806
59d112a4
RM
11807 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11808 instead of explicitly declaring xdecrypt.
11809 * nis/nss_nis/nis-publickey.c: Likewise.
11810
595aba70
SP
118112013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11812
11813 [BZ #15890]
11814 * nscd/aicache.c: Include res_hconf.h.
11815 (addhstaiX): Initialize res_hconf.
11816
ffabd393
AS
118172013-08-26 Andreas Schwab <schwab@suse.de>
11818
11819 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11820 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11821
e0a69f5c
SP
118222013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11823
11824 * nscd/aicache.c (addhstaiX): Fix indentation.
11825
8c12f01d
MF
118262013-08-25 Mike Frysinger <vapier@gentoo.org>
11827
11828 * configure.ac: Quote $build_pt_chown test.
11829 * configure: Regenerated.
11830
8fe89494
JM
118312013-08-23 Joseph Myers <joseph@codesourcery.com>
11832
11833 [BZ #15532]
11834 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11835 * math/s_cexpf.c (__cexpf): Likewise.
11836 * math/s_cexpl.c (__cexpl): Likewise.
11837 * math/libm-test.inc (cexp_test_data): Correct expected return
11838 value for NaN + i0. Add another test.
11839
75b181d6
DM
118402013-08-22 David S. Miller <davem@davemloft.net>
11841
11842 * po/ca.po: Update Catalan translation from translation project.
936241e4 11843 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11844
acd06bb1
JM
118452013-08-21 Joseph Myers <joseph@codesourcery.com>
11846
11847 [BZ #15797]
11848 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11849 is infinite, not alongside NaN test.
11850 * math/s_fdimf.c (__fdimf): Likewise.
11851 * math/s_fdiml.c (__fdiml): Likewise.
11852 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11853 errno is unchanged.
11854
c0c3f78a
OB
118552013-08-21 Ondřej Bílka <neleai@seznam.cz>
11856
11857 * argp/argp-help.c: Fix typos.
11858 * crypt/speeds.c: Likewise.
11859 * csu/check_fds.c: Likewise.
11860 * elf/dl-load.c: Likewise.
11861 * elf/dl-open.c: Likewise.
11862 * elf/reldep3.c: Likewise.
11863 * elf/reldep.c: Likewise.
11864 * elf/sprof.c: Likewise.
11865 * iconv/iconv_charmap.c: Likewise.
11866 * iconv/skeleton.c: Likewise.
11867 * iconv/strtab.c: Likewise.
11868 * io/lockf64.c: Likewise.
11869 * libio/libioP.h: Likewise.
11870 * resolv/gai_notify.c: Likewise.
11871 * resolv/ns_name.c: Likewise.
11872 * resolv/ns_samedomain.c: Likewise.
11873 * resolv/res_send.c: Likewise.
11874 * stdlib/random.c: Likewise.
11875 * sunrpc/rpc/xdr.h: Likewise.
11876 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11877 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11878 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11879 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11880 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11881 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11883 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11884 * sysdeps/mach/hurd/check_fds.c: Likewise.
11885 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11886 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11887 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11888 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11889 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11890 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11891 * sysdeps/pthread/aio_notify.c: Likewise.
11892 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11893 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11894 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11895 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11896 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11897
46ed1038
LD
118982013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11899
11900 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11901 version if bit_Slow_SSE4_2 is set.
11902 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11903 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11904
d400dcac
AZ
119052013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11906
11907 [BZ #15867]
11908 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11909 trampoline stack frame information.
11910 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11911 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11912 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11913 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11914 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11915 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11916 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11917 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11918 sa_flags value.
11919 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11920 interrupting a syscall and set with option SA_SIGINFO.
11921
42c8fdd8
JM
119222013-08-20 Joseph Myers <joseph@codesourcery.com>
11923
c980f2f4
JM
11924 [BZ #15531]
11925 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11926 argument is infinite.
11927 * math/s_cprojf.c (__cprojf): Likewise.
11928 * math/s_cprojl.c (__cprojl): Likewise.
11929 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11930 * math/libm-test.inc (cproj_test_data): Add more tests.
11931
0716c4fc
JM
11932 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11933
42c8fdd8
JM
11934 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11935 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11936 size. Use __ffs to determine corresponding shift.
11937
b31469d0
JM
119382013-08-20 Joseph Myers <joseph@codesourcery.com>
11939 Roland McGrath <roland@hack.frob.com>
11940
11941 * Makefile (INSTALL): Remove trailing blank lines from output of
11942 makeinfo.
11943
4e39af6e
AK
119442013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11945
11946 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11947 Align 32 bit compat elf_greg to 8 bytes.
11948
f315524e
AA
119492013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11950
11951 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11952
1326ba1a
SP
119532013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11954
11955 * string/strcoll_l.c (coll_seq): New structure.
11956 (get_next_seq_cached): New function.
11957 (get_next_seq): New function.
11958 (do_compare): New function.
11959 (STRCOLL): Use GNU style definition. Simplify implementation
11960 by using get_next_seq, get_next_seq_cached and do_compare.
11961
91ce4085
FW
119622013-08-16 Florian Weimer <fweimer@redhat.com>
11963
11964 [BZ #14699]
11965 CVE-2013-4237
11966 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11967 member.
11968 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11969 member.
11970 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11971 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11972 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11973 conditional.
11974 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11975 GETDENTS_64BIT_ALIGNED.
11976 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11977 * manual/filesys.texi (Reading/Closing Directory): Document
11978 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11979 strongly.
11980 * manual/conf.texi (Limits for Files): Add portability note to
11981 NAME_MAX, PATH_MAX.
11982 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11983
ca0a6bc4
AS
119842013-08-13 Andreas Schwab <schwab@suse.de>
11985
11986 [BZ #15749]
11987 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11988 of fabs.
11989 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11990 LDBL_MAX_EXP >= 16384]: Add tests for it.
11991
6c1fd795
DM
119922013-08-12 David S. Miller <davem@davemloft.net>
11993
11994 * version.h (RELEASE): Set to "development".
11995 (VERSION): Set to "2.18.90".
11996 * NEWS: Add 2.19 section.
11997
31ad488d
DM
119982013-08-03 David S. Miller <davem@davemloft.net>
11999
12000 * po/ko.po: Update Korean translation from translation project.
12001
db24e684
DM
120022013-08-01 David S. Miller <davem@davemloft.net>
12003
12004 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12005 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12006 Bilka.
12007
f723285b
DM
120082013-07-30 David S. Miller <davem@davemloft.net>
12009
12010 * po/fr.po: Update French translation from translation project.
12011
3cbc52db
DM
120122013-07-28 David S. Miller <davem@davemloft.net>
12013
30bbc0cc
DM
12014 * po/cs.po: Update Czech translation from translation project.
12015
3cbc52db
DM
12016 * po/sv.po: Update Swedish translation from translation project.
12017
d492e6d0
DM
120182013-07-27 David S. Miller <davem@davemloft.net>
12019
f1a7f492
DM
12020 * po/eo.po: Update Esperanto translation from translation project.
12021
90e62a4a
DM
12022 * po/vi.po: Update Vietnamese translation from translation project.
12023
d492e6d0
DM
12024 * po/de.po: Update German translation from translation project.
12025
d4baa62d
DM
120262013-07-26 David S. Miller <davem@davemloft.net>
12027
641aa7b4
DM
12028 * po/bg.po: Update Bulgarian translation from translation project.
12029
d4baa62d
DM
12030 * po/nl.po: Update Dutch translation from translation project.
12031 * po/pl.po: Update Polish translation from translation project.
12032 * po/ru.po: Update Russian translation from translation project.
12033
61a9dcb9
DM
120342013-07-24 David S. Miller <davem@davemloft.net>
12035
12036 * po/libc.pot: Update.
12037
7b1f8b58
AZ
120382013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12039
12040 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12041 variable page size.
12042 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12043 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12044 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12045
a8fc7a03
AK
120462013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12047
12048 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12049
e4608715
CD
120502013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12051 Andreas Schwab <schwab@suse.de>
12052 Roland McGrath <roland@hack.frob.com>
12053 Joseph Myers <joseph@codesourcery.com>
12054 Carlos O'Donell <carlos@redhat.com>
12055
12056 [BZ #15755]
12057 * config.h.in: Define HAVE_PT_CHOWN.
12058 * config.make.in (build-pt-chown): New variable.
12059 * configure.in (--enable-pt_chown): New configure option.
12060 * configure: Regenerate.
12061 * login/Makefile: Include Makeconfig. Build pt_chown only if
12062 build-pt-chown is enabled.
12063 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12064 pt_chown to fix pty ownership.
12065 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12066 CLOSE_ALL_FDS.
12067 * manual/install.texi (Configuring and compiling): Mention
12068 --enable-pt_chown. Add @findex for grantpt.
12069 * INSTALL: Regenerate.
12070
da2d62df
DM
120712013-07-20 David S. Miller <davem@davemloft.net>
12072
12073 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12074 difference between 32-bit and 64-bit.
12075
d7e06450
CD
120762013-07-15 Carlos O'Donell <carlos@redhat.com>
12077
12078 [BZ #15711]
12079 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12080 Avoid system header dependency with -ffreestanding.
12081 ($(objpfx)bits/syscall%d): Likewise.
12082
f959cfd7
DM
120832013-07-13 David S. Miller <davem@davemloft.net>
12084
12085 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12086 underflows from atanl/atan2l due to bug 15319.
12087 (casinh_test_data): Likewise.
12088
c61f8513
DM
120892013-07-07 David S. Miller <davem@davemloft.net>
12090
12091 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12092
72c90ed0
JA
120932013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12094
12095 * sysdeps/i386/fpu/libm-test-ulps: Update.
12096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12097
52dfbe13
SP
120982013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12099
12100 * configure.in (--enable-lock-elision): Fix message text.
12101 * INSTALL: Regenerate.
12102 * configure: Regenerate.
12103
3f169543
AZ
121042013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12105
12106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12107
521c6785
AJ
121082013-07-03 Andreas Jaeger <aj@suse.de>
12109
12110 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12111 define.
12112 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12113 (ptrace_peeksiginfo_args): Add.
12114 (__ptrace_peeksiginfo_flags): Add.
12115 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12116 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12117 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12118
d2cc15cb
AM
121192013-07-03 Allan McRae <allan@archlinux.org>
12120
12121 * sysdeps/i386/fpu/libm-test-ulps: Update.
12122
3aaeeca7
DM
121232013-07-02 David S. Miller <davem@davemloft.net>
12124
12125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12126
5314ed1a
MT
121272013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12128
12129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12130
67338156
JM
121312013-07-02 Joseph Myers <joseph@codesourcery.com>
12132
12133 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12135
1717da59
AK
121362013-07-02 Andi Kleen <ak@linux.intel.com>
12137
12138 * config.h.in (ENABLE_LOCK_ELISION): Add.
12139 * configure.in (--enable-lock-elision): Add option.
12140 * manual/install.texi: Document --enable lock elision.
12141 * configure: Regenerate
12142 * INSTALL: Regenerate.
12143
1c81621c
L
121442013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12145
12146 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12147 SSE4.2 strcasecmp for libc.a.
12148 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12149
77f01ab5
JM
121502013-07-02 Joseph Myers <joseph@codesourcery.com>
12151
12152 [BZ #13304]
12153 * soft-fp/op-common.h (_FP_FMA): New macro.
12154 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12155 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12156 (_FP_MUL_MEAT_1_imm): ... here.
12157 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12158 (_FP_MUL_MEAT_1_wide): ... here.
12159 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12160 (_FP_MUL_MEAT_1_hard): ... here.
12161 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12162 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12163 (_FP_MUL_MEAT_2_wide): ... here.
12164 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12165 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12166 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12167 (_FP_MUL_MEAT_2_gmp): ... here.
12168 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12169 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12170 (_FP_MUL_MEAT_4_wide): ... here.
12171 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12172 (_FP_MUL_MEAT_4_gmp): ... here.
12173 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12174 (_FP_WFRACBITS_DW_S): Likewise.
12175 (_FP_WFRACXBITS_DW_S): Likewise.
12176 (_FP_HIGHBIT_DW_S): Likewise.
12177 (FP_FMA_S): Likewise.
12178 (_FP_FRAC_HIGH_DW_S): Likewise.
12179 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12180 (_FP_WFRACBITS_DW_D): Likewise.
12181 (_FP_WFRACXBITS_DW_D): Likewise.
12182 (_FP_HIGHBIT_DW_D): Likewise.
12183 (FP_FMA_D): Likewise.
12184 (_FP_FRAC_HIGH_DW_D): Likewise.
12185 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12186 (_FP_WFRACBITS_DW_E): Likewise.
12187 (_FP_WFRACXBITS_DW_E): Likewise.
12188 (_FP_HIGHBIT_DW_E): Likewise.
12189 (FP_FMA_E): Likewise.
12190 (_FP_FRAC_HIGH_DW_E): Likewise.
12191 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12192 (_FP_WFRACBITS_DW_Q): Likewise.
12193 (_FP_WFRACXBITS_DW_Q): Likewise.
12194 (_FP_HIGHBIT_DW_Q): Likewise.
12195 (FP_FMA_Q): Likewise.
12196 (_FP_FRAC_HIGH_DW_Q): Likewise.
12197 * soft-fp/fmasf4.c: New file.
12198 * soft-fp/fmadf4.c: Likewise.
12199 * soft-fp/fmatf4.c: Likewise.
12200
6308fd9a
LD
122012013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12202
12203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12204 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12205 Silvermont.
12206 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12207 macro.
12208 (index_Slow_SSE4_2): Likewise.
12209 (index_Prefer_PMINUB_for_stringop): Likewise.
12210 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12211 bit_Slow_SSE4_2 is set.
12212 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12213 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12214
89cd9569
RA
122152013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12216
12217 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12218 rtld_global._dl_hwcap2.
12219 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12220 POWER8.
12221 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12222 POWER8 feature descriptions defined in _dl_hwcap2.
12223 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12224 string handling for POWER8 feature bits.
12225 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12226 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12227 _dl_powerpc_cap_flags.
12228 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12229 * sysdeps/powerpc/rtld-global-offsets.sym
12230 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12231 _dl_hwcap2 in the rtld_global_ro structure.
12232
1ae8bfe0
RA
122332013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12234
12235 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12236 hardware capabilities in support of AT_HWCAP2.
12237 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12238 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12239 GLRO(dl_hwcap2).
12240 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12241 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12242 explicitly the unknown a_type display mechanism is used.
12243 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12244 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12245 struct member.
12246 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12247 to macro prototype for AT_HWCAP2 support.
12248 * sysdeps/i386/dl-procinfo.h: Likewise.
12249 * sysdeps/s390/dl-procinfo.h: Likewise.
12250 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12251 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12252 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12253 return -1 for unknown a_type display fallback.
12254 * sysdeps/sparc/dl-procinfo.h: Likewise.
12255 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12256 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12257
8fbec010
JM
122582013-06-28 Joseph Myers <joseph@codesourcery.com>
12259
12260 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12261 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12262
0432680e
PY
122632013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12264
12265 [BZ #12492]
12266 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12267 mprotect making __stack_prot writable.
12268
ce61a2ad
NF
122692013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12270 Joseph Myers <joseph@codesourcery.com>
12271
12272 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12273 as being properly aligned.
12274
f91f1c0f
MR
122752013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12276
3d0f5d0c
MR
12277 * dlfcn/modstatic5.c: New file.
12278 * dlfcn/tststatic5.c: New file.
12279 * dlfcn/Makefile (tests): Add tststatic5.
12280 (tests-static): Likewise.
12281 (modules-names): Add modstatic5.
12282 (tststatic5-ENV): New variable.
12283 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12284
f91f1c0f
MR
12285 [BZ #15022]
12286 * elf/dl-support.c (_dl_main_map): New variable.
12287 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12288 (_dl_nns, _dl_load_adds): Set to 1.
12289 (_dl_initial_searchlist): Refer to _dl_main_map.
12290 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12291 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12292 call to _dl_get_origin.
12293 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12294 around call_map.
12295 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12296 * dlfcn/modstatic3.c: New file.
12297 * dlfcn/tststatic3.c: New file.
12298 * dlfcn/tststatic4.c: New file.
12299 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12300 (tests-static): Likewise.
12301 (modules-names): Add modstatic3.
12302 (tststatic3-ENV, tststatic4-ENV): New variables.
12303 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12304 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12305
cbe7d24b
JM
123062013-06-26 Joseph Myers <joseph@codesourcery.com>
12307
12308 * configure.in (CC): Require GCC version 4.4 or later.
12309 * configure: Regenerated.
12310 * manual/install.texi (Tools for Compilation): Update GCC version
12311 requirement.
12312 * INSTALL: Regenerated.
12313
11b8a0e1
LD
123142013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12315
12316 [BZ #15674]
bb5bb87c
L
12317 * string/test-memcmp.c (check2): New.
12318 (main): Call check2.
12319
11b8a0e1
LD
12320 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12321
b0037103
MR
123222013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12323
12324 [BZ #15022]
12325 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12326 over to...
12327 (dl_open_worker) [!SHARED]: ... here.
12328
c18c701d
RA
123292013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12330
12331 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12332
1d17fa5f
RH
123332013-06-25 Richard Henderson <rth@redhat.com>
12334
12335 * locale/programs/locarchive.c: Include <libc-internal.h>
12336
8fcb833a
JM
123372013-06-25 Joseph Myers <joseph@codesourcery.com>
12338
12339 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12340 trailing whitespace removed.
12341
17db6e8d
MF
123422013-06-24 Mike Frysinger <vapier@gentoo.org>
12343
12344 [BZ #10283]
17db6e8d
MF
12345 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12346 * locale/programs/locarchive.c: Include libc-mmap.h.
12347 (prepare_address_space): Take two new outputs (the mmap base and len).
12348 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12349 values.
12350 (create_archive): Declare new mmap base and len values for
12351 prepare_address_space, and store the result in ah.
12352 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12353 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12354 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12355 Declare new mmap base and len values for
12356 prepare_address_space, and store the result in new_ah.
12357 (open_archive): Declare new mmap base and len values for
12358 prepare_address_space, and store the result in ah.
12359 (close_archive): If ah->mmap_base is not NULL, use that and
12360 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12361 * sysdeps/generic/libc-mmap.h: New file.
12362
d605071e
MF
123632013-06-24 Mike Frysinger <vapier@gentoo.org>
12364
12365 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12366 (ALIGN_UP): Likewise.
12367 (PTR_ALIGN_DOWN): Likewise.
12368 (PTR_ALIGN_UP): Likewise.
12369
2f063a6e
RA
123702013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12371
12372 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12373 entry mapped to PPC_PLATFORM_POWER8.
12374 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12375 POWER8.
12376 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12377 (_dl_string_platform): Add case for exporting platform position for
12378 POWER8.
12379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12380 search path to sysdeps/powerpc/powerpc32/power8 directory.
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12382 search path to sysdeps/powerpc/powerpc64/power8 directory.
12383 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12384 power7 directories.
12385 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12386 power7 directories.
12387
a31ee4b3
SP
123882013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12389
a74ca98f
SP
12390 * INSTALL: Regenerate.
12391
a31ee4b3
SP
12392 * nscd/connections.c (nscd_init): Fix comment.
12393
695c378f
JM
123942013-06-22 Joseph Myers <joseph@codesourcery.com>
12395
d8412221
JM
12396 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12397
695c378f
JM
12398 [BZ #15667]
12399 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12400 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12401
d1d54715
MR
124022013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12403
12404 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12405 DL_DST_REQ_STATIC.
12406 (DL_DST_REQ_STATIC): Remove macro.
12407
8fdda7af
JM
124082013-06-21 Joseph Myers <joseph@codesourcery.com>
12409
12410 [BZ #7006]
12411 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12412 with a shift of 0 bits.
12413
f3bc5e5a
MR
124142013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12415
12416 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12417 $(tststatic-ENV).
12418
be09e8c9
KK
124192013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12420
12421 [BZ #15655]
12422 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12423
85c2e611
AZ
124242013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12425
12426 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12427 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12428 accepts -fno-tree-loop-distribute-patterns.
12429 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12430 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12431 recursive call.
12432 * string/memset.c (memset): Likewise.
12433 * string/test-memmove.c (simple_memmove): Disable loop transformation
12434 to library calls.
12435 * string/test-memset.c (simple_memset): Likewise.
12436 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12437 * benchtests/bench-memset.c (simple_memset): Likewise.
12438 * configure: Regenerated.
12439
c91e0825
JM
124402013-06-20 Joseph Myers <joseph@codesourcery.com>
12441
b8c792af
JM
12442 * math/test-misc.c (main): Ignore fesetround failure when failures
12443 of subsequent rounding tests would be ignored.
12444
c91e0825
JM
12445 [BZ #15654]
12446 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12447 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12448 * math/fegetenv.c (__fegetenv): Return 0.
12449 * math/fegetexcept.c (fegetexcept): Return 0.
12450 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12451 FE_TONEAREST.
12452 * math/feholdexcpt.c (feholdexcept): Return 0.
12453 * math/fesetenv.c (__fesetenv): Return 0.
12454 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12455 argument FE_TONEAREST.
12456 * math/feupdateenv.c (__feupdateenv): Return 0.
12457 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12458
bfcacbde
RM
124592013-06-18 Roland McGrath <roland@hack.frob.com>
12460
12461 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12462 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12463 ($(objpfx)rtld-%.os rules): Use them.
12464
e55a9b25
AZ
124652013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12466
12467 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12468 fields.
12469
346d65b3
RM
124702013-06-17 Roland McGrath <roland@hack.frob.com>
12471
12086fb4
RM
12472 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12473 length of target pattern, then descending length of dependency pattern.
12474 * configure.in (AWK): Require gawk 3.1.2 or newer.
12475 * manual/install.texi (Tools for Compilation): Say that we do.
12476 * configure: Regenerated.
12477
346d65b3
RM
12478 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12479 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12480 * scripts/sysd-rules.awk: ... this new script.
12481 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12482 than a glob-style pattern.
12483
1a846317
JM
124842013-06-17 Joseph Myers <joseph@codesourcery.com>
12485
12486 * math/test-misc.c (main): Do not treat incorrectly rounded
12487 conversions as failure unless ROUNDING_TESTS passes.
12488
8fc75e6f
JM
124892013-06-15 Joseph Myers <joseph@codesourcery.com>
12490
3711a167
JM
12491 [BZ #15631]
12492 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12493 restore exception state around main square root computation, then
12494 check for inexactness explicitly.
12495
8fc75e6f
JM
12496 * math/libm-test.inc (fma_test_data): Add another test.
12497
61dd6208
SP
124982013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12499
adf23d2c
SP
12500 * manual/threads.texi (Non-POSIX Extensions): New document
12501 node. Document pthread_getattr_default_np and
12502 pthread_setattr_default_np.
12503
61dd6208
SP
12504 * Versions.def (libpthread): Add GLIBC_2.18.
12505 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12507 Likewise.
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12509 Likewise.
12510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12511 Likewise.
12512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12513 Likewise.
12514 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12515 Likewise.
12516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12517 Likewise.
12518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12519 Likewise.
12520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12521 Likewise.
12522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12523 Likewise.
12524
d086fc7b
LD
125252013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12526
12527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12528 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12529
747ef469
SP
125302013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12531 H.J. Lu <hjl.tools@gmail.com>
12532
12533 [BZ #15627]
12534 * sysdeps/x86_64/rtld-memset.c: Remove file.
12535 * sysdeps/x86_64/rtld-memset.S: New file.
12536
1b2feed2
JM
125372013-06-14 Joseph Myers <joseph@codesourcery.com>
12538
12539 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12540 (test_in_one_mode): Take arguments for whether the rounding mode
12541 is supported for each floating-point type.
12542 (do_test): Pass new arguments to test_in_one_mode using
12543 ROUNDING_TESTS.
12544
a58ad3f8
RM
125452013-06-13 Roland McGrath <roland@hack.frob.com>
12546
12547 * posix/tst-waitid.c (do_test): Distinguish different instances of
12548 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12549 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12550 before entering the kernel for waitpid.
12551
c204ab28
SP
125522013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12553
12554 * NEWS: Fix note on clock function precision. Text by Roland
12555 McGrath.
12556
f4a29fba
RM
125572013-06-13 Roland McGrath <roland@hack.frob.com>
12558
12559 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12560 it into place only when and if the sanity check passes.
12561
1f24b9ad
JM
125622013-06-13 Joseph Myers <joseph@codesourcery.com>
12563
12564 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12565 output for whether conversion result is exact. Take argument
12566 indicating whether type is IBM long double.
12567 (round_for_all): Change need_exact field to ibm_ld.
12568 * stdlib/tst-strtod-round.c (struct exactness): New type.
12569 (struct test): Change bool ld_ok field to struct exactness exact.
12570 (TEST): Update all definitions for change to field.
12571 (tests): Regenerate array contents.
12572 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12573 field value. Check for IBM long double here.
12574 (do_test): Update calls to test_in_one_mode.
12575
58206c68
SP
125762013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12577
12578 [BZ #12515]
12579 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12580 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12581
2d6f4c5b 125822013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
12583
12584 [BZ #15605]
12585 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12586 generated by the compiler on loop optimizations.
12587 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12588 general definitions.
12589
94f2c076
JM
125902013-06-12 Joseph Myers <joseph@codesourcery.com>
12591
12592 * math/bug-nextafter.c: Include <math-tests.h>.
12593 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12594 the relevant type.
12595 * math/bug-nexttoward.c: Include <math-tests.h>.
12596 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12597 the relevant type.
12598 * math/test-misc.c: Include <math-tests.h>.
12599 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12600 the relevant type.
12601
e0e50a0a
AJ
126022013-06-12 Andreas Jaeger <aj@suse.de>
12603
12604 * po/ia.po: Update Interlingua translation from translation
12605 project.
12606
25061094
SP
126072013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12608
12609 * include/fenv.h: Include stdbool.h.
12610 (struct rm_ctx): New structure.
12611 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12612 Define macro.
12613 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12614 (SET_RESTORE_ROUNDF): Likewise.
12615 (SET_RESTORE_ROUNDL): Likewise.
12616 (SET_RESTORE_ROUND_NOEX): Likewise.
12617 (SET_RESTORE_ROUND_NOEXF): Likewise.
12618 (SET_RESTORE_ROUND_NOEXL): Likewise.
12619 (SET_RESTORE_ROUND_53BIT): Likewise.
12620 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12621 (libc_feresetround_noexf_ctx): Likewise.
12622 (libc_feresetround_noexl_ctx): Likewise.
12623 (libc_feholdsetround_53bit_ctx): Likewise.
12624 (libc_feresetround_53bit_ctx): Likewise.
12625 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12626 (libc_feholdexcept_setround_sse_ctx): New function.
12627 (libc_fesetenv_sse_ctx): Likewise.
12628 (libc_feupdateenv_sse_ctx): Likewise.
12629 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12630 (libc_feholdexcept_setround_387_ctx): Likewise.
12631 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12632 (libc_feholdsetround_387_prec_ctx): Likewise.
12633 (libc_feholdsetround_387_ctx): Likewise.
12634 (libc_feholdsetround_387_53bit_ctx): Likewise.
12635 (libc_feholdsetround_sse_ctx): Likewise.
12636 (libc_feresetround_sse_ctx): Likewise.
12637 (libc_feresetround_387_ctx): Likewise.
12638 (libc_feupdateenv_387_ctx): Likewise.
12639 (libc_feholdexcept_setroundf_ctx): Define macro.
12640 (libc_fesetenvf_ctx): Likewise.
12641 (libc_feupdateenvf_ctx): Likewise.
12642 (libc_feholdsetroundf_ctx): Likewise.
12643 (libc_feresetroundf_ctx): Likewise.
12644 (libc_feholdexcept_setround_ctx): Likewise.
12645 (libc_fesetenv_ctx): Likewise.
12646 (libc_feupdateenv_ctx): Likewise.
12647 (libc_feholdsetround_ctx): Likewise.
12648 (libc_feresetround_ctx): Likewise.
12649 (libc_feholdexcept_setroundl_ctx): Likewise.
12650 (libc_feupdateenvl_ctx): Likewise.
12651 (libc_feholdsetroundl_ctx): Likewise.
12652 (libc_feresetroundl_ctx): Likewise.
12653 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12654 (libc_feresetround_53bit_ctx): Likewise.
12655
59b30555
SP
126562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12657
12658 * locale/iso-639.def: Convert to UTF-8.
12659
f1d73d30
JM
126602013-06-11 Joseph Myers <joseph@codesourcery.com>
12661
12662 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12663 (EXCEPTION_TESTS_double): Likewise.
12664 (EXCEPTION_TESTS_long_double): Likewise.
12665 (EXCEPTION_TESTS): Likewise.
12666 * math/libm-test.inc (test_exceptions): Only test exceptions if
12667 EXCEPTION_TESTS (FLOAT).
12668
94aca5e7
SP
126692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12670
12671 * benchtests/Makefile (string-bench): Add strcpy_chk and
12672 stpcpy_chk.
12673 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12674 * benchtests/bench-stpcpy_chk.c: New file.
12675 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12676 * benchtests/bench-strcpy_chk.c: New file.
12677 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12678 code.
12679 (do_test): Likewise.
12680
fac0c5f2
RA
126812013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12682
12683 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12684 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12685 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12686 with tabs where appropriate.
12687 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12688 dl-procinfo.h.
12689 [PPC_PLATFORM_PPC440]: Likewise.
12690 [PPC_PLATFORM_PPC464]: Likewise.
12691 [PPC_PLATFORM_PPC476]: Likewise.
12692 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12693 ppc464, and ppc476 platform strings merging from ports/
12694 dl-procinfo.h.
12695
f22bc486
AS
126962013-06-11 Andreas Schwab <schwab@suse.de>
12697
12698 [BZ #14991]
12699 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12700 (from_ucs4_idx): Regenerate.
12701 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12702 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12703 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12704 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12705 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12706 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12707 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12708 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12709 from FROM_LOOP and TO_LOOP specific macros.
12710 (BODY): Handle combining characters.
12711 * iconvdata/BIG5HKSCS.irreversible: Update.
12712 * iconvdata/BIG5HKSCS.precomposed: New file.
12713 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12714 characters.
12715 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12716
c1f75dc3
SP
127172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12718
4eacded2
SP
12719 * include/sys/time.h: Fix indentation and add copyright header.
12720
fec799f8
SP
12721 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12722 (do_test): Likewise.
12723 * string/test-memchr.c (do_one_test): Likewise.
12724 (do_test): Likewise.
12725 * string/test-memcmp.c (do_one_test): Likewise.
12726 (do_test): Likewise.
12727 * string/test-memcpy.c (do_one_test): Likewise.
12728 (do_test): Likewise.
12729 * string/test-memmem.c (do_one_test): Likewise.
12730 (do_test): Likewise.
12731 (do_random_tests): Likewise.
12732 * string/test-memmove.c (do_one_test): Likewise.
12733 (do_test): Likewise.
12734 * string/test-memset.c (do_one_test): Likewise.
12735 (do_test): Likewise.
12736 * string/test-rawmemchr.c (do_one_test): Likewise.
12737 (do_test): Likewise.
12738 * string/test-strcasecmp.c (do_one_test): Likewise.
12739 (do_test): Likewise.
12740 * string/test-strcasestr.c (do_one_test): Likewise.
12741 (do_test): Likewise.
12742 * string/test-strcat.c (do_one_test): Likewise.
12743 (do_test): Likewise.
12744 * string/test-strchr.c (do_one_test): Likewise.
12745 (do_test): Likewise.
12746 * string/test-strcmp.c (do_one_test): Likewise.
12747 (do_test): Likewise.
12748 * string/test-strcpy.c (do_one_test): Likewise.
12749 (do_test): Likewise.
12750 * string/test-string.h: Likewise.
12751 (test_init): Likewise.
12752 * string/test-strlen.c (do_one_test): Likewise.
12753 (do_test): Likewise.
12754 * string/test-strncasecmp.c (do_one_test): Likewise.
12755 (do_test): Likewise.
12756 * string/test-strncat.c (do_one_test): Likewise.
12757 (do_test): Likewise.
12758 * string/test-strncmp.c (do_one_test): Likewise.
12759 (do_test_limit): Likewise.
12760 (do_test): Likewise.
12761 * string/test-strncpy.c (do_one_test): Likewise.
12762 (do_test): Likewise.
12763 * string/test-strnlen.c (do_one_test): Likewise.
12764 (do_test): Likewise.
12765 * string/test-strpbrk.c (do_one_test): Likewise.
12766 (do_test): Likewise.
12767 * string/test-strrchr.c (do_one_test): Likewise.
12768 (do_test): Likewise.
12769 * string/test-strspn.c (do_one_test): Likewise.
12770 (do_test): Likewise.
12771 * string/test-strstr.c (do_one_test): Likewise.
12772 (do_test): Likewise.
12773
97020474
SP
12774 * benchtests/Makefile (string-bench): Add string benchmarks.
12775 * benchtests/bench-bcopy-ifunc.c: New file.
12776 * benchtests/bench-bcopy.c: New file.
12777 * benchtests/bench-bzero-ifunc.c: New file.
12778 * benchtests/bench-bzero.c: New file.
12779 * benchtests/bench-memccpy-ifunc.c: New file.
12780 * benchtests/bench-memccpy.c: New file.
12781 * benchtests/bench-memchr-ifunc.c: New file.
12782 * benchtests/bench-memchr.c: New file.
12783 * benchtests/bench-memcmp-ifunc.c: New file.
12784 * benchtests/bench-memcmp.c: New file.
12785 * benchtests/bench-memmem-ifunc.c: New file.
12786 * benchtests/bench-memmem.c: New file.
12787 * benchtests/bench-memmove-ifunc.c: New file.
12788 * benchtests/bench-memmove.c: New file.
12789 * benchtests/bench-mempcpy-ifunc.c: New file.
12790 * benchtests/bench-mempcpy.c: New file.
12791 * benchtests/bench-memset-ifunc.c: New file.
12792 * benchtests/bench-memset.c: New file.
12793 * benchtests/bench-rawmemchr-ifunc.c: New file.
12794 * benchtests/bench-rawmemchr.c: New file.
12795 * benchtests/bench-stpcpy-ifunc.c: New file.
12796 * benchtests/bench-stpcpy.c: New file.
12797 * benchtests/bench-stpncpy-ifunc.c: New file.
12798 * benchtests/bench-stpncpy.c: New file.
12799 * benchtests/bench-strcasecmp-ifunc.c: New file.
12800 * benchtests/bench-strcasecmp.c: New file.
12801 * benchtests/bench-strcasestr-ifunc.c: New file.
12802 * benchtests/bench-strcasestr.c: New file.
12803 * benchtests/bench-strcat-ifunc.c: New file.
12804 * benchtests/bench-strcat.c: New file.
12805 * benchtests/bench-strchr-ifunc.c: New file.
12806 * benchtests/bench-strchr.c: New file.
12807 * benchtests/bench-strchrnul-ifunc.c: New file.
12808 * benchtests/bench-strchrnul.c: New file.
12809 * benchtests/bench-strcmp-ifunc.c: New file.
12810 * benchtests/bench-strcmp.c: New file.
12811 * benchtests/bench-strcpy-ifunc.c: New file.
12812 * benchtests/bench-strcpy.c: New file.
12813 * benchtests/bench-strcspn-ifunc.c: New file.
12814 * benchtests/bench-strcspn.c: New file.
12815 * benchtests/bench-strlen-ifunc.c: New file.
12816 * benchtests/bench-strlen.c: New file.
12817 * benchtests/bench-strncasecmp-ifunc.c: New file.
12818 * benchtests/bench-strncasecmp.c: New file.
12819 * benchtests/bench-strncat-ifunc.c: New file.
12820 * benchtests/bench-strncat.c: New file.
12821 * benchtests/bench-strncmp-ifunc.c: New file.
12822 * benchtests/bench-strncmp.c: New file.
12823 * benchtests/bench-strncpy-ifunc.c: New file.
12824 * benchtests/bench-strncpy.c: New file.
12825 * benchtests/bench-strnlen-ifunc.c: New file.
12826 * benchtests/bench-strnlen.c: New file.
12827 * benchtests/bench-strpbrk-ifunc.c: New file.
12828 * benchtests/bench-strpbrk.c: New file.
12829 * benchtests/bench-strrchr-ifunc.c: New file.
12830 * benchtests/bench-strrchr.c: New file.
12831 * benchtests/bench-strspn-ifunc.c: New file.
12832 * benchtests/bench-strspn.c: New file.
12833 * benchtests/bench-strstr-ifunc.c: New file.
12834 * benchtests/bench-strstr.c: New file.
12835
c1f75dc3
SP
12836 * benchtests/Makefile: Disable parallel execution of targets.
12837 (string-bench): Add memcpy.
12838 (benchset): New variable to store a list of benchmark sets.
12839 (bench-func): Renamed from bench.
12840 (bench-set): New target.
12841 (bench): Depend on bench-func and bench-set.
12842 * benchtests/README: Add section on benchmark sets.
12843 * benchtests/bench-memcpy-ifunc.c: New file.
12844 * benchtests/bench-memcpy.c: New file.
12845 * benchtests/bench-string.h: New file.
12846
50fd745b
AS
128472013-06-11 Andreas Schwab <schwab@suse.de>
12848
12849 [BZ #15577]
12850 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12851 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12852 values in the triple.
12853 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12854 terminator in the group key.
12855
3ee7e9fe
AJ
128562013-06-11 Andreas Jaeger <aj@suse.de>
12857
12858 * po/zh_TW.po: Update Chinese (traditional) translation from
12859 translation project.
12860
89fb6835
SP
128612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12862
12863 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12864 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12865 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12866 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12867 (clock_getcpuclockid): Likewise.
12868 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12869 Add weak_alias and libc_hidden_def.
12870 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12871 * rt/clock_gettime.c (clock_gettime): Rename to
12872 __clock_gettime. Add weak_alias and libc_hidden_def.
12873 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12874 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12875 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12876 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12877 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12878 Likewise.
12879 * rt/clock_settime.c (clock_settime): Rename to
12880 __clock_settime. Add weak_alias and libc_hidden_def.
12881 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12882
0efa6f8b
JM
128832013-06-10 Joseph Myers <joseph@codesourcery.com>
12884
b8c61b4b
JM
12885 * mach/err_boot.sub: Remove trailing whitespace.
12886 * mach/err_ipc.sub: Likewise.
12887 * mach/err_mach.sub: Likewise.
12888
0efa6f8b
JM
12889 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12890 (ROUNDING_TESTS_double): Likewise.
12891 (ROUNDING_TESTS_long_double): Likewise.
12892 (ROUNDING_TESTS): Likewise.
12893 * math/libm-test.inc: Include <math-tests.h>.
12894 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12895 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12896 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12897 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12898
50b818bf
SP
128992013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12900
12901 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12902 of assigning.
12903
60d2f8f3
JM
129042013-06-08 Joseph Myers <joseph@codesourcery.com>
12905
4902d2c3
JM
12906 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12907 otherwise empty TRANS lines.
12908 * sysdeps/gnu/errlist.c: Regenerated.
12909
60d2f8f3
JM
12910 * catgets/gencat.c (error_print): Use (void) in function
12911 definition.
12912 * crypt/crypt_util.c (__init_des): Likewise.
12913 * crypt/speeds.c (Stop): Likewise.
12914 (main): Likewise.
12915 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12916 * inet/ruserpass.c (token): Likewise.
12917 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12918 * intl/localealias.c (extend_alias_table): Likewise.
12919 * intl/plural-exp.c (init_germanic_plural): Likewise.
12920 * libio/fcloseall.c (__fcloseall): Likewise.
12921 * libio/genops.c (_IO_flush_all): Likewise.
12922 (_IO_flush_all_linebuffered): Likewise.
12923 (_IO_cleanup): Likewise.
12924 (_IO_iter_begin): Likewise.
12925 (_IO_iter_end): Likewise.
12926 (_IO_list_lock): Likewise.
12927 (_IO_list_unlock): Likewise.
12928 (_IO_list_resetlock): Likewise.
12929 * libio/getchar.c (getchar): Likewise.
12930 * libio/getchar_u.c (getchar_unlocked): Likewise.
12931 * libio/getwchar.c (getwchar): Likewise.
12932 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12933 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12934 * login/getpt.c (__getpt): Likewise.
12935 * login/tst-utmp.c (main): Likewise.
12936 * malloc/hooks.c (__malloc_check_init): Likewise.
12937 * malloc/malloc.c (__malloc_stats): Likewise.
12938 * malloc/mtrace.c (tr_break): Likewise.
12939 (mtrace): Likewise.
12940 (muntrace): Likewise.
12941 * misc/fstab.c (endfsent): Likewise.
12942 * misc/getclktck.c (__getclktck): Likewise.
12943 * misc/getdtsz.c (__getdtablesize): Likewise.
12944 * misc/gethostid.c (gethostid): Likewise.
12945 * misc/getpagesize.c (__getpagesize): Likewise.
12946 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12947 (__get_nprocs): Likewise.
12948 (__get_phys_pages): Likewise.
12949 (__get_avphys_pages): Likewise.
12950 * misc/getttyent.c (getttyent): Likewise.
12951 (setttyent): Likewise.
12952 (endttyent): Likewise.
12953 * misc/getusershell.c (getusershell): Likewise.
12954 (endusershell): Likewise.
12955 (setusershell): Likewise.
12956 (initshells): Likewise.
12957 * misc/hsearch.c (__hdestroy): Likewise.
12958 * misc/sync.c (sync): Likewise.
12959 * misc/syslog.c (closelog_internal): Likewise.
12960 (closelog): Likewise.
12961 * misc/ttyslot.c (ttyslot): Likewise.
12962 * misc/vhangup.c (vhangup): Likewise.
12963 * posix/fork.c (__fork): Likewise.
12964 * posix/getegid.c (__getegid): Likewise.
12965 * posix/geteuid.c (__geteuid): Likewise.
12966 * posix/getgid.c (__getgid): Likewise.
12967 * posix/getpid.c (__getpid): Likewise.
12968 * posix/getppid.c (__getppid): Likewise.
12969 * posix/getuid.c (__getuid): Likewise.
12970 * posix/pause.c (pause): Likewise.
12971 * posix/setpgrp.c (setpgrp): Likewise.
12972 * posix/setsid.c (__setsid): Likewise.
12973 * posix/test-vfork.c (noop): Likewise.
12974 * resolv/gethnamaddr.c (_endhtent): Likewise.
12975 (_gethtent): Likewise.
12976 (ht_endhostent): Likewise.
12977 (gethostent): Likewise.
12978 (dns_service): Likewise.
12979 * stdlib/drand48.c (drand48): Likewise.
12980 * stdlib/lrand48.c (lrand48): Likewise.
12981 * stdlib/mrand48.c (mrand48): Likewise.
12982 * stdlib/rand.c (rand): Likewise.
12983 * stdlib/random.c (__random): Likewise.
12984 * stdlib/setenv.c (clearenv): Likewise.
12985 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12986 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12987 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12988 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12989 (__get_nprocs): Likewise.
12990 (__get_phys_pages): Likewise.
12991 (__get_avphys_pages): Likewise.
12992 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12993 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12994 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12995 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12996 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12997 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12998 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12999 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13000 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13001 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13002 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13003 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13004 * sysdeps/posix/clock.c (clock): Likewise.
13005 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13006 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13007 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13008 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13009 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13010 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13011 (__get_nprocs_conf): Likewise.
13012 (__get_phys_pages): Likewise.
13013 (__get_avphys_pages): Likewise.
13014 * time/clock.c (clock): Likewise.
13015 * time/tzset.c (__tzname_max): Likewise.
13016
2e09a79a
JM
130172013-06-07 Joseph Myers <joseph@codesourcery.com>
13018
13019 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13020 (__bswap_32): Do not use "register".
13021 * crypt/crypt.c (_ufc_doit_r): Likewise.
13022 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13023 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13024 * gmon/gmon.c (__monstartup): Likewise.
13025 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13026 * hurd/hurdmalloc.c (more_memory): Likewise.
13027 (malloc): Likewise.
13028 (free): Likewise.
13029 (realloc): Likewise.
13030 (malloc_fork_prepare): Likewise.
13031 (malloc_fork_parent): Likewise.
13032 (malloc_fork_child): Likewise.
13033 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13034 (_svcauth_des): Likewise.
13035 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13036 * inet/inet_net.c (inet_network): Likewise.
13037 * inet/inet_netof.c (inet_netof): Likewise.
13038 * inet/rcmd.c (__validuser2_sa): Likewise.
13039 * io/fts.c (fts_open): Likewise.
13040 (fts_load): Likewise.
13041 (fts_close): Likewise.
13042 (fts_read): Likewise.
13043 (fts_children): Likewise.
13044 (fts_build): Likewise.
13045 (fts_stat): Likewise.
13046 (fts_sort): Likewise.
13047 (fts_alloc): Likewise.
13048 (fts_lfree): Likewise.
13049 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13050 (_IO_file_xsgetn): Likewise.
13051 (_IO_file_xsgetn_mmap): Likewise.
13052 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13053 (_IO_cookie_write): Likewise.
13054 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13055 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13056 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13057 * malloc/obstack.c (_obstack_begin): Likewise.
13058 (_obstack_begin_1): Likewise.
13059 (_obstack_newchunk): Likewise.
13060 (_obstack_allocated_p): Likewise.
13061 (obstack_free): Likewise.
13062 (_obstack_memory_used): Likewise.
13063 * misc/getttyent.c (getttynam): Likewise.
13064 (getttyent): Likewise.
13065 (skip): Likewise.
13066 (value): Likewise.
13067 * misc/getusershell.c (initshells): Likewise.
13068 * misc/syslog.c (__vsyslog_chk): Likewise.
13069 * misc/ttyslot.c (ttyslot): Likewise.
13070 * nis/nis_hash.c (__nis_hash): Likewise.
13071 * posix/fnmatch_loop.c (FCT): Likewise.
13072 * posix/getconf.c (print_all): Likewise.
13073 (main): Likewise.
13074 * posix/getopt.c (exchange): Likewise.
13075 * posix/glob.c (globfree): Likewise.
13076 (prefix_array): Likewise.
13077 (__glob_pattern_type): Likewise.
13078 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13079 (NS_GET32): Likewise.
13080 (NS_PUT16): Likewise.
13081 (NS_PUT32): Likewise.
13082 * resolv/gethnamaddr.c (getanswer): Likewise.
13083 (gethostbyname2): Likewise.
13084 (gethostbyaddr): Likewise.
13085 (_gethtent): Likewise.
13086 (_gethtbyname2): Likewise.
13087 (_gethtbyaddr): Likewise.
13088 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13089 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13090 * resolv/res_init.c (__res_vinit): Likewise.
13091 (net_mask): Likewise.
13092 * resolv/res_mkquery.c (outchar): Likewise.
13093 (PRINT): Likewise.
13094 * stdio-common/printf_fp.c (outchar): Likewise.
13095 (PRINT): Likewise.
13096 * stdio-common/printf_fphex.c (outchar): Likewise.
13097 (PRINT): Likewise.
13098 * stdio-common/printf_size.c (outchar): Likewise.
13099 (PRINT): Likewise.
13100 * stdio-common/test_rdwr.c (main): Likewise.
13101 * stdio-common/tfformat.c (matches): Likewise.
13102 * stdio-common/vfprintf.c (outchar): Likewise.
13103 (printf_unknown): Likewise.
13104 (buffered_vfprintf): Likewise.
13105 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13106 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13107 (ReadFile): Likewise.
13108 * stdlib/qsort.c (SWAP): Likewise.
13109 (_quicksort): Likewise.
13110 * stdlib/setenv.c (__add_to_environ): Likewise.
13111 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13112 * stdlib/strtol_l.c (__strtol_l): Likewise.
13113 * stdlib/tst-strtod.c (main): Likewise.
13114 * stdlib/tst-strtol.c (main): Likewise.
13115 * stdlib/tst-strtoll.c (main): Likewise.
13116 * string/bits/string2.h (__strcmp_cc): Likewise.
13117 (__strcmp_cg): Likewise.
13118 (__strcspn_c1): Likewise.
13119 (__strcspn_c2): Likewise.
13120 (__strcspn_c3): Likewise.
13121 (__strspn_c1): Likewise.
13122 (__strspn_c2): Likewise.
13123 (__strspn_c3): Likewise.
13124 (__strsep_1c): Likewise.
13125 (__strsep_2c): Likewise.
13126 (__strsep_3c): Likewise.
13127 * string/memccpy.c (__memccpy): Likewise.
13128 * string/stpcpy.c (__stpcpy): Likewise.
13129 * string/strcmp.c (strcmp): Likewise.
13130 * string/strrchr.c (strrchr): Likewise.
13131 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13132 Likewise.
13133 * sysdeps/mach/hurd/getcwd.c
13134 (_hurd_canonicalize_directory_name_internal): Likewise.
13135 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13136 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13137 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13138 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13139 Likewise, in both definitions.
13140 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13141 definitions.
13142 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13143 64] (__bswap_64): Likewise.
13144 * time/test_time.c (main): Likewise.
13145 * time/tzfile.c (__tzfile_read): Likewise.
13146 (__tzfile_compute): Likewise.
13147 * time/tzset.c (__tzset_parse_tz): Likewise.
13148 (tzset_internal): Likewise.
13149 (compute_change): Likewise.
13150 * wcsmbs/wcscat.c (__wcscat): Likewise.
13151 * wcsmbs/wcschr.c (wcschr): Likewise.
13152 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13153 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13154 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13155 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13156 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13157 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13158 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13159 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13160 * wcsmbs/wmemset.c (wmemset): Likewise.
13161
9e54314b
JM
131622013-06-06 Joseph Myers <joseph@codesourcery.com>
13163
13164 * scripts/config.guess: Update to version 2013-05-16.
13165 * scripts/config.sub: Update to version 2013-04-24.
13166 * scripts/install-sh: Update to version 2011-11-20.07.
13167 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13168 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13169
350635a5
OB
131702013-06-06 Ondřej Bílka <neleai@seznam.cz>
13171
13172 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13173 * elf/sln.c: Likewise.
13174 * hurd/hurd/ioctl.h: Likewise.
13175 * hurd/hurdmalloc.c: Likewise.
13176 * hurd/xattr.c: Likewise.
13177 * include/shlib-compat.h: Likewise.
13178 * inet/ruserpass.c: Likewise.
13179 * libio/iofgets_u.c: Likewise.
13180 * libio/iofgetws_u.c: Likewise.
13181 * locale/programs/ld-identification.c: Likewise.
13182 * locale/programs/ld-time.c: Likewise.
13183 * mach/msg-destroy.c: Likewise.
13184 * nss/nss_files/files-netgrp.c: Likewise.
13185 * resolv/res_data.c: Likewise.
13186 * soft-fp/op-1.h: Likewise.
13187 * soft-fp/op-2.h: Likewise.
13188 * soft-fp/op-4.h: Likewise.
13189 * soft-fp/op-common.h: Likewise.
13190 * stdio-common/printf_fphex.c: Likewise.
13191 * stdlib/strtod_l.c: Likewise.
13192 * sunrpc/rpc/clnt.h: Likewise.
13193 * sysdeps/generic/framestate.c: Likewise.
13194 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13195 * sysdeps/i386/bsd-setjmp.S: Likewise.
13196 * sysdeps/i386/__longjmp.S: Likewise.
13197 * sysdeps/i386/setjmp.S: Likewise.
13198 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13199 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13200 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13207 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13208 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13209 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13212 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13213 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13214 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13216 * sysdeps/ieee754/support.c: Likewise.
13217 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13218 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13219 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13220 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13221 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13222 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13223 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13224 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13225 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13226 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13227 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13228 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13229 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13230 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13231 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13232 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13233 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13235
44a988af
OB
132362013-06-05 Ondřej Bílka <neleai@seznam.cz>
13237
25506f09 13238 * posix/transbug.c: Remove executable mode.
44a988af 13239
9c84384c
JM
132402013-06-05 Joseph Myers <joseph@codesourcery.com>
13241
13242 * crypt/speeds.c: Remove trailing whitespace.
13243 * dlfcn/default.c: Likewise.
13244 * elf/ifuncdep2.c: Likewise.
13245 * elf/ifuncmain1.c: Likewise.
13246 * elf/ifuncmain1vis.c: Likewise.
13247 * elf/testobj.h: Likewise.
13248 * elf/tst-stackguard1.c: Likewise.
13249 * gmon/sys/gmon.h: Likewise.
13250 * hurd/hurdmsg.c: Likewise.
13251 * hurd/new-fd.c: Likewise.
13252 * hurd/ports-get.c: Likewise.
13253 * iconvdata/ibm1008_420.c: Likewise.
13254 * inet/tst-getni1.c: Likewise.
13255 * inet/tst-getni2.c: Likewise.
13256 * libio/ioungetc.c: Likewise.
13257 * libio/wfiledoalloc.c: Likewise.
13258 * manual/libm-err-tab.pl: Likewise.
13259 * math/w_dremf.c: Likewise.
13260 * misc/ftruncate.c: Likewise.
13261 * posix/bug-glob2.c: Likewise.
13262 * posix/tst-pcre.c: Likewise.
13263 * posix/wait4.c: Likewise.
13264 * resolv/README: Likewise.
13265 * resolv/res_debug.h: Likewise.
13266 * resolv/tst-inet_ntop.c: Likewise.
13267 * setjmp/bug269-setjmp.c: Likewise.
13268 * soft-fp/extended.h: Likewise.
13269 * soft-fp/op-1.h: Likewise.
13270 * soft-fp/op-2.h: Likewise.
13271 * soft-fp/op-4.h: Likewise.
13272 * soft-fp/op-8.h: Likewise.
13273 * soft-fp/testit.c: Likewise.
13274 * stdio-common/bug16.c: Likewise.
13275 * stdlib/random.c: Likewise.
13276 * sunrpc/rpcsvc/rquota.x: Likewise.
13277 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13278 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13279 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13280 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13281 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13282 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13283 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13284 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13285 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13286 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13287 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13295 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13296 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13299 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13300 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13301 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13302 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13303 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13304 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13305 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13306 * sysdeps/ieee754/s_lib_version.c: Likewise.
13307 * sysdeps/mach/hurd/check_fds.c: Likewise.
13308 * sysdeps/mach/hurd/getsockname.c: Likewise.
13309 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13310 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13311 * sysdeps/powerpc/bits/link.h: Likewise.
13312 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13313 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13314 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13315 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13316 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13317 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13318 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13319 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13320 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13321 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13322 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13323 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13324 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13325 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13326 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13327 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13328 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13329 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13330 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13331 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13332 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13333 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13334 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13335 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13336 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13337 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13338 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13339 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13340 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13341 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13342 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13343 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13344 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13345 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13346 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13347 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13348 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13349 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13350 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13351 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13352 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13353 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13354 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13355 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13356 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13357 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13358 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13359 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13360 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13361 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13362 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13364 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13365 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13366 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13367 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13368 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13369 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13370 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13371 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13372 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13373 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13374 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13375 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13376 * sysdeps/powerpc/sysdep.h: Likewise.
13377 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13378 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13379 * sysdeps/sh/dl-trampoline.S: Likewise.
13380 * sysdeps/sh/memset.S: Likewise.
13381 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13382 * sysdeps/sh/strlen.S: Likewise.
13383 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13384 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13385 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13386 * sysdeps/sparc/sparc32/rem.S: Likewise.
13387 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13388 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13389 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13390 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13391 * sysdeps/sparc/sparc32/urem.S: Likewise.
13392 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13393 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13394 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13395 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13396 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13397 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13398 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13399 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13400 * sysdeps/unix/bsd/times.c: Likewise.
13401 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13402 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13406 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13407 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13408 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13409 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13410 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13411 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13412 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13413 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13414 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13415 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13416 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13417 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13418 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13419 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13420 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13421 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13422 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13423 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13424 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13425 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13426 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13427 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13428 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13429 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13430 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13431 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13432 * sysdeps/x86_64/strcspn.S: Likewise.
13433
869378a5
RA
134342013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13435
13436 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13437 generated file. Regenerate properly from gen-translit.pl.
13438 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13439 locale/C-translit.h.
13440
840e2943
AS
134412013-06-05 Andreas Schwab <schwab@suse.de>
13442
13443 [BZ #15100]
13444 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13445 week as 6 instead of -1.
13446 * time/tst-strptime.c (day_tests): Add test case.
13447
4c60cb0c
SP
134482013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13449
13450 * sysdeps/generic/math_private.h
13451 (libc_feholdexcept_setround_53bit): Replace with
13452 libc_feholdsetround_53bit.
13453 (libc_feupdateenv_53bit): Replace with
13454 libc_feresetround_53bit.
13455 (SET_RESTORE_ROUND_53BIT): Adjust.
13456
d180203e
SP
134572013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13458
96df079a
SP
13459 * string/test-strchrnul.c: Add copyright header.
13460
d180203e
SP
13461 * posix/tst-getaddrinfo4.c: Increase test timeout.
13462
8b0ccb2d
CD
134632013-06-03 Carlos O'Donell <carlos@redhat.com>
13464
13465 [BZ #15536]
13466 * math/libm-test.inc (MAX_EXP): Remove
13467 (MIN_EXP): Define.
13468 (ulp): Use MIN_EXP - MANT_DIG.
13469 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13470
3b3c4d40
CD
134712013-05-31 Carlos O'Donell <carlos@redhat.com>
13472
13473 * po/be.po: Revert last change.
13474 * po/zh_CN.po: Likewise.
13475 * po/header.pot: Likewise.
13476
fab7ce3f
JM
134772013-05-31 Joseph Myers <joseph@codesourcery.com>
13478
13479 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13480 link-libc-deps to empty as target-specific variable.
13481 * Makerules (link-libc-args): New variable.
13482 (libc-for-link): Likewise.
13483 (link-libc-deps): Likewise.
13484 (lib%.so): Depend on $(link-libc-deps). Link with
13485 $(link-libc-args).
13486 (build-module): Link with $(link-libc-args).
13487 (build-module-asneeded): Likewise.
13488 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13489 list of objects.
13490 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13491 target-specific variable.
13492 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13493 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13494 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13495 libc.
13496 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13497 libc and ld.so.
13498 ($(objpfx)libpcprofile.so): Likewise.
13499 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13500 libc_nonshared.a.
13501 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13502 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13503 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13504 $(link-libc-deps).
13505 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13506 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13507 * login/Makefile ($(objpfx)libutil.so): Likewise.
13508 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13509 * math/Makefile ($(objpfx)libm.so): Likewise.
13510 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13511 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13512 variable instead of depending directly on libc.
13513 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13514 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13515 $(link-libc-deps).
13516 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13517 libc.
13518 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13519 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13520 ($(objpfx)libanl.so): Likewise.
13521 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13522 ld.so.
13523 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13524 $(link-libc-deps).
13525 * sysdeps/i386/fpu/Makefile: Remove file.
13526 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13527 ($(objpfx)libm.so): Remove dependency on ld.so.
13528
eca5920c
PF
135292013-05-30 Patsy Franklin <pfrankli@redhat.com>
13530
13531 [BZ # 15553]
13532 * nis/yp_xdr.c (XDRMAXNAME): Define.
13533 (XDRMAXRECORD): Define.
13534 (xdr_domainname): Use XDRMAXNAME.
13535 (xdr_mapname): Likewise.
13536 (xdr_peername): Likewise.
13537 (xdr_keydat): Use XDRMAXRECORD.
13538 (xdr_valdat): Likewise.
13539
135402013-05-30 Jeff Law <law@redhat.com>
96945714
JL
13541
13542 [BZ #14256]
13543 * manual/errno.texi (ESTALE): Update to account for more than
13544 just NFS file systems.
13545 * sysdeps/gnu/errlist.c: Regenerated.
13546
b9375348
SP
135472013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13548
13549 [BZ #15465]
13550 * elf/Makefile (tests): Add tst-null-argv.
13551 (modules-names): Add tst-null-argv-lib.
13552 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13553 (tst-null-argv-ENV): Set environment for tst-null-argv.
13554 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13555 (RTLD_PROGNAME): New macro.
13556 * elf/tst-null-argv.c: New test case.
13557 * elf/tst-null-argv-lib.c: Library for test case.
13558 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13559 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13560 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13561 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13562 * elf/dl-init.c (call_init): Likewise.
13563 (_dl_init): Likewise.
13564 * elf/dl-load.c (print_search_path): Likewise.
13565 (_dl_map_object): Likewise.
13566 * elf/dl-lookup.c (do_lookup_x): Likewise.
13567 (add_dependency): Likewise.
13568 (_dl_lookup_symbol_x): Likewise.
13569 (_dl_debug_bindings): Likewise.
13570 * elf/dl-open.c (_dl_show_scope): Likewise.
13571 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13572 * elf/dl-version.c (match_symbol): Likewise.
13573 (_dl_check_map_versions): Likewise.
13574 * elf/rtld.c (dl_main): Likewise.
13575 (print_unresolved): Use RTLD_PROGNAME.
13576 (print_missing_version): Likewise.
13577 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13578 (elf_machine_rela): Likewise.
13579 * sysdeps/powerpc/powerpc32/dl-machine.c
13580 (__process_machine_rela): Likewise.
13581 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13582 Likewise.
13583 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13584 Likewise.
13585 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13586 Likewise.
13587 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13588 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13589 Likewise.
13590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13591 Likewise.
13592 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13593
8a9f20c8
CD
135942013-05-28 Carlos O'Donell <carlos@redhat.com>
13595
13596 * po/be.po: Add descriptive title.
13597 * po/zh_CN.po: Likewise.
13598 * po/header.pot: Likewise.
13599
0e60d68e
MF
136002013-05-28 Mike Frysinger <vapier@gentoo.org>
13601
13602 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13603 error message.
13604 (enlarge_archive): Likewise.
13605
56b672e9
BN
136062013-05-28 Ben North <ben@redfrontdoor.org>
13607
13608 * manual/arith.texi (frexp): It is the magnitude of the return
13609 value which lies in [0.5, 1), not the return value itself.
13610
5e056687
AZ
136112013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13612
13613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13614
2b66ef5d
TS
136152013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13616
528c2405
TS
13617 * stdio-common/bug26.c (main): Correct fscanf template.
13618
07b4c13d
TS
13619 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13620 declare _dl_skip_args.
13621
ec9dd97c
TS
13622 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13623 Don't declare.
13624
2b66ef5d
TS
13625 * manual/platform.texi: Add missing @end deftypefun.
13626
4f8dfe27
JM
136272013-05-24 Joseph Myers <joseph@codesourcery.com>
13628
0323d086
JM
13629 [BZ #15529]
13630 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13631 bit of mantissa of 2^16382.
13632 * math/libm-test.inc (hypot_test_data): Add more tests.
13633
dd4259b9
JM
13634 * math/libm-test.inc: Add drem and pow10 to list of tested
13635 functions.
13636 (pow10_test): New function.
13637 (drem_test): Likewise.
13638 (drem_test_tonearest): Likewise.
13639 (drem_test_towardzero): Likewise.
13640 (drem_test_downward): Likewise.
13641 (drem_test_upward): Likewise.
13642 (main): Call the new functions.
13643
4f8dfe27
JM
13644 * math/libm-test.inc (finite_test_data): Remove.
13645 (finite_test): Run tests from isfinite_test_data.
13646 (gamma_test_data): Remove.
13647 (gamma_test): Run tests from lgamma_test_data.
13648 * sysdeps/i386/fpu/libm-test-ulps: Update.
13649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13650
d116b7c4
AZ
136512013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13652
13653 * manual/platform.texi: Add PowerPC PPR function set documentation.
13654 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13655 implementation.
13656
e96e3767
CD
136572013-05-24 Carlos O'Donell <carlos@redhat.com>
13658
13659 * math/libm-test.inc (MAX_EXP): Define.
13660 (ULPDIFF): Define.
13661 (ulp): New function.
13662 (check_float_internal): Use ULPDIFF.
13663 (cpow_test): Disable failing test.
13664 (check_ulp): Test ulp() implemetnation.
13665 (main): Call check_ulp before starting tests.
13666
b679a606
JM
136672013-05-24 Joseph Myers <joseph@codesourcery.com>
13668
e8bdba36
JM
13669 * math/gen-libm-test.pl (generate_testfile): Do not handle
13670 START_DATA and END_DATA.
13671 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13672 END_DATA.
13673 (acos_tonearest_test_data): Likewise.
13674 (acos_towardzero_test_data): Likewise.
13675 (acos_downward_test_data): Likewise.
13676 (acos_upward_test_data): Likewise.
13677 (acosh_test_data): Likewise.
13678 (asin_test_data): Likewise.
13679 (asin_tonearest_test_data): Likewise.
13680 (asin_towardzero_test_data): Likewise.
13681 (asin_downward_test_data): Likewise.
13682 (asin_upward_test_data): Likewise.
13683 (asinh_test_data): Likewise.
13684 (atan_test_data): Likewise.
13685 (atanh_test_data): Likewise.
13686 (atan2_test_data): Likewise.
13687 (cabs_test_data): Likewise.
13688 (cacos_test_data): Likewise.
13689 (cacosh_test_data): Likewise.
13690 (carg_test_data): Likewise.
13691 (casin_test_data): Likewise.
13692 (casinh_test_data): Likewise.
13693 (catan_test_data): Likewise.
13694 (catanh_test_data): Likewise.
13695 (cbrt_test_data): Likewise.
13696 (ccos_test_data): Likewise.
13697 (ccosh_test_data): Likewise.
13698 (ceil_test_data): Likewise.
13699 (cexp_test_data): Likewise.
13700 (cimag_test_data): Likewise.
13701 (clog_test_data): Likewise.
13702 (clog10_test_data): Likewise.
13703 (conj_test_data): Likewise.
13704 (copysign_test_data): Likewise.
13705 (cos_test_data): Likewise.
13706 (cos_tonearest_test_data): Likewise.
13707 (cos_towardzero_test_data): Likewise.
13708 (cos_downward_test_data): Likewise.
13709 (cos_upward_test_data): Likewise.
13710 (cosh_test_data): Likewise.
13711 (cosh_tonearest_test_data): Likewise.
13712 (cosh_towardzero_test_data): Likewise.
13713 (cosh_downward_test_data): Likewise.
13714 (cosh_upward_test_data): Likewise.
13715 (cpow_test_data): Likewise.
13716 (cproj_test_data): Likewise.
13717 (creal_test_data): Likewise.
13718 (csin_test_data): Likewise.
13719 (csinh_test_data): Likewise.
13720 (csqrt_test_data): Likewise.
13721 (ctan_test_data): Likewise.
13722 (ctan_tonearest_test_data): Likewise.
13723 (ctan_towardzero_test_data): Likewise.
13724 (ctan_downward_test_data): Likewise.
13725 (ctan_upward_test_data): Likewise.
13726 (ctanh_test_data): Likewise.
13727 (ctanh_tonearest_test_data): Likewise.
13728 (ctanh_towardzero_test_data): Likewise.
13729 (ctanh_downward_test_data): Likewise.
13730 (ctanh_upward_test_data): Likewise.
13731 (erf_test_data): Likewise.
13732 (erfc_test_data): Likewise.
13733 (exp_test_data): Likewise.
13734 (exp_tonearest_test_data): Likewise.
13735 (exp_towardzero_test_data): Likewise.
13736 (exp_downward_test_data): Likewise.
13737 (exp_upward_test_data): Likewise.
13738 (exp10_test_data): Likewise.
13739 (exp2_test_data): Likewise.
13740 (expm1_test_data): Likewise.
13741 (fabs_test_data): Likewise.
13742 (fdim_test_data): Likewise.
13743 (finite_test_data): Likewise.
13744 (floor_test_data): Likewise.
13745 (fma_test_data): Likewise.
13746 (fma_towardzero_test_data): Likewise.
13747 (fma_downward_test_data): Likewise.
13748 (fma_upward_test_data): Likewise.
13749 (fmax_test_data): Likewise.
13750 (fmin_test_data): Likewise.
13751 (fmod_test_data): Likewise.
13752 (fpclassify_test_data): Likewise.
13753 (frexp_test_data): Likewise.
13754 (gamma_test_data): Likewise.
13755 (hypot_test_data): Likewise.
13756 (ilogb_test_data): Likewise.
13757 (isfinite_test_data): Likewise.
13758 (isgreater_test_data): Likewise.
13759 (isgreaterequal_test_data): Likewise.
13760 (isinf_test_data): Likewise.
13761 (isless_test_data): Likewise.
13762 (islessequal_test_data): Likewise.
13763 (islessgreater_test_data): Likewise.
13764 (isnan_test_data): Likewise.
13765 (isnormal_test_data): Likewise.
13766 (issignaling_test_data): Likewise.
13767 (isunordered_test_data): Likewise.
13768 (j0_test_data): Likewise.
13769 (j1_test_data): Likewise.
13770 (jn_test_data): Likewise.
13771 (ldexp_test_data): Likewise.
13772 (lgamma_test_data): Likewise.
13773 (lrint_test_data): Likewise.
13774 (lrint_tonearest_test_data): Likewise.
13775 (lrint_towardzero_test_data): Likewise.
13776 (lrint_downward_test_data): Likewise.
13777 (lrint_upward_test_data): Likewise.
13778 (llrint_test_data): Likewise.
13779 (llrint_tonearest_test_data): Likewise.
13780 (llrint_towardzero_test_data): Likewise.
13781 (llrint_downward_test_data): Likewise.
13782 (llrint_upward_test_data): Likewise.
13783 (log_test_data): Likewise.
13784 (log10_test_data): Likewise.
13785 (log1p_test_data): Likewise.
13786 (log2_test_data): Likewise.
13787 (logb_test_data): Likewise.
13788 (logb_downward_test_data): Likewise.
13789 (lround_test_data): Likewise.
13790 (llround_test_data): Likewise.
13791 (modf_test_data): Likewise.
13792 (nearbyint_test_data): Likewise.
13793 (nextafter_test_data): Likewise.
13794 (nexttoward_test_data): Likewise.
13795 (pow_test_data): Likewise.
13796 (pow_tonearest_test_data): Likewise.
13797 (pow_towardzero_test_data): Likewise.
13798 (pow_downward_test_data): Likewise.
13799 (pow_upward_test_data): Likewise.
13800 (remainder_test_data): Likewise.
13801 (remainder_tonearest_test_data): Likewise.
13802 (remainder_towardzero_test_data): Likewise.
13803 (remainder_downward_test_data): Likewise.
13804 (remainder_upward_test_data): Likewise.
13805 (remquo_test_data): Likewise.
13806 (rint_test_data): Likewise.
13807 (rint_tonearest_test_data): Likewise.
13808 (rint_towardzero_test_data): Likewise.
13809 (rint_downward_test_data): Likewise.
13810 (rint_upward_test_data): Likewise.
13811 (round_test_data): Likewise.
13812 (scalb_test_data): Likewise.
13813 (scalbn_test_data): Likewise.
13814 (scalbln_test_data): Likewise.
13815 (signbit_test_data): Likewise.
13816 (sin_test_data): Likewise.
13817 (sin_tonearest_test_data): Likewise.
13818 (sin_towardzero_test_data): Likewise.
13819 (sin_downward_test_data): Likewise.
13820 (sin_upward_test_data): Likewise.
13821 (sincos_test_data): Likewise.
13822 (sinh_test_data): Likewise.
13823 (sinh_tonearest_test_data): Likewise.
13824 (sinh_towardzero_test_data): Likewise.
13825 (sinh_downward_test_data): Likewise.
13826 (sinh_upward_test_data): Likewise.
13827 (sqrt_test_data): Likewise.
13828 (tan_test_data): Likewise.
13829 (tan_tonearest_test_data): Likewise.
13830 (tan_towardzero_test_data): Likewise.
13831 (tan_downward_test_data): Likewise.
13832 (tan_upward_test_data): Likewise.
13833 (tanh_test_data): Likewise.
13834 (tgamma_test_data): Likewise.
13835 (trunc_test_data): Likewise.
13836 (y0_test_data): Likewise.
13837 (y1_test_data): Likewise.
13838 (yn_test_data): Likewise.
13839 (significand_test_data): Likewise.
13840
b679a606
JM
13841 * math/gen-libm-test.pl (@functions): Remove variable.
13842 (generate_testfile): Don't handle START and END lines.
13843 * math/libm-test.inc (START): New macro.
13844 (END): Likewise.
13845 (END_COMPLEX): Likewise.
13846 (acos_test): Use END macro without arguments.
13847 (acos_test_tonearest): Likewise.
13848 (acos_test_towardzero): Likewise.
13849 (acos_test_downward): Likewise.
13850 (acos_test_upward): Likewise.
13851 (acosh_test): Likewise.
13852 (asin_test): Likewise.
13853 (asin_test_tonearest): Likewise.
13854 (asin_test_towardzero): Likewise.
13855 (asin_test_downward): Likewise.
13856 (asin_test_upward): Likewise.
13857 (asinh_test): Likewise.
13858 (atan_test): Likewise.
13859 (atanh_test): Likewise.
13860 (atan2_test): Likewise.
13861 (cabs_test): Likewise.
13862 (cacos_test): Use END_COMPLEX macro without arguments.
13863 (cacosh_test): Likewise.
13864 (carg_test): Use END macro without arguments.
13865 (casin_test): Use END_COMPLEX macro without arguments.
13866 (casinh_test): Likewise.
13867 (catan_test): Likewise.
13868 (catanh_test): Likewise.
13869 (cbrt_test): Use END macro without arguments.
13870 (ccos_test): Use END_COMPLEX macro without arguments.
13871 (ccosh_test): Likewise.
13872 (ceil_test): Use END macro without arguments.
13873 (cexp_test): Use END_COMPLEX macro without arguments.
13874 (cimag_test): Use END macro without arguments.
13875 (clog_test): Use END_COMPLEX macro without arguments.
13876 (clog10_test): Likewise.
13877 (conj_test): Likewise.
13878 (copysign_test): Use END macro without arguments.
13879 (cos_test): Likewise.
13880 (cos_test_tonearest): Likewise.
13881 (cos_test_towardzero): Likewise.
13882 (cos_test_downward): Likewise.
13883 (cos_test_upward): Likewise.
13884 (cosh_test): Likewise.
13885 (cosh_test_tonearest): Likewise.
13886 (cosh_test_towardzero): Likewise.
13887 (cosh_test_downward): Likewise.
13888 (cosh_test_upward): Likewise.
13889 (cpow_test): Use END_COMPLEX macro without arguments.
13890 (cproj_test): Likewise.
13891 (creal_test): Use END macro without arguments.
13892 (csin_test): Use END_COMPLEX macro without arguments.
13893 (csinh_test): Likewise.
13894 (csqrt_test): Likewise.
13895 (ctan_test): Likewise.
13896 (ctan_test_tonearest): Likewise.
13897 (ctan_test_towardzero): Likewise.
13898 (ctan_test_downward): Likewise.
13899 (ctan_test_upward): Likewise.
13900 (ctanh_test): Likewise.
13901 (ctanh_test_tonearest): Likewise.
13902 (ctanh_test_towardzero): Likewise.
13903 (ctanh_test_downward): Likewise.
13904 (ctanh_test_upward): Likewise.
13905 (erf_test): Use END macro without arguments.
13906 (erfc_test): Likewise.
13907 (exp_test): Likewise.
13908 (exp_test_tonearest): Likewise.
13909 (exp_test_towardzero): Likewise.
13910 (exp_test_downward): Likewise.
13911 (exp_test_upward): Likewise.
13912 (exp10_test): Likewise.
13913 (exp2_test): Likewise.
13914 (expm1_test): Likewise.
13915 (fabs_test): Likewise.
13916 (fdim_test): Likewise.
13917 (finite_test): Likewise.
13918 (floor_test): Likewise.
13919 (fma_test): Likewise.
13920 (fma_test_towardzero): Likewise.
13921 (fma_test_downward): Likewise.
13922 (fma_test_upward): Likewise.
13923 (fmax_test): Likewise.
13924 (fmin_test): Likewise.
13925 (fmod_test): Likewise.
13926 (fpclassify_test): Likewise.
13927 (frexp_test): Likewise.
13928 (gamma_test): Likewise.
13929 (hypot_test): Likewise.
13930 (ilogb_test): Likewise.
13931 (isfinite_test): Likewise.
13932 (isgreater_test): Likewise.
13933 (isgreaterequal_test): Likewise.
13934 (isinf_test): Likewise.
13935 (isless_test): Likewise.
13936 (islessequal_test): Likewise.
13937 (islessgreater_test): Likewise.
13938 (isnan_test): Likewise.
13939 (isnormal_test): Likewise.
13940 (issignaling_test): Likewise.
13941 (isunordered_test): Likewise.
13942 (j0_test): Likewise.
13943 (j1_test): Likewise.
13944 (jn_test): Likewise.
13945 (ldexp_test): Likewise.
13946 (lgamma_test): Likewise.
13947 (lrint_test): Likewise.
13948 (lrint_test_tonearest): Likewise.
13949 (lrint_test_towardzero): Likewise.
13950 (lrint_test_downward): Likewise.
13951 (lrint_test_upward): Likewise.
13952 (llrint_test): Likewise.
13953 (llrint_test_tonearest): Likewise.
13954 (llrint_test_towardzero): Likewise.
13955 (llrint_test_downward): Likewise.
13956 (llrint_test_upward): Likewise.
13957 (log_test): Likewise.
13958 (log10_test): Likewise.
13959 (log1p_test): Likewise.
13960 (log2_test): Likewise.
13961 (logb_test): Likewise.
13962 (logb_test_downward): Likewise.
13963 (lround_test): Likewise.
13964 (llround_test): Likewise.
13965 (modf_test): Likewise.
13966 (nearbyint_test): Likewise.
13967 (nextafter_test): Likewise.
13968 (nexttoward_test): Likewise.
13969 (pow_test): Likewise.
13970 (pow_test_tonearest): Likewise.
13971 (pow_test_towardzero): Likewise.
13972 (pow_test_downward): Likewise.
13973 (pow_test_upward): Likewise.
13974 (remainder_test): Likewise.
13975 (remainder_test_tonearest): Likewise.
13976 (remainder_test_towardzero): Likewise.
13977 (remainder_test_downward): Likewise.
13978 (remainder_test_upward): Likewise.
13979 (remquo_test): Likewise.
13980 (rint_test): Likewise.
13981 (rint_test_tonearest): Likewise.
13982 (rint_test_towardzero): Likewise.
13983 (rint_test_downward): Likewise.
13984 (rint_test_upward): Likewise.
13985 (round_test): Likewise.
13986 (scalb_test): Likewise.
13987 (scalbn_test): Likewise.
13988 (scalbln_test): Likewise.
13989 (signbit_test): Likewise.
13990 (sin_test): Likewise.
13991 (sin_test_tonearest): Likewise.
13992 (sin_test_towardzero): Likewise.
13993 (sin_test_downward): Likewise.
13994 (sin_test_upward): Likewise.
13995 (sincos_test): Likewise.
13996 (sinh_test): Likewise.
13997 (sinh_test_tonearest): Likewise.
13998 (sinh_test_towardzero): Likewise.
13999 (sinh_test_downward): Likewise.
14000 (sinh_test_upward): Likewise.
14001 (sqrt_test): Likewise.
14002 (tan_test): Likewise.
14003 (tan_test_tonearest): Likewise.
14004 (tan_test_towardzero): Likewise.
14005 (tan_test_downward): Likewise.
14006 (tan_test_upward): Likewise.
14007 (tanh_test): Likewise.
14008 (tgamma_test): Likewise.
14009 (trunc_test): Likewise.
14010 (y0_test): Likewise.
14011 (y1_test): Likewise.
14012 (yn_test): Likewise.
14013 (significand_test): Likewise.
14014
bae143d2
OB
140152013-05-24 Ondřej Bílka <neleai@seznam.cz>
14016
14017 [BZ #15381]
14018 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14019
9323d39b
EM
140202013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14021
d4ea44a0 14022 [BZ #14894]
9323d39b
EM
14023 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14024 __ppc_mdoio and __ppc_mdoom.
14025 * manual/platform.texi: Document new functions __ppc_yield,
14026 __ppc_mdoio and __ppc_mdoom.
14027
13e23af7
CD
140282013-05-22 Carlos O'Donell <carlos@redhat.com>
14029
14030 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14031 (main): Mention "tls" pseudo-hwcap is legacy.
14032 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14033
351fe550
JM
140342013-05-22 Joseph Myers <joseph@codesourcery.com>
14035
14036 * math/gen-libm-test.pl (parse_args): Output only string of
14037 arguments as text for test name, not full call or descriptions of
14038 tests for extra outputs.
14039 (generate_testfile): Do not pass function name to parse_args.
14040 Generate this_func variable from START.
14041 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14042 field to arg_str.
14043 (struct test_ff_f_data): Likewise.
14044 (test_ff_f_data_nexttoward): Likewise.
14045 (struct test_fi_f_data): Likewise.
14046 (struct test_fl_f_data): Likewise.
14047 (struct test_if_f_data): Likewise.
14048 (struct test_fff_f_data): Likewise.
14049 (struct test_c_f_data): Likewise.
14050 (struct test_f_f1_data): Likewise. Remove field extra_name.
14051 (struct test_fF_f1_data): Likewise.
14052 (struct test_ffI_f1_data): Likewise.
14053 (struct test_c_c_data): Rename test_name field to arg_str.
14054 (struct test_cc_c_data): Likewise.
14055 (struct test_f_i_data): Likewise.
14056 (struct test_ff_i_data): Likewise.
14057 (struct test_f_l_data): Likewise.
14058 (struct test_f_L_data): Likewise.
14059 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14060 and extra2_name.
14061 (COMMON_TEST_SETUP): New macro.
14062 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14063 (COMMON_TEST_CLEANUP): Likewise.
14064 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14065 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14066 macros.
14067 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14068 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14069 macros.
14070 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14071 (RUN_TEST_fff_f): Take argument string. Call new setup and
14072 cleanup macros.
14073 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14074 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14075 macros.
14076 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14077 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14078 macros.
14079 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14080 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14081 cleanup macros.
14082 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14083 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14084 cleanup macros.
14085 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14086 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14087 cleanup macros.
14088 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14089 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14090 macros.
14091 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14092 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14093 macros.
14094 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14095 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14096 macros.
14097 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14098 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14099 cleanup macros.
14100 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14101 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14102 cleanup macros.
14103 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14104 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14105 macros.
14106 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14107 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14108 cleanup macros.
14109 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14110 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14111 macros.
14112 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14113 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14114 macros.
14115 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14116 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14117 cleanup macros.
14118 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14119
85118d4d
EBM
141202013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14121
14122 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14123 to _sifields.sigfault.
14124 (si_addr_lsb): Define new macro.
14125 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14126 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14127 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14128
7a44c18f
CD
141292013-05-03 Carlos O'Donell <carlos at redhat.com>
14130
14131 [BZ #15441]
14132 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14133 returns -1.
14134 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14135 null return -1.
14136 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14137 loading the domain.
14138
b50a7181
JM
141392013-05-22 Joseph Myers <joseph@codesourcery.com>
14140
14141 * math/gen-libm-test.pl (parse_args): Do not include expected
14142 result in test name.
14143 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14144 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14145 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14146 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14147 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14149
051063c8
SP
141502013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14151
3ce9e010
SP
14152 * benchtests/Makefile: Sort function entries.
14153
051063c8
SP
14154 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14155 tanh, asinh, acosh, atanh.
14156 * benchtests/acos-inputs: New file.
14157 * benchtests/acosh-inputs: New file.
14158 * benchtests/asin-inputs: New file.
14159 * benchtests/asinh-inputs: New file.
14160 * benchtests/atanh-inputs: New file.
14161 * benchtests/cosh-inputs: New file.
14162 * benchtests/log-inputs: New file.
14163 * benchtests/sinh-inputs: New file.
14164 * benchtests/tanh-inputs: New file.
14165
47c22455
DL
141662013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14167
14168 [BZ #15339]
14169 * posix/tst-getaddrinfo4.c: New test.
14170 * posix/Makefile (tests): Add it.
14171
3d04f5db
SP
141722013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14173
14174 [BZ #15339]
14175 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14176 when no services were used.
14177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14178 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14179
d5dd6189
AS
141802013-05-21 Andreas Schwab <schwab@suse.de>
14181
14182 [BZ #15014]
14183 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14184 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14185 successful.
14186 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14187 redundant variable declarations and reallocation of buffer when
14188 parsing as IPv6 address. Always set NSS status when called from
14189 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14190 buffer too small. Correct computation of needed size.
14191 * nss/Makefile (tests): Add test-digits-dots.
14192 * nss/test-digits-dots.c: New test.
14193
fef94eab
SP
141942013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14195
14196 * benchtests/Makefile: Remove instructions for adding
14197 benchmark tests.
14198 * benchtests/README: New file to explain how to execute and
14199 enhance the benchmark tests.
14200
e39adf43
AS
142012013-05-21 Andreas Schwab <schwab@suse.de>
14202
14203 [BZ #15493]
14204 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14205 * setjmp/tst-sigsetjmp.c: New test.
14206
b2b671b6
OB
142072013-05-20 Ondřej Bílka <neleai@seznam.cz>
14208
14209 * sysdeps/x86_64/memset.S (memset): New implementation.
14210 (__bzero): Likewise.
14211 (__memset_tail): New function.
14212
2d48b41c
OB
142132013-05-20 Ondřej Bílka <neleai@seznam.cz>
14214
14215 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14216 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14217 __memcpy_sse2_unaligned ifunc selection.
14218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14219 Add memcpy-sse2-unaligned.S.
14220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14221 Add: __memcpy_sse2_unaligned.
14222
f16cc3eb
JM
142232013-05-19 Joseph Myers <joseph@codesourcery.com>
14224
3e694268
JM
14225 [BZ #15490]
14226 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14227 math_force_eval before restoring floating-point envrionment.
14228 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14229 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14230 Likewise.
14231 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14232 <math_private.h>.
14233 (__nearbyintl): Use math_force_eval before restoring
14234 floating-point environment.
14235 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14236
db62a907
JM
14237 * math/gen-libm-test.pl (special_functions): Remove.
14238 (parse_args): Don't handle TEST_extra. Handle functions with no
14239 return value.
14240 * math/libm-test.inc (struct test_sincos_data): Replace with
14241 struct test_fFF_11_data.
14242 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14243 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14244 (sincos_test_data): Change element type to struct
14245 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14246 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14247 RUN_TEST_LOOP_sincos.
14248 * math/README.libm-test: Don't mention special handling of
14249 individual functions.
14250 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14252 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14253 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14254 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14256
f16cc3eb
JM
14257 * math/gen-libm-test.pl (get_variable): Remove function.
14258 (parse_args): Don't show pointer parameters to call in test
14259 names. Use "extra output N" in test names for extra outputs
14260 rather than naming variables.
14261
3779b5b6
JM
142622013-05-18 Joseph Myers <joseph@codesourcery.com>
14263
2ee094ff
JM
14264 [BZ #15488]
14265 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14266 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14267 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14268 double tests.
14269 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14270 disable.
14271 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14272 check_long_double.
14273
3779b5b6
JM
14274 * math/gen-libm-test.pl (@tests): Remove variable.
14275 ($count): Likewise.
14276 (new_test): Remove function.
14277 (show_exceptions): New function.
14278 (special_functions): Use show_exceptions instead of new_test.
14279 (parse_args): Likewise.
14280 (generate_testfile): Pass only function name in generated call to
14281 print_max_error or print_complex_max_error.
14282 (get_ulps): Do not handle complex tests specially.
14283 (output_test): Rename to ...
14284 (get_all_ulps_for_test): ... this. Return a string rather than
14285 printing to a file. Require ulps to be present.
14286 (output_ulps): Generate arrays rather than #defines.
14287 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14288 (struct ulp_data): New type.
14289 (BUILD_COMPLEX_ULP): Remove macro.
14290 (compare_ulp_data): New function.
14291 (find_ulps): Likewise.
14292 (find_test_ulps): Likewise.
14293 (find_function_ulps): Likewise.
14294 (find_complex_function_ulps): Likewise.
14295 (print_max_error): Determine allowed ulps using
14296 find_function_ulps.
14297 (print_complex_max_error): Determine allowed ulps using
14298 find_complex_function_ulps.
14299 (check_float_internal): Determine max ulps using find_test_ulps.
14300 (check_float): Do not take max_ulp parameter. Update call to
14301 check_float_internal.
14302 (check_complex): Likewise.
14303 (check_int): Do not take max_ulp parameter.
14304 (check_long): Likewise.
14305 (check_bool): Likewise.
14306 (check_longlong): Likewise.
14307 (struct test_f_f_data): Remove max_ulp field.
14308 (struct test_ff_f_data): Likewise.
14309 (struct test_ff_f_data_nexttoward): Likewise.
14310 (struct test_fi_f_data): Likewise.
14311 (struct test_fl_f_data): Likewise.
14312 (struct test_if_f_data): Likewise.
14313 (struct test_fff_f_data): Likewise.
14314 (struct test_c_f_data): Likewise.
14315 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14316 (struct test_fF_f1_data): Likewise.
14317 (struct test_ffI_f1_data): Likewise.
14318 (struct test_c_c_data): Remove max_ulp field.
14319 (struct test_cc_c_data): Likewise.
14320 (struct test_f_i_data): Likewise.
14321 (struct test_ff_i_data): Likewise.
14322 (struct test_f_l_data): Likewise.
14323 (struct test_f_L_data): Likewise.
14324 (struct test_sincos_data): Likewise.
14325 (RUN_TEST_f_f): Do not handle ulps.
14326 (RUN_TEST_LOOP_f_f): Likewise.
14327 (RUN_TEST_2_f): Likewise.
14328 (RUN_TEST_LOOP_2_f): Likewise.
14329 (RUN_TEST_fff_f): Likewise.
14330 (RUN_TEST_LOOP_fff_f): Likewise.
14331 (RUN_TEST_c_f): Likewise.
14332 (RUN_TEST_LOOP_c_f): Likewise.
14333 (RUN_TEST_f_f1): Likewise.
14334 (RUN_TEST_LOOP_f_f1): Likewise.
14335 (RUN_TEST_fF_f1): Likewise.
14336 (RUN_TEST_LOOP_fF_f1): Likewise.
14337 (RUN_TEST_fI_f1): Likewise.
14338 (RUN_TEST_LOOP_fI_f1): Likewise.
14339 (RUN_TEST_ffI_f1): Likewise.
14340 (RUN_TEST_LOOP_ffI_f1): Likewise.
14341 (RUN_TEST_c_c): Likewise.
14342 (RUN_TEST_LOOP_c_c): Likewise.
14343 (RUN_TEST_cc_c): Likewise.
14344 (RUN_TEST_LOOP_cc_c): Likewise.
14345 (RUN_TEST_f_i): Likewise.
14346 (RUN_TEST_LOOP_f_i): Likewise.
14347 (RUN_TEST_f_i_tg): Likewise.
14348 (RUN_TEST_LOOP_f_i_tg): Likewise.
14349 (RUN_TEST_ff_i_tg): Likewise.
14350 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14351 (RUN_TEST_f_b): Likewise.
14352 (RUN_TEST_LOOP_f_b): Likewise.
14353 (RUN_TEST_f_b_tg): Likewise.
14354 (RUN_TEST_LOOP_f_b_tg): Likewise.
14355 (RUN_TEST_f_l): Likewise.
14356 (RUN_TEST_LOOP_f_l): Likewise.
14357 (RUN_TEST_f_L): Likewise.
14358 (RUN_TEST_LOOP_f_L): Likewise.
14359 (RUN_TEST_sincos): Likewise.
14360 (RUN_TEST_LOOP_sincos): Likewise.
14361
8269107f
JM
143622013-05-17 Joseph Myers <joseph@codesourcery.com>
14363
bb38759d
JM
14364 [BZ #15480]
14365 [BZ #15485]
14366 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14367 main case of finite arguments, set rounding mode to FE_TONEAREST
14368 and discard exceptions.
14369 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14370 exceptions.
14371 (remainder_tonearest_test_data): New variable.
14372 (remainder_test_tonearest): New function.
14373 (remainder_towardzero_test_data): New variable.
14374 (remainder_test_towardzero): New function.
14375 (remainder_downward_test_data): New variable.
14376 (remainder_test_downward): New function.
14377 (remainder_upward_test_data): New variable.
14378 (remainder_test_upward): New function.
14379 (main): Call the new test functions.
14380
a00bdcf0
JM
14381 * math/libm-test.inc (struct test_f_f1_data): Remove field
14382 extra_init.
14383 (struct test_fF_f1_data): Likewise.
14384 (struct test_ffI_f1_data): Likewise.
14385 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14386 based on value of EXTRA_EXPECTED.
14387 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14388 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14389 EXTRA_VAR based on value of EXTRA_EXPECTED.
14390 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14391 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14392 EXTRA_VAR based on value of EXTRA_EXPECTED.
14393 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14394 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14395 EXTRA_VAR based on value of EXTRA_EXPECTED.
14396 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14397 * math/gen-libm-test.pl (parse_args): Don't output initializers
14398 for extra output values.
14399
de407f79
JM
14400 * math/libm-test.inc (check_int): Expect result to be exactly
14401 equal to expected value and do not handle ulps.
14402 (check_long): Likewise.
14403 (check_longlong): Likewise.
14404
8269107f
JM
14405 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14406 exceptions.
14407 (cimag_test_data): Likewise.
14408 (conj_test_data): Likewise.
14409 (copysign_test_data): Likewise.
14410 (cproj_test_data): Likewise.
14411 (creal_test_data): Likewise.
14412 (fabs_test_data): Likewise.
14413 (fdim_test_data): Likewise.
14414 (finite_test_data): Likewise.
14415 (floor_test_data): Likewise.
14416 (fmax_test_data): Likewise.
14417 (fmin_test_data): Likewise.
14418 (fmod_test_data): Likewise.
14419 (fpclassify_test_data): Likewise.
14420 (frexp_test_data): Likewise.
14421 (ilogb_test_data): Likewise.
14422 (isfinite_test_data): Likewise.
14423 (isgreater_test_data): Likewise.
14424 (isgreaterequal_test_data): Likewise.
14425 (isinf_test_data): Likewise.
14426 (isless_test_data): Likewise.
14427 (islessequal_test_data): Likewise.
14428 (islessgreater_test_data): Likewise.
14429 (isnan_test_data): Likewise.
14430 (isnormal_test_data): Likewise.
14431 (issignaling_test_data): Likewise.
14432 (isunordered_test_data): Likewise.
14433 (ldexp_test_data): Likewise.
14434 (lrint_test_data): Likewise.
14435 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14436 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14437 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14438 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14439 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14440 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14441 test input.
14442 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14443 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14444 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14445 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14446 that test input.
14447 (lrint_downward_test_data): Test for "inexact" exceptions.
14448 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14449 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14450 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14451 test input.
14452 (lrint_upward_test_data): Test for "inexact" exceptions.
14453 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14454 test input.
14455 (llrint_test_data): Test for "inexact" exceptions.
14456 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14457 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14458 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14459 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14460 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14461 (llrint_downward_test_data): Test for "inexact" exceptions.
14462 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14463 (llrint_upward_test_data): Test for "inexact" exceptions.
14464 (logb_test_data): Likewise.
14465 (logb_downward_test_data): Likewise.
14466 (nextafter_test_data): Likewise.
14467 (nexttoward_test_data): Likewise.
14468 (remainder_test_data): Likewise.
14469 (remquo_test_data): Likewise.
14470 (scalbn_test_data): Likewise.
14471 (scalbln_test_data): Likewise.
14472 (signbit_test_data): Likewise.
14473 (sqrt_test_data): Likewise.
14474 (significand_test_data): Likewise.
14475
48a18de1
SP
144762013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14477
14478 [BZ #15424]
14479 * benchtests/bench-modf.c (struct args): Mark arg0 as
14480 volatile.
14481 * scripts/bench.pl: Mark members of struct args as volatile.
14482
13d3b41a
AZ
144832013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14484
68191c1d 14485 [BZ # 15497]
13d3b41a
AZ
14486 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14487 negative infinity on POWER6 or lower.
14488 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14489
2848b105
MR
144902013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14491
14492 [BZ #15442]
14493 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14494 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14495 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14496 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14497 (_FP_SETQNAN): New macro.
14498 (_FP_SETQNAN_SEMIRAW): Likewise.
14499 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14500 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14501 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14502 (FP_EXTEND): Use _FP_FRAC_SNANP.
14503 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14504 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14505 into account.
14506 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14507 New macro.
14508 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14509 Likewise.
14510
323e5cb7
JM
145112013-05-16 Joseph Myers <joseph@codesourcery.com>
14512
c58b274f
JM
14513 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14514 with DIVIDE_BY_ZERO_EXCEPTION.
14515 (gamma_test_data): Likewise.
14516 (lgamma_test_data): Likewise.
14517 (log_test_data): Likewise.
14518 (log10_test_data): Likewise.
14519 (log2_test_data): Likewise.
14520 (tgamma_test_data): Likewise.
14521
0ab34904
JM
14522 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14523 (acos_test_tonearest): Likewise.
14524 (acos_test_towardzero): Likewise.
14525 (acos_test_downward): Likewise.
14526 (acos_test_upward): Likewise.
14527 (acosh_test): Likewise.
14528 (asin_test): Likewise.
14529 (asin_test_tonearest): Likewise.
14530 (asin_test_towardzero): Likewise.
14531 (asin_test_downward): Likewise.
14532 (asin_test_upward): Likewise.
14533 (asinh_test): Likewise.
14534 (atan_test): Likewise.
14535 (atanh_test): Likewise.
14536 (atan2_test): Likewise.
14537 (cabs_test): Likewise.
14538 (cacos_test): Likewise.
14539 (cacosh_test): Likewise.
14540 (casin_test): Likewise.
14541 (casinh_test): Likewise.
14542 (catan_test): Likewise.
14543 (catanh_test): Likewise.
14544 (cbrt_test): Likewise.
14545 (ccos_test): Likewise.
14546 (ccosh_test): Likewise.
14547 (cexp_test): Likewise.
14548 (clog_test): Likewise.
14549 (clog10_test): Likewise.
14550 (cos_test): Likewise.
14551 (cos_test_tonearest): Likewise.
14552 (cos_test_towardzero): Likewise.
14553 (cos_test_downward): Likewise.
14554 (cos_test_upward): Likewise.
14555 (cosh_test): Likewise.
14556 (cosh_test_tonearest): Likewise.
14557 (cosh_test_towardzero): Likewise.
14558 (cosh_test_downward): Likewise.
14559 (cosh_test_upward): Likewise.
14560 (cpow_test): Likewise.
14561 (csin_test): Likewise.
14562 (csinh_test): Likewise.
14563 (csqrt_test): Likewise.
14564 (ctan_test): Likewise.
14565 (ctan_test_tonearest): Likewise.
14566 (ctan_test_towardzero): Likewise.
14567 (ctan_test_downward): Likewise.
14568 (ctan_test_upward): Likewise.
14569 (ctanh_test): Likewise.
14570 (ctanh_test_tonearest): Likewise.
14571 (ctanh_test_towardzero): Likewise.
14572 (ctanh_test_downward): Likewise.
14573 (ctanh_test_upward): Likewise.
14574 (erf_test): Likewise.
14575 (erfc_test): Likewise.
14576 (exp_test): Likewise.
14577 (exp_test_tonearest): Likewise.
14578 (exp_test_towardzero): Likewise.
14579 (exp_test_downward): Likewise.
14580 (exp_test_upward): Likewise.
14581 (exp10_test): Likewise.
14582 (exp2_test): Likewise.
14583 (expm1_test): Likewise.
14584 (fmod_test): Likewise.
14585 (gamma_test): Likewise.
14586 (hypot_test): Likewise.
14587 (j0_test): Likewise.
14588 (j1_test): Likewise.
14589 (jn_test): Likewise.
14590 (lgamma_test): Likewise.
14591 (log_test): Likewise.
14592 (log10_test): Likewise.
14593 (log1p_test): Likewise.
14594 (log2_test): Likewise.
14595 (logb_test_downward): Likewise.
14596 (pow_test): Likewise.
14597 (pow_test_tonearest): Likewise.
14598 (pow_test_towardzero): Likewise.
14599 (pow_test_downward): Likewise.
14600 (pow_test_upward): Likewise.
14601 (remainder_test): Likewise.
14602 (remquo_test): Likewise.
14603 (sin_test): Likewise.
14604 (sin_test_tonearest): Likewise.
14605 (sin_test_towardzero): Likewise.
14606 (sin_test_downward): Likewise.
14607 (sin_test_upward): Likewise.
14608 (sincos_test): Likewise.
14609 (sinh_test): Likewise.
14610 (sinh_test_tonearest): Likewise.
14611 (sinh_test_towardzero): Likewise.
14612 (sinh_test_downward): Likewise.
14613 (sinh_test_upward): Likewise.
14614 (sqrt_test): Likewise.
14615 (tan_test): Likewise.
14616 (tan_test_tonearest): Likewise.
14617 (tan_test_towardzero): Likewise.
14618 (tan_test_downward): Likewise.
14619 (tan_test_upward): Likewise.
14620 (tanh_test): Likewise.
14621 (tgamma_test): Likewise.
14622 (y0_test): Likewise.
14623 (y1_test): Likewise.
14624 (yn_test): Likewise.
14625
323e5cb7
JM
14626 * math/gen-libm-test.pl (adjust_arg): Remove function.
14627 (special_function): Remove argument $in_func. Only handle
14628 generating output for tables of tests, not inside functions.
14629 (parse_args): Likewise.
14630 (generate_testfile): Remove variable $in_func. Update call to
14631 parse_args.
14632 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14633 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14634 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14635 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14636 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14637 (MAX_VALUE_INIT): Rename macro to max_value.
14638 (MIN_VALUE_INIT): Rename macro to min_value.
14639 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14640 (plus_zero): Remove variable.
14641 (minus_zero): Likewise.
14642 (plus_infty): Likewise.
14643 (minus_infty): Likewise.
14644 (qnan_value): Likewise.
14645 (max_value): Likewise.
14646 (min_value): Likewise.
14647 (min_subnorm_value): Likewise.
14648
e054f494
RA
146492013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14650
14651 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14652 uint64_t or uint32_t usage.
14653 * crypt/sha256-block.c: Likewise.
14654 * crypt/sha256-crypt.c: Likewise.
14655 * crypt/sha256.c: Likewise.
14656 * crypt/sha512-block.c: Likewise.
14657 * crypt/sha512-crypt.c: Likewise.
14658 * crypt/sha512.c: Likewise.
14659 * debug/backtrace-tst.c: Likewise.
14660 * debug/pcprofiledump.c: Likewise.
14661 * elf/cache.c: Likewise.
14662 * elf/dl-cache.c: Likewise.
14663 * elf/dl-misc.c: Likewise.
14664 * elf/dl-profile.c: Likewise.
14665 * elf/dl-support.c: Likewise.
14666 * elf/ldconfig.c: Likewise.
14667 * elf/sprof.c: Likewise.
14668 * iconv/dummy-repertoire.c: Likewise.
14669 * iconv/iconv_charmap.c: Likewise.
14670 * iconv/skeleton.c: Likewise.
14671 * iconvdata/8bit-generic.c: Likewise.
14672 * iconvdata/cp737.h: Likewise.
14673 * iconvdata/cp775.h: Likewise.
14674 * iconvdata/ibm1008.h: Likewise.
14675 * iconvdata/ibm1025.h: Likewise.
14676 * iconvdata/ibm1046.h: Likewise.
14677 * iconvdata/ibm1097.h: Likewise.
14678 * iconvdata/ibm1112.h: Likewise.
14679 * iconvdata/ibm1122.h: Likewise.
14680 * iconvdata/ibm1123.h: Likewise.
14681 * iconvdata/ibm1124.h: Likewise.
14682 * iconvdata/ibm1129.h: Likewise.
14683 * iconvdata/ibm1130.h: Likewise.
14684 * iconvdata/ibm1132.h: Likewise.
14685 * iconvdata/ibm1133.h: Likewise.
14686 * iconvdata/ibm1137.h: Likewise.
14687 * iconvdata/ibm1140.h: Likewise.
14688 * iconvdata/ibm1141.h: Likewise.
14689 * iconvdata/ibm1142.h: Likewise.
14690 * iconvdata/ibm1143.h: Likewise.
14691 * iconvdata/ibm1144.h: Likewise.
14692 * iconvdata/ibm1145.h: Likewise.
14693 * iconvdata/ibm1146.h: Likewise.
14694 * iconvdata/ibm1147.h: Likewise.
14695 * iconvdata/ibm1148.h: Likewise.
14696 * iconvdata/ibm1149.h: Likewise.
14697 * iconvdata/ibm1153.h: Likewise.
14698 * iconvdata/ibm1154.h: Likewise.
14699 * iconvdata/ibm1155.h: Likewise.
14700 * iconvdata/ibm1156.h: Likewise.
14701 * iconvdata/ibm1157.h: Likewise.
14702 * iconvdata/ibm1158.h: Likewise.
14703 * iconvdata/ibm1160.h: Likewise.
14704 * iconvdata/ibm1161.h: Likewise.
14705 * iconvdata/ibm1162.h: Likewise.
14706 * iconvdata/ibm1163.h: Likewise.
14707 * iconvdata/ibm1164.h: Likewise.
14708 * iconvdata/ibm1166.h: Likewise.
14709 * iconvdata/ibm1167.h: Likewise.
14710 * iconvdata/ibm12712.h: Likewise.
14711 * iconvdata/ibm1390.h: Likewise.
14712 * iconvdata/ibm1399.h: Likewise.
14713 * iconvdata/ibm16804.h: Likewise.
14714 * iconvdata/ibm4517.h: Likewise.
14715 * iconvdata/ibm4899.h: Likewise.
14716 * iconvdata/ibm4909.h: Likewise.
14717 * iconvdata/ibm4971.h: Likewise.
14718 * iconvdata/ibm5347.h: Likewise.
14719 * iconvdata/ibm803.h: Likewise.
14720 * iconvdata/ibm856.h: Likewise.
14721 * iconvdata/ibm901.h: Likewise.
14722 * iconvdata/ibm902.h: Likewise.
14723 * iconvdata/ibm9030.h: Likewise.
14724 * iconvdata/ibm9066.h: Likewise.
14725 * iconvdata/ibm921.h: Likewise.
14726 * iconvdata/ibm922.h: Likewise.
14727 * iconvdata/ibm9448.h: Likewise.
14728 * iconvdata/isiri-3342.h: Likewise.
14729 * iconvdata/jis0201.h: Likewise.
14730 * include/link.h: Likewise.
14731 * include/netdb.h: Likewise.
14732 * inet/check_native.c: Likewise.
14733 * inet/check_pf.c: Likewise.
14734 * inet/getipv4sourcefilter.c: Likewise.
14735 * inet/getnameinfo.c: Likewise.
14736 * inet/getsourcefilter.c: Likewise.
14737 * inet/htonl.c: Likewise.
14738 * inet/setipv4sourcefilter.c: Likewise.
14739 * inet/setsourcefilter.c: Likewise.
14740 * inet/test-inet6_opt.c: Likewise.
14741 * inet/tst-network.c: Likewise.
14742 * locale/C-collate.c: Likewise.
14743 * locale/C-ctype.c: Likewise.
14744 * locale/C-time.c: Likewise.
14745 * locale/C-translit.h: Likewise.
14746 * locale/loadarchive.c: Likewise.
14747 * locale/programs/3level.h: Likewise.
14748 * locale/programs/charmap.c: Likewise.
14749 * locale/programs/charmap.h: Likewise.
14750 * locale/programs/ld-address.c: Likewise.
14751 * locale/programs/ld-collate.c: Likewise.
14752 * locale/programs/ld-ctype.c: Likewise.
14753 * locale/programs/ld-identification.c: Likewise.
14754 * locale/programs/ld-measurement.c: Likewise.
14755 * locale/programs/ld-messages.c: Likewise.
14756 * locale/programs/ld-monetary.c: Likewise.
14757 * locale/programs/ld-name.c: Likewise.
14758 * locale/programs/ld-numeric.c: Likewise.
14759 * locale/programs/ld-paper.c: Likewise.
14760 * locale/programs/ld-telephone.c: Likewise.
14761 * locale/programs/ld-time.c: Likewise.
14762 * locale/programs/linereader.c: Likewise.
14763 * locale/programs/locale.c: Likewise.
14764 * locale/programs/locarchive.c: Likewise.
14765 * locale/programs/locfile.h: Likewise.
14766 * locale/programs/repertoire.c: Likewise.
14767 * locale/programs/simple-hash.c: Likewise.
14768 * locale/programs/simple-hash.h: Likewise.
14769 * malloc/memusage.c: Likewise.
14770 * malloc/memusagestat.c: Likewise.
14771 * nis/nis_defaults.c: Likewise.
14772 * nis/nis_hash.c: Likewise.
14773 * nis/nis_print.c: Likewise.
14774 * nis/nis_xdr.c: Likewise.
14775 * nscd/connections.c: Likewise.
14776 * nscd/hstcache.c: Likewise.
14777 * nscd/nscd_gethst_r.c: Likewise.
14778 * nscd/nscd_getserv_r.c: Likewise.
14779 * nscd/nscd_helper.c: Likewise.
14780 * nscd/servicescache.c: Likewise.
14781 * nss/makedb.c: Likewise.
14782 * nss/nss_db/db-XXX.c: Likewise.
14783 * nss/nss_db/db-initgroups.c: Likewise.
14784 * nss/nss_db/db-netgrp.c: Likewise.
14785 * nss/nss_files/files-network.c: Likewise.
14786 * nss/nss_files/files-parse.c: Likewise.
14787 * posix/bug-regex5.c: Likewise.
14788 * posix/fnmatch_loop.c: Likewise.
14789 * posix/regcomp.c: Likewise.
14790 * posix/regexec.c: Likewise.
14791 * posix/tst-rfc3484-2.c: Likewise.
14792 * posix/tst-rfc3484-3.c: Likewise.
14793 * posix/tst-rfc3484.c: Likewise.
14794 * resolv/nss_dns/dns-canon.c: Likewise.
14795 * resolv/nss_dns/dns-network.c: Likewise.
14796 * resolv/res_init.c: Likewise.
14797 * resolv/res_mkquery.c: Likewise.
14798 * resolv/tst-aton.c: Likewise.
14799 * stdlib/cxa_atexit.c: Likewise.
14800 * stdlib/cxa_finalize.c: Likewise.
14801 * stdlib/gen-fpioconst.c: Likewise.
14802 * stdlib/strtol_l.c: Likewise.
14803 * string/tst-endian.c: Likewise.
14804 * sunrpc/auth_des.c: Likewise.
14805 * sunrpc/clnt_udp.c: Likewise.
14806 * sunrpc/rtime.c: Likewise.
14807 * sunrpc/svcauth_des.c: Likewise.
14808 * sunrpc/xdr.c: Likewise.
14809 * sunrpc/xdr_intXX_t.c: Likewise.
14810 * sunrpc/xdr_rec.c: Likewise.
14811 * sysdeps/generic/ldconfig.h: Likewise.
14812 * sysdeps/generic/ldsodefs.h: Likewise.
14813 * sysdeps/generic/memusage.h: Likewise.
14814 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14817 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14824 * sysdeps/posix/getaddrinfo.c: Likewise.
14825 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14826 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14827 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14828 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14829 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14830 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14831 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14832 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14833 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14834 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14835 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14836 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14837 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14838 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14839 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14840 * sysdeps/x86_64/dl-tls.h: Likewise.
14841 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14842 * time/alt_digit.c: Likewise.
14843 * time/era.c: Likewise.
14844 * wcsmbs/tst-c16c32-1.c: Likewise.
14845
8c75f674
JM
148462013-05-16 Joseph Myers <joseph@codesourcery.com>
14847
14848 * math/libm-test.inc (struct test_sincos_data): New type.
14849 (RUN_TEST_LOOP_sincos): New macro.
14850 (sincos_test_data): New variable.
14851 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14852
e6e49e59
RH
148532013-05-16 Richard Henderson <rth@redhat.com>
14854
14855 * math/atest-exp2.c (LIMB64): New macro.
14856 (CONSTSZ): New macro.
14857 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14858 (hexdig): Move ...
14859 (print_mpn_fp): ... to function scope.
14860 (read_mpn_hex): Remove.
14861 (get_log2): Remove.
14862 (exp2_mpn): Use mp_log2.
14863 (main): Use mp_exp1.
14864
15c7c18d
JM
148652013-05-16 Joseph Myers <joseph@codesourcery.com>
14866
105a07df
JM
14867 * math/libm-test.inc: Remove comment about not testing "inexact"
14868 exceptions.
14869 (INEXACT_EXCEPTION): New macro.
14870 (NO_INEXACT_EXCEPTION): Likewise.
14871 (INVALID_EXCEPTION_OK): Update value.
14872 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14873 (OVERFLOW_EXCEPTION_OK): Likewise.
14874 (UNDERFLOW_EXCEPTION_OK): Likewise.
14875 (IGNORE_ZERO_INF_SIGN): Likewise.
14876 (ERRNO_UNCHANGED): Likewise.
14877 (ERRNO_EDOM): Likewise.
14878 (ERRNO_ERANGE): Likewise.
14879 (test_exceptions): Handle testing "inexact" exceptions.
14880 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14881 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14882 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14883 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14884 INEXACT_EXCEPTION.
14885 (rint_towardzero_test_data): Likewise.
14886 (rint_downward_test_data): Likewise.
14887 (rint_upward_test_data): Likewise.
14888
e9eee333
JM
14889 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14890 with OVERFLOW_EXCEPTION.
14891 (exp10_test_data): Likewise.
14892 (exp2_test_data): Likewise.
14893 (expm1_test_data): Likewise.
14894 (lgamma_test_data): Likewise.
14895 (pow_test_data): Likewise.
14896 (tgamma_test_data): Likewise.
14897 (yn_test_data): Remove duplicate test of overflow.
14898
1c38ff73
JM
14899 * math/libm-test.inc (struct test_cc_c_data): New type.
14900 (RUN_TEST_LOOP_cc_c): New macro.
14901 (cpow_test_data): New variable.
14902 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14903
15c7c18d
JM
14904 * math/libm-test.inc (struct test_f_L_data): New type.
14905 (RUN_TEST_LOOP_f_L): New macro.
14906 (llrint_test_data): New variable.
14907 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14908 (llrint_tonearest_test_data): New variable.
14909 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14910 (llrint_towardzero_test_data): New variable.
14911 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14912 (llrint_downward_test_data): New variable.
14913 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14914 (llrint_upward_test_data): New variable.
14915 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14916 (llround_test_data): New variable.
14917 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14918
f137ff13
PC
149192013-05-13 Peter Collingbourne <pcc@google.com>
14920
14921 * math/atest-exp2.c (get_log2): Remove const attribute.
14922
3608cb24
JM
149232013-05-15 Joseph Myers <joseph@codesourcery.com>
14924
14925 * math/libm-test.inc (struct test_f_l_data): New type.
14926 (RUN_TEST_LOOP_f_l): New macro.
14927 (lrint_test_data): New variable.
14928 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14929 (lrint_tonearest_test_data): New variable.
14930 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14931 (lrint_towardzero_test_data): New variable.
14932 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14933 (lrint_downward_test_data): New variable.
14934 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14935 (lrint_upward_test_data): New variable.
14936 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14937 (lround_test_data): New variable.
14938 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14939
39b1f617
PC
149402013-05-15 Peter Collingbourne <pcc@google.com>
14941
1deff3dc
PC
14942 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14943 (EXTRACT_WORDS64) Use where appropriate.
14944 (INSERT_WORDS64) Likewise.
14945
791f3ba0
PC
14946 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14947 constraints with x constraints.
14948 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14949
39b1f617
PC
14950 * malloc/obstack.c (_obstack_compat): Add initializer.
14951
12fba011
EM
149522013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14953
14954 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14955 si_trapno and add si_addr_lsb to _sifields.sigfault.
14956 (si_trapno): Remove macro.
14957 (si_addr_lsb): Define new macro.
14958 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14959
d369f531
JM
149602013-05-15 Joseph Myers <joseph@codesourcery.com>
14961
b861c6c4
JM
14962 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14963 instead of TEST_f_l.
14964 (llrint_test_tonearest): Likewise.
14965 (llrint_test_towardzero): Likewise.
14966 (llrint_test_downward): Likewise.
14967 (llrint_test_upward): Likewise.
14968 (llround_test): Likewise.
14969
7abeee12
JM
14970 * math/libm-test.inc (struct test_f_i_data): Add comment.
14971 (RUN_TEST_LOOP_f_b): New macro.
14972 (RUN_TEST_LOOP_f_b_tg): Likewise.
14973 (finite_test_data): New variable.
14974 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14975 (isfinite_test_data): New variable.
14976 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14977 (isinf_test_data): New variable.
14978 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14979 (isnan_test_data): New variable.
14980 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14981 (isnormal_test_data): New variable.
14982 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14983 (issignaling_test_data): New variable.
14984 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14985 (signbit_test_data): New variable.
14986 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14987
cbe8c4d3
JM
14988 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14989 with INVALID_EXCEPTION.
14990 (acosh_test_data): Likewise.
14991 (asin_test_data): Likewise.
14992 (atanh_test_data): Likewise.
14993 (fmod_test_data): Likewise.
14994 (log_test_data): Likewise.
14995 (log10_test_data): Likewise.
14996 (log2_test_data): Likewise.
14997 (pow_test_data): Likewise.
14998 (sqrt_test_data): Likewise.
14999 (y0_test_data): Likewise.
15000 (y1_test_data): Likewise.
15001 (yn_test_data): Likewise.
15002
5575c0e5
JM
15003 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15004 function contents.
15005
d369f531
JM
15006 * math/libm-test.inc (struct test_ff_i_data): New type.
15007 (RUN_TEST_LOOP_ff_i_tg): New macro.
15008 (isgreater_test_data): New variable.
15009 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15010 (isgreaterequal_test_data): New variable.
15011 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15012 (isless_test_data): New variable.
15013 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15014 (islessequal_test_data): New variable.
15015 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15016 (islessgreater_test_data): New variable.
15017 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15018 (isunordered_test_data): New variable.
15019 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15020
781fd748
DM
150212013-05-14 David S. Miller <davem@davemloft.net>
15022
15023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15024
87aa21df
JM
150252013-05-14 Joseph Myers <joseph@codesourcery.com>
15026
5e908270
JM
15027 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15028
f71172e5
JM
15029 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15030 extra_test to int.
15031 (struct test_f_i_data): Change type of max_ulp to int.
15032
8cfa635a
JM
15033 * math/libm-test.inc (test_ffI_f1_data): New type.
15034 (RUN_TEST_LOOP_ffI_f1): New macro.
15035 (remquo_test_data): New variable.
15036 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15037
2bcb36b2
JM
15038 * setjmp/tst-setjmp-fp.c: New file.
15039 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15040 (link-libm): New variable.
15041 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15042
acbd839a
JM
15043 * math/libm-test.inc (struct test_f_i_data): New type.
15044 (RUN_TEST_LOOP_f_i): New macro.
15045 (RUN_TEST_LOOP_f_i_tg): Likewise.
15046 (fpclassify_test_data): New variable.
15047 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15048 (ilogb_test_data): New variable.
15049 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15050
e414d745
JM
15051 * math/libm-test.inc (scalbln_test): Correct function name in END
15052 call.
15053
d9c2a0fd
JM
15054 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15055 (RUN_TEST_LOOP_fI_f1): New macro.
15056 (frexp_test_data): New variable.
15057 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15058
9dc9095d
JM
15059 * math/libm-test.inc (struct test_fF_f1_data): New type.
15060 (RUN_TEST_LOOP_fF_f1): New macro.
15061 (modf_test_data): New variable.
15062 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15063
87aa21df
JM
15064 * math/libm-test.inc (struct test_f_f1_data): New type.
15065 (RUN_TEST_LOOP_f_f1): New macro.
15066 (gamma_test_data): New variable.
15067 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15068 (lgamma_test_data): New variable.
15069 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15070
141af660
CD
150712013-05-13 Carlos O'Donell <carlos@redhat.com>
15072
15073 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15074 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15075 (main): Comment "tls" pseudo-hwcap.
15076
6d33265c
JM
150772013-05-13 Joseph Myers <joseph@codesourcery.com>
15078
68fc074c
JM
15079 * math/libm-test.inc (struct test_fl_f_data): New type.
15080 (RUN_TEST_LOOP_fl_f): New variable.
15081 (scalbln_test_data): New variable.
15082 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15083
243216e1
JM
15084 * math/libm-test.inc (struct test_fi_f_data): New type.
15085 (RUN_TEST_LOOP_fi_f): New macro.
15086 (ldexp_test_data): New variable.
15087 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15088 (scalbn_test_data): New variable.
15089 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15090
6a1992e2
JM
15091 * math/libm-test.inc (struct test_c_f_data): New type.
15092 (RUN_TEST_LOOP_c_f): New macro.
15093 (cabs_test_data): New variable.
15094 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15095 (carg_test_data): New variable.
15096 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15097 (cimag_test_data): New variable.
15098 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15099 (creal_test_data): New variable.
15100 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15101
0e400df5
JM
15102 * math/libm-test.inc (struct test_if_f_data): New type.
15103 (RUN_TEST_LOOP_if_f): New macro.
15104 (jn_test_data): New variable.
15105 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15106 (yn_test_data): New variable.
15107 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15108
6d33265c
JM
15109 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15110
f98ece5f
AZ
151112013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15112
15113 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15114 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15115
0f7d347b
SP
151162013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15117
43fe811b
SP
15118 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15119 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15120 (bench-deps): Add bench-timing.h.
15121 * benchtests-bench-skeleton.c: Include bench-timing.h.
15122 (main): Use TIMING_* macros instead of clock_gettime.
15123 * benchtests/bench-timing.h: New file.
15124
0f7d347b
SP
15125 [BZ #14582]
15126 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15127 Renamed from _LIB_VERSION.
15128 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15129
601a3a5f
JM
151302013-05-12 Joseph Myers <joseph@codesourcery.com>
15131
4f184d30
JM
15132 * math/libm-test.inc (struct test_fff_f_data): New type.
15133 (RUN_TEST_LOOP_fff_f): New macro.
15134 (fma_test_data): New variable.
15135 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15136 (fma_towardzero_test_data): New variable.
15137 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15138 (fma_downward_test_data): New variable.
15139 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15140 (fma_upward_test_data): New variable.
15141 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15142
08198877
JM
15143 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15144 (struct test_c_c_data): New type.
15145 (RUN_TEST_LOOP_c_c): New macro.
15146 (cacos_test_data): New variable.
15147 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15148 (cacosh_test_data): New variable.
15149 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15150 (casin_test_data): New variable.
15151 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15152 (casinh_test_data): New variable.
15153 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15154 (catan_test_data): New variable.
15155 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15156 (catanh_test_data): New variable.
15157 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15158 (ccos_test_data): New variable.
15159 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15160 (ccosh_test_data): New variable.
15161 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15162 (cexp_test_data): New variable.
15163 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15164 (clog_test_data): New variable.
15165 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15166 (clog10_test_data): New variable.
15167 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15168 (conj_test_data): New variable.
15169 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15170 (cproj_test_data): New variable.
15171 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15172 (csin_test_data): New variable.
15173 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15174 (csinh_test_data): New variable.
15175 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15176 (csqrt_test_data): New variable.
15177 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15178 (ctan_test_data): New variable.
15179 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15180 (ctan_tonearest_test_data): New variable.
15181 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15182 (ctan_towardzero_test_data): New variable.
15183 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15184 (ctan_downward_test_data): New variable.
15185 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15186 (ctan_upward_test_data): New variable.
15187 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15188 (ctanh_test_data): New variable.
15189 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15190 (ctanh_tonearest_test_data): New variable.
15191 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15192 (ctanh_towardzero_test_data): New variable.
15193 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15194 (ctanh_downward_test_data): New variable.
15195 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15196 (ctanh_upward_test_data): New variable.
15197 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15198 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15199 of BUILD_COMPLEX.
15200
601a3a5f
JM
15201 * math/libm-test.inc (struct test_ff_f_data): New type.
15202 (struct test_ff_f_data_nexttoward): Likewise.
15203 (RUN_TEST_LOOP_2_f): New macro.
15204 (RUN_TEST_LOOP_ff_f): Likewise.
15205 (atan2_test_data): New variable.
15206 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15207 (copysign_test_data): New variable.
15208 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15209 (fdim_test_data): New variable.
15210 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15211 (fmax_test_data): New variable.
15212 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15213 (fmin_test_data): New variable.
15214 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15215 (fmod_test_data): New variable.
15216 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15217 (hypot_test_data): New variable.
15218 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15219 (nextafter_test_data): New variable.
15220 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15221 (nexttoward_test_data): New variable.
15222 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15223 (pow_test_data): New variable.
15224 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15225 (pow_tonearest_test_data): New variable.
15226 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15227 (pow_towardzero_test_data): New variable.
15228 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15229 (pow_downward_test_data): New variable.
15230 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15231 (pow_upward_test_data): New variable.
15232 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15233 (remainder_test_data): New variable.
15234 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15235 (scalb_test_data): New variable.
15236 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15237 * sysdeps/i386/fpu/libm-test-ulps: Update.
15238
74c57478
JM
152392013-05-11 Joseph Myers <joseph@codesourcery.com>
15240
8329e4da
JM
15241 * math/libm-test.inc (fma_test): Use max_value instead of local
15242 variable fltmax.
15243 (nextafter_test): Likewise.
15244
74c57478
JM
15245 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15246 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15247 (acos_downward_test_data): New variable.
15248 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15249 (acos_upward_test_data): New variable.
15250 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15251 (acosh_test_data): New variable.
15252 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15253 (asin_test_data): New variable.
15254 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15255 (asin_tonearest_test_data): New variable.
15256 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15257 (asin_towardzero_test_data): New variable.
15258 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15259 (asin_downward_test_data): New variable.
15260 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15261 (asin_upward_test_data): New variable.
15262 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15263 (asinh_test_data): New variable.
15264 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15265 (atan_test_data): New variable.
15266 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15267 (atanh_test_data): New variable.
15268 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15269 (cbrt_test_data): New variable.
15270 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15271 (ceil_test_data): New variable.
15272 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15273 (cos_test_data): New variable.
15274 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15275 (cos_tonearest_test_data): New variable.
15276 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15277 (cos_towardzero_test_data): New variable.
15278 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15279 (cos_downward_test_data): New variable.
15280 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15281 (cos_upward_test_data): New variable.
15282 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15283 (cosh_test_data): New variable.
15284 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15285 (cosh_tonearest_test_data): New variable.
15286 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15287 (cosh_towardzero_test_data): New variable.
15288 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15289 (cosh_downward_test_data): New variable.
15290 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15291 (cosh_upward_test_data): New variable.
15292 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15293 (erf_test_data): New variable.
15294 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15295 (erfc_test_data): New variable.
15296 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15297 (exp_test_data): New variable.
15298 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15299 (exp_tonearest_test_data): New variable.
15300 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15301 (exp_towardzero_test_data): New variable.
15302 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15303 (exp_downward_test_data): New variable.
15304 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15305 (exp_upward_test_data): New variable.
15306 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15307 (exp10_test_data): New variable.
15308 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15309 (exp2_test_data): New variable.
15310 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15311 (expm1_test_data): New variable.
15312 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15313 (fabs_test_data): New variable.
15314 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15315 (floor_test_data): New variable.
15316 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15317 (j0_test_data): New variable.
15318 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15319 (j1_test_data): New variable.
15320 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15321 (log_test_data): New variable.
15322 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15323 (log10_test_data): New variable.
15324 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15325 (log1p_test_data): New variable.
15326 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15327 (log2_test_data): New variable.
15328 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15329 (logb_test_data): New variable.
15330 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15331 (logb_downward_test_data): New variable.
15332 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15333 (nearbyint_test_data): New variable.
15334 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15335 (rint_test_data): New variable.
15336 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15337 (rint_tonearest_test_data): New variable.
15338 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15339 (rint_towardzero_test_data): New variable.
15340 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15341 (rint_downward_test_data): New variable.
15342 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15343 (rint_upward_test_data): New variable.
15344 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15345 (round_test_data): New variable.
15346 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15347 (sin_test_data): New variable.
15348 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15349 (sin_tonearest_test_data): New variable.
15350 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15351 (sin_towardzero_test_data): New variable.
15352 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15353 (sin_downward_test_data): New variable.
15354 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15355 (sin_upward_test_data): New variable.
15356 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15357 (sinh_test_data): New variable.
15358 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15359 (sinh_tonearest_test_data): New variable.
15360 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15361 (sinh_towardzero_test_data): New variable.
15362 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15363 (sinh_downward_test_data): New variable.
15364 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15365 (sinh_upward_test_data): New variable.
15366 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15367 (sqrt_test_data): New variable.
15368 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15369 (tan_test_data): New variable.
15370 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15371 (tan_tonearest_test_data): New variable.
15372 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15373 (tan_towardzero_test_data): New variable.
15374 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15375 (tan_downward_test_data): New variable.
15376 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15377 (tan_upward_test_data): New variable.
15378 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15379 (tanh_test_data): New variable.
15380 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15381 (tgamma_test_data): New variable.
15382 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15383 (trunc_test_data): New variable.
15384 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15385 (y0_test_data): New variable.
15386 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15387 (y1_test_data): New variable.
15388 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15389 (significand_test_data): New variable.
15390 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15391
7187d844
CG
153922013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15393
15394 [BZ #12387]
15395 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15396
f63fae73
PT
153972013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15398
15399 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15400
8a67a4b3
AJ
154012013-05-10 Andreas Jaeger <aj@suse.de>
15402
15403 [BZ #15448]
15404 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15405 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15406
51df539d
JM
154072013-05-10 Joseph Myers <joseph@codesourcery.com>
15408
15409 * math/gen-libm-test.pl (adjust_arg): New function.
15410 (special_functions): Handle generating output in both functions
15411 and arrays.
15412 (parse_args): Likewise.
15413 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15414 $in_func argument to parse_args.
15415 * math/libm-test.inc (struct test_f_f_data): New type.
15416 (IF_ROUND_INIT_): New macro.
15417 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15418 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15419 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15420 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15421 (ROUND_RESTORE_): Likewise.
15422 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15423 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15424 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15425 (ROUND_RESTORE_FE_UPWARD): Likewise.
15426 (RUN_TEST_LOOP_f_f): New macro.
15427 (acos_test_data): New variable.
15428 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15429 (acos_tonearest_test_data): New variable.
15430 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15431
5c637fe5
SP
154322013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15433
15434 * benchtests/bench-skeleton.c (startup): Fix coding style.
15435
ab2b9461
JM
154362013-05-10 Joseph Myers <joseph@codesourcery.com>
15437
15438 [BZ #6809]
15439 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15440 negative infinity argument.
15441 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15442 negative infinity argument.
15443 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15444 negative infinity argument.
15445 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15446 domain errors.
15447
4c0fe6fe
FW
154482013-05-10 Florian Weimer <fweimer@redhat.com>
15449
15450 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15451 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15452 * iconv/iconv_prog.c (main): Likewise.
15453 * locale/programs/charmap-dir.c (charmap_readdir)
15454 (fopen_uncompressed): Likewise.
15455 * locale/programs/locfile.c (siblings_uncached)
15456 (write_locale_data): Use lstat64 instead of lstat.
15457 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15458 stat.
15459
a3375d29
AJ
154602013-05-10 Andreas Jaeger <aj@suse.de>
15461
15462 [BZ #15395]
15463 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15464 localization.
15465 Include <locale.h>.
15466
36129722
CD
154672013-05-09 Carlos O'Donell <carlos@redhat.com>
15468
15469 * elf/dl-close.c (_dl_close_worker): Add comments.
15470
faa7f811
JM
154712013-05-09 Joseph Myers <joseph@codesourcery.com>
15472
ed41ffef
JM
15473 [BZ #15359]
15474 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15475 high part of pi/2.
15476 (__ieee754_rem_pio2l): Update comments.
15477
d0213cd0
JM
15478 [BZ #15429]
15479 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15480 high part of pi/2.
15481 (__ieee754_rem_pio2l): Update comments.
15482
0d3e777a
JM
15483 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15484 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15485
24f56066
JM
15486 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15487 M_PI_4l.
15488
faa7f811
JM
15489 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15490 (M_PI_34_LOG10El): Likewise.
15491 (M_PI2_LOG10El): Likewise.
15492 (M_PI4_LOG10El): Likewise.
15493 (M_PI_LOG10El): Likewise.
15494
e9a5e0fd
AZ
154952013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15496
15497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15498
d8cd06db
JM
154992013-05-08 Joseph Myers <joseph@codesourcery.com>
15500
a0d9f9d7
JM
15501 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15502 (MINUS_ZERO_INIT): Likewise.
15503 (PLUS_INFTY_INIT): Likewise.
15504 (MINUS_INFTY_INIT): Likewise.
15505 (QNAN_VALUE_INIT): Likewise.
15506 (MAX_VALUE_INIT): Likewise.
15507 (MIN_VALUE_INIT): Likewise.
15508 (MIN_SUBNORM_VALUE_INIT): Likewise.
15509 (plus_zero): Initialize with PLUS_ZERO_INIT.
15510 (minus_zero): Initialize with MINUS_ZERO_INIT.
15511 (plus_infty): Initialize with PLUS_INFTY_INIT.
15512 (minus_infty): Initialize with MINUS_INFTY_INIT.
15513 (qnan_value): Initialize with QNAN_VALUE_INIT.
15514 (max_value): Initialize with MAX_VALUE_INIT.
15515 (min_value): Initialize with MIN_VALUE_INIT.
15516 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15517
ae08db3b
JM
15518 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15519 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15520 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15521 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15522
f44bf14a
JM
15523 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15524 (RUN_TEST_2_f): Likewise.
15525 (RUN_TEST_ff_f): Likewise.
15526 (RUN_TEST_fi_f): Likewise.
15527 (RUN_TEST_fl_f): Likewise.
15528 (RUN_TEST_fff_f): Likewise.
15529 (RUN_TEST_c_f): Likewise.
15530 (RUN_TEST_f_f1): Likewise.
15531 (RUN_TEST_fF_f1): Likewise.
15532 (RUN_TEST_fI_f1): Likewise.
15533 (RUN_TEST_ffI_f1): Likewise.
15534 (RUN_TEST_c_c): Likewise.
15535 (RUN_TEST_cc_c): Likewise.
15536 (RUN_TEST_f_i): Likewise.
15537 (RUN_TEST_f_i_tg): Likewise.
15538 (RUN_TEST_ff_i_tg): Likewise.
15539 (RUN_TEST_f_b): Likewise.
15540 (RUN_TEST_f_b_tg): Likewise.
15541 (RUN_TEST_f_l): Likewise.
15542 (RUN_TEST_f_L): Likewise.
15543 (RUN_TEST_sincos): Likewise.
15544 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15545 whether to show exceptions. Do not include ");\n" in return
15546 value.
15547 (special_functions): Output call to RUN_TEST_sincos instead of
15548 check_float calls. Update calls to new_test.
15549 (parse_args): Output call to single RUN_TEST_* macro instead of
15550 check_* calls and other assignments. Update calls to new_test.
15551
d8cd06db
JM
15552 [BZ #2546]
15553 [BZ #2560]
15554 [BZ #5159]
15555 [BZ #15426]
15556 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15557 input to result for tgamma overflow.
15558 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15559 (gamma_coeff): New variable.
15560 (NCOEFF): New macro.
15561 (gamma_positive): New function.
15562 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15563 underflow here. Use gamma_positive instead of exp (lgamma) for
15564 other arguments.
15565 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15566 (gamma_coeff): New variable.
15567 (NCOEFF): New macro.
15568 (gammaf_positive): New function.
15569 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15570 underflow here. Use gamma_positive instead of exp (lgamma) for
15571 other arguments.
15572 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15573 (gamma_coeff): New variable.
15574 (NCOEFF): New macro.
15575 (gammal_positive): New function.
15576 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15577 underflow here. Use gamma_positive instead of exp (lgamma) for
15578 other arguments.
15579 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15580 (gamma_coeff): New variable.
15581 (NCOEFF): New macro.
15582 (gammal_positive): New function.
15583 (__ieee754_gammal_r): Handle positive infinity, overflow and
15584 underflow here. Handle NaN the same as positive infinity. Remove
15585 check x < 0xffffffff for negative integers. Use gamma_positive
15586 instead of exp (lgamma) for other arguments.
15587 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15588 (gamma_coeff): New variable.
15589 (NCOEFF): New macro.
15590 (gammal_positive): New function.
15591 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15592 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15596 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15597 * sysdeps/generic/math_private.h (__gamma_productf): New
15598 prototype.
15599 (__gamma_product): Likewise.
15600 (__gamma_productl): Likewise.
15601 * math/Makefile (libm-calls): Add gamma_product.
15602 * math/libm-test.inc (tgamma_test): Add more tests.
15603 * sysdeps/i386/fpu/libm-test-ulps: Update.
15604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15605
bb7cf681
OB
156062013-05-08 Ondřej Bílka <neleai@seznam.cz>
15607
15608 * benchtests/bench-skeleton.c (main): Preheat CPU.
15609
ba853947
AJ
156102013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15611
15612 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15613
8347c74c
RM
156142013-05-07 Roland McGrath <roland@hack.frob.com>
15615
15616 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15617 and _dl_skip_args_internal.
15618
e8dd4791
CD
156192013-05-07 Carlos O'Donell <carlos@redhat.com>
15620
15621 * manual/message.texi (Message Translation): Talk about users.
15622 Message to key mapping impacts design.
15623
c7405830
RM
156242013-05-06 Roland McGrath <roland@hack.frob.com>
15625
a9173057
RM
15626 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15627
976e2f03
RM
15628 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15629
9723ffc5
RM
15630 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15631 * sysdeps/wordsize-64/glob64.c: ... here.
15632
962e6658
RM
15633 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15634 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15635 New macros.
15636
ee586a6d
RM
15637 * debug/getlogin_r_chk.c: Moved to ...
15638 * login/getlogin_r_chk.c: ... here.
15639 * debug/Makefile (routines): Move getlogin_r_chk to ...
15640 * login/Makefile (routines): ... here.
15641 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15642 * login/Versions (libc: GLIBC_2.4): ... here.
15643
355f9165
RM
15644 * io/poll.c (__poll): Renamed from poll.
15645 Add libc_hidden_def.
15646 (poll): Define as weak alias.
15647
bd9ffde6
RM
15648 * debug/ptsname_r_chk.c: Moved to ...
15649 * login/ptsname_r_chk.c: ... here.
15650 * debug/Makefile (routines): Move ptsname_r_chk to ...
15651 * login/Makefile (routines): ... here.
15652 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15653 * login/Versions (libc: GLIBC_2.4): ... here.
15654
8fb16a04
RM
15655 * posix/getlogin.c: Moved to ...
15656 * login/getlogin.c: ... here.
15657 * posix/getlogin_r.c: Moved to ...
15658 * login/getlogin_r.c: ... here.
15659 * posix/getlogin_r.c: Moved to ...
15660 * login/getlogin_r.c: ... here.
15661 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15662 * login/Makefile (routines): ... here.
15663 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15664 * login/Versions (libc: GLIBC_2.0): ... here.
15665
b99b892f
RM
15666 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15667 (setrlimit): Define as weak alias.
15668
c7405830
RM
15669 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15670 Call __ names for open, ftruncate, and close.
15671 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15672 (truncate): Define as weak alias.
15673
5bf96de5
JM
156742013-05-06 Joseph Myers <joseph@codesourcery.com>
15675
9ea3513c
JM
15676 * math/gen-libm-test.pl (parse_args): Initialize x before each
15677 test of frexp, modf and remquo.
15678
5bf96de5
JM
15679 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15680 test signgam value.
15681
16e616a7
AZ
156822013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15683
15684 [BZ #15418]
15685 [BZ #15419]
15686 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15687 internal tests.
15688 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15689
d5e82754
RM
156902013-05-06 Roland McGrath <roland@hack.frob.com>
15691
15692 * elf/dl-writev.h: New file.
15693 * elf/dl-misc.c: Include it.
15694 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15695 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15696
a7548d41
JM
156972013-05-04 Joseph Myers <joseph@codesourcery.com>
15698
b7dab1e4
JM
15699 * math/libm-test.inc (noXFails): Remove variable.
15700 (noXPasses): Likewise.
15701 (BUILD_COMPLEX_INT): Remove macro.
15702 (print_screen): Remove xfail argument.
15703 (print_screen_max_error): Likewise.
15704 (update_stats): Likewise.
15705 (print_max_error): Likewise. Update calls to other affected
15706 functions.
15707 (print_complex_max_error): Likewise.
15708 (test_single_exception): Update calls to print_screen.
15709 (test_single_errno): Likewise.
15710 (check_float_internal): Remove xfail argument. Update calls to
15711 other affected functions.
15712 (check_float): Likewise.
15713 (check_complex): Likewise.
15714 (check_int): Likewise.
15715 (check_long): Likewise.
15716 (check_bool): Likewise.
15717 (check_longlong): Likewise.
15718 (main): Don't print noXFails and noXPasses.
15719 * math/gen-libm-test.pl (top level): Don't mention expected
15720 failure handling in comment.
15721 (new_test): Don't handle expected failures.
15722 (parse_args): Don't mention expected failure handling in comment.
15723 (generate_testfile): Don't handle expected failures.
15724 (parse_ulps): Likewise.
15725 (print_ulps_file): Likewise.
15726 (get_failure): Remove function.
15727 (output_test): Don't handle expected failures.
15728 * make/README.libm-test: Don't mention expected failure handling.
15729
a7548d41
JM
15730 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15731 (minus_zero): Likewise.
15732 (plus_infty): Likewise.
15733 (minus_infty): Likewise.
15734 (qnan_value): Likewise.
15735 (max_value): Likewise.
15736 (min_value): Likewise.
15737 (min_subnorm_value): Likewise.
15738 (initialize): Do not initialize those variables dynamically.
15739
60bfd54c
RM
157402013-05-03 Roland McGrath <roland@hack.frob.com>
15741
cc0e6ed8
RM
15742 * io/open.c (__open_2): Moved to ...
15743 * io/open_2.c: ... this new file.
15744 * io/open64.c (__open64_2): Moved to ...
15745 * io/open64_2.c: ... this new file.
15746 * io/openat.c (__openat_2): Moved to ...
15747 * io/openat_2.c: ... this new file.
15748 * io/openat64.c (__openat64_2): Moved to ...
15749 * io/openat64_2.c: ... this new file.
15750 * io/Makefile (routines): Add them.
15751 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15752 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15753 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15754 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15755 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15756 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15757 (__openat64): Add hidden_ver.
15758 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15759 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15760
60bfd54c
RM
15761 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15762 Separately conditionalize setting of GLRO(dl_sysinfo) so
15763 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15764 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15765
83e7640f
AZ
157662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15767
15768 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15769 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15770 definition.
15771 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15772 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15773 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15774 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15775 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15776
d5dc2af3
JM
157772013-05-03 Joseph Myers <joseph@codesourcery.com>
15778
c31a5b1e
JM
15779 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15780 test signgam value.
15781
d5dc2af3
JM
15782 * math/libm-test.inc (hypot_test): Do not use
15783 IGNORE_ZERO_INF_SIGN.
15784
164fd39d
AJ
157852013-05-03 Andreas Jaeger <aj@suse.de>
15786
15787 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15788 Linux 3.9.
15789 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15790 (PF_MAX): Adjust for VSOCK change.
15791
8237f48c
AZ
157922013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15793
15794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15795
9df02941
CD
157962013-05-02 Carlos O'Donell <carlos@redhat.com>
15797
15798 [BZ #15264]
15799 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15800 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15801 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15802
d422395e
DM
158032013-05-02 David S. Miller <davem@davemloft.net>
15804
15805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15806
a07c5731
OB
158072013-05-01 Ondřej Bílka <neleai@seznam.cz>
15808
15809 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15810
1324e37f
RM
158112013-05-01 Roland McGrath <roland@hack.frob.com>
15812
15813 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15814
0695940b
RS
158152013-05-01 Richard Smith <richard@metafoo.co.uk>
15816
bb5f27ad 15817 [BZ #14952]
0695940b
RS
15818 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15819 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15820 Use __attribute__ ((__gnu_inline__)).
15821 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15822 Don't use __attribute__ ((__gnu_inline__)).
15823
10de07f5
JM
158242013-05-01 Joseph Myers <joseph@codesourcery.com>
15825
15826 [BZ #15423]
15827 * math/s_catan.c (__catan): Handle small real or imaginary part of
15828 input specially to avoid spurious underflow.
15829 * math/s_catanf.c (__catanf): Likewise.
15830 * math/s_catanh.c (__catanh): Likewise.
15831 * math/s_catanhf.c (__catanhf): Likewise.
15832 * math/s_catanhl.c (__catanhl): Likewise.
15833 * math/s_catanl.c (__catanl): Likewise.
15834 * math/libm-test.inc (catan_test): Add more tests.
15835 (catanh_test): Likewise.
15836 * sysdeps/i386/fpu/libm-test-ulps: Update.
15837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15838
cb4d5414
AZ
158392013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15840
15841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15842
caf84319
JM
158432013-04-30 Joseph Myers <joseph@codesourcery.com>
15844
15845 [BZ #15416]
15846 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15847 accurately for denominator in atan2.
15848 * math/s_catanf.c (__catanf): Likewise.
15849 * math/s_catanh.c (__catanh): Likewise.
15850 * math/s_catanhf.c (__catanhf): Likewise.
15851 * math/s_catanhl.c (__catanhl): Likewise.
15852 * math/s_catanl.c (__catanl): Likewise.
15853 * math/libm-test.inc (catan_test): Add more tests.
15854 (catanh_test): Likewise.
15855 * sysdeps/i386/fpu/libm-test-ulps: Update.
15856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15857
d569c6ee
SP
158582013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15859
6dbe713d
SP
15860 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15861
f0ee064b
SP
15862 * benchtests/Makefile (bench): Remove slow benchmarks.
15863 * benchtests/atan-inputs: Add slow benchmark inputs.
15864 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15865 (BENCH_FUNC): Accept variant offset.
15866 (VARIANT): Define.
15867 * benchtests/bench-skeleton.c (main): Run benchmark for each
15868 variant.
15869 * benchtests/cos-inputs: Add slow benchmark inputs.
15870 * benchtests/exp-inputs: Likewise.
15871 * benchtests/pow-inputs: Likewise.
15872 * benchtests/sin-inputs: Likewise.
15873 * benchtests/slowatan-inputs: Remove.
15874 * benchtests/slowatan.c: Remove.
15875 * benchtests/slowcos-inputs: Remove.
15876 * benchtests/slowcos.c: Remove.
15877 * benchtests/slowexp-inputs: Remove.
15878 * benchtests/slowexp.c: Remove.
15879 * benchtests/slowpow-inputs: Remove.
15880 * benchtests/slowpow.c: Remove.
15881 * benchtests/slowsin-inputs: Remove.
15882 * benchtests/slowsin.c: Remove.
15883 * benchtests/slowtan-inputs: Remove.
15884 * benchtests/slowtan.c: Remove.
15885 * benchtests/tan-inputs: Add slow benchmark inputs.
15886 * scripts/bench.pl: Parse comments and directives.
15887
d569c6ee
SP
15888 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15889 in CPPFLAGS.
15890 ($(objpfx)bench-%.c): Remove *-ITER.
15891 * benchtests/bench-modf.c: Remove definition of ITER.
15892 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15893 (main): Loop for DURATION seconds instead of fixed number of
15894 iterations.
15895 * scripts/bench.pl: Don't expect iterations in parameters.
15896
a6a242fe
RM
158972013-04-29 Roland McGrath <roland@hack.frob.com>
15898
15899 * io/fchdir.c (__fchdir): Renamed from fchdir.
15900 (fchdir): Define as weak alias.
15901
f2da7793
JM
159022013-04-29 Joseph Myers <joseph@codesourcery.com>
15903
15904 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15905 (ERRNO_EDOM): Likewise.
15906 (ERRNO_ERANGE): Likewise.
15907 (noErrnoTests): New variable.
15908 (init_max_error): Set errno to 0.
15909 (test_single_errno): New function.
15910 (test_errno): Likewise.
15911 (check_float_internal): Call test_errno. Set errno to 0.
15912 (check_complex): Refer to errno tests in comment.
15913 (check_int): Call test_errno. Set errno to 0.
15914 (check_long): Likewise.
15915 (check_bool): Likewise.
15916 (check_longlong): Likewise.
15917 (cos_test): Use ERRNO_* flags for errno tests instead of
15918 check_int.
15919 (expm1_test): Likewise.
15920 (fmod_test): Likewise.
15921 (ilogb_test): Likewise.
15922 (lgamma_test): Likewise.
15923 (pow_test): Likewise.
15924 (remainder_test): Likewise.
15925 (sin_test): Likewise.
15926 (tan_test): Likewise.
15927 (yn_test): Likewise.
15928 (initialize): Set errno to 0.
15929 (main): Print number of errno tests.
15930 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15931
b1a36ceb
AJ
159322013-04-29 Andreas Jaeger <aj@suse.de>
15933
c3ed8088
AJ
15934 [BZ #15084]
15935 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15936 and RES_USEVC.
15937
f1a24198
AJ
15938 [BZ #15085]
15939 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15940 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15941 unimplemented.
15942
9ce3b2cb
AJ
15943 [BZ #15380]
15944 * stdlib/random.c (__initstate): Return NULL if
15945 __initstate fails.
15946
f1a24198 15947 [BZ #15086]
b1a36ceb
AJ
15948 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15949 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15950 RES_SNGLKUPREOP.
15951
7e7b6f36
AZ
159522013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15953
15954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15955
4d14f449
JM
159562013-04-29 Joseph Myers <joseph@codesourcery.com>
15957
15958 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15959 of individual tests.
15960 (casin_test): Likewise.
15961 (casinh_test): Likewise.
15962
5b4217d7
JM
159632013-04-27 Joseph Myers <joseph@codesourcery.com>
15964
15965 [BZ #15409]
15966 * math/s_catan.c (__catan): Handle arguments with large real or
15967 imaginary part separately without squaring.
15968 * math/s_catanf.c (__catanf): Likewise.
15969 * math/s_catanh.c (__catanh): Likewise.
15970 * math/s_catanhf.c (__catanhf): Likewise.
15971 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15972 and redefine.
15973 (__catanhl): Handle arguments with large real or imaginary part
15974 separately without squaring.
15975 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15976 and redefine.
15977 (__catanl): Handle arguments with large real or imaginary part
15978 separately without squaring.
15979 * math/libm-test.inc (catan_test): Add more tests.
15980 (catanh_test): Likewise.
15981 * sysdeps/i386/fpu/libm-test-ulps: Update.
15982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15983
4220c3ef
AJ
159842013-04-27 Andreas Jaeger <aj@suse.de>
15985
15986 [BZ #15007]
15987 * stdlib/stdlib.h: Update guards for qecvt.
15988 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15989 <stdlib.h>.
15990
4721b2d1
AM
159912013-04-27 Allan McRae <allan@archlinux.org>
15992
15993 * sysdeps/i386/fpu/libm-test-ulps: Update.
15994
f0302940
JM
159952013-04-26 Joseph Myers <joseph@codesourcery.com>
15996
9457fd95
JM
15997 [BZ #15406]
15998 * math/s_catan.c: Include <float.h>.
15999 (__catan): Ensure underflow exception occurs for underflowed
16000 result.
16001 * math/s_catanf.c: Include <float.h>.
16002 (__catanf): Ensure underflow exception occurs for underflowed
16003 result.
16004 * math/s_catanh.c: Include <float.h>.
16005 (__catanh): Ensure underflow exception occurs for underflowed
16006 result.
16007 * math/s_catanhf.c: Include <float.h>.
16008 (__catanhf): Ensure underflow exception occurs for underflowed
16009 result.
16010 * math/s_catanhl.c: Include <float.h>.
16011 (__catanhl): Ensure underflow exception occurs for underflowed
16012 result.
16013 * math/s_catanl.c: Include <float.h>.
16014 (__catanl): Ensure underflow exception occurs for underflowed
16015 result.
16016 * math/libm-test.inc (catan_test): Add more tests.
16017 (catanh_test): Likewise.
16018
f0302940
JM
16019 [BZ #15405]
16020 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16021 underflowed result.
16022 * math/s_ccoshf.c (__ccoshf): Likewise.
16023 * math/s_ccoshl.c (__ccoshl): Likewise.
16024 * math/s_csin.c (__csin): Likewise.
16025 * math/s_csinf.c (__csinf): Likewise.
16026 * math/s_csinh.c (__csinh): Likewise.
16027 * math/s_csinhf.c (__csinhf): Likewise.
16028 * math/s_csinhl.c (__csinhl): Likewise.
16029 * math/s_csinl.c (__csinl): Likewise.
16030 * math/libm-test.inc (ccos_test): Add more tests.
16031 (ccosh_test): Likewise.
16032 (csin_test): Likewise.
16033 (csinh_test): Likewise.
16034
aa630f59
AZ
160352013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16036
16037 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16038 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16039 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16040 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16041 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16042 powerpc/power5+/fpu folders.
16043 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16044
16045
1b835983
MT
160462013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16047
16048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16049
73709b26
JM
160502013-04-25 Joseph Myers <joseph@codesourcery.com>
16051
16052 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16053 additions to variable.
16054 [$(config-machine) = x86_64] (modules-names): Likewise.
16055 ($(objpfx)tst-audit3): Remove dependency.
16056 ($(objpfx)tst-audit3.out): Likewise.
16057 ($(objpfx)tst-audit4): Likewise.
16058 ($(objpfx)tst-audit4.out): Likewise.
16059 ($(objpfx)tst-audit5): Likewise.
16060 ($(objpfx)tst-audit5.out): Likewise.
16061 ($(objpfx)tst-audit6): Likewise.
16062 ($(objpfx)tst-audit6.out): Likewise.
16063 ($(objpfx)tst-audit7): Likewise.
16064 ($(objpfx)tst-audit7.out): Likewise.
16065 (tst-audit3-ENV): Remove variable.
16066 (tst-audit4-ENV): Likewise.
16067 (tst-audit5-ENV): Likewise.
16068 (tst-audit6-ENV): Likewise.
16069 (tst-audit7-ENV): Likewise.
16070 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16071 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16072 addition to variable.
16073 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16074 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16075 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16076 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16077 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16078 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16079 tst-audit3, tst-audit4 and tst-audit5.
16080 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16081 tst-audit6 and tst-audit7.
16082 [$(subdir) = elf] (modules-names): Add audit modules for those
16083 tests.
16084 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16085 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16086 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16087 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16088 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16089 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16090 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16091 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16092 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16093 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16094 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16095 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16096 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16097 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16098 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16099 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16100 Likewise.
16101 [$(subdir) = elf && $(config-cflags-avx) = yes]
16102 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16103 [$(subdir) = elf && $(config-cflags-avx) = yes]
16104 (CFLAGS-tst-auditmod4a.c): Likewise.
16105 [$(subdir) = elf && $(config-cflags-avx) = yes]
16106 (CFLAGS-tst-auditmod4b.c): Likewise.
16107 [$(subdir) = elf && $(config-cflags-avx) = yes]
16108 (CFLAGS-tst-auditmod6b.c): Likewise.
16109 [$(subdir) = elf && $(config-cflags-avx) = yes]
16110 (CFLAGS-tst-auditmod6c.c): Likewise.
16111 [$(subdir) = elf && $(config-cflags-avx) = yes]
16112 (CFLAGS-tst-auditmod7b.c): Likewise.
16113 * elf/tst-audit3.c: Move to ...
16114 * sysdeps/x86_64/tst-audit3.c: ... here.
16115 * elf/tst-audit4.c: Move to ...
16116 * sysdeps/x86_64/tst-audit4.c: ... here.
16117 * elf/tst-audit5.c: Move to ...
16118 * sysdeps/x86_64/tst-audit5.c: ... here.
16119 * elf/tst-audit6.c: Move to ...
16120 * sysdeps/x86_64/tst-audit6.c: ... here.
16121 * elf/tst-audit7.c: Move to ...
16122 * sysdeps/x86_64/tst-audit7.c: ... here.
16123 * elf/tst-auditmod3a.c: Move to ...
16124 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16125 * elf/tst-auditmod3b.c: Move to ...
16126 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16127 * elf/tst-auditmod4a.c: Move to ...
16128 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16129 * elf/tst-auditmod4b.c: Move to ...
16130 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16131 * elf/tst-auditmod5a.c: Move to ...
16132 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16133 * elf/tst-auditmod5b.c: Move to ...
16134 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16135 * elf/tst-auditmod6a.c: Move to ...
16136 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16137 * elf/tst-auditmod6b.c: Move to ...
16138 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16139 * elf/tst-auditmod6c.c: Move to ...
16140 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16141 * elf/tst-auditmod7a.c: Move to ...
16142 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16143 * elf/tst-auditmod7b.c: Move to ...
16144 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16145
1ef74943
PP
161462013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16147
16148 [BZ #15366]
16149 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16150 define unconditionally.
16151 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16152 define unconditionally.
16153 (INT8_C, INT16_C, etc.): Likewise.
16154
93fd48c5
MR
161552013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16156
ae9552cf
MR
16157 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16158 __ehdr_start with hidden visibility.
16159
93fd48c5
MR
16160 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16161
418601aa
CD
161622013-04-24 Carlos O'Donell <carlos@redhat.com>
16163
16164 * math/libm-test.inc (cos_test): Use accurate hex constants.
16165 (sincost_test): Likewise.
16166
2f38fbfe
JM
161672013-04-24 Joseph Myers <joseph@codesourcery.com>
16168
5e221800
JM
16169 * math/libm-test.inc (catan_test): Add more tests.
16170 (catanh_test): Likewise.
16171
77f143fd
JM
16172 * math/s_catanf.c (__catanf): Use suffixed floating-point
16173 constants.
16174 * math/s_catanhf.c (__catanhf): Likewise.
16175 * math/s_catanhl.c (__catanhl): Likewise.
16176 * math/s_catanl.c (__catanl): Likewise.
16177
2f38fbfe
JM
16178 [BZ #15394]
16179 * math/s_catan.c (__catan): Calculate imaginary part of result
16180 with log1p not log unless computing log of number close to 0.
16181 * math/s_catanf.c (__catanf): Likewise.
16182 * math/s_catanl.c (__catanl): Likewise.
16183 * math/s_catanh.c (__catanh): Calculate real part of result with
16184 log1p not log unless computing log of number close to 0.
16185 * math/s_catanhf.c (__catanhf): Likewise.
16186 * math/s_catanhl.c (__catanhl): Likewise.
16187 * math/libm-test.inc (catan_test): Add more tests.
16188 (catanh_test): Likewise.
16189 * sysdeps/i386/fpu/libm-test-ulps: Update.
16190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16191
45d69176
SP
161922013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16193
16194 * benchtests/Makefile: Mention files in which fast and slow
16195 paths of math functions are implemented.
16196
87f51853
RM
161972013-04-23 Roland McGrath <roland@hack.frob.com>
16198
16199 * sysdeps/posix/timespec_get.c: New file.
16200
3c026539
AZ
162012013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16202
16203 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16204 POWER.
16205 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16206 for POWER.
16207 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16208 powerpc/power5/fpu folders.
16209 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16210 * benchtests/Makefile: Add modf testcase.
16211 * benchtests/bench-modf.c: New file: Benchmark test for mo
16212
ff491d14
SP
162132013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16214
16215 [BZ #14888]
16216 * time/Makefile (tests): Add tst-strptime-whitespace.
16217 * time/strptime_l.c (get_number): Use ISSPACE.
16218 (__strptime_internal): Likewise.
16219 * time/tst-strptime-whitespace.c: New test case.
16220
7ed3f4e8
AS
162212013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16222
16223 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16224 member.
16225 (_nss_files_init): Set it here.
16226
5c95f7b6
HC
162272013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16228
16229 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16230 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16231 unsigned.
16232
d34c9158
JBG
162332013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16234
16235 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16236
2169712d
SP
162372013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16238
16239 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16240 size just once.
16241
29c5de99
DM
162422013-04-21 David S. Miller <davem@davemloft.net>
16243
16244 * po/ru.po: Update Russion translation from translation project.
16245
ccdad15d
AC
162462013-04-17 Adam Conrad <adconrad@0c3.net>
16247
16248 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16249 and setfsgid.
16250
0f122b8d
CD
162512013-04-17 Carlos O'Donell <carlos@redhat.com>
16252
5c5b07da 16253 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 16254 * configure: Regenerate.
5c5b07da 16255 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
16256 Add example to error message.
16257 * sysdeps/i386/configure: Regenerate.
16258
037714dd
SP
162592013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16260
16261 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16262 slowtan.
16263 * benchtests/cos-inputs: New file.
16264 * benchtests/slowcos-inputs: New file.
16265 * benchtests/slowcos.c: New file.
16266 * benchtests/slowtan-inputs: New file.
16267 * benchtests/slowtan.c: New file.
16268 * benchtests/tan-inputs: New file.
16269
e913141d
RM
162702013-04-16 Roland McGrath <roland@hack.frob.com>
16271
16272 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16273 considered kosher.
16274
a2964074
SP
162752013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16276
4856bcd2
SP
16277 * benchtests/Makefile: Include cppflags-iterator.mk to add
16278 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16279
a2964074
SP
16280 * Makefile.in (bench-clean): New target.
16281 * benchtests/Makefile (bench-clean): Likewise.
16282
9fbf9aca
DH
162832013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16284
16285 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16286
207d1e2a
TS
162872013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16288
16289 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16290
306dfba9
AS
162912013-04-15 Andreas Schwab <schwab@suse.de>
16292
16293 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16294 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16295 * nscd/pwdcache.c (cache_addpw): Likewise.
16296 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16297 more than recsize.
16298
206a6699
SP
162992013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16300
16301 * benchtests/Makefile (bench): Write all output to
16302 bench-out.tmp together.
16303
0582f6b3
AS
163042013-04-15 Andreas Schwab <schwab@suse.de>
16305
16306 * nscd/nscd.c (main): Don't fork again after closing files.
16307
acb4325f
SP
163082013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16309
5cb26d0a
SP
16310 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16311
acb4325f
SP
16312 * benchtests/Rules (bench-deps): Collect dependencies into a
16313 single variable. Add Makefile to dependencies.
16314 ($(objpfx)bench-%.c): Depend on bench-deps.
16315
47792506
RM
163162013-04-12 Roland McGrath <roland@hack.frob.com>
16317 Xavier Roche <roche+kml2@exalead.com>
16318
16319 [BZ #15361]
16320 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16321 just that it's a file descriptor.
16322 * manual/llio.texi (Synchronizing AIO Operations): Update description
16323 for EBADF error from aio_fsync.
16324
8fc1bee5
SP
163252013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16326
16327 * Rules (bench): Move target definition...
16328 * benchtests/Makefile: ... here.
16329
aba5e333
CD
163302013-04-11 Carlos O'Donell <carlos@redhat.com>
16331
16332 * math/libm-test.inc (cos_test): Fix PI/2 test.
16333 (sincos_test): Likewise.
16334 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16335 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16336
273cdee8
AS
163372013-04-11 Andreas Schwab <schwab@suse.de>
16338
6ecec3b6
AS
16339 [BZ #13988]
16340 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16341 accept exponent character only when digits were seen.
16342 * stdio-common/Makefile (tests): Add bug26.
16343 * stdio-common/bug26.c: New file.
16344
273cdee8
AS
16345 [BZ #14293]
16346 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16347 non-freeable.
16348
8da491f5
SP
163492013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16350
01dc6df9
SP
16351 * Makeconfig (rtld-prefix): Define built linker prefix.
16352 * Rules (run-bench): Use it.
16353 * math/Makefile (run-regen-ulps): Likewise.
16354
8da491f5
SP
16355 * Rules (bench): Remove eval.
16356
abe7f530
SP
163572013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16358 Roland McGrath <roland@hack.frob.com>
16359 Ondrej Bilka <neleai@seznam.cz>
16360
16361 [BZ #15346]
16362 * time/getdate.c: Include ctype.h and alloca.h.
16363 (__getdate_r): Trim leading and trailing spaces of input.
16364 * time/tst-getdate.c (tests): Add tests with leading and
16365 trailing spaces.
16366
61c23e62
RM
163672013-04-08 Roland McGrath <roland@hack.frob.com>
16368
16369 [BZ #14280]
16370 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16371 when computing value.
16372
7208a313
CD
163732013-04-06 Carlos O'Donell <carlos@redhat.com>
16374
085b2d41
CD
16375 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16376 Use testrun.sh to run libm tests.
16377
7208a313
CD
16378 [BZ #15309]
16379 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16380
872c0acd
MM
163812013-04-06 Marko Myllynen <myllynen@redhat.com>
16382
16383 [BZ #15264]
16384 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16385
26510bdd
CD
163862013-04-06 Carlos O'Donell <carlos@redhat.com>
16387
16388 * Makefile.in (regen-ulps): New target.
16389 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16390 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16391 [ifneq (no,$(PERL)] (regen-ulps): New target.
16392 [ifeq (no,$(PERL)] (regen-ulps): New target.
16393 * math/libm-test.inc (ulps_file_name): Define.
16394 (output_dir): New variable.
16395 (options): Add "output-dir" option.
16396 (parse_opt): Handle 'o' case.
16397 (main): If output_dir is non-NULL use it as a prefix
16398 otherwise use "".
16399 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16400
a01f19c8
CD
164012013-04-06 Carlos O'Donell <carlos@redhat.com>
16402
16403 [BZ #10060, #10062]
16404 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16405 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16406 fail configure if __sync_val_compare_and_swap is not inlined.
16407 * sysdeps/i386/configure: Regenerate.
16408 * configure.in: Build for i686 when configured for i386.
16409 * configure: Regenerate.
16410 * README: Remove i386 reference.
16411
b7a329a5
CD
164122013-04-06 Carlos O'Donell <carlos@redhat.com>
16413
16414 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16415 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16416
bf0f50df
TS
164172013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16418
ee091edf
TS
16419 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16420 (lmsnanval): New variables.
16421 (F): Add conversion tests.
16422 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16423 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16424
a8b792d6
TS
16425 * stdio-common/tstdiomisc.c (F): Properly collect individual
16426 tests' results.
16427
a1cbf437
TS
16428 [BZ #14686, #15336]
16429 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16430 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16431 Instead, use input NaN values or generate a qNaN by arithmetic
16432 operation. Also fix bugs to comply with the standard.
16433 * math/libm-test.inc (remainder_test): Add more tests.
16434
8b43a0c9
TS
16435 [BZ #15335, #15342]
16436 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16438 input NaN values or generate a qNaN by arithmetic operation.
16439
d91da4ce
TS
16440 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16441 unreachable code.
16442
bf0f50df
TS
16443 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16444 definitions.
16445
05e166c8
JM
164462013-04-03 Joseph Myers <joseph@codesourcery.com>
16447
16448 [BZ #14478]
16449 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16450 underflowed result.
16451 * math/s_cexpf.c (__cexpf): Likewise.
16452 * math/s_cexpl.c (__cexpl): Likewise.
16453 * math/libm-test.inc (cexp_test): Add more tests.
16454
1cef1b19
AS
164552013-04-03 Andreas Schwab <schwab@suse.de>
16456
16457 [BZ #15330]
16458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16459 order arrays from heap if bigger than alloca cutoff.
16460
74d87055
TS
164612013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16462
16463 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16464 (SNAN_TESTS_double): Refer to GCC PR56831.
16465 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16466 GCC PR56828.
16467
d755bba4
SP
164682013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16469
90d5d5bb
SP
16470 * Rules (bench): Move bench.out after the run is complete.
16471
73e0cd5d
SP
16472 * Rules (bench): Echo currently running benchmark.
16473
64aabd4b
SP
16474 * benchtests/Makefile (bench): Add atan and slowatan.
16475 * benchtests/atan-inputs: New file.
16476 * benchtests/slowatan-inputs: New file.
16477 * benchtests/slowatan.c: New file.
16478
c871eccd
SP
16479 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16480 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16481 its value.
16482
d755bba4
SP
16483 [BZ #15305]
16484 * sysdeps/unix/sysv/linux/kernel-features.h
16485 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16486 __ASSUME_XFS_RESTRICTED_CHOWN.
16487 * sysdeps/unix/sysv/linux/pathconf.c
16488 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16489 Save and restore errno.
16490
52ce4860
JM
164912013-04-02 Joseph Myers <joseph@codesourcery.com>
16492
16493 [BZ #15327]
16494 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16495 arguments using __kernel_casinh.
16496 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16497 arguments using __kernel_casinhf.
16498 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16499 arguments using __kernel_casinhl.
16500 * math/libm-test.inc (cacosh_test): Add more tests.
16501 * sysdeps/i386/fpu/libm-test-ulps: Update.
16502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16503
81f311c2
SP
165042013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16505
e7906a47
SP
16506 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16508
92e3664b
SP
16509 * bench/Makefile (bench): Add sin and slowsin.
16510 * benchtests/sin-inputs: New file.
16511 * benchtests/slowsin-inputs: New file.
16512 * benchtests/slowsin.c: New file.
16513
81f311c2
SP
16514 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16515 (bench): Add slowexp and slowpow.
16516 (exp-ITER): Increase iterations.
16517 (pow-ITER): Likewise.
16518 * benchtests/exp-inputs: Change input.
16519 * benchtests/pow-inputs: Likewise.
16520 * benchtests/slowexp-inputs: New file.
16521 * benchtests/slowexp.c: New file.
16522 * benchtests/slowpow-inputs: New file.
16523 * benchtests/slowpow.c: New file.
16524
ab0f1aa9
AZ
165252013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16526
16527 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16528 instructions.
16529 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16530 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16531 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16532 * benchtests/Makefile: Add rint benchtest.
16533 * benchtests/rint-inputs: Input for rint benchtest.
16534
57267616
TS
165352013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16536
16537 * Versions.def (libm): Add GLIBC_2.18.
16538 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16539 hidden libm prototypes.
16540 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16541 * math/Makefile (libm-calls): Add s_issignaling.
16542 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16543 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16544 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16545 declaration.
16546 * math/math.h [__USE_GNU] (issignaling): New macro.
16547 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16548 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16550 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16551 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16552 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16553 * manual/arith.texi (issignaling): New section.
16554 * manual/libm-err-tab.pl (@all_functions): Update comment.
16555 * math/gen-libm-test.pl (parse_args): Apply special handling for
16556 issignaling.
16557 * math/libm-test.inc (print_float, issignaling_test): New
16558 functions.
16559 (check_float_internal): Add issignaling checks.
16560 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16561 default definition.
16562 * sysdeps/powerpc/math-tests.h: New file.
16563 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16564 tests.
16565 * math/test-snan.c (TEST_FUNC): Likewise.
16566
6142896d
DM
165672013-03-30 David S. Miller <davem@davemloft.net>
16568
16569 * po/de.po: Update from translation team.
16570
ccc8cadf
JM
165712013-03-30 Joseph Myers <joseph@codesourcery.com>
16572
16573 [BZ #10357]
16574 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16575 imaginary part less than 1.0 and real part less than 0.5
16576 specially.
16577 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16578 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16579 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16580 (cacos_test): Add more tests.
16581 (casin_test): Likewise.
16582 (casinh_test): Likewise.
16583 * sysdeps/i386/fpu/libm-test-ulps: Update.
16584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16585
0f6a8d4b
SP
165862013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16587
0d1029de
SP
16588 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16589 ONE with its value.
16590
c2d94018
SP
16591 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16592 (__pow_mp): Replace ONE and MONE with their values.
16593 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16594 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16595 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16596 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16597 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16598 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16599
27ec37f1
SP
16600 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16601
a64d7e0e
SP
16602 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16603 (__pow_mp): Replace ZERO and MZERO with their values.
16604 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16605 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16606 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16608 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16609 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16610 (__sqr): Likewise.
16611
d26dd3eb
SP
16612 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16613
0f6a8d4b
SP
16614 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16615
e57b0c61
RM
166162013-03-28 Roland McGrath <roland@hack.frob.com>
16617
16618 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16619 Declare with __attribute__ ((weak)).
16620 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16621 Call __call_tls_dtors only if it's not NULL.
16622
356b3480
RM
166232013-03-28 Roland McGrath <roland@hack.frob.com>
16624
288f7d79
RM
16625 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16626 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16627 magic __ehdr_start linker symbol if it's defined.
16628 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16629 them up here if it was already done.
16630
dc0a0263
RM
16631 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16632 (_dl_aux_init): Use const in cast when setting it.
16633 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16634 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16635 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16636
3d3436ae
RM
16637 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16638 Declare them here.
16639 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16640 * csu/libc-tls.c: Nor here.
16641 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16642
356b3480
RM
16643 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16644 (__libc_message): Never call vsyslog.
16645
b0f1246a
AM
166462013-03-28 Alan Modra <amodra@gmail.com>
16647
16648 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16649 Define as empty.
16650 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16651 Likewise.
16652
fbbe2b9a
AZ
166532013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16654
16655 [BZ #15214]
16656 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16657 underflow.
16658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16659
1728ab37
SP
166602013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16661
7a86be6e
SP
16662 [BZ #15304]
16663 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16664 Don't add gid passed as argument.
16665
1728ab37
SP
16666 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16667
3a7182a1
JM
166682013-03-27 Joseph Myers <joseph@codesourcery.com>
16669
16670 [BZ #15307]
16671 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16672 imaginary part between 1.0 and 1.5 and real part less than 0.5
16673 specially.
16674 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16675 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16676 * math/libm-test.inc (cacos_test): Add more tests.
16677 (casin_test): Likewise.
16678 (casinh_test): Likewise.
16679 * sysdeps/i386/fpu/libm-test-ulps: Update.
16680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16681
6f2e90e7
SP
166822013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16683
5739f705
SP
16684 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16685 constants.
16686 (norm): Likewise.
16687 (denorm): Likewise.
16688 (__dbl_mp): Likewise.
16689 (add_magnitudes): Likewise.
16690 (sub_magnitudes): Likewise.
16691 (__add): Likewise.
16692 (__sub): Likewise.
16693 (__mul): Likewise.
16694 (__sqr): Likewise.
16695 (__inv): Likewise.
16696 (__dvd): Likewise.
16697
e375e83d
SP
16698 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16699 commented code.
16700 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16701 (__dubcos): Likewise.
16702 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16703 (__ieee754_acos): Likewise.
16704 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16705 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16706 (__exp1): Likewise.
16707 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16708 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16709 (log1): Likewise.
16710 (my_log2): Likewise.
16711 (checkint): Likewise.
16712 * sysdeps/ieee754/dbl-64/e_remainder.c
16713 (__ieee754_remainder): Likewise.
16714 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16715 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16716 (bsloww): Likewise.
16717 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16718
6f2e90e7
SP
16719 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16720 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16721 MANTISSA_STORE_T to store computations on mantissa. Use
16722 macros for rounding and division.
16723 (denorm): Likewise.
16724 (__dbl_mp): Likewise.
16725 (add_magnitudes): Likewise.
16726 (sub_magnitudes): Likewise.
16727 (__mul): Likewise.
16728 (__sqr): Likewise.
16729 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16730 powers of two in terms of TWOPOW macro.
16731 (mp_no): Make type of mantissa as MANTISSA_T.
16732 [!RADIXI]: Define RADIXI.
16733 [!TWO52]: Define TWO52.
16734 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16735
fce14d4e
AZ
167362013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16737
16738 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16739 llroundl symbol when building for PPC32.
16740
9ad027fb
MW
167412013-03-24 Mark H Weaver <mhw@netris.org>
16742
16743 * manual/arith.texi (Normalization Functions): Fix prototypes for
16744 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16745
e42a38dd
AZ
167462013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16747
16748 [BZ #13889]
16749 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16750 high value to check if expl overflow.
16751 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16752 to check for underflow and overflow.
16753 * math/libm-test.inc: Add exp test.
16754
2e0fb521
DL
167552013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16756
16757 [BZ #11120]
16758 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16759 with NOT_IN_libc.
16760
b5784d95
AZ
167612013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16762
16763 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16764 symbol.
16765
5aa4a1a1
TS
167662013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16767
bdef0be7
TS
16768 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16769 wrap blocks consisting of several statements.
16770
5aa4a1a1
TS
16771 * sysdeps/generic/math-tests.h: New file.
16772 * sysdeps/i386/fpu/math-tests.h: Likewise.
16773 * math/test-snan.c: Include it.
16774 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16775
98c48fe5
JM
167762013-03-21 Joseph Myers <joseph@codesourcery.com>
16777
16778 [BZ #15285]
16779 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16780 (__ieee754_j0l): Do not improve calculations using cos of twice
16781 input for inputs above LDBL_MAX / 2.0L.
16782 (__ieee754_y0l): Likewise.
16783 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16784 (__ieee754_j1l): Do not improve calculations using cos of twice
16785 input for inputs above LDBL_MAX / 2.0L.
16786 (__ieee754_y1l): Likewise.
16787 * math/libm-test.inc (j0_test): Add another test.
16788 (j1_test): Likewise.
16789 (y0_test): Likewise.
16790 (y1_test): Likewise.
16791 * sysdeps/i386/fpu/libm-test-ulps: Update.
16792
3775a8bc
SP
167932013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16794
16795 * Rules ($(objpfx)bench-%.c): Include code from a C source
16796 file.
16797
0a1b2ae6
JM
167982013-03-21 Joseph Myers <joseph@codesourcery.com>
16799
16800 [BZ #15287]
16801 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16802 imaginary part 1.0 and real part less than 0.5 specially.
16803 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16804 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16805 * math/libm-test.inc (cacos_test): Add more tests.
16806 (casin_test): Likewise.
16807 (casinh_test): Likewise.
16808 * sysdeps/i386/fpu/libm-test-ulps: Update.
16809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16810
b33d4ce4
SP
168112013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16812
16813 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16814 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16815
bef0b507
JM
168162013-03-20 Joseph Myers <joseph@codesourcery.com>
16817
16818 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16819 * config.make.in (config-cflags-sse4): Remove variable.
16820 (config-cflags-avx): Likewise.
16821 (config-cflags-sse2avx): Likewise.
16822 (config-cflags-novzeroupper): Likewise.
16823 (config-asflags-i686): Likewise.
16824 (have-mfma4): Likewise.
16825 (have-as-vis3): Likewise.
16826 (MIG): Likewise.
16827 * configure.in (MIG): Do not AC_SUBST.
16828 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16829 (libc_cv_cc_sse4): Do not AC_SUBST.
16830 (libc_cv_cc_avx): Likewise.
16831 (libc_cv_cc_sse2avx): Likewise.
16832 (libc_cv_cc_novzeroupper): Likewise.
16833 (libc_cv_cc_fma4): Likewise.
16834 (libc_cv_as_i686): Likewise.
16835 (libc_cv_sparc_as_vis3): Likewise.
16836 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16837 LIBC_CONFIG_VAR.
16838 (config-asflags-i686): Likewise.
16839 (config-cflags-avx): Likewise.
16840 (config-cflags-sse2avx): Likewise.
16841 (have-mfma4): Likewise.
16842 (config-cflags-novzeroupper): Likewise.
16843 * sysdeps/mach/configure.in (MIG): Likewise.
16844 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16845 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16846 LIBC_CONFIG_VAR.
16847 (config-cflags-avx): Likewise.
16848 (config-cflags-sse2avx): Likewise.
16849 (have-mfma4): Likewise.
16850 (config-cflags-novzeroupper): Likewise.
16851 * configure: Regenerated.
16852 * sysdeps/i386/configure: Likewise.
16853 * sysdeps/mach/configure: Likewise.
16854 * sysdeps/sparc/configure: Likewise.
16855 * sysdeps/x86_64/configure: Likewise.
16856
912cc4b3
RM
168572013-03-20 Roland McGrath <roland@hack.frob.com>
16858
16859 [BZ #14812]
16860 * locale/programs/localedef.c (options): Put N_ translation marker
16861 on argument names, not just descriptions.
16862
04eed2b0
MS
168632013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16864
16865 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16866
a065ceff
OB
168672013-03-20 Ondřej Bílka <neleai@seznam.cz>
16868
9bb2a810 16869 [BZ #14176]
a065ceff
OB
16870 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16871
a600e5ce
RM
168722013-03-19 Roland McGrath <roland@hack.frob.com>
16873
16874 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16875 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16876 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16877 [!BEFORE_ABORT] (before_abort): New function.
16878 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16879 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16880 (writev_for_fatal): New function.
16881 (WRITEV_FOR_FATAL): New macro; call that.
16882 (backtrace_and_maps): New function.
16883 (BEFORE_ABORT): New macro; call that.
16884 (struct str_list): Type removed.
16885 (__libc_message, __libc_fatal): Functions removed.
16886 Include <sysdeps/posix/libc_fatal.c> instead.
16887
6b18bea6
JM
168882013-03-19 Joseph Myers <joseph@codesourcery.com>
16889
16890 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16891 constants.
16892 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16893 double constants.
16894
aaa8cb4b
AS
168952013-03-19 Andreas Schwab <schwab@suse.de>
16896
44673770
AS
16897 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16898 * sysdeps/gnu/configure: Regenerate.
16899
aaa8cb4b
AS
16900 * configure.in: Substitute libc_cv_rtlddir.
16901 * configure: Regenerate.
16902 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16903 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16904 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16905 * elf/Makefile (install-others, CFLAGS-interp.c)
16906 (ldso_install, common-ldd-rewrite): Likewise.
16907 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16908 $(inst_slibdir)/$(rtld-installed-name).
16909 * scripts/rellns-sh: Add -p option.
16910 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16911 for source.
16912
d3cfc668
SP
169132013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16914
16915 * manual/nptl.texi: Renamed to ...
16916 * manual/threads.texi: ... this.
16917 * manual/Makefile (chapters): Update.
16918
0e2b9cdd
RM
169192013-03-18 Roland McGrath <roland@hack.frob.com>
16920
16921 [BZ #14812]
16922 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16923 on argument names, not just descriptions.
0e2b9cdd
RM
16924 * malloc/memusagestat.c (options): Likewise.
16925 * nss/getent.c (options): Likewise.
63270c24
RM
16926
169272013-03-18 Benno Schulenberg <bensberg@justemail.net>
16928
16929 [BZ #14812]
16930 * iconv/iconv_prog.c (options): Put N_ translation marker
16931 on argument names, not just descriptions.
16932 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16933
b2e1393c
OB
169342013-03-18 Ondrej Bilka <neleai@seznam.cz>
16935
16936 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16937 implementation which is faster on all x86_64 architectures.
16938 Tested on AMD, Intel Nehalem, SNB, IVB.
16939 * sysdeps/x86_64/strnlen.S: Likewise.
16940
16941 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16942 Remove all multiarch strlen and strnlen versions.
16943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16944 Remove strlen and strnlen related parts.
16945
16946 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16947 Inline strlen part.
16948 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16949
16950 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16951 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16952 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16953 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16954 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16955 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16956
ec4ff04d
CD
169572013-03-17 Carlos O'Donell <carlos@redhat.com>
16958
16959 * manual/memory.texi (Malloc Tunable Parameters):
16960 Sort parameters alphabetically. Add comments for missing entries.
16961
cd18e90a
DM
169622013-03-17 David S. Miller <davem@davemloft.net>
16963
16964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16965
2a185d32
JM
169662013-03-16 Joseph Myers <joseph@codesourcery.com>
16967
d2f9799e
JM
16968 [BZ #15283]
16969 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16970 for arguments at most half maximum finite value.
16971 * math/libm-test.inc (j0_test): Add more tests.
16972 (j1_test): Likewise.
16973 (y0_test): Likewise.
16974 (y1_test): Likewise.
16975 * sysdeps/i386/fpu/libm-test-ulps: Update.
16976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16977
2a185d32
JM
16978 [BZ #14155]
16979 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16980 1 / x and functions P and Q for arguments above 0x1p256L.
16981 (__ieee754_y0l): Likewise.
16982 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16983 (__ieee754_y1l): Likewise.
16984 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16985 (j1_test): Likewise.
16986 (y0_test): Likewise.
16987 (y1_test): Likewise.
16988
6cbec759
TS
169892013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16990
16991 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16992 variable.
16993
bc16e260
RM
169942013-03-15 Roland McGrath <roland@hack.frob.com>
16995
aefc9b8c
RM
16996 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16997 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16998 zero since it's initialized to EXEC_PAGESIZE.
16999
bc16e260
RM
17000 * sysdeps/unix/sysv/linux/ldsodefs.h
17001 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17002 * sysdeps/generic/ldsodefs.h: ... here.
17003
a57da955
TS
170042013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17005
af00a34d
TS
17006 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17007
495ded2c
TS
17008 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17009 math/test-snan.c.
17010 * math/test-snan.c: Renamed from
17011 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17012 * math/Makefile (tests): Add test-snan.
17013 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17014 test-powerpc-snan.
17015
777b0332
TS
17016 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17017 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17018 functions.
17019 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17020 __builtin_nan family of functions.
17021 * math/libm-test.inc (initialize): Initialize qnan_value with
17022 __builtin_nan family of functions.
17023 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17024 Remove variables.
17025 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17026 Remove functions.
17027 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17028 storage class. Initialize qNaN_var and sNaN_var with
17029 __builtin_nan and __builtin_nans families of functions,
17030 respectively.
17031
64d063b8
TS
17032 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17033 (sqrt_test): Remove duplicate test with qNaN input.
17034 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17035 (round_test, signbit_test, significand_test): Note missing +/-Inf
17036 as well as qNaN tests.
17037
67e971f1
TS
17038 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17039 qNaN_var. Fix a few strings, too.
17040 * math/libm-test.inc (nan_value): Rename to qnan_value.
17041 * math/gen-libm-test.pl (%beautify): Adjust to that.
17042 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17043 * math/test-misc.c (main): Likewise.
17044 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17045 to __qnan_bytes, and __qnan_union, respectively.
17046 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17047 Likewise.
17048 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17049 and lqnanval, respectively.
17050 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17051 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17052 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17053 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17054
64487e12
TS
17055 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17056 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17057 doubles.
17058
e015e27b
TS
17059 * math/test-misc.c (main): Fix copy'n'pastos.
17060 * misc/tst-efgcvt.c (special): Likewise.
17061
a57da955
TS
17062 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17063 Remove declarations.
17064
1e380345
SP
170652013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17066
17067 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17068 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17069 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17070 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17071
ef26eece
AZ
170722013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17073
17074 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17075 macro to return vdso values correctly in IFUNC implementations.
17076 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17077 Optimization by using IFUNC.
17078
8cfdb7e0
SP
170792013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17080 Richard Henderson <rth@redhat.com>
17081 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17082
17083 * Makefile.in (bench): New target.
17084 * NEWS: Mention the benchmark framework.
17085 * Rules (bench): Likewise.
17086 (binaries-bench): Generate binaries for functions to
17087 benchmark.
17088 * benchtests/Makefile: New makefile for benchmark tests.
17089 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17090 programs.
17091 * benchtests/exp-inputs: New input file for EXP function.
17092 * benchtests/pow-inputs: New input file for POW function.
17093 * scripts/bench.pl: New script to generate source files for
17094 benchmark programs.
17095
bcda9880
SP
170962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17097
d22ca8cd
SP
17098 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17099 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17100 computations on mantissa. Use macros for rounding and
17101 division.
17102 (denorm): Likewise.
17103 (__dbl_mp): Likewise.
17104 (add_magnitudes): Likewise.
17105 (sub_magnitudes): Likewise.
17106 (__mul): Likewise.
17107 (__sqr): Likewise.
17108 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17109 powers of two in terms of TWOPOW macro.
17110 (mp_no): Make type of mantissa as MANTISSA_T.
17111 [!RADIXI]: Define RADIXI.
17112 [!TWO52]: Define TWO52.
17113 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17114
bcda9880
SP
17115 * manual/nptl.texi (cindex): Modify threads to pthreads.
17116
06d5adfb
JM
171172013-03-15 Joseph Myers <joseph@codesourcery.com>
17118
17119 * sysdeps/x86_64/preconfigure: Regenerated.
17120
41c7328e
JM
171212013-03-14 Joseph Myers <joseph@codesourcery.com>
17122
17123 [BZ #14155]
17124 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17125 0x1p28 and above.
17126 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17127 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17128 0x1p28 and above.
17129 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17130 * math/libm-test.inc (j0_test): Do not allow one spurious
17131 underflow exception.
17132 (y1_test): Likewise.
17133
e25cfa60
SP
171342013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17135
0409959c
SP
17136 * manual/Makefile (chapters): Add nptl.
17137 * manual/debug.texi (Debugging Support): Add link to Threads
17138 chapter.
17139 * manual/nptl.texi: New file.
17140
e25cfa60
SP
17141 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17142
58a1335e
PB
171432013-03-14 Petr Baudis <pasky@ucw.cz>
17144
17145 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17146 for non-NULL pointer before the memory validity test. Pointed
17147 out by Holger Brunck <holger.brunck@keymile.com>.
17148
9dc7c64f
AS
171492013-03-13 Andreas Schwab <schwab@suse.de>
17150
17151 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17152 instead of .os.
17153
54206aa6
JM
171542013-03-13 Joseph Myers <joseph@codesourcery.com>
17155
17156 * timezone/zic.c: Update from tzcode 2013b.
17157
e98cdb38
CD
171582013-03-12 Carlos O'Donell <carlos@redhat.com>
17159
17160 * manual/install.texi (Configuring and compiling):
17161 Mention i686 and i586.
17162 * INSTALL: Regenerate.
17163
9967e003
RM
171642013-03-12 Roland McGrath <roland@hack.frob.com>
17165
17166 * sysdeps/init_array/elf-init.c: New file.
17167 * csu/elf-init.c
17168 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17169 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17170
17171 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17172 __gmon_start__ as global, but as static with a .preinit_array pointer.
17173 * sysdeps/init_array/gmon-start.c: New file. Use that.
17174 * sysdeps/init_array/crti.S: New file, empty except for comments.
17175 * sysdeps/init_array/crtn.S: Likewise.
17176
e6b5a293 171772013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17178
17179 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17180 definining bcopy.
80f844c9
OB
17181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17182 Remove Prefer_SSE_for_memop.
17183 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17184 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17185 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17187 memset-x86-64.
80f844c9 17188 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17189 Remove bzero, memset ifunc support.
80f844c9
OB
17190 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17191 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17192 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17193 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17194
fb6b0fcb
AS
171952013-03-11 Andreas Schwab <schwab@suse.de>
17196
17197 [BZ #15234]
17198 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17199 by SHLIB_COMPAT.
17200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17201 (GLIBC_2.16): Remove pthread_atfork.
17202
3e6bd4b1
PP
172032013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17204
17205 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17206 (ptestcases.h): Likewise.
17207
222d7f00
RM
172082013-03-08 Roland McGrath <roland@hack.frob.com>
17209
17210 * Makeconfig ($(common-objpfx)config.status): Depend on
17211 sysdeps/*/preconfigure{,.in} too.
17212
1ba4f030
JM
172132013-03-08 Joseph Myers <joseph@codesourcery.com>
17214
a222d91a
JM
17215 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17216 (__free_hook): Use void * instead of __malloc_ptr_t.
17217 (__malloc_hook): Likewise.
17218 (__realloc_hook): Likewise.
17219 (__memalign_hook): Likewise.
17220 (__after_morecore_hook): Likewise.
17221 * malloc/arena.c (save_malloc_hook): Likewise.
17222 (save_free_hook): Likewise.
17223 * malloc/hooks.c (malloc_hook_ini): Likewise.
17224 (realloc_hook_ini): Likewise.
17225 (memalign_hook_ini): Likewise.
17226 * malloc/malloc.c (malloc_hook_ini): Likewise.
17227 (realloc_hook_ini): Likewise.
17228 (memalign_hook_ini): Likewise.
17229 (__free_hook): Likewise.
17230 (__malloc_hook): Likewise.
17231 (__realloc_hook): Likewise.
17232 (__memalign_hook): Likewise.
17233 (__libc_malloc): Likewise.
17234 (__libc_free): Likewise.
17235 (__libc_realloc): Likewise.
17236 (__libc_memalign): Likewise.
17237 (__libc_valloc): Likewise.
17238 (__libc_pvalloc): Likewise.
17239 (__libc_calloc): Likewise.
17240 (__posix_memalign): Likewise.
17241 * malloc/morecore.c (__sbrk): Likewise.
17242 (__default_morecore): Likewise.
17243
5cc45e10
JM
17244 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17245
dd54b864
JM
17246 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17247 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17248 __malloc_ptrdiff_t.
17249
1ba4f030
JM
17250 * malloc/malloc.h (__malloc_size_t): Remove macro.
17251 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17252 __malloc_size_t.
17253 (old_memalign_hook): Likewise.
17254 (old_realloc_hook): Likewise.
17255 (struct hdr): Likewise.
17256 (flood): Likewise.
17257 (mallochook): Likewise.
17258 (memalignhook): Likewise.
17259 (reallochook): Likewise.
17260 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17261 (tr_old_realloc_hook): Likewise.
17262 (tr_old_memalign_hook): Likewise.
17263 (tr_mallochook): Likewise.
17264 (tr_reallochook): Likewise.
17265 (tr_memalignhook): Likewise.
17266
edf66e57
AZ
172672013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17268
17269 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17270 default_ldbl_pack and using as default implementation.
17271 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17272 implementation.
17273 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17274 redundant definition.
17275 (ldbl_insert_mantissa): Likewise.
17276 (ldbl_canonicalize): Likewise.
17277 (ldbl_nearbyint): Likewise.
17278 (ldbl_pack): Rename to ldbl_pack_ppc.
17279 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17280 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17281 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17282
6d9145d8
SP
172832013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17284
17285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17286 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17287 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17288 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17289 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17290 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17291 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17292 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17293
4dd4e157
AJ
172942013-03-07 Andreas Jaeger <aj@suse.de>
17295
17296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17297 bits/mman-linux.h.
17298
adbb8027
SP
172992013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17300
ce544b5b
SP
17301 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17302 Include mpa.h and declare __MPEXP.
17303 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17304 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17305 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17306 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17307 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17308 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17309 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17310
4cc149fd
SP
17311 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17312 (__slowpow): Use long double EXPL and LOGL functions to
17313 compute POW.
17314 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17315 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17316 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17317 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17318 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17319 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17320
e6ebd4a7
SP
17321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17322 intermediate variable to calculate exponent.
17323 (__sqr): Likewise.
17324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17325 Likewise.
17326 (__sqr): Likewise.
17327
82a9811d
SP
17328 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17329 [!NO__SQR]: Define __sqr.
17330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17331 and NO__SQR. Remove all code except __mul and __sqr. Include
17332 sysdeps/ieee754/dbl-64/mpa.c.
17333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17334
adbb8027
SP
17335 [BZ #12723]
17336 * posix/Makefile (tests): Add tst-pathconf.
17337 * posix/tst-pathconf.c: New test case.
17338 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17339 _PC_PIPE_BUF.
17340 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17341
39120df9
PF
173422013-03-06 Patsy Franklin <pfrankli@redhat.com>
17343
17344 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17345
67525cb8
AJ
173462013-03-06 Andreas Jaeger <aj@suse.de>
17347
664a9ce4
AJ
17348 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17349 definition via __MAP_ANONYMOUS.
17350
8e39047d
AJ
17351 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17352 it's not part of Linux headers.
17353
67525cb8
AJ
17354 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17355 (MAP_HUGE_MASK): Define.
17356
17357 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17358 Define.
17359 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17360 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17361 Define.
17362 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17363 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17364 Define.
17365 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17366 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17367 Define.
17368 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17369
17370 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17371 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17372 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17373 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17374 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17375 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17376
17377 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17378 Handle f2fs.
17379
17380 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17381 Handle f2fs and efivarfs.
17382
17383 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17384 f2fs.
17385
17386 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17387 (EFIVARFS_MAGIC): Add.
17388 (F2FS_LINK_MAX): Add.
17389
e1b42695
PP
173902013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17391
17392 * stdio-common/vfprintf.c: Replace __builtin_expect with
17393 __glibc_unlikely.
17394
2d67d91a
JM
173952013-03-06 Joseph Myers <joseph@codesourcery.com>
17396
17397 [BZ #13550]
17398 * sysdeps/generic/bp-sym.h: Remove file.
17399 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17400 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17401 <bp-sym.h> and <bp-asm.h>.
17402 (__longjmp): Don't use BP_SYM.
17403 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17404 and <bp-asm.h>.
17405 (memcpy): Don't use BP_SYM.
17406 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17407 <bp-sym.h> and <bp-asm.h>.
17408 (memcpy): Don't use BP_SYM.
17409 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17410 <bp-asm.h>.
17411 (memcpy): Don't use BP_SYM.
17412 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17413 <bp-asm.h>.
17414 (memset): Don't use BP_SYM.
17415 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17416 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17417 (__bzero): Don't use BP_SYM.
17418 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17419 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17420 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17421 <bp-sym.h> and <bp-asm.h>.
17422 (memcmp): Don't use BP_SYM. Remove comment about bounded
17423 pointers.
17424 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17425 <bp-sym.h> and <bp-asm.h>.
17426 (memcpy): Don't use BP_SYM.
17427 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17428 <bp-sym.h> and <bp-asm.h>.
17429 (memset): Don't use BP_SYM.
17430 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17431 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17432 (__bzero): Don't use BP_SYM.
17433 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17434 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17435 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17436 <bp-sym.h> and <bp-asm.h>.
17437 (strncmp): Don't use BP_SYM. Remove comment about bounded
17438 pointers.
17439 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17440 <bp-sym.h> and <bp-asm.h>.
17441 (memcpy): Don't use BP_SYM.
17442 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17443 <bp-sym.h> and <bp-asm.h>.
17444 (memset): Don't use BP_SYM.
17445 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17446 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17447 (__bzero): Don't use BP_SYM.
17448 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17449 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17450 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17451 <bp-sym.h> and <bp-asm.h>.
17452 (__memchr): Don't use BP_SYM.
17453 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17454 <bp-sym.h> and <bp-asm.h>.
17455 (memcmp): Don't use BP_SYM. Remove comment about bounded
17456 pointers.
17457 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17458 <bp-sym.h> and <bp-asm.h>.
17459 (memcpy): Don't use BP_SYM.
17460 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17461 <bp-sym.h> and <bp-asm.h>.
17462 (__mempcpy): Don't use BP_SYM.
17463 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17464 <bp-sym.h> and <bp-asm.h>.
17465 (__memrchr): Don't use BP_SYM.
17466 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17467 <bp-sym.h> and <bp-asm.h>.
17468 (memset): Don't use BP_SYM.
17469 (__bzero): Likewise.
17470 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17471 <bp-sym.h> and <bp-asm.h>.
17472 (__rawmemchr): Don't use BP_SYM.
17473 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17474 <bp-sym.h> and <bp-asm.h>.
17475 (__STRCMP): Don't use BP_SYM.
17476 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17477 <bp-sym.h> and <bp-asm.h>.
17478 (strchr): Don't use BP_SYM.
17479 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17480 <bp-sym.h> and <bp-asm.h>.
17481 (__strchrnul): Don't use BP_SYM.
17482 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17483 <bp-sym.h> and <bp-asm.h>.
17484 (strlen): Don't use BP_SYM.
17485 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17486 <bp-sym.h> and <bp-asm.h>.
17487 (strncmp): Don't use BP_SYM. Remove comment about bounded
17488 pointers.
17489 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17490 <bp-sym.h> and <bp-asm.h>.
17491 (__strnlen): Don't use BP_SYM.
17492 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17493 <bp-sym.h> and <bp-asm.h>.
17494 (__GI__setjmp): Don't use BP_SYM.
17495 (_setjmp): Likewise.
17496 (__sigsetjmp): Likewise.
17497 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17498 (L(start_addresses)): Don't use BP_SYM.
17499 (_start): Likewise.
17500 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17501 <bp-asm.h>.
17502 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17503 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17504 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17505 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17506 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17507 <bp-asm.h>.
17508 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17509 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17510 about bounded pointers.
17511 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17512 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17513 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17514 <bp-asm.h>.
17515 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17516 about bounded pointers. Remove GKM FIXME comments.
17517 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17518 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17519 <bp-asm.h>.
17520 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17521 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17522 Remove GKM FIXME comments.
17523 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17524 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17525 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17526 <bp-asm.h>.
17527 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17528 about bounded pointers. Remove GKM FIXME comment.
17529 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17530 and <bp-asm.h>.
17531 (strncmp): Don't use BP_SYM. Remove comment about bounded
17532 pointers.
17533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17534 <bp-sym.h> and <bp-asm.h>.
17535 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17537 <bp-sym.h> and <bp-asm.h>.
17538 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17539 comment.
17540
cdcf361f
PP
175412013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17542
17543 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17544 call free(NULL).
17545
3c4a2b15
DM
175462013-03-05 David S. Miller <davem@davemloft.net>
17547
17548 * po/es.po: Update from translation team.
17549
cdcf361f 175502013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17551
17552 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17553 <bits/mman-linux.h>.
17554 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17555 is fine.
17556 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17557 <bits/mman-linux.h> to end of file.
17558 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17559 is fine.
17560 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17561 <bits/mman-linux.h> to end of file.
17562 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17563 is fine.
17564 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17565 <bits/mman-linux.h> to end of file.
17566
17567 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17568 (MCL_CURRENT, MCL_FUTURE): Define here.
17569
5f67c04f
AK
175702013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17571
8a4473cc 17572 [BZ #15232]
5f67c04f
AK
17573 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17574 attribute_hidden.
17575 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17576
c3e94a95
AK
175772013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17578
17579 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17580 fourth parameter needed for rt_sigprocmask syscall.
17581 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17582 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17583 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17584 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17585 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17586 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17587
cfb6382a
JM
175882013-03-04 Joseph Myers <joseph@codesourcery.com>
17589
17590 [BZ #13550]
17591 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17592 comment about bounded pointers.
17593 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17594 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17595
539d8e01
AJ
175962013-03-04 Andreas Jaeger <aj@suse.de>
17597
17598 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17599 common definitions.
17600
17601 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17602 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17603 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17604 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17605 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
17606 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17607
2e167a70 176082013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
17609
17610 [BZ #15055]
17611 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17612 __ieee754_sqrl instead of __sqrl.
17613
68508633
JM
176142013-03-01 Joseph Myers <joseph@codesourcery.com>
17615
17616 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17617 * sysdeps/powerpc/fpu_control.h: ... here.
17618 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17619 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17620 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17621 * sysdeps/powerpc/bits/mathinline.h: ... here.
17622
7775448e
RM
176232013-03-01 Roland McGrath <roland@hack.frob.com>
17624
17625 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17626 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17627 to just [NEED_DL_SYSINFO_DSO].
17628 * elf/dl-support.c: Likewise.
17629 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17630 * elf/rtld.c (dl_main): Likewise.
17631 * elf/setup-vdso.h (setup_vdso): Likewise.
17632 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17633 * sysdeps/unix/sysv/linux/dl-sysdep.c
17634 (_dl_discover_osversion): Likewise.
17635
4e9b5995
CD
176362013-03-01 Carlos O'Donell <carlos@redhat.com>
17637
17638 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17639 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17640
e23872c8
SP
176412013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17642
e5c74c63
SP
17643 * NEWS: Mention libm performance improvements and non-x86 PI
17644 futex support.
17645
e23872c8
SP
17646 * csu/libc-start.c (__pthread_initialize_minimal): Change
17647 function arguments.
17648 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17649
b5510883
JM
176502013-02-28 Joseph Myers <joseph@codesourcery.com>
17651
17652 [BZ #13550]
17653 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17654 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17655 <bp-sym.h> and <bp-asm.h>.
17656 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17657 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17658 and <bp-asm.h>.
17659 (memcpy): Don't use BP_SYM.
17660 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17661 <bp-asm.h>.
17662 (__mpn_add_n): Don't use BP_SYM.
17663 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17664 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17665 and <bp-asm.h>.
17666 (__mpn_addmul_1): Don't use BP_SYM.
17667 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17668 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17669 <bp-sym.h>.
17670 (_setjmp): Don't use BP_SYM.
17671 (__novmx_setjmp): Likewise.
17672 (__GI__setjmp): Likewise.
17673 (__vmx_setjmp): Likewise.
17674 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17675 <bp-sym.h>.
17676 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17677 (__bzero): Don't use BP_SYM.
17678 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17679 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17680 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17681 <bp-sym.h> and <bp-asm.h>.
17682 (memcpy): Don't use BP_SYM.
17683 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17684 <bp-sym.h> and <bp-asm.h>.
17685 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17686 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17687 <bp-sym.h> and <bp-asm.h>.
17688 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17689 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17690 <bp-asm.h>.
17691 (__mpn_lshift): Don't use BP_SYM.
17692 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17693 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17694 <bp-asm.h>.
17695 (memset): Don't use BP_SYM.
17696 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17697 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17698 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17699 <bp-asm.h>.
17700 (__mpn_mul_1): Don't use BP_SYM.
17701 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17702 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17703 <bp-sym.h> and <bp-asm.h>.
17704 (memcmp): Don't use BP_SYM.
17705 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17706 <bp-sym.h> and <bp-asm.h>.
17707 (memcpy): Don't use BP_SYM.
17708 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17709 <bp-sym.h> and <bp-asm.h>.
17710 (memset): Don't use BP_SYM.
17711 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17712 <bp-sym.h> and <bp-asm.h>.
17713 (strncmp): Don't use BP_SYM.
17714 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17715 <bp-sym.h> and <bp-asm.h>.
17716 (memcpy): Don't use BP_SYM.
17717 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17718 <bp-sym.h> and <bp-asm.h>.
17719 (memset): Don't use BP_SYM.
17720 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17721 <bp-sym.h> and <bp-asm.h>.
17722 (__memchr): Don't use BP_SYM.
17723 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17724 <bp-sym.h> and <bp-asm.h>.
17725 (memcmp): Don't use BP_SYM.
17726 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17727 <bp-sym.h> and <bp-asm.h>.
17728 (memcpy): Don't use BP_SYM.
17729 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17730 <bp-sym.h> and <bp-asm.h>.
17731 (__mempcpy): Don't use BP_SYM.
17732 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17733 <bp-sym.h> and <bp-asm.h>.
17734 (__memrchr): Don't use BP_SYM.
17735 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17736 <bp-sym.h> and <bp-asm.h>.
17737 (memset): Don't use BP_SYM.
17738 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17739 <bp-sym.h> and <bp-asm.h>.
17740 (__rawmemchr): Don't use BP_SYM.
17741 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17742 <bp-sym.h> and <bp-asm.h>.
17743 (__STRCMP): Don't use BP_SYM.
17744 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17745 <bp-sym.h> and <bp-asm.h>.
17746 (strchr): Don't use BP_SYM.
17747 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17748 <bp-sym.h> and <bp-asm.h>.
17749 (__strchrnul): Don't use BP_SYM.
17750 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17751 <bp-sym.h> and <bp-asm.h>.
17752 (strlen): Don't use BP_SYM.
17753 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17754 <bp-sym.h> and <bp-asm.h>.
17755 (strncmp): Don't use BP_SYM.
17756 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17757 <bp-sym.h> and <bp-asm.h>.
17758 (__strnlen): Don't use BP_SYM.
17759 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17760 <bp-asm.h>.
17761 (__mpn_rshift): Don't use BP_SYM.
17762 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17763 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17764 <bp-sym.h> and <bp-asm.h>.
17765 (__sigsetjmp): Don't use BP_SYM.
17766 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17767 (L(start_addresses)): Don't use BP_SYM.
17768 (_start): Likewise.
17769 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17770 <bp-asm.h>.
17771 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17772 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17773 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17774 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17775 <bp-asm.h>.
17776 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17777 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17778 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17779 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17780 <bp-asm.h>.
17781 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17782 comments.
17783 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17784 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17785 <bp-asm.h>.
17786 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17787 FIXME comments.
17788 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17789 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17790 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17791 <bp-asm.h>.
17792 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17793 comment.
17794 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17795 and <bp-asm.h>.
17796 (strncmp): Don't use BP_SYM,
17797 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17798 <bp-asm.h>.
17799 (__mpn_sub_n): Don't use BP_SYM.
17800 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17801 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17802 and <bp-asm.h>.
17803 (__mpn_submul_1): Don't use BP_SYM.
17804 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17806 <bp-sym.h> and <bp-asm.h>.
17807 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17809 <bp-sym.h> and <bp-asm.h>.
17810 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17811 comment.
17812
8d19fe64
SP
178132013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17814
17815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17816 Use ZK to minimize writes to Z.
17817 (sub_magnitudes): Simplify code a bit.
17818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17819 Use ZK to minimize writes to Z.
17820 (sub_magnitudes): Simplify code a bit.
17821
85bd816a
RM
178222013-02-27 Roland McGrath <roland@hack.frob.com>
17823
17824 * csu/gmon-start.c: Add special exception to license text.
17825
b5977bf2
RH
178262013-02-27 Richard Henderson <rth@redhat.com>
17827
17828 * scripts/config.guess: Update from config.git.
17829 * scripts/config.sub: Likewise.
17830
11d6e2f2
SP
178312013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17832
09c14ed2
SP
17833 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17834
a688864e
SP
17835 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17836
6295157a
SP
17837 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17838
b8de2202
SP
17839 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17840
11d6e2f2
SP
17841 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17842
7e80ddb8
RM
178432013-02-26 Roland McGrath <roland@hack.frob.com>
17844
17845 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17846 [$(build-shared = yes].
7e80ddb8 17847
7da6d9ed
SP
178482013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17849
45f05884
SP
17850 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17851 (__mul): Reduce iterations for calculating mantissa.
17852
2236d359
SP
17853 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17854 MPTWO.
17855 (__mpranred): Likewise.
17856
7da6d9ed
SP
17857 [BZ #15160]
17858 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17859 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17860
b7688c42
PE
178612013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17862
17863 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17864 Define __attribute__.
17865
53a5c423
SP
178662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17867
17868 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17869 unused.
17870 * posix/regex_internal.h (__attribute): Remove.
17871 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17872 (re_string_context_at): Likewise.
17873 (bitset_not): Use __attribute__ and mark function as possibly
17874 unused.
17875 (bitset_merge): Likewise.
17876 (bitset_mask): Likewise.
17877 (re_string_char_size_at): Likewise.
17878 (re_string_wchar_at): Likewise.
17879 (re_string_elem_size_at): Likewise.
17880
60f5a8b5
SP
178812013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17882
2a983a2e
SP
17883 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17884 code.
17885 (cc32): Likewise.
17886
e69804d1
SP
17887 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17888 (__acr): Likewise.
17889 (__cpy): Likewise.
17890 (norm): Likewise.
17891 (denorm): Likewise.
17892 (__dbl_mp): Likewise.
17893 (add_magnitudes): Likewise.
17894 (sub_magnitudes): Likewise.
17895 (__mul): Likewise.
17896 (__inv): Likewise.
17897
2f22a1e8
SP
17898 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17899 style.
17900
8930ddc7
SP
17901 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17902 style.
17903
dc60cb11
SP
17904 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17905 code.
17906
60f5a8b5
SP
17907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17908 up changes with default code.
17909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17910 Likewise.
17911
b4d1fd33
AM
179122013-02-24 Allan McRae <allan@archlinux.org>
17913
faf6f8bc
AM
17914 * manual/socket.texi (The Internet Namespace): Order menu items
17915 to match that in the file.
17916
b4d1fd33
AM
17917 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17918 node listing of the info page menu.
17919
2366713d
JM
179202013-02-21 Joseph Myers <joseph@codesourcery.com>
17921
17922 [BZ #13550]
17923 * sysdeps/i386/bp-asm.h: Remove file.
17924 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17925 (PARMS): Do not use macros from bp-asm.h.
17926 (S1): Likewise.
17927 (S2): Likewise.
17928 (SIZE): Likewise.
17929 (__mpn_add_n): Do not use BP_SYM
17930 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17931 "bp-asm.h".
17932 (PARMS): Do not use macros from bp-asm.h.
17933 (S1): Likewise.
17934 (SIZE): Likewise.
17935 (__mpn_addmul_1): Do not use BP_SYM
17936 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17937 "bp-asm.h".
17938 (PARMS): Do not use macros from bp-asm.h.
17939 (SIGMSK): Likewise.
17940 (_setjmp): Likewise. Do not use BP_SYM.
17941 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17942 "bp-asm.h".
17943 (PARMS): Do not use macros from bp-asm.h.
17944 (SIGMSK): Likewise.
17945 (setjmp): Likewise. Do not use BP_SYM.
17946 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17947 "bp-asm.h".
17948 (PARMS): Do not use macros from bp-asm.h.
17949 (__frexp): Do not use BP_SYM.
17950 (frexp): Likewise.
17951 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17952 "bp-asm.h".
17953 (PARMS): Do not use macros from bp-asm.h.
17954 (__frexpf): Do not use BP_SYM.
17955 (frexpf): Likewise.
17956 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17957 "bp-asm.h".
17958 (PARMS): Do not use macros from bp-asm.h.
17959 (__frexpl): Do not use BP_SYM.
17960 (frexpl): Likewise.
17961 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17962 "bp-asm.h".
17963 (PARMS): Do not use macros from bp-asm.h.
17964 (__remquo): Do not use BP_SYM.
17965 (remquo): Likewise.
17966 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17967 "bp-asm.h".
17968 (PARMS): Do not use macros from bp-asm.h.
17969 (__remquof): Do not use BP_SYM.
17970 (remquof): Likewise.
17971 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17972 "bp-asm.h".
17973 (PARMS): Do not use macros from bp-asm.h.
17974 (__remquol): Do not use BP_SYM.
17975 (remquol): Likewise.
17976 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17977 "bp-asm.h".
17978 (PARMS): Do not use macros from bp-asm.h.
17979 (DEST): Likewise.
17980 (SRC): Likewise.
17981 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17982 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17983 "bp-asm.h".
17984 (PARMS): Do not use macros from bp-asm.h.
17985 (strlen): Do not use BP_SYM.
17986 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17987 "bp-asm.h".
17988 (PARMS): Do not use macros from bp-asm.h.
17989 (S1): Likewise.
17990 (S2): Likewise.
17991 (SIZE): Likewise.
17992 (__mpn_add_n): Do not use BP_SYM.
17993 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17994 "bp-asm.h".
17995 (PARMS): Do not use macros from bp-asm.h.
17996 (S1): Likewise.
17997 (SIZE): Likewise.
17998 (__mpn_addmul_1): Do not use BP_SYM.
17999 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18000 weak_alias.
18001 (bzero): Likewise.
18002 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18003 "bp-asm.h".
18004 (PARMS): Do not use macros from bp-asm.h.
18005 (S): Likewise.
18006 (SIZE): Likewise.
18007 (__mpn_lshift): Do not use BP_SYM.
18008 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18009 "bp-asm.h".
18010 (PARMS): Do not use macros from bp-asm.h.
18011 (DEST): Likewise.
18012 (SRC): Likewise.
18013 (LEN): Likewise.
18014 (memcpy): Likewise. Do not use BP_SYM.
18015 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18016 libc_hidden_def and weak_alias.
18017 (mempcpy): Do not use BP_SYM in weak_alias.
18018 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18019 "bp-asm.h".
18020 (PARMS): Do not use macros from bp-asm.h.
18021 (DEST): Likewise.
18022 (LEN): Likewise.
18023 [!BZERO_P] (CHR): Likewise.
18024 (memset): Likewise. Do not use BP_SYM.
18025 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18026 "bp-asm.h".
18027 (PARMS): Do not use macros from bp-asm.h.
18028 (S1): Likewise.
18029 (SIZE): Likewise.
18030 (__mpn_mul_1): Do not use BP_SYM.
18031 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18032 "bp-asm.h".
18033 (PARMS): Do not use macros from bp-asm.h.
18034 (S): Likewise.
18035 (SIZE): Likewise.
18036 (__mpn_rshift): Do not use BP_SYM.
18037 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18038 "bp-asm.h".
18039 (PARMS): Do not use macros from bp-asm.h.
18040 (STR): Likewise.
18041 (CHR): Likewise.
18042 (strchr): Likewise. Do not use BP_SYM.
18043 (index): Do not use BP_SYM in weak_alias.
18044 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18045 "bp-asm.h".
18046 (PARMS): Do not use macros from bp-asm.h.
18047 (DEST): Likewise.
18048 (SRC): Likewise.
18049 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18050 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18051 "bp-asm.h".
18052 (PARMS): Do not use macros from bp-asm.h.
18053 (strlen): Do not use BP_SYM.
18054 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18055 "bp-asm.h".
18056 (PARMS): Do not use macros from bp-asm.h.
18057 (S1): Likewise.
18058 (S2): Likewise.
18059 (SIZE): Likewise.
18060 (__mpn_sub_n): Do not use BP_SYM.
18061 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18062 "bp-asm.h".
18063 (PARMS): Do not use macros from bp-asm.h.
18064 (S1): Likewise.
18065 (SIZE): Likewise.
18066 (__mpn_submul_1): Do not use BP_SYM.
18067 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18068 "bp-asm.h".
18069 (PARMS): Do not use macros from bp-asm.h.
18070 (S1): Likewise.
18071 (S2): Likewise.
18072 (SIZE): Likewise.
18073 (__mpn_add_n): Do not use BP_SYM.
18074 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18075 weak_alias.
18076 (bzero): Likewise.
18077 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18078 "bp-asm.h".
18079 (PARMS): Do not use macros from bp-asm.h.
18080 (BLK2): Likewise.
18081 (LEN): Likewise.
18082 (memcmp): Do not use BP_SYM.
18083 (bcmp): Do not use BP_SYM in weak_alias.
18084 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18085 "bp-asm.h".
18086 (PARMS): Do not use macros from bp-asm.h.
18087 (DEST): Likewise.
18088 (SRC): Likewise.
18089 (LEN): Likewise.
18090 (memcpy): Likewise. Do not use BP_SYM.
18091 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18092 "bp-asm.h".
18093 (PARMS): Do not use macros from bp-asm.h.
18094 (DEST): Likewise.
18095 (SRC): Likewise.
18096 (LEN): Likewise.
18097 (memmove): Likewise. Do not use BP_SYM.
18098 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18099 "bp-asm.h".
18100 (PARMS): Do not use macros from bp-asm.h.
18101 (DEST): Likewise.
18102 (SRC): Likewise.
18103 (LEN): Likewise.
18104 (__mempcpy): Likewise. Do not use BP_SYM.
18105 (mempcpy): Do not use BP_SYM in weak_alias.
18106 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18107 "bp-asm.h".
18108 (PARMS): Do not use macros from bp-asm.h.
18109 (DEST): Likewise.
18110 (LEN): Likewise.
18111 [!BZERO_P] (CHR): Likewise.
18112 (memset): Likewise. Do not use BP_SYM.
18113 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18114 "bp-asm.h".
18115 (PARMS): Do not use macros from bp-asm.h.
18116 (STR2): Likewise.
18117 (strcmp): Do not use BP_SYM.
18118 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18119 "bp-asm.h".
18120 (PARMS): Do not use macros from bp-asm.h.
18121 (STR): Likewise.
18122 (DELIM): Likewise.
18123 [USE_AS_STRTOK_R] (SAVE): Likewise.
18124 (FUNCTION): Likewise. Do not use BP_SYM.
18125 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18126 aliases.
18127 (strtok_r): Likewise.
18128 (__GI___strtok_r): Likewise.
18129 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18130 (PARMS): Do not use macros from bp-asm.h.
18131 (S): Likewise.
18132 (SIZE): Likewise.
18133 (__mpn_lshift): Do not use BP_SYM.
18134 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18135 (PARMS): Do not use macros from bp-asm.h.
18136 (STR): Likewise.
18137 (CHR): Likewise.
18138 (__memchr): Do not use BP_SYM.
18139 (memchr): Do not use BP_SYM in weak_alias.
18140 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18141 (PARMS): Do not use macros from bp-asm.h.
18142 (BLK2): Likewise.
18143 (LEN): Likewise.
18144 (memcmp): Do not use BP_SYM.
18145 (bcmp): Do not use BP_SYM in weak_alias.
18146 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18147 (PARMS): Do not use macros from bp-asm.h.
18148 (S1): Likewise.
18149 (SIZE): Likewise.
18150 (__mpn_mul_1): Do not use BP_SYM.
18151 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18152 "bp-asm.h".
18153 (PARMS): Do not use macros from bp-asm.h.
18154 (STR): Likewise.
18155 (CHR): Likewise.
18156 (__rawmemchr): Do not use BP_SYM.
18157 (rawmemchr): Do not use BP_SYM in weak_alias.
18158 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18159 (PARMS): Do not use macros from bp-asm.h.
18160 (S): Likewise.
18161 (SIZE): Likewise.
18162 (__mpn_rshift): Do not use BP_SYM.
18163 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18164 (PARMS): Do not use macros from bp-asm.h.
18165 (SIGMSK): Likewise.
18166 (__sigsetjmp): Likewise. Do not use BP_SYM.
18167 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18168 (_start): Do not use BP_SYM.
18169 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18170 (PARMS): Do not use macros from bp-asm.h.
18171 (DEST): Likewise.
18172 (SRC): Likewise.
18173 (__stpcpy): Likewise. Do not use BP_SYM.
18174 (stpcpy): Do not use BP_SYM in weak_alias.
18175 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18176 "bp-asm.h".
18177 (PARMS): Do not use macros from bp-asm.h.
18178 (DEST): Likewise.
18179 (SRC): Likewise.
18180 (LEN): Likewise.
18181 (__stpncpy): Likewise. Do not use BP_SYM.
18182 (stpncpy): Do not use BP_SYM in weak_alias.
18183 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18184 (PARMS): Do not use macros from bp-asm.h.
18185 (STR): Likewise.
18186 (CHR): Likewise.
18187 (strchr): Likewise. Do not use BP_SYM.
18188 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18189 "bp-asm.h".
18190 (PARMS): Do not use macros from bp-asm.h.
18191 (STR): Likewise.
18192 (CHR): Likewise.
18193 (__strchrnul): Likewise. Do not use BP_SYM.
18194 (strchrnul): Do not use BP_SYM in weak_alias.
18195 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18196 "bp-asm.h".
18197 (PARMS): Do not use macros from bp-asm.h.
18198 (STOP): Likewise.
18199 (strcspn): Do not use BP_SYM.
18200 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18201 "bp-asm.h".
18202 (PARMS): Do not use macros from bp-asm.h.
18203 (STR): Likewise.
18204 (STOP): Likewise.
18205 (strpbrk): Likewise. Do not use BP_SYM.
18206 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18207 "bp-asm.h".
18208 (PARMS): Do not use macros from bp-asm.h.
18209 (STR): Likewise.
18210 (CHR): Likewise.
18211 (strrchr): Likewise. Do not use BP_SYM.
18212 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18213 (PARMS): Do not use macros from bp-asm.h.
18214 (SKIP): Likewise.
18215 (strspn): Do not use BP_SYM.
18216 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18217 (PARMS): Do not use macros from bp-asm.h.
18218 (STR): Likewise.
18219 (DELIM): Likewise.
18220 (SAVE): Likewise.
18221 (FUNCTION): Likewise. Do not use BP_SYM.
18222 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18223 aliases.
18224 (strtok_r): Likewise.
18225 (__GI___strtok_r): Likewise.
18226 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18227 (PARMS): Do not use macros from bp-asm.h.
18228 (S1): Likewise.
18229 (S2): Likewise.
18230 (SIZE): Likewise.
18231 (__mpn_sub_n): Do not use BP_SYM.
18232 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18233 "bp-asm.h".
18234 (PARMS): Do not use macros from bp-asm.h.
18235 (S1): Likewise.
18236 (SIZE): Likewise.
18237 (__mpn_submul_1): Do not use BP_SYM.
18238 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18239 <bp-sym.h>.
18240 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18241 and <bp-asm.h>.
18242 (PARMS): Do not use macros from bp-asm.h.
18243 (FLAGS): Likewise.
18244 (PTID): Likewise.
18245 (TLS): Likewise.
18246 (CTID): Likewise.
18247 (__clone): Do not use BP_SYM.
18248 (clone): Do not use BP_SYM in weak_alias.
18249 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18250 and <bp-asm.h>.
18251 (PARMS): Do not use macros from bp-asm.h.
18252 (LEN): Likewise.
18253 (__mmap64): Do not use BP_SYM.
18254 (mmap64): Do not use BP_SYM in weak_alias.
18255 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18256 <bp-sym.h> and <bp-asm.h>.
18257 (PARMS): Do not use macros from bp-asm.h.
18258 (__posix_fadvise64_l64): Do not use BP_SYM.
18259 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18260 (PARMS): Do not use macros from bp-asm.h.
18261 (NSOPS): Likewise.
18262 (semtimedop): Do not use BP_SYM.
18263 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18264 and <bp-asm.h>.
18265
582a3cff
AM
182662013-02-21 Allan McRae <allan@archlinux.org>
18267
18268 * manual/message.texi (Charset conversion in gettext):
18269 Move @end statement to beginning of line.
18270
bab8a695
SP
182712013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18272
80945231
SP
18273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18274 static.
18275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18276 Likewise.
18277
bab8a695
SP
18278 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18279 (denorm): Likewise.
18280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18282
e21d7aa7
AK
182832013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18284
18285 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18286 tail-call to the resolved function if pltexit isn't needed.
18287
4c7a4263
SP
182882013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18289
18290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18291 or Y being zero as being unlikely.
18292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18293 Likewise.
18294
41f49342
CD
182952013-02-20 Carlos O'Donell <carlos@redhat.com>
18296
18297 * manual/nss.texi (System Databases and Name Service Switch):
18298 Remove frobnicate @pxref.
18299
50022a93
TS
183002013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18301
18302 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18303 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18304
08cbd996
PM
183052013-02-20 Petr Machata <pmachata@redhat.com>
18306
18307 * elf/elf.h (R_ARM_TARGET1): New macro.
18308 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18309 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18310 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18311 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18312 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18313 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18314 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18315 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18316 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18317 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18318 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18319 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18320 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18321 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18322 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18323 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18324 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18325 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18326 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18327 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18328 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18329 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18330 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18331 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18332 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18333 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18334 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18335 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18336 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18337 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18338 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18339 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18340 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18341 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18342 (R_ARM_THM_GOT_BREL12): Likewise.
18343 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18344 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18345 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18346 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18347 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18348 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18349 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18350 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18351 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18352
c7b275d6
TS
183532013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18354
18355 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18356 __attribute_used__ to __attribute__ ((unused)).
18357
20cd7fb3
SP
183582013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18359
18360 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18361 powerpc mpa.c.
18362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18363 comment formatting.
18364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18365
92945b52
JM
183662013-02-19 Joseph Myers <joseph@codesourcery.com>
18367
18368 [BZ #13550]
18369 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18370 Remove macro.
18371 (ENTER): Remove both macro definitions.
18372 (LEAVE): Likewise.
18373 (CHECK_BOUNDS_LOW): Likewise.
18374 (CHECK_BOUNDS_HIGH): Likewise.
18375 (CHECK_BOUNDS_BOTH): Likewise.
18376 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18377 (RETURN_BOUNDED_POINTER): Likewise.
18378 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18379 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18380 (POP_ERRNO_LOCATION_RETURN): Likewise.
18381 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18382 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18383 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18384 macros.
18385 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18386 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18387 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18388 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18389 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18390 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18391 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18392 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18393 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18394 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18395 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18396 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18397 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18398 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18399 removed macros.
18400 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18401 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18402 macros.
18403 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18404 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18405 * sysdeps/i386/i586/memset.S (memset): Likewise.
18406 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18407 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18408 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18409 macros.
18410 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18411 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18412 Change uses of L(2) to L(out).
18413 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18414 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18415 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18416 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18417 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18418 removed macros.
18419 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18420 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18421 macros.
18422 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18423 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18424 (RETURN): Do not use macro LEAVE.
18425 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18426 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18427 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18428 * sysdeps/i386/i686/memset.S (memset): Likewise.
18429 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18430 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18431 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18432 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18433 Likewise.
18434 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18435 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18436 L(1_2) and L(1_3) into L(1).
18437 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18438 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18439 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18440 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18441 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18442 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18443 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18444 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18445 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18446 macros.
18447 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18448 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18449 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18450 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18451 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18452 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18453 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18454 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18455 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18456 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18457 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18458 * sysdeps/i386/strspn.S (strspn): Likewise.
18459 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18460 conditional code.
18461 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18462 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18463 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18464 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18465 L(1_3) into L(1_1).
18466 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18467 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18468 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18469 macros.
18470 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18471
2389741a
JJ
184722013-02-19 Jakub Jelinek <jakub@redhat.com>
18473
18474 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18475 macro.
18476
2016b3cd
SP
184772013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18478
e4f22324
SP
18479 * math/atest-exp.c (exp_mpn): Remove ROUND.
18480 * math/atest-exp2.c (exp_mpn): Likewise.
18481 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18482
2016b3cd
SP
18483 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18484 * stdlib/tst-tls-atexit-lib.c: Likewise.
18485 * stdlib/tst-tls-atexit.c: Likewise.
18486
4be9b544
MF
184872013-02-18 Mike Frysinger <vapier@gentoo.org>
18488
18489 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18490 and __attribute_alloc_size__.
18491
2f62b9ee
MF
184922013-02-18 Mike Frysinger <vapier@gentoo.org>
18493
18494 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18495 __attribute_alloc_size__.
18496 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18497 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18498
6ff444c4
MF
184992013-02-18 Mike Frysinger <vapier@gentoo.org>
18500
18501 * include/programs/xmalloc.h: New file.
18502 * catgets/gencat.c: Include it.
18503 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18504 * elf/pldd.c: Likewise.
18505 * iconv/iconv_charmap.c: Likewise.
18506 * iconv/iconvconfig.c: Likewise.
18507 * iconv/strtab.c: Likewise.
18508 * locale/programs/locale.c: Likewise.
18509 * locale/programs/localedef.h: Likewise.
18510 * locale/programs/simple-hash.c: Likewise.
18511 * nscd/nscd.h: Likewise.
18512 * nss/makedb.c: Likewise.
18513 * sysdeps/generic/ldconfig.h: Likewise.
18514
be179c8a
SP
185152013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18516
ba384f6e
SP
18517 * Versions.def: Add GLIBC_2.18.
18518 * include/link.h (struct link_map): New member l_tls_dtor_count.
18519 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18520 (__call_tls_dtors): Likewise.
18521 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18522 __cxa_thread_atexit_impl.
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18524 Likewise.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18526 Likewise.
18527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18528 Likewise.
18529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18530 Likewise.
18531 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18533 Likewise.
18534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18535 Likewise.
18536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18538 Likewise.
18539 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18540 (tests): Add test case tst-tls-atexit.
18541 (modules-names): Add shared library for tst-tls-atexit.
85891aca 18542 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
18543 (GLIBC_PRIVATE): Add __call_tls_dtors.
18544 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18545 for libstdc++.
18546 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18547 * stdlib/tst-tls-atexit.c: New test case.
18548 * stdlib/tst-tls-atexit-lib.c: New test case.
18549
ffaa74cf 18550 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18551
be179c8a
SP
18552 * elf/Versions (ld): Add _dl_find_dso_for_object.
18553 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18554 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18555 (dl_open_worker): Use _dl_find_dso_for_object.
18556 * elf/dl-sym.c (do_sym): Likewise.
18557 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18558
f78b5caa
AK
185592013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18560
18561 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18562 Syntactic changes only.
18563 (_dl_runtime_profile): Do a tail-call to the resolved function.
18564
29691210
JM
185652013-02-17 Joseph Myers <joseph@codesourcery.com>
18566
18567 [BZ #13550]
18568 * sysdeps/x86_64/bp-asm.h: Remove file.
18569 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18570 <bp-sym.h> and <bp-asm.h>.
18571 (__clone): Do not use BP_SYM.
18572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18573 <bp-sym.h> and <bp-asm.h>.
18574 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18575 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18576 "bp-asm.h".
18577 (_setjmp): Do not use BP_SYM.
18578 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18579 "bp-asm.h".
18580 (setjmp): Do not use BP_SYM.
18581 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18582 libc_hidden_def.
18583 (mempcpy): Do not use BP_SYM in weak_alias.
18584 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18585 "bp-asm.h".
18586 (strchr): Do not use BP_SYM.
18587 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18588 "bp-asm.h".
18589 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18590 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18591 (_start): Do not use BP_SYM.
18592 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18593 "bp-asm.h".
18594 (strcat): Do not use BP_SYM.
18595 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18596 "bp-asm.h".
18597 (STRCMP): Do not use BP_SYM.
18598 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18599 "bp-asm.h".
18600 (STRCPY): Do not use BP_SYM.
18601 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18602 "bp-asm.h".
18603 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18604 "bp-asm.h".
18605 (FUNCTION): Do not use BP_SYM.
18606 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18607 weak_alias.
18608 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18609
f238fd19
AJ
186102013-02-17 Andreas Jaeger <aj@suse.de>
18611
18612 * time/Versions: Sort entries.
18613 * string/Versions: Likewise.
18614 * resolv/Versions: Likewise.
18615 * posix/Versions: Likewise.
18616 * iconv/Versions: Likewise.
18617 * elf/Versions: Likewise.
18618 * wcsmbs/Versions: Likewise.
18619
bd07f23c 186202013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18621
22af19f9
SP
18622 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18623 loop termination condition.
18624
4709fe76
SP
18625 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18626 variable to calculate EZ.
18627 (__sqr): Likewise.
2d0e0f29
SP
18628
18629 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18630 the lower precision input.
18631
daaa7713
JM
186322013-02-15 Joseph Myers <joseph@codesourcery.com>
18633
18634 [BZ #13550]
18635 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18636 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18637 (run-via-rtld-prefix): Do not handle %-bp tests.
18638 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18639 (all-object-suffixes): Remove .ob.
18640 (bppfx): Remove variable.
18641 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18642 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18643 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18644 [$(build-bounded) = yes] (libtype.ob): Likewise.
18645 * Makerules (elide-routines.ob): Remove variable.
18646 (do-tests-clean): Do not handle *-bp.out.
18647 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18648 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18649 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18650 (tests): Do not include $(tests-bp.out).
18651 (xtests): Do not include $(xtests-bp.out).
18652 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18653 [$(build-bounded) = yes] ($(addprefix
18654 $(objpfx),$(binaries-bounded))): Remove rule.
18655 ($(objpfx)%-bp.out): Remove rule.
18656 * config.make.in (build-bounded): Remove variable.
18657 * crypt/Makefile [$(build-bounded) = yes]
18658 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18659 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18660 append to variable.
18661 [$(build-bounded) = yes] (install-lib): Likewise.
18662 [$(build-bounded) = yes] (generated): Likewise.
18663 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18664 Remove rule.
18665 * intl/Makefile [$(build-bounded) = yes]
18666 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18667 * math/Makefile [$(build-bounded) = yes]
18668 ($(tests:%=$(objpfx)%-bp): Likewise.
18669 * misc/Makefile [$(build-bounded) = yes]
18670 ($(objpfx)tst-tsearch-bp): Likewise.
18671 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18672 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18673 Remove dependency.
18674 * string/Makefile (o-objects.ob): Remove variable.
18675 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18676 (CFLAGS-.ob): Remove variable.
18677 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18678 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18679 both definitions of variable.
18680 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18681 (ASFLAGS-.ob): Remove variable.
18682
e97ed6dd
JM
186832013-02-14 Joseph Myers <joseph@codesourcery.com>
18684
2bdd4ca6
JM
18685 [BZ #13550]
18686 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18687 Remove __BOUNDED_POINTERS__ from condition.
18688 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18689 * string/bits/string2.h [!__NO_STRING_INLINES &&
18690 !__BOUNDED_POINTERS__]: Likewise.
18691 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18692 Likewise.
18693 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18694 Remove conditional code.
18695 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18696 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18697 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18698 condition.
18699
e97ed6dd
JM
18700 [BZ #13550]
18701 * csu/libc-start.c: Do not include <bp-sym.h>.
18702 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18703 * elf/dl-open.c: Do not include <bp-sym.h>.
18704 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18705 * math/fegetenv.c: Do not include <bp-sym.h>.
18706 (fegetenv): Do not use BP_SYM in versioned symbols.
18707 * nptl/sysdeps/pthread/bits/libc-lockP.h
18708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18709 <bp-sym.h>.
18710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18711 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18713 (__pthread_mutex_destroy): Likewise.
18714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18715 (__pthread_mutex_lock): Likewise.
18716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18717 (__pthread_mutex_trylock): Likewise.
18718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18719 (__pthread_mutex_unlock): Likewise.
18720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18721 (__pthread_mutexattr_init): Likewise.
18722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18723 (__pthread_mutexattr_destroy): Likewise.
18724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18725 (__pthread_mutexattr_settype): Likewise.
18726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18727 (__pthread_rwlock_init): Likewise.
18728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18729 (__pthread_rwlock_destroy): Likewise.
18730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18731 (__pthread_rwlock_rdlock): Likewise.
18732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18733 (__pthread_rwlock_tryrdlock): Likewise.
18734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18735 (__pthread_rwlock_wrlock): Likewise.
18736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18737 (__pthread_rwlock_trywrlock): Likewise.
18738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18739 (__pthread_rwlock_unlock): Likewise.
18740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18741 (__pthread_key_create): Likewise.
18742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18743 (__pthread_setspecific): Likewise.
18744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18745 (__pthread_getspecific): Likewise.
18746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18747 Likewise.
18748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18749 (_pthread_cleanup_push_defer): Likewise.
18750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18751 (_pthread_cleanup_pop_restore): Likewise.
18752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18753 (pthread_setcancelstate): Likewise.
18754 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18755 <bp-sym.h>.
18756 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18757 (memchr): Do not use BP_SYM in weak_alias.
18758 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18759 (fegetenv): Do not use BP_SYM in versioned symbols.
18760 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18761 (fesetenv): Do not use BP_SYM in versioned symbols.
18762 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18763 (feupdateenv): Do not use BP_SYM in versioned symbols.
18764 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18765 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18766 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18767 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18768 (open64): Do not use BP_SYM in weak_alias.
18769 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18770 (fegetenv): Do not use BP_SYM in versioned symbols.
18771 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18772 (fesetenv): Do not use BP_SYM in versioned symbols.
18773 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18774 (feupdateenv): Do not use BP_SYM in versioned symbols.
18775 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18776 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18777 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18778 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18779 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18780 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18781 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18782 <bp-sym.h>.
18783 (__libc_start_main): Do not use BP_SYM.
18784
d6752ccd
SP
187852013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18786
cb57ce60
SP
18787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18788 redundant return line.
18789 (norm): Likewise.
18790 (denorm): Likewise.
18791 (dbl_mp): Likewise.
18792 (sub_magnitudes): Likewise.
18793 (__add): Likewise.
18794 (__sub): Likewise.
18795 (__mul): Likewise.
18796 (__inv): Likewise.
18797 (__dvd): Likewise.
18798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18799 (norm): Likewise.
18800 (denorm): Likewise.
18801 (dbl_mp): Likewise.
18802 (sub_magnitudes): Likewise.
18803 (__add): Likewise.
18804 (__sub): Likewise.
18805 (__mul): Likewise.
18806 (__inv): Likewise.
18807 (__dvd): Likewise.
18808
f414520d
SP
18809 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18810 instead of __mul.
18811 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18812 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18813 (cc32): Likewise.
18814
d6752ccd
SP
18815 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18816 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18818 of __mul for squares.
18819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18820 function
18821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18822 Likewise.
18823 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18824 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18825
70d9946a
JM
188262013-02-13 Joseph Myers <joseph@codesourcery.com>
18827
18828 [BZ #13550]
18829 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18830 code.
18831 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18832 prototype or function definition. Rename ubp_* variables and
18833 parameters. Remove argv definitions conditional on
18834 [__BOUNDED_POINTERS__].
18835 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18836 * elf/dl-runtime.c (_dl_fixup): Likewise.
18837 * include/set-hooks.h (RUN_HOOK): Likewise.
18838 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18839 definition.
18840 * string/strcpy.c (strcpy): Do not use __unbounded.
18841 * sysdeps/generic/frame.h (struct layout): Likewise.
18842 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18843 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18844 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18845 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18846 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18847 (__backtrace): Likewise.
18848 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18849 use __ptrvalue.
18850 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18851 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18852 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18853 Likewise.
18854 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18855 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18856 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18857 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18858 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18859 Do not use __unbounded.
18860 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18861 Rename __unboundedrlimits parameter to rlimits in prototype.
18862 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18863 Do not use __unbounded.
18864 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18865 not use __ptrvalue.
18866 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18867 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18868 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18869 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18870 __ptrvalue or __unbounded.
18871 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18872 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18873 use __unbounded.
18874 (__new_msgctl): Do not use __ptrvalue.
18875 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18876 __unbounded.
18877 (__libc_msgrcv): Do not use __ptrvalue.
18878 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18879 startup_info): Do not use __unbounded.
18880 (__libc_start_main): Likewise. Rename ubp_* variables and
18881 parameters. Remove argv definitions conditional on
18882 [__BOUNDED_POINTERS__].
18883 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18884 __ptrvalue.
18885 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18886 use __unbounded.
18887 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18888 or __ptrvalue.
18889 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18890 use __unbounded.
18891 (__new_shmctl): Do not use __ptrvalue.
18892 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18893 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18894 Likewise.
18895 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18896 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18897 (__libc_sigaction): Likewise.
18898 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18899 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18900 Likewise.
18901 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18902
cc7834d6
OB
189032013-02-13 Ondřej Bílka <neleai@seznam.cz>
18904
ffb1ec7b 18905 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18906
18907 * string/mempcpy.c: Implement by calling memcpy.
18908
bdf02814
SP
189092013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18910
c2af38aa
SP
18911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18912
4e92d59e
SP
18913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18914 evaluation.
18915
909279a5
SP
18916 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18917 values in the mantissa.
18918
bdf02814
SP
18919 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18920 minimize writes to Z.
18921 (sub_magnitudes): Simplify code a bit.
18922
cd525923
RM
189232013-02-12 Roland McGrath <roland@hack.frob.com>
18924
18925 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18926 from the message. The linker prefixes all warnings with that already.
18927
7e2f0d2d
AS
189282013-02-12 Andreas Schwab <schwab@suse.de>
18929
a445af0b
AS
18930 [BZ #15078]
18931 * posix/regexec.c (extend_buffers): Add parameter min_len.
18932 (check_matching): Pass minimum needed length.
18933 (clean_state_log_if_needed): Likewise.
18934 (get_subexp): Likewise.
18935 * posix/Makefile (tests): Add bug-regex34.
18936 (bug-regex34-ENV): Define.
18937 * posix/bug-regex34.c: New file.
18938
7e2f0d2d
AS
18939 [BZ #11561]
18940 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18941 elements compare against the byte sequence of it, not its name.
18942 * posix/Makefile (tests): Add bug-regex35.
18943 (bug-regex35-ENV): Define.
18944 * posix/bug-regex35.c: New file.
18945
a175b684
TV
189462013-02-11 Tom de Vries <tom@codesourcery.com>
18947
18948 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18949 comment.
18950 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18951 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18952 (CHECK_EOL): Add undef.
18953
310998fe 189542013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18955
18956 * bits/stdlib-bsearch.h: New file.
18957 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18958 * stdlib/stdlib.h: Likewise.
41eda41d 18959
8ded91fb
RM
189602013-02-11 Roland McGrath <roland@hack.frob.com>
18961
18962 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18963 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18964 declaration.
18965 * manual/search.texi (Array Search Function): Add missing const in
18966 lfind prototype.
18967 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18968 declaration to use rlim_t.
18969 (Basic Scheduling Functions): Remove erroneous const from
18970 sched_getparam prototype. Remove erroneous * from
18971 sched_get_priority_max and sched_get_priority_min prototypes.
18972 (Resource Usage): Fix summary @comment on vtimes to refer to
18973 sys/vtimes.h rather than vtimes.h.
18974 Add missing *s in vtimes prototype.
18975 (Limits on Resources): Fix ulimit prototype to return long int.
18976 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18977 prototypes to use long int rather than double.
18978 (BSD Random): Fix initstate and setstate to use char *, not void *.
18979 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18980 prototype to make second argument 'struct aiocb64 *const[]'.
18981 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18982 (Status of AIO Operations): Remove erroneous const in aio_return and
18983 aio_return64 prototypes.
18984 (Synchronizing I/O): Fix sync prototype to return void.
18985 * manual/startup.texi (Suboptions): Remove an erroneous const in
18986 getsubopt prototype.
18987 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18988 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18989 use size_t rather than int.
18990 (Scanning All Users): Likewise for getpwent_r.
18991 (Setting Groups): Add missing const to setgroups prototype.
18992 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18993 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18994 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18995 'const void *' rather than 'const char *'.
18996 (Host Address Functions): Likewise for inet_ntop.
18997 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18998 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18999 ssize_t for return value.
19000 (Sending Data): Likewise for send, sendto, sendmsg.
19001 (Socket Option Functions): Add a missing const in setsockopt prototype.
19002 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19003 use wchar_t for the argument.
19004 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19005 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19006 take no arguments.
19007 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19008 double/float/long double for second argument.
19009 Fix return types of significand, significandf, significandl.
19010 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19011 argument in fchmod prototype.
19012 (File Owner): Use uid_t and gid_t in fchown prototype.
19013 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19014 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19015 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19016 use 'const struct dirent **' as argument types to CMP function pointer
19017 argument.
19018 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19019 (File Times): Fix summary magic @comment for struct utimbuf and utime
19020 to refer to utime.h, not time.h.
19021 * manual/string.texi (Argz Functions): Add missing const in
19022 argz_extract and argz_next prototypes.
19023 (Finding Tokens in a String): Likewise for basename.
19024 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19025 (Copying and Concatenation): Fix typo in wmemmove prototype.
19026 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19027 (Signal Stack): Remove erroneous const in sigstack prototype.
19028 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19029 prototype.
19030 (Simple Calendar Time): Likewise for stime.
19031 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19032 prototype.
19033 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19034 say sys/sysctl.h instead.
19035 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19036 and vsyslog prototypes.
19037
fe77fe6d
TV
190382013-02-11 Tom de Vries <tom@codesourcery.com>
19039
19040 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19041 Remove.
19042
3a09b620
RM
190432013-02-11 Roland McGrath <roland@hack.frob.com>
19044
19045 * misc/sys/mman.h: Fix typo in mremap comment.
19046
550a0b89
RM
190472013-02-08 Roland McGrath <roland@hack.frob.com>
19048
19049 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19050 the '\0' terminator.
19051
a2da1673
JM
190522013-02-08 Joseph Myers <joseph@codesourcery.com>
19053
19054 [BZ #13550]
19055 * debug/segfault.c: Don't include <bp-checks.h>.
19056 * sysdeps/generic/bp-checks.h: Remove file.
19057 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19058 (__GETDENTS): Don't use CHECK_N.
19059 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19060 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19061 (__getgroups): Don't use CHECK_N.
19062 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19063 (setgroups): Don't use CHECK_N.
19064 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19065 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19066 (__libc_msgrcv): Don't use CHECK_N.
19067 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19068 (__libc_msgsnd): Don't use CHECK_N.
19069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19070 <bp-checks.h>.
19071 (__libc_pread): Don't use CHECK_N.
19072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19073 include <bp-checks.h>.
19074 (__libc_pread64): Don't use CHECK_N.
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19076 include <bp-checks.h>.
19077 (__libc_pwrite): Don't use CHECK_N.
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19079 include <bp-checks.h>.
19080 (__libc_pwrite64): Don't use CHECK_N.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19082 <bp-checks.h>.
19083 (__libc_pread): Don't use CHECK_N.
19084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19085 include <bp-checks.h>.
19086 (__libc_pread64): Don't use CHECK_N.
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19088 include <bp-checks.h>.
19089 (__libc_pwrite): Don't use CHECK_N.
19090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19091 include <bp-checks.h>.
19092 (__libc_pwrite64): Don't use CHECK_N.
19093 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19094 (do_pread): Don't use CHECK_N.
19095 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19096 (do_pread64): Don't use CHECK_N.
19097 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19098 (do_pwrite): Don't use CHECK_N.
19099 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19100 (do_pwrite64): Don't use CHECK_N.
19101 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19102 (__libc_readv): Don't use CHECK_N.
19103 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19104 (semop): Don't use CHECK_N.
19105 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19106 <bp-checks.h>.
19107 (semtimedop): Don't use CHECK_N.
19108 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19109 (__libc_pread): Don't use CHECK_N.
19110 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19111 <bp-checks.h>.
19112 (__libc_pread64): Don't use CHECK_N.
19113 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19114 <bp-checks.h>.
19115 (__libc_pwrite): Don't use CHECK_N.
19116 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19117 <bp-checks.h>.
19118 (__libc_pwrite64): Don't use CHECK_N.
19119 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19120 <bp-checks.h>.
19121 (__libc_msgrcv): Don't use CHECK_N.
19122 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19123 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19124 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19125 (__libc_writev): Don't use CHECK_N.
19126
b84660a8
RM
191272013-02-08 Roland McGrath <roland@hack.frob.com>
19128
7f3e75f8
RM
19129 * string/strcpy.c: Removed unused variable.
19130
b84660a8
RM
19131 * Makeconfig (+sysdep-includes): Define with := rather than =.
19132 Use an existing include/ subdir of each sysdeps dir before it.
19133
471514d3
CD
191342013-02-08 Carlos O'Donell <carlos@redhat.com>
19135
19136 * nscd/connection.c (register_traced_file): Comment function.
19137 [HAVE_INOTIFY] (union __inev): Define.
19138 [HAVE_INOTIFY] (inotify_check_files): New function.
19139 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19140 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19141 clear_db_cache.
19142 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19143
b2d3c3be
CD
191442013-02-08 Carlos O'Donell <carlos@redhat.com>
19145
19146 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19147 loaded if not already and that a failure is permanent.
19148
b39949d2
CD
191492013-02-08 Carlos O'Donell <carlos@redhat.com>
19150
ddacd1db 19151 [BZ #15006]
b39949d2
CD
19152 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19153 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19154
b2c9eff4
JM
191552013-02-08 Joseph Myers <joseph@codesourcery.com>
19156
f3aae3f3
JM
19157 [BZ #13550]
19158 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19159 (CHECK_1_NULL_OK): Likewise.
19160 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19161 (__fxstat): Do not use CHECK_1.
19162 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19163 <bp-checks.h>.
19164 (___fxstat64): Do not use CHECK_1.
19165 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19166 <bp-checks.h>.
19167 (__fxstatat): Do not use CHECK_1.
19168 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19169 <bp-checks.h>.
19170 (__fxstatat64): Do not use CHECK_1.
19171 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19172 <bp-checks.h>.
19173 (__fxstat): Do not use CHECK_1.
19174 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19175 <bp-checks.h>.
19176 (__fxstatat): Do not use CHECK_1.
19177 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19178 <bp-checks.h>.
19179 (__getresgid): Do not use CHECK_1.
19180 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19181 <bp-checks.h>.
19182 (__getresuid): Do not use CHECK_1.
19183 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19184 <bp-checks.h>.
19185 (__lxstat): Do not use CHECK_1.
19186 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19187 <bp-checks.h>.
19188 (__old_msgctl): Do not use CHECK_1.
19189 (__new_msgctl): Likewise.
19190 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19191 <bp-checks.h>.
19192 (__new_setrlimit): Do not use CHECK_1.
19193 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19194 <bp-checks.h>.
19195 (__old_shmctl): Do not use CHECK_1.
19196 (__new_shmctl): Likewise.
19197 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19198 <bp-checks.h>.
19199 (__xstat): Do not use CHECK_1.
19200 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19201 (__lxstat): Do not use CHECK_1.
19202 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19203 <bp-checks.h>.
19204 (___lxstat64): Do not use CHECK_1.
19205 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19206 (__old_msgctl): Do not use CHECK_1.
19207 (__new_msgctl): Likewise.
19208 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19209 <bp-checks.h>.
19210 (__gettimeofday): Do not use CHECK_1.
19211 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19212 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19213 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19214 <bp-checks.h>.
19215 (__gettimeofday): Do not use CHECK_1.
19216 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19217 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19218 (__new_shmctl): Do not use CHECK_1.
19219 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19220 <bp-checks.h>.
19221 (do_sigtimedwait): Do not use CHECK_1.
19222 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19223 <bp-checks.h>.
19224 (do_sigwaitinfo): Do not use CHECK_1.
19225 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19226 <bp-checks.h>.
19227 (msgctl): Do not use CHECK_1.
19228 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19229 <bp-checks.h>.
19230 (shmctl): Do not use CHECK_1.
19231 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19232 (ustat): Do not use CHECK_1.
19233 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19234 <bp-checks.h>.
19235 (__fxstat): Do not use CHECK_1.
19236 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19237 <bp-checks.h>.
19238 (__fxstatat): Do not use CHECK_1.
19239 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19240 <bp-checks.h>.
19241 (__lxstat): Do not use CHECK_1.
19242 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19243 <bp-checks.h>.
19244 (__xstat): Do not use CHECK_1.
19245 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19246 (__xstat): Do not use CHECK_1.
19247 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19248 (___xstat64): Do not use CHECK_1.
19249
b2c9eff4
JM
19250 [BZ #13550]
19251 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19252 definitions.
19253 (CHECK_BOUNDS_HIGH): Likewise.
19254 * string/strcpy.c: Do not include <bp-checks.h>.
19255 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19256
f1d70dad
RM
192572013-02-07 Roland McGrath <roland@hack.frob.com>
19258
19259 * nscd/nscd-client.h (__nscd_drop_map_ref):
19260 Add __attribute__ ((unused)).
19261 * nis/nss-nisplus.h (niserr2nss): Likewise.
19262
19263 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19264 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19265
19266 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19267 Remove inline keyword.
19268 * include/rounding-mode.h (round_away): Likewise.
19269 * libio/wfileops.c (adjust_wide_data): Likewise.
19270 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19271 (__m128i_strloadu_tolower): Likewise.
19272 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19273 (__m128i_strloadu_tolower): Likewise.
19274 * time/mktime.c (ydhms_diff): Likewise.
19275 * locale/elem-hash.h (elem_hash): Likewise.
19276 * locale/setlocale.c (setdata): Likewise.
19277 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19278 (re_string_wchar_at): Likewise.
19279 (bitset_not, bitset_merge, bitset_mask): Likewise.
19280 [!(__GNUC__ > 3)] (inline): Remove macro.
19281 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19282 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19283 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19284 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19285 * string/memcmp.c (memcmp_bytes): Likewise.
19286 * locale/programs/locarchive.c (compute_hashval): Likewise.
19287 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19288 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19289 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19290 * nss/getent.c (print_rpc, print_protocols): Likewise.
19291 (print_passwd, print_group, print_aliases): Likewise.
19292 * nis/nss-nisplus.h (niserr2nss): Likewise.
19293 * nscd/connections.c (restart_p): Likewise.
19294 Change return type to bool.
19295
eab55bfb
RM
192962013-02-05 Roland McGrath <roland@hack.frob.com>
19297
7bd642f5
RM
19298 * Makeconfig (all-Depend-files): Add existing
19299 $(sorted-subdirs:=/Depend) files.
19300 (all-subdirs): Remove nss.
19301 * sysdeps/unix/inet/Subdirs: Add it here instead.
19302 * hesiod/Depend: New file.
19303
573c29b2
RM
19304 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19305 instead of calling alloca.
19306
b2e25af0
RM
19307 * io/lseek.c (__lseek): Rename to __libc_lseek.
19308 Define __lseek as an alias.
19309
eab55bfb
RM
19310 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19311
9a0d1941
CD
193122013-02-04 Carlos O'Donell <carlos@redhat.com>
19313
19314 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19315 else clause and remove check for non-standard endianness.
19316
b83bbec4
DM
193172013-02-04 David S. Miller <davem@davemloft.net>
19318
19319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19320
6277fdab
JM
193212013-02-04 Joseph Myers <joseph@codesourcery.com>
19322
19323 [BZ #13550]
19324 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19325 (__ubp_memchr): Remove prototype.
19326 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19327 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19328 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19329 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19330 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19331 Remove alias.
19332 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19333 (__ubp_memchr): Likewise.
19334 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19335 (__ubp_memchr): Likewise.
19336 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19337 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19338 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19339 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19340 CHECK_STRING.
19341 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19342 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19343 (__getcwd): Do not use CHECK_STRING.
19344 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19345 <bp-checks.h>.
19346 (__real_chown): Do not use CHECK_STRING.
19347 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19348 <bp-checks.h>.
19349 (fchownat): Do not use CHECK_STRING.
19350 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19351 CHECK_STRING.
19352 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19353 <bp-checks.h>.
19354 (__lchown): Do not use CHECK_STRING.
19355 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19356 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19357 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19358 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19360 include <bp-checks.h>.
19361 (truncate64): Do not use CHECK_STRING.
19362 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19363 <bp-checks.h>.
19364 (__real_chown): Do not use CHECK_STRING.
19365 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19366 <bp-checks.h>.
19367 (__lchown): Do not use CHECK_STRING.
19368 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19369 <bp-checks.h>.
19370 (__chown): Do not use CHECK_STRING.
19371 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19372 <bp-checks.h>.
19373 (truncate64): Do not use CHECK_STRING.
19374 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19375 Likewise.
19376 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19377 (__xmknod): Do not use CHECK_STRING.
19378 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19379 <bp-checks.h>.
19380 (__xmknodat): Do not use CHECK_STRING.
19381 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19382 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19383
903ae060
AS
193842013-02-04 Andreas Schwab <schwab@suse.de>
19385
19386 [BZ #14142]
19387 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19388 * include/netdb.h: Likewise for h_errno.
19389 * elf/tst-stackguard1.c: Include <tls.h>.
19390
542f9466
JK
193912013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19392
19393 * elf/link.h (struct link_map): Extend the l_addr comment.
19394 * include/link.h (struct link_map): Likewise.
19395
e782a927
JM
193962013-02-01 Joseph Myers <joseph@codesourcery.com>
19397
19398 [BZ #13550]
19399 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19400 (BOUNDED_1): Remove macro.
19401 * debug/backtrace.c: Don't include <bp-checks.h>.
19402 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19403 (__backtrace): Likewise.
19404 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19405 <bp-checks.h>.
19406 (__backtrace): Don't use BOUNDED_1.
19407 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19408 <bp-checks.h>.
19409 (__backtrace): Don't use BOUNDED_1.
19410 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19411 (__backtrace): Don't use BOUNDED_1.
19412 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19413 (shmat): Don't use BOUNDED_N.
19414
8cf28c5e
JM
194152013-01-31 Joseph Myers <joseph@codesourcery.com>
19416
3a7ac8a0
JM
19417 [BZ #13550]
19418 * sysdeps/generic/bp-start.h: Remove file.
19419 * csu/libc-start.c: Don't include <bp-start.h>.
19420 (LIBC_START_MAIN): Set up __environ directly instead of using
19421 INIT_ARGV_and_ENVIRON.
19422 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19423 <bp-start.h>.
19424
f3499f95
JM
19425 [BZ #13550]
19426 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19427 definitions.
19428 (CHECK_FCNTL): Likewise.
19429 (CHECK_N_PAGES): Likewise.
19430
32a45bea
JM
19431 [BZ #13550]
19432 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19433 definitions.
19434 (CHECK_SIGSET_NULL_OK): Likewise.
19435 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19436 <bp-checks.h>.
19437 (sigpending): Don't use CHECK_SIGSET.
19438 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19439 <bp-checks.h>.
19440 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19441 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19442 <bp-checks.h>.
19443 (do_sigsuspend): Don't use CHECK_SIGSET.
19444 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19445 use CHECK_SIGSET.
19446 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19447 (do_sigwait): Don't use CHECK_SIGSET.
19448 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19449 use CHECK_SIGSET.
19450 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19451 include <bp-checks.h>.
19452 (sigpending): Don't use CHECK_SIGSET.
19453 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19454 include <bp-checks.h>.
19455 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19456 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19457 <bp-checks.h>.
19458 (sigpending): Don't use CHECK_SIGSET.
19459 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19460 <bp-checks.h>.
19461 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19462
2e8a5c8c
JM
19463 [BZ #13550]
19464 * sysdeps/generic/bp-semctl.h: Remove file.
19465 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19466 <bp-checks.h> and <bp-semctl.h>.
19467 (__old_semctl): Don't use CHECK_SEMCTL.
19468 (__new_semctl): Likewise.
19469 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19470 and <bp-semctl.h>.
19471 (__old_semctl): Don't use CHECK_SEMCTL.
19472 (__new_semctl): Likewise.
19473 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19474 <bp-checks.h> and <bp-semctl.h>.
19475 (__old_semctl): Don't use CHECK_SEMCTL.
19476 (__new_semctl): Likewise.
19477 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19478 <bp-checks.h> and <bp-semctl.h>.
19479 (semctl): Don't use CHECK_SEMCTL.
19480
c2d54929
JM
19481 [BZ #13550]
19482 * Makerules (elide-bp-thunks): Remove variable.
19483 (elide-routines.oS): Don't use $(elide-bp-thunks).
19484 (elide-routines.os): Likewise.
19485 (elide-routines.o): Likewise.
19486 (elide-routines.op): Likewise.
19487 (elide-routines.og): Likewise.
19488 (objects): Don't use $(bp-thunks).
19489 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19490 include.
19491 (common-generated): Do not add s-proto-bp.d.
19492 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19493 (int): Likewise.
19494 (typ): Likewise.
19495 Do not generate makefile rules for bounded-pointer thunks.
19496 * sysdeps/generic/bp-thunks.h: Remove file.
19497 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19498 * sysdeps/unix/s-proto-bp.S: Likewise.
19499
8cf28c5e
JM
19500 [BZ #15062]
19501 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19502 parts of result separately when argument is not close to line from
19503 -i to i and one part of argument is small.
19504 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19505 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19506 * math/libm-test.inc (cacos_test): Add more tests.
19507 (casin_test): Likewise.
19508 (casinh_test): Likewise.
19509 * sysdeps/i386/fpu/libm-test-ulps: Update.
19510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19511
c4e33b8d
DM
195122013-01-31 David S. Miller <davem@davemloft.net>
19513
19514 * po/de.po: Update from translation team.
19515
3b60b421
MK
195162013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19517
19518 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19519
bb931195
TS
195202013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19521
b5a5da23
TS
19522 * configure.in (_AC_PROG_CC_C89): New definition.
19523 * configure: Regenerate.
19524
bb931195
TS
19525 * configure.in (AC_PROG_CPP): New definition.
19526 * configure: Regenerate.
19527
8c53a12c
JM
195282013-01-23 Joseph Myers <joseph@codesourcery.com>
19529
19530 * debug/tst-backtrace.h: New file.
19531 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19532 (ret): Remove variable.
19533 (x): Likewise.
19534 (FAIL): Remove macro.
19535 (NO_INLINE): Likewise.
19536 (fn1): Use match function instead of strstr.
19537 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19538 (ret): Remove variable.
19539 (x): Likewise.
19540 (FAIL): Remove macro.
19541 (NO_INLINE): Likewise.
19542 (fn): Use match function instead of strstr.
19543 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19544 (ret): Remove variable.
19545 (x): Likewise.
19546 (FAIL): Remove macro.
19547 (NO_INLINE): Likewise.
19548 (handle_signal): Use match function instead of strstr.
19549 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19550 (ret): Remove variable.
19551 (x): Likewise.
19552 (FAIL): Remove macro.
19553 (NO_INLINE): Likewise.
19554 (handle_signal): Use match function instead of strstr.
19555
4858fa2a
RM
195562013-01-23 Roland McGrath <roland@hack.frob.com>
19557
19558 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19559
bae8e7f5
DM
195602013-01-23 David S. Miller <davem@davemloft.net>
19561
19562 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19563 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19564 argument of CAS if possible.
19565 * sysdeps/sparc/sparc64/bits/atomic.h
19566 (__arch_compare_and_exchange_val_32_acq): Likewise.
19567 (__arch_compare_and_exchange_val_64_acq): Likewise.
19568
9cbbc4ae
PT
195692013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19570
19571 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19572 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19573 Include <limits.h>.
67b3f58c 19574 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19575
5655a0b5
AC
195762013-01-23 Adam Conrad <adconrad@0c3.net>
19577
19578 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19579 (LDFLAGS-tst-array5): Likewise.
19580
052aff95
JM
195812013-01-23 Joseph Myers <joseph@codesourcery.com>
19582
19583 [BZ #15036]
19584 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19585 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19586 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19587 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19588
7c1e01aa
DM
195892013-01-21 David S. Miller <davem@davemloft.net>
19590
19591 * sysdeps/sparc/backtrace.c: New file.
19592 * sysdeps/sparc/sparc32/backtrace.h: New file.
19593 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19594 * sysdeps/sparc/sparc64/backtrace.h: New file.
19595 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19596 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19597 -funwind-tables.
19598
ab087e0a
AS
195992013-01-21 Andreas Schwab <schwab@suse.de>
19600
19601 [BZ #15020]
19602 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19603 closed its stdout.
19604
ed689c2f
AS
196052013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19606
19607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19608 "mpa2.h".
19609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19610
31d470ac
JM
196112013-01-18 Joseph Myers <joseph@codesourcery.com>
19612 Mark Mitchell <mark@codesourcery.com>
19613 Tom de Vries <tom@codesourcery.com>
19614 Paul Pluzhnikov <ppluzhnikov@google.com>
19615
19616 * debug/tst-backtrace2.c: New file.
19617 * debug/tst-backtrace3.c: Likewise.
19618 * debug/tst-backtrace4.c: Likewise.
19619 * debug/tst-backtrace5.c: Likewise.
19620 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19621 (CFLAGS-tst-backtrace3.c): Likewise.
19622 (CFLAGS-tst-backtrace4.c): Likewise.
19623 (CFLAGS-tst-backtrace5.c): Likewise.
19624 (LDFLAGS-tst-backtrace2): Likewise.
19625 (LDFLAGS-tst-backtrace3): Likewise.
19626 (LDFLAGS-tst-backtrace4): Likewise.
19627 (LDFLAGS-tst-backtrace5): Likewise.
19628 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19629 tst-backtrace4 and tst-backtrace5.
19630
90567f30 196312013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19632 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19633
19634 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19635 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19636 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19637 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19639 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19640 "+r" and remove output regs list as redundant. Add explicit inline
19641 asm to specify register of return val to work around compiler codegen
19642 bug. Remove (int) cast on return value. Add return type parameter to
19643 use in macro so that this macro does not truncate return value for
19644 64-bit values.
19645 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19646 pass to INTERNAL_VSYSCALL_NCS.
19647 (INLINE_VSYSCALL): Add 'long int' as return type to
19648 INTERNAL_VSYSCALL_NCS macro invocation.
19649 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19650 INTERNAL_VSYSCALL_NCS macro invocation.
19651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19652
d3b9ea61
SP
196532013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19654
0b57daeb
SP
19655 [BZ #14496]
19656 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19657 Fix application of SIMD FP exception mask.
19658
caa99d06
SP
19659 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19660 mp_no from a power of two.
19661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19662 __mpexp_twomm1. Use __pow_mp.
19663
d3b9ea61
SP
19664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19665 multiplication.
19666
1dbaee3c
DM
196672013-01-17 David S. Miller <davem@davemloft.net>
19668
19669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19670
728d7b43
JM
196712013-01-17 Joseph Myers <joseph@codesourcery.com>
19672
19673 [BZ #15023]
19674 * include/complex.h: Condition contents on [!_COMPLEX_H].
19675 (__kernel_casinhf): New prototype.
19676 (__kernel_casinh): Likewise.
19677 (__kernel_casinhl): Likewise.
19678 * math/Makefile (libm_calls): Add k_casinh.
19679 * math/k_casinh.c: New file.
19680 * math/k_casinhf.c: Likewise.
19681 * math/k_casinhl.c: Likewise.
19682 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19683 finite nonzero arguments.
19684 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19685 finite nonzero arguments.
19686 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19687 finite nonzero arguments.
19688 * math/s_casinh.c: Do not include <float.h>.
19689 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19690 * math/s_casinhf.c: Do not include <float.h>.
19691 (__casinhf): Move code for finite nonzero arguments to
19692 k_casinhf.c.
19693 * math/s_casinhl.c: Do not include <float.h>.
19694 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19695 redefine.
19696 (__casinhl): Move code for finite nonzero arguments to
19697 k_casinhl.c.
19698 * math/libm-test.inc (cacos_test): Add more tests.
19699 * sysdeps/i386/fpu/libm-test-ulps: Update.
19700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19701
2a26ef3a
PT
197022013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19703
19704 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19705 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19706 [!HAVE_MREMAP]: Remove [defined linux] case.
19707 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19708
a897655d
SP
197092013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19710
19711 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19712
881ebe89 197132013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19714
19715 * elf/elf.h (R_386_SIZE32): New relocation.
19716 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19717 R_386_SIZE32.
19718 (elf_machine_rela): Likewise.
19719 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19720 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19721
59981e9b
JM
197222013-01-17 Joseph Myers <joseph@codesourcery.com>
19723
19724 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19725 (FP_FAST_FMA): Do not define.
19726 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19727 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19728 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19729 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19730 !_SOFT_FLOAT]: Likewise.
19731 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19732 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19733 value.
19734 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19735 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19736 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19737 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19738 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19739 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19740 file.
19741
cfa8054f
AS
197422013-01-16 Andreas Schwab <schwab@suse.de>
19743
19744 [BZ #14327]
19745 * include/stdlib.h (__mktemp): Add declaration.
19746 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19747 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19748
dd930cc5
SP
197492013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19750
881ebe89
SP
19751 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19752 definitions.
19753 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19754 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19755 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19756 definitions here.
19757 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19758 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19759 definitions.
19760 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19761 and ONE.
19762 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19763 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19764 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19765 definitions.
19766 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19767 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19768 definitions.
19769 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19770
dd930cc5
SP
19771 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19772
c19a9f89
DM
197732013-01-15 David S. Miller <davem@davemloft.net>
19774
1aa61767
DM
19775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19776 trunc{,f} to libm-sysdep_routes.
19777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19779 file.
19780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19782 file.
19783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19784 file.
19785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19787 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19788 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19789 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19790 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19791 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19792 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19793
c42d5e98
DM
19794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19795 nearbyint{,f} to libm-sysdep_routes.
19796 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19798 New file.
19799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19800 file.
19801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19802 New file.
19803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19804 file.
19805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19807 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19808 file.
19809 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19810 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19811 file.
19812 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19813 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19814 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19815
c19a9f89
DM
19816 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19817 libc_feholdexcept and libc_fesetenv.
19818
357679d2
MF
198192013-01-15 Mike Frysinger <vapier@gentoo.org>
19820
19821 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19822
65a82e3d
DM
198232013-01-14 David S. Miller <davem@davemloft.net>
19824
8b954ab9
DM
19825 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19826 (SPARC_ASM_VIS2_IFUNC): Likewise.
19827 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19829 use of 'siam' instruction.
19830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19831 Likewise.
19832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19833 Likewise.
19834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19835 Likewise.
19836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19838 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19839 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19841 file.
19842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19843 file.
19844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19845 file.
19846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19847 file.
19848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19853 new VIS2 routines.
19854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19857 Likewise.
19858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19859 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19863 routines to libm-sysdep_routines.
19864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19865
65a82e3d
DM
19866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19867 fdim/fdimf to libm-sysdep_routines.
19868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19869 file.
19870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19872 file.
19873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19876 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19877 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19878 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19879 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19880
e34ab705
SP
198812013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19882
2a91b573
SP
19883 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19884 to optimize copies.
19885
1066a534
SP
19886 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19889
e34ab705
SP
19890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19891 local variable MPTWO.
19892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19893 Likewise.
19894
aba5e596
MF
198952013-01-13 Mike Frysinger <vapier@gentoo.org>
19896
19897 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19898 GLOB_NOESCAPE.
19899
e557e9e5
MF
199002013-01-13 Mike Frysinger <vapier@gentoo.org>
19901
19902 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19903
0428cec9
MF
199042013-01-13 Mike Frysinger <vapier@gentoo.org>
19905
19906 * manual/pattern.texi (glob_t): Document gl_flags.
19907 (glob64_t): Likewise.
19908
8794a964
DM
199092013-01-11 David S. Miller <davem@davemloft.net>
19910
66438c3f
RM
19911 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19912 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19913 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19914 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19915 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19916 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19917 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19918 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19919 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19920 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19921 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19922 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19923 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19924
4ae4244d
DM
19925 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19926 sparc V9 rather than using V8 code.
19927 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19928 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19929
8794a964
DM
19930 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19931 Move to...
19932 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19933 Here.
19934
6270516e
RM
199352013-01-11 Roland McGrath <roland@hack.frob.com>
19936
19937 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19938 not in the main loop.
19939 * configure: Regenerated.
19940
6a57d931
JM
199412013-01-11 Joseph Myers <joseph@codesourcery.com>
19942
19943 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19944 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19945 to just #else.
19946 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19947 [!__GLIBC_HAVE_LONG_LONG] case.
19948 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19949 condition to just #else.
19950 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19951 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19952 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19953 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19954 unconditional.
19955 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19956 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19957 #elif condition to just #else.
19958 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19959 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19960 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19961 #elif condition to just #else.
19962
0e8529e9
SE
199632013-01-11 Steve Ellcey <sellcey@mips.com>
19964
19965 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19966 (EF_MIPS_ARCH_64): Fix value.
19967 (EF_MIPS_ARCH_32R2): New.
19968 (EF_MIPS_ARCH_64R2): New.
19969
740b3dbe
L
199702013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19971
19972 * Makeconfig (+link-pie-before-libc): New.
19973 (+link-pie-after-libc): Likewise.
19974 (+link-pie-tests): Likewise.
19975 (+link-pie): Rewritten.
19976 (link-before-libc): Remove $(config-LDFLAGS).
19977 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19978 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19979 (config-LDFLAGS): Renamed to ...
19980 (rtld-LDFLAGS): This.
19981 (rtld-tests-LDFLAGS): New macro.
19982 (link-libc-rpath-link): Likewise.
19983 (link-libc-tests-rpath-link): Likewise.
19984 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19985 (link-libc): Prepand $(link-libc-rpath-link).
19986 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19987 (test-program-prefix): New macro.
19988 (test-via-rtld-prefix): Likewise.
19989 (test-program-cmd): Likewise.
19990 (host-test-program-cmd): Likewise.
19991 * Makefile ($(common-objpfx)testrun.sh): Replace
19992 $(run-program-prefix) with $(test-program-prefix).
19993 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19994 $(rtld-LDFLAGS).
19995 ($(common-objpfx)shlib.lds): Likewise.
19996 (build-module-helper): Likewise.
19997 ($(common-objpfx)format.lds): Likewise.
19998 * Rules (binaries-pie-tests): New.
19999 (binaries-pie-notests): Likewise.
20000 (binaries-pie): Rewritten.
20001 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20002 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20003 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20004 (make-test-out): Replace $(host-built-program-cmd) with
20005 $(host-test-program-cmd).
20006 * config.make.in (build-hardcoded-path-in-tests): New variable.
20007 * configure.in (--enable-hardcoded-path-in-tests): New configure
20008 option.
20009 (hardcoded_path_in_tests): New AC_SUBST.
20010 * configure: Regenerated.
20011 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20012 $(built-program-cmd) with $(test-program-cmd).
20013 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20014 (test_program_cmd): This.
20015 * elf/Makefile ($(objpfx)order.out): Run test with
20016 $(test-program-prefix).
20017 ($(objpfx)order2.out): Likewise.
20018 ($(objpfx)tst-initorder.out): Likewise.
20019 ($(objpfx)tst-initorder2.out): Likewise.
20020 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20021 $(test-program-cmd).
20022 ($(objpfx)tst-array1-static.out): Likewise.
20023 ($(objpfx)tst-array2.out): Likewise.
20024 ($(objpfx)tst-array3.out): Likewise.
20025 ($(objpfx)tst-array4.out): Likewise.
20026 ($(objpfx)tst-array5.out): Likewise.
20027 ($(objpfx)tst-array5-static.out): Likewise.
20028 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20029 $(test-program-cmd).
20030 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20031 $(run-program-prefix) with $(test-program-prefix).
20032 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20033 (test_program_prefix): This.
20034 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20035 $(run-program-prefix) with $(test-program-prefix).
20036 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20037 (test_program_prefix): This.
20038 * iconvdata/tst-tables.sh: Likewise.
20039 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20040 $(run-program-prefix) with $(test-program-prefix).
20041 ($(objpfx)tst-translit.out): Likewise.
20042 ($(objpfx)tst-gettext2.out): Likewise.
20043 ($(objpfx)tst-gettext4.out): Likewise.
20044 ($(objpfx)tst-gettext6.out): Likewise.
20045 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20046 (test_program_prefix): This.
20047 * intl/tst-gettext2.sh: Likewise.
20048 * intl/tst-gettext4.sh Likewise.
20049 * intl/tst-gettext6.sh: Likewise.
20050 * intl/tst-translit.sh: Likewise.
20051 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20052 with $(test-program-cmd).
20053 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20054 $(run-program-prefix) with $(test-program-prefix).
20055 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20056 (test_program_prefix): This.
20057 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20058 $(run-program-prefix) with $(test-program-prefix).
20059 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20060 (test_program_prefix): This.
20061 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20062 * posix/Makefile ($(objpfx)globtest.out): Replace
20063 $(run-via-rtld-prefix) and $(test-wrapper) with
20064 $(test-program-prefix) and $(test-via-rtld-prefix).
20065 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20066 $(test-program-prefix).
20067 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20068 $(host-test-program-cmd).
20069 (tst-spawn-ARGS): Likewise.
20070 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20071 $(test-program-prefix).
20072 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20073 (test_via_rtld_prefix): This.
20074 (test_wrapper): Renamed to ...
20075 (test_program_prefix): This.
20076 (run_program_prefix): Replaced by test_program_prefix.
20077 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20078 (test_program_prefix): This.
20079 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20080 with $(host-test-program-cmd).
20081 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20082 $(run-program-prefix) with $(test-program-prefix).
20083 ($(objpfx)tst-printf.out): Likewise.
20084 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20085 $(test-program-cmd).
20086 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20087 (test_program_prefix): This.
20088 * stdio-common/tst-unbputc.sh: Likewise.
20089 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20090 $(run-program-prefix) with $(test-program-prefix).
20091 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20092 (test_program_prefix): This.
20093 * string/Makefile ($(objpfx)tst-svc.out): Replace
20094 $(built-program-cmd) with $(test-program-cmd).
20095
c6fe55cf
AJ
200962013-01-11 Andreas Jaeger <aj@suse.de>
20097
20098 [BZ #15003]
20099 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20100 value. Sync with Linux 3.7.
20101
9e6919c8
DM
201022013-01-10 David S. Miller <davem@davemloft.net>
20103
20104 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20105 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20106 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20107
1c9f1a02
RM
201082013-01-10 Roland McGrath <roland@hack.frob.com>
20109
20110 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20111 never set.
20112 * configure: Regenerated.
20113
b9de2dde
DM
201142013-01-10 David S. Miller <davem@davemloft.net>
20115
20116 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20117 sparc V9 rather than using V8 code.
20118 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20119 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20120
e7f68ef4
RM
201212013-01-10 Roland McGrath <roland@hack.frob.com>
20122
20123 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20124 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20125 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20126 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20127 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20128 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20129 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20130 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20131 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20132 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20133 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20134 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20135 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20136 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20137 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20138 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20139 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20140 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20141 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20142 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20143 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20144 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20145 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20146 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20147 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20148 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20149 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20150
5a47cc9c
DM
201512013-01-10 David S. Miller <davem@davemloft.net>
20152
20153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20154
4cf8f209
L
201552013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20156
20157 * posix/Makefile (tests-static): New variable.
20158 (tests): Add $(tests-static).
20159 (tst-exec-static-ARGS): New variable.
20160 (tst-spawn-static-ARGS): Likewise.
20161 * posix/tst-exec-static.c: New file.
20162 * posix/tst-spawn-static.c: Likewise.
20163 * posix/tst-exec.c: Support run directly.
20164 * posix/tst-spawn.c: Likewise.
20165
fed0faa1
JM
201662013-01-10 Joseph Myers <joseph@codesourcery.com>
20167
828beb13
JM
20168 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20169 long.
20170 * math/bits/mathcalls.h (llrint): Likewise.
20171 (llround): Likewise.
20172 * stdlib/stdlib.h (struct drand48_data): Likewise.
20173 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20174 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20175 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20176 Likewise.
20177 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20178 Likewise.
20179 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20180 (elf_greg_t): Likewise.
20181 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20182 (__jmp_buf): Likewise.
20183 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20184 definitions.
20185 (llrint): Likewise, for all definitions.
20186 (llrintl): Likewise.
20187
fed0faa1
JM
20188 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20189 Remove [__GNUC__] condition.
20190 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20191 condition to just [__USE_ISOC99].
20192 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20193
1a20cb20
L
201942013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20195
20196 [BZ #14200]
20197 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20198 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20199 defined.
20200 (_POSIX_V6_ILP32_OFF32): Likewise.
20201 (_XBS5_ILP32_OFF32): Likewise.
20202 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20203 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20204
751b85f7
SP
202052013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20206
7490eb81
SP
20207 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20208
751b85f7
SP
20209 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20210 doubles __mpexp_twomm1. Adjust usage.
20211 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20212 Remove.
20213
988197f0
AS
202142013-01-10 Andreas Schwab <schwab@suse.de>
20215
20216 [BZ #14964]
20217 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20218 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20219
e83d7298
DM
202202013-01-09 David S. Miller <davem@davemloft.net>
20221
034ed64b 20222 [BZ #15003]
57f41c40
AS
20223 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20224 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20225 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20226 (TCP_FASTOPEN): Define.
e83d7298
DM
20227 (tcp_repair_opt): New structure.
20228 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20229 enum values.
57f41c40
AS
20230 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20231 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20232 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20233 (tcp_cookie_transactions): New structure.
20234
d5e0b9bd
AB
202352013-01-09 Anton Blanchard <anton@samba.org>
20236
20237 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20238 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20239 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20240 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20241
0c07e3ea
JM
202422013-01-09 Joseph Myers <joseph@codesourcery.com>
20243
20244 * include/features.h (__USE_ANSI): Remove.
20245
232f7002
RM
202462013-01-09 Roland McGrath <roland@hack.frob.com>
20247
ad98e30c
RM
20248 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20249
232f7002
RM
20250 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20251
950c99ca
SP
202522013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20253
b5792741
SP
20254 * sysdeps/s390/fpu/libm-test-ulps: Update.
20255
47cf2278
SP
20256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20257
950c99ca
SP
20258 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20259 (__acr): Likewise.
20260 (__cpy): Likewise.
20261 (norm): Likewise.
20262 (denorm): Likewise.
20263 (__mp_dbl): Likewise.
20264 (__dbl_mp): Likewise.
20265 (add_magnitudes): Likewise.
20266 (sub_magnitudes): Likewise.
20267 (__add): Likewise.
20268 (__sub): Likewise.
20269 (__mul): Likewise.
20270 (__inv): Likewise.
20271 (__dvd): Likewise.
20272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20273 (__acr): Likewise.
20274 (__cpy): Likewise.
20275 (norm): Likewise.
20276 (denorm): Likewise.
20277 (__mp_dbl): Likewise.
20278 (__dbl_mp): Likewise.
20279 (add_magnitudes): Likewise.
20280 (sub_magnitudes): Likewise.
20281 (__add): Likewise.
20282 (__sub): Likewise.
20283 (__mul): Likewise.
20284 (__inv): Likewise.
20285 (__dvd): Likewise.
20286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20287 (__acr): Likewise.
20288 (__cpy): Likewise.
20289 (norm): Likewise.
20290 (denorm): Likewise.
20291 (__mp_dbl): Likewise.
20292 (__dbl_mp): Likewise.
20293 (add_magnitudes): Likewise.
20294 (sub_magnitudes): Likewise.
20295 (__add): Likewise.
20296 (__sub): Likewise.
20297 (__mul): Likewise.
20298 (__inv): Likewise.
20299 (__dvd): Likewise.
20300
eede9df9
JM
203012013-01-08 Joseph Myers <joseph@codesourcery.com>
20302
20303 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20304 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20305 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20306 2 && __USE_EXTERN_INLINES]: Likewise.
20307
c40ea3d9
AJ
203082013-01-08 Andreas Jaeger <aj@suse.de>
20309
20310 [BZ# 14985]
20311 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20312 Remove.
20313 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20314 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20315
2ccdea26
AB
203162013-01-07 Anton Blanchard <anton@samba.org>
20317
20318 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20319 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20320 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20321 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20322 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20323 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20324 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20325 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20327 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20328 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20329 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20330 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20331 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20332 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20333 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20334 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20335 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20336 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20337 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20338 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20339 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20340 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20341 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20342 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20343 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20344 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20345 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20347 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20348 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20350 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20351 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20352 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20353 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20354 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20355 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20356 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20357 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20358 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20359 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20360 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20361
a9708fed
JM
203622013-01-07 Joseph Myers <joseph@codesourcery.com>
20363
375607b9
JM
20364 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20365 (__MALLOC_PMT): Likewise.
20366 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20367 [__GNUC__], only on [_LIBC].
20368 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20369 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20370 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20371 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20372 forward declaration.
20373 (realloc_hook_ini): Likewise.
20374 (memalign_hook_ini): Likewise.
20375 (__libc_memalign): Do not use __MALLOC_PMT in variable
20376 declaration.
20377 (__libc_valloc): Likewise.
20378 (__libc_pvalloc): Likewise.
20379 (__libc_calloc): Likewise.
20380 (__posix_memalign): Likewise.
20381
a9708fed
JM
20382 [BZ #14996]
20383 * math/s_casinh.c: Include <float.h>.
20384 (__casinh): Do not do computation with squaring and square root
20385 for large arguments.
20386 * math/s_casinhf.c: Include <float.h>.
20387 (__casinhf): Do not do computation with squaring and square root
20388 for large arguments.
20389 * math/s_casinhl.c: Include <float.h>.
20390 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20391 (__casinhl): Do not do computation with squaring and square root
20392 for large arguments.
20393 * math/libm-test.inc (casin_test): Add more tests.
20394 (casinh_test): Likewise.
20395 * sysdeps/i386/fpu/libm-test-ulps: Update.
20396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20397
afec409a
L
203982013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20399
20400 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20401 (__x86_64_raw_data_cache_size): Likewise.
20402 (__x86_64_data_cache_size_half): Likewise.
20403 (__x86_64_raw_data_cache_size_half): Likewise.
20404 (__x86_64_shared_cache_size): Likewise.
20405 (__x86_64_raw_shared_cache_size): Likewise.
20406 (__x86_64_shared_cache_size_half): Likewise.
20407 (__x86_64_raw_shared_cache_size_half): Likewise.
20408 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20409 to ...
20410 (__x86_data_cache_size): This.
20411 (__x86_64_raw_data_cache_size): Renamed to ...
20412 (__x86_raw_data_cache_size): This.
20413 (__x86_64_data_cache_size_half): Renamed to ...
20414 (__x86_data_cache_size_half): This.
20415 (__x86_64_raw_data_cache_size_half): Renamed to ...
20416 (__x86_raw_data_cache_size_half): This.
20417 (__x86_64_shared_cache_size): Renamed to ...
20418 (__x86_shared_cache_size): This.
20419 (__x86_64_raw_shared_cache_size): Renamed to ...
20420 (__x86_raw_shared_cache_size): This.
20421 (__x86_64_shared_cache_size_half): Renamed to ...
20422 (__x86_shared_cache_size_half): This.
20423 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20424 (__x86_raw_shared_cache_size_half): This.
20425 * sysdeps/x86_64/memcpy.S: Updated.
20426 * sysdeps/x86_64/memset.S: Likewise.
20427 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20428 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20429 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20430
0b3986d0
DM
204312013-01-04 David S. Miller <davem@davemloft.net>
20432
20433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20434
e47686e9
AS
204352013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20436
d643bac1
AS
20437 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20438 1 to avoid redefinition warning.
20439 (__USE_GNU): Don't define.
20440 (init_signaling_nan): Protoize.
20441
e47686e9
AS
20442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20443
b18decba
SP
204442013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20445
fffb407f
SP
20446 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20448 (__cpymn): Likewise.
20449 (norm): Remove commented code.
20450 (denorm): Likewise.
20451 (__mp_dbl): Likewise.
20452 (__inv): Likewise.
20453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20454 (__cpymn): Likewise.
20455 (norm): Remove commented code.
20456 (denorm): Likewise.
20457 (__mp_dbl): Likewise.
20458 (__inv): Likewise.
20459
b18decba
SP
20460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20461 mp_no value for 1.0 and 2.0.
20462 (norm): Use RADIXI instead of radixi.d.
20463 (denorm): Likewise.
20464 (__mul): Use 0.0 instead of zero.d.
20465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20466 mp_no value for 1.0 and 2.0.
20467 (norm): Use RADIXI instead of radixi.d.
20468 (denorm): Likewise.
20469 (__mul): Use 0.0 instead of zero.d.
20470
cdc1c96f
JM
204712013-01-04 Joseph Myers <joseph@codesourcery.com>
20472
20473 [BZ #14994]
20474 * math/s_casinh.c (__casinh): Reduce finite argument to first
20475 quadrant then set signs of results at the end.
20476 * math/s_casinhf.c (__casinhf): Likewise.
20477 * math/s_casinhl.c (__casinhl): Likewise.
20478 * math/libm-test.inc (casin_test): Add more tests.
20479 (casinh_test): Likewise.
20480 * sysdeps/i386/fpu/libm-test-ulps: Update.
20481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20482
302913e1
SP
204832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20484
6420d207
SP
20485 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20486
a9e48ab4
SP
20487 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20488
b7837264
SP
20489 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20490 declarations.
20491 (denorm): Likewise.
20492 (__mp_dbl): Likewise.
20493 (__inv): Likewise.
20494
f8af25d2
SP
20495 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20496 and adjust the header comment.
20497
302913e1
SP
20498 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20499 variable name from declaration.
20500
5d7dd1ca
L
205012013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20502
20503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20504 Initialize COMMON_CPUID_INDEX_7 element.
20505 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20506 (CPUID_RTM): Likewise.
20507 (HAS_RTM): Likewise.
20508 (COMMON_CPUID_INDEX_7): New enum.
20509
2f5f40f4
AS
205102013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20511
20512 [BZ #14981]
20513 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20514 size is zero, record memory as freed.
20515
4056f4a0
AJ
205162013-01-03 Andreas Jaeger <aj@suse.de>
20517
20518 * po/ia.po: Add new Interlingua translation.
20519
ab15736f 205202012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
20521
20522 * locale/programs/localedef.c: Fix description of '--posix' flag.
20523
568035b7
JM
205242013-01-02 Joseph Myers <joseph@codesourcery.com>
20525
e6898b8d
JM
20526 * NEWS: Update dates in second copyright notice.
20527 * README: Update copyright dates in example.
20528 * manual/libc.texinfo: Update copyright dates.
20529 * scripts/test-installation.pl: Update copyright date in --version
20530 output.
20531
0e2f9562
JM
20532 * hurd/ctty-input.c: Fix copyright notice formatting.
20533 * hurd/ctty-output.c: Likewise.
20534 * hurd/dtable.c: Likewise.
20535 * hurd/hurd-raise.c: Likewise.
20536 * hurd/hurdprio.c: Likewise.
20537 * hurd/msgportdemux.c: Likewise.
20538 * misc/sys/file.h: Likewise.
20539 * misc/sys/ioctl.h: Likewise.
20540 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20541 * sysdeps/mach/hurd/chdir.c: Likewise.
20542 * sysdeps/mach/hurd/fchdir.c: Likewise.
20543 * sysdeps/mach/hurd/rename.c: Likewise.
20544 * sysdeps/mach/hurd/rmdir.c: Likewise.
20545 * sysdeps/mach/hurd/seekdir.c: Likewise.
20546 * sysdeps/mach/hurd/setsid.c: Likewise.
20547 * sysdeps/posix/wait3.c: Likewise.
20548
568035b7
JM
20549 * All files with FSF copyright notices: Update copyright dates
20550 using scripts/update-copyrights.
20551 * intl/plural.c: Regenerated.
20552 * locale/programs/charmap-kw.h: Likewise.
20553 * locale/programs/locfile-kw.h: Likewise.
20554
da08f647
SP
205552013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20556
0f5477af
SP
20557 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20558 four values.
20559
44e0d4c2
SP
20560 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20561 calculation loop and add branch prediction.
20562
4d55b4e5
SP
20563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20564 check access beyond bounds of m1np.
20565
da08f647
SP
20566 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20567 MPTWO.
20568 (__inv): Remove local variable MPTWO to use the global
20569 constant.
20570 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20571 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20572 variable MPTWO.
20573 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20574 MP3HALFS static const.
20575
8e051029
DM
205762013-01-01 David S. Miller <davem@davemloft.net>
20577
20578 * po/ca.po: Update from translation team.
20579
f4cf5f2d
JM
205802013-01-01 Joseph Myers <joseph@codesourcery.com>
20581
20582 * scripts/update-copyrights: New file.
20583 * Makeconfig: Reformat copyright notice.
20584 * ctype/ctype.h: Likewise.
20585 * debug/swprintf_chk.c: Likewise.
20586 * elf/dl-cache.c: Likewise.
20587 * elf/dl-debug.c: Likewise.
20588 * elf/dl-object.c: Likewise.
20589 * grp/initgroups.c: Likewise.
20590 * hurd/Makefile: Likewise.
20591 * hurd/hurd/signal.h: Likewise.
20592 * hurd/hurdfault.c: Likewise.
20593 * hurd/hurdioctl.c: Likewise.
20594 * hurd/hurdlookup.c: Likewise.
20595 * hurd/intr-msg.c: Likewise.
20596 * iconv/gconv_open.c: Likewise.
20597 * libio/swprintf.c: Likewise.
20598 * locale/lc-ctype.c: Likewise.
20599 * locale/nl_langinfo.c: Likewise.
20600 * mach/Machrules: Likewise.
20601 * mach/Makefile: Likewise.
20602 * malloc/obstack.h: Likewise.
20603 * manual/Makefile: Likewise.
20604 * manual/tsort.awk: Likewise.
20605 * misc/bits/stab.def: Likewise.
20606 * nis/nis_print_group_entry.c: Likewise.
20607 * nis/nis_table.c: Likewise.
20608 * nis/nss_compat/compat-pwd.c: Likewise.
20609 * nis/nss_compat/compat-spwd.c: Likewise.
20610 * po/Makefile: Likewise.
20611 * posix/fnmatch.c: Likewise.
20612 * posix/regex.h: Likewise.
20613 * resolv/Makefile: Likewise.
20614 * resolv/nss_dns/dns-network.c: Likewise.
20615 * resolv/res_hconf.c: Likewise.
20616 * scripts/gen-sorted.awk: Likewise.
20617 * soft-fp/soft-fp.h: Likewise.
20618 * stdio-common/printf.h: Likewise.
20619 * stdlib/monetary.h: Likewise.
20620 * stdlib/random.c: Likewise.
20621 * stdlib/random_r.c: Likewise.
20622 * sysdeps/generic/Makefile: Likewise.
20623 * sysdeps/gnu/Makefile: Likewise.
20624 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20626 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20631 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20632 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20633 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20634 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20635 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20636 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20637 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20638 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20639 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20640 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20641 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20642 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20643 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20644 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20645 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20646 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20647 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20648 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20649 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20650 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20651 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20652 * sysdeps/mach/hurd/errnos.awk: Likewise.
20653 * sysdeps/mach/hurd/fork.c: Likewise.
20654 * sysdeps/mach/hurd/getcwd.c: Likewise.
20655 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20656 * sysdeps/mach/hurd/mmap.c: Likewise.
20657 * sysdeps/mach/hurd/utimes.c: Likewise.
20658 * sysdeps/mach/hurd/xmknod.c: Likewise.
20659 * sysdeps/posix/profil.c: Likewise.
20660 * sysdeps/posix/readdir_r.c: Likewise.
20661 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20662 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20663 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20664 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20666 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20667 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20668 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20670 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20671 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20672 * sysdeps/pthread/lio_listio.c: Likewise.
20673 * sysdeps/sparc/dl-procinfo.h: Likewise.
20674 * sysdeps/unix/i386/sysdep.S: Likewise.
20675 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20676 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20677 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20678 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20680 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20681 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20682 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20683 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20684 * sysdeps/wordsize-32/divdi3.c: Likewise.
20685 * time/sys/time.h: Likewise.
20686 * wcsmbs/Makefile: Likewise.
20687
0549fbba
DM
206882013-01-01 David S. Miller <davem@davemloft.net>
20689
a141f1a7
DM
20690 * po/fr.po: Update from translation team.
20691
0549fbba
DM
20692 * catgets/gencat.c: Update copyright year.
20693 * csu/version.c: Likewise.
20694 * debug/catchsegv.sh: Likewise.
20695 * debug/pcprofiledump.c: Likewise.
20696 * debug/xtrace.sh: Likewise.
20697 * elf/ldconfig.c: Likewise.
20698 * elf/ldd.bash.in: Likewise.
20699 * elf/pldd.c: Likewise.
20700 * elf/sotruss.ksh: Likewise.
20701 * elf/sprof.c: Likewise.
20702 * iconv/iconv_prog.c: Likewise.
20703 * iconv/iconvconfig.c: Likewise.
20704 * locale/programs/locale.c: Likewise.
20705 * locale/programs/localedef.c: Likewise.
20706 * login/programs/pt_chown.c: Likewise.
20707 * malloc/memusage.sh: Likewise.
20708 * malloc/memusagestat.c: Likewise.
20709 * malloc/mtrace.pl: Likewise.
20710 * nscd/nscd.c: Likewise.
20711 * nss/getent.c: Likewise.
20712 * nss/makedb.c: Likewise.
20713 * posix/getconf.c: Likewise.
20714
18ea052c
SP
207152012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20716
20717 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20718 numbers.
20719
9c89fca6
MF
207202012-12-30 Mike Frysinger <vapier@gentoo.org>
20721
20722 * math/bits/mathcalls.h (modf): Use __nonnull.
20723
085ec079
SP
207242012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20725
20726 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20727 (split): Use macro CN instead of the bare value.
20728 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20729 could be used.
20730 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20731 instead of the bare value.
20732 (power1): Likewise.
20733
6d9f97e1
SP
207342012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20735
d63f73be
SP
20736 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20737 __ATAN_TWOM.
20738 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20739
6d9f97e1
SP
20740 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20741 their values.
20742 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20743 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20744 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20745 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20746
4c4febf5
AJ
207472012-12-28 Andreas Jaeger <aj@suse.de>
20748
af5843ef
AJ
20749 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20750 values are from Linux 3.7.
20751
4c4febf5
AJ
20752 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20753 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20754
99136f82
SP
207552012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20756
2f216c3c 20757 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20758 TRUE case.
20759
99136f82
SP
20760 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20761 (norm): Likewise.
20762 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20763 variables with preprocessor constants.
20764 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20765 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20766 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20767
7fffbdff
BH
207682012-12-27 Bruno Haible <bruno@clisp.org>
20769
20770 [BZ #14317]
20771 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20772 only if needed.
20773
b76eb5f0
SP
207742012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20775
31a7fe5c
SP
20776 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20777 and use variable directly.
20778 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20779
b76eb5f0
SP
20780 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20781 MPONE.
20782 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20783 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20784 variable MPONE.
20785 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20787 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20788 include directive. Remove local variable MPONE.
20789 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20790 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20791 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20792
2c8bfe7d
DM
207932012-12-25 David S. Miller <davem@davemloft.net>
20794
20795 * version.h (RELEASE): Set to "development".
20796 (VERSION): Set to "2.17.90".
20797 * NEWS: Add 2.18 section.
20798
147d03b0
DM
207992012-12-21 David S. Miller <davem@davemloft.net>
20800
20801 * po/hr.po: Update from translation team.
20802
a8ebb2b9
AK
208032012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20804
20805 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20806
95b4f1b6
SE
208072012-12-19 Steve Ellcey <sellcey@mips.com>
20808
b2d94007 20809 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20810
cedb2a90
MS
208112012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20812
20813 * manual/contrib.texi (Contributors): Spelling correction.
20814
bbf527d6
DM
208152012-12-15 David S. Miller <davem@davemloft.net>
20816
20817 * po/ru.po: Update from translation team.
20818
bc38c906
DM
208192012-12-13 David S. Miller <davem@davemloft.net>
20820
85429b1a
DM
20821 * NEWS: Mention IFUNC testsuite enhancements.
20822
d283e353
DM
20823 * po/pl.po: Update from translation team.
20824 * po/bg.po: Likewise.
20825
bc38c906
DM
20826 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20827 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20828
a181b0d7
DM
208292012-12-11 David S. Miller <davem@davemloft.net>
20830
4641d57e
DM
20831 * po/sv.po: Update from translation team.
20832
f7bc6495
DM
20833 * po/vi.po: Update from translation team.
20834
6fc9048f
DM
20835 * po/cs.po: Update from translation team.
20836
a181b0d7
DM
20837 * po/de.po: Update from translation team.
20838 * po/eo.po: Likewise.
20839 * po/nl.po: Likewise.
20840
f70bfe80
SP
208412012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20842
3c8b4190
SP
20843 [BZ #14246]
20844 * manual/argp.texi (Argp Helper Functions): Move node to follow
20845 Argp Parsing State.
20846
f70bfe80
SP
20847 [BZ #14872]
20848 * manual/conf.texi (Limits on File System Capacity): Mention if
20849 terminating null is included in the max size.
20850
188f0adf
AJ
208512012-12-10 Andreas Jaeger <aj@suse.de>
20852
20853 * po/cs.po: Update from translation team.
20854
56e7d3ad
SP
208552012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20856
20857 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20858 void pointer and cast to uintptr_t.
20859 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20860 path.
20861 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20862 * sysdeps/s390/s390-64/memset.S: Likewise.
20863
76f2d2ea 208642012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20865
20866 [BZ #14833]
20867 * menual/message.texi (Message Translation): Fix typos.
20868 (Helper programs for gettext): Likewise.
20869
67cbf9a2
AS
208702012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20871
20872 [BZ #14898]
20873 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20874 Change to -1.
20875
682d0e9a
DM
208762012-12-07 David S. Miller <davem@davemloft.net>
20877
20878 * po/libc.pot: Update.
20879
573cd484
RH
208802012-12-07 Richard Henderson <rth@redhat.com>
20881
7e9da188 20882 [BZ #10114]
573cd484
RH
20883 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20884 normal/normal case to before the switch.
20885 (_FP_DIV): Likewise.
20886
e933a943
MF
208872012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20888 Mike Frysinger <vapier@gentoo.org>
20889
20890 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20891 check for __NR_fadvise64_64.
20892
82123268
CM
208932012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20894
20895 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20896 0, not just to plain "0" as a statement.
20897 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20898 with cw.
20899
d9814526
JM
209002012-12-06 Joseph Myers <joseph@codesourcery.com>
20901
20902 * NEWS: Use sourceware.org in Bugzilla URL.
20903
7728c574
SP
209042012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20905
f16946dd
SP
20906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20907 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20908
5704bbcb
SP
20909 * stdio-common/tst-put-error.c (do_test): Add newline to the
20910 padded test to ensure flush.
20911
17aa0516
JL
209122012-12-05 Jeff Law <law@redhat.com>
20913
20914 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20915
363313b5
JM
209162012-12-05 Joseph Myers <joseph@codesourcery.com>
20917
effbd42a
JM
20918 * README: Don't refer to ports add-on as distributed separately.
20919 Mention AArch64 in list of systems supported in the ports add-on.
20920
87600365
JM
20921 * LICENSES: Add more non-FSF copyright and license notices.
20922
a0d7066a
JM
20923 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20924 ((unused)).
20925
66ca5a5b
JM
20926 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20927
363313b5
JM
20928 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20929 10000 as width of padded output.
20930
b37984ad
JM
209312012-12-04 Joseph Myers <joseph@codesourcery.com>
20932
9003570a
JM
20933 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20934
b37984ad
JM
20935 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20936 variable LX with __attribute__ ((unused)).
20937 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20938 Likewise.
20939 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20941 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20942 with __attribute__ ((unused)).
20943
c8df52ec
DM
209442012-12-04 David S. Miller <davem@abraco.davemloft.net>
20945
20946 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20947
b3b099af
JM
209482012-12-04 Joseph Myers <joseph@codesourcery.com>
20949
c33aa6e3
JM
20950 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20951 (CFLAGS-nldbl-acos.c): New variable.
20952 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20953 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20954 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20955 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20956 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20957 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20958 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20959 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20960 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20961 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20962 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20963 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20964 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20965 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20966 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20967 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20968 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20969 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20970 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20971 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20972 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20973 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20974 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20975 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20976 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20977 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20978 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20979 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20980 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20981 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20982 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20983 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20984 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20985 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20986 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20987 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20988 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20989 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20990 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20991 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20992 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20993 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20994 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20995 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20996 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20997 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20998 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20999 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21000 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21001 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21002 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21003 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21004 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21005 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21006 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21007 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21008 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21009 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21010 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21011 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21012 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21013 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21014 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21015 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21016 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21017 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21018 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21019 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21020 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21021 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21022 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21023 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21024 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21025 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21026 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21027 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21028 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21029 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21030 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21031 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21032 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21033 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21034 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21035 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21036 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21037 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21038 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21039 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21040 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21041 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21042 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21043 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21044 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21045 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21046 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21047 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21048 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21049
20f0018d
JM
21050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21051 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21052
b3b099af
JM
21053 [BZ #14914]
21054 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21055 whole low double instead of just low 47 bits when splitting values
21056 into two parts.
21057
029264d1
AM
210582012-12-03 Allan McRae <allan@archlinux.org>
21059
21060 * manual/stdio.texi (Predefined Printf Handlers): Remove
21061 @hsep and @vsep usage.
21062
c9d6789e
MF
210632012-12-03 Mike Frysinger <vapier@gentoo.org>
21064
21065 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21066 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21067
4b7634a5
JL
210682012-12-03 Jeff Law <law@redhat.com>
21069
21070 * time/sys/time.h (settimeofday): Do not mark TV argument
21071 as __nonnull.
21072
eb6cbd24
MF
210732012-12-01 Mike Frysinger <vapier@gentoo.org>
21074
21075 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21076 when currently writing and seek to current position when not.
21077 * libio/Makefile (tests): Remove bug-fclose1.
21078 * libio/bug-fclose1.c: Delete.
21079
f638872a
JM
210802012-12-01 Joseph Myers <joseph@codesourcery.com>
21081
21082 * manual/arith.texi (feenableexcept): Fix typo.
21083 (fedisableexcept): Likewise.
21084
48085d14
RM
210852012-11-30 Roland McGrath <roland@hack.frob.com>
21086
21087 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21088 second, differently-typed declaration, rather than a cast.
21089
1a538b9f
SP
210902012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21091
21092 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21093 * include/rpc/svc.h: ... here.
21094
d07f2ff1 210952012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
21096
21097 [BZ #13013]
21098 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21099 depending n and resplen2 to catch cases where answer
21100 equals answerp2.
21101
c93ec1f0
CD
211022012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21103
21104 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21105 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21106
37db69de
MF
211072012-11-29 Mike Frysinger <vapier@gentoo.org>
21108
21109 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21110
e10c4e4f
RM
211112012-11-29 Roland McGrath <roland@hack.frob.com>
21112
21113 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21114
2af1b328
JL
211152012-11-28 Jeff Law <law@redhat.com>
21116
21117 [BZ #13761]
21118 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21119 dataset_temporary. Track alloca usage into alloca_used.
21120 If dataset is large allocate and release it via malloc/free.
21121
111db5b1
FW
211222012-06-04 Florian Weimer <fweimer@redhat.com>
21123
f06cc227 21124 [BZ #14197]
111db5b1
FW
21125 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21126
dd694abd
DM
211272012-11-28 David S. Miller <davem@davemloft.net>
21128
21129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21130
9984dd01
JM
211312012-11-28 Joseph Myers <joseph@codesourcery.com>
21132
21133 [BZ #14803]
21134 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21135 of pi/2 rounded to nearest to 64 bits.
21136 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21137 nearest to 64 bits.
21138 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21139 bits.
21140
14bc93a9
JL
211412012-11-28 Jeff Law <law@redhat.com>
21142 Martin Osvald <mosvald@redhat.com>
21143
21144 [BZ #14889]
21145 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21146 * sunrpc/svc.c: Include time.h.
21147 (__svc_accept_failed): New function.
21148 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21149 any reason other than EINTR, call __svc_accept_failed.
21150 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21151 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21152
e3c6aa3a
AS
211532012-11-28 Andreas Schwab <schwab@suse.de>
21154
21155 * scripts/abilist.awk: Also handle indirect functions in .opd
21156 section.
21157
1bead169
JM
211582012-11-28 Joseph Myers <joseph@codesourcery.com>
21159
21160 [BZ #13881]
21161 * sysdeps/x86/fpu/powl_helper.c: New file.
21162 * sysdeps/x86/fpu/Makefile: Likewise.
21163 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21164 (p3): New object.
21165 (__ieee754_powl): Use __powl_helper for finite arguments except
21166 integer exponents below 8.
21167 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21168 (p3): New object.
21169 (__ieee754_powl): Use __powl_helper for finite arguments except
21170 integer exponents below 8.
21171 * math/libm-test.inc (pow_test): Add more tests and enable some
21172 previously disabled tests.
21173 * sysdeps/i386/fpu/libm-test-ulps: Update.
21174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21175
0817d63d
SP
211762012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21177 Carlos O'Donell <carlos_odonell@mentor.com>
21178
21179 * nss/makedb.c (is_prime): Assert that input is odd and greater
21180 than 4. Note that fact in a comment too.
21181 (next_prime): Add 4 to input.
21182
de2fd463
SP
211832012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21184
21185 [BZ #11741]
21186 * libio/Makefile (tests): Add test case tst-fwrite-error.
21187 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21188 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21189 * libio/tst-fwrite-error.c: New test case.
21190
c515fb51
L
211912012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21192
21193 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21194 before casting to void *.
21195 * include/libc-internal.h (__pointer_type): New macro.
21196 (__integer_if_pointer_type_sub): Likewise.
21197 (__integer_if_pointer_type): Likewise.
21198 (cast_to_integer): Likewise.
21199 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21200 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21201 before casting to atomic64_t.
21202 (atomic_exchange_acq): Likewise.
21203 (__arch_exchange_and_add_body): Likewise.
21204 (__arch_add_body): Likewise.
21205 (atomic_add_negative): Likewise.
21206 (atomic_add_zero): Likewise.
21207
4cf77aa9
JM
212082012-11-26 Joseph Myers <joseph@codesourcery.com>
21209
21210 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21211 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21212 (add_fdes): Likewise.
21213 (linear_search_fdes): Likewise.
21214 (binary_search_unencoded_fdes): Likewise.
21215
d260b3b4
AS
212162012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21217
21218 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21219
67060746
AC
212202012-11-24 Adam Conrad <adconrad@0c3.net>
21221
21222 * configure.in: Autodetect C++ header directories.
21223 * configure: Regenerated.
21224
800938a1
MF
212252012-11-23 Mike Frysinger <vapier@gentoo.org>
21226
21227 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21228
4e6e34e6
AS
212292012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21230
21231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21232
7c7feb47
JM
212332012-11-22 Joseph Myers <joseph@codesourcery.com>
21234
7184dcdf
JM
21235 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21236 LDBL_MANT_DIG == 106]: Disable some tests.
21237 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21238 Likewise.
21239 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21240 Likewise.
21241
0a42601f
JM
21242 [BZ #14871]
21243 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21244 input for small inputs. Return +/- pi/2 for large inputs.
21245 * math/libm-test.inc (atan_test): Add more tests.
21246
79c9b9fe
JM
21247 * sysdeps/generic/unwind-dw2-fde-glibc.c
21248 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21249 __attribute__ ((unused)).
21250
c60d3bf2
JM
21251 [BZ #14645]
21252 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21253 x * y if x and y are nonzero and z is zero.
21254
ef1e0867
JM
21255 [BZ #14811]
21256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21257 nonzero exponents with absolute value below 0x1p-117 to +/-
21258 0x1p-117.
21259
1468ded3
JM
21260 [BZ #14869]
21261 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21262 up arguments below 2**-450, not just those below 2**-500.
21263 * math/libm-test.inc (hypot_test): Add another test.
21264
8e27e3cc
JM
21265 [BZ #14868]
21266 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21267 Return a+b for ratio over 2**120, not 2**60.
21268 * math/libm-test.inc (hypot_test): Add another test.
21269
c9c0279b
JM
21270 * math/libm-test.inc (clog_test): Use
21271 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21272 (clog10_test): Likewise.
21273
7c7feb47
JM
21274 [BZ #6778]
21275 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21276
fff1530e
AS
212772012-11-22 Andreas Schwab <schwab@suse.de>
21278
21279 * sysdeps/i386/fpu/libm-test-ulps: Update.
21280
94558d30
PT
212812012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21282
21283 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21284 printf output with newline.
21285
7e1be741
L
212862012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21287
6bfea974
L
21288 [BZ #14865]
21289 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21290 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21291 -z nodlopen, -z initfirst and -z execstack support.
21292 * configure: Regenerated.
21293
7e1be741
L
21294 * elf/elf.h (DF_1_NODIRECT): New macro.
21295 (DF_1_IGNMULDEF): Likewise.
21296 (DF_1_NOKSYMS): Likewise.
21297 (DF_1_NOHDR): Likewise.
21298 (DF_1_EDITED): Likewise.
21299 (DF_1_NORELOC): Likewise.
21300 (DF_1_SYMINTPOSE): Likewise.
21301 (DF_1_GLOBAUDIT): Likewise.
21302 (DF_1_SINGLETON): Likewise.
21303 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21304 DT_1_SUPPORTED_MASK bits.
21305 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21306
105ce2ce
CD
213072012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21308
21309 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21310
123be9de
TS
213112012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21312
d072f3f7
TS
21313 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21314 macro.
21315
123be9de
TS
21316 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21317 (sendmmsg): Move declarations...
21318 * socket/sys/socket.h: ... here.
21319 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21320 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21321 include it from...
21322 * socket/recvmmsg.c: ... this new file.
21323 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21324 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21325 definition of __sendmmsg hidden.
21326 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21327 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21328 Move ENOSYS stub into and include it from...
21329 * socket/sendmmsg.c: ... this new file.
21330 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21331 (sysdep_routines): Move recvmmsg and sendmmsg...
21332 * socket/Makefile (routines): ... here.
21333 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21334 (GLIBC_PRIVATE): Add __sendmmsg.
21335 * include/sys/socket.h (__sendmmsg): Add declarations.
21336 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21337 sendmmsg.
21338
cf9a5d18
JM
213392012-11-20 Joseph Myers <joseph@codesourcery.com>
21340
21341 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21342 variable I1 with __attribute__ ((unused)).
21343 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21344
ecd4caf9
JM
213452012-11-19 Joseph Myers <joseph@codesourcery.com>
21346
be14d48f
JM
21347 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21348 DUMMY variables with __attribute__ ((unused)).
21349
ecd4caf9
JM
21350 * bits/byteswap.h: Include <bits/types.h>.
21351 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21352
986cab95
PT
213532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21354
21355 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21356 string_t. Do not manually set errno.
21357 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21358 length with __strnlen. Make sure to both set errno and return it on
21359 failure.
21360
6d33cc9d
DM
213612012-11-19 David S. Miller <davem@davemloft.net>
21362
21363 With help from Joseph Myers.
21364 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21365 very large arguments properly.
21366 * math/libm-test.inc (atan_test): New tests.
21367 (atan2_test): New tests.
21368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21370
ee663277
JM
213712012-11-19 Joseph Myers <joseph@codesourcery.com>
21372
877f2d8e
JM
21373 [BZ #14856]
21374 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21375 Define to 3.
21376
116fc08a
JM
21377 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21378 [POSIX] (EADDRNOTAVAIL): Likewise.
21379 [POSIX] (EAFNOSUPPORT): Likewise.
21380 [POSIX] (EALREADY): Likewise.
21381 [POSIX] (ECONNABORTED): Likewise.
21382 [POSIX] (ECONNREFUSED): Likewise.
21383 [POSIX] (ECONNRESET): Likewise.
21384 [POSIX] (EDESTADDRREQ): Likewise.
21385 [POSIX] (EDQUOT): Likewise.
21386 [POSIX] (EHOSTUNREACH): Likewise.
21387 [POSIX] (EIDRM): Likewise.
21388 [POSIX] (EISCONN): Likewise.
21389 [POSIX] (ELOOP): Likewise.
21390 [POSIX] (EMULTIHOP): Likewise.
21391 [POSIX] (ENETDOWN): Likewise.
21392 [POSIX] (ENETUNREACH): Likewise.
21393 [POSIX] (ENOBUFS): Likewise.
21394 [POSIX] (ENODATA): Likewise.
21395 [POSIX] (ENOLINK): Likewise.
21396 [POSIX] (ENOMSG): Likewise.
21397 [POSIX] (ENOPROTOOPT): Likewise.
21398 [POSIX] (ENOSR): Likewise.
21399 [POSIX] (ENOSTR): Likewise.
21400 [POSIX] (ENOTCONN): Likewise.
21401 [POSIX] (ENOTSOCK): Likewise.
21402 [POSIX] (EOPNOTSUPP): Likewise.
21403 [POSIX] (EOVERFLOW): Likewise.
21404 [POSIX] (EPROTO): Likewise.
21405 [POSIX] (EPROTONOSUPPORT): Likewise.
21406 [POSIX] (EPROTOTYPE): Likewise.
21407 [POSIX] (ESTALE): Likewise.
21408 [POSIX] (ETIME): Likewise.
21409 [POSIX] (ETXTBSY): Likewise.
21410 [POSIX] (EWOULDBLOCK): Likewise.
21411 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21412 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21413 [POSIX] (SEEK_CUR): Likewise.
21414 [POSIX] (SEEK_END): Likewise.
21415 [POSIX || UNIX98] (mode_t): Do not require.
21416 [POSIX] (off_t): Likewise.
21417 [POSIX] (pid_t): Likewise.
21418 [POSIX] (sys/stat.h): Do not allow header.
21419 [POSIX] (unistd.h): Likewise.
21420 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21421 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21422 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21423 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21424 require.
21425 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21426 sigevent): Specify elements.
21427 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21428 entry.
21429 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21430 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21431
a483863f
JM
21432 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21433 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21434 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21435 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21436 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21437 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21438 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21439 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21440 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21441 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21442 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21443 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21444 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21445 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21446 Likewise.
21447 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21448 Likewise.
21449 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21450 Likewise.
21451 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21452 Likewise.
21453 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21454 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21455 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21456 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21457 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21458 Specify lower bound on value.
21459 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21460 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21461 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21462 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21463 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21464 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21465 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21466 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21467 value.
21468 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21469 as optional.
21470 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21471 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21472 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21473 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21474 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21475 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21476 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21477 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21478 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21479 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21480 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21481 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21482 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21483 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21484 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21485 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21486 entry.
21487 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21488 optional.
21489 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21490 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21491 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21492 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21493 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21494 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21495 Likewise.
21496 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21497 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21498 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21499 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21500 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21501 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21502 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21503 as optional.
21504 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21505 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21506 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21507 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21508 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21509 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21510 specify as optional.
21511 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21512 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21513 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21514 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21515 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21516 [XPG3] (NL_LANGMAX): Likewise.
21517 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21518 [POSIX || XPG3] (NL_NMAX): Likewise.
21519 [POSIX || XPG3] (NL_SETMAX): Likewise.
21520 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21521 [XPG3] (NZERO): Likewise.
21522 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21523 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21524 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21525 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21526 (REG_ERANGE): Expect.
21527 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21528 optional-constant.
21529 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21530 Use (void) in prototype.
21531 [POSIX] (*_t): Allow.
21532 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21533 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21534 (WRDE_BADVAL): Expect.
21535
5ba924e3
JM
21536 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21537 expect.
21538 [XPG3 || XPG4] (O_RSYNC): Likewise.
21539 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21540 Likewise.
21541 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21542 [XPG3 || XPG4] (sigqueue): Likewise.
21543 [XPG3 || XPG4] (sigtimedwait): Likewise.
21544 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21545 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21546 [XPG3 || XPG4] (vsnprintf): Likewise.
21547 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21548 Likewise.
21549 [XPG3 || XPG4] (blksize_t): Likewise.
21550 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21551 Likewise.
21552 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21553 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21554 [XPG3 || XPG4] (struct itimerspec): Likewise.
21555 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21556 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21557 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21558 [XPG3 || XPG4] (clockid_t): Likewise.
21559 [XPG3 || XPG4] (timer_t): Likewise.
21560 [XPG3 || XPG4] (clock_getres): Likewise.
21561 [XPG3 || XPG4] (clock_gettime): Likewise.
21562 [XPG3 || XPG4] (clock_settime): Likewise.
21563 [XPG3 || XPG4] (nanosleep): Likewise.
21564 [XPG3 || XPG4] (timer_create): Likewise.
21565 [XPG3 || XPG4] (timer_delete): Likewise.
21566 [XPG3 || XPG4] (timer_gettime): Likewise.
21567 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21568 [XPG3 || XPG4] (timer_settime): Likewise.
21569 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21570 [XPG3 || XPG4] (getlogin_r): Likewise.
21571 [XPG3 || XPG4] (pread): Likewise.
21572 [XPG3 || XPG4] (pthread_atfork): Likewise.
21573 [XPG3 || XPG4] (pwrite): Likewise.
21574
ee663277
JM
21575 [BZ #14835]
21576 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21577 <bits/siginfo.h>.
21578
942caa16
PT
215792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21580
e19af380
PT
21581 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21582 finalizing MALLSTREAM.
21583
942caa16
PT
21584 * sysdeps/mach/hurd/syncfs.c: New file.
21585
cfde9b46
SP
215862012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21587
21588 [BZ #14719]
21589 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21590 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21591 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21592 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21593 (_nss_dns_gethostbyname4_r): Likewise.
21594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21595 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21596
f6da27e5
PH
215972012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21598
21599 [BZ #13763]
21600 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21601
6665d4a2
SM
216022012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21603
1f51ee92
SM
21604 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21605 * elf/cache.c (print_entry): Print ",AArch64" for
21606 FLAG_AARCH64_LIB64
21607
6665d4a2
SM
21608 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21609 * elf/cache.c (print_entry): Print ",hard-float" for
21610 FLAG_ARM_LIBHF.
21611
05b227bd
DM
216122012-11-18 David S. Miller <davem@davemloft.net>
21613
21614 With help from Joseph Myers.
21615 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21616 cutoff to 2**-13.
21617 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21618 cutoff to 2**-25.
21619 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21620 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21621 small.
21622 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21623 * math/libm-test.inc (y0_test): New tests.
21624 (y1_test): New tests.
21625 * sysdeps/i386/fpu/libm-test-ulps: Update.
21626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21628
786b0b67
AS
216292012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21630
21631 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21632 64-bit targets.
21633 * configure: Regenerated.
21634
8e18b86d
DM
216352012-11-17 David S. Miller <davem@davemloft.net>
21636
21637 [BZ #14811]
21638 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21639 nonzero exponents with absolute value below 0x1p-128 to +/-
21640 0x1p-128.
21641
531f1ae0
JM
216422012-11-17 Joseph Myers <joseph@codesourcery.com>
21643
12df29e2
JM
21644 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21645
150dc1a0
JM
21646 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21647
531f1ae0
JM
21648 * posix/getconf-speclist.c: New file.
21649 * posix/posix-envs.def: Likewise.
21650 * posix/confstr.c (START_ENV_GROUP): New macro.
21651 (END_ENV_GROUP): Likewise.
21652 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21653 (KNOWN_PRESENT_ENV_STRING): Likewise.
21654 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21655 (UNKNOWN_ENVIRONMENT): Likewise.
21656 (confstr): Include posix-envs.def instead of handling
21657 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21658 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21659 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21660 (END_ENV_GROUP): Likewise.
21661 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21662 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21663 (UNKNOWN_ENVIRONMENT): Likewise.
21664 (__sysconf): Include posix-envs.def instead of handling associated
21665 cases directly here.
21666 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21667 preprocessing getconf-speclist.c rather than running getconf or
21668 generating empty file.
21669
a93f9cbc
PT
216702012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21671
21672 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21673
d64d9f87
AL
216742012-11-16 Andrej Lajovic <natrij@gmail.com>
21675
21676 [BZ #14672]
21677 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21678
447885eb
DM
216792012-11-16 David S. Miller <davem@davemloft.net>
21680
21681 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21682 smaller than LDBL_EPSILON/2.0L, just return xm1.
21683
bcbf9830
L
216842012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21685
21686 * elf/tst-array1.c (init): Set constructor priority to 1000.
21687 (fini): Set destructor priority to 1000.
21688 * elf/tst-array2dep.c: Likewise.
21689
2b766585
SP
216902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21691
21692 [BZ #11741]
21693 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21694 (_IO_new_file_xsputn): Also return EOF if none of the input
21695 data was written when overflow failed.
21696 * libio/iopadn.c (_IO_padn): Likewise.
21697 * libio/iowpadn.c (_IO_wpadn): Likewise.
21698 * stdio-common/tst-put-error.c: Add copyright notice.
21699 (do_test): Add case for printing padded string.
21700 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21701 _IO_padn returned error.
21702 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21703 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21704 return EOF.
21705
b1848fde
SP
217062012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21707
21708 * libio/libioP.h: Add comment note that the references to C++
21709 bits are now obsolete.
21710
2fd89785
MS
217112012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21712
21713 * math/libm-test.inc (check_complex): Use asprintf.
21714
e3ea5409
JM
217152012-11-14 Joseph Myers <joseph@codesourcery.com>
21716
21717 * debug/pcprofiledump.c (print_version): Update copyright year.
21718 * malloc/memusagestat.c (print_version): Likewise.
21719
2e64d265
L
217202012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21721
21722 [BZ #14831]
21723 * elf/Makefile (tests): Add tst-audit8.
21724 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21725 ($(objpfx)tst-audit8.out): New target.
21726 (tst-audit8-ENV): New variable.
21727 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21728 audit if l_reloc_result is NULL.
21729 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21730 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21731 * elf/tst-audit8.c: New file.
21732
c485e4d2
MS
217332012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21734
21735 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21736 * misc/Makefile (CFLAGS-select.c): Define.
21737 * posix/Makefile (CFLAGS-pause.c): Define.
21738
3a0d900a
DM
217392012-11-13 David S. Miller <davem@davemloft.net>
21740
21741 * crypt/Makefile: Move test targets after toplevel Rules
21742 inclusion. Grab any necessary sysdep routines when linking.
21743 * crypt/md5.c (md5_process_block): Remove define, we will always
21744 name it __md5_process_block.
21745 (md5_finish_ctx): Update md5_process_block call.
21746 (md5_stream): Likewise.
21747 (md5_process_bytes): Likewise.
21748 (md5_process_block): Rename to __md5_process_block and move to ...
21749 * crypt/md5-block.c: ... here.
21750 * crypt/sha256.c (sha256_process_block): Move to ...
21751 * crypt/sha256-block.c: ... here.
21752 * crypt/sha512.c (sha512_process_block): Move to ...
21753 * crypt/sha512-block.c: ... here.
21754 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21755 path.
21756 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21757 * sysdeps/sparc/sparc64/multiarch/Makefile
21758 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21759 crypt subdir.
21760 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21761 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21762 multiarch changes.
21763 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21764 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21765 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21766 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21767 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21768 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21769 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21770 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21771 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21772 file.
21773 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21774 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21775 file.
21776 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21777
8ca89318
JM
217782012-11-13 Joseph Myers <joseph@codesourcery.com>
21779
e27d476a
JM
21780 * timezone/tzselect.ksh: Update from tzcode git revision
21781 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21782 * timezone/zdump.c: Likewise.
21783 * timezone/zic.c: Likewise.
21784 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21785 in TZVERSION setting, not $(PKGVERSION).
21786 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21787 REPORT_BUGS_TO settings.
21788
8ca89318
JM
21789 [BZ #14838]
21790 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21791 macro.
21792
47594329
MS
217932012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21794
21795 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21796 detection to immediately after _FP_ROUND().
21797 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21798 bits are 0.
21799
640ac3f1
DM
218002012-11-11 David S. Miller <davem@davemloft.net>
21801
21802 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21803 inttypes.h
21804 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21805 __close rather than their public counterparts.
21806
3d2577bb
JM
218072012-11-10 Joseph Myers <joseph@codesourcery.com>
21808
21809 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21810 file.
21811 [UNIX98] (sem_timedwait): Do not expect.
21812 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21813 [XPG4 || UNIX98] (sockatmark): Do not expect.
21814 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21815 (clock_getcpuclockid): Do not expect.
21816 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21817 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21818 Do not expect.
21819 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21820 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21821 [UNIX98] (vwscanf): Likewise.
21822 [UNIX98] (vswscanf): Likewise.
21823
fb1ae1ee
JM
218242012-11-09 Joseph Myers <joseph@codesourcery.com>
21825
9ec6f8bd
JM
21826 * timezone/version.h: Remove file.
21827 * timezone/README: Do not refer to version.h.
21828 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21829 $(objpfx)version.h.
21830 ($(objpfx)zdump.o): Likewise.
c3f81911 21831 ($(objpfx)version.h): New target.
9ec6f8bd 21832
0aa8f8a1
JM
21833 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21834 2012i.
21835 * timezone/README: Don't mention modification to tzselect.ksh.
21836 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21837 work on unmodified tzselect.ksh. Substitute version numbers in
21838 tzselect.ksh.
21839
4e87147f
JM
21840 * Makefile (format-me): Remove.
21841 (INSTALL): Adjust indentation. Use commands directly instead of
21842 using $(format-me).
21843
8b748aed
JM
21844 * aclocal.m4 (ACX_PKGVERSION): New macro.
21845 (ACX_BUGURL): Likewise.
21846 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21847 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21848 (REPORT_BUGS_TO): Likewise.
21849 * configure: Regenerated.
21850 * config.h.in (PKGVERSION): New macro.
21851 (REPORT_BUGS_TO): Likewise.
21852 * config.make.in (PKGVERSION): New variable.
21853 (PKGVERSION_TEXI): Likewise.
21854 (REPORT_BUGS_TO): Likewise.
21855 (REPORT_BUGS_TEXI): Likewise.
21856 * Makefile (format-me): Use -I$(common-objpfx)manual.
21857 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21858 ($(common-objpfx)manual/%): New target.
21859 (manual/%): Remove target.
21860 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21861 (print_version): Use PKGVERSION.
21862 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21863 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21864 and REPORT_BUGS_TO.
21865 ($(objpfx)xtrace): Likewise.
21866 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21867 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21868 (print_version): Use PKGVERSION.
21869 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21870 (do_version): Use PKGVERSION.
21871 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21872 REPORT_BUGS_TO.
21873 (common-ldd-rewrite): Likewise.
21874 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21875 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21876 (print_version): Use PKGVERSION.
21877 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21878 * elf/pldd.c (argp_program_bug_address): Remove variable.
21879 (more_help): New function.
21880 (argp): Use more_help.
21881 (print_version): Use PKGVERSION.
21882 * elf/sln.c (main): Use PKGVERSION.
21883 (usage): Use REPORT_BUGS_TO.
21884 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21885 (top level): Use PKGVERSION.
21886 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21887 (print_version): Use PKGVERSION.
21888 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21889 (print_version): Use PKGVERSION.
21890 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21891 (print_version): Use PKGVERSION.
21892 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21893 (print_version): Use PKGVERSION.
21894 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21895 (print_version): Use PKGVERSION.
21896 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21897 (print_version): Use PKGVERSION.
21898 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21899 and BUGURL.
21900 ($(objpfx)memusage): Likewise.
21901 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21902 (do_version): Use PKGVERSION.
21903 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21904 (print_version): Use PKGVERSION.
21905 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21906 ($PKGVERSION): New variable.
21907 ($REPORT_BUGS_TO): Likewise.
21908 (usage): Use $REPORT_BUGS_TO.
21909 (top level): Use $PKGVERSION.
21910 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21911 ($(objpfx)pkgvers.texi): New rule.
21912 ($(objpfx)stamp-pkgvers): Likewise.
21913 * manual/install.texi: Include pkgvers.texi.
21914 (--with-pkgversion): Document new configure option.
21915 (--with-bugurl): Likewise.
21916 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21917 than necessarily for this particular distribution. Use
21918 REPORT_BUGS_TO for where to report bugs.
21919 * INSTALL: Regenerated.
21920 * manual/libc.texinfo: Include pkgvers.texi.
21921 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21922 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21923 (print_version): Use PKGVERSION.
21924 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21925 (print_version): Use PKGVERSION.
21926 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21927 (print_version): Use PKGVERSION.
21928 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21929 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21930 macro.
21931 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21932 (print_version): Use PKGVERSION.
21933 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21934 (print_version): Use PKGVERSION.
21935 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21936 and PKGVERSION.
21937
92e4b6a9
JM
21938 * timezone/checktab.awk: Update from tzcode 2012i.
21939 * timezone/ialloc.c: Likewise.
21940 * timezone/private.h: Likewise.
21941 * timezone/scheck.c: Likewise.
21942 * timezone/tzfile.h: Likewise.
21943 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21944 (TZVERSION): Hardcode tzcode version number.
21945 * timezone/zdump.c: Update from tzcode 2012i.
21946 * timezone/zic.c: Likewise.
21947 * timezone/version.h: New file.
21948 * timezone/README: Describe version.h. Update upstream location.
21949
9bde902c
JM
21950 [BZ #14824]
21951 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21952 (mktemp): Enable declaration.
21953 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21954 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21955 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21956 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21957 Likewise.
21958 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21959 Likewise.
21960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21961 Likewise.
21962 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21963 Likewise.
21964 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21965 Likewise.
21966 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21967 Likewise.
21968
fb1ae1ee
JM
21969 [BZ #14821]
21970 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21971 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21972 for copies of such integer values.
21973 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21974 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21975
2c1adbcb
AJ
219762012-11-09 Andreas Jaeger <aj@suse.de>
21977
21978 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21979 definitions and declarations that are provided by
21980 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21981
d0f8457e
AK
219822012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21983
3a235abb 21984 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21985 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21986 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21987 definition.
21988
57241e26
MS
219892012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21990
21991 * elf/elf.h: Update comment before AArch64 relocations.
21992
60e8270d
DM
219932012-11-07 David S. Miller <davem@davemloft.net>
21994
21995 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21996 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21997 (__start_context): Declare.
21998 (__makecontext_ret): Delete.
21999 (__makecontext): Hook up __start_context instead of
22000 __makecontext_ret.
22001 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22002 (sysdep_routines): Add __start_context when in stdlib.
22003
0fbb0fbc
JM
220042012-11-07 Joseph Myers <joseph@codesourcery.com>
22005
22006 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22007 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22008 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22009 hardcoded "nm".
22010 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22011 (READELF): New variable. Use it instead of hardcoded "readelf".
22012
eb48db7e
L
220132012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22014
22015 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22016 * sysdeps/x86/Makefile: Here.
22017 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22018 * sysdeps/x86/tst-xmmymm.sh: This.
22019
05bcf62a
JM
220202012-11-07 Joseph Myers <joseph@codesourcery.com>
22021
c4b6cf53
JM
22022 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22023 expectations.
22024 [UNIX98] (pthread_barrier_t): Do not expect.
22025 [UNIX98] (pthread_barrierattr_t): Likewise.
22026 [UNIX98] (pthread_spinlock_t): Likewise.
22027 [UNIX98] (pthread_barrier_destroy): Likewise.
22028 [UNIX98] (pthread_barrier_init): Likewise.
22029 [UNIX98] (pthread_barrier_wait): Likewise.
22030 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22031 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22032 [UNIX98] (pthread_barrierattr_init): Likewise.
22033 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22034 [UNIX98] (pthread_getcpuclockid): Likewise.
22035 [UNIX98] (pthread_mutex_timedlock): Likewise.
22036 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22037 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22038 [UNIX98] (pthread_sigmask): Likewise.
22039 [UNIX98] (pthread_spin_destroy): Likewise.
22040 [UNIX98] (pthread_spin_init): Likewise.
22041 [UNIX98] (pthread_spin_lock): Likewise.
22042 [UNIX98] (pthread_spin_trylock): Likewise.
22043 [UNIX98] (pthread_spin_unlock): Likewise.
22044 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22045 Do not expect.
22046 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22047 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22048 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22049 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22050 [XPG3 || XPG4] (pthread_key_t): Likewise.
22051 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22052 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22053 [XPG3 || XPG4] (pthread_once_t): Likewise.
22054 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22055 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22056 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22057 [XPG3 || XPG4] (pthread_t): Likewise.
22058
cbe6e120
JM
22059 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22060 not expect.
22061 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22062
1b126443
JM
22063 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22064 Change function return type to int.
22065
b961a573
JM
22066 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22067 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22068 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22069 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22070 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22071 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22072 [!POSIX] (posix_madvise): Likewise.
22073 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22074 && !UNIX98].
22075 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22076 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22077 (mode_t): Likewise.
22078 (posix_mem_offset): Likewise.
22079 (posix_typed_mem_get_info): Likewise.
22080 (posix_typed_mem_open): Likewise.
22081
9e188909
JM
22082 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22083 Change condition to [XOPEN2K8].
22084
05bcf62a
JM
22085 * conform/conformtest.pl: Preprocess allow-header data with -x c
22086 instead of from stdin.
22087 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22088 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22089 [C99-based standards] (cerfc): Likewise.
22090 [C99-based standards] (cexp2): Likewise.
22091 [C99-based standards] (cexpm1): Likewise.
22092 [C99-based standards] (clog10): Likewise.
22093 [C99-based standards] (clog1p): Likewise.
22094 [C99-based standards] (clog2): Likewise.
22095 [C99-based standards] (clgamma): Likewise.
22096 [C99-based standards] (ctgamma): Likewise.
22097 [C99-based standards] (cerff): Likewise.
22098 [C99-based standards] (cerfcf): Likewise.
22099 [C99-based standards] (cexp2f): Likewise.
22100 [C99-based standards] (cexpm1f): Likewise.
22101 [C99-based standards] (clog10f): Likewise.
22102 [C99-based standards] (clog1pf): Likewise.
22103 [C99-based standards] (clog2f): Likewise.
22104 [C99-based standards] (clgammaf): Likewise.
22105 [C99-based standards] (ctgammaf): Likewise.
22106 [C99-based standards] (cerfl): Likewise.
22107 [C99-based standards] (cerfcl): Likewise.
22108 [C99-based standards] (cexp2l): Likewise.
22109 [C99-based standards] (cexpm1l): Likewise.
22110 [C99-based standards] (clog10l): Likewise.
22111 [C99-based standards] (clog1pl): Likewise.
22112 [C99-based standards] (clog2l): Likewise.
22113 [C99-based standards] (clgammal): Likewise.
22114 [C99-based standards] (ctgammal): Likewise.
22115 * conform/data/inttypes.h-data [C99-based standards]: Include
22116 stdint.h-data. Remove all expectations for stdint.h contents.
22117 [C99-based standards] (PRI*): Do not allow.
22118 [C99-based standards] (SCN*): Likewise.
22119 [C99-based standards] (*_t): Likewise.
22120 [C99-based-standards] (PRId8): Expect macro.
22121 [C99-based-standards] (PRIi8): Likewise.
22122 [C99-based-standards] (PRIo8): Likewise.
22123 [C99-based-standards] (PRIu8): Likewise.
22124 [C99-based-standards] (PRIx8): Likewise.
22125 [C99-based-standards] (PRIX8): Likewise.
22126 [C99-based-standards] (SCNd8): Likewise.
22127 [C99-based-standards] (SCNi8): Likewise.
22128 [C99-based-standards] (SCNo8): Likewise.
22129 [C99-based-standards] (SCNu8): Likewise.
22130 [C99-based-standards] (SCNx8): Likewise.
22131 [C99-based-standards] (PRIdLEAST8): Likewise.
22132 [C99-based-standards] (PRIiLEAST8): Likewise.
22133 [C99-based-standards] (PRIoLEAST8): Likewise.
22134 [C99-based-standards] (PRIuLEAST8): Likewise.
22135 [C99-based-standards] (PRIxLEAST8): Likewise.
22136 [C99-based-standards] (PRIXLEAST8): Likewise.
22137 [C99-based-standards] (SCNdLEAST8): Likewise.
22138 [C99-based-standards] (SCNiLEAST8): Likewise.
22139 [C99-based-standards] (SCNoLEAST8): Likewise.
22140 [C99-based-standards] (SCNuLEAST8): Likewise.
22141 [C99-based-standards] (SCNxLEAST8): Likewise.
22142 [C99-based-standards] (PRIdFAST8): Likewise.
22143 [C99-based-standards] (PRIiFAST8): Likewise.
22144 [C99-based-standards] (PRIoFAST8): Likewise.
22145 [C99-based-standards] (PRIuFAST8): Likewise.
22146 [C99-based-standards] (PRIxFAST8): Likewise.
22147 [C99-based-standards] (PRIXFAST8): Likewise.
22148 [C99-based-standards] (SCNdFAST8): Likewise.
22149 [C99-based-standards] (SCNiFAST8): Likewise.
22150 [C99-based-standards] (SCNoFAST8): Likewise.
22151 [C99-based-standards] (SCNuFAST8): Likewise.
22152 [C99-based-standards] (SCNxFAST8): Likewise.
22153 [C99-based-standards] (PRId16): Likewise.
22154 [C99-based-standards] (PRIi16): Likewise.
22155 [C99-based-standards] (PRIo16): Likewise.
22156 [C99-based-standards] (PRIu16): Likewise.
22157 [C99-based-standards] (PRIx16): Likewise.
22158 [C99-based-standards] (PRIX16): Likewise.
22159 [C99-based-standards] (SCNd16): Likewise.
22160 [C99-based-standards] (SCNi16): Likewise.
22161 [C99-based-standards] (SCNo16): Likewise.
22162 [C99-based-standards] (SCNu16): Likewise.
22163 [C99-based-standards] (SCNx16): Likewise.
22164 [C99-based-standards] (PRIdLEAST16): Likewise.
22165 [C99-based-standards] (PRIiLEAST16): Likewise.
22166 [C99-based-standards] (PRIoLEAST16): Likewise.
22167 [C99-based-standards] (PRIuLEAST16): Likewise.
22168 [C99-based-standards] (PRIxLEAST16): Likewise.
22169 [C99-based-standards] (PRIXLEAST16): Likewise.
22170 [C99-based-standards] (SCNdLEAST16): Likewise.
22171 [C99-based-standards] (SCNiLEAST16): Likewise.
22172 [C99-based-standards] (SCNoLEAST16): Likewise.
22173 [C99-based-standards] (SCNuLEAST16): Likewise.
22174 [C99-based-standards] (SCNxLEAST16): Likewise.
22175 [C99-based-standards] (PRIdFAST16): Likewise.
22176 [C99-based-standards] (PRIiFAST16): Likewise.
22177 [C99-based-standards] (PRIoFAST16): Likewise.
22178 [C99-based-standards] (PRIuFAST16): Likewise.
22179 [C99-based-standards] (PRIxFAST16): Likewise.
22180 [C99-based-standards] (PRIXFAST16): Likewise.
22181 [C99-based-standards] (SCNdFAST16): Likewise.
22182 [C99-based-standards] (SCNiFAST16): Likewise.
22183 [C99-based-standards] (SCNoFAST16): Likewise.
22184 [C99-based-standards] (SCNuFAST16): Likewise.
22185 [C99-based-standards] (SCNxFAST16): Likewise.
22186 [C99-based-standards] (PRId32): Likewise.
22187 [C99-based-standards] (PRIi32): Likewise.
22188 [C99-based-standards] (PRIo32): Likewise.
22189 [C99-based-standards] (PRIu32): Likewise.
22190 [C99-based-standards] (PRIx32): Likewise.
22191 [C99-based-standards] (PRIX32): Likewise.
22192 [C99-based-standards] (SCNd32): Likewise.
22193 [C99-based-standards] (SCNi32): Likewise.
22194 [C99-based-standards] (SCNo32): Likewise.
22195 [C99-based-standards] (SCNu32): Likewise.
22196 [C99-based-standards] (SCNx32): Likewise.
22197 [C99-based-standards] (PRIdLEAST32): Likewise.
22198 [C99-based-standards] (PRIiLEAST32): Likewise.
22199 [C99-based-standards] (PRIoLEAST32): Likewise.
22200 [C99-based-standards] (PRIuLEAST32): Likewise.
22201 [C99-based-standards] (PRIxLEAST32): Likewise.
22202 [C99-based-standards] (PRIXLEAST32): Likewise.
22203 [C99-based-standards] (SCNdLEAST32): Likewise.
22204 [C99-based-standards] (SCNiLEAST32): Likewise.
22205 [C99-based-standards] (SCNoLEAST32): Likewise.
22206 [C99-based-standards] (SCNuLEAST32): Likewise.
22207 [C99-based-standards] (SCNxLEAST32): Likewise.
22208 [C99-based-standards] (PRIdFAST32): Likewise.
22209 [C99-based-standards] (PRIiFAST32): Likewise.
22210 [C99-based-standards] (PRIoFAST32): Likewise.
22211 [C99-based-standards] (PRIuFAST32): Likewise.
22212 [C99-based-standards] (PRIxFAST32): Likewise.
22213 [C99-based-standards] (PRIXFAST32): Likewise.
22214 [C99-based-standards] (SCNdFAST32): Likewise.
22215 [C99-based-standards] (SCNiFAST32): Likewise.
22216 [C99-based-standards] (SCNoFAST32): Likewise.
22217 [C99-based-standards] (SCNuFAST32): Likewise.
22218 [C99-based-standards] (SCNxFAST32): Likewise.
22219 [C99-based-standards] (PRId64): Likewise.
22220 [C99-based-standards] (PRIi64): Likewise.
22221 [C99-based-standards] (PRIo64): Likewise.
22222 [C99-based-standards] (PRIu64): Likewise.
22223 [C99-based-standards] (PRIx64): Likewise.
22224 [C99-based-standards] (PRIX64): Likewise.
22225 [C99-based-standards] (SCNd64): Likewise.
22226 [C99-based-standards] (SCNi64): Likewise.
22227 [C99-based-standards] (SCNo64): Likewise.
22228 [C99-based-standards] (SCNu64): Likewise.
22229 [C99-based-standards] (SCNx64): Likewise.
22230 [C99-based-standards] (PRIdLEAST64): Likewise.
22231 [C99-based-standards] (PRIiLEAST64): Likewise.
22232 [C99-based-standards] (PRIoLEAST64): Likewise.
22233 [C99-based-standards] (PRIuLEAST64): Likewise.
22234 [C99-based-standards] (PRIxLEAST64): Likewise.
22235 [C99-based-standards] (PRIXLEAST64): Likewise.
22236 [C99-based-standards] (SCNdLEAST64): Likewise.
22237 [C99-based-standards] (SCNiLEAST64): Likewise.
22238 [C99-based-standards] (SCNoLEAST64): Likewise.
22239 [C99-based-standards] (SCNuLEAST64): Likewise.
22240 [C99-based-standards] (SCNxLEAST64): Likewise.
22241 [C99-based-standards] (PRIdFAST64): Likewise.
22242 [C99-based-standards] (PRIiFAST64): Likewise.
22243 [C99-based-standards] (PRIoFAST64): Likewise.
22244 [C99-based-standards] (PRIuFAST64): Likewise.
22245 [C99-based-standards] (PRIxFAST64): Likewise.
22246 [C99-based-standards] (PRIXFAST64): Likewise.
22247 [C99-based-standards] (SCNdFAST64): Likewise.
22248 [C99-based-standards] (SCNiFAST64): Likewise.
22249 [C99-based-standards] (SCNoFAST64): Likewise.
22250 [C99-based-standards] (SCNuFAST64): Likewise.
22251 [C99-based-standards] (SCNxFAST64): Likewise.
22252 [C99-based-standards] (PRIdMAX): Likewise.
22253 [C99-based-standards] (PRIiMAX): Likewise.
22254 [C99-based-standards] (PRIoMAX): Likewise.
22255 [C99-based-standards] (PRIuMAX): Likewise.
22256 [C99-based-standards] (PRIxMAX): Likewise.
22257 [C99-based-standards] (PRIXMAX): Likewise.
22258 [C99-based-standards] (SCNdMAX): Likewise.
22259 [C99-based-standards] (SCNiMAX): Likewise.
22260 [C99-based-standards] (SCNoMAX): Likewise.
22261 [C99-based-standards] (SCNuMAX): Likewise.
22262 [C99-based-standards] (SCNxMAX): Likewise.
22263 [C99-based-standards] (PRIdPTR): Likewise.
22264 [C99-based-standards] (PRIiPTR): Likewise.
22265 [C99-based-standards] (PRIoPTR): Likewise.
22266 [C99-based-standards] (PRIuPTR): Likewise.
22267 [C99-based-standards] (PRIxPTR): Likewise.
22268 [C99-based-standards] (PRIXPTR): Likewise.
22269 [C99-based-standards] (SCNdPTR): Likewise.
22270 [C99-based-standards] (SCNiPTR): Likewise.
22271 [C99-based-standards] (SCNoPTR): Likewise.
22272 [C99-based-standards] (SCNuPTR): Likewise.
22273 [C99-based-standards] (SCNxPTR): Likewise.
22274 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22275 allow.
22276 * conform/data/stdint.h-data: Update comments to clarify
22277 requirements.
22278 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22279 type.
22280 [C99-based standards] (INT8_MAX): Likewise.
22281 [C99-based standards] (INT16_MIN): Likewise.
22282 [C99-based standards] (INT16_MAX): Likewise.
22283 [C99-based standards] (INT32_MIN): Likewise.
22284 [C99-based standards] (INT32_MAX): Likewise.
22285 [C99-based standards] (INT64_MIN): Likewise.
22286 [C99-based standards] (INT64_MAX): Likewise.
22287 [C99-based standards] (UINT8_MAX): Likewise.
22288 [C99-based standards] (UINT16_MAX): Likewise.
22289 [C99-based standards] (UINT32_MAX): Likewise.
22290 [C99-based standards] (UINT64_MAX): Likewise.
22291 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22292 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22293 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22294 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22295 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22296 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22297 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22298 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22299 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22300 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22301 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22302 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22303 [C99-based standards] (INT_FAST8_MIN): Likewise.
22304 [C99-based standards] (INT_FAST8_MAX): Likewise.
22305 [C99-based standards] (INT_FAST16_MIN): Likewise.
22306 [C99-based standards] (INT_FAST16_MAX): Likewise.
22307 [C99-based standards] (INT_FAST32_MIN): Likewise.
22308 [C99-based standards] (INT_FAST32_MAX): Likewise.
22309 [C99-based standards] (INT_FAST64_MIN): Likewise.
22310 [C99-based standards] (INT_FAST64_MAX): Likewise.
22311 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22312 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22313 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22314 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22315 [C99-based standards] (INTPTR_MIN): Likewise.
22316 [C99-based standards] (INTPTR_MAX): Likewise.
22317 [C99-based standards] (UINTPTR_MAX): Likewise.
22318 [C99-based standards] (INTMAX_MIN): Likewise.
22319 [C99-based standards] (INTMAX_MAX): Likewise.
22320 [C99-based standards] (UINTMAX_MAX): Likewise.
22321 [C99-based standards] (PTRDIFF_MIN): Likewise.
22322 [C99-based standards] (PTRDIFF_MAX): Likewise.
22323 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22324 [C99-based standards] (SIZE_MAX): Likewise.
22325 [C99-based standards] (WCHAR_MAX): Likewise.
22326 [C99-based standards] (WINT_MAX): Likewise.
22327 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22328 constraint on value.
22329 [C99-based standards] (WCHAR_MIN): Likewise.
22330 [C99-based standards] (WINT_MIN): Likewise.
22331 [C99-based standards] (*_t): Allow.
22332 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22333 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22334 Include math.h-data and complex.h-data. Remove all expectations
22335 of math.h and complex.h contents.
22336 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22337 at end of line.
22338 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22339 (struct tm): Expect tag.
22340 [C99-based-standards] (wcstof): Expect function.
22341 [C99-based-standards] (wcstold): Likewise.
22342 [C99-based-standards] (wcstoll): Likewise.
22343 [C99-based-standards] (wcstoull): Likewise.
22344 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22345 macro-int-constant. Specify type.
22346 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22347 constraint on value.
22348 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22349 Specify type.
22350 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22351 Specify value.
22352 [ISO C standards]: Do not allow headers.
22353 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22354 wcs[abcdefghijklmnopqrstuvwxyz]*.
22355 [ISO C standards] (*_t): Do not allow.
22356 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22357 Expect function.
22358 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22359 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22360 Specify type.
22361 [ISO C standards]: Do not allow headers.
22362 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22363 is[abcdefghijklmnopqrstuvwxyz]*.
22364 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22365 to[abcdefghijklmnopqrstuvwxyz]*.
22366 [ISO C standards] (*_t): Do not allow.
22367 * conform/data/stdalign.h-data: New file.
22368 * conform/data/stdbool.h-data: Likewise.
22369 * conform/data/stdnoreturn.h-data: Likewise.
22370
7514feb8
RM
223712012-11-07 Roland McGrath <roland@hack.frob.com>
22372
22373 [BZ #14815]
22374 * manual/filesys.texi (Directory Entries): Typo fix.
22375 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22376
19b2ecfc
MS
223772012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22378
22379 * elf/elf.h (EM_AARCH64): New macro.
22380 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22381 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22382 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22383 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22384 (R_AARCH64_TLSDESC): Likewise.
22385 (NT_ARM_TLS): Likewise.
22386 (NT_ARM_HW_BREAK): Likewise.
22387 (NT_ARM_HW_WATCH): Likewise.
22388
60e235ee
JM
223892012-11-07 Joseph Myers <joseph@codesourcery.com>
22390
22391 [BZ #14811]
22392 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22393 (__ieee754_powl): Saturate nonzero exponents with absolute value
22394 below 0x1p-79 to +/- 0x1p-79.
22395 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22396 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22397 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22398 nonzero exponents with absolute value below 0x1p-32 to +/-
22399 0x1p-32.
22400 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22401 (__ieee754_powl): Saturate nonzero exponents with absolute value
22402 below 0x1p-79 to +/- 0x1p-79.
22403 * math/libm-test.inc (pow_test): Add more tests.
22404
0ab234b7
AK
224052012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22406
22407 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22408 _dl_s390_cap_flags with kernel. Increase string length.
22409 (_dl_s390_platforms): Add z196 and zEC12.
22410
45832f74
JM
224112012-11-07 Joseph Myers <joseph@codesourcery.com>
22412
22413 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22414 Change XOPEN21K to XOPEN2K.
22415
19218757
MK
224162012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22417
22418 * string/memmove.c: Use memcpy when possible.
22419
c5f45721
AJ
224202012-11-06 Andreas Jaeger <aj@suse.de>
22421
22422 * po/eo.po: Update from translation team.
22423
82477c28
JM
224242012-11-06 Joseph Myers <joseph@codesourcery.com>
22425
22426 [BZ #14793]
22427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22428 exponent and small x and y exponents, scale x or y up. Increase
22429 by 2 the exponent used in scaling up.
22430 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22431 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22432 * math/libm-test.inc (fma_test): Add more tests.
22433 (fma_test_towardzero): Likewise.
22434 (fma_test_downward): Likewise.
22435 (fma_test_upward): Likewise.
22436
99252c8c
JM
224372012-11-05 Joseph Myers <joseph@codesourcery.com>
22438
acfa885f
JM
22439 [BZ #14805]
22440 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22441 fenv_t *.
22442
99252c8c
JM
22443 [BZ #14801]
22444 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22445 namespace for names of struct fields.
22446 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22447 fenv_t fields.
22448 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22449 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22450
d6d98dea
ST
224512012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22452
22453 [BZ #3665]
22454 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22455
e10bb107
TS
224562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22457
22458 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22459 PTR_DEMANGLE.
22460
22461 [BZ #5246]
22462 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22463 PTR_DEMANGLE.
22464
a0c2940d
JM
224652012-11-04 Joseph Myers <joseph@codesourcery.com>
22466
22467 [BZ #14797]
22468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22469 definitely overflow as x * y not x * y + z.
22470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22471 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22472 * math/libm-test.inc (fma_test): Add more tests.
22473 (fma_test_towardzero): Likewise.
22474 (fma_test_downward): Likewise.
22475 (fma_test_upward): Likewise.
22476
b830319d
TS
224772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22478
22479 [BZ #157]
22480
22481 * include/stub-tag.h: Remove file.
22482 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22483 '#include' of it.
22484 * manual/maint.texi (Porting): Don't reference it.
22485 * Makerules ($(objpfx)stubs): Likewise.
22486 * dirent/closedir.c: Don't include <stub-tag.h>.
22487 * dirent/dirfd.c: Likewise.
22488 * dirent/fdopendir.c: Likewise.
22489 * dirent/getdents.c: Likewise.
22490 * dirent/getdents64.c: Likewise.
22491 * dirent/opendir.c: Likewise.
22492 * dirent/readdir.c: Likewise.
22493 * dirent/readdir64.c: Likewise.
22494 * dirent/readdir64_r.c: Likewise.
22495 * dirent/readdir_r.c: Likewise.
22496 * dirent/rewinddir.c: Likewise.
22497 * dirent/seekdir.c: Likewise.
22498 * dirent/telldir.c: Likewise.
22499 * gmon/profil.c: Likewise.
22500 * grp/setgroups.c: Likewise.
22501 * inet/if_index.c: Likewise.
22502 * io/access.c: Likewise.
22503 * io/chdir.c: Likewise.
22504 * io/chmod.c: Likewise.
22505 * io/chown.c: Likewise.
22506 * io/close.c: Likewise.
22507 * io/dup.c: Likewise.
22508 * io/dup2.c: Likewise.
22509 * io/dup3.c: Likewise.
22510 * io/euidaccess.c: Likewise.
22511 * io/faccessat.c: Likewise.
22512 * io/fchdir.c: Likewise.
22513 * io/fchmod.c: Likewise.
22514 * io/fchmodat.c: Likewise.
22515 * io/fchown.c: Likewise.
22516 * io/fchownat.c: Likewise.
22517 * io/fcntl.c: Likewise.
22518 * io/flock.c: Likewise.
22519 * io/fstatfs.c: Likewise.
22520 * io/fstatfs64.c: Likewise.
22521 * io/fstatvfs.c: Likewise.
22522 * io/fstatvfs64.c: Likewise.
22523 * io/futimens.c: Likewise.
22524 * io/fxstat.c: Likewise.
22525 * io/fxstat64.c: Likewise.
22526 * io/fxstatat.c: Likewise.
22527 * io/fxstatat64.c: Likewise.
22528 * io/getcwd.c: Likewise.
22529 * io/isatty.c: Likewise.
22530 * io/lchmod.c: Likewise.
22531 * io/lchown.c: Likewise.
22532 * io/link.c: Likewise.
22533 * io/linkat.c: Likewise.
22534 * io/lseek.c: Likewise.
22535 * io/lseek64.c: Likewise.
22536 * io/lxstat64.c: Likewise.
22537 * io/mkdir.c: Likewise.
22538 * io/mkdirat.c: Likewise.
22539 * io/mkfifo.c: Likewise.
22540 * io/mkfifoat.c: Likewise.
22541 * io/open.c: Likewise.
22542 * io/open64.c: Likewise.
22543 * io/openat.c: Likewise.
22544 * io/openat64.c: Likewise.
22545 * io/pipe.c: Likewise.
22546 * io/pipe2.c: Likewise.
22547 * io/poll.c: Likewise.
22548 * io/posix_fadvise.c: Likewise.
22549 * io/posix_fadvise64.c: Likewise.
22550 * io/posix_fallocate.c: Likewise.
22551 * io/posix_fallocate64.c: Likewise.
22552 * io/read.c: Likewise.
22553 * io/readlink.c: Likewise.
22554 * io/readlinkat.c: Likewise.
22555 * io/rmdir.c: Likewise.
22556 * io/sendfile.c: Likewise.
22557 * io/sendfile64.c: Likewise.
22558 * io/statfs.c: Likewise.
22559 * io/statfs64.c: Likewise.
22560 * io/statvfs.c: Likewise.
22561 * io/statvfs64.c: Likewise.
22562 * io/symlink.c: Likewise.
22563 * io/symlinkat.c: Likewise.
22564 * io/ttyname.c: Likewise.
22565 * io/ttyname_r.c: Likewise.
22566 * io/umask.c: Likewise.
22567 * io/unlink.c: Likewise.
22568 * io/unlinkat.c: Likewise.
22569 * io/utime.c: Likewise.
22570 * io/utimensat.c: Likewise.
22571 * io/write.c: Likewise.
22572 * io/xmknod.c: Likewise.
22573 * io/xmknodat.c: Likewise.
22574 * io/xstat.c: Likewise.
22575 * io/xstat64.c: Likewise.
22576 * login/getpt.c: Likewise.
22577 * login/grantpt.c: Likewise.
22578 * login/unlockpt.c: Likewise.
22579 * math/e_acoshl.c: Likewise.
22580 * math/e_acosl.c: Likewise.
22581 * math/e_asinl.c: Likewise.
22582 * math/e_atan2l.c: Likewise.
22583 * math/e_atanhl.c: Likewise.
22584 * math/e_coshl.c: Likewise.
22585 * math/e_expl.c: Likewise.
22586 * math/e_fmodl.c: Likewise.
22587 * math/e_gammal_r.c: Likewise.
22588 * math/e_hypotl.c: Likewise.
22589 * math/e_j0l.c: Likewise.
22590 * math/e_j1l.c: Likewise.
22591 * math/e_jnl.c: Likewise.
22592 * math/e_lgammal_r.c: Likewise.
22593 * math/e_log10l.c: Likewise.
22594 * math/e_log2l.c: Likewise.
22595 * math/e_logl.c: Likewise.
22596 * math/e_powl.c: Likewise.
22597 * math/e_rem_pio2l.c: Likewise.
22598 * math/e_sinhl.c: Likewise.
22599 * math/e_sqrtl.c: Likewise.
22600 * math/fclrexcpt.c: Likewise.
22601 * math/fedisblxcpt.c: Likewise.
22602 * math/feenablxcpt.c: Likewise.
22603 * math/fegetenv.c: Likewise.
22604 * math/fegetexcept.c: Likewise.
22605 * math/fegetround.c: Likewise.
22606 * math/feholdexcpt.c: Likewise.
22607 * math/fesetenv.c: Likewise.
22608 * math/fesetround.c: Likewise.
22609 * math/feupdateenv.c: Likewise.
22610 * math/fgetexcptflg.c: Likewise.
22611 * math/fraiseexcpt.c: Likewise.
22612 * math/fsetexcptflg.c: Likewise.
22613 * math/ftestexcept.c: Likewise.
22614 * math/k_cosl.c: Likewise.
22615 * math/k_rem_pio2l.c: Likewise.
22616 * math/k_sinl.c: Likewise.
22617 * math/k_tanl.c: Likewise.
22618 * math/s_asinhl.c: Likewise.
22619 * math/s_atanl.c: Likewise.
22620 * math/s_cbrtl.c: Likewise.
22621 * math/s_erfl.c: Likewise.
22622 * math/s_expm1l.c: Likewise.
22623 * math/s_log1pl.c: Likewise.
22624 * math/s_tanhl.c: Likewise.
22625 * misc/acct.c: Likewise.
22626 * misc/brk.c: Likewise.
22627 * misc/chflags.c: Likewise.
22628 * misc/chroot.c: Likewise.
22629 * misc/fchflags.c: Likewise.
22630 * misc/fgetxattr.c: Likewise.
22631 * misc/flistxattr.c: Likewise.
22632 * misc/fremovexattr.c: Likewise.
22633 * misc/fsetxattr.c: Likewise.
22634 * misc/fsync.c: Likewise.
22635 * misc/ftruncate.c: Likewise.
22636 * misc/futimes.c: Likewise.
22637 * misc/futimesat.c: Likewise.
22638 * misc/getdomain.c: Likewise.
22639 * misc/getdtsz.c: Likewise.
22640 * misc/gethostid.c: Likewise.
22641 * misc/gethostname.c: Likewise.
22642 * misc/getloadavg.c: Likewise.
22643 * misc/getpagesize.c: Likewise.
22644 * misc/getsysstats.c: Likewise.
22645 * misc/getxattr.c: Likewise.
22646 * misc/gtty.c: Likewise.
22647 * misc/ioctl.c: Likewise.
22648 * misc/lgetxattr.c: Likewise.
22649 * misc/listxattr.c: Likewise.
22650 * misc/llistxattr.c: Likewise.
22651 * misc/lremovexattr.c: Likewise.
22652 * misc/lsetxattr.c: Likewise.
22653 * misc/lutimes.c: Likewise.
22654 * misc/madvise.c: Likewise.
22655 * misc/mincore.c: Likewise.
22656 * misc/mlock.c: Likewise.
22657 * misc/mlockall.c: Likewise.
22658 * misc/mmap.c: Likewise.
22659 * misc/mprotect.c: Likewise.
22660 * misc/msync.c: Likewise.
22661 * misc/munlock.c: Likewise.
22662 * misc/munlockall.c: Likewise.
22663 * misc/munmap.c: Likewise.
22664 * misc/preadv.c: Likewise.
22665 * misc/preadv64.c: Likewise.
22666 * misc/ptrace.c: Likewise.
22667 * misc/pwritev.c: Likewise.
22668 * misc/pwritev64.c: Likewise.
22669 * misc/readv.c: Likewise.
22670 * misc/reboot.c: Likewise.
22671 * misc/remap_file_pages.c: Likewise.
22672 * misc/removexattr.c: Likewise.
22673 * misc/revoke.c: Likewise.
22674 * misc/select.c: Likewise.
22675 * misc/setdomain.c: Likewise.
22676 * misc/setegid.c: Likewise.
22677 * misc/seteuid.c: Likewise.
22678 * misc/sethostid.c: Likewise.
22679 * misc/sethostname.c: Likewise.
22680 * misc/setregid.c: Likewise.
22681 * misc/setreuid.c: Likewise.
22682 * misc/setxattr.c: Likewise.
22683 * misc/sstk.c: Likewise.
22684 * misc/stty.c: Likewise.
22685 * misc/swapoff.c: Likewise.
22686 * misc/swapon.c: Likewise.
22687 * misc/sync.c: Likewise.
22688 * misc/syncfs.c: Likewise.
22689 * misc/syscall.c: Likewise.
22690 * misc/truncate.c: Likewise.
22691 * misc/ualarm.c: Likewise.
22692 * misc/usleep.c: Likewise.
22693 * misc/ustat.c: Likewise.
22694 * misc/utimes.c: Likewise.
22695 * misc/vhangup.c: Likewise.
22696 * misc/writev.c: Likewise.
22697 * posix/_exit.c: Likewise.
22698 * posix/alarm.c: Likewise.
22699 * posix/execve.c: Likewise.
22700 * posix/fexecve.c: Likewise.
22701 * posix/fork.c: Likewise.
22702 * posix/fpathconf.c: Likewise.
22703 * posix/getaddrinfo.c: Likewise.
22704 * posix/getegid.c: Likewise.
22705 * posix/geteuid.c: Likewise.
22706 * posix/getgid.c: Likewise.
22707 * posix/getgroups.c: Likewise.
22708 * posix/getlogin.c: Likewise.
22709 * posix/getlogin_r.c: Likewise.
22710 * posix/getpgid.c: Likewise.
22711 * posix/getpid.c: Likewise.
22712 * posix/getppid.c: Likewise.
22713 * posix/getresgid.c: Likewise.
22714 * posix/getresuid.c: Likewise.
22715 * posix/getsid.c: Likewise.
22716 * posix/getuid.c: Likewise.
22717 * posix/glob64.c: Likewise.
22718 * posix/nanosleep.c: Likewise.
22719 * posix/pathconf.c: Likewise.
22720 * posix/pause.c: Likewise.
22721 * posix/posix_madvise.c: Likewise.
22722 * posix/pread.c: Likewise.
22723 * posix/pread64.c: Likewise.
22724 * posix/pwrite.c: Likewise.
22725 * posix/pwrite64.c: Likewise.
22726 * posix/sched_getaffinity.c: Likewise.
22727 * posix/sched_getp.c: Likewise.
22728 * posix/sched_gets.c: Likewise.
22729 * posix/sched_primax.c: Likewise.
22730 * posix/sched_primin.c: Likewise.
22731 * posix/sched_rr_gi.c: Likewise.
22732 * posix/sched_setaffinity.c: Likewise.
22733 * posix/sched_setp.c: Likewise.
22734 * posix/sched_sets.c: Likewise.
22735 * posix/sched_yield.c: Likewise.
22736 * posix/setgid.c: Likewise.
22737 * posix/setlogin.c: Likewise.
22738 * posix/setpgid.c: Likewise.
22739 * posix/setresgid.c: Likewise.
22740 * posix/setresuid.c: Likewise.
22741 * posix/setsid.c: Likewise.
22742 * posix/setuid.c: Likewise.
22743 * posix/sleep.c: Likewise.
22744 * posix/spawni.c: Likewise.
22745 * posix/sysconf.c: Likewise.
22746 * posix/times.c: Likewise.
22747 * posix/wait.c: Likewise.
22748 * posix/wait3.c: Likewise.
22749 * posix/wait4.c: Likewise.
22750 * posix/waitpid.c: Likewise.
22751 * resolv/gai_sigqueue.c: Likewise.
22752 * resource/getpriority.c: Likewise.
22753 * resource/getrlimit.c: Likewise.
22754 * resource/getrusage.c: Likewise.
22755 * resource/nice.c: Likewise.
22756 * resource/setpriority.c: Likewise.
22757 * resource/setrlimit.c: Likewise.
22758 * resource/ulimit.c: Likewise.
22759 * rt/aio_cancel.c: Likewise.
22760 * rt/aio_fsync.c: Likewise.
22761 * rt/aio_read.c: Likewise.
22762 * rt/aio_sigqueue.c: Likewise.
22763 * rt/aio_suspend.c: Likewise.
22764 * rt/aio_write.c: Likewise.
22765 * rt/clock_getres.c: Likewise.
22766 * rt/clock_gettime.c: Likewise.
22767 * rt/clock_nanosleep.c: Likewise.
22768 * rt/clock_settime.c: Likewise.
22769 * rt/lio_listio.c: Likewise.
22770 * rt/mq_close.c: Likewise.
22771 * rt/mq_getattr.c: Likewise.
22772 * rt/mq_notify.c: Likewise.
22773 * rt/mq_open.c: Likewise.
22774 * rt/mq_receive.c: Likewise.
22775 * rt/mq_send.c: Likewise.
22776 * rt/mq_setattr.c: Likewise.
22777 * rt/mq_timedreceive.c: Likewise.
22778 * rt/mq_timedsend.c: Likewise.
22779 * rt/mq_unlink.c: Likewise.
22780 * rt/shm_open.c: Likewise.
22781 * rt/shm_unlink.c: Likewise.
22782 * rt/timer_create.c: Likewise.
22783 * rt/timer_delete.c: Likewise.
22784 * rt/timer_getoverr.c: Likewise.
22785 * rt/timer_gettime.c: Likewise.
22786 * rt/timer_settime.c: Likewise.
22787 * setjmp/__longjmp.c: Likewise.
22788 * setjmp/setjmp.c: Likewise.
22789 * signal/kill.c: Likewise.
22790 * signal/killpg.c: Likewise.
22791 * signal/raise.c: Likewise.
22792 * signal/sigaction.c: Likewise.
22793 * signal/sigaltstack.c: Likewise.
22794 * signal/sigblock.c: Likewise.
22795 * signal/sigignore.c: Likewise.
22796 * signal/sigintr.c: Likewise.
22797 * signal/signal.c: Likewise.
22798 * signal/sigpause.c: Likewise.
22799 * signal/sigpending.c: Likewise.
22800 * signal/sigqueue.c: Likewise.
22801 * signal/sigreturn.c: Likewise.
22802 * signal/sigset.c: Likewise.
22803 * signal/sigsetmask.c: Likewise.
22804 * signal/sigstack.c: Likewise.
22805 * signal/sigsuspend.c: Likewise.
22806 * signal/sigtimedwait.c: Likewise.
22807 * signal/sigvec.c: Likewise.
22808 * signal/sigwait.c: Likewise.
22809 * signal/sigwaitinfo.c: Likewise.
22810 * signal/sysv_signal.c: Likewise.
22811 * socket/accept.c: Likewise.
22812 * socket/accept4.c: Likewise.
22813 * socket/bind.c: Likewise.
22814 * socket/connect.c: Likewise.
22815 * socket/getpeername.c: Likewise.
22816 * socket/getsockname.c: Likewise.
22817 * socket/getsockopt.c: Likewise.
22818 * socket/isfdtype.c: Likewise.
22819 * socket/listen.c: Likewise.
22820 * socket/recv.c: Likewise.
22821 * socket/recvfrom.c: Likewise.
22822 * socket/recvmsg.c: Likewise.
22823 * socket/send.c: Likewise.
22824 * socket/sendmsg.c: Likewise.
22825 * socket/sendto.c: Likewise.
22826 * socket/setsockopt.c: Likewise.
22827 * socket/shutdown.c: Likewise.
22828 * socket/sockatmark.c: Likewise.
22829 * socket/socket.c: Likewise.
22830 * socket/socketpair.c: Likewise.
22831 * stdio-common/ctermid.c: Likewise.
22832 * stdio-common/cuserid.c: Likewise.
22833 * stdio-common/remove.c: Likewise.
22834 * stdio-common/rename.c: Likewise.
22835 * stdio-common/renameat.c: Likewise.
22836 * stdio-common/tempname.c: Likewise.
22837 * stdlib/getcontext.c: Likewise.
22838 * stdlib/makecontext.c: Likewise.
22839 * stdlib/setcontext.c: Likewise.
22840 * stdlib/swapcontext.c: Likewise.
22841 * stdlib/system.c: Likewise.
22842 * streams/fattach.c: Likewise.
22843 * streams/fdetach.c: Likewise.
22844 * streams/getmsg.c: Likewise.
22845 * streams/getpmsg.c: Likewise.
22846 * streams/putmsg.c: Likewise.
22847 * streams/putpmsg.c: Likewise.
22848 * sysdeps/unix/bsd/getpt.c: Likewise.
22849 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22850 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22851 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22853 Likewise.
22854 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22855 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22856 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22857 * sysvipc/msgctl.c: Likewise.
22858 * sysvipc/msgget.c: Likewise.
22859 * sysvipc/msgrcv.c: Likewise.
22860 * sysvipc/msgsnd.c: Likewise.
22861 * sysvipc/semctl.c: Likewise.
22862 * sysvipc/semget.c: Likewise.
22863 * sysvipc/semop.c: Likewise.
22864 * sysvipc/semtimedop.c: Likewise.
22865 * sysvipc/shmat.c: Likewise.
22866 * sysvipc/shmctl.c: Likewise.
22867 * sysvipc/shmdt.c: Likewise.
22868 * sysvipc/shmget.c: Likewise.
22869 * termios/tcdrain.c: Likewise.
22870 * termios/tcflow.c: Likewise.
22871 * termios/tcflush.c: Likewise.
22872 * termios/tcgetattr.c: Likewise.
22873 * termios/tcgetpgrp.c: Likewise.
22874 * termios/tcsendbrk.c: Likewise.
22875 * termios/tcsetattr.c: Likewise.
22876 * termios/tcsetpgrp.c: Likewise.
22877 * time/adjtime.c: Likewise.
22878 * time/clock.c: Likewise.
22879 * time/getitimer.c: Likewise.
22880 * time/gettimeofday.c: Likewise.
22881 * time/setitimer.c: Likewise.
22882 * time/settimeofday.c: Likewise.
22883 * time/stime.c: Likewise.
22884 * time/time.c: Likewise.
22885
228862012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22887
a20492cf
PT
22888 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22889 /usr/old/bin.
22890
72e182e3
PT
22891 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22892 instead of spaces.
22893 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22894
fbeafede
JM
228952012-11-03 Joseph Myers <joseph@codesourcery.com>
22896
5b5b04d6
JM
22897 [BZ #14796]
22898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22899 FE_TONEAREST before applying Dekker multiplication and Knuth
22900 addition. Clear inexact exceptions and check for exact zero
22901 results afterwards.
22902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22903 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22904 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22905 * math/libm-test.inc (fma_test): Add more tests.
22906 (fma_test_towardzero): Likewise.
22907 (fma_test_downward): Likewise.
22908 (fma_test_upward): Likewise.
22909 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22910 function.
22911 (libc_fesetround): New macro.
22912 (libc_fesetroundf): Likewise.
22913 (libc_fesetroundl): Likewise.
22914 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22915 function.
22916 (libc_fesetround_387): Likewise.
22917 (libc_fesetroundf): New macro.
22918 (libc_fesetround): Likewise.
22919 (libc_fesetroundl): Likewise.
22920 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22921 function.
22922 (libc_fesetroundf): New macro.
22923 (libc_fesetround): Likewise.
22924 (libc_fesetroundl): Likewise.
22925 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22926 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22927 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22928 libm_hidden_ver.
22929 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22930 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22931 libm_hidden_def.
22932 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22933 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22934 libm_hidden_ver.
22935 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22936 libm_hidden_def.
22937
fbeafede
JM
22938 [BZ #3439]
22939 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22940 integer constant usable in #if and use that to give value to enum
22941 constant.
22942 (FE_DIVBYZERO): Likewise.
22943 (FE_UNDERFLOW): Likewise.
22944 (FE_OVERFLOW): Likewise.
22945 (FE_INVALID): Likewise.
22946 (FE_INVALID_SNAN): Likewise.
22947 (FE_INVALID_ISI): Likewise.
22948 (FE_INVALID_IDI): Likewise.
22949 (FE_INVALID_ZDZ): Likewise.
22950 (FE_INVALID_IMZ): Likewise.
22951 (FE_INVALID_COMPARE): Likewise.
22952 (FE_INVALID_SOFTWARE): Likewise.
22953 (FE_INVALID_SQRT): Likewise.
22954 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22955 (FE_TONEAREST): Likewise.
22956 (FE_TOWARDZERO): Likewise.
22957 (FE_UPWARD): Likewise.
22958 (FE_DOWNWARD): Likewise.
22959 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22960 (FE_DIVBYZERO): Likewise.
22961 (FE_OVERFLOW): Likewise.
22962 (FE_UNDERFLOW): Likewise.
22963 (FE_INEXACT): Likewise.
22964 (FE_TONEAREST): Likewise.
22965 (FE_DOWNWARD): Likewise.
22966 (FE_UPWARD): Likewise.
22967 (FE_TOWARDZERO): Likewise.
22968 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22969 (FE_UNDERFLOW): Likewise.
22970 (FE_OVERFLOW): Likewise.
22971 (FE_DIVBYZERO): Likewise.
22972 (FE_INVALID): Likewise.
22973 (FE_TONEAREST): Likewise.
22974 (FE_TOWARDZERO): Likewise.
22975 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22976 (FE_OVERFLOW): Likewise.
22977 (FE_UNDERFLOW): Likewise.
22978 (FE_DIVBYZERO): Likewise.
22979 (FE_INEXACT): Likewise.
22980 (FE_TONEAREST): Likewise.
22981 (FE_TOWARDZERO): Likewise.
22982 (FE_UPWARD): Likewise.
22983 (FE_DOWNWARD): Likewise.
22984 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22985 (FE_DIVBYZERO): Likewise.
22986 (FE_OVERFLOW): Likewise.
22987 (FE_UNDERFLOW): Likewise.
22988 (FE_INEXACT): Likewise.
22989 (FE_TONEAREST): Likewise.
22990 (FE_DOWNWARD): Likewise.
22991 (FE_UPWARD): Likewise.
22992 (FE_TOWARDZERO): Likewise.
22993
105ca950
CM
229942012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22995
22996 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22997
a542b389
AS
229982012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22999
23000 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23001 commands. Quote $PWD.
23002 (blacklist_exports): Don't use remove_newlines. Replace "declare
23003 -x" by "export".
23004 (remove_newlines): Remove.
23005
f62c8abc
L
230062012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23007
23008 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23009 * stdlib/stdlib.h (atof): Moved to ...
23010 * include/bits/stdlib-float.h: Here. New file.
23011 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23012 * stdlib/bits/stdlib-float.h: New file.
23013 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23014 -mno-sse -mno-mmx.
23015 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23016 <xmmintrin.h>.
23017
0155d5b2
JM
230182012-11-02 Joseph Myers <joseph@codesourcery.com>
23019
a68d0680
JM
23020 * conform/conformtest.pl (@headers): Add fenv.h.
23021 * conform/data/fenv.h-data: New file.
23022 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23023 include of <math/fenv.h>.
23024
caf7f573
JM
23025 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23026 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23027 && !UNIX98]. Enables tests for XOPEN2K8.
23028 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23029 POSIX2008]: Likewise.
23030
6c073ad6
JM
23031 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23032 (struct rusage): Do not expect type or its members.
23033
0155d5b2
JM
23034 [BZ #3439]
23035 * math/math.h (FP_NAN): Define macro to integer constant usable in
23036 #if and use that to give value to enum constant.
23037 (FP_INFINITE): Likewise.
23038 (FP_ZERO): Likewise.
23039 (FP_SUBNORMAL): Likewise.
23040 (FP_NORMAL): Likewise.
23041
b5dcacb4
AS
230422012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23043
23044 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23045 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23046 arguments.
23047
f7934be8
RM
230482012-11-02 Roland McGrath <roland@hack.frob.com>
23049
23050 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23051 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23052 autoconf-time if not.
23053 * configure.in: Remove AC_PREREQ.
23054
d7d08bde
TMQMF
230552012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23056
23057 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23058 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23059 of the internal implementation.
23060
dcdae19a
JM
230612012-11-02 Joseph Myers <joseph@codesourcery.com>
23062
23063 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23064 except include of <misc/sys/syslog.h>.
23065
d6cffd3e
AS
230662012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23067
23068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23069 function returns with a NULL context exit with zero.
23070
b3563932
TMQMF
230712012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23072
23073 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23074
b288a93d
L
230752012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23076
23077 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23078 (run_program_cmd): This.
23079 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23080 (tst_langinfo): New variable. Use it.
23081
a2421a68
SAS
230822012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23083
23084 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23085 floating point opcodes.
23086
6f796e1b
TS
230872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23088
7402596b
TS
23089 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23090 variable.
23091
d0d4f868
TS
23092 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23093
6f796e1b
TS
23094 * sysdeps/mach/hurd/powerpc: Remove directory.
23095 * sysdeps/mach/powerpc: Likewise.
23096
4da224a2
AS
230972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23098
23099 * scripts/check-local-headers.sh: Ignore c++ headers.
23100
341dd673
TS
231012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23102
23103 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23104 __libc_cleanup_region_start argument.
23105
473611b2
JM
231062012-11-01 Joseph Myers <joseph@codesourcery.com>
23107
23108 [BZ #14784]
23109 [BZ #14785]
23110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23111 x * y using scaling, not as x * y + z.
23112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23113 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23114 * math/libm-test.inc (fma_test): Add more tests.
23115 (fma_test_towardzero): Likewise.
23116 (fma_test_downward): Likewise.
23117 (fma_test_upward): Likewise.
23118
4078da3d
TS
231192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23120
23121 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23122
903252aa
JM
231232012-10-31 Joseph Myers <joseph@codesourcery.com>
23124
23125 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23126 New variable.
23127
cbc818d0
TS
231282012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23129
23130 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23131
5a03cb1e
AS
231322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23133
23134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23135 Fix sort order.
23136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23137 Likewise.
23138
90aff2ff
TMQMF
231392012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23140
23141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23142 Fix the order of the list for glibc 2.17.
23143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23144 Likewise.
23145
1818fcb7
AS
231462012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23147
23148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23149
ef82f4da
JM
231502012-10-31 Joseph Myers <joseph@codesourcery.com>
23151
16a0e2ec
JM
23152 [BZ #14610]
23153 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23154 for low part of x being zero before using __atanl (y).
23155 * math/libm-test.inc (atan2_test): Add another test.
23156
0eb69512
JM
23157 * manual/install.texi (Configuring and compiling): Document
23158 general use of test-wrapper and test-wrapper-env.
23159 * INSTALL: Regenerated.
23160
ef82f4da
JM
23161 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23162 (__fma): Do not extract and scale down low bits on after-rounding
23163 systems when result rounded to normal precision would have normal
23164 exponent.
23165 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23166 (__fmal): Do not extract and scale down low bits on after-rounding
23167 systems when result rounded to normal precision would have normal
23168 exponent.
23169 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23170 (__fmal): Do not extract and scale down low bits on after-rounding
23171 systems when result rounded to normal precision would have normal
23172 exponent.
23173 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23174 macro.
23175 (fma_test): Add more tests.
23176 (fma_test_towardzero): Likewise.
23177 (fma_test_downward): Likewise.
23178 (fma_test_upward): Likewise.
23179
954ef0d9
L
231802012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23181
23182 * sysdeps/i386/tininess.h: Renamed to ...
23183 * sysdeps/x86/tininess.h: This.
23184 * sysdeps/x86_64/tininess.h: Removed.
23185
df61ffb2
JM
231862012-10-30 Joseph Myers <joseph@codesourcery.com>
23187
23188 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23189 input. Use $(build-program-cmd).
23190 ($(objpfx)tst-array1-static.out): Likewise.
23191 ($(objpfx)tst-array2.out): Likewise.
23192 ($(objpfx)tst-array3.out): Likewise.
23193 ($(objpfx)tst-array4.out): Likewise.
23194 ($(objpfx)tst-array5.out): Likewise.
23195 ($(objpfx)tst-array5-static.out): Likewise.
23196
01767843
CM
231972012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23198
47cc1490
CM
23199 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23200 if defined.
23201
01767843
CM
23202 * nss/nsswitch.h (nss_interface_function): Provide new
23203 macro for use with NSS functions.
23204 * grp/initgroups.c: Use new macro.
23205 * nss/getXXbyYY.c: Likewise.
23206 * nss/getXXbyYY_r.c: Likewise.
23207 * nss/getXXent.c: Likewise.
23208 * nss/getXXent_r.c: Likewise.
23209 * sysdeps/posix/getaddrinfo.c: Likewise.
23210
8321aa97
AJ
232112012-10-30 Andreas Jaeger <aj@suse.de>
23212
23213 * po/ru.po: Update Russion translation from translation project.
23214
2a27fd6d
JM
232152012-10-30 Joseph Myers <joseph@codesourcery.com>
23216
8627a232
JM
23217 [BZ #14152]
23218 [BZ #14783]
23219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23220 result and shift together with sticky bit instead of replicating
23221 round-to-nearest rounding.
23222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23223 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23224 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23225 missing underflow exceptions.
23226 (fma_test_towardzero): Add more tests.
23227 (fma_test_downward): Likewise.
23228 (fma_test_upward): Likewise.
23229
2a27fd6d
JM
23230 [BZ #14047]
23231 * sysdeps/generic/tininess.h: New file.
23232 * sysdeps/i386/tininess.h: Likewise.
23233 * sysdeps/sh/tininess.h: Likewise.
23234 * sysdeps/x86_64/tininess.h: Likewise.
23235 * stdlib/tst-strtod-underflow.c: Likewise.
23236 * stdlib/tst-tininess.c: Likewise.
23237 * stdlib/strtod_l.c: Include <tininess.h>.
23238 (round_and_return): Do not set errno for exact underflow cases.
23239 Force an underflow exception when setting errno for underflow.
23240 Determine underflow based on rounding to normal precision if
23241 TININESS_AFTER_ROUNDING.
23242 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23243 ERANGE for exact underflow cases.
23244 * stdlib/Makefile (tests): Add tst-tininess and
23245 tst-strtod-underflow.
23246 ($(objpfx)tst-tininess): Use $(link-libm).
23247 ($(objpfx)tst-strtod-underflow): Likewise.
23248
e7170363
AJ
232492012-10-30 Andreas Jaeger <aj@suse.de>
23250
e5088dc6
AJ
23251 [BZ#14767]
23252 * elf/Makefile (tests): Remove conditional for have-initfini-array
23253 since this is now always required and the variable does not exist
23254 anymore.
23255 (tests-static): Likewise.
23256 (modules-names): Likewise.
23257
e7170363 23258 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
23259
23260 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23261 merged with constructor/destructor.
23262 (init_array): Likewise.
23263 * elf/tst-array2dep.c (fini_array): Likewise.
23264 (init_array): Likewise.
23265
60457d8a
MF
232662012-10-29 Mike Frysinger <vapier@gentoo.org>
23267
23268 * manual/message.texi: Delete @cartouche tags.
23269
8bece752
PT
232702012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23271
94ce799f
PT
23272 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23273 EOPNOTSUPP.
23274 * sysdeps/mach/hurd/fsync.c: Likewise.
23275
8bece752
PT
23276 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23277 [_POSIX_REALTIME_SIGNALS]: Change condition to
23278 [_POSIX_REALTIME_SIGNALS > 0].
23279
86ebe6b1
AJ
232802012-10-27 Andreas Jaeger <aj@suse.de>
23281
23282 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23283 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23284 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23285 [__WORDSIZE != 64]: Likewise.
23286
54399c08
L
232872012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23288
23289 * iconvdata/tst-table.sh: Remove ${SHELL}.
23290 * iconvdata/tst-tables.sh: Likewise.
23291
e2211bed
DM
232922012-10-25 David S. Miller <davem@davemloft.net>
23293
23294 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23295 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23296 of strtoull.
23297
f303f97c
DM
23298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23299 ifunc-impl-list.c
23300 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23301 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23302 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23303 file.
23304
1e9d84cd
RM
233052012-10-25 Roland McGrath <roland@hack.frob.com>
23306
23307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23308 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23309 __getdirentries.
23310
df381762
JM
233112012-10-25 Joseph Myers <joseph@codesourcery.com>
23312 Jim Blandy <jimb@codesourcery.com>
23313
23314 * scripts/cross-test-ssh.sh: New file.
23315 * manual/install.texi (Configuring and compiling): Document use of
23316 cross-test-ssh.sh.
23317 * INSTALL: Regenerated.
23318
bff64913
PT
233192012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23320
23321 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23322 EOPNOTSUPP.
23323
25fe8932
JM
233242012-10-25 Joseph Myers <joseph@codesourcery.com>
23325
23326 * Makeconfig (run-program-prefix): Fix comment.
23327
cc1290d0
JM
233282012-10-24 Joseph Myers <joseph@codesourcery.com>
23329 Jim Blandy <jimb@codesourcery.com>
23330
23331 * Makeconfig (test-wrapper): New variable,
23332 (test-wrapper-env): Likewise.
23333 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23334 (run-built-tests): Define to yes.
23335 (run-program-prefix): Use $(test-wrapper).
23336 (built-program-cmd): Likewise.
23337 * Rules (make-test-out): Use $(test-wrapper-env) and
23338 $(host-built-program-cmd).
23339 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23340 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23341 tst-pathopt.sh.
23342 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23343 $(test-wrapper-env) to tst-rtld-load-self.sh.
23344 ($(objpfx)order2.out): Use $(test-wrapper).
23345 ($(objpfx)tst-initorder.out): Likewise.
23346 ($(objpfx)tst-initorder2.out): Likewise.
23347 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23348 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23349 (test_wrapper_env): New variable. Use it to run ld.so.
23350 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23351 Use it to run ld.so.
23352 (test_wrapper_env): Likewise.
23353 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23354 $(test-wrapper) to run-iconv-test.sh.
23355 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23356 (ICONV): Use $test_wrapper.
23357 * posix/Makefile ($(objpfx)globtest.out): Pass
23358 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23359 globtest.sh, not $(run-program-prefix).
23360 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23361 (test_wrapper): Likewise.
23362 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23363 set together with run_via_rtld_prefix.
23364 (run_program_prefix): Define in terms of test_wrapper and
23365 run_via_rtld_prefix.
23366
6e6249d0
RM
233672012-10-24 Roland McGrath <roland@hack.frob.com>
23368
23369 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23370 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23371 Targets removed.
23372
23373 [BZ #14743]
23374 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23375 Declare __clock_getres, __clock_gettime, __clock_settime,
23376 __clock_nanosleep, and __clock_getcpuclockid.
23377 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23378 Remove librt_hidden_def (clock_gettime).
23379 * sysdeps/unix/clock_gettime.c: Likewise.
23380 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23381 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23382 * rt/clock_getres.c: Define __clock_getres as an alias.
23383 * sysdeps/posix/clock_getres.c: Likewise.
23384 * rt/clock_settime.c: Define __clock_settime as an alias.
23385 * sysdeps/unix/clock_settime.c: Likewise.
23386 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23387 * sysdeps/unix/clock_nanosleep.c: Likewise.
23388 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23389 * rt/clock-compat.c: New file.
23390 * rt/Makefile (librt-routines): Add clock-compat and move
23391 $(clock-routines) to ...
23392 (routines): ... here, new variable.
23393 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23394 Don't add get_clockfreq here.
23395 * rt/Versions (libc: GLIBC_2.17): New version set.
23396 Add clock_* symbols here.
23397 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23398 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23399 (GLIBC_2.17): Add clock_* symbols.
23400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23402 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23404 Likewise.
23405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23406 Likewise.
23407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23411 * NEWS: Mention the move.
23412
23413 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23414 Use __open, __read, __close rather than their public counterparts.
23415 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23416 (__get_clockfreq_via_cpuinfo): Likewise.
23417 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23418 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23419
23420 * config.h.in (HAVE_IFUNC): New #undef.
23421 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23422 was successful.
23423 * configure: Regenerated.
23424
0cae3f4b
MF
234252012-10-24 Mike Frysinger <vapier@gentoo.org>
23426
23427 * configure.in: Move READELF check to start of file.
23428 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23429 libc_cv_asm_gnu_indirect_function in the process.
23430 * configure: Regenerated.
23431
8175a253
MF
234322012-10-24 Mike Frysinger <vapier@gentoo.org>
23433
23434 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23435 send the output to /dev/null.
23436 (libc_cv_cc_with_libunwind): Likewise.
23437 (libc_cv_as_noexecstack): Likewise.
23438 * configure: Regenerate.
23439
0708a7d1
JM
234402012-10-24 Joseph Myers <joseph@codesourcery.com>
23441
10b40d85
JM
23442 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23443
0708a7d1
JM
23444 * posix/globtest.sh (TMPDIR): Do not set.
23445 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23446 (testout): Likewise.
23447
9fddec1a
AJ
234482012-10-24 Andreas Jaeger <aj@suse.de>
23449
3a8db22f
AJ
23450 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23451 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23452 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23453 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23454 posix_fadvise64, posix_fallocate64.
23455
9fddec1a
AJ
23456 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23457 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23458 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23459 Likewise.
23460 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23461 Likewise.
23462 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23463
23464 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23465 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23466 <bits/fcntl-linux.h>.
23467 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23468
23469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23470 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23471 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23472 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23473 [__WORDSIZE != 64]: Likewise.
23474
ebfd1bbd
JM
234752012-10-23 Joseph Myers <joseph@codesourcery.com>
23476
03ac099f
JM
23477 * Makeconfig (run-built-tests): New variable.
23478 * Rules [$(cross-compiling) = yes]: Change condition to
23479 [$(run-built-tests) = no].
23480 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23481 to [$(run-built-tests) = yes].
23482 * elf/Makefile [$(cross-compiling) = no]: Likewise
23483 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23484 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23485 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23486 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23487 * io/Makefile [$(cross-compiling) = no]: Likewise.
23488 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23489 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23490 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23491 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23492 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23493 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23494 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23495 * string/Makefile [$(cross-compiling) = no]: Likewise.
23496
ebfd1bbd
JM
23497 * posix/Makefile ($(objpfx)globtest.out): Pass
23498 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23499 $(rtld-installed-name).
23500 * posix/globtest.sh (elf_objpfx): Remove variable.
23501 (rtld_installed_name): Likewise.
23502 (library_path): Likewise.
23503 (run_program_prefix): New variable. Use for running globtest
23504 binary.
23505
166bca24
JB
235062012-10-23 Jim Blandy <jimb@codesourcery.com>
23507 Joseph Myers <joseph@codesourcery.com>
23508
23509 * Makeconfig (host-built-program-cmd): New variable.
23510 * elf/Makefile (tst-stackguard1-ARGS): Use
23511 $(host-built-program-cmd).
23512 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23513 (tst-spawn-ARGS): Likewise.
23514 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23515
88866099
JM
235162012-10-23 Joseph Myers <joseph@codesourcery.com>
23517 Jim Blandy <jimb@codesourcery.com>
23518
23519 * Makeconfig (run-via-rtld-prefix): New variable.
23520 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23521 (built-program-cmd): Likewise.
23522
b4b4c296
AJ
235232012-10-22 Andreas Jaeger <aj@suse.de>
23524
23525 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23526 __O_RSYNC if it exists, otherwise to O_SYNC.
23527
6fb54a22
JB
235282012-10-22 Jim Blandy <jimb@codesourcery.com>
23529 Joseph Myers <joseph@codesourcery.com>
23530
23531 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23532 /dev/null.
23533 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23534 from /dev/null
23535 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23536 /dev/null.
23537
481b90b9
AJ
235382012-10-22 Andreas Jaeger <aj@suse.de>
23539
2a0e2669
AJ
23540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23541 Define always.
23542 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23543
76e38f9a
AJ
23544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23545 bits/fcntl-linux.h.
23546
7cd37b43
AJ
23547 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23548 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23549
481b90b9
AJ
23550 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23551 to __O_LARGEFILE.
23552 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23553 to __O_LARGEFILE.
23554
aba75984
JB
235552012-10-21 Jim Blandy <jimb@codesourcery.com>
23556 Joseph Myers <joseph@codesourcery.com>
23557
23558 * config.make.in (NM): New variable.
23559
88d4247f
AJ
235602012-10-21 Andreas Jaeger <aj@suse.de>
23561
23562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23563 definitions and declarations that are provided by
23564 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23565
f2eed205
L
235662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23567
23568 [BZ #14683]
23569 * elf/Makefile (tests-static): Add tst-leaks1-static.
23570 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23571 ($(objpfx)tst-leaks1-static): New rule.
23572 ($(objpfx)tst-leaks1-static-mem): Likewise.
23573 (tst-leaks1-static-ENV): New macro.
23574 * elf/dl-open.c (dl_open_worker): Check the main application
23575 only if SHARED is defined.
23576 * elf/tst-leaks1-static.c: New file.
23577
335e6931
AJ
235782012-10-20 Andreas Jaeger <aj@suse.de>
23579
23580 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23581 generic values for Linux.
23582 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23583 and declarations that are provided by <bits/fcntl-linux.h> and
23584 include <bits/fcntl-linux.h>.
23585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23587
ac5c94d3
RM
235882012-10-20 Roland McGrath <roland@hack.frob.com>
23589
23590 * io/fcntl.h: Move include of <bits/types.h> to the top and
23591 include it unconditionally.
23592
de54b33a
L
235932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23594
228cfb01
L
23595 * wcsmbs/Makefile (tests-ifunc): New variable.
23596 (tests): Add $(tests-ifunc).
23597 * wcsmbs/test-wcschr-ifunc.c: New file.
23598 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23599 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23600 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23601 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23602 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23603
69f07e5f
L
23604 * string/Makefile (tests-ifunc): New variable.
23605 (tests): Add $(tests-ifunc).
23606 * string/test-memccpy.c (TEST_NAME): New macro.
23607 * string/test-memchr.c (TEST_NAME): Likewise.
23608 * string/test-memcmp.c (TEST_NAME): Likewise.
23609 * string/test-memcpy.c (TEST_NAME): Likewise.
23610 * string/test-memmem.c (TEST_NAME): Likewise.
23611 * string/test-memmove.c (TEST_NAME): Likewise.
23612 * string/test-memset.c (TEST_NAME): Likewise.
23613 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23614 * string/test-stpcpy.c (TEST_NAME): Likewise.
23615 * string/test-stpncpy.c (TEST_NAME): Likewise.
23616 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23617 * string/test-strcasestr.c (TEST_NAME): Likewise.
23618 * string/test-strcat.c (TEST_NAME): Likewise.
23619 * string/test-strchr.c (TEST_NAME): Likewise.
23620 * string/test-strcmp.c(TEST_NAME): Likewise.
23621 * string/test-strcpy.c (TEST_NAME): Likewise.
23622 * string/test-strcspn.c (TEST_NAME): Likewise.
23623 * string/test-strlen.c (TEST_NAME): Likewise.
23624 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23625 * string/test-strncmp.c (TEST_NAME): Likewise.
23626 * string/test-strncpy.c (TEST_NAME): Likewise.
23627 * string/test-strnlen.c (TEST_NAME): Likewise.
23628 * string/test-strpbrk.c (TEST_NAME): Likewise.
23629 * string/test-strrchr.c (TEST_NAME): Likewise.
23630 * string/test-strspn.c (TEST_NAME): Likewise.
23631 * string/test-strstr.c (TEST_NAME): Likewise.
23632 * string/test-bcopy-ifunc.c: New file.
23633 * string/test-bzero-ifunc.c: Likewise.
23634 * string/test-memccpy-ifunc.c: Likewise.
23635 * string/test-memchr-ifunc.c: Likewise.
23636 * string/test-memcmp-ifunc.c: Likewise.
23637 * string/test-memcpy-ifunc.c: Likewise.
23638 * string/test-memmem-ifunc.c: Likewise.
23639 * string/test-memmove-ifunc.c: Likewise.
23640 * string/test-mempcpy-ifunc.c: Likewise.
23641 * string/test-memset-ifunc.c: Likewise.
23642 * string/test-rawmemchr-ifunc.c: Likewise.
23643 * string/test-stpcpy-ifunc.c: Likewise.
23644 * string/test-stpncpy-ifunc.c: Likewise.
23645 * string/test-strcasecmp-ifunc.c: Likewise.
23646 * string/test-strcasestr-ifunc.c: Likewise.
23647 * string/test-strcat-ifunc.c: Likewise.
23648 * string/test-strchr-ifunc.c: Likewise.
23649 * string/test-strchrnul-ifunc.c: Likewise.
23650 * string/test-strcmp-ifunc.c: Likewise.
23651 * string/test-strcpy-ifunc.c: Likewise.
23652 * string/test-strcspn-ifunc.c: Likewise.
23653 * string/test-strlen-ifunc.c: Likewise.
23654 * string/test-strncasecmp-ifunc.c: Likewise.
23655 * string/test-strncat-ifunc.c: Likewise.
23656 * string/test-strncmp-ifunc.c: Likewise.
23657 * string/test-strncpy-ifunc.c: Likewise.
23658 * string/test-strnlen-ifunc.c: Likewise.
23659 * string/test-strpbrk-ifunc.c: Likewise.
23660 * string/test-strrchr-ifunc.c: Likewise.
23661 * string/test-strspn-ifunc.c: Likewise.
23662 * string/test-strstr-ifunc.c: Likewise.
23663
de54b33a
L
23664 * debug/Makefile (tests-ifunc): New variable.
23665 (tests): Add $(tests-ifunc).
23666 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23667 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23668 * debug/test-stpcpy_chk-ifunc.c: New file.
23669 * debug/test-strcpy_chk-ifunc.c: Likewise.
23670
88481c16
SP
236712012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23672
23673 [BZ #13601]
23674 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23675 header is not read in.
23676
135948bd
JM
236772012-10-19 Joseph Myers <joseph@codesourcery.com>
23678
89f1c388
JM
23679 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23680 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23681 directly. Pass built executable to script as
23682 $(built-program-cmd).
23683 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23684 $testprogram without using LD_LIBRARY_PATH and $ldso.
23685
e40a0d21
JM
23686 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23687 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23688 $(rtld-installed-name).
23689 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23690 (rtld_installed_name): Likewise.
23691 (library_path): Likewise.
23692 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23693 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23694 $(run-program-prefix) to tst-tables.sh.
23695 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23696 it to run tst-table-from and tst-table-to.
23697 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23698 Pass it to tst-table.sh.
23699 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23700 $(run-program-prefix) to tst-gettext.sh.
23701 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23702 tst-translit.sh.
23703 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23704 tst-gettext2.sh.
23705 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23706 to run tst-gettext.
23707 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23708 to run tst-gettext2.
23709 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23710 to run tst-translit.
23711 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23712 $(run-program-prefix) to tst-mtrace.sh.
23713 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23714 to run tst-mtrace.
23715 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23716 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23717 $(rtld-installed-name).
23718 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23719 (rtld_installed_name): Likewise.
23720 (run_program_prefix): New variable. Use it to run wordexp-test.
23721
728e272a
JM
23722 * Makeconfig (ARCH): Remove all definitions.
23723 (machine): Likewise.
23724 [ARCH]: Remove conditional code.
23725 [!objdir]: Give error.
23726 [!objdir] (objpfx): Remove.
23727 [!objdir] (common-objpfx): Likewise.
23728 [!objdir] (common-objdir): Likewise.
23729 * configure.in (config_makefile): Remove. Hardcode Makefile in
23730 AC_CONFIG_FILES call.
23731 * configure: Regenerated.
23732
d528cdcf
JM
23733 [BZ #13888]
23734 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23735 or TMPDIR.
23736 (testout): Likewise.
23737
135948bd
JM
23738 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23739 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23740 $(rtld-installed-name).
23741 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23742 (rtld_installed_name): Likwise.
23743 (runit): Remove function.
23744 (run_getconf): New variable, Use it for running getconf binary.
23745
38c78296
L
237462012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23747
23748 [BZ #14716]
23749 * string/test-memmem.c (check_result): New function.
23750 (do_one_test): Use it.
23751 (check1): New function.
23752 (test_main): Use it.
23753
d077f65f
MT
237542012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23755
23756 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23757
ced52c71
JM
237582012-10-18 Joseph Myers <joseph@codesourcery.com>
23759
23760 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23761 (_G_LSEEK64): Likewise.
23762 (_G_MMAP64): Likewise.
23763 (_G_FSTAT64): Likewise.
23764 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23765 (_G_LSEEK64): Likewise.
23766 (_G_MMAP64): Likewise.
23767 (_G_FSTAT64): Likewise.
23768 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23769 unconditional. Call __mmap64 directly.
23770 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23771 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23772 __lseek64 directly.
23773 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23774 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23775 __mmap64 directly.
23776 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23777 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23778 __lseek64 directly.
23779 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23780 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23781 __lseek64 directly.
23782 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23783 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23784 __lseek64 directly.
23785 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23786 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23787 __fxstat64 directly.
23788 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23789 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23790 unconditional.
23791 (freopen64) [!_G_OPEN64]: Remove conditional code.
23792 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23793 unconditional.
23794 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23795 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23796 unconditional.
23797 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23798 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23799 unconditional.
23800 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23801 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23802 unconditional.
23803 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23804 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23805 unconditional.
23806 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23807 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23808 unconditional.
23809 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23810 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23811 unconditional.
23812 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23813
b741de23
SP
238142012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23815
23816 [BZ #12140]
23817 * manual/memory.texi (Malloc Tunable Parameters): Add note
23818 about free list pointers overwriting some perturb bytes.
23819 Wording suggested by Roland McGrath.
23820
f9b9d9c9
JM
238212012-10-17 Joseph Myers <joseph@codesourcery.com>
23822
23823 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23824 (lgamma_test): Likewise.
23825 (tgamma_test): Likewise.
23826
172a631a
FW
238272012-10-16 Florian Weimer <fweimer@redhat.com>
23828
23829 [BZ #14700]
23830 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23831 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23832
e9f37252
MK
238332012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23834
23835 * NEWS: Mention BZ #14716.
23836 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23837 when removing AVAILABLE1_USES_J macro.
23838
d394eb74
L
238392012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23840
23841 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23842 (__bswap_64): __uint64_t for unsigned 64-bit int.
23843
ca38dc17
AS
238442012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23845
23846 * include/string.h (memmem): Declare libc hidden alias.
23847 * string/memmem.c (memmem): Define libc hidden alias.
23848 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23849 __read, __close instead of open, read, close.
23850
9a387d1f
L
238512012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23852
ac49ecaf
L
23853 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23854 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23855 global and hidden.
23856 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23857 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23858 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23859 Likewise.
23860 (__rawmemchr_sse2): Likewise.
23861 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23862 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23863 (__strchr_sse2): Likewise.
23864 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23865 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23866 (__strcasecmp_sse2): Likewise.
23867 (__strncasecmp_sse2): Likewise.
23868 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23869 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23870 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23871 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23872 (__strrchr_sse2): Likewise.
23873 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23874 ifunc-impl-list.c.
23875 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23876 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23877 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23878 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23879 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23880 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23881 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23882 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23883 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23884 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23885 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23886 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23887 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23888 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23889 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23890 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23891 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23892 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23893 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23894 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23895 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23896 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23897 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23898 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23899 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23900 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23901 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23902 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23903 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23904 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23905
b090e8ea
L
23906 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23907 global and hidden.
23908 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23909 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23910 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23911 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23912 Likewise.
23913 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23914 Likewise.
23915 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23916 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23917 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23918 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23919 ifunc-impl-list.c.
23920 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23921 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23922 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23923 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23924 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23925 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23926 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23927 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23928 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23929 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23930 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23931 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23932 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23933 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23934 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23935 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23936 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23937 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23938 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23939 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23940 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23941 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23942 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23943 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23944 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23945 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23946 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23947 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23948 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23949 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23950 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23951 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23952 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23953 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23954 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23955 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23956 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23957 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23958 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23959 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23960 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23961
11dd4af6
L
23962 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23963 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23964 * include/ifunc-impl-list.h: New file.
23965 * misc/ifunc-impl-list.c: Likewise.
23966 * misc/Makefile (routines): Add ifunc-impl-list.
23967 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23968 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23969 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23970 TEST_NAME]: New variables.
11dd4af6
L
23971 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23972 are defined.
23973 (test_init): Call __libc_ifunc_impl_list to initialize
23974 func_list if TEST_IFUNC and TEST_NAME are defined.
23975
9a387d1f
L
23976 * string/Makefile (strop-tests): Add bcopy and bzero.
23977 * string/test-bcopy.c: New file.
23978 * string/test-bzero.c: Likewise.
23979 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23980 defined.
23981 * string/test-memset.c: Support bzero test if TEST_BZERO is
23982 defined.
23983 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23984 __libc_memmove.
23985 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23986 __libc_memset.
23987 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23988 of memset.
23989
472371b9
JM
239902012-10-10 Joseph Myers <joseph@codesourcery.com>
23991
1e4a9536
JM
23992 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23993 * configure: Regenerated.
23994
d173d12e
JM
23995 * Makeconfig (+link-static-before-libc): Don't include
23996 $(link-static-libc).
23997
472371b9
JM
23998 * libio/libio.h (_IO_pos_t): Remove.
23999
89a3ad0b
AO
240002012-10-10 Alexandre Oliva <aoliva@redhat.com>
24001
24002 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24003 McGrath.
24004
e7451425
AO
240052012-10-10 Alexandre Oliva <aoliva@redhat.com>
24006
24007 * crypt/crypt-entry.c: Include fips-private.h.
24008 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24009 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24010 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24011 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24012
4ba74a35
AO
240132012-10-10 Alexandre Oliva <aoliva@redhat.com>
24014
24015 * crypt/crypt-private.h: Include stdbool.h.
24016 (_ufc_setup_salt_r): Return bool.
24017 * crypt/crypt-entry.c: Include errno.h.
24018 (__crypt_r): Return NULL with EINVAL for bad salt.
24019 * crypt/crypt_util.c (bad_for_salt): New.
24020 (_ufc_setup_salt_r): Check that salt is long enough and within
24021 the specified alphabet.
24022 * crypt/badsalttest.c: New file.
24023 * crypt/Makefile (tests): Add it.
24024 ($(objpfx)badsalttest): New.
24025
f96f1242
MK
240262012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24027
24028 * NEWS: Add entry for BZ #14602.
24029
0e8e0c1c
JM
240302012-10-09 Joseph Myers <joseph@codesourcery.com>
24031
24032 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24033 type-generic.
24034 * math/libm-test.inc: Update comment listing what functions and
24035 macros are tested.
24036 (isgreater_test): New function.
24037 (isgreaterequal_test): Likewise.
24038 (isless_test): Likewise.
24039 (islessequal_test): Likewise.
24040 (islessgreater_test): Likewise.
24041 (isunordered_test): Likewise.
24042 (main): Call the new functions.
24043
273edc5e
RM
240442012-10-09 Roland McGrath <roland@hack.frob.com>
24045
b8493de0
RM
24046 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24047 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24048 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24049 * sysdeps/i386/configure: Regenerated.
24050 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24051 * sysdeps/mach/configure: Regenerated.
24052 * sysdeps/mach/hurd/configure: Regenerated.
24053 * sysdeps/powerpc/configure: Regenerated.
24054 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24055 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24056 * sysdeps/s390/s390-32/configure: Regenerated.
24057 * sysdeps/s390/s390-64/configure: Regenerated.
24058 * sysdeps/sh/configure: Regenerated.
24059 * sysdeps/sparc/configure: Regenerated.
24060 * sysdeps/unix/sysv/linux/configure: Regenerated.
24061 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24062 * sysdeps/x86_64/configure: Regenerated.
24063
273edc5e
RM
24064 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24065 defined. Don't check if MAP is NULL.
24066
c8450f70
JM
240672012-10-09 Joseph Myers <joseph@codesourcery.com>
24068
24069 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24070 (_G_stat64): Likewise.
24071 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24072 (_G_stat64): Likewise.
24073 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24074 instead of struct _G_stat64.
24075 * libio/fileops.c (mmap_remap_check): Likewise.
24076 (decide_maybe_mmap): Likewise.
24077 (_IO_new_file_seekoff): Likewise.
24078 (_IO_file_stat): Likewise.
24079 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24080 _G_off64_t.
24081 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24082 instead of struct _G_stat64.
24083 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24084
57e605ba
MK
240852012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24086
24087 [BZ #14602]
24088 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24089 Replace with ...
24090 (CHECK_EOL): New macro.
24091 (two_way_short_needle): Check beginning of haystack for EOL. Use
24092 CHECK_EOL.
24093 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24094 Replace with CHECK_EOL.
24095 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24096 Replace with CHECK_EOL.
24097
ef1bb361
JM
240982012-10-08 Joseph Myers <joseph@codesourcery.com>
24099
24100 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24101 type-generic.
24102 * math/libm-test.inc: Update comment listing what functions and
24103 macros are tested.
24104 (finite_test): New function.
24105 (isinf_test): Likewise.
24106 (isnan_test): Likewise.
24107 (fpclassify_test): Test subnormal input.
24108 (isfinite_test): Likewise.
24109 (isnormal_test): Likewise.
24110 (main): Call the new functions.
24111
55f11534
JN
241122012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24113
24114 [BZ #14660]
24115 * Makerules (%.dynsym): Force C locale when running
24116 $(OBJDUMP) --dynamic-syms.
24117
1ab29350
AS
241182012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24119
24120 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24121 <stdint.h>.
24122
f1ecb7ef
DM
241232012-10-06 David S. Miller <davem@davemloft.net>
24124
24125 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24126 upper 32-bits of the length value in %o2 since we use branch-on-register
24127 tests which consider the entire 64-bit register.
24128
5d41d91a
L
241292012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24130
24131 * string/test-strstr.c (check2): Add a test for page boundary.
24132
3baddb72
DM
241332012-10-05 David S. Miller <davem@davemloft.net>
24134
24135 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24136 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24137 file.
24138 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24139 sysdep_routines.
24140 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24141 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24142 and bzero when HWCAP_SPARC_CRYPTO is present.
24143
9cee5585
L
241442012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24145
d7e0dab9
L
24146 [BZ #14602]
24147 * string/test-strstr.c (check2): New function.
24148 (test_main): Call check2.
24149
03759f47
L
24150 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24151 and bug-strchr1.
24152 * string/bug-strcasestr1.c (do_test): Moved to ...
24153 * string/test-strcasestr.c (check1): Here. New function.
24154 (do_one_test): Break out result checking code into ...
24155 (check_result): This. New function.
24156 (do_one_test): Call check_result.
24157 (test_main): Call check1.
24158 * string/bug-strchr1.c (do_test): Moved to ...
24159 * string/test-strchr.c (check1): Here. New function.
24160 (do_one_test): Break out result checking code into ...
24161 (check_result): This. New function.
24162 (do_one_test): Call check_result.
24163 (test_main): Call check1.
24164 * string/bug-strstr1.c (main): Moved to ...
046f153e 24165 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24166 (do_one_test): Break out result checking code into ...
24167 (check_result): This. New function.
24168 (do_one_test): Call check_result.
24169 (test_main): Call check1.
24170 * string/bug-strcasestr1.c: Removed.
24171 * string/bug-strchr1.c: Likewise.
24172 * string/bug-strstr1.c: Likewise.
24173
53cea63e
L
24174 * elf/Makefile (dl-routines): Add hwcaps.
24175 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24176 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24177 (_dl_important_hwcaps): Moved to ...
24178 * elf/dl-hwcaps.c: Here. New file.
24179 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24180
9cee5585 24181 [BZ #14557]
bb859b06
L
24182 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24183 if IS_IN_rtld isn't defined.
24184
9cee5585
L
24185 * elf/dl-support.c (_dl_sysinfo_map): New.
24186 Include "get-dynamic-info.h" and "setup-vdso.h".
24187 (_dl_non_dynamic_init): Call setup_vdso.
24188 * elf/dynamic-link.h: Don't include <assert.h>.
24189 (elf_get_dynamic_info): Moved to ...
24190 * elf/get-dynamic-info.h: Here. New file.
24191 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24192 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24193 * elf/setup-vdso.h: Here. New file.
24194 * elf/rtld.c: Include "setup-vdso.h".
24195 (dl_main): Call setup_vdso.
24196
23c31b76
JM
241972012-10-05 Joseph Myers <joseph@codesourcery.com>
24198
28234b07
JM
24199 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24200 creal in comment listing functions tested. List finite, isinf,
24201 isnan, isless, islessequal, isgreater, isgreaterequal,
24202 islessgreater, isunordered, lgamma_r and pow10 as functions and
24203 macros not tested. Mention which functions not tested are aliases
24204 for other functions. Fix typo. Note that signs of NaNs are not
24205 tested.
24206
23c31b76
JM
24207 * scripts/config.guess: Update from config.git.
24208 * scripts/config.sub: Likewise.
24209
9043e228
RM
242102012-10-04 Roland McGrath <roland@hack.frob.com>
24211
24212 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24213 * misc/madvise.c (madvise): Renamed to __madvise.
24214 Make madvise a weak alias.
24215 * include/sys/mman.h: Declare __madvise.
24216 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24217 * sysdeps/unix/syscalls.list
24218 (madvise): Make __madvise the strong name, and madvise a weak alias.
24219 * sysdeps/unix/sysv/linux/syscalls.list
24220 (madvise, mmap): Remove redundant entries.
24221 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24222 * malloc/malloc.c (mtrim): Likewise.
24223 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24224
f57f8055
RM
242252012-10-03 Roland McGrath <roland@hack.frob.com>
24226
24227 * sysdeps/mach/hurd/dl-cache.c: File removed.
24228 * config.h.in (USE_LDCONFIG): New #undef.
24229 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24230 * configure: Regenerated.
24231 * elf/Makefile (dl-routines): Add dl-cache only under
24232 [$(use-ldconfig) = yes].
24233 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24234 cache on [USE_LDCONFIG].
24235 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24236 [USE_LDCONFIG].
24237 * elf/rtld.c (dl_main): Likewise.
24238
5bb0c10a
PT
242392012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24240
24241 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24242 _SC_LEVEL4_CACHE_LINESIZE.
24243
010188c6
RM
242442012-10-03 Roland McGrath <roland@hack.frob.com>
24245
24246 * sysdeps/unix/bsd/confstr.h: File removed.
24247
b6c5ec07
AO
242482012-10-02 Alexandre Oliva <aoliva@redhat.com>
24249
24250 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24251 sys/sdt-config.h.
24252
408223d4
RM
242532012-10-02 Roland McGrath <roland@hack.frob.com>
24254
24255 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24256 Make 'mapoff' field ElfW(Off) rather than off_t.
24257
bb9510dc
DL
242582012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24259
fc997c6e
DL
24260 * nscd/Makefile: Remove nscd-cflags and all its users.
24261 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24262 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24263
bb9510dc
DL
24264 [BZ #10631]
24265 * malloc.c (malloc_printerr): Clarify error message.
24266
05699367
L
242672012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24268
24269 [BZ #14648]
24270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24271 Set bit_FMA_Usable if FMA is supported.
24272 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24273 macro.
24274 (bit_FMA4_Usable): Updated.
24275 (index_FMA_Usable): New macro.
24276 (CPUID_FMA): Likewise
24277 (HAS_FMA): Defined with bit_FMA_Usable.
24278
51367701
RM
242792012-10-01 Roland McGrath <roland@hack.frob.com>
24280
24281 * bits/types.h (__swblk_t): Type removed.
24282 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24283 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24285 (__SWBLK_T_TYPE): Likewise.
24286 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24287 (__SWBLK_T_TYPE): Likewise.
24288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24289 (__SWBLK_T_TYPE): Likewise.
24290 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24291 (__SWBLK_T_TYPE): Likewise.
24292
4d57bf63 242932012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 24294 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
24295
24296 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24297 (xdr_mapname): Use YPMAXMAP as maxsize.
24298 (xdr_peername): Use YPMAXPEER as maxsize.
24299 (xdr_keydat): Use YPAXRECORD as maxsize.
24300 (xdr_valdat): Use YPMAXRECORD as maxsize.
24301
93c65d43
RM
243022012-10-01 Roland McGrath <roland@hack.frob.com>
24303
497a03d6
RM
24304 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24305
93c65d43
RM
24306 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24307 * csu/init-first.c: ... here.
24308 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24309 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24310 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24311 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24312 * sysdeps/i386/init-first.c: File removed.
24313 * sysdeps/sh/init-first.c: File removed.
24314
bec749fd
JM
243152012-10-01 Joseph Myers <joseph@codesourcery.com>
24316
24317 [BZ #14645]
24318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24319 if x * y might underflow to zero and z is zero.
24320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24321 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24322 * math/libm-test.inc (min_subnorm_value): New variable.
24323 (fma_test): Add more tests.
24324 (fma_test_towardzero): Likewise.
24325 (fma_test_downward): Likewise
24326 (fma_test_upward): Likewise.
24327 (initialize): Set min_subnorm_value.
24328
8ec5b013
JM
243292012-09-29 Joseph Myers <joseph@codesourcery.com>
24330
24331 [BZ #14638]
24332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24333 0 + 0.
24334 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24335 mode for addition resulting in exact zero.
24336 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24337 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24338 exact 0 + 0.
24339 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24340 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24341 * math/libm-test.inc (fma_test): Add more tests.
24342 (fma_test_towardzero): New function.
24343 (fma_test_downward): Likewise.
24344 (fma_test_upward): Likewise.
24345 (main): Call the new functions.
24346
b1fa802e
DM
243472012-09-28 David S. Miller <davem@davemloft.net>
24348
24349 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24350
d3b9fd9e
RM
243512012-09-28 Roland McGrath <roland@hack.frob.com>
24352
ea4d37b3
RM
24353 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24354 instead of SIGALRM.
24355
ac51c949
RM
24356 * sysdeps/gnu/_G_config.h: Moved to ...
24357 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24358 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24359 * sysdeps/generic/_G_config.h: ... here.
24360
28c195f7
RM
24361 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24362
848917f9
RM
24363 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24364
6bacf05b
RM
24365 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24366 Conditionalize target on [libnss_test1.so-version].
24367
91363dbb
RM
24368 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24369
cc87f7d8
RM
24370 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24371 (elfobjdir): Move out of conditionals.
24372
b1c608fe
RM
24373 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24374 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24375 (__nss_lookup_function): Conditionalize label remove_from_tree on
24376 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 24377
1d9a6d96
DM
243782012-09-28 David S. Miller <davem@davemloft.net>
24379
24380 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24381 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24382 file.
24383 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24384 sysdep_routines.
24385 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24386 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24387 when HWCAP_SPARC_CRYPTO is present.
24388
72581615
PT
243892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24390
24391 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24392
715a900c
JL
243932012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24394
24395 [BZ #6530]
24396 * stdio-common/vfprintf.c (process_string_arg): Revert
24397 2000-07-22 change.
24398
243992011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24400
24401 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24402 for testcase.
24403 * stdio-common/tst-sprintf.c: Include <locale.h>
24404 (main): Test sprintf's handling of incomplete multibyte
24405 characters.
24406
9bac1d86
L
244072012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24408
24409 * elf/dl-runtime.c (VERSYMIDX): Removed.
24410 * elf/dl-version.c (VERSYMIDX): Likewise.
24411 * elf/do-rel.h (VERSYMIDX): Likewise.
24412 (VALIDX): Likewise.
24413 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24414 * elf/rtld.c (VALIDX): Likewise.
24415 (ADDRIDX): Likewise.
9bac1d86
L
24416 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24417 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24418 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
24419 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24420 (VALIDX): Likewise.
24421 (ADDRIDX): Likewise.
9bac1d86 24422
b31606c0
PT
244232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24424
24425 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24426
11541177
JL
244272012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24428
24429 [BZ #11438]
24430 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24431 to global scope.
24432 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24433 addresses are in the same scope as 192.0.2/24.
24434 * posix/gai.conf: Document new scope table defaults.
24435
adb26fae
SP
244362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24437
24438 [BZ #5298]
24439 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24440 for ftell. Compute offsets from write pointers instead.
24441 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24442
4573c6b0
SP
244432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24444
24445 [BZ #14543]
24446 * libio/Makefile (tests): New test case tst-fseek.
24447 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24448 combination works in wide mode.
24449 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24450 state when the external buffer state changes.
24451
aa9bbfe6
DM
244522012-09-27 David S. Miller <davem@davemloft.net>
24453
24454 [BZ #14376]
24455 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24456 pass reloc->r_addend in as the 'high' argument to
24457 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24458
784421e7
DM
24459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24460
c39bc8b8
PT
244612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24462
24463 * rt/tst-aio2.c: Include <pthread.h>.
24464 * rt/tst-aio3.c: Likewise.
24465
1ccc2399
SE
244662012-09-27 Steve Ellcey <sellcey@mips.com>
24467
24468 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24469
31ed4153
L
244702012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24471
25f5f885
L
24472 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24473 contents on [SHARED].
31ed4153 24474
b7bfe116
MP
244752012-09-26 Marek Polacek <polacek@redhat.com>
24476
24477 [BZ #14530]
24478 [BZ #13741]
24479 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24480 for C++ and GCC <4.3 as well as for non GCC compilers.
24481
43c4edba
MT
244822012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24483
24484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24485
6a1bf82f
RM
244862012-09-25 Roland McGrath <roland@hack.frob.com>
24487
24488 * Makefile.in (all, install): Declare with .PHONY.
24489 Reported by Michael Hope <michael.hope@linaro.org>.
24490
8ad11b9a
TMQMF
244912012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24492
24493 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24494 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24495 system header.
24496 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24497 Likewise.
24498 (sydep_routines): Add the new and the internal functions.
24499 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24500 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24502 (GLIBC_2.17): Add the new function.
24503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24504 (GLIBC_2.17): Likewise.
24505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24506 (GLIBC_2.17): Likewise.
24507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24508 (GLIBC_2.17): Likewise.
24509 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24510
7e2fca8d
AM
245112012-09-25 Alan Modra <amodra@gmail.com>
24512
24513 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24514 Add release barrier before setting once_control to say
24515 initialisation is done. Add hints on lwarx. Use macro in
24516 place of isync.
24517 (clear_once_control): Add release barrier.
24518
b87c4b24
JM
245192012-09-25 Joseph Myers <joseph@codesourcery.com>
24520
d032e0d2
JM
24521 [BZ #13629]
24522 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24523 specially.
24524 * math/s_clog10.c (__clog10): Likewise.
24525 * math/s_clog10f.c (__clog10f): Likewise.
24526 * math/s_clog10l.c (__clog10l): Likewise.
24527 * math/s_clogf.c (__clogf): Likewise.
24528 * math/s_clogl.c (__clogl): Likewise.
24529 * math/Makefile (libm-calls): Add x2y2m1.
24530 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24531 (__x2y2m1): Likewise.
24532 (__x2y2m1l): Likewise.
24533 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24534 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24535 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24536 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24537 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24538 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24539 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24540 * sysdeps/i386/fpu/libm-test-ulps: Update.
24541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24542
b87c4b24
JM
24543 [BZ #14621]
24544 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24545 int as type of variable DEPTH.
24546 (glob): Use size_t instead of int as type of variables NEWCOUNT
24547 and OLD_PATHC.
24548
6d3bf199
LD
245492012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24550
22bf5c17
LD
24551 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24552 Add s_sincosf-sse2.
24553 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24554 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24555 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24556 macros for using routine as __sincosf_ia32.
24557 Use macro for function declaration and weak_alias.
24558 * sysdeps/i386/fpu/libm-test-ulps: Update.
24559
24560 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24562
24563 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24564 subnormal argument.
24565 * math/s_cexpf.c (__cexpf): Likewise.
24566 * math/s_csinf.c (__csinf): Likewise.
24567 * math/s_csinhf.c (__csinhf): Likewise.
24568 * math/s_ctanf.c (__ctanf): Likewise.
24569 * math/s_ctanhf.c (__ctanhf): Likewise.
24570 * math/s_ccosh.c (__ccoshf): Likewise.
24571 * math/s_cexp.c (__cexpl): Likewise.
24572 * math/s_csin.c (__csin): Likewise.
24573 * math/s_csinh.c (__csinh): Likewise.
24574 * math/s_ctan.c (__ctan): Likewise.
24575 * math/s_ctanh.c (ctanh): Likewise.
24576 * math/s_ccoshl.c (__ccoshl): Likewise.
24577 * math/s_cexpl.c (__cexpl): Likewise.
24578 * math/s_csinl.c (__csinl): Likewise.
24579 * math/s_csinhl.c (__csinhl): Likewise.
24580 * math/s_ctanl.c (__ctanl): Likewise.
24581 * math/s_ctanhl.c (__ctanhl): Likewise.
24582
203e5603
JM
245832012-09-25 Joseph Myers <joseph@codesourcery.com>
24584
24585 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24586 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24587 (_IO_off_t): Define to __off_t, not _G_off_t.
24588 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24589 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24590 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24591 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24592 type of __dummy and __dummy2 fields.
24593 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24594 (_G_ssize_t): Likewise.
24595 (_G_off_t): Likewise.
24596 (_G_pid_t): Likewise.
24597 (_G_uid_t): Likewise.
24598 (_G_wchar_t): Likewise.
24599 (_G_wint_t): Likewise.
24600 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24601 (_G_ssize_t): Likewise.
24602 (_G_off_t): Likewise.
24603 (_G_pid_t): Likewise.
24604 (_G_uid_t): Likewise.
24605 (_G_wchar_t): Likewise.
24606 (_G_wint_t): Likewise.
24607 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24608 (_G_ssize_t): Likewise.
24609 (_G_off_t): Likewise.
24610 (_G_pid_t): Likewise.
24611 (_G_uid_t): Likewise.
24612 (_G_wchar_t): Likewise.
24613 (_G_wint_t): Likewise.
24614
9fab36eb
SP
246152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24616
24617 * malloc/arena.c: Include malloc-sysdep.h.
24618 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24619 is sufficient to shrink the heap or an unmap is needed.
24620 * sysdeps/generic/malloc-sysdep.h: New file. Define
24621 new function check_may_shrink_heap.
24622 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24623 new function check_may_shrink_heap.
24624
2b4f00d1
SP
246252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24626
24627 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24628 comments.
24629
9a9028b1
DL
246302012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24631
57c69bef
DL
24632 * catgets/test-gencat.sh: Add "set -e".
24633 * elf/tst-pathopt.sh: Likewise.
24634 * grp/tst_fgetgrent.sh: Likewise.
24635 * iconvdata/run-iconv-test.sh: Likewise.
24636 * intl/tst-gettext.sh: Likewise.
24637 * intl/tst-gettext2.sh: Likewise.
24638 * intl/tst-gettext4.sh: Likewise.
24639 * intl/tst-gettext6.sh: Likewise.
24640 * intl/tst-translit.sh: Likewise.
24641 * io/ftwtest-sh: Likewise.
24642 * libio/test-freopen.sh: Likewise.
24643 * malloc/tst-mtrace.sh: Likewise.
24644 * posix/globtest.sh: Likewise.
24645 * posix/tst-getconf.sh: Likewise.
24646 * posix/wordexp-tst.sh: Likewise.
24647 * stdio-common/tst-printf.sh: Likewise.
24648 * stdio-common/tst-unbputc.sh: Likewise.
24649 * stdlib/tst-fmtmsg.sh: Likewise.
24650 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24651 * catgets/Makefile: Do not specify -e option when running
24652 testsuite shell scripts.
24653 * elf/Makefile: Likewise.
24654 * grp/Makefile: Likewise.
24655 * iconvdata/Makefile: Likewise.
24656 * intl/Makefile: Likewise.
24657 * io/Makefile: Likewise.
24658 * libio/Makefile: Likewise.
24659 * malloc/Makefile: Likewise.
24660 * posix/Makefile: Likewise.
24661 * stdio-common/Makefile: Likewise.
24662 * stdlib/Makefile: Likewise.
24663 * sysdeps/x86_64/Makefile: Likewise.
24664
9a9028b1
DL
24665 * io/ftwtest-sh: Add copyright header.
24666 * posix/globtest.sh: Likewise.
24667 * posix/tst-getconf.sh: Likewise.
24668 * posix/wordexp-tst.sh: Likewise.
24669 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24670
ced6f16e
L
246712012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24672
94b32c39
L
24673 [BZ #13679]
24674 * Makeconfig (+link): Defined as $(+link-static) if
24675 $(build-shared) isn't yes.
24676 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24677 isn't yes.
24678 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24679
189e935b
L
24680 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24681
ced6f16e
L
24682 [BZ #14562]
24683 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24684 new chunk size with MALLOC_ALIGN_MASK.
24685
a9f8e53a
JM
246862012-09-24 Joseph Myers <joseph@codesourcery.com>
24687
24688 [BZ #5044]
24689 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24690 <rounding-mode.h>.
24691 (__printf_fphex): Determine rounding using get_rounding_mode and
24692 round_away.
24693 * stdio-common/tst-printf-round.c (struct hex_test): New
24694 structure.
24695 (hex_tests): New variable.
24696 (test_hex_in_one_mode): New function.
24697 (do_test): Also run tests for hex float output.
24698
43153109
JM
246992012-09-21 Joseph Myers <joseph@codesourcery.com>
24700
24701 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24702 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24703 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24704 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24705 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24706 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24707 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24708 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24709
8a26625d
JM
247102012-09-20 Joseph Myers <joseph@codesourcery.com>
24711
24712 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24713 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24714 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24715 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24716
f3fd569c
DL
247172012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24718
24719 [BZ #14579]
24720 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24721 mode only.
24722 * elf/tst-rtld-load-self.sh: New test.
24723 * elf/Makefile: Run it.
24724
63bbedd4
JM
247252012-09-18 Joseph Myers <joseph@codesourcery.com>
24726
24727 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24728 (tst-writev-ENV): Remove.
24729 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24730
626f8b6a
CM
247312012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24732
24733 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24734
b7aaa4d6
JM
247352012-09-17 Joseph Myers <joseph@codesourcery.com>
24736
24737 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24738 unconditional.
24739 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24740 Likewise.
24741 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24742 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24743 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24744 Likewise.
24745
65513990
L
247462012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24747
24748 [BZ #14587]
24749 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24750 * config.make.in (have-cpp-asm-debuginfo): Removed.
24751 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24752 * configure: Regenerated.
24753
784761be
JM
247542012-09-14 Joseph Myers <joseph@codesourcery.com>
24755
24756 [BZ #5044]
24757 * stdio-common/printf_fp.c: Include <stdbool.h> and
24758 <rounding-mode.h>.
24759 (___printf_fp): Determine rounding using get_rounding_mode and
24760 round_away.
24761 * stdio-common/tst-printf-round.c: New file.
24762 * stdio-common/Makefile (tests): Add tst-printf-round.
24763 (link-libm): New variable.
24764 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24765
9503345f
L
247662012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24767
24768 [BZ #14576]
24769 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24770 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24771 Likewise.
24772 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24773 Likewise.
24774
ad35fc00
JM
247752012-09-13 Joseph Myers <joseph@codesourcery.com>
24776
24777 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24778 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24779 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24780 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24781
6c9b0f68
JM
247822012-09-12 Joseph Myers <joseph@codesourcery.com>
24783
24784 [BZ #14518]
24785 * include/rounding-mode.h: New file.
24786 * sysdeps/generic/get-rounding-mode.h: Likewise.
24787 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24788 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24789 (MAX_VALUE): New macro.
24790 (MIN_VALUE): Likewise.
24791 (overflow_value): New function.
24792 (underflow_value): Likewise.
24793 (round_and_return): Use overflow_value and underflow_value to
24794 determine return values in overflow and underflow cases. Use
24795 round_away to determine rounding depending on rounding mode.
24796 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24797 determine return values in overflow and underflow cases.
24798 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24799 (struct test_results): New structure.
24800 (struct test): Use struct test_results to store expected results
24801 for all rounding modes.
24802 (TEST): Include expected results for all rounding modes.
24803 (test_in_one_mode): New function.
24804 (do_test): Use test_in_one_mode to compute and check results.
24805 Check results for all rounding modes.
24806 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24807 $(link-libm).
24808
19fcedd5
AM
248092012-12-09 Allan McRae <allan@archlinux.org>
24810
1e9d84cd 24811 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24812
8bbfd2f1
JM
248132012-09-11 Joseph Myers <joseph@codesourcery.com>
24814
24815 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24816 (_G_int32_t): Likewise.
24817 (_G_uint16_t): Likewise.
24818 (_G_uint32_t): Likewise.
24819 (_G_HAVE_BOOL): Likewise.
24820 (_G_HAVE_ATEXIT): Likewise.
24821 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24822 (_G_HAVE_IO_FILE_OPEN): Likewise.
24823 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24824 (_G_int32_t): Likewise.
24825 (_G_uint16_t): Likewise.
24826 (_G_uint32_t): Likewise.
24827 (_G_HAVE_BOOL): Likewise.
24828 (_G_HAVE_ATEXIT): Likewise.
24829 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24830 (_G_HAVE_IO_FILE_OPEN): Likewise.
24831 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24832 (_G_int32_t): Likewise.
24833 (_G_uint16_t): Likewise.
24834 (_G_uint32_t): Likewise.
24835 (_G_HAVE_BOOL): Likewise.
24836 (_G_HAVE_ATEXIT): Likewise.
24837 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24838 (_G_HAVE_IO_FILE_OPEN): Likewise.
24839
b1dc5912
L
248402012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24841
24842 * csu/libc-tls.c: Update copyright years.
24843
0e886ef9
JM
248442012-09-10 Joseph Myers <joseph@codesourcery.com>
24845
28361c5e
JM
24846 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24847 [!_G_USING_THUNKS]: Remove conditional code.
24848 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24849 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24850
0e886ef9
JM
24851 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24852 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24853 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24854 (_G_VTABLE_LABEL_PREFIX): Likewise.
24855 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24856 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24857 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24858 (_G_VTABLE_LABEL_PREFIX): Likewise.
24859 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24860 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24861 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24862 (_G_VTABLE_LABEL_PREFIX): Likewise.
24863 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24864
bcba7aa2
L
248652012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24866
24867 * libio/Makefile: Include ../Makeconfig before tests.
24868 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24869 only if $(build-shared) is yes.
24870
06585ee8
L
24871 * iconv/gconv_db.c: Update copyright years.
24872
80ccd52c
LD
248732012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24874
24875 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24876 unwind info if defined PIC. Fix special cases description.
24877 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24878
24879 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24880 DP_HI_MASK entry.
24881 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24882
691bc9c1
L
248832012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24884
3d9b46b3
L
24885 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24886
de2139a9
L
24887 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24888 is NULL.
24889
5ca78dd0
L
24890 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24891 (LDLIBS-tst-chk4): This.
24892 (LDFLAGS-tst-chk5): Renamed to ...
24893 (LDLIBS-tst-chk5): This.
24894 (LDFLAGS-tst-chk6): Renamed to ...
24895 (LDLIBS-tst-chk6): This.
24896 (LDFLAGS-tst-lfschk4): Renamed to ...
24897 (LDLIBS-tst-lfschk4): This.
24898 (LDFLAGS-tst-lfschk5): Renamed to ...
24899 (LDLIBS-tst-lfschk5): This.
24900 (LDFLAGS-tst-lfschk6): Renamed to ...
24901 (LDLIBS-tst-lfschk6): This.
24902
691bc9c1
L
24903 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24904 on $(common-objpfx)soversions.mk.
24905
65cafb1c
JM
249062012-09-07 Joseph Myers <joseph@codesourcery.com>
24907
24908 [BZ #10014]
24909 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24910 example host name.
24911
c78ab094
SP
249122012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24913
24914 * malloc/arena.c (arena_get_retry): New function that gets
24915 another arena for the caller to try its request on.
24916 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24917 current arena cannot fulfill the request.
24918 (__libc_memalign): Likewise.
24919 (__libc_memalign): Likewise.
24920 (__libc_pvalloc): Likewise.
24921 (__libc_calloc): Likewise.
24922
01f49f59
JT
249232012-09-05 John Tobey <john.tobey@gmail.com>
24924
24925 [BZ #13542]
24926 * manual/arith.texi (Operations on Complex): Fix description
24927 of carg branch cut.
24928
4c23fed5
JM
249292012-09-06 Joseph Myers <joseph@codesourcery.com>
24930
1d3c8572
JM
24931 [BZ #10014]
24932 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24933 host name.
24934
4c23fed5
JM
24935 [BZ #10038]
24936 * manual/memory.texi (Memory): Make order of menu items match
24937 order of sections.
24938
04570aaa
L
249392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24940
24941 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24942 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24943 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24944
b80af2f4
L
249452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24946
24947 * csu/libc-tls.c (static_dtv): Renamed to ...
24948 (_dl_static_dtv): This. Make it global.
24949 (_dl_initial_dtv): Removed.
24950 (__libc_setup_tls): Updated.
24951 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24952 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24953 DL_INITIAL_DTV.
24954
2abe9f15
PM
249552012-09-06 Petr Machata <pmachata@redhat.com>
24956
24957 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24958 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24959 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24960 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24961
0948c3af
L
249622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24963
24964 [BZ #14545]
24965 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24966 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24967 freeing dtv[-1].
24968
a5055ad1
L
249692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24970
24971 [BZ #14544]
24972 * Makeconfig (link-static-before-libc): Replace $(+prector)
24973 with $(+prectorT).
24974 (link-static-after-libc): Replace $(+postctor) with
24975 $(+postctorT).
24976 (link-bounded): Replace $(+prector)/$(+postctor) with
24977 $(+prectorT)/$(+postctorT).
24978 (+prectorT): New macro.
24979 (+postctorT): Likewise.
24980
ed8c2ecd
JM
249812012-09-06 Joseph Myers <joseph@codesourcery.com>
24982
24983 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24984 (round_str): Handle values above the maximum for IBM long double
24985 as inexact.
24986 * stdlib/tst-strtod-round.c (tests): Regenerated.
24987
14c996c8
AK
249882012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24989
24990 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24991 assembler flag.
24992 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24993 zarch_nohighgprs around the zarch optimized routines.
24994 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24995 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24996 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24997 for zarch.
24998
430d6ce6
DM
249992012-09-05 David S. Miller <davem@davemloft.net>
25000
25001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25002
57f41c40
AS
25003 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25004 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25005 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25006 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25007 entries.
25008
24d4e01b
AO
250092012-09-05 Alexandre Oliva <aoliva@redhat.com>
25010
25011 * malloc/arena.c: Fold copyright years.
25012 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25013
61d58174
AO
250142012-09-05 Alexandre Oliva <aoliva@redhat.com>
25015
25016 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25017
20196a5e
AO
250182012-09-05 Alexandre Oliva <aoliva@redhat.com>
25019
25020 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25021
5c447383
AO
250222012-09-05 Alexandre Oliva <aoliva@redhat.com>
25023
25024 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25025 change internal state upon failure.
25026
fad64255
AO
250272012-09-05 Alexandre Oliva <aoliva@redhat.com>
25028
25029 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25030 * malloc/memusage.c (mmap): Likewise.
25031 (mmap64, mremap): Likewise. Adjust name in comment.
25032
1ffb8c90
SP
250332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25034
25035 * libio/fileops.c: Fix typos in comments.
25036 * libio/oldfileops.c: Likewise.
25037 * libio/wfileops.c: Likewise.
25038
6ef9cc37
SP
250392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25040
25041 [BZ #1349]
25042 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25043 (tst-malloc-usable-ENV): Set environment for test case.
25044 * malloc/hooks.c (malloc_check_get_size): New function to get
25045 requested size.
25046 * malloc/malloc.c (musable): Use malloc_check_get_size.
25047 * malloc/tst-malloc-usable.c: New test case.
25048
4d038ae3
AS
250492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25050
25051 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25052
c4e85184
AM
250532012-09-05 Allan McRae <allan@archlinux.org>
25054
b9dafc56 25055 [BZ #13966]
c4e85184
AM
25056 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25057 determine header location.
25058 * configure: Regenerated.
25059
e1343020
AS
250602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25061
25062 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25063 float format.
25064 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25065 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25066 format.
e1343020
AS
25067 (test): Regenerate.
25068
0a9f1987
DM
250692012-09-04 David S. Miller <davem@davemloft.net>
25070
25071 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25072 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25073 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25074
29237804
FW
250752012-09-04 Florian Weimer <fweimer@redhat.com>
25076
25077 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25078 failures.
25079
edb3cb88
FW
25080 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25081
60160d83
JM
250822012-09-04 Joseph Myers <joseph@codesourcery.com>
25083
25084 [BZ #9914]
25085 * libio/iogetdelim.c: Include <limits.h>.
25086 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25087 + len + 1 would overflow.
25088
bcd6c8dc
AJ
250892012-09-03 Andreas Jaeger <aj@suse.de>
25090
25091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25092 * sysdeps/i386/fpu/libm-test-ulps: Update.
25093
4ffffbd2
LD
250942012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25095
25096 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25097 Add s_sinf-sse2, s_conf-sse2.
25098
25099 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25100 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25101 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25102 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25103
25104 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25105 for using routine as __sinf_ia32.
25106 Use macro for function declaration and weak_alias.
25107 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25108 for using routine as __cosf_ia32.
25109 Use macro for function declaration and weak_alias.
25110
25111 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25112 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25113
25114 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25115 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25117
25118 * math/libm-test.inc (cos_test): Add more test cases.
25119 (sin_test): Likewise.
25120 (sincos_test): Likewise.
25121
511fa286
AK
251222012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25123
25124 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25125 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25126 hidden.
25127 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25128
5f30cfec
L
251292012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25130
25131 [BZ #14538]
25132 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25133 first element of the GOT.
25134 (elf_machine_load_address): Return the difference between
25135 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25136
0786794f
AM
251372012-09-01 Allan McRae <allan@archlinux.org>
25138
5f30cfec
L
25139 [BZ #13412]
25140 * configure.in (AWK): Require gawk version 3.0 or later.
25141 * configure: Regenerated.
0786794f 25142
26889eac
JM
251432012-09-01 Joseph Myers <joseph@codesourcery.com>
25144
25145 * sysdeps/unix/sysv/linux/kernel-features.h
25146 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25147 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25148 [__NR_clock_getres]: Make code unconditional.
25149 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25150 (clock_getcpuclockid): Remove code left unreachable by removal of
25151 conditionals.
25152 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25153 code unconditional.
25154 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25155 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25156 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25157 Make code unconditional.
25158 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25159 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25160 * sysdeps/unix/sysv/linux/clock_settime.c
25161 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25162 conditional code.
25163 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25164 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25165
d22e28b0
L
251662012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25167
25168 [BZ #14476]
25169 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25170 scripts/test-installation.pl.
25171
25172 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25173 and $ld_so_version if it is set.
25174
050af9c4
SP
251752012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25176
25177 [BZ #14516]
25178 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25179 failure if reading from procfs failed.
25180 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25181
ad845c0b
JM
251822012-08-27 Joseph Myers <joseph@codesourcery.com>
25183
25184 * sysdeps/unix/sysv/linux/kernel-features.h
25185 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25186 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25187 Remove conditional code.
25188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25189 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25190 Remove conditional code.
25191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25192 * sysdeps/unix/sysv/linux/i386/fxstat.c
25193 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25194 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25195 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25196 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25198 * sysdeps/unix/sysv/linux/i386/lxstat.c
25199 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25201 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25202 Remove conditional code.
25203 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25204 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25205 Remove conditional code.
25206 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25207 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25208 <kernel-features.h>.
25209 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25210 Remove.
25211 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25212 Remove conditional code.
25213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25214 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25215 Remove conditional.
25216
5dbf56af
MF
252172012-08-27 Mike Frysinger <vapier@gentoo.org>
25218
25219 [BZ #5400]
25220 * NEWS: Add fixed bug number.
25221
d6e70f43
JM
252222012-08-27 Joseph Myers <joseph@codesourcery.com>
25223
7efb4737
JM
25224 [BZ #14519]
25225 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25226 underflowing exponent in case of negative sign.
25227 * stdlib/tst-strtod-round-data: Add more tests.
25228 * stdlib/tst-strtod-round.c (tests): Regenerated.
25229
af92131a
JM
25230 [BZ #3479]
25231 * stdlib/strtod_l.c (NDIG): Remove.
25232 (HEXNDIG): Likewise.
25233 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25234 smallest representable value.
25235 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25236 lie within an exact representation of 1/2 ulp of the result.
25237 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25238 unconditionally.
25239 (TENS_P9_IDX): Define unconditionally.
25240 (TENS_P9_SIZE): Likewise.
25241 (TENS_P10_IDX): Likewise.
25242 (TENS_P10_SIZE): Likewise.
25243 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25244 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25245 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25246 entries for 10^2^13 and 10^2^14.
25247 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25248 (TENS_P13_IDX): Define.
25249 (TENS_P13_SIZE): Likewise.
25250 (TENS_P14_IDX): Likewise.
25251 (TENS_P14_SIZE): Likewise.
25252 (_fpioconst_pow10): Change array size to
25253 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25254 unconditional.
25255 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25256 1024]: Add entries for 10^2^13 and 10^2^14.
25257 [LAST_POW10 > _LAST_POW10]: Remove #error.
25258 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25259 (_fpioconst_pow10): Change array size to
25260 FPIOCONST_POW10_ARRAY_SIZE.
25261 * stdlib/gen-fpioconst.c: New file.
25262 * stdlib/gen-tst-strtod-round.c: Likewise.
25263 * stdlib/tst-strtod-round-data: Likewise.
25264 * stdlib/tst-strtod-round.c: Likewise.
25265 * stdlib/Makefile (tests): Add tst-strtod-round.
25266
d6e70f43
JM
25267 [BZ #14459]
25268 * stdlib/strtod_l.c: Include <stdint.h>.
25269 (NDEBUG): Do not define.
25270 (round_and_return): Change EXPONENT parameter to type intmax_t.
25271 Rearrange calculations to avoid internal overflow possibilities.
25272 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25273 Rearrange calculations to avoid internal overflow possibilities.
25274 Assert that number fits inside MPNSIZE limbs.
25275 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25276 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25277 calculations and add assertions to avoid internal overflow
25278 possibilities. Add casts to avoid signed/unsigned operations.
25279 * stdlib/tst-strtod-overflow.c: New file.
25280 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25281
1f529f7d
MP
252822012-08-25 Marek Polacek <polacek@redhat.com>
25283
25284 * time/time.h: Fix some typos in comments.
25285
59a629f1
RM
252862012-08-23 Roland McGrath <roland@hack.frob.com>
25287
25288 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25289 * posix/tst-rfc3484-2.c: Likewise.
25290 * posix/tst-rfc3484-3.c: Likewise.
25291
d3bafbc9
SM
252922012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25293
25294 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25295 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25296
4efcc022
JM
252972012-08-23 Joseph Myers <joseph@codesourcery.com>
25298
25299 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25300 #include of fxstatat64.c.
25301
3cc3ef96
RM
253022012-08-22 Roland McGrath <roland@hack.frob.com>
25303
f04e2132
RM
25304 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25305 * shadow/getspent_r.c: Likewise.
25306 * shadow/getspnam.c: Likewise.
25307 * shadow/getspnam_r.c: Likewise.
25308 * gshadow/getsgent.c: Likewise.
25309 * gshadow/getsgent_r.c: Likewise.
25310 * gshadow/getsgnam.c: Likewise.
25311 * gshadow/getsgnam_r.c: Likewise.
25312 * inet/getnetbyad.c: Likewise.
25313 * inet/getnetbyad_r.c: Likewise.
25314 * inet/getnetbynm.c: Likewise.
25315 * inet/getnetbynm_r.c: Likewise.
25316 * inet/getnetent.c: Likewise.
25317 * inet/getnetent_r.c: Likewise.
25318 * inet/getproto.c: Likewise.
25319 * inet/getproto_r.c: Likewise.
25320 * inet/getprtent.c: Likewise.
25321 * inet/getprtent_r.c: Likewise.
25322 * inet/getprtname.c: Likewise.
25323 * inet/getprtname_r.c: Likewise.
25324 * inet/getrpcbyname.c: Likewise.
25325 * inet/getrpcbyname_r.c: Likewise.
25326 * inet/getrpcbynumber.c: Likewise.
25327 * inet/getrpcbynumber_r.c: Likewise.
25328 * inet/getrpcent.c: Likewise.
25329 * inet/getrpcent_r.c: Likewise.
25330 * inet/getaliasent.c: Likewise.
25331 * inet/getaliasent_r.c: Likewise.
25332 * inet/getaliasname.c: Likewise.
25333 * inet/getaliasname_r.c: Likewise.
25334 * nscd/getgrgid_r.c: Likewise.
25335 * nscd/getgrnam_r.c: Likewise.
25336 * nscd/gethstbyad_r.c: Likewise.
25337 * nscd/gethstbynm3_r.c: Likewise.
25338 * nscd/getpwnam_r.c: Likewise.
25339 * nscd/getpwuid_r.c: Likewise.
25340 * nscd/getsrvbynm_r.c: Likewise.
25341 * nscd/getsrvbypt_r.c: Likewise.
25342 * nscd/gai.c: Likewise.
25343
c53d909c
RM
25344 * configure.in (build_nscd): New substituted variable, set
25345 by --disable-build-nscd and defaults to $use_nscd.
25346 * configure: Regenerated.
25347 * config.make.in (build-nscd): New substituted variable.
25348 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25349 Change conditional to require [$(build-nscd) = yes] as well.
25350 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25351
3cc3ef96
RM
25352 [BZ# 13696]
25353 * configure.in (use_nscd): New substituted variable, set by
25354 --disable-nscd. If enabled, define USE_NSCD.
25355 * configure: Regenerated.
25356 * config.h.in: Add USE_NSCD.
25357 * config.make.in (use-nscd): New substituted variable.
25358 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25359 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25360 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25361 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25362 (CFLAGS-getgrnam_r.c): Likewise.
25363 (CFLAGS-initgroups.c): Likewise.
25364 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25365 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25366 Variables removed.
25367 * inet/getnetgrent_r.c
25368 (nscd_setnetgrent): New function, broken out of ...
25369 (setnetgrent): ... here. Call it.
25370 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25371 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25372 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25373 * nscd/Makefile (routines, aux): Move definitions after include of
25374 Makeconfig. Conditionalize on [$(use-nscd) != no].
25375 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25376 Conditionalize on [USE_NSCD].
25377 (is_nscd, nscd_init_cb): Likewise.
25378 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25379 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25380 * nss/nss_db/db-init.c: Likewise.
25381 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25382 [USE_NSCD].
25383 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25384 (make_request): Use it.
25385 (cache_valid_p): New function.
25386 (__check_pf): Use it.
25387 * NEWS: Add item for --disable-nscd.
25388
07e51550
DL
253892012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25390
25391 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25392 to support sed >= 4.2.1-20-ga9bf076.
25393 * configure: Regenerated.
25394
35a5b08b
RM
253952012-08-22 Roland McGrath <roland@hack.frob.com>
25396
25397 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25398 Conditionalize whole body on [IREL].
25399
8479f23a
JL
254002012-08-22 Jeff Law <law@redhat.com>
25401
25402 [BZ #14505]
25403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25404 if the family is PF_UNSPEC.
25405
48da0b21
MF
254062012-08-22 Mike Frysinger <vapier@gentoo.org>
25407
25408 * Makerules (lib-version): Rename from V.
25409 (install-lib-nosubdir): Change V to lib-version.
25410
15d0da8c
WS
254112012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25412
25413 [BZ #14252]
25414 * powerpc32/power6/wcschr.c: New file.
25415 * powerpc32/power6/wcscpy.c: New file.
25416 * powerpc32/power6/wcsrchr.c: New file.
25417 * powerpc64/power6/wcschr.c: New file.
25418 * powerpc64/power6/wcscpy.c: New file.
25419 * powerpc64/power6/wcsrchr.c: New file.
25420
bcca0895
MK
254212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25422
25423 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25424 (two_way_short_needle): Use it.
5a4aaa33
RM
25425 * string/strstr.c (AVAILABLE1_USES_J): Define.
25426 * string/strcasestr.c: Likewise.
99677e57
MK
25427
25428 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25429 array references.
25430 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25431
400726de
MK
25432 [BZ #11607]
25433 * NEWS: Add an entry.
25434 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25435 define their defaults.
25436 (two_way_short_needle): Detect end-of-string on-the-fly.
25437 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25438 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25439 * string/bug-strcasestr1.c: New test.
25440 * string/Makefile: Run it.
25441
20a71f2c
MK
254422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25443
25444 [BZ #11607]
25445 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25446 the first character.
25447
21ad0558
RM
254482012-08-21 Roland McGrath <roland@hack.frob.com>
25449
25450 * csu/elf-init.c (__libc_csu_irel): Function removed.
25451 * csu/libc-start.c (apply_irel): New function.
25452 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25453
0e1d9911
JM
254542012-08-21 Joseph Myers <joseph@codesourcery.com>
25455
25456 * sysdeps/unix/sysv/linux/kernel-features.h
25457 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25458 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25459 <kernel-features.h>.
25460 [__NR_fadvise64_64]: Make code unconditional.
25461 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25462 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25463 !__NR_fadvise64_64)]: Likewise.
25464 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25465 !__NR_fadvise64_64))]: Likewise.
25466 [__NR_fadvise64]: Make code unconditional.
25467 [!__NR_fadvise64]: Remove conditional code.
25468 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25469 <kernel-features.h>.
25470 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25471 unconditional.
25472 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25473 conditional code.
25474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25475 not include <kernel-features.h>.
25476 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25477 unconditional.
25478 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25479 conditional code.
25480 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25481 include <kernel-features.h>.
25482 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25483 unconditional.
25484 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25485 conditional code.
25486
14a50c9d
WS
254872012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25488
25489 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25490 slight instruction rearrangements per scrollpipe analysis.
25491 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25492
c0f4faf0
RM
254932012-08-20 Roland McGrath <roland@hack.frob.com>
25494
696da859
RM
25495 * manual/syslog.texi (syslog; vsyslog, closelog):
25496 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25497 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25498
c0f4faf0
RM
25499 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25500 DSOCAPS to match condition on defining it.
25501
348363b2
JM
255022012-08-20 Joseph Myers <joseph@codesourcery.com>
25503
a35cbf28
JM
25504 * sysdeps/unix/sysv/linux/kernel-features.h
25505 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25507 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25508 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25510 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25511 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25513 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25514 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25515
445f7ecd
JM
25516 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25517 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25518
348363b2
JM
25519 * sysdeps/unix/sysv/linux/kernel-features.h
25520 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25521 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25522 unconditional.
25523 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25524 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25525 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25526 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25527 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25528 Make code unconditional.
25529 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25530 (__mmap64) [!__NR_mmap2]: Likewise.
25531 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25532 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25533 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25534 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25535 [__NR_mmap2]: Make code unconditional.
25536 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25537 (__mmap64) [!__NR_mmap2]: Likewise.
25538
bc5bc0e5
AK
255392012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25540
25541 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25542
88d506de
AJ
255432012-08-18 Andreas Jaeger <aj@suse.de>
25544
25545 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25546
493387d2
MF
255472012-08-18 Mike Frysinger <vapier@gentoo.org>
25548
25549 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25550 * include/unistd.h (__have_sock_cloexec): Likewise.
25551 (__have_pipe2): Likewise.
25552 (__have_dup3): Likewise.
25553
a277af22
MF
255542012-08-18 Mike Frysinger <vapier@gentoo.org>
25555
25556 [BZ #9685]
25557 * include/unistd.h (__have_pipe2): Change define into an extern int.
25558 (__have_dup3): Likewise.
25559 * socket/have_sock_cloexec.c: Include fcntl.h.
25560 (__have_pipe2): New variable.
25561 (__have_dup3): Likewise.
25562
fdab8fd3
MF
255632012-08-17 Mike Frysinger <vapier@gentoo.org>
25564
25565 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25566
31035e80
MP
255672012-08-17 Marek Polacek <polacek@redhat.com>
25568
25569 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25570 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25571
3bd9e993
RM
255722012-08-17 Roland McGrath <roland@hack.frob.com>
25573
c91c505f
RM
25574 * configure.in: Add AC_SUBST for sysheaders.
25575 * configure: Regenerated.
25576 * config.make.in (sysheaders): New substituted variable.
25577
7c6f9d53
RM
25578 * sysdeps/unix/mkfifo.c: Moved ...
25579 * sysdeps/posix/mkfifo.c: ... here.
25580 * sysdeps/unix/mkfifoat.c: Moved ...
25581 * sysdeps/posix/mkfifoat.c: ... here.
25582
25583 * sysdeps/unix/utime.c: Moved ...
25584 * sysdeps/posix/utime.c: ... here.
25585
25586 * sysdeps/unix/time.c: Moved ...
25587 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
25588 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25589 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
25590
25591 * sysdeps/unix/nice.c: Moved ...
25592 * sysdeps/posix/nice.c: ... here.
25593
25594 * sysdeps/unix/alarm.c: Moved ...
25595 * sysdeps/posix/alarm.c: ... here.
25596
3bd9e993
RM
25597 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25598
d1f09384
JL
255992012-08-17 Jeff Law <law@redhat.com>
25600
25601 * intl/Makefile (codeset_mo): New variable.
25602 ($(codeset_mo)): New target.
25603 (tst-codeset.out): Depend on that. Remove explicit rule.
25604 (tst-gettext3.out, tst-gettext5.out): Likewise.
25605 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25606 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25607 * intl/tst-codeset.sh: Remove.
25608 * intl/tst-gettext3.sh: Likewise.
25609 * intl/tst-gettext5.sh: Likewise.
25610
2ae1ae5c
RM
256112012-08-17 Roland McGrath <roland@hack.frob.com>
25612
c31fdb83
RM
25613 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25614 * sysdeps/unix/syscalls.list: ... here.
25615
a0844057
RM
25616 * sysdeps/posix/getaddrinfo.c
25617 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25618 (gaiconf_init, gaiconf_reload): Use them.
25619 [!_STATBUF_ST_NSEC]
25620 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25621 Define using time_t rather than struct timespec.
25622
750c1f2a
RM
25623 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25624 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25625 Macros removed.
25626 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25627 [!NO_THREADS].
25628 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25629 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25630 Likewise.
25631
2ae1ae5c
RM
25632 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25633 __libc_cleanup_push argument.
25634
e66a42f5
RM
25635 * bits/param.h: New file.
25636 * misc/sys/param.h: New file.
25637 * include/sys/param.h: New file.
25638 * misc/Makefile (headers): Add bits/param.h.
25639 * sysdeps/generic/sys/param.h: File removed.
25640 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25641 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25642 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25643 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25644
b7c08a66
RM
25645 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25646 last change.
25647
b2e1c562
RM
25648 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25649 [_IO_MTSAFE_IO].
25650 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25651 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25652 New macros.
25653
c75ccd4c
RM
25654 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25655 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25656 rather than -D_IO_MTSAFE_IO conditionally.
25657 * stdio-common/Makefile (CPPFLAGS): Likewise.
25658 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25659 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25660 Use $(libio-mtsafe).
25661 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25662 of -D_IO_MTSAFE_IO.
25663 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25664 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25665 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25666 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25667 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25668 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25669 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25670 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25671 (CFLAGS-fread_u_chk.c): Likewise.
25672 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25673 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25674 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25675 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25676 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25677 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25678 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25679 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25680 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25681
25682 * libio/Makefile: Test [$(libc-reentrant) = yes]
25683 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25684
25685 * Makeconfig
25686 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25687 * sysdeps/pthread/configure: File removed.
25688 * sysdeps/pthread/Makeconfig: New file.
25689 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25690 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25691
d9195db8
GB
256922012-08-16 Gary Benson <gbenson@redhat.com>
25693
25694 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25695 unmapping the first object in a namespace.
25696
86466cd9
RM
256972012-08-16 Roland McGrath <roland@hack.frob.com>
25698
25699 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25700 (__internal_setnetgrent): ... this. Add internal_function to
25701 definition. Add libc_hidden_def.
25702 (setnetgrent): Update caller.
25703 (internal_endnetgrent): Renamed to ...
25704 (__internal_endnetgrent): ... this. Add internal_function to
25705 definition. Add libc_hidden_def.
25706 (endnetgrent): Update caller.
25707 (internal_getnetgrent_r): Renamed to ...
25708 (__internal_getnetgrent_r): ... this. Add internal_function to
25709 definition. Add libc_hidden_def.
25710 (__getnetgrent_r): Update caller.
25711 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25712
c3c8283c
JM
257132012-08-16 Joseph Myers <joseph@codesourcery.com>
25714
25715 * stdlib/longlong.h: Update from GCC.
25716
db1ee0a8
RM
257172012-08-16 Roland McGrath <roland@hack.frob.com>
25718
25719 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25720 on _QL, which is set by umul_ppmm but never used.
25721 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25722 variables, which are set by GMP macros but never used.
25723 * stdio-common/_itowa.c (_itowa): Likewise.
25724 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25725 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25726
30f69637
CD
257272012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25728
25729 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25730 struct La_sh_regs is not constant.
25731 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25732 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25733 and struct La_sparc64_regs are not constant.
25734
93a78ac4
JM
257352012-08-16 Joseph Myers <joseph@codesourcery.com>
25736
25737 * sysdeps/unix/sysv/linux/kernel-features.h
25738 (__ASSUME_POSIX_TIMERS): Remove.
25739 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25740 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25741 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25742 Make code unconditional.
25743 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25744 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25745 Make code unconditional.
25746 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25747 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25748 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25749 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25750 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25751 Make code unconditional.
25752 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25753 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25754 (__libc_missing_posix_timers): Remove.
25755
dd924cd7
RM
257562012-08-15 Roland McGrath <roland@hack.frob.com>
25757
4b4f2771
RM
25758 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25759 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25760
601c888b
RM
25761 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25762
176790a7
RM
25763 * elf/dl-sym.c: Include <stdlib.h>.
25764
329bc018
RM
25765 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25766 constants, which avoids warnings in 32-bit builds.
25767
e04e272d
RM
25768 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25769 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25770
952bf94a
RM
25771 * misc/lseek.c: File moved to ...
25772 * io/lseek.c: ... here.
25773
7c99b50a
RM
25774 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25775
dd924cd7
RM
25776 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25777 shifting LEN more than 31 bits at once.
25778
b3f479a8
LD
257792012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25780
25781 [BZ #14195]
8c4ae0d4
RM
25782 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25783 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25784 * string/test-strncasecmp.c (check1): Renamed to...
25785 (bz12205): ...this.
25786 (bz14195): Add new testcase for two empty input strings and N > 0.
25787 (test_main): Call new testcase, adapt for renamed function.
25788
9c55864e
AJ
257892012-08-15 Andreas Jaeger <aj@suse.de>
25790
25791 [BZ #14090]
25792 * crypt/md5test2.c: New test, based on test supplied by Serge
25793 Belyshev <belyshev@depni.sinp.msu.ru>.
25794 * crypt/Makefile (xtests): Add md5test-giant..
25795 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25796
02dcb6c5
PE
257972012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25798
25799 [BZ #14090]
25800 * crypt/md5.c (md5_process_block): Don't assume the buffer
25801 length is less than 2**32.
25802 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25803 length is less than 2**64.
25804
a3f95dcc
RM
258052012-08-15 Roland McGrath <roland@hack.frob.com>
25806
be75d758
RM
25807 * string/str-two-way.h: Include <sys/param.h>.
25808 (MAX): Macro removed.
25809
7312ca90
RM
25810 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25811 Move #define and #undef of memmove to just before and after
25812 including <string.h>.
25813
9a0a5486
RM
25814 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25815 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25816 and after including <string.h>. Move declarations of
25817 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25818 to before #include "string/memmove.c".
25819
67cc348d
RM
25820 * include/dirent.h: Declare __getdirentries.
25821
a3f95dcc
RM
25822 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25823 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25824
ca98e171
MF
258252012-08-14 Mike Frysinger <vapier@gentoo.org>
25826
25827 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25828 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25829 * sysdeps/i386/configure: Regenerated.
25830 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25831 STABS_CURRENT_FILE, and STABS_FUN.
25832 (END): Remove call to STABS_FUN_END.
25833 (STABS_CURRENT_FILE1): Delete.
25834 (STABS_CURRENT_FILE): Likewise.
25835 (STABS_FUN): Likewise.
25836 (STABS_FUN_END): Likewise.
25837 (STABS_FUN2): Likewise.
25838 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25839 * sysdeps/x86_64/configure: Regenerated.
25840
5908bf46
RM
258412012-08-14 Roland McGrath <roland@hack.frob.com>
25842
25843 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25844 * elf/dl-lookup.c: Likewise.
5908bf46 25845
f2c05b9e
JM
258462012-08-14 Joseph Myers <joseph@codesourcery.com>
25847
25848 * sysdeps/unix/sysv/linux/kernel-features.h
25849 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25850 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25851 unconditionally.
25852 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25853 unconditionally.
25854 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25855 condition on __ASSUME_CLONE_THREAD_FLAGS.
25856
e11f5155
AJ
258572012-08-14 Andreas Jaeger <aj@suse.de>
25858
25859 * sysdeps/i386/fpu/libm-test-ulps: Update.
25860
51a9ba86
MK
258612012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25862
2fdd4f78
AJ
25863 * include/atomic.h (atomic_exchange_and_add): Split into ...
25864 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25865 New atomic macros.
51a9ba86 25866
ba6cba9e
MT
258672012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25868
25869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25870
42443a47
JL
258712012-08-13 Jeff Law <law@redhat.com>
25872
25873 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25874 null byte in the output string.
25875
121dce05
JM
258762012-08-10 Joseph Myers <joseph@codesourcery.com>
25877
25878 * sysdeps/unix/sysv/linux/kernel-features.h
25879 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25880 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25881 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25882 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25883 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25884 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25885 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25886
bf51f568
JL
258872012-08-09 Jeff Law <law@redhat.com>
25888
25889 [BZ #13939]
25890 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25891 When avoid_arena is set, don't retry in the that arena. Pick the
25892 next one, whatever it might be.
25893 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25894 (arena_lock): Pass in new parameter to arena_get2.
25895 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25896 arena_get2.
25897 (__libc_malloc): Unify retrying after main arena failure with
25898 __libc_memalign version.
25899 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25900
f85fa270
L
259012012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25902
25903 [BZ #14166]
25904 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25905 to __redirect_strstr.
25906 (__strstr_sse42): Use typeof __redirect_strstr.
25907 (__strstr_ia32): Likewise.
25908 (__libc_strstr): New prototype.
25909 (strstr): Renamed to ...
25910 (__libc_strstr): This.
25911 (strstr): New strong alias of __libc_strstr.
25912 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25913 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25914 __redirect_time.
25915 Include <time.h>.
25916 (__libc_time): New prototype.
25917 (time_ifunc): Replace time with __libc_time.
25918 (time): New strong alias and hidden definition of __libc_time.
25919 (__GI_time): Remove strong alias.
25920 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25921 Include <stddef.h>.
25922 (memmove): Redefined to __redirect_memmove.
25923 (__memmove_sse2): Use typeof __redirect_memmove.
25924 (__memmove_ssse3): Likewise.
25925 (__memmove_ssse3_back): Likewise.
25926 (__libc_memmove): New prototype.
25927 (memmove): Renamed to ...
25928 (__libc_memmove): This.
25929 (memmove): New strong alias of __libc_memmove.
25930
33b4a91e
MS
259312012-08-08 Mark Salter <msalter@redhat.com>
25932
25933 * elf/elf.h
25934 (R_MN10300_TLS_GD): Define.
25935 (R_MN10300_TLS_LD): Likewise.
25936 (R_MN10300_TLS_LDO): Likewise.
25937 (R_MN10300_TLS_GOTIE): Likewise.
25938 (R_MN10300_TLS_IE): Likewise.
25939 (R_MN10300_TLS_LE): Likewise.
25940 (R_MN10300_TLS_DTPMOD): Likewise.
25941 (R_MN10300_TLS_DTPOFF): Likewise.
25942 (R_MN10300_TLS_TPOFF): Likewise.
25943 (R_MN10300_SYM_DIFF): Likewise.
25944 (R_MN10300_ALIGN): Likewise.
25945 (R_MN10300_NUM): Update.
25946
b36137f1
JM
259472012-08-08 Joseph Myers <joseph@codesourcery.com>
25948
25949 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25950 Remove.
25951
cdd915fd
RM
259522012-08-08 Roland McGrath <roland@hack.frob.com>
25953
a2433aac
RM
25954 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25955
cdd915fd
RM
25956 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25957 sysdeps/unix -> sysdeps/posix move.
25958 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25959
bf9b740a
AM
259602012-08-07 Allan McRae <allan@archlinux.org>
25961
25962 [BZ #14303]
25963 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25964 (SUNOS_CPP): Likewise.
25965 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25966 not found.
25967 (open_input): Call CPP using execvp.
25968
93df14ee
JM
259692012-08-07 Joseph Myers <joseph@codesourcery.com>
25970
25971 * sysdeps/unix/sysv/linux/kernel-features.h
25972 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25973 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25974 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25975 (__ASSUME_WAITID_SYSCALL): Likewise.
25976 * sysdeps/unix/sysv/linux/dl-execstack.c
25977 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25978 code unconditional.
25979 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25980 conditional code.
25981 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25982 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25983 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25984 code.
25985 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25986 unconditional.
25987 [__ASSUME_WAITID_SYSCALL]: Likewise.
25988 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25989
d34689de
RM
259902012-08-07 Roland McGrath <roland@hack.frob.com>
25991
a281decc
RM
25992 * sysdeps/unix/closedir.c: Renamed to ...
25993 * sysdeps/posix/closedir.c: ... here.
25994 * sysdeps/unix/dirfd.c: Renamed to ...
25995 * sysdeps/posix/dirfd.c: ... here.
25996 * sysdeps/unix/dirstream.h: Renamed to ...
25997 * sysdeps/posix/dirstream.h: ... here.
25998 * sysdeps/unix/fdopendir.c: Renamed to ...
25999 * sysdeps/posix/fdopendir.c: ... here.
26000 * sysdeps/unix/opendir.c: Renamed to ...
26001 * sysdeps/posix/opendir.c: ... here.
26002 * sysdeps/unix/readdir.c: Renamed to ...
26003 * sysdeps/posix/readdir.c: ... here.
26004 * sysdeps/unix/readdir_r.c: Renamed to ...
26005 * sysdeps/posix/readdir_r.c: ... here.
26006 * sysdeps/unix/rewinddir.c: Renamed to ...
26007 * sysdeps/posix/rewinddir.c: ... here.
26008 * sysdeps/unix/seekdir.c: Renamed to ...
26009 * sysdeps/posix/seekdir.c: ... here.
26010 * sysdeps/unix/telldir.c: Renamed to ...
26011 * sysdeps/posix/telldir.c: ... here.
26012 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26013 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26014 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26015 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26016
22895b47
RM
26017 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26018 * bits/fcntl.h: ... here.
26019
707a53b6
RM
26020 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26021 not 0.
26022 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26023 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26024 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26025 (struct flock): Move l_start, l_len to the beginning.
26026 Use __pid_t for l_pid.
26027 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26028 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26029 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26030 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26031 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26032 [__USE_LARGEFILE64] (struct flock64): New type.
26033 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26034
f0bd3e25
RM
26035 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26036 * bits/dirent.h: ... here.
26037
d34689de
RM
26038 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26039 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26040
6dad2c06
JM
260412012-08-07 Joseph Myers <joseph@codesourcery.com>
26042
26043 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26044 Change from 2.6.0 to 2.6.16.
26045 * sysdeps/unix/sysv/linux/configure: Regenerated.
26046 * sysdeps/unix/sysv/linux/kernel-features.h
26047 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26048 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26049 version.
26050 (__ASSUME_UTIMES): Likewise.
26051 (__ASSUME_CLONE_STOPPED): Remove.
26052 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26053 architectures, not kernel version.
26054 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26055 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26056 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26057 (__ASSUME_WAITID_SYSCALL): Likewise.
26058 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26059 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26060 * README: State 2.6.16 as minimum Linux kernel version. Do not
26061 refer to older versions.
26062
03af9520
RM
260632012-08-06 Roland McGrath <roland@hack.frob.com>
26064
8e49df1d
RM
26065 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26066 Define alphasort64 as an alias.
26067 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26068 Define versionsort64 as an alias.
26069 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26070 Define scandir64 as an alias.
26071 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26072 Define scandirat64 as an alias.
26073 * dirent/alphasort64.c (alphasort64):
26074 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26075 * dirent/versionsort64.c: Likewise.
26076 * dirent/scandir64.c: Likewise.
26077 * dirent/scandirat64.c: Likewise.
26078 * sysdeps/wordsize-64/alphasort.c: File removed.
26079 * sysdeps/wordsize-64/alphasort64.c: File removed.
26080 * sysdeps/wordsize-64/scandir.c: File removed.
26081 * sysdeps/wordsize-64/scandir64.c: File removed.
26082 * sysdeps/wordsize-64/scandirat.c: File removed.
26083 * sysdeps/wordsize-64/scandirat64.c: File removed.
26084 * sysdeps/wordsize-64/versionsort.c: File removed.
26085 * sysdeps/wordsize-64/versionsort64.c: File removed.
26086 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26087 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26088 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26089 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26090 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26091 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26092 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26093 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26094
26095 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26096 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26097 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26098 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26099 [defined __arch64__ || defined __sparcv9]
26100 (__INO_T_MATCHES_INO64_T): New macro.
26101 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26102 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26103 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26104 * sysdeps/unix/sysv/linux/bits/dirent.h
26105 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26106 (_DIRENT_MATCHES_DIRENT64): New macro.
26107
03af9520
RM
26108 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26109 Define lockf64 as an alias.
26110 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26111 Define fseeko64 as an alias.
26112 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26113 Define ftello64 as an alias.
26114 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26115 Define _IO_fgetpos64 and fgetpos64 as aliases.
26116 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26117 Define _IO_fsetpos64 and fsetpos64 as aliases.
26118 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26119 Conditionalize body on this.
26120 * libio/fseeko64.c: Likewise.
26121 * libio/ftello64.c: Likewise.
26122 * libio/iofgetpos64.c: Likewise.
26123 * libio/iofsetpos64.c: Likewise.
26124 * sysdeps/wordsize-64/lockf.c: File removed.
26125 * sysdeps/wordsize-64/lockf64.c: File removed.
26126 * sysdeps/wordsize-64/fseeko.c: File removed.
26127 * sysdeps/wordsize-64/fseeko64.c: File removed.
26128 * sysdeps/wordsize-64/ftello.c: File removed.
26129 * sysdeps/wordsize-64/ftello64.c: File removed.
26130 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26131 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26132 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26133 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26134 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26135 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26136 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26137 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26138 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26139 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26140 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26141 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26142 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26143 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26144
26145 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26147 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26149 [defined __arch64__ || defined __sparcv9]
26150 (__OFF_T_MATCHES_OFF64_T): New macro.
26151 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26152 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26154 (__OFF_T_MATCHES_OFF64_T): New macro.
26155
c5757acd
L
261562012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26157
26158 * stdlib/secure-getenv.c (__secure_getenv): Replace
26159 GLIBC_2_16 with GLIBC_2_17.
26160
3a31811e
L
261612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26162
26163 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26164 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26165
faa2bccb
DM
261662012-08-03 David S. Miller <davem@davemloft.net>
26167
26168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26169
85fe1997
JM
261702012-08-03 Joseph Myers <joseph@codesourcery.com>
26171
26172 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26173 Remove.
26174 (__ASSUME_CORRECT_SI_PID): Likewise.
26175 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26176 (__ASSUME_TMPFS_NAME): Likewise.
26177 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26178 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26179 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26180 (HAVE_AUX_SECURE): Make definition unconditional.
26181 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26182 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26183
4f75b7a0
RM
261842012-08-03 Roland McGrath <roland@hack.frob.com>
26185
26186 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26187 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26188 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26189 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26190 __eloop_threshold instead of SYMLOOP_MAX.
26191
26192 * sysdeps/generic/eloop-threshold.h: New file.
26193 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26194 of MAXSYMLINKS.
26195 * elf/chroot_canon.c (chroot_canon): Likewise.
26196
7aab07e4
JM
261972012-08-03 Joseph Myers <joseph@codesourcery.com>
26198
26199 [BZ #13717]
26200 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26201 Change to 2.6.0 everywhere.
26202 * sysdeps/unix/sysv/linux/configure: Regenerated.
26203 * sysdeps/unix/sysv/linux/kernel-features.h
26204 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26205 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26206 kernel versions.
26207 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26208 (__ASSUME_FUTEX_REQUEUE): Remove.
26209 (__ASSUME_STATFS64): Define unconditionally.
26210 (__ASSUME_AT_SECURE): Likewise.
26211 (__ASSUME_CORRECT_SI_PID): Likewise.
26212 (__ASSUME_TGKILL): Define without depending on kernel version for
26213 i386.
26214 (__ASSUME_UTIMES): Likewise.
26215 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26216 kernel version.
26217 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26218 (__ASSUME_TMPFS_NAME): Likewise.
26219 * README: Update reference to Linux kernel versions.
26220
b67e9372
MP
262212012-08-02 Marek Polacek <polacek@redhat.com>
26222
1f529f7d 26223 [BZ# 14150]
b67e9372
MP
26224 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26225 libc_cv_asm_type_prefix with %.
26226 * configure: Regenerated.
d2441631
RM
26227 * include/libc-symbols.h: Remove comment about
26228 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26229 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26230 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26231 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26232 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26233 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26234 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26235 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26236 * elf/tst-unique2mod1.c: Likewise.
26237 * elf/tst-unique1mod2.c: Likewise.
26238 * elf/tst-unique1mod1.c: Likewise.
26239 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26240 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26241 Replace ASM_TYPE_DIRECTIVE with .type.
26242 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26243 * sysdeps/i386/sysdep.h: Likewise.
26244 * sysdeps/x86_64/sysdep.h: Likewise.
26245 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26247 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 26248 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
26249 * sysdeps/powerpc/powerpc32/sysdep.h:
26250 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
26251 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26252 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26253 * sysdeps/i386/fpu/e_powf.S: Likewise.
26254 * sysdeps/i386/fpu/e_expl.S: Likewise.
26255 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26256 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26257 * sysdeps/i386/fpu/e_pow.S: Likewise.
26258 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26259 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26260 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26261 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26262 * sysdeps/i386/fpu/e_log2.S: Likewise.
26263 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26264 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26265 * sysdeps/i386/fpu/e_powl.S: Likewise.
26266 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26267 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26268 * sysdeps/i386/fpu/e_logl.S: Likewise.
26269 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26270 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26271 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26272 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26273 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26274 * sysdeps/i386/fpu/e_log.S: Likewise.
26275 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26276 * sysdeps/i386/fpu/e_logf.S: Likewise.
26277 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26278 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26279 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26280 * sysdeps/i386/fpu/e_log10.S: Likewise.
26281 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26282 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26283 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26284 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26285 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26286 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26287 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26288 * sysdeps/i386/i686/strtok.S: Likewise.
26289 * sysdeps/i386/i386-mcount.S: Likewise.
26290 * sysdeps/i386/strtok.S: Likewise.
26291 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26292 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26293 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26294 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26295 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26296 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26297 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26298 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26299 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26300 * sysdeps/x86_64/_mcount.S: Likewise.
26301 * sysdeps/x86_64/strtok.S: Likewise.
26302 * sysdeps/sh/_mcount.S: Likewise.
26303
2747bf9a
RM
263042012-08-01 Roland McGrath <roland@hack.frob.com>
26305
26306 * libio/iofopen.c: Include <fcntl.h>.
26307 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26308 (_IO_fopen64, fopen64): Define as aliases.
26309 * libio/iofopen64.c: Include <fcntl.h>.
26310 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26311 Conditionalize body on this.
26312 * sysdeps/wordsize-64/iofopen.c: File removed.
26313 * sysdeps/wordsize-64/iofopen64.c: File removed.
26314
3fb791b8
MP
263152012-08-01 Marek Polacek <polacek@redhat.com>
26316
26317 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26318 Use dlfcn directly instead of a variable.
26319 (binfmt-subdir): Do not define.
26320 (dlfcn): Likewise.
26321
a9f1039f
JM
263222012-08-01 Joseph Myers <joseph@codesourcery.com>
26323
23bddc06
JM
26324 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26325 Remove all definitions.
26326 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26327 <kernel-features.h>.
26328 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26329 (miss_F_GETOWN_EX): Remove all definitions.
26330 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26331 macro definition.
26332 [!__ASSUME_FCNTL64]: Remove conditional code.
26333 [__ASSUME_FCNTL64]: Make code unconditional.
26334 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26335 <kernel-features.h>.
26336 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26337 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26338 (lockf64) [__NR_fcntl64]: Make code unconditional.
26339 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26340
a9f1039f
JM
26341 * sysdeps/unix/sysv/linux/kernel-features.h
26342 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26343 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26344 Make code unconditional.
26345 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26346 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26348 [__NR_vfork]: Make code unconditional.
26349 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26350 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26352 [__NR_vfork]: Make code unconditional.
26353 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26354 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26355
09c0ee5f
RM
263562012-08-01 Roland McGrath <roland@hack.frob.com>
26357
48aec5b9
RM
26358 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26359 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26360
cd97c966
RM
26361 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26362 Define mkstemp64 as an alias.
3f55550c
RM
26363 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26364 Define mkstemps64 as an alias.
cd97c966
RM
26365 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26366 Define mkostemp64 as an alias.
b8625cfc
RM
26367 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26368 Define mkostemps64 as an alias.
cd97c966
RM
26369 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26370 Conditionalize body on this.
26371 * misc/mkostemp64.c: Likewise.
b8625cfc 26372 * misc/mkostemps64.c: Likewise.
3f55550c 26373 * misc/mkstemps64.c: Likewise.
cd97c966
RM
26374 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26375 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26376 * sysdeps/wordsize-64/mkostemp.c: File removed.
26377 * sysdeps/wordsize-64/mkstemp.c: File removed.
26378 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26379 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26380 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26381 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26382
09c0ee5f
RM
26383 [BZ #14138]
26384 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26385 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26386 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26387 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26388
26389 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26390 compat_symbol macros from <shlib-compat.h> rather than the underlying
26391 default_symbol_version and symbol_version macros, so that DEFAULT
26392 lines in shlib-versions are respected.
26393 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26394
7e66ee51
FW
263952012-08-01 Florian Weimer <fweimer@redhat.com>
26396
26397 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26398 Declare with warn_unused_result.
26399 (setgid, setregid, setegid, setresgid): Likewise.
26400 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26401 Likewise.
26402 * WUR-REPORT: Remove set*id functions.
26403
d2a54255
PT
264042012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26405
26406 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26407
7ecdb005
RM
264082012-07-31 Roland McGrath <roland@hack.frob.com>
26409
b4180a5e 26410 [BZ #10191]
789bd351
RM
26411 * include/sys/socket.h (__libc_accept, __libc_accept4):
26412 Add attribute_hidden.
26413 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26414
40ce302d
RM
26415 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26416 use of PTR_MANGLE.
26417 * inet/getnetgrent_r.c (setup): Likewise.
26418
7ecdb005
RM
26419 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26420
e2eabb2c
DM
264212012-07-31 David S. Miller <davem@davemloft.net>
26422
26423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26424
d0419dbf
JM
264252012-07-31 Joseph Myers <joseph@codesourcery.com>
26426
26427 [BZ #13629]
26428 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26429 value between 1.0 and 2.0 and smaller part has absolute value less
26430 than 1.0.
26431 * math/s_clog10.c (__clog10): Likewise.
26432 * math/s_clog10f.c (__clog10f): Likewise.
26433 * math/s_clog10l.c (__clog10l): Likewise.
26434 * math/s_clogf.c (__clogf): Likewise.
26435 * math/s_clogl.c (__clogl): Likewise.
26436 * math/libm-test.inc (clog_test): Add more tests.
26437 (clog10_test): Likewise.
26438 * sysdeps/i386/fpu/libm-test-ulps: Update.
26439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26440
2bc13872
FW
264412012-07-31 Florian Weimer <fweimer@redhat.com>
26442
26443 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26444 Exit with zero in case no suitable GID is found, and write a
26445 message to standard error.
26446
bea9b193
RM
264472012-07-30 Roland McGrath <roland@hack.frob.com>
26448
26449 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26450 rather than to 1.
26451 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26452 (MAXPATHLEN): Removed.
26453 (NOGROUP, NODEV): New macros.
26454 (setbit, clrbit, isset, isclr): New macros.
26455 (howmany, roundup, powerof2): New macros.
26456 (DEV_BSIZE): New macro.
26457
26458 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26459 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26460
26461 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26462 definition on [!__NO_LONG_DOUBLE_MATH].
26463
26464 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26465 PTR_MANGLE and PTR_DEMANGLE.
26466
26467 * socket/accept4.c (accept4): Rename to __libc_accept4.
26468 Define accept4 as a weak alias.
26469
26470 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26471 on [_DIRENT_HAVE_D_TYPE].
26472 * io/ftw.c (ftw_dir): Likewise.
26473
26474 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26475
26476 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26477
26478 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26479 Use the BSD numbers rather than the arbitrary ones we had.
26480 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26481 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26482 (SIGXCPU, SIGXFSZ): New macros.
26483 (_NSIG): Now 32.
26484
26485 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26486 initializer on [_LIBC_REENTRANT].
26487
26488 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26489 definitions inside [_POSIX_MAPPED_FILES].
26490
26491 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26492
26493 * dirent/opendir.c: Include <fcntl.h>.
26494
26495 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26496 (__libc_getspecific): Likewise.
26497 (__libc_key_create): Likewise.
26498
26499 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26500 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26501 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26502 (tmpfile64): Define as alias.
26503 * sysdeps/wordsize-64/tmpfile.c: File removed.
26504 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26505 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26506 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26507
26508 * stdio-common/vfscanf.c: Include <stdbool.h>.
26509 * nss/makedb.c: Likewise.
26510 * stdio-common/_i18n_number.h: Likewise.
26511 * argp/argp-help.c: Likewise.
26512 * posix/wordexp.c: Likewise.
26513 * sysdeps/posix/spawni.c: Likewise.
26514 * nss/nss_files/files-initgroups.c: Likewise.
26515 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26516 * nss/nss_files/files-initgroups.c: Likewise.
26517 * nss/nss_db/db-netgrp.c: Likewise.
26518 * nss/nss_db/db-initgroups.c: Likewise.
26519 * io/fchmodat.c: Include <sys/stat.h>.
26520
26521 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26522 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26523
26524 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26525 [HAVE_MMAP].
26526
26527 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26528 Add multiple inclusion protection.
26529
e5abc686
DM
265302012-07-27 David S. Miller <davem@davemloft.net>
26531
26532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26533
815e6fa3
GB
265342012-07-27 Gary Benson <gbenson@redhat.com>
26535
26536 [BZ #14298]
26537 * elf/rtld.c: Include <stap-probe.h>.
26538 (dl_main): Added static probes "init_start" and "init_complete".
26539 * elf/dl-load.c: Include <stap-probe.h>.
26540 (lose): Take new parameter "nsid".
26541 Added static probe "map_failed".
26542 (_dl_map_object_from_fd): Pass namespace id to lose.
26543 Added static probe "map_start".
26544 (open_verify): Pass namespace id to lose.
26545 * elf/dl-open.c: Include <stap-probe.h>.
26546 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26547 and "reloc_complete".
26548 * elf/dl-close.c: Include <stap-probe.h>.
26549 (_dl_close_worker): Added static probes "unmap_start" and
26550 "unmap_complete".
26551 * elf/rtld-debugger-interface.txt: New file documenting the above.
26552
9f98c16c
RM
265532012-07-26 Roland McGrath <roland@hack.frob.com>
26554
26555 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26556 rather than a string variable.
26557 * sunrpc/rpc_main.c (h_output): Likewise.
26558 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26559
f3c22df3
PT
265602012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26561
26562 * inet/check_native.c: New file.
26563
3129cfc6
JM
265642012-07-26 Joseph Myers <joseph@codesourcery.com>
26565
da865e95
JM
26566 [BZ #13629]
26567 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26568 if larger part has absolute value 1.0.
26569 * math/s_clog10.c (__clog10): Likewise.
26570 * math/s_clog10f.c (__clog10f): Likewise.
26571 * math/s_clog10l.c (__clog10l): Likewise.
26572 * math/s_clogf.c (__clogf): Likewise.
26573 * math/s_clogl.c (__clogl): Likewise.
26574 * math/libm-test.inc (clog_test): Add more tests.
26575 (clog10_test): Likewise.
26576 * sysdeps/i386/fpu/libm-test-ulps: Update.
26577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26578
3129cfc6
JM
26579 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26580 (pltexit): Likewise.
26581 (La_regs): Likewise.
26582 (La_retval): Likewise.
26583 (int_retval): Likewise.
26584 Update #error for removed macros to refer only to definitions in
26585 tst-audit.h.
26586 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26587 macro.
26588 (pltexit): Likewise.
26589 (La_regs): Likewise.
26590 (La_retval): Likewise.
26591 (int_retval): Likewise.
26592 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26593 macro.
26594 (pltexit): Likewise.
26595 (La_regs): Likewise.
26596 (La_retval): Likewise.
26597 (int_retval): Likewise.
26598 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26599 macro.
26600 (pltexit): Likewise.
26601 (La_regs): Likewise.
26602 (La_retval): Likewise.
26603 (int_retval): Likewise.
26604 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26605 macro.
26606 (pltexit): Likewise.
26607 (La_regs): Likewise.
26608 (La_retval): Likewise.
26609 (int_retval): Likewise.
26610 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26611 macro.
26612 (pltexit): Likewise.
26613 (La_regs): Likewise.
26614 (La_retval): Likewise.
26615 (int_retval): Likewise.
26616 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26617 macro.
26618 (pltexit): Likewise.
26619 (La_regs): Likewise.
26620 (La_retval): Likewise.
26621 (int_retval): Likewise.
26622 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26623 macro definitions in tst-audit.h.
26624 * sysdeps/i386/tst-audit.h: New file.
26625 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26626 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26627 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26628 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26629 * sysdeps/sh/tst-audit.h: Likewise.
26630 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26631 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26632 * sysdeps/x86_64/tst-audit.h: Likewise.
26633
bfc07087
AJ
266342012-07-26 Andreas Jaeger <aj@suse.de>
26635
b1b2aaf8
AJ
26636 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26637 ptrace.
26638
26639 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26640 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26641 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26642 PTRACE_O_MASK.
26643 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26644 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26645 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26646
bfc07087
AJ
26647 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26648 value.
26649
26650 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26651 _sigsys.
26652 (si_call_addr, si_syscall, si_arch): Define new macro.
26653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26654 _sigsys.
26655 (si_call_addr, si_syscall, si_arch): Define new marcro.
26656 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26657 _sigsys.
26658 (si_call_addr, si_syscall, si_arch): Define new macro.
26659 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26660 _sigsys.
26661 (si_call_addr, si_syscall, si_arch): Define new macro.
26662
89b4b02f
JM
266632012-07-25 Joseph Myers <joseph@codesourcery.com>
26664
26665 [BZ #13717]
26666 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26667 Change to 2.4.21 where previously 2.4.1.
26668 * sysdeps/unix/sysv/linux/configure: Regenerated.
26669 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26670 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26671 Linux kernel version.
26672 (__ASSUME_STD_AUXV): Remove.
26673 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26674 kernel version.
26675 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26676 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26677 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26678 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26679 (__ASSUME_NETLINK_SUPPORT): Likewise.
26680 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26681 (__no_netlink_support): Remove conditional definition.
26682 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26683 Remove.
26684 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26685 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26686 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26687 (if_nameindex_ioctl): Remove.
26688 (if_nameindex_netlink): Do not handle __no_netlink_support.
26689 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26690 code.
26691 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26692 Remove conditional code.
26693 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26694 code.
26695 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26696 unconditional.
26697 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26698 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26699 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26700 Remove.
26701 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26702 [!__ASSUME_STD_AUXV]: Remove conditional code.
26703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26704 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26705 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26707 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26708 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26709 code.
26710 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26712 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26713 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26714 conditional code.
26715 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26717 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26718 code.
26719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26720 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26721 conditional code.
26722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26723 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26724 code unconditional.
26725 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26726 conditional code.
26727 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26728 unconditional.
26729 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26730 conditional code.
26731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26732 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26733 unconditional.
26734 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26735 conditional code.
26736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26737 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26738 code unconditional.
26739 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26740 conditional code.
26741 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26742 unconditional.
26743 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26744 conditional code.
26745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26746 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26747 code unconditional.
26748 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26749 conditional code.
26750 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26751 unconditional.
26752 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26753 conditional code.
26754
842a39cd
AS
267552012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26756
26757 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26758 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26759 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26760 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26761 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26762 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26763 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26764 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26765 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26766 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26767 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26768 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26769 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26770 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26771 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26772 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26773 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26774 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26775 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26777 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26778 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26779 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26780
84b3fd84
FW
267812012-07-25 Florian Weimer <fweimer@redhat.com>
26782
26783 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26784 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26785 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26786 Introduce __libc_secure_getenv.
0c7936d5
FW
26787 * stdlib/Versions (2.17): Add secure_getenv
26788 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26789 * stdlib/secure-getenv.c: Rename __secure_getenv to
26790 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26791 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26792 * stdlib/tst-secure-getenv.c: New.
26793 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26794 * manual/startup.texi (Environment Access): Document
26795 secure_getenv.
84b3fd84
FW
26796 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26797 __libc_secure_getenv.
26798 * inet/ruserpass.c (ruserpass): Likewise.
26799 * malloc/mtrace.c (mtrace): Likewise.
26800 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26801 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26802 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26803 * sysdeps/posix/tempname.c: Likewise. Evaluate
26804 HAVE_SECURE_GETENV.
26805 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26806 __secure_getenv to __libc_secure_getenv.
84b3fd84 26807 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26809 Likewise.
26810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26811 Likewise.
26812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26819
56e49b71
JM
268202012-07-25 Joseph Myers <joseph@codesourcery.com>
26821
26822 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26823 (struct La_i86_retval): Likewise.
26824 (struct La_x86_64_regs): Likewise.
26825 (struct La_x86_64_retval): Likewise.
26826 (struct La_x32_regs): Likewise.
26827 (struct La_x32_retval): Likewise.
26828 (struct La_ppc32_regs): Likewise.
26829 (struct La_ppc32_retval): Likewise.
26830 (struct La_ppc64_regs): Likewise.
26831 (struct La_ppc64_retval): Likewise.
26832 (struct La_sh_regs): Likewise.
26833 (struct La_sh_retval): Likewise.
26834 (struct La_s390_32_regs): Likewise.
26835 (struct La_s390_32_retval): Likewise.
26836 (struct La_s390_64_regs): Likewise.
26837 (struct La_s390_64_retval): Likewise.
26838 (struct La_sparc32_regs): Likewise.
26839 (struct La_sparc32_retval): Likewise.
26840 (struct La_sparc64_regs): Likewise.
26841 (struct La_sparc64_retval): Likewise.
26842 (struct audit_ifaces): Remove architecture-specific pltenter and
26843 pltexit members.
26844 * sysdeps/i386/ldsodefs.h: New file.
26845 * sysdeps/powerpc/ldsodefs.h: Likewise.
26846 * sysdeps/s390/ldsodefs.h: Likewise.
26847 * sysdeps/sh/ldsodefs.h: Likewise.
26848 * sysdeps/sparc/ldsodefs.h: Likewise.
26849 * sysdeps/x86_64/ldsodefs.h: Likewise.
26850
354691b7
MP
268512012-07-25 Marek Polacek <polacek@redhat.com>
26852
26853 [BZ #6808]
26854 * math/libm-test.inc (yn_test): Add another test.
26855 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26856 to ERANGE when the result is +-Inf.
26857 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26858 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26859 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26860 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26861
bf9e2071
JM
268622012-07-24 Joseph Myers <joseph@codesourcery.com>
26863
26864 * conform/data/time.h-data (NULL): Use macro-constant. Require
26865 equal to 0.
26866 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26867 clock_t.
26868 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26869
57633811
TS
268702012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26871
26872 * configure.in <sysdeps resolving>: Correct printing
26873 Implies_before.
26874 * configure: Regenerate.
26875
c23c33b0
TS
268762012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26877
26878 * math/w_ilogb.c: Include <limits.h>.
26879 * math/w_ilogbl.c: Likewise.
26880
b5982523
JM
268812012-07-20 Joseph Myers <joseph@codesourcery.com>
26882
26883 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26884 va_copy. Document allowing for unavailable va_copy only as
26885 pre-C99 compatibility.
26886 * manual/string.texi (Copying and Concatenation): Use va_copy
26887 instead of __va_copy in concat example.
26888
ac4ea442
PT
268892012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26890
26891 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26892 (__sendto): Use create_address_port. Initialize APORT and deallocate
26893 it if not null.
26894
f98eafbd
PT
26895 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26896 with O_NOLINK passed to __file_name_lookup.
26897
898c7aab
PT
26898 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26899 with O_NOLINK passed to __file_name_lookup.
26900
0ced335a
PT
26901 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26902 negative N or less than NGIDS.
26903
b3404dbd
PT
26904 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26905 type to string_t. Set ERANGE as errno and return it if NAME is not big
26906 enough. Use memcpy instead of strncpy.
26907
0f48659e
JM
269082012-07-20 Joseph Myers <joseph@codesourcery.com>
26909
26910 * elf/Makefile (check-data): Remove.
26911 (localplt.data): New vpath directive.
26912 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26913 instead of $(check-data).
26914 * scripts/data/localplt-generic.data: Move to ...
26915 * sysdeps/generic/localplt.data: ... here.
26916 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26917 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26918 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26920 ... here.
26921 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26923 ... here.
26924 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26926 ... here.
26927 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26929 ... here.
26930 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26932 ... here.
26933 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26935 ... here.
26936
d37cbdaa
AZ
269372012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26938
26939 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26940 PPC32 and PPC64 files.
26941 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26942 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26943
46f85fc2
AK
269442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26945
26946 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26947 __makecontext_ret to ...
26948 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26949 ... here and call exit if uc_link is NULL. New file.
26950 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26951 __makecontext_ret.S.
26952 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26953 __makecontext_ret to ...
26954 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26955 ... here and call exit if uc_link is NULL. New file.
26956 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26957 __makecontext_ret.S.
26958
08f43f9b
AK
269592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26960
26961 * elf/elf.h (R_390_IRELATIVE): New definition.
26962 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26963 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26964 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26966 (elf_machine_lazy_rel): Likewise.
26967 * sysdeps/s390/dl-irel.h: New file.
26968 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26969 * sysdeps/s390/s390-64/memset.S: New asm code.
26970 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26971 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26972 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26973 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26974 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26975 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26976 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26977 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26978 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26979 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26980 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26981 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26982 * sysdeps/s390/s390-32/memset.S: New asm code.
26983 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26984
3b05db33
MP
269852012-07-17 Marek Polacek <polacek@redhat.com>
26986
26987 [BZ #14349]
26988 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26989 * sysdeps/s390/s390-64/configure.in: Likewise.
26990 * sysdeps/sparc/configure.in: Likewise.
26991 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26992 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26993 * sysdeps/i386/configure.in: Likewise.
26994 * sysdeps/x86_64/configure.in: Likewise.
26995 * sysdeps/sh/configure.in: Likewise.
26996 * sysdeps/s390/s390-32/configure: Regenerated.
26997 * sysdeps/s390/s390-64/configure: Likewise.
26998 * sysdeps/x86_64/configure: Likewise.
26999 * sysdeps/sh/configure: Likewise.
27000 * sysdeps/powerpc/powerpc64/configure: Likewise.
27001 * sysdeps/powerpc/powerpc32/configure: Likewise.
27002 * sysdeps/sparc/configure: Likwise.
27003 * sysdeps/i386/configure: Likewise.
27004
a66877c6
MP
27005 * elf/dl-open.c: Comment fixes.
27006
cfc82fd8
JM
270072012-07-17 Joseph Myers <joseph@codesourcery.com>
27008
bd29910a
JM
27009 * Makefile [CXX] (check-data): Remove.
27010 [CXX] (c++-types.data): New vpath directive.
27011 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27012 vpath. Do not allow for C++ type data being missing.
27013 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27014 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27015 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27016 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27017 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27018 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27019 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27021 ... here.
27022 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27024 ... here.
27025 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27027 ... here.
27028 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27030 ... here.
27031 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27033 ... here.
27034 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27036 ... here.
27037 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27039 ... here.
27040 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27042
cfc82fd8
JM
27043 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27044 definitions to architecture-specific files.
27045 (TLS_IE): Likewise.
27046 (TLS_LD): Likewise.
27047 (TLS_GD): Likewise.
27048 * sysdeps/i386/tls-macros.h: New file.
27049 * sysdeps/powerpc/tls-macros.h: Likewise.
27050 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27051 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27052 * sysdeps/sh/tls-macros.h: Likewise.
27053 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27054 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27055 * sysdeps/x86_64/tls-macros.h: Likewise.
27056
f7db3170
TS
270572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27058
07cbfc23
TS
27059 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27060 zero value for regular exit case.
27061
f7db3170
TS
27062 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27063 (__start_context): Preserve zero value for regular exit case.
27064
dc97c227
TS
270652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27066 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27067
27068 * manual/setjmp.texi (setcontext): Clarify normal process
27069 termination when uc_link is the null pointer.
27070 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27071 exit call.
27072
d0cd7d02
AS
270732012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27074
27075 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27076 preprocessor. Test for each exception mask separately.
27077
dd318934
AJ
270782012-07-16 Andreas Jaeger <aj@suse.de>
27079
27080 * po/ru.po: Update from translation team.
27081
8048311a
JM
270822012-07-15 Joseph Myers <joseph@codesourcery.com>
27083
27084 * conform/data/string.h-data (NULL): Use macro-constant. Require
27085 equal to 0.
27086 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27087 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27088 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27089 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27091
b637d46e
AJ
270922012-07-13 Andreas Jaeger <aj@suse.de>
27093
27094 * po/fr.po: Update from translation team.
27095
541428fe
MP
270962012-07-12 Marek Polacek <polacek@redhat.com>
27097
27098 [BZ #14173]
27099 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27100 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27101 loop condition.
27102
ec332e94
JM
271032012-07-12 Joseph Myers <joseph@codesourcery.com>
27104
27105 [BZ #13717]
27106 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27107 Change to 2.4.1 where previously 2.4.0.
27108 * sysdeps/unix/sysv/linux/configure: Regenerated.
27109 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27110 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27111 version.
27112 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27113 (__ASSUME_AT_CLKTCK): Remove.
27114 (__ASSUME_AT_PAGESIZE): Likewise.
27115 (__ASSUME_AT_XID): Likewise.
27116 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27117 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27118 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27119 unconditionally.
27120 (HAVE_AUX_PAGESIZE): Likewise.
27121 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27122 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27123 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27124
7b6e99be
JB
271252012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27126
27127 [BZ #14307]
27128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27129 the temporary buffer used to invoke __gethostbyname2_r,
27130 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27131 host_data / struct gaih_addrtuple.
27132 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27133 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27134 header file nss/nsswitch.h.
27135 * nss/nsswitch.h (global scope): Add definition of implementation
27136 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27137 resolv/nss_dns/dns-host.c).
27138
608404eb
AJ
271392012-07-11 Andreas Jaeger <aj@suse.de>
27140
27141 * po/fr.po: Update from translation team.
27142
71220aca
AJ
27143 * po/sv.po: Update from translation team
27144 * po/fr.po: Another update from translation team.
27145
28cfe843
AZ
271462012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27147
27148 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27149 for subnormals or multiply small sinh result by itself.
27150 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27152
6b90f981
DM
271532012-07-11 David S. Miller <davem@davemloft.net>
27154
27155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27156
c6825772
AS
271572012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27158
27159 [BZ #14347]
27160 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27161 (INTERNAL_MARK): Shift it here.
27162
7b8e0d49
MP
271632012-07-10 Marek Polacek <polacek@redhat.com>
27164
27165 [BZ #14151]
27166 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27167 libc_cv_asm_global_directive with .globl.
27168 * configure: Regenerated.
27169 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27170 with .globl.
27171 * sysdeps/i386/configure: Regenerated.
27172 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27173 with .globl.
27174 * sysdeps/x86_64/configure: Regenerated.
27175 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27176 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27177 * elf/tst-unique2mod2.c: Likewise.
27178 * elf/tst-unique2mod1.c: Likewise.
27179 * elf/tst-unique1mod2.c: Likewise.
27180 * elf/tst-unique1mod1.c: Likewise.
27181 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27182 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27183 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27184 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27185 * sysdeps/mach/sysdep.h: Likewise.
27186 * sysdeps/i386/sysdep.h: Likewise.
27187 * sysdeps/i386/i386-mcount.S: Likewise.
27188 * sysdeps/x86_64/_mcount.S: Likewise.
27189 * sysdeps/x86_64/sysdep.h: Likewise.
27190 * sysdeps/sh/_mcount.S: Likewise.
27191 * sysdeps/sh/sysdep.h: Likewise.
27192 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27193 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27194 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27195 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27196 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27197 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27198 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27199 * locale/localeinfo.h: Likewise.
27200 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27201 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27202
6c55cda3
RM
272032012-07-09 Roland McGrath <roland@hack.frob.com>
27204
27205 [BZ #14336]
27206 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27207 system".
27208 * manual/message.texi (The Uniforum approach): Likewise.
27209 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27210 (glibc iconv Implementation): Likewise.
27211
638a572e
JM
272122012-07-09 Joseph Myers <joseph@codesourcery.com>
27213
27214 [BZ #14337]
27215 * math/s_clog.c (__clog): Avoid scaling a value down where that
27216 could result in underflow.
27217 * math/s_clog10.c (__clog10): Likewise.
27218 * math/s_clog10f.c (__clog10f): Likewise.
27219 * math/s_clog10l.c (__clog10l): Likewise.
27220 * math/s_clogf.c (__clogf): Likewise.
27221 * math/s_clogl.c (__clogl): Likewise.
27222 * math/libm-test.inc (clog_test): Add more tests.
27223 (clog10_test): Likewise.
27224 * sysdeps/i386/fpu/libm-test-ulps: Update.
27225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27226
261f4859
AS
272272012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27228
0abaf3e4
AS
27229 [BZ #14283]
27230 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27231 by 7 not 8 to examine high bit of fractional part.
27232
261f4859
AS
27233 [BZ #14042]
27234 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27235 for call to __mcount_internal.
27236 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27237 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27238 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27239
f17ac40d
JM
272402012-07-06 Joseph Myers <joseph@codesourcery.com>
27241
9ad63c23
JM
27242 [BZ #14154]
27243 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27244 approximation for values within 0x1p-13f of an odd multiple of
27245 pi/4.
27246 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27247 exception. Add more tests.
27248 * sysdeps/i386/fpu/libm-test-ulps: Update.
27249
f17ac40d
JM
27250 [BZ #6778]
27251 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27252 inputs and return -1 for them. Do not check for +Inf in case not
27253 reachable for +Inf.
27254 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27255 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27256 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27257 and return -1 for them. Do not check for +Inf in case not
27258 reachable for +Inf.
27259 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27260 define.
27261 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27262 and return -1 for them. Do not check for +Inf in case not
27263 reachable for +Inf.
27264 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27265 spurious underflow.
27266 * sysdeps/i386/fpu/libm-test-ulps: Update.
27267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27268
fb21f89b
MF
272692012-07-06 Mike Frysinger <vapier@gentoo.org>
27270
27271 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27272
cdfe2c5e
JM
272732012-07-05 Joseph Myers <joseph@codesourcery.com>
27274
27275 [BZ #14157]
27276 [BZ #14331]
27277 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27278 could result in spurious underflow. Scale down values above
27279 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27280 * math/s_csqrtf.c (__csqrtf): Likewise.
27281 * math/s_csqrtl.c (__csqrtl): Likewise.
27282 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27283 spurious underflow.
27284 * sysdeps/i386/fpu/libm-test-ulps: Update.
27285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27286
70d35b67
AS
272872012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27288
704bc459
AS
27289 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27290 xopen-msg.sed.
27291 * catgets/xopen-msg.awk: New file.
27292 * catgets/xopen-msg.sed: Removed.
27293
70d35b67
AS
27294 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27295 po2text.sed.
27296 * intl/po2test.awk: New file.
27297 * intl/po2test.sed: Removed.
27298
ca61cf32
JM
272992012-07-04 Joseph Myers <joseph@codesourcery.com>
27300
27301 [BZ #14328]
27302 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27303 or multiply small sinh result by itself.
27304 * math/s_ctanf.c (__ctanf): Likewise.
27305 * math/s_ctanh.c (__ctanh): Likewise.
27306 * math/s_ctanhf.c (__ctanhf): Likewise.
27307 * math/s_ctanhl.c (__ctanhl): Likewise.
27308 * math/s_ctanl.c (__ctanl): Likewise.
27309 * math/libm-test.inc (ctan_test_tonearest): New function.
27310 (ctan_test_towardzero): Likewise.
27311 (ctan_test_downward): Likewise.
27312 (ctan_test_upward): Likewise.
27313 (ctanh_test_tonearest): Likewise.
27314 (ctanh_test_towardzero): Likewise.
27315 (ctanh_test_downward): Likewise.
27316 (ctanh_test_upward): Likewise.
27317 (main): Call these new functions.
27318 * sysdeps/i386/fpu/libm-test-ulps: Update.
27319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27320
ca48a46a
MF
273212012-07-03 Mike Frysinger <vapier@gentoo.org>
27322
27323 * .gitignore: Delete /ports entry.
27324
9d63d37d
AJ
273252012-07-03 Andreas Jaeger <aj@suse.de>
27326
27327 * po/bg.po: Update from translation team.
27328 * po/cs.po: Likewise.
27329 * po/de.po: Likewise.
27330 * po/hr.po: Likewise.
27331 * po/nl.pl: Likewise.
27332 * po/pl.po: Likewise.
27333 * po/vi.po: Likewise.
27334
370ca3d2
JM
273352012-07-03 Joseph Myers <joseph@codesourcery.com>
27336
95f5a9a8
JM
27337 * Makeconfig [!+link] (+link-before-libc): New variable.
27338 [!+link] (+link-after-libc): Likewise.
27339 [!+link] (+link-tests): Likewise.
27340 [!+link] (+link): Define in terms of $(+link-before-libc) and
27341 $(+link-after-libc).
27342 [!+link-static] (+link-static-before-libc): New variable.
27343 [!+link-static] (+link-static-after-libc): Likewise.
27344 [!+link-static] (+link-static-tests): Likewise.
27345 [!+link-static] (+link-static): Define in terms of
27346 $(+link-static-before-libc) and $(+link-static-after-libc).
27347 [build-shared] (link-libc-before-gnulib): New variable.
27348 [build-shared] (link-libc-tests): Likewise.
27349 [build-shared] (link-libc): Define in terms of
27350 $(link-libc-before-gnulib).
27351 [!build-shared] (link-libc-tests): New variable.
27352 (link-libc-static-tests): New variable.
27353 [!gnulib] (gnulib-arch): New variable.
27354 [!gnulib] (gnulib-tests): Likewise.
27355 [!gnulib] (static-gnulib-arch): Likewise.
27356 [!gnulib] (static-gnulib-tests): Likewise.
27357 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27358 Define with "=" instead of ":=".
27359 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27360 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27361 * Rules (binaries-all-notests): New variable.
27362 (binaries-all-tests): Likewise.
27363 (binaries-static-notests): Likewise.
27364 (binaries-static-tests): Likewise.
27365 (binaries-all): Define using $(binaries-all-notests) and
27366 $(binaries-all-tests).
27367 (binaries-static): Define using $(binaries-static-notests) and
27368 $(binaries-static-tests).
27369 (binaries-shared-tests): New variable.
27370 (binaries-shared-notests): Likewise.
27371 (binaries-shared): Remove variable.
27372 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27373 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27374 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27375 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27376 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27377 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27378 * elf/Makefile (sln-modules): New variable.
27379 (extra-objs): Add $(sln-modules:=.o).
27380 (ldconfig-modules): Add static-stubs.
27381 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27382 * elf/static-stubs.c: New file.
27383
7a845b2c
JM
27384 [BZ #14283]
27385 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27386 by 7 not 8 to examine high bit of fractional part. Use volatile
27387 variables when splitting into final array of floats if
27388 __FLT_EVAL_METHOD__ != 0.
27389 * math/libm-test.inc (cos_test): Add another test.
27390 (sin_test): Likewise.
27391 * sysdeps/i386/fpu/libm-test-ulps: Update.
27392
e2283f38
JM
27393 [BZ #14273]
27394 * math/libm-test.inc (cosh_test): Add more tests.
27395
370ca3d2
JM
27396 * version.h (RELEASE): Set to "development".
27397 (VERSION): Set to "2.16.90".
27398
ee9247c3
CD
273992012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27400
27401 * NEWS: Update copyright. Remove last-updated date.
27402 Mention math library bug fixes and timezone data changes.
27403 * README: Mention GNU/Hurd, x32, and HPPA support status.
27404
4648c381
TS
274052012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27406
27407 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27408
aac78a43
AJ
274092012-06-27 Andreas Jaeger <aj@suse.de>
27410
27411 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27412
ed3dbfad
AJ
274132012-06-25 Andreas Jaeger <aj@suse.de>
27414
27415 * sysdeps/s390/fpu/libm-test-ulps: Update.
27416
4d0ee855
AS
274172012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27418 Thomas Schwinge <thomas@codesourcery.com>
27419
27420 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27421 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27422 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27423 fanotify_mark.
27424
af1bce34
TS
274252012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27426
a9fa33ba
TS
27427 * sysdeps/mach/start.c: Remove file.
27428 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27429 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27430 * sysdeps/sh/init-first.c: Likewise.
27431
58f902b8
TS
27432 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27433 registers for frame unwinding purposes, add CFI directives.
27434 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27435 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27436 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27437 Likewise.
27438
1518f58b
TS
27439 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27440 __fortify_fail returning.
27441 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27442
db9b5059
TS
27443 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27444 sysdeps/sh/____longjmp_chk.S.
27445 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27446 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27447 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27448 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27449
967705fe
TS
27450 * sysdeps/sh/abort-instr.h: New file.
27451 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27452 process in case exit returns.
27453
a9def8c4
TS
27454 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27455 initialize the GOT register before use.
27456
2a649725
TS
27457 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27458 calculation of ARGC > 4.
27459
af1bce34
TS
27460 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27461 meaningful names to some local labels.
27462
d230f50a
KK
274632012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27464 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27465
27466 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27467 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27468 (__arch_compare_and_exchange_val_16_acq): Likewise.
27469 (__arch_compare_and_exchange_val_32_acq): Likewise.
27470 (atomic_exchange_and_add): Fix gUSA sequence.
27471 (atomic_add): Likewise.
27472 (atomic_add_negative): Likewise.
27473 (atomic_add_zero): Likewise.
27474 (atomic_bit_test_set): Likewise.
27475
0479b305
AS
274762012-06-22 Andreas Schwab <schwab@redhat.com>
27477
27478 [BZ #13579]
27479 * include/link.h (struct link_map): Add l_free_initfini.
27480 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27481 l_initfini.
27482 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27483 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27484 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27485 set.
27486
0e3933b9
CD
274872012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27488
27489 * configure.in: Use AC_LANG_SOURCE.
27490 * configure: Regenerate.
27491
4248b1b1
RM
274922012-06-22 Roland McGrath <roland@hack.frob.com>
27493
27494 * configure.in (libc_cv_localstatedir): New substituted variable.
27495 * configure: Regenerated.
27496 * config.make.in (localstatedir): New variable, substituted from
27497 libc_cv_localstatedir.
27498 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27499 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27500 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27501 * sysdeps/gnu/configure: Regenerated.
27502
006dd861
JL
275032012-06-21 Jeff Law <law@redhat.com>
27504
27505 [BZ #14277]
27506 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27507 free. Simplify list management for _LIBC case.
27508
79662d42
JM
275092012-06-21 Joseph Myers <joseph@codesourcery.com>
27510
b7abb4bf
JM
27511 [BZ #14273]
27512 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27513 Clear sign bit of 64-bit integer value before comparing against
27514 overflow value.
27515
79662d42
JM
27516 * sysdeps/mach/configure: Regenerated.
27517
1f150908
L
275182012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27519
27520 [BZ #14278]
27521 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27522
28363bbf
JL
275232012-06-21 Jeff Law <law@redhat.com>
27524
27525 [BZ #13882]
27526 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27527 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 27528 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
27529 * elf/dl-open.c (dl_open_worker): Likewise.
27530
09615db4
CD
275312012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27532
27533 * scripts/list-sources.sh: Scan PORTS for translations.
27534 * po/libc.pot: Regenerated.
27535
2174c6dd
AJ
275362012-06-21 Andreas Jaeger <aj@suse.de>
27537
27538 [BZ #12194]
27539 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27540 warning.
27541 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27542 * bits/byteswap-16.h (__bswap_16): Likewise.
27543 * bits/byteswap.h (__bswap_constant_16): Likewise.
27544
3ee947b1
L
275452012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27546
27547 [BZ #14117]
a2f34833
L
27548 * sysdeps/i386/fpu_control.h: Removed.
27549 * sysdeps/x86_64/fpu_control.h: Moved to ...
27550 * sysdeps/x86/fpu_control.h: Here.
27551
3ee947b1
L
27552 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27553 (_FPU_SETCW): Likewise.
27554
ed1825f8
L
275552012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27556
25f1282a
L
27557 [BZ #14117]
27558 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27559 * sysdeps/x86/fpu/bits/mathinline.h: This.
27560 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27561
ed1825f8
L
27562 [BZ #14050]
27563 [BZ #14117]
27564 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27565 functions if __x86_64__ is defined.
27566
36d54b74
CLT
275672012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27568
27569 * string/endian.h: Add !__ASSEMBLER__ condition for including
27570 conversion interfaces.
27571
10285c21
JM
275722012-06-15 Joseph Myers <joseph@codesourcery.com>
27573
27574 [BZ #14241]
27575 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27576 of ABS(x) in calculating zero to negative powers other than odd
27577 integers.
27578 * math/libm-test.inc (pow_test): Add more tests.
27579
06c5abbd
AJ
275802012-06-15 Andreas Jaeger <aj@suse.de>
27581
27582 * manual/contrib.texi (Contributors): Update entry of Liubov
27583 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27584 Machado Filho.
27585
a3aeac40
CH
275862012-06-15 Cyril Hrubis <metan@ucw.cz>
27587
27588 * string/string.h: Add __wur to GNU version of strerror_r.
27589
49bdf4c1
L
275902012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27591
27592 [BZ #14229]
27593 * string/Makefile (tests): Add tst-strtok_r.
27594 * string/tst-strtok_r.c: New file.
27595 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27596 RAX_LP/RDX_LP on SAVE_PTR.
27597
834f9b8d
RM
275982012-06-14 Roland McGrath <roland@hack.frob.com>
27599
27600 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27601
75fa1921
JM
276022012-06-14 Joseph Myers <joseph@codesourcery.com>
27603
27604 * libm_test.inc (csqrt_test): Allow more spurious underflow
27605 exceptions.
27606 (j0_test): Likewise.
27607 (j1_test): Likewise.
27608 (y0_test): Likewise.
27609 (y1_test): Likewise.
27610
771766df
CD
276112012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27612
27613 * po/Makefile (libc.pot): Use UTF-8 charset.
27614
ceb9e56b
PP
276152012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27616
27617 [BZ #14210]
27618 Suppress sign-conversion warning from FD_SET.
27619 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27620 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27621 not unsigned long int.
27622 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27623
ddb28975
L
276242012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27625
27626 [BZ #14050]
27627 [BZ #14117]
27628 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27629 __extern_always_inline instead of __extern_inline.
27630 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27631 (__signbit): Likewise.
27632 (__signbitl): Support C++ namespace.
27633 (lrintf): New inline function.
27634 (lrint): Likewise.
27635 (llrintf): Likewise.
27636 (llrint): Likewise.
27637 (fmaxf): Likewise.
27638 (fmax): Likewise.
27639 (fminf): Likewise.
27640 (fmin): Likewise.
27641 (rint): Likewise.
27642 (rintf): Likewise.
27643 (ceil): Likewise.
27644 (ceilf): Likewise.
27645 (floor): Likewise.
27646 (floorf): Likewise.
27647 (nearbyint): Likewise.
27648 (nearbyintf): Likewise.
27649
d7b4fb26
TS
276502012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27651
27652 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27653 non-default versions.
27654
eb55f5c2
RM
276552012-06-11 Roland McGrath <roland@hack.frob.com>
27656
27657 [BZ #14218]
27658 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27659
366af02c
TS
276602012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27661
99ff6e5c
TS
27662 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27663 (FE_UPWARD, FE_DOWNWARD): Don't define.
27664 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27665 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27666
366af02c
TS
27667 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27668 reading it.
27669 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27670 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27671
793ea851
KK
276722012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27673
27674 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27675 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27676 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27677 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27678
a728a38f
L
276792012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27680
27681 [BZ #14117]
c08010c7
L
27682 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27683 * sysdeps/i386/fpu/Implies: New file.
27684 * sysdeps/x86_64/fpu/Implies: Likewise.
27685 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27686 * sysdeps/x86/fpu/bits/fenv.h: This.
27687
a728a38f
L
27688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27689 __SSE_MATH__.
27690
6e230d11
SP
276912012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27692
27693 [BZ #14134]
27694 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27695 character 0xffff that matches the last element of the
27696 conversion table.
27697
1b671feb
AZ
276982012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27699
27700 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27701 fmodl commit.
27702
6043738b
AZ
277032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27704
27705 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27706 values higher than 25.6283.
27707
34ae0b32
AZ
277082012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27709
27710 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27711 subnormal exponent extraction and add some __builtin_expect.
27712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27713 Fix for subnormal mantissa calculation.
27714
1214ec8f
MF
277152012-06-04 Mike Frysinger <vapier@gentoo.org>
27716
27717 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27718 cpu2 is -1 and errno is not ENOSYS.
27719
f3d1f93c
L
277202012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27721
27722 [BZ #14117]
0e4a3cd7
L
27723 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27724 * sysdeps/x86/bits/string.h: This.
27725 * sysdeps/x86_64/bits/string.h: Removed.
27726
6704c645
L
27727 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27728 if not compiling for x86-64, but compiling for >= i486.
27729
48495318
L
27730 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27731 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27732
14adcbfc
L
27733 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27734 New macro from Linux kernel 3.4.0.
27735 (FP_XSTATE_MAGIC2): Likewise.
27736 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27737 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27738 (struct _fpx_sw_bytes): New struct.
27739 (struct _xsave_hdr): Likewise.
27740 (struct _ymmh_state): Likewise.
27741 (struct _xstate): Likewise.
27742
68e408ab
L
27743 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27744 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27745 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27746 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27747 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27748 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27749
f3d1f93c
L
27750 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27751 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27752 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27753 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27754 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27755 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27756
d9dc34cd
TMQMF
277572012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27758
27759 [BZ #13743]
27760 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27761 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27762 (sysdep_headers): Include sys/platform/ppc.h.
27763 * sysdeps/powerpc/test-gettimebase.c: Test for
27764 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27765 * manual/Makefile (appendices): Include platform.texi.
27766 * manual/contrib.texi (Contributors): Update @node pointers.
27767 * manual/maint.texi (Maintenance): Likewise.
27768 (Platform): New node.
27769 * manual/platform.texi: New file. Document the new features.
27770
4af3879c
SP
277712012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27772 Jakub Jelinek <jakub@redhat.com>
27773
27774 [BZ #14188]
27775 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27776 where __builtin_expect is unavailable.
27777
2fd6ff13
DM
277782012-06-03 David S. Miller <davem@davemloft.net>
27779
27780 * stdlib/longlong.h: Updated from GCC.
27781
173f7220
AS
277822012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27783
27784 [BZ #14042]
27785 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27786 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27787 __mcount_internal.
27788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27789 (GLIBC_2.16): Likewise.
27790
f34a1c6f
L
277912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27792
27793 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27794
88a4576f
JM
277952012-06-01 Joseph Myers <joseph@codesourcery.com>
27796
ea32bcdd
JM
27797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27798 (default-abi): New variable.
27799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27800 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27801 variable.
27802 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27803 Likewise.
27804 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27805 Likewise.
27806 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27807 Likewise.
27808
88a4576f
JM
27809 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27810 definition. Document in comment.
27811
402fe938
DM
278122012-06-01 David S. Miller <davem@davemloft.net>
27813
27814 * stdlib/longlong.h: Updated from GCC.
27815
3553723f
L
278162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27817
27818 [BZ #14117]
3bd872c4
L
27819 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27820 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27821 sys/debugreg.h sys/io.h here.
27822 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27823 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27824 sys/io.h.
27825 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27826 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27827 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27828 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27829 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27830 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27831
3553723f
L
27832 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27833 Define only if __x86_64__ is defined.
27834
4842e4fe
JM
278352012-06-01 Joseph Myers <joseph@codesourcery.com>
27836
c5bfe3d5
JM
27837 [BZ #14048]
27838 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27839 Use int64_t for variable i.
27840 * math/libm-test.inc (fmod_test): Add more tests.
27841
4842e4fe
JM
27842 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27843 z computation is not scheduled after fetestexcept.
27844 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27845 Use math_force_eval instead of asm to ensure calculation scheduled
27846 before exception test.
27847 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27848 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27849
efb73488
AJ
278502012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27851
27852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27853 computation is not scheduled after fetestexcept.
27854
29bcce7c
L
278552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27856
27857 [BZ #14117]
27858 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27859 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27860
73a68f94
AZ
278612012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27862
27863 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27864 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27865
67b6df78
L
278662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27867
edf2933a 27868 [BZ #14117]
ebc64a18
L
27869 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27870 <bits/wordsize.h>.
27871 (__WCHAR_MIN): Support __WORDSIZE == 64.
27872 (__WCHAR_MAX): Likewise.
27873
edf2933a
L
27874 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27875 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27876
57c6cf40
L
27877 [BZ #14183]
27878 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27879 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27880
67b6df78 27881 [BZ #14117]
8eb6281e
L
27882 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27883 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27884
aac639f4
L
27885 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27886 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27887
67b6df78
L
27888 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27889 Defined to 1 if __x86_64__ isn't defined.
27890 (_STAT_VER_LINUX_OLD): New.
27891 (st_atime): Remove duplicate.
27892 (st_mtime): Likewise.
27893 (st_ctime): Likewise.
27894
1c2cfe81
DM
278952012-05-31 David S. Miller <davem@davemloft.net>
27896
27897 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27898 entries.
27899
5be8418c
AS
279002012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27901
e7725326
AS
27902 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27903 gen-libm-test.pl.
27904
5be8418c
AS
27905 [BZ #14132]
27906 * elf/dl-reloc.c: Include <_itoa.h>.
27907 (_dl_reloc_bad_type): Remove use of INTUSE.
27908 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27909 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27910 * stdio-common/psiginfo.c (psiginfo): Likewise.
27911 * stdio-common/psignal.c (psignal): Likewise.
27912 * string/strsignal.c (strsignal): Likewise.
27913 * include/signal.h (_sys_siglist): Declare hidden proto.
27914 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27915 INTVARDEF with libc_hidden_data_def.
27916 * stdio-common/itoa-udigits.c: Likewise.
27917 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27918 (_itoa_lower_digits_internal): Remove declaration.
27919 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27920 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27921 (_sys_sigabbrev_internal): Remove aliases.
27922 (_sys_siglist): Define hidden alias.
27923
507352f1
MT
279242012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27925
27926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27927 bits/sysctl.h.
27928
42bbb1c3
L
279292012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27930
27931 [BZ #14117]
6bd784b6
L
27932 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27933 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27934
8bca20f0
L
27935 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27936 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27937 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27938 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27939 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27940 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27941
f9e890a9
L
27942 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27943 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27944 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27945
471101a1
L
27946 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27947 with __addr.
27948 (insw): Likewise.
27949 (insl): Likewise.
27950 (outsb): Likewise.
27951 (outsw): Likewise.
27952 (outsl): Likewise.
27953
6451c862
L
27954 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27955 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27956 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27957
a254b8c9
L
27958 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27959 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27960 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27961 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27962 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27963 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27964
b8dfdd92
L
27965 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27966 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27967
578cd270
L
27968 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27969 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27970
de662f5f
L
27971 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27972 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27973 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27974
25653439
L
27975 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27976 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27977 to ...
27978 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27979
6bad24a0
L
27980 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27981 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27982 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27983
42bbb1c3
L
27984 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27985 for x86-64.
27986 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27987
2d10d547
JM
279882012-05-31 Joseph Myers <joseph@codesourcery.com>
27989
27990 * math/math.h (M_El): Use two more decimal places.
27991 (M_LOG2El): Likewise.
27992 (M_LOG10El): Likewise.
27993 (M_LN2l): Likewise.
27994 (M_LN10l): Likewise.
27995 (M_PIl): Likewise.
27996 (M_PI_2l): Likewise.
27997 (M_PI_4l): Likewise.
27998 (M_1_PIl): Likewise.
27999 (M_2_PIl): Likewise.
28000 (M_2_SQRTPIl): Likewise.
28001 (M_SQRT2l): Likewise.
28002 (M_SQRT1_2l): Likewise.
28003
f230c29b
DM
280042012-05-31 David S. Miller <davem@davemloft.net>
28005
28006 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28007 values between float registers.
28008 * sysdeps/sparc/sparc64/memset.S: Likewise.
28009 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28010
fed806c3
MF
280112012-05-31 Mike Frysinger <vapier@gentoo.org>
28012
28013 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28014 -D_FORTIFY_SOURCE=1.
28015 (CPPFLAGS-tst-longjmp_chk.c): Define.
28016 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28017 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28018 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28019 CFLAGS-tst-wchar-h.c.
28020
30917259
MP
280212012-05-31 Marek Polacek <polacek@redhat.com>
28022
28023 [BZ #14132]
28024 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28025 __endmntent_internal): Remove declaration.
28026 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28027 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28028 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28029
1c58d5dc
DM
280302012-05-30 David S. Miller <davem@davemloft.net>
28031
28032 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28033 (___Q_simulate_exceptions): Use real FP ops rather than writing
28034 into the %fsr.
28035 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28036 Likewise.
28037
7dc00e0d
L
280382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28039
28040 [BZ #14117]
0bd53985
L
28041 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28042 * sysdeps/x86/bits/xtitypes.h: This.
28043
3a257e66
L
28044 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28045 * sysdeps/x86/bits/wordsize.h: This.
28046
62f62904
L
28047 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28048 * sysdeps/x86/bits/huge_vall.h: This.
28049
404fe9d9
L
28050 * sysdeps/i386/bits/select.h: Removed.
28051 * sysdeps/x86_64/bits/select.h: Renamed to ...
28052 * sysdeps/x86/bits/select.h: This.
28053
d48d0446
L
28054 * sysdeps/i386/bits/setjmp.h: Removed.
28055 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28056 * sysdeps/x86/bits/setjmp.h: This.
28057
7dc00e0d
L
28058 * sysdeps/i386/bits/mathdef.h: Removed.
28059 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28060 * sysdeps/x86/bits/mathdef.h: This.
28061
03277f8f
AS
280622012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28063
28064 [BZ #14132]
28065 * include/sys/socket.h (__connect_internal)
28066 (__libc_sa_len_internal): Remove declaration.
28067 (__connect, __libc_sa_len): Declare hidden_proto.
28068 (SA_LEN): Remove use of INTUSE.
28069 * socket/connect.c: Add libc_hidden_def.
28070 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28071 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28072 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28073 alias.
28074 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28075 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28076 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28077 of adding _internal alias.
28078
13764867
L
280792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28080
28081 [BZ #14117]
6bd97696
L
28082 * sysdeps/i386/bits/link.h: Removed.
28083 * sysdeps/i386/bits/linkmap.h: Likewise.
28084 * sysdeps/x86_64/bits/link.h: Renamed to ...
28085 * sysdeps/x86/bits/link.h: This.
28086 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28087 * sysdeps/x86/bits/linkmap.h: This.
28088
f726f0bb
L
28089 * sysdeps/i386/bits/endian.h: Removed.
28090 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28091 * sysdeps/x86/bits/endian.h: This.
28092
13764867
L
28093 * sysdeps/i386/bits/byteswap.h: Removed.
28094 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28095 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28096 * sysdeps/x86/bits/byteswap.h: This.
28097 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28098 * sysdeps/x86/bits/byteswap-16.h: This.
28099 * sysdeps/i386/Implies: Add x86.
28100 * sysdeps/x86_64/Implies: Likewise.
28101
ae251b0b
DM
281022012-05-30 David S. Miller <davem@davemloft.net>
28103
28104 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28105 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28106 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28107 (FP_TRAPPING_EXCEPTIONS): Define.
28108 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28109 (FP_TRAPPING_EXCEPTIONS): Define.
28110 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28111 subnormals only when inexact has been signalled or underflow
28112 exceptions are enabled.
28113 (_FP_PACK_CANONICAL): Likewise.
28114
d5c90867
L
281152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28116
28117 [BZ #14183]
28118 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28119 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28120
63f1549e
RH
281212012-05-30 Richard Henderson <rth@twiddle.net>
28122
8d8f2279
RH
28123 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28124 with #ifndef NOT_IN_libc.
28125
63f1549e
RH
28126 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28127 marked to avoid plt entry.
28128
0ab0291b
L
281292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28130
28131 [BZ #14112]
28132 * Makeconfig (default-abi): New macro.
28133 (abi-includes): Likewise.
28134 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28135 $(abi-$(default-abi)-lib-soname) for soname if defined.
28136 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28137 abi-variants.
28138 * Makefile (installed-stubs): Likewise.
28139 * include/stubs-biarch.h: Removed.
28140 * scripts/lib-names.awk: Only handle one library at a time.
28141 * scripts/soversions.awk: Remove WORDSIZE support.
28142 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28143 entries.
28144 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28145 Removed.
28146 (syscall-list-default-condition): Likewise.
28147 (syscall-list-default-condition): Likewise.
28148 (syscall-list-includes): Likewise.
28149 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28150 syscall-list-* with abi-*. Handle undefined abi-variants.
28151 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28152 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28153 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28154 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28155 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28156 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28157 Removed.
28158 (syscall-list-32-options): Likewise.
28159 (syscall-list-32-condition): Likewise.
28160 (syscall-list-64-options): Likewise.
28161 (syscall-list-64-condition): Likewise.
28162 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28163 macro.
28164 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28165 Renamed to ...
28166 (abi-*): This.
28167 (abi-64-ld-soname): New macro.
28168 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28169 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28170 Renamed to ...
28171 (abi-*): This.
28172 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28173 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28174
4da0431d
JM
281752012-05-30 Joseph Myers <joseph@codesourcery.com>
28176
3a85279c
JM
28177 * sysdeps/unix/sysv/linux/kernel-features.h
28178 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28179 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28180 include <kernel-features.h>.
28181 [!__NR_ftruncate64]: Remove conditional code.
28182 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28183 [__NR_ftruncate64]: Make code unconditional.
28184 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28185 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28186 include <kernel-features.h>.
28187 [!__NR_ftruncate64]: Remove conditional code.
28188 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28189 [__NR_ftruncate64]: Make code unconditional.
28190 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28192 include <kernel-features.h>.
28193 [!__NR_ftruncate64]: Remove conditional code.
28194 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28195 [__NR_ftruncate64]: Make code unconditional.
28196 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28198 include <kernel-features.h>.
28199 [!__NR_ftruncate64]: Remove conditional code.
28200 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28201 [__NR_ftruncate64]: Make code unconditional.
28202 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28203
4da0431d
JM
28204 * configure.in (libc_cv_fpie): Weaken to a compile test using
28205 LIBC_TRY_CC_OPTION.
28206 * configure: Regenerated.
28207
11ef492c
AK
282082012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28209
28210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28214 Refreshed.
28215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28221 Refreshed.
28222
d66ef399
DM
282232012-05-27 David S. Miller <davem@davemloft.net>
28224
28225 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28226 (___Q_zero): New.
28227 (__Q_simulate_exceptions): Return void. Change to simulate
28228 exceptions by writing into the %fsr.
28229 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28230 (__Qp_handle_exceptions): Likewise.
28231 (numbers): Delete.
28232 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28233 __Qp_handle_exceptions.
28234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28235 __Qp_handle_exceptions.
28236 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28237 as unused and give dummy FP_RND_NEAREST initializer.
28238 (FP_INHIBIT_RESULTS): Define.
28239 (___Q_simulate_exceptions): Update declaration.
28240 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28241 formatting.
28242 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28243 as unused and give dummy FP_RND_NEAREST initializer.
28244 (__Qp_handle_exceptions): Update declaration.
28245 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28246 formatting.
28247
04fb54b5
TS
282482012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28249
28250 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28251 the temporary FPU control word.
28252 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28253 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28254 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28255 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28256 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28257 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28258 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28259 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28260 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28261 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28262 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28263
3f99608f
KK
282642012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28265
28266 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28267 fields.
28268
65a4de4e
CLT
282692012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28270
28271 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28272 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28273 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28274 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28275 Likewise.
28276 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28277 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28278 Likewise.
28279
15749d40
UD
282802012-05-27 Ulrich Drepper <drepper@gmail.com>
28281
28282 * po/h.po: Update from translation team.
28283
25dbcb27
AS
282842012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28285
3d3f8e55
AS
28286 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28287
25dbcb27
AS
28288 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28289 handling of denormals.
28290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28291 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28292 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28293 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28297 Likewise.
28298
7ad47a80 282992012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
28300
28301 [BZ #14152]
28302 * math/libm-test.inc (fma_test): Don't always expect underflow
28303 exception.
28304
9c6ea9fa
SP
283052012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28306
28307 [BZ #12416]
28308 * elf/tst-execstack.c: Include stackinfo.h.
28309 (do_test): Adjust test case to ensure that pthread_getattr_np
28310 behaviour remains the same after marking stack executable.
28311
a8239222
JM
283122012-05-25 Joseph Myers <joseph@codesourcery.com>
28313
28314 * sysdeps/unix/sysv/linux/kernel-features.h
28315 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28316 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28317 kernel-features.h.
28318 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28319 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28320 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28321 kernel-features.h.
28322 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28323 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28324
918b5606
L
283252012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28326
28327 * configure.in: Define the default includes to being none.
28328 * configure: Regenerated.
28329
3a097cc7
RM
283302012-05-25 Roland McGrath <roland@hack.frob.com>
28331
8422c9a5
RM
28332 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28333 * sysdeps/x86_64/setjmp.S: Likewise.
28334 * sysdeps/i386/bsd-setjmp.S: Likewise.
28335 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28336 * sysdeps/i386/setjmp.S: Likewise.
28337 * sysdeps/i386/__longjmp.S: Likewise.
28338 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28339 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28340
3a097cc7
RM
28341 * include/stap-probe.h: New file.
28342 * configure.in: Handle --enable-systemtap.
28343 * configure: Regenerated.
28344 * config.h.in (USE_STAP_PROBE): New #undef.
28345 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28346 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28347 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28348
21708942
JM
283492012-05-25 Joseph Myers <joseph@codesourcery.com>
28350
28351 [BZ #13717]
28352 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28353 to 2.4.0 where earlier.
28354 * sysdeps/unix/sysv/linux/configure: Regenerated.
28355 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28356 <kernel-features.h>.
28357 [__ASSUME_32BITUIDS]: Make code unconditional.
28358 [!__ASSUME_32BITUIDS]: Remove conditional code.
28359 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28360 <kernel-features.h>.
28361 [__ASSUME_32BITUIDS]: Make code unconditional.
28362 [!__ASSUME_32BITUIDS]: Remove conditional code.
28363 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28364 [__ASSUME_32BITUIDS]: Make code unconditional.
28365 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28366 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28367 <kernel-features.h>.
28368 [__ASSUME_32BITUIDS]: Make code unconditional.
28369 [!__ASSUME_32BITUIDS]: Remove conditional code.
28370 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28371 <kernel-features.h>.
28372 [__ASSUME_32BITUIDS]: Make code unconditional.
28373 [!__ASSUME_32BITUIDS]: Remove conditional code.
28374 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28375 <kernel-features.h>.
28376 [__ASSUME_32BITUIDS]: Make code unconditional.
28377 [!__ASSUME_32BITUIDS]: Remove conditional code.
28378 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28379 <kernel-features.h>.
28380 [__ASSUME_32BITUIDS]: Make code unconditional.
28381 [!__ASSUME_32BITUIDS]: Remove conditional code.
28382 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28383 <kernel-features.h>.
28384 [__ASSUME_32BITUIDS]: Make code unconditional.
28385 [!__ASSUME_32BITUIDS]: Remove conditional code.
28386 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28387 <kernel-features.h>.
28388 [__ASSUME_32BITUIDS]: Make code unconditional.
28389 [!__ASSUME_32BITUIDS]: Remove conditional code.
28390 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28391 <kernel-features.h>.
28392 [__ASSUME_32BITUIDS]: Make code unconditional.
28393 [!__ASSUME_32BITUIDS]: Remove conditional code.
28394 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28395 <kernel-features.h>.
28396 [__ASSUME_32BITUIDS]: Make code unconditional.
28397 [!__ASSUME_32BITUIDS]: Remove conditional code.
28398 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28399 <kernel-features.h>.
28400 [__ASSUME_32BITUIDS]: Make code unconditional.
28401 [!__ASSUME_32BITUIDS]: Remove conditional code.
28402 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28403 <kernel-features.h>.
28404 [__ASSUME_32BITUIDS]: Make code unconditional.
28405 [!__ASSUME_32BITUIDS]: Remove conditional code.
28406 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28407 <kernel-features.h>.
28408 [__NR_setresgid] (__setresgid): Do not declare.
28409 [__ASSUME_32BITUIDS]: Make code unconditional.
28410 [!__ASSUME_32BITUIDS]: Remove conditional code.
28411 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28412 <kernel-features.h>.
28413 [__NR_setresuid] (__setresuid): Do not declare.
28414 [__ASSUME_32BITUIDS]: Make code unconditional.
28415 [!__ASSUME_32BITUIDS]: Remove conditional code.
28416 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
28421 <kernel-features.h>.
28422 [__ASSUME_32BITUIDS]: Make code unconditional.
28423 [!__ASSUME_32BITUIDS]: Remove conditional code.
28424 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28425 <kernel-features.h>.
28426 [__ASSUME_32BITUIDS]: Make code unconditional.
28427 [!__ASSUME_32BITUIDS]: Remove conditional code.
28428 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28429 <kernel-features.h>.
28430 [__ASSUME_32BITUIDS]: Make code unconditional.
28431 [!__ASSUME_32BITUIDS]: Remove conditional code.
28432 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28433 <kernel-features.h>.
28434 [__ASSUME_32BITUIDS]: Make code unconditional.
28435 [!__ASSUME_32BITUIDS]: Remove conditional code.
28436 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28437 <kernel-features.h>.
28438 [__ASSUME_32BITUIDS]: Make code unconditional.
28439 [!__ASSUME_32BITUIDS]: Remove conditional code.
28440 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28441 <kernel-features.h>.
28442 [__ASSUME_32BITUIDS]: Make code unconditional.
28443 [!__ASSUME_32BITUIDS]: Remove conditional code.
28444 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28445 <kernel-features.h>.
28446 [__ASSUME_32BITUIDS]: Make code unconditional.
28447 [!__ASSUME_32BITUIDS]: Remove conditional code.
28448 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28449 <kernel-features.h>.
28450 [__ASSUME_32BITUIDS]: Make code unconditional.
28451 [!__ASSUME_32BITUIDS]: Remove conditional code.
28452 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28453 <kernel-features.h>.
28454 [__ASSUME_32BITUIDS]: Make code unconditional.
28455 [!__ASSUME_32BITUIDS]: Remove conditional code.
28456 * sysdeps/unix/sysv/linux/kernel-features.h
28457 (__ASSUME_SETRESUID_SYSCALL): Remove.
28458 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28459 (__ASSUME_32BITUIDS): Likewise.
28460 (__ASSUME_LDT_WORKS): Likewise.
28461 (__ASSUME_O_DIRECTORY): Likewise.
28462 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28463 architecture but not kernel version.
28464 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28465 (__ASSUME_MMAP2_SYSCALL): Likewise.
28466 (__ASSUME_STAT64_SYSCALL): Likewise.
28467 (__ASSUME_IPC64): Likewise.
28468 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28469 <kernel-features.h>.
28470 [__ASSUME_32BITUIDS]: Make code unconditional.
28471 [!__ASSUME_32BITUIDS]: Remove conditional code.
28472 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28473 <kernel-features.h>.
28474 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28475 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28476 132096]: Remove conditional code.
28477 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28478 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28479 <kernel-features.h>.
28480 [__ASSUME_32BITUIDS]: Make code unconditional.
28481 [!__ASSUME_32BITUIDS]: Remove conditional code.
28482 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28483 <kernel-features.h>.
28484 [__ASSUME_32BITUIDS]: Make code unconditional.
28485 [!__ASSUME_32BITUIDS]: Remove conditional code.
28486 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28487 <kernel-features.h>.
28488 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28489 unconditional.
28490 (__setresgid): Do not declare.
28491 [__ASSUME_32BITUIDS]: Make code unconditional.
28492 [!__ASSUME_32BITUIDS]: Remove conditional code.
28493 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28494 <kernel-features.h>.
28495 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28496 unconditional.
28497 (__setresuid): Do not declare.
28498 [__ASSUME_32BITUIDS]: Make code unconditional.
28499 [!__ASSUME_32BITUIDS]: Remove conditional code.
28500 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28501 <kernel-features.h>.
28502 [__ASSUME_32BITUIDS]: Make code unconditional.
28503 [!__ASSUME_32BITUIDS]: Remove conditional code.
28504 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28505 <kernel-features.h>.
28506 [__ASSUME_32BITUIDS]: Make code unconditional.
28507 [!__ASSUME_32BITUIDS]: Remove conditional code.
28508
a386f1cc
RH
285092012-05-25 Richard Henderson <rth@twiddle.net>
28510
28511 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28512 dl_hwcap to ifunc resolver.
28513 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28514 elf_ifunc_invoke.
28515 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28516 dl_hwcap to ifunc resolver.
28517 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28518
b6550497
JM
285192012-05-24 Joseph Myers <joseph@codesourcery.com>
28520
28521 [BZ #14153]
28522 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28523 for |x| <= 2**-26, not 2**-57.
28524 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28525 exception.
28526
b0bc23a1
JL
285272012-05-24 Jeff Law <law@redhat.com>
28528
28529 * stdio-common/Makefile (tests): Add bug25.
28530 * stdio-common/bug25.c: New test.
28531
347c92e9
L
285322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28533
28534 [BZ #13576]
28535 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28536 multiple of MALLOC_ALIGNMENT in size.
28537 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28538
6bcc8b3f
JM
285392012-05-24 Joseph Myers <joseph@codesourcery.com>
28540
28541 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28542 Require >= 256.
28543 (FILENAME_MAX): Use macro-int-constant.
28544 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28545 (_IOFBF): Use macro-int-constant.
28546 (_IOLBF): Likewise.
28547 (_IONBF): Likewise.
28548 (SEEK_CUR): Likewise.
28549 (SEEK_END): Likewise.
28550 (SEEK_SET): Likewise.
28551 (TMP_MAX): Likewise.
28552 (EOF): Use macro-int-constant. Require < 0.
28553 (NULL): Use macro-constant. Require == 0.
28554 (stdin): Require type to be FILE *.
28555 (stdout): Likewise.
28556 (stderr): Likewise.
28557 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28558 macro-int-constant.
28559 (EXIT_SUCCESS): Likewise.
28560 (NULL): Use macro-constant. Require == 0.
28561 (RAND_MAX): Use macro-int-constant.
28562 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28563 [C99-based standards] (strtof): Require function.
28564 [C99-based standards] (strtold): Likewise.
28565 [C99-based standards] (strtoll): Likewise.
28566 [C99-based standards] (strtoull): Likewise.
28567 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28568 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28569 [ISO || ISO99 || ISO11] (math.h): Likewise.
28570 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28571 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28572 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28573
d18ea0c5
AS
285742012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28575
28576 [BZ #14132]
56d25bb8
AS
28577 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28578 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28579 * intl/dgettext.c (DCGETTEXT): Likewise.
28580 * intl/gettext.c (DCGETTEXT): Likewise.
28581 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28582 * posix/regex_internal.h (gettext): Likewise.
28583 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28584 Remove declaration.
28585 * include/argz.h (__argz_count_internal)
28586 (__argz_stringify_internal): Remove declaration.
28587 (__argz_count, __argz_stringify): Declare hidden proto.
28588 * intl/dcgettext.c: Remove use of INTDEF.
28589 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28590 * string/argz-stringify.c: Likewise.
28591 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28592 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28593 Declare hidden proto.
d18ea0c5
AS
28594 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28595 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28596 Declare hidden proto.
28597 * include/stdio.h (__asprintf_internal): Don't declare.
28598 (__asprintf): Don't define as macro. Declare hidden proto.
28599 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28600 (__fsetlocking): Declare hidden proto.
28601 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28602 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28603 hidden proto.
28604 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28605 (_IO_setlinebuf): Remove use of INTUSE.
28606 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28607 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28608 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28609 Remove declaration.
28610 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28611 (_IO_do_flush): Remove use of INTUSE.
28612 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28613 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28614 (_IO_adjust_column, _IO_least_wmarker)
28615 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28616 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28617 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28618 (_IO_default_doallocate, _IO_wdefault_doallocate)
28619 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28620 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28621 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28622 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28623 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28624 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28625 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28626 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28627 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28628 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28629 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28630 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28631 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28632 proto.
28633 (_IO_flush_all_internal, _IO_adjust_column_internal)
28634 (_IO_default_uflow_internal, _IO_default_finish_internal)
28635 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28636 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28637 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28638 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28639 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28640 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28641 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28642 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28643 (_IO_file_close_internal, _IO_file_close_it_internal)
28644 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28645 (_IO_file_init_internal, _IO_file_attach_internal)
28646 (_IO_file_fopen_internal, _IO_file_read_internal)
28647 (_IO_file_sync_internal, _IO_file_seek_internal)
28648 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28649 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28650 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28651 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28652 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28653 (_IO_list_all_internal, _IO_link_in_internal)
28654 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28655 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28656 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28657 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28658 (_IO_do_write_internal, _IO_padn_internal)
28659 (_IO_getline_info_internal, _IO_getline_internal)
28660 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28661 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28662 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28663 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28664 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28665 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28666 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28667 with libc_hidden_ver, remove use of INTUSE.
28668 * libio/genops.c: Likewise.
28669 * libio/freopen.c: Likewise.
28670 * libio/freopen64.c: Likewise.
28671 * libio/iofclose.c: Likewise.
28672 * libio/iofdopen.c: Likewise.
28673 * libio/iofflush.c: Likewise.
28674 * libio/iofflush_u.c: Likewise.
28675 * libio/iofgets.c: Likewise.
28676 * libio/iofgets_u.c: Likewise.
28677 * libio/iofopen.c: Likewise.
28678 * libio/iofopncook.c: Likewise.
28679 * libio/iofread.c: Likewise.
28680 * libio/iofread_u.c: Likewise.
28681 * libio/ioftell.c: Likewise.
28682 * libio/iofwrite.c: Likewise.
28683 * libio/iogetline.c: Likewise.
28684 * libio/iogets.c: Likewise.
28685 * libio/iogetwline.c: Likewise.
28686 * libio/iopadn.c: Likewise.
28687 * libio/iopopen.c: Likewise.
28688 * libio/ioseekoff.c: Likewise.
28689 * libio/ioseekpos.c: Likewise.
28690 * libio/iosetbuffer.c: Likewise.
28691 * libio/iosetvbuf.c: Likewise.
28692 * libio/ioungetc.c: Likewise.
28693 * libio/ioungetwc.c: Likewise.
28694 * libio/iovdprintf.c: Likewise.
28695 * libio/iovsprintf.c: Likewise.
28696 * libio/iovsscanf.c: Likewise.
28697 * libio/memstream.c: Likewise.
28698 * libio/obprintf.c: Likewise.
28699 * libio/oldfileops.c: Likewise.
28700 * libio/oldiofclose.c: Likewise.
28701 * libio/oldiofdopen.c: Likewise.
28702 * libio/oldiofopen.c: Likewise.
28703 * libio/oldiopopen.c: Likewise.
28704 * libio/oldstdfiles.c: Likewise.
28705 * libio/putc.c: Likewise.
28706 * libio/setbuf.c: Likewise.
28707 * libio/setlinebuf.c: Likewise.
28708 * libio/stdfiles.c: Likewise.
28709 * libio/strops.c: Likewise.
28710 * libio/vasprintf.c: Likewise.
28711 * libio/vscanf.c: Likewise.
28712 * libio/vsnprintf.c: Likewise.
28713 * libio/vswprintf.c: Likewise.
28714 * libio/wfiledoalloc.c: Likewise.
28715 * libio/wfileops.c: Likewise.
28716 * libio/wgenops.c: Likewise.
28717 * libio/wmemstream.c: Likewise.
28718 * libio/wstrops.c: Likewise.
28719 * libio/__fpurge.c: Likewise.
28720 * libio/__fsetlocking.c: Likewise.
28721 * assert/assert.c: Likewise.
28722 * debug/fgets_chk.c: Likewise.
28723 * debug/fgets_u_chk.c: Likewise.
28724 * debug/fread_chk.c: Likewise.
28725 * debug/fread_u_chk.c: Likewise.
28726 * debug/gets_chk.c: Likewise.
28727 * debug/obprintf_chk.c: Likewise.
28728 * debug/vasprintf_chk.c: Likewise.
28729 * debug/vdprintf_chk.c: Likewise.
28730 * debug/vsnprintf_chk.c: Likewise.
28731 * debug/vsprintf_chk.c: Likewise.
28732 * malloc/mtrace.c: Likewise.
28733 * misc/error.c: Likewise.
28734 * misc/syslog.c: Likewise.
28735 * stdio-common/asprintf.c: Likewise.
28736 * stdio-common/fxprintf.c: Likewise.
28737 * stdio-common/getw.c: Likewise.
28738 * stdio-common/isoc99_fscanf.c: Likewise.
28739 * stdio-common/isoc99_scanf.c: Likewise.
28740 * stdio-common/isoc99_vfscanf.c: Likewise.
28741 * stdio-common/isoc99_vscanf.c: Likewise.
28742 * stdio-common/isoc99_vsscanf.c: Likewise.
28743 * stdio-common/printf-prs.c: Likewise.
28744 * stdio-common/printf_fp.c: Likewise.
28745 * stdio-common/printf_fphex.c: Likewise.
28746 * stdio-common/printf_size.c: Likewise.
28747 * stdio-common/putw.c: Likewise.
28748 * stdio-common/scanf.c: Likewise.
28749 * stdio-common/sprintf.c: Likewise.
28750 * stdio-common/tmpfile.c: Likewise.
28751 * stdio-common/vfprintf.c: Likewise.
28752 * stdio-common/vfscanf.c: Likewise.
28753 * stdlib/strfmon_l.c: Likewise.
28754 * sunrpc/openchild.c: Likewise.
28755 * sunrpc/xdr_stdio.c: Likewise.
28756 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28757 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28758
d6c33fda
RM
287592012-05-24 Roland McGrath <roland@hack.frob.com>
28760
c1487492
RM
28761 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28762
28763 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28764 in the third column, to generate for the shared library an IFUNC
28765 that uses _dl_vdso_vsym.
28766 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28767 * Makeconfig (object-suffixes-noshared): New variable.
28768
28769 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28770 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28771 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28772 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28773
d6c33fda
RM
28774 [BZ #14132]
28775 * include/sys/time.h (__gettimeofday): Remove macro.
28776 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28777 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28778 Remove INTDEF.
28779 (__gettimeofday): Add libc_hidden_def.
28780 (gettimeofday): Add libc_hidden_weak.
28781 * sysdeps/mach/gettimeofday.c: Likewise.
28782 * sysdeps/posix/gettimeofday.c: Likewise.
28783 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28784 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28785 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28786 (__gettimeofday_internal): Remove strong_alias.
28787 (__gettimeofday): Add libc_hidden_def.
28788 (gettimeofday): Add libc_hidden_weak.
28789 * sysdeps/unix/syscalls.list (gettimeofday):
28790 Remove __gettimeofday_internal alias.
28791
b5a2bbe6
L
287922012-05-24 Daniel Jacobowitz <drow@false.org>
28793 H.J. Lu <hongjiu.lu@intel.com>
28794
28795 [BZ #12495]
28796 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28797 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28798 (largebin_index_32_big): New.
28799 (largebin_index): Use it for 16-byte alignment.
28800 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28801 correction with front_misalign.
28802
cfba4fda
L
288032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28804
7f907421
L
28805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28807 Likewise.
28808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28809 Likewise.
28810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28811 Likewise.
28812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28813 Likewise.
28814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28815 Likewise.
28816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28817 Likewise.
28818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28819 Likewise.
28820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28821 Likewise.
28822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28823 Likewise.
28824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28825 Likewise.
28826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28827 Likewise.
28828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28829 Likewise.
28830
cfba4fda
L
28831 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28832 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28833
80bad0cc
JM
288342012-05-24 Joseph Myers <joseph@codesourcery.com>
28835
7a25eb06
JM
28836 [BZ #10846]
28837 [BZ #14036]
28838 * math/libm-test.inc (exp_test): Add test from bug 14036.
28839 (pow_test): Add test from bug 10846.
28840
795405f9
JM
28841 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28842 and other flags.
28843 (special_function): Do not include flags in test name.
28844 (parse_args): Likewise.
28845 * sysdeps/i386/fpu/libm-test-ulps: Update.
28846 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28847 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28848 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28850
80bad0cc
JM
28851 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28852 exceptions.
28853 * math/libm-test.inc ("Philosophy"): Update comment about
28854 exception testing.
28855 (UNDERFLOW_EXCEPTION): New macro.
28856 (UNDERFLOW_EXCEPTION_OK): Likewise.
28857 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28858 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28859 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28860 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28861 (INVALID_EXCEPTION_OK): Update value.
28862 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28863 (OVERFLOW_EXCEPTION_OK): Likewise.
28864 (IGNORE_ZERO_INF_SIGN): Likewise.
28865 (test_exceptions): Handle underflow exceptions.
28866 (acos_test): Update for underflow exception expectations.
28867 (cexp_test): Likewise.
28868 (clog_test): Likewise.
28869 (clog10_test): Likewise.
28870 (csqrt_test): Likewise.
28871 (ctan_test): Likewise.
28872 (ctanh_test): Likewise.
28873 (exp_test): Likewise.
28874 (exp10_test): Likewise.
28875 (exp2_test): Likewise.
28876 (expm1_test): Likewise.
28877 (fma_test): Likewise.
28878 (j0_test): Likewise.
28879 (jn_test): Likewise.
28880 (nexttoward_test): Likewise.
28881 (pow_test): Likewise.
28882 (scalbn_test): Likewise.
28883 (scalbln_test): Likewise.
28884 (tan_test): Likewise.
28885 (y1_test): Likewise.
28886 * sysdeps/i386/fpu/libm-test-ulps: Update.
28887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28888
9e0e3d0b
DM
288892012-05-23 David S. Miller <davem@davemloft.net>
28890
28891 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28892 (__libc_sigaction): Remove unused local variables.
28893
ccd0a08f
L
288942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28895
28896 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28897
62bdf9a6
PE
288982012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28899
f8591f80
PE
28900 mktime: avoid signed integer overflow
28901 * time/mktime.c (__mktime_internal): Do not mishandle the case
28902 where diff == INT_MIN.
28903
94c7d826
PE
28904 mktime: simplify computation of average
28905 * time/mktime.c (ranged_convert): Use new time_t_avg function
28906 instead of rolling our own (probably-slower) code.
28907
ce73d683
PE
28908 mktime: do not assume signed right shift propagates sign bit
28909 * time/mktime.c (isdst_differ): New static function.
28910 (__mktime_internal): No need to normalize tm_isdst now.
28911 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28912 tm_isdst values.
28913
72a22e59
PE
28914 mktime: merge another wrapv change from gnulib
28915 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28916 from some compilers.
28917
68605433
PE
28918 mktime: remove incorrect attempt at unusual arithmetics
28919 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28920 The code didn't really work on such machines anyway.
28921 (TYPE_MINIMUM): Assume two's complement.
28922 (twos_complement_arithmetic): Verify that long_int and time_t
28923 are two's complement (or unsigned, in the latter case).
28924
03cf7fe3
PE
28925 mktime: check signed shifts on long_int and time_t, too
28926 * time/mktime.c (SHR): Check that shifts work as desired
28927 on the types long_int and time_t too, as SHR is used on
28928 such types.
28929
f04dfbc2
PE
28930 mktime: do not assume 'long' is wide enough
28931 * time/mktime.c (verify): Move decl up.
28932 (long_int): New type.
28933 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28934 to remove assumption in the code that 'long' is wide enough to
28935 store year values. This assumption is not true on x32 and on
28936 some non-glibc platforms.
28937
62bdf9a6
PE
28938 mktime: merge wrapv change from gnulib
28939 * time/mktime.c (WRAPV): New macro.
28940 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28941 (guess_time_tm, __mktime_internal): Do not assume that signed
28942 integer overflow wraps around; modern compilers generate code
28943 where this assumption is no longer valid.
28944
5e292e4f
L
289452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28946
28947 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28948 Replace "jmp L(pseudo_end)" with "ret".
28949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28950 Likewise.
28951
8caf8c87
AJ
289522012-05-23 Andreas Jaeger <aj@suse.de>
28953
28954 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28955 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28956
1a09dc56
AJ
289572012-05-23 Andreas Jaeger <aj@suse.de>
28958 Maximilian Attems <max@stro.at>
28959
28960 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28961 New macros.
28962
1c87aba0
L
289632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28964
28965 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28966 code so that pseudo_end is just ret and the stack pointer is
28967 correct also for static library in error case.
28968
40e45bd5
JM
289692012-05-23 Joseph Myers <joseph@codesourcery.com>
28970
c2670533
JM
28971 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28972 move to syscalls.list.
28973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28977
40e45bd5
JM
28978 * manual/install.texi (Running make install): Do not mention Linux
28979 kernel version for which pt_chown is not needed.
28980 (Linux): Do not mention problems with nscd with 2.0 kernels.
28981 * INSTALL: Regenerated.
28982
be08eda5
AJ
289832012-05-23 Andreas Jaeger <aj@suse.de>
28984
28985 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28986 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28987 macro.
28988 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28989 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28990 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28991 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28992 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28993 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28995 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28996 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28997 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28998 * sysdeps/unix/sysv/linux/bits/in.h
28999 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29000
a6a056bb
RM
290012012-05-22 Roland McGrath <roland@hack.frob.com>
29002
29003 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29004 (PREPARE_VERSION): Just use assert instead, it will be elided
29005 under [NDEBUG] anyway.
29006
c9009328
L
290072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29008
29009 * sysdeps/unix/sysv/linux/Makefile: Include
29010 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29011 (sysdep_routines): Remove sysctl.
c9009328
L
29012 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29013 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29014 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29015 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29016 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29017
73338355
AJ
290182012-05-22 Andreas Jaeger <aj@suse.de>
29019
29020 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29021 that pseudo_end is just ret and the stack pointer is correct also
29022 for static library in error case.
29023
d44638b0
PP
290242012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29025
29026 [BZ #14122]
29027 * nss/nsswitch.c (defconfig_entries): New variable.
29028 (__nss_database_lookup): Don't leak defconfig entries.
29029 (nss_parse_service_list): Don't leak on error paths.
29030 (free_database_entries): New function.
29031 (free_defconfig): New function.
29032 (free_mem): Move common code to free_database_entries.
29033
31a39bd8
L
290342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29035
da0331a8
L
29036 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29037 Add arch_prctl.
29038 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29039
31a39bd8
L
29040 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29041 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29043 New macro.
29044 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29045 (INTERNAL_SYSCALL_TYPES): Likewise.
29046 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29047 (LOAD_REGS_TYPES_[1-6]): Likewise.
29048 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29049 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29050
45470df3
AZ
290512012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29052
29053 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29054 copysignl for GLIBC_2_0.
29055 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29056 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29058 logbl for GLIBC_2_0.
29059 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29060 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29061
98a61bcb
L
290622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29063
a4f6e481
L
29064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29065 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29066
f63d5db6
L
29067 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29068 Use "neg %eax".
29069
98a61bcb
L
29070 * time/mktime.c: Update copyright years.
29071
95770f14
PE
290722012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29073
6226efbd
PE
29074 mktime: merge comment-quoting-style change from gnulib
29075 * time/mktime.c: Quote 'like this' in comments.
29076 The GNU coding standards suggest that we no longer quote `like this',
29077 as "`" and "'" are typically rendered asymmetrically nowadays.
29078 The typical gnulib style is to quote 'like this' when quoting
29079 code, and "like this" when quoting English.
29080
b99e4f78
PE
29081 * time/mktime.c (compile-command): Add "-I.".
29082
643e01e6
PE
29083 mktime: merge mktime-internal.h change from gnulib
29084 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29085
2554247d
PE
29086 mktime: merge time_r change from gnulib
29087 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29088
826dd0ab
PE
29089 mktime: merge DEBUG change from gnulib
29090 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29091 case system <time.h> has a #define.
29092
bd83aabe
PE
29093 mktime: merge <sys/types.h> change from gnulib
29094 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29095 since <time.t> is now guaranteed to define time_t.
29096
95770f14
PE
29097 mktime: merge HAVE_CONFIG_H change from gnulib
29098 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29099
5e1a27a9
L
291002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29101
0e44a77e
L
29102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29103 Use "neg %eax".
29104
5e1a27a9
L
29105 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29106 __rlim_t cast.
29107 (struct rusage): Use anonymous union to pad each field to
29108 __syscall_slong_t.
29109
46259bec
DM
291102012-05-21 David S. Miller <davem@davemloft.net>
29111
29112 * Makefules (o-iterator): Remove .s cases.
29113 (compile-command.s): Delete.
29114 (COMPILE.s): Delete.
29115 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29116
59f0c22e
JM
291172012-05-21 Joseph Myers <joseph@codesourcery.com>
29118
29119 * configure.in (libc_cv_predef_stack_protector): Only consider
29120 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29121 * configure: Regenerated.
29122
20c07380
L
291232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29124
bbb3154b
L
29125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29126 New macro. Use R*LP on int and pointer.
29127 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
29128 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29129 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
29130 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29131
20c07380
L
29132 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29133 [__WORDSIZE_TIME64_COMPAT32] instead of
29134 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29135 (struct utmp): Likewise.
29136 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29137 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29138 Renamed to ...
29139 (__WORDSIZE_TIME64_COMPAT32): This.
29140 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29141 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29142 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29143 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29144 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29145 (__WORDSIZE_TIME64_COMPAT32): New macro.
29146
d8d1017e
AJ
291472012-05-21 Andreas Jaeger <aj@suse.de>
29148
29149 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29150 only if [SHARED]. Add prototype for __wcschr_ia32.
29151
6c7fb145
RM
291522012-05-21 Roland McGrath <roland@hack.frob.com>
29153
29154 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29155 of %rbp unmolested in the jmp_buf while mangling the low bits.
29156 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29157 unmolested high bits of %rbp while demangling the low bits.
29158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29159
66274218
AJ
291602012-05-21 Andreas Jaeger <aj@suse.de>
29161
07c58f8f
AJ
29162 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29163 * sunrpc/svc_simple.c: Use it for registerrpc.
29164 * sunrpc/xcrypt.c: Use it for passwd2des.
29165
66274218
AJ
29166 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29167
61f65140
L
291682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29169
29170 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29171 Don't define if [__SYSCALL_WORDSIZE != 32].
29172 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29173 New macro.
29174
5fefb436
AJ
291752012-05-21 Bruno Haible <bruno@clisp.org>
29176 Andreas Jaeger <aj@suse.de>
29177
29178 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29179 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29180 inptr and inend for must_buffer_ch.
29181 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29182 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29183 * stdio-common/Makefile (tests): Remove bug15.
29184 (bug15-ENV): Remove macro.
29185 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29186 anymore.
29187
d8e272ab
AJ
291882012-05-19 Andreas Jaeger <aj@suse.de>
29189 Roland McGrath <roland@hack.frob.com>
29190
29191 * manual/contrib.texi: Completely rewritten. It contains now an
29192 alphabetical list of contributors and their contributions.
29193
4a56a162
RH
291942012-05-21 Richard Henderson <rth@twiddle.net>
29195
29196 * misc/getauxval.c (__getauxval): Use unsigned long int.
29197 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29198 (getauxval): Use unsigned long int.
29199
d024d23c
L
292002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29201
29202 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29203
cbc00a03
RM
292042012-05-21 Roland McGrath <roland@hack.frob.com>
29205
29206 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29207 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29208 __alignof__ (long double).
29209
478143fa
AZ
292102012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29211
29212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29213
c7683a6d
RH
292142012-05-20 Richard Henderson <rth@twiddle.net>
29215
29216 * misc/getauxval.c: New file.
29217 * misc/sys/auxv.h: New file.
29218 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29219 (routines): Add getauxval.
29220 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29221 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29222 * elf/dl-sysdep.c (_dl_auxv): Remove.
29223 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29224 * elf/dl-support.c (_dl_auxv): New variable.
29225 (_dl_aux_init): Initialize it.
29226 * manual/startup.texi (Auxiliary Vector): New node.
29227 * sysdeps/generic/bits/hwcap.h: New file.
29228 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29229 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29230 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29231 * sysdeps/sparc/sysdep.h: ... here. Include it.
29232 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29233 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29235 Update.
c7683a6d
RH
29236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29239 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29244
a6f1845d
AZ
292452012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29246
29247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29248
cbcbe830
DM
292492012-05-19 David S. Miller <davem@davemloft.net>
29250
29251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29252
e0b16cc2
JM
292532012-05-19 Joseph Myers <joseph@codesourcery.com>
29254
29255 [BZ #14123]
29256 * math/s_ccosh.c: Include <float.h>
29257 (__ccosh): Avoid internal overflow calculating sinh and cosh
29258 values before multiplying by sin and cos values.
29259 * math/s_ccoshf.c: Likewise.
29260 * math/s_ccoshl.c: Likewise.
29261 * math/s_csin.c: Likewise.
29262 * math/s_csinf.c: Likewise.
29263 * math/s_csinl.c: Likewise.
29264 * math/s_csinh.c: Likewise.
29265 * math/s_csinhf.c: Likewise.
29266 * math/s_csinhl.c: Likewise.
29267 * math/libm-test.inc (ccos_test): Add more tests.
29268 (ccosh_test): Likewise.
29269 (csin_test): Likewise.
29270 (csinh_test): Likewise.
29271 * sysdeps/i386/fpu/libm-test-ulps: Update.
29272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29273
6ad13e08
L
292742012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29275
f66f0ce8
L
29276 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29277 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29278
6ad13e08
L
29279 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29280
b1d072a7
JM
292812012-05-19 Joseph Myers <joseph@codesourcery.com>
29282
29283 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29284 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29285 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29286 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29287 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29288 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29289 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29290 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29291 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29292 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29293 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29294 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29295 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29296 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29297 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29298 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29299 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29300 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29301 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29302 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29303 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29304 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29305 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29306 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29307 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29308 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29309 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29310 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29311 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29312 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29313 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29314
9eae47cb
AJ
293152012-05-18 Andreas Jaeger <aj@suse.de>
29316
29317 * csu/.gitignore: Delete.
29318
bb07f69f
L
293192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29320
29321 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29322 (timex): Use __syscall_slong_t.
29323
e6bdb741
AJ
293242012-05-18 Andreas Jaeger <aj@suse.de>
29325 Carlos O'Donell <carlos_odonell@mentor.com>
29326
29327 * manual/install.texi (Configuring and compiling): Update
29328 description about files modified in the source directory.
d6c33fda 29329 * INSTALL: Regenerated.
e6bdb741 29330
1b74487e
L
293312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29332
29333 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29334 value. Use "or" to set return value to -1.
29335 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29336 negate return value.
29337
a88b64b9
TMQMF
293382012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29339
57f41c40
AS
29340 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29341 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
29342 failure if the compiler has Graphite support disabled.
29343 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29344 Likewise.
57f41c40
AS
29345 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29346 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
29347 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29348 Likewise.
29349
3707636e
L
293502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29351
610b8622
L
29352 * sysdeps/x86_64/x32/_itoa.h: New file.
29353
7cd195df
L
29354 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29355 getdents system call only if kernel and user dirents have the
29356 same d_ino and d_off.
29357
94b07d20
L
29358 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29359 LLONG_MAX != LONG_MAX.
29360 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29361 (_fitoa_word): Likewise.
29362
18298070
L
29363 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29364 years.
29365 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29366 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29367 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29368
553c7ea4
L
29369 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29370 include <bits/wordsize.h>. Check __x86_64__ instead of
29371 __WORDSIZE.
29372 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29373 if __x86_64__ is defined. Use anonymous union on fpstate.
29374
3707636e
L
29375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29376 anonymous union.
29377
b53ef01a
AS
293782012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29379
37fb1dc0
AS
29380 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29381 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29382 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29383 Refer to _rtld_local_ro instead of _rtld_global_ro.
29384 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29385 Likewise.
29386 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29387 Likewise.
29388 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29389 Likewise.
29390 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29391 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29392 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29393
b53ef01a
AS
29394 * sysdeps/powerpc/powerpc32/dl-machine.c
29395 (__elf_machine_runtime_setup) [PROF]: Don't reference
29396 _dl_prof_resolve.
29397
7a185db2
AJ
293982012-05-18 Andreas Jaeger <aj@suse.de>
29399
29400 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29401 function only available for GCCs before 3.4 since GCC 3.4
29402 introduced a builtin.
29403 (lrint): Likewise.
29404 (llrintf): Likewise.
29405 (llrint): Likewise.
29406 (fmaxf): Likewise.
29407 (fmax): Likewise.
29408 (fminf): Likewise.
29409 (fmin): Likewise.
29410 (rint): Likewise.
29411 (rintf): Likewise.
29412 (nearbyint): Likewise.
29413 (nearbyintf): Likewise.
29414 (ceil): Likewise.
29415 (ceilf): Likewise.
29416 (floor): Likewise.
29417 (floorf): Likewise.
29418
3e5aef87
L
294192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29420
428bd707
L
29421 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29422 on both fields and cast pointer to __syscall_ulong_t.
29423
3e5aef87
L
29424 * bits/types.h (__fsword_t): New type.
29425 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29426 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29428 (__FSWORD_T_TYPE): Likewise.
29429 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29430 (__FSWORD_T_TYPE): Likewise.
29431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29432 (__FSWORD_T_TYPE): Likewise.
29433 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29434 (__FSWORD_T_TYPE): Likewise.
29435 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29436 __SWORD_TYPE with __fsword_t.
29437 (statfs64): Likewise.
29438
1ba7c3dc
DM
294392012-05-17 David S. Miller <davem@davemloft.net>
29440
29441 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29442
59910343
AJ
294432012-05-17 Andreas Jaeger <aj@suse.de>
29444
29445 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29446 warning.
29447
2e4c1e9e
L
294482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29449
29450 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29451
de7f5ce7
AJ
294522012-05-17 Andreas Jaeger <aj@suse.de>
29453
29454 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29455 when it is used.
29456
286abc3d
CM
294572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29458
29459 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29460
477cc68e
L
294612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29462
29463 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29464 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29465
1a0994f5
CD
294662012-05-17 Andreas Jaeger <aj@suse.de>
29467 Carlos O'Donell <carlos_odonell@mentor.com>
29468
29469 [BZ #14059]
29470 * sysdeps/x86_64/multiarch/init-arch.h
29471 (bit_YMM_Usable): Rename to...
29472 (bit_AVX_Usable): ... this.
29473 (bit_FMA4_Usable): New macro.
29474 (bit_XMM_state): New macro.
29475 (bit_YMM_state): New macro.
29476 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29477 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29478 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29479 (CPUID_OSXSAVE): New macro.
29480 (CPUID_AVX): New macro.
29481 (CPUID_FMA4): New macro.
29482 (index_YMM_Usable): Rename to...
29483 (index_AVX_Usable): ... this.
29484 (HAS_AVX): Use HAS_ARCH_FEATURE.
29485 (HAS_FMA4): Likewise.
29486 (HAS_YMM_USABLE): Remove.
29487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29488 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29489 are present.
29490 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29491 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29492 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29493 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29494 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29495
0af797de
CM
294962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29497
29498 * math/libm-test.c: Support platforms without multiple rounding modes.
29499 * math/bug-nextafter.c: Support platforms without FP exceptions.
29500 * math/bug-nexttoward.c: Likewise.
29501 * math/test-fenv.c: Likewise.
29502 * math/test-misc.c: Likewise.
29503 * stdlib/bug-getcontext.c: Likewise.
29504
e39745ff
AJ
295052012-05-17 Andreas Jaeger <aj@suse.de>
29506
29507 * manual/examples/search.c (critter_cmp): Change signature to
29508 avoid warnings.
29509 * manual/string.texi (Collation Functions): Likewise.
29510
48970aba
L
295112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29512
29513 * bits/types.h: Fold copyright years.
29514 * bits/typesizes.h: Likewise.
29515 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29516 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29517 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29518 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29519 * time/time.h: Likewise.
29520
bedee953
PP
295212012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29522
29523 [BZ #208]
29524 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29525 in instead of returning them. Return void.
29526 (__libc_mallinfo): Accumulate over all arenas.
29527 (__malloc_stats): Adjust for change in int_mallinfo interface.
29528
61653dfb
RM
295292012-05-16 Roland McGrath <roland@hack.frob.com>
29530
30b99d79
RM
29531 [BZ #10375]
29532 * configure.in (NM): Add AC_CHECK_TOOL for it.
29533 (libc_extra_cflags): New substituted variable.
29534 Check for -fstack-protector being used implicitly.
29535 * configure: Regenerated.
29536 * config.make.in (config-extra-cflags): New variable,
29537 gets @libc_extra_cflags@.
29538 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29539
61653dfb
RM
29540 [BZ #10375]
29541 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29542 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29543 * configure: Regenerated.
29544 * config.make.in (CPPUNDEFS): New substituted variable.
29545 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29546 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29547 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29548
661768bb
L
295492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29550
29551 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29552 (mq_attr): Use __syscall_slong_t.
29553
d4261567
L
295542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29555
29556 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29557 Check __x86_64__ instead of __WORDSIZE.
29558 (_STAT_VER_LINUX): Likewise.
29559 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29560 __syscall_ulong_t and __syscall_slong_t.
29561 (stat64): Likewise.
29562
cf3ff365
L
295632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29564
29565 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29566
76cf3e4d
L
295672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29568
29569 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29570
a637753a
L
295712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29572
29573 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29574 __syscall_ulong_t.
29575
d5e05119
L
29576 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29577 include <bits/wordsize.h>. Check __x86_64__ instead of
29578 __WORDSIZE.
29579 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29580 defined.
29581 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29582
f62ee380
L
29583 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29584 include <bits/wordsize.h>. Check __x86_64__ instead of
29585 __WORDSIZE.
29586 (user_regs_struct): Use "__extension__ unsigned long long"
29587 instead of "unsigned long" if __x86_64__ is defined.
29588 (user): Likewise. Pad after pointer field if __ILP32__ is
29589 defined.
29590
4e124ced
JM
295912012-05-16 Joseph Myers <joseph@codesourcery.com>
29592
6a3951a0
JM
29593 * configure.in (makeinfo): Require version 4.5 or later. Allow
29594 versions 5 to 9.
29595 * configure: Regenerated.
29596 * manual/install.texi (texinfo): Increase version requirement to
29597 4.5 or later.
29598 * INSTALL: Regenerated.
29599
4e124ced
JM
29600 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29601
953ca31a
L
296022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29603
29604 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29605
617aca05
L
29606 * sysdeps/x86_64/x32/ffs.c: New file.
29607
5762f7ae
L
29608 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29609 __syscall_ulong_t.
29610 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29611 defined. Use __syscall_ulong_t.
29612 (shminfo): Use __syscall_ulong_t.
29613 (shm_info): Likewise.
29614
a26b6856
L
29615 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29616 __syscall_ulong_t.
29617
cb2b9ef7
L
29618 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29619 <bits/wordsize.h>.
29620 (msgqnum_t): Use __syscall_ulong_t.
29621 (msglen_t): Likewise.
29622 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29623 __syscall_ulong_t.
29624
34683bb0
L
29625 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29626 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29627
84a68786
L
29628 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29629
48baa5f1
L
29630 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29631 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29632
180be88b
L
29633 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29634 __syscall_slong_t.
29635
5e90c8ad
L
29636 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29637 include <bits/wordsize.h>. Check __x86_64__ instead of
29638 __WORDSIZE.
29639
23dfb58b
L
29640 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29641 "unsigned long long int" if __x86_64__ is defined.
29642 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29643
ce5d54b0
L
29644 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29645 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29646 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29647
13dc9eac
L
29648 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29649 <stdint.h>.
29650 (GET_PC): Cast to uintptr_t first.
29651 (GET_FRAME): Likewise.
29652 (GET_STACK): Likewise.
29653
a7895d15
L
29654 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29656 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29657 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29658 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29659 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29660 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29661 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29662 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29663 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29664 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29665 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29666 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29667 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29668 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29669 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29670 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29671 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29672 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29673 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29674 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29675 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29676 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29677 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29678 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29679 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29680 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29681 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29682 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29683
656416c9
AS
296842012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29685
5bd66283
AS
29686 * Makerules (+depfiles): Also collect depfiles from .oS in
29687 $(extra-objs).
29688 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29689 .oS, $(libnldbl-routines)).
29690
656416c9
AS
29691 * Makerules (native-compile-mkdep-flags): Define.
29692 * sunrpc/Makefile (extra-objs): Add $(addprefix
29693 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29694 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29695 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29696 calling $(make-target-directory).
29697
a46f2169
L
296982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29699
29700 * bits/types.h (__snseconds_t): Removed.
29701 * time/time.h (struct timespec): Replace __snseconds_t with
29702 __syscall_slong_t.
29703 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29704 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29705 Likewise.
29706 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29707 (__SNSECONDS_T_TYPE): Likewise.
29708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29709 (__SNSECONDS_T_TYPE): Likewise.
29710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29711 (__SNSECONDS_T_TYPE): Likewise.
29712
6af6528b
L
297132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29714
29715 * sysdeps/mach/hurd/bits/typesizes.h
29716 (__SYSCALL_SLONG_TYPE): New macro.
29717 (__SYSCALL_ULONG_TYPE): Likewise.
29718
de986b56
L
297192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29720
29721 * bits/types.h (__syscall_slong_t): New type.
29722 (__syscall_ulong_t): Likewise.
29723
29724 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29725 (__SYSCALL_ULONG_TYPE): Likewise.
29726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29727 (__SYSCALL_SLONG_TYPE): Likewise.
29728 (__SYSCALL_ULONG_TYPE): Likewise.
29729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29730 (__SYSCALL_SLONG_TYPE): Likewise.
29731 (__SYSCALL_ULONG_TYPE): Likewise.
29732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29733 (__SYSCALL_SLONG_TYPE): Likewise.
29734 (__SYSCALL_ULONG_TYPE): Likewise.
29735
85736dc7
L
297362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29737
29738 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29739 Add sigaltstack-offsets.sym.
29740 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29741 <sigaltstack-offsets.h>.
29742 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29743 longjmp_msg pointer.
29744 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29745 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29746 signal stack.
29747 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29748
cc03b296
JM
297492012-05-15 Joseph Myers <joseph@codesourcery.com>
29750
a9538892
JM
29751 * elf/stackguard-macros.h: Remove file.
29752 * sysdeps/generic/stackguard-macros.h: New file.
29753 * sysdeps/i386/stackguard-macros.h: Likewise.
29754 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29755 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29756 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29757 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29758 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29759 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29760 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29761 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29762 <elf/stackguard-macros.h>.
29763
cc03b296
JM
29764 [BZ #14109]
29765 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29766 __aligned__ in attribute.
29767 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29768 (gregset_t): Likewise.
29769
93171016
L
297702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29771
29772 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29773 * sysdeps/x86_64/64/Implies-after: Here. New file.
29774 * sysdeps/x86_64/x32/Implies-after: New file.
29775
d86813a0
L
297762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29777
29778 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29779 and access return value for _dl_profile_fixup. Use R10_LP to
29780 load frame size.
29781
2953ec75
L
297822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29783
29784 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29785
3b550e9e
L
297862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29787
29788 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29789 * sysdeps/x86_64/x32/sysdep.h: New file.
29790
eda41706
L
297912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29792
29793 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29794 * sysdeps/x86_64/setjmp.S: Likewise.
29795
9ea01d93
AZ
297962012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29797
29798 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29799 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29800 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29801 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29802 remove unused global constant.
29803
02a91938
CM
298042012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29805
29806 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29807 include of <not-cancel.h>.
29808
6540185f
RM
298092012-05-15 Roland McGrath <roland@hack.frob.com>
29810
29811 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29812
509072a0
AJ
298132012-05-15 Jeff Law <law@redhat.com>
29814 Andreas Jaeger <aj@suse.de>
29815
29816 [BZ #13594]
29817 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29818 out from...
29819 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29820 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29821 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29822 code changing __hst_map_handle.map.
29823
ba75122d
RM
298242012-05-15 Roland McGrath <roland@hack.frob.com>
29825
29826 * configure.in (sysnames): Look for Implies-before and Implies-after
29827 files.
29828 * configure: Regenerated.
29829
890d8bd8
L
298302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29831
29832 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29833 8-byte data alignment with LP_SIZE alignment.
29834
f6ee6623
L
298352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29836
29837 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29838 into R10_LP.
29839
ea2626f6
L
298402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29841
29842 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29843
085f715e
L
298442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29845
29846 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29847 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29848 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29849 Likewise.
29850 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29851
be8498fc
L
298522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29853
29854 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29855 (stackinfo_sub_sp): Likewise.
29856
70bc83b9
L
298572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29858
29859 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29860 RAX_LP.
29861
9bc0b730
L
298622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29863
29864 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29865 into R*_LP.
29866
6d2850e7
L
298672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29868
29869 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29870 sizes into R*_LP.
29871
3cb84561
L
298722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29873
29874 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29875
54e2ed81
L
298762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29877
29878 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29879 into R11_LP and load __x86_64_shared_cache_size_half into
29880 R8_LP.
29881
8a17f349
L
298822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29883
29884 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29885 R8_LP.
29886
777b1eea
AZ
298872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29888
29889 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29890 logb for POWER7.
29891 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29892 logbf for POWER7.
29893 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29894 logbl for POWER7.
29895 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29896 powerpc32/power7/fpu/s_logb.c via #include.
29897 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29898 powerpc32/power7/fpu/s_logbf.c via #include.
29899 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29900 powerpc32/power7/fpu/s_logbl.c via #include.
29901
d20d4ac2
JM
299022012-05-15 Joseph Myers <joseph@codesourcery.com>
29903
29904 * README.libm: Remove file.
29905
6cdef1ab
L
299062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29907
29908 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29909 count for x32. Use R*_LP and omit operand-size suffix.
29910
0b254d8f
L
299112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29912
29913 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29914 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29915 * sysdeps/x86_64/x32/shlib-versions: New file.
29916
ceb809dc
RM
299172012-05-14 Roland McGrath <roland@hack.frob.com>
29918
29919 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29920 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29921 Use _dl_fatal_printf instead.
29922
37f1abd4
JM
299232012-05-14 Joseph Myers <joseph@codesourcery.com>
29924
29925 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29926 set if not set by the user. Do not allow for being unset.
29927 * sysdeps/unix/sysv/linux/configure: Regenerated.
29928
11de3a33
L
299292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29930
29931 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29932 the `q' suffix from lea and replace .quad with ASM_ADDR.
29933
e02f153a
L
299342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29935
29936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29937 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29938 instead of $17.
29939 (PTR_DEMANGLE): Likewise.
29940
520ae0fd
L
299412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29942
29943 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29944 (LP_OP): Likewise.
29945 (ASM_ADDR): Likewise.
29946 (RAX_LP): Likewise.
29947 (RBP_LP): Likewise.
29948 (RBX_LP): Likewise.
29949 (RCX_LP): Likewise.
29950 (RDI_LP): Likewise.
29951 (RSI_LP): Likewise.
29952 (RSP_LP): Likewise.
29953 (R8_LP): Likewise.
29954 (R9_LP): Likewise.
29955 (R10_LP): Likewise.
29956 (R10_LP): Likewise.
29957 (R11_LP): Likewise.
29958 (R12_LP): Likewise.
29959 (R13_LP): Likewise.
29960 (R14_LP): Likewise.
29961 (R15_LP): Likewise.
29962
b985be81
L
299632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29964
29965 * sysdeps/x86_64/x32/dl-machine.h: New file.
29966
6a4888ff
AJ
299672012-05-14 Andreas Jaeger <aj@suse.de>
29968
29969 * manual/Makefile (subdir): Remove export of subdir.
29970 (all): Remove target.
29971 (.PHONY): Remove all from list.
29972 (mkinstalldirs): Remove.
29973 (.PHONY): Remove installdirs from list.
29974 ($(inst_infodir)/libc.info): Use make-target-directory.
29975 (installdirs): Remove.
29976 (subdir_%): Remove.
29977 (glibc-targets): Remove.
29978 (lib): Remove.
29979 (stubs): Remove.
29980 ($(objpfx)stubs ../po/manual.pot): Remove.
29981 ($(objpfx)stamp%): Remove.
29982 (make-target-directory): Remove.
29983 (subdir_install): Remove.
29984 (routines): Remove.
29985 (aux): Remove.
29986 (sources): Remove.
29987 (objects): Remove.
29988 (headers): Remove.
29989
29990 [BZ #13750]
29991 * manual/.gitignore: Remove, it's not needed anymore.
29992 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29993 all files in it.
29994 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29995 directory.
29996 (texis): Renamed to $(objpfx)texis.
29997 (texis-path): New, contains path to generated files.
29998 (chapters.%): Use texis-path for complete path, add extra argument
29999 libc-texinfo.sh.
30000 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30001 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30002 (summary,texi, stamp-summary): Use complete path of
30003 files. Generate files in build dir.
30004 (dir-add.texi): Build in build dir.
30005 (libm-err.texi,stamp-libm-err): Likewise.
30006 (version.texi, stamp-version): Likewise.
30007 (.%c.texi): Likewise.
30008 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30009 (mostlyclean): Remove target.
30010 (realclean): Remove target.
30011 (generated): Add new variable with contents from mostlyclean and
30012 realclean, remove entries duplicated in common-mostlyclean, add
30013 stamp-libm-err and stamp-version.
30014 (generated-dirs): Add libc directory.
30015 ($(inst_infodir)/libc.info): Install files from build dir.
30016
30017 * manual/install.texi (Configuring and compiling): Adjust since
30018 the info files are not part of the tar ball anymore.
30019
7ac77294
AJ
300202012-05-14 Andreas Jaeger <aj@suse.de>
30021
30022 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30023 variable.
30024
ffb7875d
JM
300252012-05-14 Joseph Myers <joseph@codesourcery.com>
30026
30027 [BZ #13717]
30028 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30029 to 2.2.0 where earlier.
30030 * sysdeps/unix/sysv/linux/configure: Regenerated.
30031 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30032 Remove conditional code.
30033 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30034 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30035 Remove conditional code.
30036 [!__NR_lchown]: Likewise.
30037 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30038 [__NR_lchown]: Likewise.
30039 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30040 comment referencing __ASSUME_LCHOWN_SYSCALL.
30041 * sysdeps/unix/sysv/linux/i386/sigaction.c
30042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30044 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30045 Remove conditional code.
30046 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30047 (__protocol_available): Remove #if 0 code.
30048 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30049 conditional code.
30050 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30051 * sysdeps/unix/sysv/linux/kernel-features.h
30052 (__ASSUME_GETCWD_SYSCALL): Don't define.
30053 (__ASSUME_REALTIME_SIGNALS): Likewise.
30054 (__ASSUME_PREAD_SYSCALL): Likewise.
30055 (__ASSUME_PWRITE_SYSCALL): Likewise.
30056 (__ASSUME_POLL_SYSCALL): Likewise.
30057 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30058 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30059 non-SPARC.
30060 (__ASSUME_SIOCGIFNAME): Don't define.
30061 (__ASSUME_MSG_NOSIGNAL): Likewise.
30062 (__ASSUME_SENDFILE): Define unconditionally.
30063 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30064 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30065 conditional code.
30066 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30067 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30068 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30069 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30070 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30071 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30072 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30074 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30075 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30077 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30078 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30080 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30083 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30084 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30086 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30089 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30090 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30092 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30095 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30096 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30097 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30098 Remove conditional code.
30099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30100 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30101 Remove conditional code.
30102 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30103 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30104 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30105 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30106 Remove conditional code.
30107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30108 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30109 Remove conditional code.
30110 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30111 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30112 Remove conditional code.
30113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30114 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30115 Remove conditional code.
30116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30117 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30118 Remove conditional code.
30119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30120 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30121 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30123 * sysdeps/unix/sysv/linux/sigaction.c
30124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30126 * sysdeps/unix/sysv/linux/sigpending.c
30127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30129 * sysdeps/unix/sysv/linux/sigprocmask.c
30130 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30131 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30132 * sysdeps/unix/sysv/linux/sigsuspend.c
30133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30135 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30136 (__libc_missing_rt_sigs): Remove.
30137 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30138 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30139 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30140 Remove conditional code.
30141 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30142 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30143 return 1.
30144 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30145 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30146 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30147 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30148
1bfb7291
AJ
301492012-05-14 Andreas Jaeger <aj@suse.de>
30150
caae5a81
AJ
30151 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30152 it's not used in glibc.
30153 (__coshm1): Likewise.
30154 (__acosh1p): Likewise.
30155 (__sgn): Likewise.
30156
1bfb7291
AJ
30157 * manual/string.texi (Copying and Concatenation): Add missing
30158 variable in concat example.
30159 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30160
c044d724
L
301612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30162
144c5467 30163 [BZ #14103]
c044d724
L
30164 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30165 __builtin_clzl with __builtin_clzll.
30166
2523c62b
L
301672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30168
30169 [BZ #14104]
30170 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30171 libc_freeres_ptr.
30172
d7bb4c42
LD
301732012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30174
30175 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30176 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30177 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30178 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30179
9dc4e1fb
MF
301802012-05-14 Mike Frysinger <vapier@gentoo.org>
30181
30182 * NEWS: Update ia64 info.
30183
c7df0112
AS
301842012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30185
30186 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30187 used as bcopy.
30188
dc70356c
TS
301892012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30190
30191 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30192 * sysdeps/unix/syscalls.list (dup3): Likewise.
30193 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30194 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30195
9fb1a21f
L
301962012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30197
30198 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30199 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30200
4822a2a5
L
302012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30202
30203 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30204 thread pointer.
30205 (TLS_IE): Use mov/add instead of movq/addq to load thread
30206 pointer.
30207 (TLS_GD_PREFIX): New.
30208 (TLS_GD): Use it.
30209
842b81d6
DM
302102012-05-11 David S. Miller <davem@davemloft.net>
30211
30212 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30213 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30214 (_FPU_SETCW): Likewise.
30215
1cf463cd
L
302162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30217
30218 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30219 is 32-byte aligned.
30220
60cc4a18
AS
302212012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30222
30223 [BZ #11837]
30224 * iconvdata/gb18030.c: Update tables.
30225 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30226 characters specially.
30227 (BODY for TO_LOOP): Add encoding of missing ranges.
30228
febb44a4
TS
302292012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30230
30231 [BZ #13673]
30232 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30233 * sysdeps/mach/hurd/dup3.c: Likewise.
30234 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30235 * sysdeps/powerpc/memmove.c:: Likewise.
30236
0a10fb9e
L
302372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30238
30239 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30240 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30241
df8a552f
L
302422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30243
30244 * elf/elf.h (R_X86_64_RELATIVE64): New.
30245 (R_X86_64_NUM): Updated.
30246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30247 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30248 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30249 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30250 tst-quad1pie tst-quad2pie
30251 (modules-names): Add tst-quadmod1 tst-quadmod2.
30252 ($(objpfx)tst-quad1): New dependency.
30253 ($(objpfx)tst-quad2): Likewise.
30254 ($(objpfx)tst-quad1pie): Likewise.
30255 ($(objpfx)tst-quad2pie): Likewise.
30256 * sysdeps/x86_64/tst-quad1.c: New file.
30257 * sysdeps/x86_64/tst-quad1pie.c: New file.
30258 * sysdeps/x86_64/tst-quad2.c: Likewise.
30259 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30260 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30261 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30262 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30263 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30264
f34d6f84
ST
302652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30266
f42d41d1
ST
30267 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30268 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30269 * streams/stropts.h (t_scalar_t): Define type.
30270
3c3571fc
ST
30271 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30272 (_PATH_PRESERVE): Set to "/var/lib".
30273 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30274
61f06bd3
ST
30275 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30276 instead of int.
30277
918d4d71
ST
30278 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30279 if __dir_mkfile succeeded.
30280
f34d6f84
ST
30281 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30282 checking for _hurd_dtablesize. Unlock it right after having
30283 finished _hurd_dtable allocation.
30284
10589b4a
TS
302852012-05-10 Thomas Schwinge <thomas@schwinge.name>
30286
674cdbc7
TS
30287 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30288 * sysdeps/mach/hurd/configure: Regenerated.
30289 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30290 special-casing to...
30291 * sysdeps/gnu/configure.in: ... this new file.
30292 * sysdeps/unix/sysv/linux/configure: Regenerated.
30293 * sysdeps/gnu/configure: New generated file.
30294
8e41b99f
TS
30295 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30296 for Linux: use nsec instead of usec, as well as:
30297 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30298 members of type struct timespec.
30299 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30300 New macros.
30301 (struct stat64): Likewise.
30302 (_STATBUF_ST_NSEC): New macro.
30303 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30304
10589b4a
TS
30305 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30306 __strtoul_internal rather than strtoul.
30307
63643c85
PT
303082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30309
30310 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30311 and reject them.
30312
3faebe6a
ST
303132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30314
30315 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30316 which preserves existing values.
30317 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30318
c6474b07
PT
303192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30320
30321 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30322 TIMEOUT values. Return EINVAL for NFDS values either negative or
30323 greater than FD_SETSIZE.
30324
1043890b
ST
303252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30326
30327 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30328 allocated, call __vm_protect to finish enabling the existing space, and
30329 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30330 allocate the remainder.
30331
37ed8b9b
PT
303322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30333
30334 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30335 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30336
db653660
ST
303372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30338
37ed8b9b
PT
30339 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30340 sysdeps/mach/hurd/readlink.c.
b29d4053 30341
db653660
ST
30342 * posix/tst-sysconf.c (posix_options): Only use
30343 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30344 _POSIX_SYNCHRONIZED_IO when they are defined
30345 * sysdeps/mach/hurd/bits/posix_opt.h:
30346 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30347 (_XOPEN_REALTIME): Undefine macro.
30348 (_XOPEN_REALTIME_THREADS): Undefine macro.
30349 (_XOPEN_SHM): Undefine macro.
30350 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30351 macro to -1.
30352 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30353 macro to -1.
30354 (_POSIX_ASYNC_IO): Undefine macro.
30355 (_POSIX_PRIORITIZED_IO): Undefine macro.
30356 (_POSIX_SPIN_LOCKS): Define macro to -1.
30357
ee16e894
ST
30358 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30359 SA_NODEFER, SA_RESETHAND.
30360 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30361 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30362 F_DUPFD_CLOEXEC.
30363
6103ae3b
TS
303642012-05-10 Thomas Schwinge <thomas@schwinge.name>
30365
30366 * elf/Makefile (pldd-modules): Define unconditionally.
30367
80b4e5f3
TS
303682012-05-10 Thomas Schwinge <thomas@schwinge.name>
30369
30370 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30371
edadcbd6
ST
303722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30373
30374 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30375 Return ENOENT when name is empty.
30376 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30377
80694780
TS
303782012-05-10 Thomas Schwinge <thomas@schwinge.name>
30379
1792c087
TS
30380 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30381
80694780
TS
30382 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30383
6b645f0d
ST
303842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30385
80694780
TS
30386 Fix mlock in all cases except non-readable pages.
30387 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30388 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 30389
6b645f0d
ST
30390 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30391 (__mkdir): When path is `/', just fail with EEXIST.
30392 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30393
e468f8a3
TS
303942012-05-10 Thomas Schwinge <thomas@schwinge.name>
30395
30396 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30397 <sys/uio.h> (for writev).
30398 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30399 and <sys/param.h> (for MIN).
30400
a4186cff
PT
304012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30402
30403 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30404 REQUESTED_TIME. Properly set the remaining time and return EINTR
30405 if interrupted.
30406
510bbf14
TS
304072012-05-10 Thomas Schwinge <thomas@schwinge.name>
30408
30409 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30410 Depend on against $(link-rpcuserlibs).
30411
5d5722e8
ST
304122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30413
a4186cff
PT
30414 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30415 (__libc_stack_end): Do not use attribute_relro.
30416 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30417 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 30418 to libthread-provided value.
a4186cff
PT
30419 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30420 attribute_relro.
5d5722e8 30421
37233df9
TS
304222012-05-10 Thomas Schwinge <thomas@schwinge.name>
30423
be971a2b
TS
30424 [BZ #3748]
30425 * bits/libc-lock.h (__libc_once_get): New macro.
30426 * sysdeps/mach/bits/libc-lock.h: Likewise.
30427 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30429 instead of using implementation details.
30430
37233df9
TS
30431 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30432 * libio/freopen.c: Likewise.
30433 * libio/freopen64.c: Likewise.
30434 * misc/syslog.c: Likewise.
30435 * nscd/connections.c: Likewise.
30436 * nscd/netgroupcache.c: Likewise.
30437 * sysdeps/posix/getcwd.c: Likewise.
30438
38de94a5
RM
304392012-05-10 Roland McGrath <roland@hack.frob.com>
30440
30441 * math/w_ilogbf.c: Add #include <limits.h>.
30442
67530489
ST
304432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30444
a4186cff 30445 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
30446 path instead of returning without unlocking.
30447
67530489
ST
30448 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30449 immediate-write ioctls.
30450 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30451
5aa3a74a
TS
304522012-05-10 Thomas Schwinge <thomas@schwinge.name>
30453
18bad2ae
TS
30454 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30455 __builtin_frame_address instead of making assumptions about the
30456 location of the return address relative to DATA. Force early load of
30457 the return address.
30458 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30459 __builtin_frame_address.
30460
5aa3a74a
TS
30461 dup3 for GNU Hurd.
30462 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30463 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30464 implement dup3 and do some further code clean-ups.
30465 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30466 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30467
ecd0de9a
ST
304682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30469
cd9fa985
ST
30470 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30471
a4186cff
PT
30472 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30473 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30474 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30475 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30476 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30477 d->port.lock.
802ca5a5 30478
a4186cff
PT
30479 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30480 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30481 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30482
bcf55240
TS
304832012-05-10 Thomas Schwinge <thomas@schwinge.name>
30484
6960eb42
TS
30485 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30486 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30487 definitions.
30488
eb43375f
TS
30489 accept4 for GNU Hurd.
30490 * include/sys/socket.h (__libc_accept4): New prototype.
30491 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30492 to implement __libc_accept4.
30493 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30494 __libc_accept4.
30495 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30496
bcf55240
TS
30497 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30498 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30499 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30500 signal-defines.sym.
30501
6178c55b
ST
305022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30503
a4186cff 30504 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 30505
6f080c2f
TS
305062012-05-10 Thomas Schwinge <thomas@schwinge.name>
30507
30508 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30509 assertion on O_CLOEXEC flag.
30510 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30511 * hurd/intern-fd.c: Likewise.
30512 * hurd/port2fd.c: Likewise.
30513
bcfe3a54
ST
305142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30515
30516 [BZ #3906]
30517 * bits/in.h (IPV6_PKTINFO): Define new macro.
30518 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30519
89c9aa49
AZ
305202012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30521
30522 [BZ #13954]
30523 [BZ #13955]
30524 [BZ #13956]
30525 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30526 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30527 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30528 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30529 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30530 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30531 * math/libm-test.inc (logb_test) : Additional logb tests.
30532
021db4be
AJ
305332012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30534 Andreas Jaeger <aj@suse.de>
30535
30536 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30537 * configure: Regenerated.
30538 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30539 * config.make.in (link-obsolete-rpc): New substituted variable.
30540 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30541 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30542 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30543 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30544 so that libc.a contains the symbols.
30545 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30546 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30547 * sunrpc/auth_none.c: Likewise.
30548 * sunrpc/auth_unix.c: Likewise.
30549 * sunrpc/authdes_prot.c: Likewise.
30550 * sunrpc/authuxprot.c: Likewise.
30551 * sunrpc/clnt_gen.c: Likewise.
30552 * sunrpc/clnt_perr.c: Likewise.
30553 * sunrpc/clnt_raw.c: Likewise.
30554 * sunrpc/clnt_simp.c: Likewise.
30555 * sunrpc/clnt_tcp.c: Likewise.
30556 * sunrpc/clnt_udp.c: Likewise.
30557 * sunrpc/clnt_unix.c: Likewise.
30558 * sunrpc/des_crypt.c: Likewise.
30559 * sunrpc/des_soft.c: Likewise.
30560 * sunrpc/get_myaddr.c: Likewise.
30561 * sunrpc/key_call.c: Likewise.
30562 * sunrpc/key_prot.c: Likewise.
30563 * sunrpc/netname.c: Likewise.
30564 * sunrpc/pm_getmaps.c: Likewise.
30565 * sunrpc/pm_getport.c: Likewise.
30566 * sunrpc/pmap_clnt.c: Likewise.
30567 * sunrpc/pmap_prot.c: Likewise.
30568 * sunrpc/pmap_prot2.c: Likewise.
30569 * sunrpc/pmap_rmt.c: Likewise.
30570 * sunrpc/publickey.c: Likewise.
30571 * sunrpc/rpc_cmsg.c: Likewise.
30572 * sunrpc/rpc_common.c: Likewise.
30573 * sunrpc/rpc_dtable.c: Likewise.
30574 * sunrpc/rpc_prot.c: Likewise.
30575 * sunrpc/rpc_thread.c: Likewise.
30576 * sunrpc/rtime.c: Likewise.
30577 * sunrpc/svc.c: Likewise.
30578 * sunrpc/svc_auth.c: Likewise.
30579 * sunrpc/svc_raw.c: Likewise.
30580 * sunrpc/svc_run.c: Likewise.
30581 * sunrpc/svc_tcp.c: Likewise.
30582 * sunrpc/svc_udp.c: Likewise.
30583 * sunrpc/svc_unix.c: Likewise.
30584 * sunrpc/svcauth_des.c: Likewise.
30585 * sunrpc/xcrypt.c: Likewise.
30586 * sunrpc/xdr.c: Likewise.
30587 * sunrpc/xdr_array.c: Likewise.
30588 * sunrpc/xdr_float.c: Likewise.
30589 * sunrpc/xdr_intXX_t.c: Likewise.
30590 * sunrpc/xdr_mem.c: Likewise.
30591 * sunrpc/xdr_rec.c: Likewise.
30592 * sunrpc/xdr_ref.c: Likewise.
30593 * sunrpc/xdr_sizeof.c: Likewise.
30594 * sunrpc/xdr_stdio.c: Likewise.
30595
b5c086a2
RM
305962012-05-10 Roland McGrath <roland@hack.frob.com>
30597
30598 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30599 change. Update copyright years.
30600
6d74dd09
JM
306012012-05-10 Joseph Myers <joseph@codesourcery.com>
30602
30603 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30604
28e72501
MK
306052012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30606 Joseph Myers <joseph@codesourcery.com>
30607 Paul Pluzhnikov <ppluzhnikov@google.com>
30608
30609 [BZ #14012]
30610 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30611 requiring rpcgen.
30612 [cross-compiling] (extra-libs): Likewise.
30613 [cross-compiling] (extra-libs-others): Likewise.
30614 [cross-compiling] (librpcsvc-routines): Likewise.
30615 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30616 [cross-compiling] (omit-deps): Likewise.
30617 (sunrpc-CPPFLAGS): New variable.
30618 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30619 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30620 (cross-rpcgen-objs): New variable.
30621 (extra-objs): Append $(cross-rpcgen-objs).
30622 ($(cross-rpcgen-objs)): New rule.
30623 ($(objpfx)cross-rpcgen): Likewise.
30624 (rpcgen-cmd): Define to use $(built-program-file). Expand
30625 comment.
30626 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30627 ($(objpfx)x%.stmp): Likewise.
30628 * sunrpc/proto.h [IS_IN_build] (_): Define.
30629 [IS_IN_build] (_libc_intl_domainname): Likewise.
30630
c8c59454
L
306312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30632
30633 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30634 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30635 and R_X86_64_TPOFF64.
30636
6f27cd16
JM
306372012-05-10 Joseph Myers <joseph@codesourcery.com>
30638
30639 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30640 sysdeps/unix/sysv/syscalls.list.
30641 (stime): Likewise.
30642 (utime): Likewise.
30643 * sysdeps/unix/sysv/syscalls.list: Remove file.
30644
02467e1c
PE
306452012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30646
30647 [BZ #3440]
30648 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30649 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30650 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30651 (__LC_IDENTIFICATION): Make these macros useful in #if
30652 expressions, as required by C99.
30653
da392631
AS
306542012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30655
30656 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30657 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30658 after this.
30659
8115f29b
L
306602012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30661
30662 * stdlib/longlong.h: Updated from GCC.
30663
bdd74070
AJ
306642012-05-09 Andreas Jaeger <aj@suse.de>
30665
edfe0dbe
AJ
30666 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30667 default is first entry.
30668 (run_mode): Set type.
30669 (main): Remove informal message about syslog.
30670 (options): Fix typo.
30671
bcfe3a54
ST
30672 [BZ #14053]
30673 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30674 to asm.
bcfe3a54
ST
30675 (lrint): Likewise.
30676 (llrintf): Likewise.
30677 (llrint): Likewise.
30678 (rint): Likewise.
30679 (rintf): Likewise.
30680 (nearbyint): Likewise.
30681 (nearbyintf): Likewise.
bdd74070 30682
91d8d69e
AJ
306832012-05-09 Andreas Jaeger <aj@suse.de>
30684 Pedro Alves <palves@redhat.com>
30685
30686 * nscd/nscd.c (run_mode): Use enum.
30687 (main): Cleanup coding style issue.
30688
bb90b80b
AJ
306892012-05-09 Alexandre Oliva <aoliva@redhat.com>
30690 Andreas Jaeger <aj@suse.de>
30691
bcfe3a54
ST
30692 * nscd/nscd.c (go_background): Replaced with...
30693 (run_mode): ... this.
bb90b80b 30694 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30695 (options): Add -F --foreground.
30696 (main): Implement it.
30697 (parse_opt): Parse it.
bb90b80b 30698
1a4b75a1
AJ
306992012-05-09 Andreas Jaeger <aj@suse.de>
30700
30701 [BZ #14083]
30702 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30703 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30704 -Wconversion warning.
30705 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30706 Likewise.
30707
b1cc2472
JM
307082012-05-09 Joseph Myers <joseph@codesourcery.com>
30709
30710 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30711 == 0.
30712 (LC_ALL): Use macro-int-constant.
30713 (LC_COLLATE): Likewise.
30714 (LC_CTYPE): Likewise.
30715 (LC_MESSAGES): Likewise.
30716 (LC_MONETARY): Likewise.
30717 (LC_NUMERIC): Likewise.
30718 (LC_TIME): Likewise.
30719 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30720 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30721 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30722 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30723 Specify type.
30724 [C99-based standards] (float_t): Expect type.
30725 [C99-based standards] (double_t): Expect type.
30726 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30727 type.
30728 [C99-based standards] (HUGE_VALL): Likewise.
30729 [C99-based standards] (INFINITY): Likewise.
30730 [C99-based standards] (NAN): Likewise.
30731 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30732 [C99-based standards] (FP_NAN): Likewise.
30733 [C99-based standards] (FP_NORMAL): Likewise.
30734 [C99-based standards] (FP_SUBNORMAL): Likewise.
30735 [C99-based standards] (FP_ZERO): Likewise.
30736 [C99-based standards] (FP_FAST_FMA): Use
30737 optional-macro-int-constant. Specify type. Require == 1.
30738 [C99-based standards] (FP_FAST_FMAF): Likewise.
30739 [C99-based standards] (FP_FAST_FMAL): Likewise.
30740 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30741 [C99-based standards] (FP_ILOGBNAN): Likewise.
30742 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30743 Specify type.
30744 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30745 [C99-based standards] (math_errhandling): Specify type.
30746 [ISO99 || ISO11] (signgam): Do not allow.
30747 [non-C99-based standards] (copysignf): Do not allow.
30748 [non-C99-based standards] (exp2f): Likewise.
30749 [non-C99-based standards] (log2f): Likewise.
30750 [non-C99-based standards] (modff): Allow.
30751 [non-C99-based standards] (erff): Do not allow.
30752 [non-C99-based standards] (erfcf): Likewise.
30753 [non-C99-based standards] (gammaf): Likewise.
30754 [non-C99-based standards] (hypotf): Likewise.
30755 [non-C99-based standards] (j0f): Likewise.
30756 [non-C99-based standards] (j1f): Likewise.
30757 [non-C99-based standards] (jnf): Likewise.
30758 [non-C99-based standards] (lgammaf): Likewise.
30759 [non-C99-based standards] (tgammaf): Likewise.
30760 [non-C99-based standards] (y0f): Likewise.
30761 [non-C99-based standards] (y1f): Likewise.
30762 [non-C99-based standards] (ynf): Likewise.
30763 [non-C99-based standards] (isnanf): Likewise.
30764 [non-C99-based standards] (acoshf): Likewise.
30765 [non-C99-based standards] (asinhf): Likewise.
30766 [non-C99-based standards] (atanhf): Likewise.
30767 [non-C99-based standards] (cbrtf): Likewise.
30768 [non-C99-based standards] (expm1f): Likewise.
30769 [non-C99-based standards] (ilogbf): Likewise.
30770 [non-C99-based standards] (log1pf): Likewise.
30771 [non-C99-based standards] (logbf): Likewise.
30772 [non-C99-based standards] (nextafterf): Likewise.
30773 [non-C99-based standards] (remainderf): Likewise.
30774 [non-C99-based standards] (rintf): Likewise.
30775 [non-C99-based standards] (scalbf): Likewise.
30776 [non-C99-based standards] (copysignl): Likewise.
30777 [non-C99-based standards] (exp2l): Likewise.
30778 [non-C99-based standards] (log2l): Likewise.
30779 [non-C99-based standards] (modfl): Allow.
30780 [non-C99-based standards] (erfl): Do not allow.
30781 [non-C99-based standards] (erfcl): Likewise.
30782 [non-C99-based standards] (gammal): Likewise.
30783 [non-C99-based standards] (hypotl): Likewise.
30784 [non-C99-based standards] (j0l): Likewise.
30785 [non-C99-based standards] (j1l): Likewise.
30786 [non-C99-based standards] (jnl): Likewise.
30787 [non-C99-based standards] (lgammal): Likewise.
30788 [non-C99-based standards] (tgammal): Likewise.
30789 [non-C99-based standards] (y0l): Likewise.
30790 [non-C99-based standards] (y1l): Likewise.
30791 [non-C99-based standards] (ynl): Likewise.
30792 [non-C99-based standards] (isnanl): Likewise.
30793 [non-C99-based standards] (acoshl): Likewise.
30794 [non-C99-based standards] (asinhl): Likewise.
30795 [non-C99-based standards] (atanhl): Likewise.
30796 [non-C99-based standards] (cbrtl): Likewise.
30797 [non-C99-based standards] (expm1l): Likewise.
30798 [non-C99-based standards] (ilogbl): Likewise.
30799 [non-C99-based standards] (log1pl): Likewise.
30800 [non-C99-based standards] (logbl): Likewise.
30801 [non-C99-based standards] (nextafterl): Likewise.
30802 [non-C99-based standards] (remainderl): Likewise.
30803 [non-C99-based standards] (rintl): Likewise.
30804 [non-C99-based standards] (scalbl): Likewise.
30805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30806 [non-C99-based standards] (FP_*): Do not allow.
30807 [C99-based standards] (FP_*): Change to
30808 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30809 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30810 allow.
30811 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30812 (SIG_ERR): Likewise.
30813 [X/Open-based standards] (SIG_HOLD): Likewise.
30814 (SIG_IGN): Likewise.
30815 (SIGABRT): Use macro-int-constant. Specify type. Require
30816 positive value.
30817 (SIGFPE): Likewise.
30818 (SIGILL): Likewise.
30819 (SIGINT): Likewise.
30820 (SIGSEGV): Likewise.
30821 (SIGTER): Likewise.
30822 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30823 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30824 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30825 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30826 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30827 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30828 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30829 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30830 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30831 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30832 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30833 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30834 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30835 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30836 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30837 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30838 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30839 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30840 [X/Open-based standards] (SIGTRAP): Likewise.
30841 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30842 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30843 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30844 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30845 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30846 allow.
30847
b9f1922d
IW
308482012-05-08 Ian Wienand <ianw@vmware.com>
30849
30850 [BZ #14080]
30851 * time/tzset.c (__tzset_parse_tz): Update default rules for
30852 daylight time changes in the Energy Policy Act of 2005.
30853
1db86e88
AJ
308542012-05-09 Andreas Jaeger <aj@suse.de>
30855
30856 [BZ #13983]
30857 * elf/ldconfig.c (parse_conf): Change string to make clear that
30858 ldconfig only issued a warning if ld.so.conf does not exist.
30859
dee4a4e3
DM
308602012-05-08 David S. Miller <davem@davemloft.net>
30861
ee0db190
DM
30862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30863 movxtod instead of popping the value on the stack.
30864
dee4a4e3
DM
30865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30866
6a43ec98
CD
308672012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30868
30869 * config.h.in: Add HAVE_ARM_PCS_VFP.
30870
05c2c961
RMG
308712012-05-08 Roland Mc Grath <roland@hack.frob.com>
30872
bcfe3a54
ST
30873 [BZ #13979]
30874 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30875 checking but the checks are disabled for any reason.
05c2c961 30876
4b30f61a
L
308772012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30878
30879 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30880 and ELF64_R_TYPE with ELFW(R_TYPE).
30881
eee2bc67
JM
308822012-05-08 Joseph Myers <joseph@codesourcery.com>
30883
7ea5391a
JM
30884 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30885 (ulimit): Likewise.
30886
eee2bc67
JM
30887 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30888 (settimeofday): Likewise.
30889
abb66a67
MF
308902012-05-08 Mike Frysinger <vapier@gentoo.org>
30891
30892 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30893 a struct th_u2 inside the union, and move tu_block/tu_code into
30894 a new th_u3 union of tu_block/tu_code inside of that. Move
30895 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30896 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30897 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30898 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30899 (th_stuff): Change to th_u1.tu_stuff.
30900 (th_data): Define.
30901 (th_msg): Change to th_u1.th_u2.tu_data.
30902
7f18b530
DM
309032012-05-07 David S. Miller <davem@davemloft.net>
30904
05760585
DM
30905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30906
7f18b530
DM
30907 [BZ #14074]
30908 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30909 (SETUP_PIC_REG): Use it.
30910 (SETUP_PIC_REG_LEAF): Use it.
30911
495fd99f
JM
309122012-05-07 Joseph Myers <joseph@codesourcery.com>
30913
30914 [BZ #13885]
30915 [BZ #13923]
30916 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30917 USE_AS_EXPM1L.
30918 (EXPL_FINITE): Likewise.
30919 (FLDLOG): Likewise.
30920 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30921 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30922 e_expl.S.
30923 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30924 USE_AS_EXPM1L.
30925 (EXPL_FINITE): Likewise.
30926 (FLDLOG): Likewise.
30927 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30928 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30929 e_expl.S.
30930 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30931 test of -max_value argument for long double.
30932 * sysdeps/i386/fpu/libm-test-ulps: Update.
30933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30934
6693d694
DM
309352012-05-06 David S. Miller <davem@davemloft.net>
30936
30937 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30938 quad soft-float symbols whose references which are compiler
30939 generated.
30940 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30941
6c23e11c
JM
309422012-05-06 Joseph Myers <joseph@codesourcery.com>
30943
d8b82cad
JM
30944 [BZ #13884]
30945 [BZ #13914]
30946 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30947 USE_AS_EXP10L.
30948 (EXPL_FINITE): Likewise.
30949 (FLDLOG): Likewise.
30950 (c0): Likewise.
30951 (c1): Likewise.
30952 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30953 Adjust comments for base varying.
30954 (__expl_finite): Change alias to EXPL_FINITE.
30955 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30956 e_expl.S.
30957 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30958 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30959 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30960 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30961 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30962 USE_AS_EXP10L.
30963 (EXPL_FINITE): Likewise.
30964 (FLDLOG): Likewise.
30965 (c0): Likewise.
30966 (c1): Likewise.
30967 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30968 Adjust comments for base varying.
30969 (__expl_finite): Change alias to EXPL_FINITE.
30970 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30971 tests for bugs.
30972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30973
6c23e11c
JM
30974 [BZ #14064]
30975 * math/libm-test.inc (check_float_internal): Correct ulp
30976 calculation for subnormal expected results.
30977
29ba805c
AJ
309782012-05-06 Andreas Jaeger <aj@suse.de>
30979
30980 * Makeconfig (+math-flags): New, set to -frounding-math.
30981 (+cflags): Add +math-flags so that all of glibc gets compiled with
30982 it.
30983
30984 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30985
7b17aeda
JM
309862012-05-05 Joseph Myers <joseph@codesourcery.com>
30987
5779f134
JM
30988 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30989 Disable one test.
30990
41498f4d
JM
30991 [BZ #13787]
30992 [BZ #13922]
30993 [BZ #14036]
30994 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30995 (__ieee754_expl): Allow for and saturate large arguments.
30996 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30997 (u_threshold): Likewise.
30998 (__exp): Call __ieee754_exp before checking for overflow and
30999 underflow.
31000 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31001 (u_threshold): Likewise.
31002 (__expf): Call __ieee754_expf before checking for overflow and
31003 underflow.
31004 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31005 (u_threshold): Likewise.
31006 (__expl): Call __ieee754_expl before checking for overflow and
31007 underflow.
31008 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31009 (__ieee754_expl): Allow for and saturate large arguments.
31010 * math/libm-test.inc (exp_test): Add another test. Do not allow
31011 missing overflow exception on overflow.
31012 (expm1_test): Do not allow missing overflow exception on overflow.
31013
6698b8bf
JM
31014 * sysdeps/i386/fpu/e_expl.c: Move to ...
31015 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31016 rather than using inline asm.
31017 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31018 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31019 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31020
7b17aeda
JM
31021 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31022 (nice): Likewise.
31023 (poll): Likewise.
31024 (signal): Likewise.
31025 (time): Likewise.
31026 (times): Likewise.
31027
f7c85819
JM
310282012-05-04 Joseph Myers <joseph@codesourcery.com>
31029
31030 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31031 sysdeps/unix/common/syscalls.list.
31032 (fchmod): Likewise.
31033 (fchown): Likewise.
31034 (ftruncate): Likewise.
31035 (getrusage): Likewise.
31036 (gettimeofday): Likewise.
31037 (setpgid): Likewise.
31038 (setregid): Likewise.
31039 (setreuid): Likewise.
31040 (sigaction): Likewise.
31041 (truncate): Likewise.
31042 (vhangup): Likewise.
31043 * sysdeps/unix/common/syscalls.list: Remove file.
31044 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31045 * sysdeps/unix/sysv/linux/Implies: Likewise.
31046
336270d0
L
310472012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31048
31049 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31051 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31052 Moved to ...
31053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31054 Here.
31055 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31056 to ...
31057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31058 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31059 to ...
31060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31061 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31062 to ...
31063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31064 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31065 to ...
31066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31067 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31068 to ...
31069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31070 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31071 to ...
31072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31073 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31074 to ...
31075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31076 Here.
31077 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31078 to ...
31079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31080 Here.
31081 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31082 to ...
31083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31084 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31085 Moved to ...
31086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31087 Here.
31088 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31089 to ...
31090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31091
d128e450
JM
310922012-05-04 Joseph Myers <joseph@codesourcery.com>
31093
fa8ee516
JM
31094 * sysdeps/unix/common/bits/dirent.h: Remove file.
31095 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31096
d128e450
JM
31097 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31098 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31099 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31100 * sysdeps/unix/bsd/isatty.c: Likewise.
31101 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31102 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31103 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31104
ff8faaf0 311052012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 31106
62881be4 31107 [BZ #13563]
31dc8730
AZ
31108 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31109 long double comparison inaccuracies.
31110 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31112
6fef930c
AS
311132012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31114
31115 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31116 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31117
8f203e6c
JM
311182012-05-04 Joseph Myers <joseph@codesourcery.com>
31119
31120 [BZ #14049]
31121 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31122 nonzero digits before rounding a hex value.
31123 * stdlib/tst-strtod.c (tests): Add another test.
31124
5197d9c2
AK
311252012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31126
31127 * sysdeps/s390/fpu/libm-test-ulps: Update.
31128
f0c1dedf
AJ
311292012-05-03 Andreas Jaeger <aj@suse.de>
31130
31131 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31132 does not get optimized out.
31133 (malloc_opt_barrier): New.
31134
a65ef2ae 311352012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 31136 Roland McGrath <roland@hack.frob.com>
a65ef2ae 31137
2b942cb7 31138 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 31139 intermediate file deletion.
2b942cb7 31140 (generated): Add .symlist files.
a65ef2ae 31141
54b71e02
JM
311422012-05-03 Joseph Myers <joseph@codesourcery.com>
31143
31144 [BZ #13775]
31145 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31146 Redirect under this condition.
31147 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31148 [__USE_GNU] (__dprintf_chk): Not under this condition.
31149 [__USE_GNU] (__vdprintf_chk): Likewise.
31150 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31151 under this condition.
31152 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31153 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31154 [__USE_XOPEN2K8] (vdprintf): Likewise.
31155 [__USE_GNU] (__dprintf_chk): Not under this condition.
31156 [__USE_GNU] (__vdprintf_chk): Likewise.
31157 [__USE_GNU] (dprintf): Likewise.
31158 [__USE_GNU] (vdprintf): Likewise.
31159
d3dfcc41
RM
311602012-05-03 Roland McGrath <roland@hack.frob.com>
31161
31162 * elf/Makefile (common-generated): Set this instead of generated for
31163 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31164 $(all-built-dso)-derived lists.
31165
7ac30cc5
AJ
311662012-05-03 Andreas Jaeger <aj@suse.de>
31167
0c51e550
AJ
31168 * sysdeps/i386/fpu/libm-test-ulps: Update.
31169
7ac30cc5
AJ
31170 * FAQ: Removed.
31171 * FAQ.in: Likewise.
31172 * scripts/gen-FAQ.pl: Likewise.
31173 * manual/install.texi (Installation): Point to online location of
31174 FAQ.
31175 * Makefile (files-for-dist): Remove FAQ.
31176 (FAQ): Remove.
31177
d4c2917f
AM
311782012-05-02 Allan McRae <allan@archlinux.org>
31179
31180 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31181 (LDFLAGS-reldepmod5.so): Likewise.
31182 (LDFLAGS-reldep6mod1.so): Likewise.
31183 (LDFLAGS-reldep6mod4.so): Likewise.
31184 (LDFLAGS-reldep8mod3.so): Likewise.
31185 (LDFLAGS-unload4mod1.so): Likewise.
31186 (LDFLAGS-unload4mod2.so): Likewise.
31187 (LDFLAGS-tst-initorder): Likewise.
31188 (LDFLAGS-tst-initordera2.so): Likewise.
31189 (LDFLAGS-tst-initordera3.so): Likewise.
31190 (LDFLAGS-tst-initordera4.so): Likewise.
31191 (LDFLAGS-tst-initorderb2.so): Likewise.
31192 (LDFLAGS-noload): Likewise.
31193 (LDFLAGS-next): Likewise.
31194 (LDFLAGS-order2mod1.so): Likewise.
31195 (LDFLAGS-order2mod2.so): Likewise.
31196 (LDFLAGS-tst-initorder2): Likewise.
31197 (LDFLAGS-tst-initorder2a.so): Likewise.
31198 (LDFLAGS-tst-initorder2b.so): Likewise.
31199 (LDFLAGS-tst-initorder2c.so): Likewise.
31200 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31201
d77f993f
DM
312022012-05-02 David S. Miller <davem@davemloft.net>
31203
31204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31205
171a70b4
PP
312062012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31207
31208 [BZ #14055]
31209 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31210
0be196ad
AJ
312112012-05-02 Andreas Jaeger <aj@suse.de>
31212
31213 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31214 since we manipulate rounding mode.
31215 (CPPFLAGS-test-idouble.c): Likewise.
31216 (CPPFLAGS-test-ifloat.c): Likewise.
31217 (CFLAGS-test-ldouble.c): Likewise.
31218 (CFLAGS-test-double.c): Likewise.
31219 (CFLAGS-test-float.c): Likewise.
31220 (CFLAGS-test-misc.c): Likewise.
31221 (CFLAGS-test-test-fenv.c): Likewise.
31222
4f9d04aa
AZ
312232012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31224
2b942cb7
RM
31225 [BZ #2550]
31226 [BZ #2570]
31227 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31228 comparisons to determine direction to adjust input.
4f9d04aa 31229
82a79e7d
RM
312302012-05-01 Roland McGrath <roland@hack.frob.com>
31231
f5a01ca9
RM
31232 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31233 output to the target.
31234
90fe4186
RM
31235 * scripts/localplt.awk: New file.
31236 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31237 (check-localplt-CFLAGS): Variable removed.
31238 ($(all-built-dso:=.jmprel)): New static pattern rule.
31239 (generated): Add those targets.
31240 (localplt-built-dso): New variable.
31241 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31242
31243 * elf/check-localplt.c: File removed.
31244
82397ed6
RM
31245 * scripts/check-execstack.awk: New file.
31246 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31247 (check-execstack-CFLAGS): Variable removed.
31248 ($(objpfx)check-execstack.h): Target removed.
31249 ($(objpfx)execstack-default): New target.
31250 (generated): Add that instead of check-execstack.h.
31251 ($(all-built-dso:=.phdr)): New static pattern rule.
31252 (generated): Add those targets.
31253 * elf/check-execstack.c: File removed.
31254
82a79e7d
RM
31255 * scripts/check-textrel.awk: New file.
31256 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31257 (check-textrel-CFLAGS): Variable removed.
31258 (all-built-dso): Use := to define.o
31259 ($(all-built-dso:=.dyn)): New static pattern rule.
31260 (generated): Add those targets.
31261 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31262 * config.make.in (READELF): New substituted variable.
31263 * elf/check-textrel.c: File removed.
31264
62fde54f 312652012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 31266
615605c9
JM
31267 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31268 allow.
31269 * conform/data/ctype.h-data [C99-based standards] (isblank):
31270 Expect function.
31271 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31272 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31274 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31275 Specify type. Require positive value.
31276 (EILSEQ): Likewise.
31277 (ERANGE): Likewise.
31278 [ISO || POSIX] (EILSEQ): Do not expect.
31279 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31280 Specify type. Require positive value.
31281 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31282 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31283 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31284 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31285 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31286 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31287 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31288 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31289 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31290 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31291 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31292 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31293 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31294 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31295 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31296 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31297 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31298 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31299 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31300 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31301 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31302 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31303 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31304 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31305 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31306 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31307 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31308 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31309 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31310 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31311 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31312 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31313 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31314 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31315 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31316 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31317 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31318 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31319 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31320 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31321 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31322 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31323 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31324 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31325 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31326 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31327 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31328 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31329 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31330 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31331 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31332 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31333 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31334 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31335 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31336 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31337 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31338 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31339 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31340 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31341 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31342 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31343 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31344 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31345 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31346 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31347 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31348 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31349 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31350 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31351 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31352 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31353 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31354 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31355 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31356 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31357 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31358 Require >= 2.
31359 (FLT_ROUNDS): Expect as macro, not constant.
31360 (FLT_MANT_DIG): Use macro-int-constant.
31361 (DBL_MANT_DIG): Likewise.
31362 (LDBL_MANT_DIG): Likewise.
31363 (FLT_DIG): Likewise.
31364 (DBL_DIG): Likewise.
31365 (LDBL_DIG): Likewise.
31366 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31367 (DBL_MIN_EXP): Likewise.
31368 (LDBL_MIN_EXP): Likewise.
31369 (FLT_MAX_EXP): Use macro-int-constant.
31370 (DBL_MAX_EXP): Likewise.
31371 (LDBL_MAX_EXP): Likewise.
31372 (FLT_MAX_10_EXP): Likewise.
31373 (DBL_MAX_10_EXP): Likewise.
31374 (LDBL_MAX_10_EXP): Likewise.
31375 (FLT_MAX): Use macro-constant.
31376 (DBL_MAX): Likewise.
31377 (LDBL_MAX): Likewise.
31378 (FLT_EPSILON): Use macro-constant. Give upper bound.
31379 (DBL_EPSILON): Likewise.
31380 (LDBL_EPSILON): Likewise.
31381 (FLT_MIN): Likewise.
31382 (DBL_MIN): Likewise.
31383 (LDBL_MIN): Likewise.
31384 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31385 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31386 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31387 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31388 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31389 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31390 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31391 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31392 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31393 [ISO11] (FLT_TRUE_MIN): Likewise.
31394 [ISO11] (LDBL_TRUE_MIN): Likewise.
31395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31396 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31397 (SCHAR_MIN): Use macro-int-constant. Specify type.
31398 (SCHAR_MAX): Likewise.
31399 (UCHAR_MAX): Likewise.
31400 (CHAR_MIN): Likewise.
31401 (CHAR_MAX): Likewise.
31402 (MB_LEN_MAX): Use macro-int-constant.
31403 (SHRT_MIN): Use macro-int-constant. Specify type.
31404 (SHRT_MAX): Likewise.
31405 (USHRT_MAX): Likewise.
31406 (INT_MAX): Likewise.
31407 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31408 bound negative.
31409 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31410 bound with "U".
31411 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31412 bound with "L".
31413 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31414 bound negative. Suffix upper bound with "L".
31415 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31416 bound with "UL".
31417 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31418 Specify type.
31419 [C99-based standards] (LLONG_MAX): Likewise.
31420 [C99-based standards] (ULLONG_MAX): Likewise.
31421 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31422 == 0.
31423 [ISO11] (max_align_t): Require type.
31424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31425
c9140a62
JM
31426 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31427 from $CFLAGS, without defining away __attribute__ calls.
31428 (checknamespace): Use $CFLAGS_namespace.
31429
9af0bf29
JM
31430 * conform/conformtest.pl (@keywords): Only include C99 keywords
31431 for standards based on C99 or C11.
31432
343222a2
JM
31433 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31434 Disable tests.
31435 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31436 UNIX98]: Likewise.
31437
661f8cf0
JM
31438 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31439 usability of symbols in #if.
31440
ee74b9cb
JM
31441 * conform/conformtest.pl: If macro or constant types start
31442 "promoted:", expect the symbol to be of the following type
31443 promoted by the integer promotions.
62fde54f 31444
aafc49b3
JM
31445 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31446 in one place. Also handle "macro-constant".
31447
fefdf574
JM
31448 * conform/conformtest.pl: Only accept expected macro values with
31449 "==". Parse all "macro" lines in one place.
31450 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31451
f2d922fe
JM
31452 * conform/conformtest.pl: Handle braced types on "constant" lines
31453 instead of handling "typed-constant".
31454 * conform/data/signal.h-data: Use "constant" instead of
31455 "typed-constant".
31456
d22956c9
JM
31457 * conform/conformtest.pl: Handle "optional-" at start of lines in
31458 one place rather than duplicating several cases. Handle each
31459 format of "macro" line with initial "optional-".
31460
028e2e38
JM
31461 * conform/conformtest.pl: Only accept expected constant or
31462 optional-constant values with "==". Parse all "constant" lines in
31463 one place. Parse all "optional-constant" lines in one place.
31464 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31465 * conform/data/fmtmsg.h-data: Likewise.
31466 * conform/data/netinet/in.h-data: Likewise.
31467 * conform/data/tar.h-data: Likewise.
31468 * conform/data/limits.h-data: Use "==" form on "constant" and
31469 "optional-constant" lines.
31470
1b8f2850
JM
31471 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31472 Use -std=c99 for XOPEN2K.
31473 (@knownproblems): Remove.
31474 (newtoken): Don't check %isknown.
31475
a05a144b
JM
31476 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31477 Do not expect macro.
31478 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31479 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31480 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31481 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31482 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31483 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31484 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31485 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31486 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31487 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31488 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31489 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31490 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31491 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31492 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31493 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31494 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31495 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31496 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31497 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31498 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31499 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31500 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31501 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31502 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31503 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31504 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31505 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31506 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31507 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31508 [XPG3] (acosh): Likewise.
31509 [XPG3] (asinh): Likewise.
31510 [XPG3] (atanh): Likewise.
31511 [XPG3] (cbrt): Likewise.
31512 [XPG3] (expm1): Likewise.
31513 [XPG3] (ilogb): Likewise.
31514 [XPG3] (log1p): Likewise.
31515 [XPG3] (logb): Likewise.
31516 [XPG3] (nextafter): Likewise.
31517 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31518 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31519 [XPG3] (remainder): Likewise.
31520 [XPG3] (rint): Likewise.
31521 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31522 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31523 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31524 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31525 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31526 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31527 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31528 [UNIX98 || XOPEN2K] (scalb): Expect.
31529 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31530 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31531 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31532 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31533 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31534 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31535 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31536 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31537 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31538 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31539 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31540 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31541 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31542 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31543 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31544 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31545 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31546 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31547 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31548 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31549 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31550 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31551 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31552 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31553 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31554 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31555 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31556 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31557 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31558 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31559 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31560 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31561 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31562 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31563 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31564 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31565 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31566 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31567 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31568 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31569 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31570 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31571 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31572 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31573 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31574 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31575 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31576 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31577 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31578 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31579 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31580 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31581 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31582 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31583 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31584 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31585 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31586 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31587 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31588 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31589 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31590 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31591 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31592 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31593 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31594 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31595 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31596 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31597 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31598 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31599 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31600 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31601 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31602 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31603 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31604 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31605 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31606 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31607 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31608 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31609 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31610 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31611 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31612 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31613 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31614 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31615 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31616 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31617 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31618 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31619 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31620 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31621 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31622 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31623 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31624 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31625 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31626 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31627 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31628 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31629 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31630 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31631 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31632 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31633 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31634 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31635 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31636 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31637 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31638 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31639 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31640 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31641 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31642 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31643 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31644 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31645 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31646 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31647 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31648 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31649 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31650 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31651 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31652 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31653 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31654 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31655 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31656 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31657 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31658 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31659 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31660 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31661 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31662 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31663 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31664 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31665 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31666
73c5ebe3
JM
31667 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31668 _XOPEN_SOURCE_EXTENDED for XPG4.
31669
39c33b6c
JM
31670 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31671
62fde54f
JM
31672 * Makeconfig (localtime): Remove variable.
31673 (inst_localtime-file): Likewise.
31674
0741d64c
AS
316752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31676
31677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31678 Update.
31679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31680 Update.
31681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31682 Update.
31683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31684 Update.
31685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31686 Update.
31687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31688 Update.
31689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31690 Update.
31691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31692 Update.
31693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31694 Update.
31695
7cb029ee
JM
316962012-05-01 Joseph Myers <joseph@codesourcery.com>
31697
31698 [BZ #2550]
31699 [BZ #2570]
31700 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31701 comparisons to determine direction to adjust input.
31702 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31703 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31704 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31705 Likewise.
31706 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31707 Likewise.
31708 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31709 Likewise.
31710 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31711 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31712 Likewise.
31713 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31714 Likewise.
31715 * math/libm-test.inc (nexttoward_test): Add more tests.
31716
412bd966
AS
317172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31718
31719 [BZ #14040]
31720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31721 in version GLIBC_2.1, not GLIBC_2.0.
31722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31723 Likewise.
31724
9568c0c2
JM
317252012-04-30 Joseph Myers <joseph@codesourcery.com>
31726
adfbc8ac
JM
31727 [BZ #13942]
31728 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31729 (1 - x) * (1 + x).
31730 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31731 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31732 * math/libm-test.inc (acos_test): Add more tests.
31733 (asin_test): Likewise.
31734 * sysdeps/i386/fpu/libm-test-ulps: Update.
31735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31736
5ba3cc69
JM
31737 [BZ #14034]
31738 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31739 of square root.
31740 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31741 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31742 * math/libm-test.inc (acos_test_tonearest): New function.
31743 (acos_test_towardzero): Likewise.
31744 (acos_test_downward): Likewise.
31745 (acos_test_upward): Likewise.
31746 (asin_test_tonearest): Likewise.
31747 (asin_test_towardzero): Likewise.
31748 (asin_test_downward): Likewise.
31749 (asin_test_upward): Likewise.
31750 (main): Call the new functions.
31751 * sysdeps/i386/fpu/libm-test-ulps: Update.
31752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31753
9568c0c2
JM
31754 [BZ #13884]
31755 [BZ #13924]
31756 * math/e_exp10.c: Include <float.h>.
31757 (__ieee754_exp10): Handle underflow here rather than multiplying
31758 large negative argument by M_LN10.
31759 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31760 of __ieee754_expf.
31761 * math/e_exp10l.c: Include <float.h>.
31762 (__ieee754_exp10l): Handle underflow here rather than multiplying
31763 large negative argument by M_LN10l.
31764 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31765 spurious overflow exception on underflow.
31766
5ac3ea17
MP
317672012-04-29 Marek Polacek <polacek@redhat.com>
31768
31769 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31770 (__fortify_function): New macro.
31771 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31772 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31773 __extern_always_inline.
31774 * libio/bits/stdio2.h: Likewise.
31775 * libio/bits/stdio.h: Likewise.
31776 * string/string.h: Likewise.
31777 * string/bits/string3.h: Likewise.
31778 * include/stdio.h: Likewise.
31779 * stdlib/bits/stdlib.h: Likewise.
31780 * stdlib/stdlib.h: Likewise.
31781 * rt/bits/mqueue2.h: Likewise.
31782 * rt/mqueue.h: Likewise.
31783 * posix/bits/unistd.h: Likewise.
31784 * posix/unistd.h: Likewise.
31785 * io/bits/poll2.h: Likewise.
31786 * io/bits/fcntl2.h: Likewise.
31787 * io/fcntl.h: Likewise.
31788 * io/sys/poll.h: Likewise.
31789 * misc/bits/syslog.h: Likewise.
31790 * misc/bits/syslog-ldbl.h: Likewise.
31791 * misc/sys/syslog.h: Likewise.
31792 * socket/bits/socket2.h: Likewise.
31793 * socket/sys/socket.h: Likewise.
31794 * debug/tst-chk1.c: Likewise.
31795 * wcsmbs/bits/wchar2.h: Likewise.
31796 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31797 * wcsmbs/wchar.h: Likewise.
31798
ecf0ebfb
AJ
317992012-04-29 Andreas Jaeger <aj@suse.de>
31800
31801 * Makerules (tests): Remove enable-check-abi protection.
31802 (check-abi-warn): Remove.
31803 (check-abi-%): Remove check-abi-warn usage.
31804
31805 * configure.in: Remove check-abi configure option.
31806 * configure: Regenerated.
31807 * config.make.in (enable-check-abi): Remove.
31808
6d5c57fa
AS
318092012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31810
24c5d07e 31811 [BZ #14033]
ded5180a
AS
31812 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31813 double functions to double *_finite functions.
31814
7e0d315d
AS
31815 [BZ #13941]
31816 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31817 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31818 LDBL_MIN_EXP.
31819 * stdio-common/Makefile (tests): Add tst-sprintf3.
31820 * stdio-common/tst-sprintf3.c: New file.
31821
6d5c57fa
AS
31822 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31823 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31824
0749ff8b
JM
318252012-04-28 Joseph Myers <joseph@codesourcery.com>
31826
31827 * conform/conformtest.pl: Remove duplicate typed-constant
31828 handling.
31829
8dbd5d7b
DM
318302012-04-28 David S. Miller <davem@davemloft.net>
31831
31832 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31833 (check-abi-%): Remove AWK script prerequisite and explicit
31834 abilist directory.
31835 (check-abi): Rewrite to just diff the symlist with the abilist.
31836 (config-tls, config-abi-config): Delete, no longer used.
31837 (update-abi-%): Remove AWK script and explicit abilist directory.
31838 (update-abi): Rewrite to simply compare and conditionally copy the
31839 symlist and the sysdep abilist file. Remove update-abi-config
31840 checks.
31841 * abilist/ld.abilist: Remove.
31842 * abilist/libBrokenLocale.abilist: Remove.
31843 * abilist/libanl.abilist: Remove.
31844 * abilist/libcrypt.abilist: Remove.
31845 * abilist/libdl.abilist: Remove.
31846 * abilist/librt.abilist: Remove.
31847 * abilist/libthread_db.abilist: Remove.
31848 * abilist/libutil.abilist: Remove.
31849 * scripts/extract-abilist.awk: Remove.
31850 * scripts/merge-abilist.awk: Remove.
31851 * sysdeps/generic/libcidn.abilist: New file.
31852 * sysdeps/generic/libnss_compat.abilist: New file.
31853 * sysdeps/generic/libnss_db.abilist: New file.
31854 * sysdeps/generic/libnss_dns.abilist: New file.
31855 * sysdeps/generic/libnss_files.abilist: New file.
31856 * sysdeps/generic/libnss_hesiod.abilist: New file.
31857 * sysdeps/generic/libnss_nis.abilist: New file.
31858 * sysdeps/generic/libnss_nisplus.abilist: New file.
31859 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31860 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31861 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31862 file.
31863 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31864 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31865 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31866 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31867 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31868 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31869 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31870 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31871 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31872 file.
31873 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31874 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31875 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31876 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31877 file.
31878 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31879 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31880 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31881 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31882 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31883 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31884 file.
31885 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31886 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31887 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31888 file.
31889 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31891 New file.
31892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31893 New file.
31894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31895 New file.
31896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31897 New file.
31898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31899 New file.
31900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31901 New file.
31902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31903 New file.
31904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31905 New file.
31906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31907 New file.
31908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31909 New file.
31910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31911 New file.
31912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31913 New file.
31914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31915 New file.
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31917 file.
31918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31919 New file.
31920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31921 New file.
31922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31923 file.
31924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31925 New file.
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31927 New file.
31928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31929 file.
31930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31931 New file.
31932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31933 New file.
31934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31935 New file.
31936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31937 New file.
31938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31939 New file.
31940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31941 New file.
31942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31944 file.
31945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31946 New file.
31947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31948 file.
31949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31950 file.
31951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31952 file.
31953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31954 file.
31955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31956 file.
31957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31958 New file.
31959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31960 file.
31961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31962 file.
31963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31964 New file.
31965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31966 file.
31967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31969 file.
31970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31971 New file.
31972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31973 file.
31974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31975 file.
31976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31977 file.
31978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31979 file.
31980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31981 file.
31982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31983 New file.
31984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31985 file.
31986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31987 file.
31988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31989 New file.
31990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31991 file.
31992 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31993 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31994 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31995 file.
31996 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31997 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31998 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31999 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32000 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32001 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32002 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32003 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32004 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32005 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32008 file.
32009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32010 New file.
32011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32012 file.
32013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32014 file.
32015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32016 file.
32017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32018 file.
32019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32020 file.
32021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32022 New file.
32023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32024 New file.
32025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32026 file.
32027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32028 New file.
32029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32030 file.
32031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32033 file.
32034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32035 New file.
32036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32037 file.
32038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32039 file.
32040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32041 file.
32042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32043 file.
32044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32045 file.
32046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32047 New file.
32048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32049 New file.
32050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32051 file.
32052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32053 New file.
32054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32055 file.
32056
41d73a1b
JM
320572012-04-28 Joseph Myers <joseph@codesourcery.com>
32058
32059 * conform/conformtest.pl: Fix typo in handling typed-constant from
32060 allow-header.
32061
28aeeda4
JM
320622012-04-27 Joseph Myers <joseph@codesourcery.com>
32063
adae8f5e
JM
32064 * README: Cut down references to pre-2.6 Linux kernels and
32065 Linuxthreads. Update lists of configurations in libc and ports
32066 and sort alphabetically. Say "or newer" with Linux kernel version
32067 requirements.
32068
28aeeda4
JM
32069 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32070
a462cb63
RA
320712012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32072
32073 [BZ #887]
32074 * math/libm-test.inc (logb_test_downward): New test to expose
32075 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32076 rounding mode.
32077
6ad3493e
JM
320782012-04-27 Joseph Myers <joseph@codesourcery.com>
32079
32080 [BZ #14027]
32081 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32082 to be done.
32083 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32084 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32085
2ce4f015
JM
320862012-04-26 Joseph Myers <joseph@codesourcery.com>
32087
5aeb141a
JM
32088 * sysdeps/unix/i386/brk.S: Remove file.
32089 * sysdeps/unix/i386/dl-brk.S: Likewise.
32090 * sysdeps/unix/i386/pipe.S: Likewise.
32091 * sysdeps/unix/i386/sigreturn.S: Likewise.
32092 * sysdeps/unix/i386/syscall.S: Likewise.
32093 * sysdeps/unix/i386/vfork.S: Likewise.
32094 * sysdeps/unix/i386/wait.S: Likewise.
32095
7143acae
JM
32096 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32097 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32098
2ce4f015
JM
32099 * configure.in (arm*-none*): Do not allow without
32100 --enable-hacker-mode.
32101 (netbsd*): Remove case setting base_os.
32102 (386bsd*): Likewise.
32103 (freebsd*): Likewise.
32104 (bsdi*): Likewise.
32105 (osf*): Likewise.
32106 (sunos*): Likewise.
32107 (ultrix*): Likewise.
32108 (newsos*): Likewise.
32109 (dynix*): Likewise.
32110 (*bsd*): Likewise.
32111 (sysv*): Likewise.
32112 (isc*): Likewise.
32113 (esix*): Likewise.
32114 (sco*): Likewise.
32115 (minix*): Likewise.
32116 (irix4*): Likewise.
32117 (irix6*): Likewise.
32118 (solaris[2-9]*): Likewise.
32119 (none): Likewise.
32120 * configure: Regenerated.
32121
0ac229c8
AZ
321222012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32123
32124 [BZ #11521]
32125 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32126 overflow or cancellation in calculating denominator.
32127 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32128 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32129 down expression to avoid unexpected rounding in newer GCCs.
32130 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32131
33f244f4
DM
321322012-04-26 David S. Miller <davem@davemloft.net>
32133
32134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32135 long-double compat symbols.
32136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32149
cfa1f3e8
DM
321502012-04-25 David S. Miller <davem@davemloft.net>
32151
32152 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32153 HWCAP_* values only after the memory barriers have been defined.
32154 (atomic_full_barrier): Define.
32155 (atomic_read_barrier): Define.
32156 (atomic_write_barrier): Define.
32157
6e236b92
SP
321582012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32159
32160 * shlib-versions: Add libgcc_s version information.
32161 * sysdeps/generic/libgcc_s.h: Remove.
32162 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32163 libgcc_s.h.
32164 * sysdeps/gnu/unwind-resume.c: Likewise.
32165 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32166
aab39a09
DM
321672012-04-25 David S. Miller <davem@davemloft.net>
32168
32169 * sysdeps/unix/sparc/brk.S: Delete.
32170 * sysdeps/unix/sparc/dl-brk.S: Delete.
32171 * sysdeps/unix/sparc/pipe.S: Delete.
32172 * sysdeps/unix/sparc/sysdep.S: Delete.
32173 * sysdeps/unix/sparc/sysdep.h: Delete.
32174 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32175 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32176 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32177 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32178 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32179 (JUMPTARGET): Remove.
32180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32181 sysdeps/unix/sparc/sysdep.h
32182 (ENTRY, END): Remove.
32183 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32184
a3cc4f48
JM
321852012-04-25 Joseph Myers <joseph@codesourcery.com>
32186
2ed8cda2
JM
32187 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32188 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32189 -DIS_IN_build.
32190
35d76d59
JM
32191 * timezone/README: Update upstream location and email address for
32192 tzcode and tzdata.
32193 * timezone/zdump.c: Update from tzcode 2012b.
32194 * timezone/zic.c: Likewise.
32195
a3cc4f48
JM
32196 * configure.in (libc_cv_as_needed): Remove test.
32197 * configure: Regenerated.
32198 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32199 conditional definition.
32200 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32201 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32202 * config.make.in (have-as-needed): Remove variable.
32203
ceab42c3
SP
322042012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32205 Paul Pluzhnikov <ppluzhnikov@google.com>
32206
32207 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32208 strings correctly.
32209
3ce2865f
CLT
322102012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32211
32212 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32213 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32214 * sysdeps/sh/strlen.S: Likewise.
32215
f37e0d68
JM
322162012-04-24 Joseph Myers <joseph@codesourcery.com>
32217
ae186e9a
JM
32218 * sysdeps/unix/fork.S: Remove file.
32219 * sysdeps/unix/i386/fork.S: Likewise.
32220 * sysdeps/unix/sparc/fork.S: Likewise.
32221
b96914af
JM
32222 * sysdeps/unix/system.c: Remove file.
32223 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32224
f37e0d68
JM
32225 * sysdeps/unix/getegid.S: Remove file.
32226 * sysdeps/unix/geteuid.S: Likewise.
32227
87ef29ca
RM
322282012-04-24 Roland McGrath <roland@hack.frob.com>
32229
83bcd236
RM
32230 * scripts/check-localplt.awk: New file.
32231 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32232 of diff.
32233 * scripts/data/localplt-generic.data: Add a comment.
32234
87ef29ca
RM
32235 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32236 NODE when __dir_mkfile failed.
32237 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32238 Reported by Ludovic Courtès <ludo@gnu.org>.
32239
e5a6e567
AJ
322402012-04-24 Andreas Jaeger <aj@suse.de>
32241
32242 * Makerules (common-clean): Also remove gen-as-const-headers
32243 files.
32244
c1820385
JM
322452012-04-24 Joseph Myers <joseph@codesourcery.com>
32246
32247 * Makerules (native-compile): Do not change working directory for
32248 build. Use $(OUTPUT_OPTION) in command.
32249 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32250
94e02fc4
AZ
322512012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32252
32253 [BZ #13886]
32254 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32255 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32256 * math/libm-test.inc (floor_test): Add more tests.
32257 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32258
3a533ca3
JM
322592012-04-24 Joseph Myers <joseph@codesourcery.com>
32260
940ab4b3
JM
32261 * sysdeps/unix/getdents.c: Remove file.
32262 * sysdeps/unix/sysv/getdents.c: Likewise.
32263 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32264
90e037bd
JM
32265 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32266 sysdeps/unix/mman/syscalls.list.
32267 (mmap): Likewise.
32268 (mprotect): Likewise.
32269 (msync): Likewise.
32270 (munmap): Likewise.
32271 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32272 * sysdeps/unix/mman/syscalls.list: Remove.
32273 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32274
3a533ca3
JM
32275 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32276 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32277 * configure: Regenerated.
32278 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32279 $(libgcc_s_suffix).
32280 * config.make.in (libgcc_s_suffix): Remove variable.
32281
1ad743de
JM
322822012-04-23 Joseph Myers <joseph@codesourcery.com>
32283
4ad451e2
JM
32284 * sysdeps/unix/sysv/gethostname.c: Move to ...
32285 * sysdeps/posix/gethostname.c: ... here.
32286
5e37ce39
JM
32287 * sysdeps/unix/execve.S: Remove file.
32288
1ad743de
JM
32289 * sysdeps/unix/_exit.S: Remove file.
32290
4e681b5b
AJ
322912012-04-23 Andreas Jaeger <aj@suse.de>
32292
32293 [BZ #13739]
32294 * manual/Makefile: Remove make dist support, there's no
32295 need for a stand-alone documentation tar ball.
32296 (TEXI2DVI): Define always, it's not in Makeconfig.
32297 (dist): Removed.
32298 (tar-it): Removed.
32299 (edition): Removed.
32300 (glibc-doc-$(edition).tar): Removed
32301 (%.Z): Removed.
32302 (%.gz): Removed.
32303 (%.uu): Removed.
32304 (ETAGS): Remove, it's in Makeconfig.
32305 (move-if-change): Remove, it's in Makeconfig.
32306
38686a03 323072012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
32308
32309 [BZ #13970]
32310 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32311 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32312 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32313 (strtod_l, strtof_l, strtold_l): Remove __wur.
32314 It is not necessarily an error to ignore strtol's return value.
32315 One can reliably look at the stored endptr to decide whether
32316 the number had valid syntax.
32317
7c0616fa
AJ
323182012-04-21 Andreas Jaeger <aj@suse.de>
32319
803cb6b7 32320 [BZ #13739]
7c0616fa
AJ
32321 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32322
b0fe253f
JM
323232012-04-21 Joseph Myers <joseph@codesourcery.com>
32324
32325 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32326 * sysdeps/unix/sysv/Versions: Remove file.
32327
8280f22d
MT
323282012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32329
32330 [BZ #13927]
32331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32332
75ce411f 323332012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
32334
32335 [BZ #7064]
32336 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32337 version from __vm86.
32338
097d59fa
JM
323392012-04-20 Joseph Myers <joseph@codesourcery.com>
32340
a90f3bcb
JM
32341 * sysdeps/unix/common/lxstat.c: Remove file.
32342 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32343
edc7ea78
JM
32344 * sysdeps/unix/sysv/Makefile: Remove file.
32345
cb78c221
JM
32346 * sysdeps/unix/sysv/direct.h: Remove file.
32347
efa6a45f
JM
32348 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32349 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32350 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32351 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32352 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32353 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32354 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32355
9c9f2d0c
JM
32356 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32357
4541c83b
JM
32358 * sysdeps/unix/xmknod.c: Remove file.
32359 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32360
f5d153a0
JM
32361 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32362
aa746595
JM
32363 * sysdeps/unix/sysv/i386/time.S: Remove file.
32364
cce5905e
JM
32365 * sysdeps/unix/fxstat.c: Remove file.
32366 * sysdeps/unix/xstat.c: Likewise.
32367 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32368
37fa3841
JM
32369 * sysdeps/unix/sysv/sigaction.c: Remove file.
32370
ff1962a3
JM
32371 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32372 (sysdep_headers): Remove variable.
32373 [termio.h not in sysdep_headers] (generated): Likewise.
32374 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32375 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32376 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32377 * sysdeps/unix/sysv/tcflow.c: Likewise.
32378 * sysdeps/unix/sysv/tcflush.c: Likewise.
32379 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32380 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32381 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32382 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32383 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32384
e7740d31
JM
32385 * sysdeps/unix/siglist.c: Remove file.
32386
ee06f18b
JM
32387 * sysdeps/unix/getppid.S: Remove file.
32388
097d59fa
JM
32389 * sysdeps/unix/mkdir.c: Remove file.
32390 * sysdeps/unix/rmdir.c: Likewise.
32391
ff3d51ec
AS
323922012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32393
32394 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32395 ERR_MAX value.
32396 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32397 errlist-compat value.
32398
50f81fd7
DM
323992012-04-18 David S. Miller <davem@davemloft.net>
32400
32401 * sysdeps/generic/memcopy.h (reg_char): Delete.
32402 * debug/strcat_chk.c: Use char, not reg_char.
32403 * debug/strcpy_chk.c: Likewise.
32404 * debug/strncat_chk.c: Likewise.
32405 * debug/strncpy_chk.c: Likewise.
32406 * string/memchr.c: Likewise.
32407 * string/memrchr.c: Likewise.
32408 * string/rawmemchr.c: Likewise.
32409 * string/strcat.c: Likewise.
32410 * string/strchr.c: Likewise.
32411 * string/strchrnul.c: Likewise.
32412 * string/strcmp.c: Likewise.
32413 * string/strcpy.c: Likewise.
32414 * string/strncat.c: Likewise.
32415 * string/strncmp.c: Likewise.
32416 * string/strncpy.c: Likewise.
32417
8ff41c46
WS
324182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32419
32420 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32421 __builtin_memcopy is called when src and dest ranges are known to not
32422 overlap.
32423
6b652f46
WS
324242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32425
32426 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32427 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32428 fwd_align_merge macro call.
32429 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32430 bwd_align_merge macro call.
32431 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32432
b282631e
WS
324332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32434
32435 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32436 bwd_align_merge macros.
32437 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32438 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32439 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32440
95aa737c
DM
324412012-04-18 David S. Miller <davem@davemloft.net>
32442
32443 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32444
7a99a614
AJ
324452012-04-18 Andreas Jaeger <aj@suse.de>
32446
32447 [BZ# 6794]
32448 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32449 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32450 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32451
32452 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32453 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32454 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32455
32456 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32457 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32458 Adjust for changed ldbl-128 files.
32459
32460 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32461 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32462 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32463
e5270c23
DM
324642012-04-17 David S. Miller <davem@davemloft.net>
32465
32466 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32467
fb5e92c9
AS
324682012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32469
32470 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32471 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32472 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32473 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32474 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32475 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32476
76da7265
AZ
324772012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32478
32479 [BZ #6794]
32480 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32481 * math/libm-test.inc: Add ilogb errno and exception tests.
32482 * math/w_ilogb.c: New file: ilogb wrapper.
32483 * math/w_ilogbf.c: New file: ilogbf wrapper.
32484 * math/w_ilogbl.c: New file: ilogbl wrapper.
32485 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32486 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32487 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32488 exception being thrown with 0.0 as argument.
32489 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32490 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32491 exception being thrown with 0.0 as argument.
32492 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32493 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32494 exception being thrown with 0.0 as argument.
32495 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32496 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32497 exception being thrown with 0.0 as argument.
32498 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32499 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 32500 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
32501 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32502 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32503 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32504 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32505 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32506 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32507
0396e69d
PB
325082012-04-17 Petr Baudis <pasky@ucw.cz>
32509
32510 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32511 with altivec.
32512
750b5926
MP
325132012-04-16 Marek Polacek <polacek@redhat.com>
32514
32515 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32516
751728a1
MP
325172012-04-16 Marek Polacek <polacek@redhat.com>
32518
32519 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32520 operands of fdivp instruction.
32521
34a27407
L
325222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32523
32524 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32525 * elf/tst-auditmod3b.c: Likewise.
32526 * elf/tst-auditmod4b.c: Likewise.
32527 * elf/tst-auditmod5b.c: Likewise.
32528 * elf/tst-auditmod6b.c: Likewise.
32529 * elf/tst-auditmod6c.c: Likewise.
32530 * elf/tst-auditmod7b.c: Likewise.
32531 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32532 * sysdeps/x86_64/preconfigure.in: Likewise.
32533 * sysdeps/x86_64/preconfigure: Regenerated.
32534
7e73e17d
L
325352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32536
32537 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32538 __ILP32__.
32539
c7a6ab72
AB
325402012-04-13 Antoine Balestrat <merkil33@gmail.com>
32541
32542 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32543 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32544
a9e8e0e0
CL
325452012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32546
32547 [BZ #13973]
32548 * locale/iso-639.def: Fix gl language name. Spotted by
32549 Yaron Shahrabani.
32550
ec98af7d
RM
325512012-04-12 Roland McGrath <roland@hack.frob.com>
32552
32553 [BZ #2074]
32554 * libio/libio.h (__io_write_fn): Update comment.
32555
247c3ede
PB
325562012-04-12 Petr Baudis <pasky@ucw.cz>
32557
32558 [BZ #2074]
32559 * stdio.texi (Hook Functions): The user provided writer function
32560 is not allowed to return -1.
32561
55939d6d
DM
325622012-04-11 David S. Miller <davem@davemloft.net>
32563
32564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32565
90020f5a
MF
325662012-04-11 Mike Frysinger <vapier@gentoo.org>
32567
32568 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32569 Add a leading slash to rtkaio.
32570
288f9098
JM
325712012-04-11 Jim Meyering <meyering@redhat.com>
32572
90020f5a
MF
32573 [BZ #11959]
32574 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32575 It is not necessarily an error to ignore fwrite's return
32576 value. One can reliably use ferror to test for errors after
32577 the fact.
288f9098 32578
4be2b570
L
325792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32580
32581 * bits/types.h (__snseconds_t): New type.
32582 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32583
32584 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32586 (__SNSECONDS_T_TYPE): Likewise.
32587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32588 (__SNSECONDS_T_TYPE): Likewise.
32589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32590 (__SNSECONDS_T_TYPE): Likewise.
32591
288f9098 325922012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
32593
32594 [BZ #2636]
32595 * manual/time.texi (Processor Time): Return type of times is
32596 elapsed real time since an arbitrary point in the past.
32597 (CPU Time): Move CLK_TCK from here...
32598 (Processor Time): ...to here. Correct description.
32599 * manual/conf.texi (Constants for Sysconf): Correct description of
32600 _SC_CLK_TCK.
32601
d7dd4413
DM
326022012-04-10 David S. Miller <davem@davemloft.net>
32603
32604 [BZ #13967]
32605 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32606 where the is a gap between DT_REL(A) and DT_JMPREL.
32607
b46068fc
L
326082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32609
32610 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32611 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32612 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32613
73d65cc3
SP
326142012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32615
32616 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32617 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32618 (dl_main): Handle --inhibit-cache.
32619 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32620 _dl_inhibit_cache.
32621 * elf/dl-load.c (_dl_map_object): Use it.
32622 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32623
bcc8d661
JM
326242012-04-09 Joseph Myers <joseph@codesourcery.com>
32625
8f9a2fae
JM
32626 [BZ #13872]
32627 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32628 (__ieee754_powl): Saturate large exponents rather than testing for
32629 overflow of y*log2(x).
32630 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32631 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32632 exceptions.
32633
bcc8d661
JM
32634 [BZ #11521]
32635 * math/s_ctan.c: Include <float.h>.
32636 (__ctan): Avoid internal overflow or cancellation in calculating
32637 denominator.
32638 * math/s_ctanf.c: Likewise.
32639 * math/s_ctanl.c: Likewise.
32640 * math/s_ctanh.c: Likewise.
32641 * math/s_ctanhf.c: Likewise.
32642 * math/s_ctanhl.c: Likewise.
32643 * math/libm-test.inc (ctan_test): Add more tests.
32644 (ctanh_test): Likewise.
32645 * sysdeps/i386/fpu/libm-test-ulps: Update.
32646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32647
823fbbb4
AJ
326482012-04-09 Andreas Jaeger <aj@suse.de>
32649
03879793
AJ
32650 [BZ #6894]
32651 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32652 is an optional BSD extension.
32653
823fbbb4
AJ
32654 [BZ #10254]
32655 * manual/stdio.texi (Opening Streams): Document additional fopen
32656 parameters.
32657
8de131cb
RM
326582012-04-09 Roland McGrath <roland@hack.frob.com>
32659
32660 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32661 %eax without telling the compiler.
32662
c0ed9d7d
CD
326632012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32664
32665 [BZ # 13963]
32666 * manual/install.texi: Use sourceware.org.
32667
c483f6b4
JM
326682012-04-09 Joseph Myers <joseph@codesourcery.com>
32669
d7dd9453
JM
32670 [BZ #13873]
32671 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32672 (__ieee754_pow): Generate overflow and underflow using huge*huge
32673 and tiny*tiny rather than just returning constant infinity or zero
32674 for large exponents.
32675 * math/libm-test.inc (pow_test): Require overflow exceptions for
32676 applicable cases of large exponents.
32677
c483f6b4
JM
32678 [BZ #706]
32679 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32680 (__ieee754_pow): Use iterative multiplication algorithm only for
32681 integer exponents with absolute value below 1024. Check for odd
32682 integer exponents when using algorithm for real exponents.
32683 * math/libm-test.inc (pow_test): Add more tests.
32684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32685
d2de7579
JM
326862012-04-08 Joseph Myers <joseph@codesourcery.com>
32687
32688 [BZ #13705]
32689 * math/libm-test.inc (exp_test): Do not allow overflow exception
32690 on underflow test.
32691
f77f1232
AJ
326922012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32693
32694 [BZ #13705]
32695 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32696 instead of __kernel_standard_f.
32697
3884932b
MF
326982012-04-08 Mike Frysinger <vapier@gentoo.org>
32699
32700 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32701 * sysdeps/x86_64/memset_chk.S: Likewise.
32702
54472e9c
AJ
327032012-04-08 Andreas Jaeger <aj@suse.de>
32704
6ab0fbfc
AJ
32705 [BZ #10153]
32706 * manual/startup.texi (Environment Access): Describe return value
32707 for putenv and setenv.
32708
61efba8c
AJ
32709 [BZ #6895]
32710 * manual/filesys.texi (Directory Entries): Add description for
32711 DT_LNK.
32712
95c3f29a
AJ
32713 [BZ #6890]
32714 * manual/filesys.texi (Directory Entries): Clarify that it's file
32715 system not operating system in the description of DT_UNKNOWN.
32716
54472e9c
AJ
32717 [BZ #6578]
32718 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32719
624254b1
SC
327202012-04-08 Stephen Compall <s11@member.fsf.org>
32721
32722 [BZ #6649]
32723 * manual/llio.texi (Opening and Closing Files): Add cross
32724 reference to explain mode argument.
32725
1e4920e0
MF
327262012-04-07 Mike Frysinger <vapier@gentoo.org>
32727
32728 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32729 * sysdeps/x86_64/memset_chk.S: Likewise.
32730
5ed848f3
DM
327312012-04-07 David S. Miller <davem@davemloft.net>
32732
32733 * elf/elf.h (R_SPARC_WDISP10): Define.
32734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32735 R_SPARC_SIZE32.
32736 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32737 R_SPARC_SIZE64 and R_SPARC_H34.
32738
96154cd8
CD
327392012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32740
32741 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32742 conditions and remove no longer applicable assertion.
32743
9904dc47
L
327442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32745
32746 * bits/byteswap.h: Include <features.h>.
32747 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32748 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32749
f8887d0a
L
327502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32751
32752 * bits/byteswap.h (__bswap_16): Removed.
32753 Include <bits/byteswap-16.h> to get __bswap_16.
32754 * sysdeps/i386/bits/byteswap.h: Likewise.
32755 * sysdeps/s390/bits/byteswap.h: Likewise.
32756 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32757 * bits/byteswap-16.h: New file.
32758 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32759 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32760 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32761 * string/Makefile (headers): Add bits/byteswap-16.h.
32762
62470f60
PP
327632012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32764
32765 [BZ #13895]
32766 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32767 extra indirection.
32768 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32769 * nss/tst-nss-static.c: New.
32770
4dad7bab
RM
327712012-04-06 Robert Millan <rmh@gnu.org>
32772
32773 [BZ #6486]
32774 * manual/llio.texi (File Position Primitive): lseek
32775 refers to WHENCE when it really means OFFSET.
32776
e9142a17
AJ
327772012-04-06 Andreas Jaeger <aj@suse.de>
32778
2c040eff
AJ
32779 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32780 strncmp declarations.
32781
e9142a17
AJ
32782 * abilist/libc.abilist: Add __poll and __ppoll.
32783
ff9f1c5f
DM
327842012-04-05 David S. Miller <davem@davemloft.net>
32785
dcd2ae90
DM
32786 * scripts/check-local-headers.sh: Accept a host triplet in the
32787 path matched by the exclude regexp.
32788
993eb054
DM
32789 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32790 definition.
32791 * sysdeps/powerpc/powerpc32/dl-machine.h
32792 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32793 * sysdeps/s390/s390-32/dl-machine.h
32794 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32795 * sysdeps/sparc/sparc32/dl-machine.h
32796 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32797 * sysdeps/sparc/sparc64/dl-machine.h
32798 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32799
ff9f1c5f
DM
32800 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32801 lazy binding.
48e2e132 32802 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32803 undefined symbol errors.
32804
48e2e132 32805 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32806 DT_NEEDED entries.
32807
e80d6f94
MM
328082012-04-05 Michael Matz <matz@suse.de>
32809
32810 [BZ #13592]
32811 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32812
349fa79f
AJ
328132012-04-05 Andreas Jaeger <aj@suse.de>
32814
32815 [BZ #13908]
32816 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32817 comment.
32818
f402708f
KK
328192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32820
32821 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32822 which ROUND is no valid rounding mode.
32823
2ecccfc9
KK
328242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32825
32826 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32827 read again.
32828 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32829
8a53f50f
KK
328302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32831
32832 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32833 an exception using FPU order intentionally.
32834
328352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32836
32837 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32838 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32839 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32840 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32841
d653abb7
SJ
328422012-04-05 Simon Josefsson <simon@josefsson.org>
32843
32844 [BZ #12340]
32845 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32846 EINVAL when BUFLEN is too smal.
32847
c3b1bf7d
TS
328482012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32849
32850 [BZ #13553]
32851 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32852 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32853
b1aa60f3
AJ
328542012-04-03 Andreas Jaeger <aj@suse.de>
32855
c3b1bf7d 32856 [BZ #13938]
67f60a26
AJ
32857 * manual/setjmp.texi (System V contexts): Fix sentence.
32858
b1aa60f3
AJ
32859 [BZ #13926]
32860 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32861 New macro for this case.
32862 [!__GNUC__] (__bswap_64): New inline function for this case.
32863 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32864 * bits/byteswap.h: Likewise.
32865 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32866 ull, guard with __GLIBC_HAVE_LONG_LONG.
32867
32868 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32869 __GLIBC_HAVE_LONG_LONG.
32870
32871 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32872 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32873
39c59c35
TMQMF
328742012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32875
32876 [BZ #13691]
32877 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32878 inptr and inend, rather than using last_ch.
32879
135ffda8
DM
328802012-04-02 David S. Miller <davem@davemloft.net>
32881
32882 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32883 * stdio-common/printf-parse.h (read_int): Change return type to
32884 'int', return -1 on INT_MAX overflow.
32885 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32886 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32887 overflows INT_MAX. Check for overflow of in-format-string precision
32888 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32889 SIZE_MAX not INT_MAX for integer overflow test.
32890 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32891 skip the construct in the format string but do not record anything.
32892 * stdio-common/bug22.c: Adjust to test both width/prevision
32893 INT_MAX overflow as well as total length INT_MAX overflow. Check
32894 explicitly for proper errno values.
32895
228c019e
TS
328962012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32897
302cadd3
TS
32898 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32899 CHAR_MAX.
32900 * string/test-strcmp.c [! WIDE]: Likewise.
32901 * time/tst-mktime2.c: Likewise for INT_MAX.
32902 * string/test-string.h: #include <sys/param.h> for MIN.
32903
228c019e
TS
32904 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32905 * sysdeps/i386/init-first.c (init): Likewise.
32906 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32907 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32908 * sysdeps/sh/init-first.c (init): Likewise.
32909
cfa633f5
UD
329102012-04-01 Ulrich Drepper <drepper@gmail.com>
32911
32912 * po/ru.po: Update from translation team.
d1635ef8 32913 * po/vi.po: Likewise.
cfa633f5 32914
6cd0a5ea
SP
329152012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32916
32917 * resolv/nss_dns/dns-host.c: Merge copyright years.
32918
4b43400f
LD
329192012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32920
32921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32922 Optimize memcpy with prefetch if
32923 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32924 src, dst pointers have unequal 16 byte alignments.
32925
48c41d04
SP
329262012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32927
32928 [BZ #13928]
32929 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32930 from a CNAME entry and return the minimum ttl for the query.
32931 (gaih_getanswer_slice): Likewise.
32932
b8dc394d
JL
329332012-03-30 Jeff Law <law@redhat.com>
32934
32935 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32936 due to long keys.
32937 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32938 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32939
2f5a5ed0
JL
32940 * resolv/nss_dns/dns-host.c: Update copyright year.
32941
1d39e359
UD
329422012-03-30 Ulrich Drepper <drepper@gmail.com>
32943
c030f70c 32944 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32945 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32946
1d39e359
UD
32947 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32948 comments for sendmmsg.
32949
329502012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32951
32952 [BZ #13691]
32953 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32954 with only 1 character between 0x0041 and 0x01b0.
32955 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32956 * wcsmbs/tst-mbsnrtowcs.c: New file.
32957
20fde227
DM
329582012-03-29 David S. Miller <davem@davemloft.net>
32959
32960 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32961 small copies by hand.
32962
984a4237
JL
329632012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32964
32965 [BZ #13761]
57f41c40
AS
32966 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32967 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32968 group memberships.
984a4237 32969
18c9d62b
DM
329702012-03-28 David S. Miller <davem@davemloft.net>
32971
88d85d4f
DM
32972 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32973 that branches into memcpy.
32974 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32975 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32977 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32979 bits.
32980 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32981 implementation too.
32982 * sysdeps/sparc/mempcpy.S: New file.
32983
e5aa83e1
DM
32984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32985 the IFUNC routine in the libc case.
32986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32987
88570753
DM
32988 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32989 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32990 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32991 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32992 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32993 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32994 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32995 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32996
249d7567
DM
32997 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32998 loop to 256 bytes instead of 64 bytes and fix test signedness.
32999
18c9d62b
DM
33000 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33001 * sysdeps/sparc/sparc32/Makefile: rather than here...
33002 * sysdeps/sparc/sparc64/Makefile: and here.
33003
05f3d1f6
UD
330042012-03-28 Ulrich Drepper <drepper@gmail.com>
33005
33006 * malloc/mallocbug.c: Avoid warnings about unused variables.
33007
86ae07a8
JL
330082012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33009
33010 [BZ #13760]
33011 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33012 in the right place. Discard and retry query if response is
33013 larger than input buffer size.
33014
41bf21a1
JM
330152012-03-28 Joseph Myers <joseph@codesourcery.com>
33016
d6270972
JM
33017 [BZ #369]
33018 [BZ #2678]
33019 [BZ #3866]
33020 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33021 x for large integer exponent.
33022 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33023 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33024 sign of result as needed afterwards.
33025 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33026 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33027 result for underflowing pow the same as for overflow.
33028 (__kernel_standard_l): Handle powl overflow and underflow here
33029 rather than calling __kernel_standard.
33030 * math/libm-test.inc (pow_test): Add more tests.
33031
414fca03 33032 [BZ #3868]
41bf21a1
JM
33033 [BZ #13879]
33034 [BZ #13910]
33035 [BZ #13911]
33036 [BZ #13912]
33037 [BZ #13913]
33038 [BZ #13915]
33039 [BZ #13916]
33040 [BZ #13917]
33041 [BZ #13918]
33042 [BZ #13919]
33043 [BZ #13920]
33044 [BZ #13921]
33045 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33046 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33047 (__kernel_standard_l): New function.
33048 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33049 __kernel_standard.
33050 * math/w_acosl.c (__acosl): Likewise.
33051 * math/w_asinl.c (__asinl): Likewise.
33052 * math/w_atan2l.c (__atan2l): Likewise.
33053 * math/w_atanhl.c (__atanhl): Likewise.
33054 * math/w_coshl.c (__coshl): Likewise.
33055 * math/w_exp10l.c (__exp10l): Likewise.
33056 * math/w_exp2l.c (__exp2l): Likewise.
33057 * math/w_fmodl.c (__fmodl): Likewise.
33058 * math/w_hypotl.c (__hypotl): Likewise.
33059 * math/w_j0l.c (__j0l, __y0l): Likewise.
33060 * math/w_j1l.c (__j1l, __y1l): Likewise.
33061 * math/w_jnl.c (__jnl, __ynl): Likewise.
33062 * math/w_lgammal.c (__lgammal): Likewise.
33063 * math/w_log10l.c (__log10l): Likewise.
33064 * math/w_log2l.c (__log2l): Likewise.
33065 * math/w_logl.c (__logl): Likewise.
33066 * math/w_powl.c (__powl): Likewise.
33067 * math/w_remainderl.c (__remainderl): Likewise.
33068 * math/w_scalbl.c (sysv_scalbl): Likewise.
33069 * math/w_sinhl.c (__sinhl): Likewise.
33070 * math/w_sqrtl.c (__sqrtl): Likewise.
33071 * math/w_tgammal.c (__tgammal): Likewise.
33072 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33073 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33074 * math/libm-test.inc (acos_test): Add more tests.
33075 (acosh_test): Likewise.
33076 (asin_test): Likewise.
33077 (atanh_test): Likewise.
33078 (exp_test): Likewise.
33079 (exp10_test): Likewise.
33080 (exp2_test): Likewise.
33081 (expm1_test): Likewise.
33082 (lgamma_test): Likewise.
33083 (log_test): Likewise.
33084 (log10_test): Likewise.
33085 (log1p_test): Likewise.
33086 (log2_test): Likewise.
33087 (pow_test): Do not allow some spurious overflow exceptions.
33088 (sqrt_test): Add more tests.
33089 (tgamma_test): Likewise.
33090 (y0_test): Likewise.
33091 (y1_test): Likewise.
33092 (yn_test): Likewise.
33093
dd62fda6
AB
330942012-03-27 Anton Blanchard <anton@samba.org>
33095
33096 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33097 MAP_HUGETLB.
33098 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33099 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33100 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33101
1e3cdfda
AJ
331022012-03-27 David S. Miller <davem@davemloft.net>
33103
b855ab85
DM
33104 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33105
1e3cdfda
AJ
33106 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33107 have-as-vis3 check.
33108
331092012-03-27 Andreas Jaeger <aj@suse.de>
33110
33111 * sysdeps/x86_64/elf/configure.in: Moved to ...
33112 * sysdeps/x86_64/configure.in: ... here.
33113 * sysdeps/x86_64/elf/start.S: Moved to ...
33114 * sysdeps/x86_64/start.S: ... here.
33115 * sysdeps/x86_64/elf/configure: Delete.
33116
33117 * sysdeps/x86_64/configure.in: Merge contents from
33118 sysdeps/i386/configure.in (without i686 check).
33119
33120 * sysdeps/i386/elf/Versions: Merge into ...
33121 * sysdeps/i386/Versions: ... this.
33122 * sysdeps/i386/elf/Versions: Delete file.
33123 * sysdeps/i386/elf/start.S: Moved to ...
33124 * sysdeps/i386/start.S: ...here.
33125 * sysdeps/i386/elf/configure.in: Merge into...
33126 * sysdeps/i386/configure.in: ...here.
33127 * sysdeps/i386/elf/configure.in: Delete file.
33128 * sysdeps/i386/elf/configure: Delete file.
33129
33130 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33131 * debug/backtracesyms.c: ... here.
33132 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33133 * debug/backtracesymsfd.c: ... here.
33134 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33135 * sysdeps/generic/ifunc-sel.h: ... here.
33136
33137 * sysdeps/unix/i386/start.c: Delete file.
33138 * sysdeps/unix/sparc/start.c: Delete file.
33139 * sysdeps/unix/start.c: Delete file.
33140
33141 * sysdeps/sh/elf/configure.in: Moved to ...
33142 * sysdeps/sh/configure.in: ... here.
33143 * sysdeps/sh/elf/start.S: Moved to ...
33144 * sysdeps/sh/start.S: ... here.
33145 * sysdeps/sh/elf/configure: Delete file.
33146
33147 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33148 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33149 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33150 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33151 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33152 * sysdeps/powerpc/powerpc64/start.S: here.
33153 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33154 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33155 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33156 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33157 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33158
33159 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33160 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33161 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33162 * sysdeps/powerpc/powerpc32/start.S: ... here.
33163 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33164 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33165 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33166
33167 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33168 * sysdeps/powerpc/ifunc-sel.h: ... here.
33169 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33170 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33171
33172 * sysdeps/sparc/elf/configure.in: Moved to ...
33173 * sysdeps/sparc/configure.in: ... here.
33174 * sysdeps/sparc/elf/configure: Delete file.
33175 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33176 * sysdeps/sparc/sparc32/start.S: ... here.
33177 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33178 * sysdeps/sparc/sparc64/start.S: ... here.
33179 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33180 * sysdeps/sparc/sparc32/Makefile: ... this.
33181 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33182 * sysdeps/sparc/sparc64/Makefile: ... this.
33183
33184 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33185 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33186 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33187 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33188 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33189 * sysdeps/s390/s390-32/setjmp.S: ... here.
33190 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33191 * sysdeps/s390/s390-32/configure.in: ... here.
33192 * sysdeps/s390/s390-32/elf/configure: Delete file.
33193 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33194 * sysdeps/s390/s390-32/start.S: ... here.
33195
33196 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33197 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33198 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33199 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33200 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33201 * sysdeps/s390/s390-64/setjmp.S: ... here.
33202 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33203 * sysdeps/s390/s390-64/configure.in: ... here
33204 * sysdeps/s390/s390-64/elf/configure: Delete file.
33205 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33206 * sysdeps/s390/s390-64/start.S: ... here.
33207 * sysdeps/s390/s390-64/elf/configure: Delete.
33208
33209 * configure.in: Remove support for elf directories in sysdeps.
33210
33211 * configure: Regenerated.
33212 * sysdeps/i386/configure: Regenerated.
33213 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33214 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33215 * sysdeps/s390/s390-32/configure: Regenerated.
33216 * sysdeps/s390/s390-64/configure: Regenerated.
33217 * sysdeps/sh/configure: Regenerated.
33218 * sysdeps/sparc/configure: Regenerated.
33219 * sysdeps/x86_64/configure: Regenerated.
33220
a3f61311
AS
332212012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33222
c876e002
AS
33223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33224
a3f61311
AS
33225 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33226 denormal result into account.
33227
ac4c54f0
RM
332282012-03-25 Roland McGrath <roland@hack.frob.com>
33229
33230 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33231 Reported by Allan McRae <allan@archlinux.org>.
33232
6a9b9c02
JL
332332012-03-23 Jeff Law <law@redhat.com>
33234
33235 * nss/getnssent.c (__nss_getent): Fix typo.
33236
4c42a0c1
DM
332372012-03-23 David S. Miller <davem@davemloft.net>
33238
33239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33240
1532c7ac
L
332412012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33242
33243 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33244 to pad to uint64_t for each field.
33245 (dl_tls_index): Replace unsigned long with uint64_t.
33246
3ff42526
PP
332472012-03-23 Daniel Jacobowitz <dmj@google.com>
33248 Paul Pluzhnikov <ppluzhnikov@google.com>
33249
33250 [BZ #6528]
33251 * grp/Makefile (otherlibs): Don't set it.
33252 * inet/Makefile (otherlibs): Likewise.
33253 * login/Makefile (otherlibs): Likewise.
33254 * nscd/Makefile (otherlibs): Likewise.
33255 * posix/Makefile (otherlibs): Likewise.
33256 * pwd/Makefile (otherlibs): Likewise.
33257 * rt/Makefile (otherlibs): Likewise.
33258 * sunrpc/Makefile (otherlibs): Likewise.
33259 * nss/Makefile (otherlibs): Likewise.
33260 Add libnss_files to routines and static-only-routines.
33261 ($(objpfx)getent): Remove rule.
33262 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33263 static-only-routines.
33264
7c69cd14
JM
332652012-03-22 Joseph Myers <joseph@codesourcery.com>
33266
33267 [BZ #13892]
33268 * math/s_cexp.c: Include <float.h>.
33269 (__cexp): Handle exp result overflowing not necessarily
33270 overflowing both real and imaginary parts of result.
33271 * math/s_cexpf.c: Likewise.
33272 * math/s_cexpl.c: Likewise.
33273 * math/libm-test.inc (cexp_test): Add more tests.
33274 * sysdeps/i386/fpu/libm-test-ulps: Update.
33275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33276
81b035fe
L
332772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33278
33279 * include/link.h (ELFW): New macro.
33280 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33281 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33282
1da7940c
L
332832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33284
33285 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33286 with uint64_t.
33287
b749dbb9
L
332882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33289
33290 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33291 declaration.
33292 (struct La_x32_retval): Likewise.
33293
2ff87f3f
L
332942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33295
33296 * sysdeps/x86_64/preconfigure.in: New file.
33297 * sysdeps/x86_64/preconfigure: New generated file.
33298
c0df8e69
JM
332992012-03-22 Joseph Myers <joseph@codesourcery.com>
33300
48e44791
JM
33301 [BZ #13824]
33302 * math/e_exp2l.c: Include <float.h>.
33303 (__ieee754_exp2l): Handle overflow and underflow cases
33304 separately. Only pass fractional part of argument to
33305 __ieee754_expl.
33306 * math/libm-test.inc (exp2_test): Add more tests.
33307
c0df8e69
JM
33308 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33309 negating x to take absolute value.
33310 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33311 Likewise.
33312 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33313 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33314 Likewise.
33315 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33316 computing low part if x was negated.
33317 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33318
c8e43ba7
L
333192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33320
33321 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33322 la_x32_gnu_pltexit.
33323 (pltexit): Cast int_retval to ptrdiff_t.
33324 * elf/tst-auditmod3b.c: Likewise.
33325 * elf/tst-auditmod4b.c: Likewise.
33326 * elf/tst-auditmod5b.c: Likewise.
33327 * elf/tst-auditmod6b.c: Likewise.
33328 * elf/tst-auditmod6c.c: Likewise.
33329 * elf/tst-auditmod7b.c: Likewise.
33330
33331 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33332 and x32_gnu_pltexit.
33333
33334 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33335 __ELF_NATIVE_CLASS.
33336 (La_x32_regs): New macro.
33337 (La_x32_retval): Likewise.
33338 (la_x32_gnu_pltenter): New function prototype.
33339 (la_x32_gnu_pltexit): Likewise.
33340
7998fa78
AS
333412012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33342
dcb33988
AS
33343 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33344 exponent.
33345
233fc563
AS
33346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33347
7998fa78
AS
33348 * configure.in (libc_cv_cc_nofma): Check for option to disable
33349 generation of FMA instructions.
33350 * configure: Regenerate.
33351 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33352 * sysdeps/ieee754/dbl-64/Makefile: New file.
33353 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33354 Remove brandred-fma4.
33355 (CFLAGS-brandred-fma4.c): Remove.
33356 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33357 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33358 define.
33359 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33360 define.
33361
8e95c99a
L
333622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33363
33364 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33365 LLONG_MAX != LONG_MAX.
33366 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33367 (_fitoa_word): Likewise.
33368 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33369 LLONG_MAX != LONG_MAX.
33370 * stdio-common/_itowa.h: Include <_itoa.h>.
33371 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33372 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33373 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33374 only if not defined.
33375 (_ITOA_WORD_TYPE): Likewise.
33376 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33377 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33378
6f4db457
DM
333792012-03-21 David S. Miller <davem@davemloft.net>
33380
33381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33382
7785fe5a
L
333832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33384
33385 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33386 of x86_64 when setting libc_cv_slibdir, libdir and
33387 libc_cv_localedir.
33388 * sysdeps/unix/sysv/linux/configure: Regenerated.
33389
4535cd55
JM
333902012-03-21 Joseph Myers <joseph@codesourcery.com>
33391
33392 * manual/lang.texi (Old Varargs): Remove section.
33393 (How Variadic): Update menu.
33394 (va_start): Do not mention varargs.h.
33395
17228132
TS
333962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33397 Joseph Myers <joseph@codesourcery.com>
33398
33399 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33400 link test.
33401 * configure: Regenerated.
33402
8149f976
TS
334032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33404
05f3d1f6
UD
33405 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33406 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33407 conformtest.pl
8149f976 33408
1a4ac776
JM
334092012-03-21 Joseph Myers <joseph@codesourcery.com>
33410
be22ce65
JM
33411 * NOTES: Remove.
33412 * Makefile (files-for-dist): Remove NOTES.
33413 (NOTES): Remove rule.
33414 * README: Don't refer to NOTES.
33415 * manual/creature.texi: Don't include macros.texi.
33416 * manual/intro.texi (creature.texi): Remove comment referring to
33417 NOTES.
33418
40b601fb
JM
33419 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33420 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33421 * configure: Regenerated.
33422 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33423 LIBC_TRY_CC_OPTION.
33424 (libc_cv_as_i686): Likewise.
33425 (libc_cv_cc_avx): Likewise.
33426 (libc_cv_cc_sse2avx): Likewise.
33427 (libc_cv_cc_fma4): Likewise.
33428 (libc_cv_cc_novzeroupper): Likewise.
33429 * sysdeps/i386/configure: Regenerated.
33430
1a4ac776
JM
33431 [BZ #13883]
33432 * sysdeps/i386/fpu/s_cexp.S: Remove.
33433 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33434 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33435 * math/libm-test.inc (cexp_test): Add more tests.
33436 * sysdeps/i386/fpu/libm-test-ulps: Update.
33437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33438
a458e7fe
AM
334392012-03-21 Allan McRae <allan@archlinux.org>
33440
33441 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33442
0cb7efc5
JM
334432012-03-21 Joseph Myers <joseph@codesourcery.com>
33444
33445 [BZ #13871]
33446 * math/w_exp2.c: Do not include <float.h>.
33447 (o_threshold, u_threshold): Remove.
33448 (__exp2): Calculate result before checking finiteness and calling
33449 __kernel_standard.
33450 * math/w_exp2f.c: Likewise.
33451 * math/w_exp2l.c: Likewise.
33452 * math/libm-test.inc (exp2_test): Require overflow exception for
33453 1e6 input.
2460d3aa
JM
33454
33455 [BZ #3866]
33456 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33457 range of signed 64-bit integers before using fistpll. Remove
33458 checks for whether integers fit in mantissa bits.
33459 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33460 the range of signed 32-bit integers before using fistpl. Remove
33461 checks for whether integers fit in mantissa bits.
33462 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33463 (__ieee754_powl): Test for y outside the range of signed 64-bit
33464 integers before using fistpll. Reduce 64-bit values to 63-bit
33465 ones as needed.
33466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33467 divide-by-zero is raised for zero to large negative powers.
33468 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33469 (__ieee754_powl): Test for y outside the range of signed 64-bit
33470 integers before using fistpll. Reduce 64-bit values to 63-bit
33471 ones as needed.
33472 * math/libm-test.inc (pow_test): Add more tests.
33473
eb96ffb0
L
334742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33475
33476 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33477 <stdio-common/_itoa.h>.
33478 * debug/segfault.c: Likewise.
33479 * elf/dl-cache.c: Likewise.
33480 * elf/dl-minimal.c: Likewise.
33481 * elf/dl-misc.c: Likewise.
33482 * elf/dl-sysdep.c: Likewise.
33483 * elf/dl-version.c: Likewise.
33484 * elf/rtld.c: Likewise.
33485 * hurd/hurdsock.c: Likewise.
33486 * hurd/lookup-retry.c: Likewise.
33487 * malloc/malloc.c: Likewise.
33488 * malloc/mtrace.c: Likewise.
33489 * nscd/nscd_getgr_r.c: Likewise.
33490 * nscd/nscd_getpw_r.c: Likewise.
33491 * nscd/nscd_getserv_r.c: Likewise.
33492 * posix/getopt_init.c: Likewise.
33493 * posix/wordexp.c: Likewise.
33494 * stdio-common/_itoa.c: Likewise.
33495 * stdio-common/printf_fphex.c: Likewise.
33496 * stdio-common/vfprintf.c: Likewise.
33497 * string/_strerror.c: Likewise.
33498 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33499 * sysdeps/i386/i686/hp-timing.h: Likewise.
33500 * sysdeps/mach/_strerror.c: Likewise.
33501 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33502 * sysdeps/mach/hurd/sethostid.c: Likewise.
33503 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33504 * sysdeps/mach/xpg-strerror.c: Likewise.
33505 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33506 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33507 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33508 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33509 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33510 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33511 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33512 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33513 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33514 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33515 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33516 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33517 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33518 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33519 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33520 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33521 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33522 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33523 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33524 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33525 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33526
33527 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33528
33529 * stdio-common/_itoa.h: Moved to ...
33530 * sysdeps/generic/_itoa.h: Here.
33531
33532 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33533
33534 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33535 instead of "_itoa.h" and "_itowa.h".
33536 * stdio-common/vfprintf.: Likewise.
33537
d1af992d
L
335382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33539
33540 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33541 <bits/wordsize.h>.
33542 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33543 (__signbit): Likwise.
33544 (llrintf): Likwise.
33545 (llrint): Likwise.
33546
114883e0
L
335472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33548
33549 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33550 __WORDSIZE != 64.
33551
c135cc1b
JM
335522012-03-20 Joseph Myers <joseph@codesourcery.com>
33553
33554 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33555 OVERFLOW_EXCEPTION_OK.
33556 * math/libm-test.inc ("Philosophy"): Update comment about
33557 exception testing.
33558 (OVERFLOW_EXCEPTION): Define.
33559 (OVERFLOW_EXCEPTION_OK): Likewise.
33560 (INVALID_EXCEPTION_OK): Renumber.
33561 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33562 (IGNORE_ZERO_INF_SIGN): Likewise.
33563 (test_exceptions): Handle FE_OVERFLOW.
33564 (exp10_test): Expect overflow exceptions.
33565 (exp2_test): Likewise.
33566 (expm1_test): Likewise.
33567 (nextafter_test): Likewise.
33568 (pow_test): Likewise.
33569 (scalbn_test): Likewise.
33570 (scalbln_test): Likewise.
33571
95443d88
L
335722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33573
33574 * sysdeps/x86_64/bits/atomic.h
33575 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33576 64bit integer.
33577 (atomic_exchange_acq): Likewise.
33578 (__arch_exchange_and_add_body): Likewise.
33579 (__arch_add_body): Likewise.
33580 (atomic_add_negative): Likewise.
33581 (atomic_add_zero): Likewise.
33582
490df6c4
L
335832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33584
c2722551 33585 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
33586 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33587
5e52b189
L
335882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33589
33590 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33591 Check __x86_64__ instead of __WORDSIZE.
33592
a9879d4c
L
335932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33594
33595 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33596
5df98260
DM
335972012-03-19 David S. Miller <davem@davemloft.net>
33598
e1497744
DM
33599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33600
5df98260
DM
33601 * sysdeps/sparc/fpu/fenv_private.h: New file.
33602 * sysdeps/sparc/fpu/math_private.h: Use it.
33603 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33604 Remove.
57f41c40 33605 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
33606 (libc_feholdexcept_setroundl): Remove.
33607 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33608 Remove.
33609 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33610 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33611
b4c35121
L
336122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33613
33614 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33615 int64_t instead of long int.
33616 (INSERT_WORDS64): Likwise.
33617
56965fd7
L
336182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33619
33620 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33621 _Unwind_GetCFA return to _Unwind_Ptr first.
33622
83d1aec8
JM
336232012-03-19 Joseph Myers <joseph@codesourcery.com>
33624
1897ad44
JM
33625 [BZ #13629]
33626 * math/s_clog.c: Include <float.h>.
33627 (__clog): Scale large or subnormal inputs.
33628 * math/s_clogf.c: Likewise.
33629 * math/s_clogl.c: Likewise.
33630 * math/s_clog10.c: Include <float.h>.
33631 (M_LOG10_2): Define.
33632 (__clog10): Scale large or subnormal inputs.
33633 * math/s_clog10f.c: Likewise.
33634 * math/s_clog10l.c: Likewise.
33635 * math/libm-test.inc (clog_test): Add more tests.
33636 (clog10_test): Likewise.
33637 * sysdeps/i386/fpu/libm-test-ulps: Update.
33638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33639
7726d6a9
JM
33640 [BZ #11451]
33641 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33642 x and y.
33643 * math/libm-test.inc (atan2_test): Add another test.
33644
83d1aec8
JM
33645 * Makerules (common-objdir-compile): Remove.
33646 * sysdeps/unix/Makefile (config-generated): Do not add
33647 $(unix-generated) to variable.
33648 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33649 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33650 Remove rule.
33651 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33652 Likewise.
33653 [generic bits/local_lim.h] (before-compile): Do not append to
33654 variable.
33655 [generic bits/local_lim.h] (common-generated): Likewise.
33656 [generic sys/param.h] (before-compile): Do not append to variable.
33657 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33658 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33659 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33660 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33661 include.
33662 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33663 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33664 [generic sys/param.h] ($(addprefix
33665 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33666 [generic sys/param.h] (common-generated): Do not append to
33667 variable.
33668 [generic sys/param.h] (sysdep_headers): Likewise.
33669 [generic bits/errno.h] (before-compile): Do not append to
33670 variable.
33671 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33672 rule.
33673 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33674 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33675 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33676 [generic bits/errno.h] (common-generated): Do not append to
33677 variable.
33678 [generic bits/ioctls.h] (before-compile): Do not append to
33679 variable.
33680 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33681 rule.
33682 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33683 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33684 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33685 rule.
33686 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33687 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33688 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33689 [generic bits/ioctls.h] (common-generated): Do not append to
33690 variable.
33691 [generic sys/syscall.h] (syscall.h): Remove variable.
33692 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33693 rule.
33694 [generic sys/syscall.h] (before-compile): Do not append to
33695 variable.
33696 [generic sys/syscall.h] (common-generated): Likewise.
33697 * sysdeps/unix/errnos-tmpl.c: Remove file.
33698 * sysdeps/unix/errnos.awk: Likewise.
33699 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33700 * sysdeps/unix/ioctls.awk: Likewise.
33701 * sysdeps/unix/mk-local_lim.c: Likewise.
33702 * sysdeps/unix/snarf-ioctls: Likewise.
33703
4851a949
RH
337042012-03-19 Richard Henderson <rth@twiddle.net>
33705
bd37f2ee
RH
33706 * sysdeps/i386/fpu/fenv_private.h: New file.
33707 * sysdeps/i386/fpu/math_private.h: Use it.
33708 (math_opt_barrier, math_force_eval): Remove.
33709 (libc_feholdexcept_setround_53bit): Remove.
33710 (libc_feupdateenv_53bit): Remove.
33711 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33712 (math_opt_barrier, math_force_eval): Remove.
33713 (libc_feholdexcept): Remove.
33714 (libc_feholdexcept_setround): Remove.
33715 (libc_fetestexcept, libc_fesetenv): Remove.
33716 (libc_feupdateenv_test): Remove.
33717 (libc_feupdateenv, libc_feholdsetround): Remove.
33718 (libc_feresetround): Remove.
33719
d0adc922
RH
33720 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33721 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33722
0fe0f1f8
RH
33723 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33724 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33725 (libc_feupdateenv_testl): New.
33726 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33727 (libc_feupdateenv_testf): New.
33728 (libc_feupdateenv): Use libc_feupdateenv_test.
33729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33730 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33731
eb92c487
RH
33732 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33733 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33734 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33735 (libc_feresetround_noex): New.
33736 (libc_feresetround_noexf): New.
33737 (libc_feresetround_noexl): New.
33738 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33739 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33740 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33741 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33742 SET_RESTORE_ROUND.
33743 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33744 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33745 (__cos): Likewise.
33746 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33747 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33748 SET_RESTORE_ROUND_NOEX.
33749 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33750 SET_RESTORE_ROUND_NOEXF.
33751 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33752 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33753 (libc_feholdsetroundf): New.
33754 (libc_feresetround, libc_feresetroundf): New.
33755
7d2e8012
RH
33756 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33757 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33758 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33759
b4dabbb4
RH
33760 * sysdeps/generic/math_private.h: Include <fenv.h>.
33761 (default_libc_feholdexcept): New.
33762 (default_libc_feholdexcept_setround): New.
33763 (default_libc_fesetenv, default_libc_feupdateenv): New.
33764 (libc_feholdexcept): Only define if undefined.
33765 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33766 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33767 (libc_feholdexcept_setroundl): Likewise.
33768 (libc_feholdexcept_setround_53bit): Likewise.
33769 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33770 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33771 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33772 (libc_feupdateenv_53bit): Likewise.
33773 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33774 (libc_feholdexcept): Convert from macro to inline function.
33775 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33776 (libc_fesetenv, libc_feupdateenv): Likewise.
33777
4851a949
RH
33778 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33779 not previously defined.
33780 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33781 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33782 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33783 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33784 * sysdeps/ieee754/flt-32/math_private.h: New file.
33785 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33786 math_private.h below SET_FLOAT_WORD.
33787 (__isnan, __isinf_ns, __finite): Remove.
33788 (__isnanf, __isinf_nsf, __finitef): Remove.
33789
e79d442e
AS
337902012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33791
33792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33793
90b80344
DM
337942012-03-17 David S. Miller <davem@davemloft.net>
33795
33796 [BZ #6471]
33797 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33798 for 2.16.
33799
edc21804
DM
338002012-03-16 David S. Miller <davem@davemloft.net>
33801
77e927af
DM
33802 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33803 warnings.
33804
374976dd
DM
33805 [BZ #6471]
33806 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33807 properly.
33808 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33809 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33810 sysdep_routines when subdir is sysvipc.
33811 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33812 __getshmlba helper.
33813
edc21804
DM
33814 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33815
473c3ef3
L
338162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33817
33818 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33819 [__LP64__].
33820
eb0f39b6
L
338212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33822
33823 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33824 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33825 (__lround): Renamed to ...
33826 (__llround): This. Replace long int with long long int.
33827 Define lround functions as aliases of llround functions.
33828 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33829
6b6cd74b
L
338302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33831
33832 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33833 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33834 adresses to uintptr_t. Replace "long int" and "unsigned long
33835 int" with "greg_t" on va_arg.
33836
f1a77b01
L
338372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33838
33839 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33840 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33841
33842 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33843 Move e_machine check before EI_CLASS check. Handle x32
33844 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33845 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33846 SKIP_EM_IA_64 and include
33847 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33848
33849 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33850 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33851 (add_system_dir): New macro.
33852
33853 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33854 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33855
11b90b9f
JM
338562012-03-16 Joseph Myers <joseph@codesourcery.com>
33857
c36e1d23
JM
33858 [BZ #2551]
33859 [BZ #2552]
33860 [BZ #2553]
33861 [BZ #2554]
33862 [BZ #2562]
33863 [BZ #2563]
33864 [BZ #2565]
33865 [BZ #2566]
33866 [BZ #2576]
33867 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33868 (y0): Likewise.
33869 * math/w_j0f.c (j0f): Likewise.
33870 (y0f): Likewise.
33871 * math/w_j0l.c (__j0l): Likewise.
33872 (__y0l): Likewise.
33873 * math/w_j1.c (j1): Likewise.
33874 (y1): Likewise.
33875 * math/w_j1f.c (j1f): Likewise.
33876 (y1f): Likewise.
33877 * math/w_j1l.c (__j1l): Likewise.
33878 (__y1l): Likewise.
33879 * math/w_jn.c (jn): Likewise.
33880 (yn): Likewise.
33881 * math/w_jnf.c (jnf): Likewise.
33882 (ynf): Likewise.
33883 * math/w_jnl.c (__jnl): Likewise.
33884 (__ynl): Likewise.
33885 * math/libm-test.inc (j0_test): Add more tests.
33886 (j1_test): Likewise.
33887 (jn_test): Likewise. Add trailing semicolon to existing test.
33888 (y0_test): Likewise.
33889 (y1_test): Likewise.
33890 * sysdeps/i386/fpu/libm-test-ulps: Update.
33891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33892
11b90b9f
JM
33893 [BZ #13851]
33894 [BZ #13854]
33895 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33896 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33897 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33898 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33899 (__tanl): Set errno for infinite argument.
33900 * sysdeps/i386/fpu/mptan.c: Remove.
33901 * sysdeps/i386/fpu/s_tan.S: Likewise.
33902 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33903 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33904 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33905 * math/libm-test.inc (tan_test): Add more tests and enable more
33906 tests for double and long double.
33907 * sysdeps/i386/fpu/libm-test-ulps: Update.
33908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33909
6a1bd2a1
JK
339102012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33911
33912 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33913 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33914
10a803e0
RM
339152012-03-16 Roland McGrath <roland@hack.frob.com>
33916
33917 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33918 * configure.in: Use it for both main tree and add-ons.
33919 * configure: Regenerated.
33920
f196c7f7
L
339212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33922
33923 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33924
8848d99d
JM
339252012-03-16 Joseph Myers <joseph@codesourcery.com>
33926
96cbe7f4
JM
33927 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33928 in comment.
33929
8848d99d
JM
33930 [BZ #13851]
33931 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33932 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33933 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33936 infinite argument.
33937 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33938 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33939 != 0 for prec == 2.
33940 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33941 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33942 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33943 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33944 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33945 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33946 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33947 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33948 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33949 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33950 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33951 * math/libm-test.inc (cos_test): Add more tests and enable more
33952 tests for long double.
33953 (sin_test): Likewise.
33954 (sincos_test): Likewise.
33955 * sysdeps/i386/fpu/libm-test-ulps: Update.
33956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33957
dd7f4703
DM
339582012-03-16 David S. Miller <davem@davemloft.net>
33959
33960 * sysdeps/sparc/fpu/math_private.h: New file.
33961
006f1daa
DM
339622012-03-15 David S. Miller <davem@davemloft.net>
33963
c0c83bc8
DM
33964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33965 file.
e6a62e18 33966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33968 file.
e6a62e18
DM
33969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33974 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33975 sysdep routines.
33976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33977
88cb87d9
DM
33978 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33979 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33980
006f1daa 33981 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33983 sparc-ifunc.h
006f1daa 33984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33986 Likewise.
33987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33988 Likewise.
006f1daa
DM
33989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33993 Likewise.
006f1daa
DM
33994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33999 Likewise.
34000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34001 Likewise.
006f1daa
DM
34002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34008 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34009 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34020 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34021 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34022 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34023 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34024 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34025 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34026
11e0098e
AS
340272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34028
34029 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34030 scaling.
34031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34032
e85b09d0
AJ
340332012-03-15 Andreas Jaeger <aj@suse.de>
34034
34035 [BZ #13852]
34036 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34037 ieee754/flt-32 implementation for sin, cos and sincos.
34038 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34039 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34040 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34041 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34042 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34043 ieee754/flt-32 implementation for tan.
34044
34045 * math/libm-test.inc (cos_test): Enable some large input tests for
34046 float as well
34047 (sin_test): Likewise.
34048 (sincos_test): Likewise.
34049 (tan_test): Add tests for large input.
34050
34051 * sysdeps/i386/fpu/libm-test-ulps: Update.
34052
81c64153
AJ
340532012-03-15 Andreas Jaeger <aj@suse.de>
34054
34055 [BZ #13658]
34056 * math/libm-test.inc (cos_test): Add more test cases.
34057 (sin_test): Likewise.
34058 (sincos_test): Likewise.
34059
7bbfa5c6
AJ
340602012-03-15 Andreas Jaeger <aj@suse.de>
34061
34062 [BZ #13837]
34063 * math/libm-test.inc (cos_test): Add a test case for large input
34064 value.
34065 (sin_test): Likewise.
34066 (sincos_test): Likewise.
34067
57f41c40
AS
340682012-03-15 Andreas Jaeger <aj@suse.de>
34069 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34070
34071 [BZ #13658]
0671f479 34072 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34073 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34074 * sysdeps/i386/fpu/branred.c: Likewise.
34075 * sysdeps/i386/fpu/dosincos.c: Likewise.
34076 * sysdeps/i386/fpu/mpa.c: Likewise.
34077 * sysdeps/i386/fpu/s_cos.S: Likewise.
34078 * sysdeps/i386/fpu/s_sin.S: Likewise.
34079 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34080 * sysdeps/i386/fpu/sincos32.c: Likewise.
34081
34082 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34083 Define.
34084 (libc_feupdateenv_53bit): Define.
34085 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34086 Define.
34087 (libc_feupdateenv_53bit): Define.
34088
34089 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34090 53 bit (without extend i386 double precision).
34091
34092 * math/libm-test.inc (sincos_test): Add tests for large input.
34093 (sin): Likewise.
34094 (cos): Likewise.
34095
34096 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34097
9cad04ea
AS
340982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34099
34100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34101
f7062b9a
DM
341022012-03-15 David S. Miller <davem@davemloft.net>
34103
34104 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34105 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34106 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34107 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
34119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34120 file.
f7062b9a 34121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
34122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34123 file.
f7062b9a 34124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
34125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34126 file.
f7062b9a 34127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
34128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34129 file.
f7062b9a
DM
34130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34131 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34132 fmin/fmax sysdep routines.
34133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34134
7bd951ff
DM
341352012-03-14 David S. Miller <davem@davemloft.net>
34136
559398ab
DM
34137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34141 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34163 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34164 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34166 routines.
34167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34168 file.
559398ab 34169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34171 file.
559398ab 34172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34174 file.
559398ab 34175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34177 file.
559398ab 34178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34180 file.
559398ab 34181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34183 file.
34184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34185 file.
34186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34187 file.
34188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34189 file.
34190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34191 New file.
34192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34193 file.
34194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34195 file.
559398ab 34196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34198 file.
559398ab 34199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34201 file.
559398ab 34202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34204 file.
559398ab 34205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34207 VIS3 routines.
559398ab
DM
34208
34209 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34210 New file.
34211
5a1c1e32
DM
34212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34213
eae47a36
DM
34214 * sysdeps/sparc/configure.in: New file.
34215 * sysdeps/sparc/configure: Generate.
34216 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34217 * configure: Regenerate.
34218 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34219 * config.make.in (have-as-vis3): New.
34220 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34221 available use -Av9d instead of -Av9a.
34222 * sysdeps/sparc/sparc64/Makefile: Likewise.
34223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34225 New file.
34226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34227 file.
34228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34229 New file.
34230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34231 file.
eae47a36
DM
34232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34233 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34234 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34235 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34236 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34237
c0c83bc8
DM
34238 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34239 fzeros/fnegs to load 0x80000000 into a float register instead of
34240 using the stack.
7bd951ff
DM
34241 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34242
bd951ccb
JM
342432012-03-14 Joseph Myers <joseph@codesourcery.com>
34244
34245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34246 bits/syscall.h.
34247 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34248 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34249 ($(inst_includedir)/bits/syscall.h): Remove rule.
34250 ($(objpfx)bits/syscall.d): Include instead of
34251 $(objpfx)syscall-list.d.
34252 (generated): Change syscall-list.h and syscall-list.d to
34253 bits/syscall.h and bits/syscall.d.
34254
bb4e6db2
RM
342552012-03-14 Roland McGrath <roland@hack.frob.com>
34256
34257 [BZ #13846]
34258 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34259
aa4a2ae1
JM
342602012-03-14 Joseph Myers <joseph@codesourcery.com>
34261
e456826d
JM
34262 [BZ #13841]
34263 * math/s_csqrt.c: Include <float.h>.
34264 (__csqrt): Scale large or subnormal inputs.
34265 * math/s_csqrtf.c: Likewise.
34266 * math/s_csqrtl.c: Likewise.
34267 * math/libm-test.inc (csqrt_test): Add more tests.
34268 * sysdeps/i386/fpu/libm-test-ulps: Update.
34269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34270
aa4a2ae1
JM
34271 [BZ #13840]
34272 * math/libm-test.inc (hypot_test): Add more tests.
34273
7c10fd35
DM
342742012-03-13 David S. Miller <davem@davemloft.net>
34275
34276 [BZ #13840]
34277 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34278 double-precision for the calculation instead of scaling.
34279
f453b98b
JM
342802012-03-13 Joseph Myers <joseph@codesourcery.com>
34281
34282 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34283 manipulate bits before adding and subtracting TWO52[sx].
34284 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34285 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34286 Likewise.
34287 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34288
09a3453f
DM
342892012-03-13 David S. Miller <davem@davemloft.net>
34290
8e59da90
DM
34291 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34292 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34294 rtld-global-offsets.h
34295 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34296
2a8ab7f2
DM
34297 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34298 large parameters.
34299
10f62770
DM
34300 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34301
5f0bdb18
DM
34302 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34303 'err' in the ifdef scope in which it is actually used.
34304
09a3453f
DM
34305 * nss/nss_db/db-init.c: Include string.h
34306
b4b2eb5e
DM
343072012-03-12 David S. Miller <davem@davemloft.net>
34308
98bb2f1c
DM
34309 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34310 masking out of the most significant byte of random value used.
34311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34312 Fix coding style in previous change.
34313
b4b2eb5e
DM
34314 * sysdeps/unix/sysv/linux/kernel-features.h
34315 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34316 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34317 expression.
34318 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34319 later.
34320
6e226b09
DM
343212012-03-11 David S. Miller <davem@davemloft.net>
34322
a1bcbd40
DM
34323 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34324 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34325 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34326 for 'resultvar' otherwise things get truncated on 64-bit.
34327
cb9d6174
DM
34328 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34329 Fix masking out of the most significant byte of random value used.
34330
6e226b09
DM
34331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34332
058c132d
AS
343332012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34334
34335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34336
2d2cd515
DM
343372012-03-09 David S. Miller <davem@davemloft.net>
34338
34339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34340 variables with appropriate CPP guards.
57f41c40
AS
34341 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34342 from the frame pointer, not the stack pointer. Correct layout
34343 comments. Fix test on resulting framesize and the management of
34344 the outregs buffer for pltexit. Preserve floating point return
34345 values across _dl_call_pltexit call.
2d2cd515
DM
34346 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34347 framesize and the management of the outregs buffer for pltexit.
34348 Preserve floating point return values across _dl_call_pltexit
34349 call.
57f41c40
AS
34350 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34351 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34352 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
34353 (print_exit): Fix format string for return register value.
34354
9a07f9d0
JM
343552012-03-10 Joseph Myers <joseph@codesourcery.com>
34356
34357 * sunrpc/Makefile (others): Add rpcgen.
34358 ($(objpfx)rpcgen): Remove special build rule and dependency on
34359 libc.
34360 * sunrpc/rpcgen.c: New file.
34361
547b5e30
PE
343622012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34363
c524201a
PE
34364 [BZ #13673]
34365 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34366 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34367 * sysdeps/i386/crti.S: Likewise.
34368 * sysdeps/i386/crtn.S: Likewise.
34369 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34370 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34371 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34372 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34373 * sysdeps/sh/crti.S: Likewise.
34374 * sysdeps/sh/crtn.S: Likewise.
34375 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34376
7b6235f2
PE
34377 [BZ #13673]
34378 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34379 with URL.
34380 * locale/programs/locfile-kw.gperf: Likewise.
34381 * locale/programs/charmap-kw.h: Regenerated.
34382 * locale/programs/locfile-kw.h: Likewise.
34383
547b5e30
PE
34384 [BZ #13673]
34385 * intl/plural.y: Replace FSF snail mail address with URL.
34386 * intl/plural.c: Regenerated.
34387
5f0a5dae
RH
343882012-03-09 Richard Henderson <rth@twiddle.net>
34389
34390 * include/math_private.h: Remove file.
34391 * math/math_private.h: Move file ...
34392 * sysdeps/generic/math_private.h: ... here.
34393
b8c03620
RH
34394 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34395 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34396 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34397
4e234f5d 34398 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
34399 and <math_private.h>.
34400 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34401 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34402 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34403 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34404 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34405 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34406 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34407 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34408 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34409 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34410 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34411 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34412 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34413 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34414 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34415 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34416 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34417 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34418 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34419 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34420 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34421 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34422 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34423 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34424 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34425 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34426 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34427 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34428 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34429 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34430 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34431 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34432 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34433 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34434 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34435 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34436 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34437 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34438 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34439 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34440 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34441 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34442 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34443 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34444 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34445 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34446 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34447 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34448 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34449 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34450 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34451 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34452 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34453 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34454 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34455 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34456 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34457 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34458 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34459 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34460 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34461 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34462 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34463 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34464 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34465 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34466 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34467 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34468 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34469 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34470 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34471 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34472 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34473 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34474 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34475 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34476 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34477 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34478 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34479 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34480 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34481 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34482 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34483 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34484 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34485 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34486 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34487 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34488 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34489 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34490 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34491 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34492 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34493 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34494 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34495 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34496 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34497 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34498 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34499 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34500 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34501 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34502 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34503 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34504 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34505 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34506 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34507 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34508 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34509 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34510 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34511 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34512 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34513 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34514 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34515 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34516 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34517 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34518 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34519 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34520 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34521 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34522 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34523 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34524 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34525 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34526 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34527 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34528 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34529 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34530 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34531 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34532 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34533 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34534 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34535 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34536 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34537 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34538 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34539 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34540 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34541 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34542 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34543 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34544 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34545 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34546 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34547 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34548 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34549 * sysdeps/ieee754/k_standard.c: Likewise.
34550 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34551 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34552 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34553 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34554 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34555 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34556 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34557 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34558 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34559 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34560 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34561 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34562 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34563 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34564 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34565 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34566 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34567 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34568 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34569 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34570 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34571 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34572 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34573 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34574 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34575 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34576 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34577 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34578 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34579 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34580 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34581 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34582 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34583 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34584 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34585 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34586 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34587 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34588 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34589 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34590 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34591 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34592 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34593 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34594 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34595 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34596 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34597 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34598 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34599 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34600 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34601 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34602 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34603 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34604 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34605 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34606 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34607 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34608 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34609 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34610 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34611 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34612 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34613 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34615 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34616 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34617 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34618 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34619 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34620 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34621 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34622 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34623 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34624 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34625 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34626 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34627 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34628 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34629 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34630 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34631 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34632 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34633 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34634 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34635 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34636 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34637 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34638 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34639 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34640 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34641 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34642 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34643 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34644 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34645 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34646 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34647 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34648 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34649 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34650 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34651 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34652 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34653 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34654 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34655 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34656 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34657 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34658 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34659 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34660 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34661 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34662 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34663 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34664 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34665 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34666 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34667 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34668 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34669 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34670 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34671 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34672 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34673 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34674 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34675 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34676 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34677 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34678 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34679 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34680 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34681 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34682 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34683 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34684 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34685 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34686 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34687 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34688 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34689 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34690 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34691 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34692 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34693 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34694 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34695 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34696 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34697 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34698 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34699 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34700 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34701 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34702 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34704 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34705 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34706 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34707 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34708 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34709 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34710 * sysdeps/ieee754/s_lib_version.c: Likewise.
34711 * sysdeps/ieee754/s_matherr.c: Likewise.
34712 * sysdeps/ieee754/s_signgam.c: Likewise.
34713 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34714 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34715 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34716 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34717 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34718 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34719 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34720 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34721 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34722 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34723 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34724 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34725 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34726 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34727 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34728 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34729 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34730 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34731 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34732 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34733 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34734
1991fa03
JM
347352012-03-09 Joseph Myers <joseph@codesourcery.com>
34736
34737 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34738 * sunrpc/rpc_main.c: Likewise.
34739 * sunrpc/rpc_svcout.c: Likewise.
34740
60d6f5a6
DM
347412012-03-09 David S. Miller <davem@davemloft.net>
34742
34743 * include/math_private.h: New file.
34744
4962050e
JM
347452012-03-09 Joseph Myers <joseph@codesourcery.com>
34746
02a6f887
JM
34747 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34748 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34749 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34750 from <bits/socket_type.h>.
34751 (enum __socket_type): Don't define here.
34752 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34754 bits/socket_type.h.
34755
c6e013c1
JM
34756 [BZ #13566]
34757 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34758 checking __USE_GNU.
34759
4962050e
JM
34760 * Makerules ($(inst_includedir)/%.h): New rule.
34761 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34762 (install-others): Remove variable setting.
34763 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34764
38842f45
RH
347652012-03-08 Richard Henderson <rth@twiddle.net>
34766
67bb6da6
RH
34767 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34768 from macro to inline function; merge with the
34769 !__LIBC_INTERNAL_MATH_INLINES version.
34770 (__ieee754_sqrtf): Likewise.
34771
15194b4b
RH
34772 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34773 to inline function.
34774 (__rintf, __floor, __floorf): Likewise.
34775
64e21ede
RH
34776 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34777 macro to inline function.
34778 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34779
38842f45
RH
34780 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34781 not <math/math_private.h>.
34782
c64bf5fe
DM
347832012-03-08 David S. Miller <davem@davemloft.net>
34784
34785 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34786 copyright year.
34787 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34788
82d86f28
TS
347892012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34790
34791 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34792 normalization.
34793 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34794 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34795
aea5d727
UD
347962012-03-08 Ulrich Drepper <drepper@gmail.com>
34797
34798 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34799 be defined individually, they must be defined as a block. Define
34800 S for printing a string instead of hidint the different by using a
34801 macro for adding the 'l'.
34802 * stdio-common/tst-fphex-wide.c: Adjust.
34803
70bca0a3
MP
348042012-03-07 Marek Polacek <polacek@redhat.com>
34805
34806 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34807
65b81130
MP
348082012-03-08 Marek Polacek <polacek@redhat.com>
34809
34810 [BZ #13806]
34811 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34812 * stdio-common/tst-fphex.c: Define a few macros to make the
34813 test reusable. Use them.
34814 * stdio-common/tst-fphex-wide.c: New file.
34815
07037eeb
JM
348162012-03-08 Joseph Myers <joseph@codesourcery.com>
34817
a7a93d50
JM
34818 [BZ #6911]
34819 * manual/macros.texi (gnusystems): New macro.
34820 (nongnusystems): Likewise.
34821 (gnulinuxhurdsystems): Likewise.
34822 (gnuhurdsystems): Likewise..
34823 (gnulinuxsystems): Likewise.
34824 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34825 variants of the GNU system, not "GNU system".
34826 * manual/conf.texi: Likewise.
34827 * manual/errno.texi: Likewise. Update example of errno macro
34828 expansion.
34829 * manual/filesys.texi: Likewise.
34830 (getumask): Document as specific to GNU/Hurd.
34831 * manual/install.texi: Likewise. Reword some references to
34832 GNU/Linux.
34833 * manual/intro.texi: Likewise.
34834 * manual/io.texi: Likewise.
34835 (File Name Portability): Detail which constraints are inapplicable
34836 to all GNU systems and which are only inapplicable to GNU/Hurd.
34837 * manual/job.texi: Likewise.
34838 * manual/llio.texi: Likewise.
34839 (O_NOCTTY): Document as present on GNU/Linux.
34840 * manual/maint.texi: Likewise.
34841 * manual/memory.texi: Likewise.
34842 * manual/pattern.texi: Likewise.
34843 * manual/pipe.texi: Likewise.
34844 * manual/process.texi: Likewise.
34845 * manual/resource.texi: Likewise.
34846 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34847 child on GNU/Hurd.
34848 * manual/setjmp.texi: Likewise.
34849 * manual/signal.texi: Likewise.
34850 * manual/startup.texi: Likewise.
34851 * manual/stdio.texi: Likewise.
34852 * manual/terminal.texi: Likewise.
34853 (ONLCR): Document as POSIX.
34854 (OXTABS): Document availability on GNU/Linux as XTABS.
34855 (ONOEOT): Document availability separately from other bits.
34856 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34857 * manual/time.texi: Likewise.
34858 * manual/users.texi: Likewise.
34859 * INSTALL: Regenerated.
34860 * sysdeps/gnu/errlist.c: Regenerated.
34861
07037eeb
JM
34862 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34863 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34864 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34865 puts.
34866 * configure: Regenerated.
34867
d1d3431a
JM
348682012-03-07 Joseph Myers <joseph@codesourcery.com>
34869
af6a1e37
JM
34870 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34871 default includes instead of AC_HEADER_CHECK.
34872 * sysdeps/i386/configure: Regenerated.
34873
d1d3431a
JM
34874 [BZ #10716]
34875 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34876 * math/s_cacoshf.c (__cacoshf): Likewise.
34877 * math/s_cacoshl.c (__cacoshl): Likewise.
34878 * math/s_casinh.c (__casinh): Set signs of result from argument.
34879 * math/s_casinhf.c (__casinhf): Likewise.
34880 * math/s_casinhl.c (__casinhl): Likewise.
34881 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34882 (casinh_test): Add more tests.
34883 * sysdeps/i386/fpu/libm-test-ulps: Update.
34884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34885
482ff4da
UD
348862012-03-07 Ulrich Drepper <drepper@gmail.com>
34887
872fda05
UD
34888 * po/zh_TW.po: Update from translation team.
34889
a4300c7a
UD
34890 * login/Makefile (distribute): Remove variable.
34891 * catgets/Makefile: Likewise.
34892 * mach/Makefile: Likewise.
34893 * malloc/Makefile: Likewise.
34894 * misc/Makefile: Likewise.
34895 * iconv/Makefile: Likewise.
34896 * nscd/Makefile: Likewise.
34897 * hurd/Makefile: Likewise.
34898 * manual/Makefile: Likewise.
34899 * locale/Makefile: Likewise.
34900 * intl/Makefile: Likewise.
34901 * conform/Makefile: Likewise.
34902 * nss/Makefile: Likewise.
34903 * time/Makefile: Likewise.
34904 * soft-fp/Makefile: Likewise.
34905 * dirent/Makefile: Likewise.
34906 * gmon/Makefile: Likewise.
34907 * po/Makefile: Likewise.
34908 * rt/Makefile: Likewise.
34909 * socket/Makefile: Likewise.
34910 * math/Makefile: Likewise.
34911 * signal/Makefile: Likewise.
34912 * debug/Makefile: Likewise.
34913 * elf/Makefile: Likewise.
34914 * timezone/Makefile: Likewise.
34915 * stdlib/Makefile: Likewise.
34916 * iconvdata/Makefile: Likewise.
34917 * sunrpc/Makefile: Likewise.
34918 * io/Makefile: Likewise.
34919 * argp/Makefile: Likewise.
34920 * inet/Makefile: Likewise.
34921 * hesiod/Makefile: Likewise.
34922 * grp/Makefile: Likewise.
34923 * csu/Makefile: Likewise.
34924 * wctype/Makefile: Likewise.
34925 * crypt/Makefile: Likewise.
34926 * libio/Makefile: Likewise.
34927 * string/Makefile: Likewise.
34928 * nis/Makefile: Likewise.
34929 * resolv/Makefile: Likewise.
34930 * stdio-common/Makefile: Likewise.
34931 * wcsmbs/Makefile: Likewise.
34932 * dlfcn/Makefile: Likewise.
34933 * posix/Makefile: Likewise.
34934
3b7c4e74 34935 [BZ #6959]
482ff4da
UD
34936 * timezone/Makefile: Don't install timezone files, just the programs
34937 and scripts.
34938
f72ed77d
UD
349392012-03-06 Ulrich Drepper <drepper@gmail.com>
34940
a000466f
UD
34941 * nss/databases.def: Add missing gshadow entry.
34942
f72ed77d
UD
34943 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34944
a53b7a4e
MP
349452012-03-06 Marek Polacek <polacek@redhat.com>
34946
34947 [BZ #13726]
34948 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34949 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34950 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34951 * stdio-common/tst-long-dbl-fphex.c: New file.
34952
e9258400
DM
349532012-03-06 David S. Miller <davem@davemloft.net>
34954
34955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34956 (set_obp_int): New function.
34957 (get_obp_int): New function.
34958 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34959 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34960 Avoid unused variable warnings on 'val' and use builtin_expect.
34961 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34962 __builtin_expect.
e9258400
DM
34963 (INLINE_CLONE_SYSCALL): Likewise.
34964
3bd2c723
DM
349652012-03-05 David S. Miller <davem@davemloft.net>
34966
34967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34968
bbb78d03
AS
349692012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34970
884c5db4
AS
34971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34972
bbb78d03
AS
34973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34974 only for |x| >= 40.
34975 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34976
1c9f702a 349772012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34978
34979 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34980 Replace gettimeofday with __vdso_gettimeofday.
34981
7be16f82
RM
34982 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34983 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34984 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34985
34986 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34987 time with __vdso_time.
34988
ed58a00f
JM
349892012-03-05 Joseph Myers <joseph@codesourcery.com>
34990
34991 * manual/lang.texi (size_t): Note types to which size_t may be
34992 equivalent with the GNU C Library, but do not describe when
34993 differences between them are significant.
34994
30ee4ced
AJ
349952012-03-05 Andreas Jaeger <aj@suse.de>
34996
34997 * sysdeps/i386/fpu/libm-test-ulps: Update.
34998
b7cd39e8
JM
349992012-03-05 Joseph Myers <joseph@codesourcery.com>
35000
35001 [BZ #3976]
35002 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35003 (__ieee754_pow): Save and restore rounding mode and use
35004 round-to-nearest for main computations.
35005 * math/libm-test.inc (pow_test_tonearest): New function.
35006 (pow_test_towardzero): Likewise.
35007 (pow_test_downward): Likewise.
35008 (pow_test_upward): Likewise.
35009 (main): Call the new functions.
35010 * sysdeps/i386/fpu/libm-test-ulps: Update.
35011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35012
35013 [BZ #3976]
35014 * math/libm-test.inc (cosh_test_tonearest): New function.
35015 (cosh_test_towardzero): Likewise.
35016 (cosh_test_downward): Likewise.
35017 (cosh_test_upward): Likewise.
35018 (sinh_test_tonearest): Likewise.
35019 (sinh_test_towardzero): Likewise.
35020 (sinh_test_downward): Likewise.
35021 (sinh_test_upward): Likewise.
35022 (main): Call the new functions.
35023 * sysdeps/i386/fpu/libm-test-ulps: Update.
35024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35025
6c6a98c9
TV
350262012-03-05 Tom de Vries <tom@codesourcery.com>
35027
35028 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35029 default stack guard is set in last bytes.
35030 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35031
21bb2d2e 350322012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35033
21bb2d2e 35034 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35035
21bb2d2e
AJ
35036 [BZ #13656]
35037 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35038 possibly allocate from heap instead of stack.
35039 * stdio-common/bug-vfprintf-nargs.c: New file.
35040 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35041
c6922934
AS
350422012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35043
35044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35045
bc957d53
MP
350462012-03-03 Marek Polacek <polacek@redhat.com>
35047
35048 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35049 * math/math_private.h: Likewise.
35050 * stdlib/tst-strtod.c: Likewise.
35051 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35052 * sysdeps/x86_64/bits/atomic.h: Likewise.
35053
6358490d
DM
350542012-03-02 David S. Miller <davem@davemloft.net>
35055
35056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35060 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35061 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35062 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35063 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35064
01ae168d
RM
350652012-03-02 Roland McGrath <roland@hack.frob.com>
35066
d9a17c07
RM
35067 [BZ #13792]
35068 * manual/examples/README: New file, says the example source files
35069 can be used under GPL>=2.
35070 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35071 line containing just "*/".
35072 * manual/examples/add.c: Add copyright header (GPL>=2).
35073 * manual/examples/argp-ex1.c: Likewise.
35074 * manual/examples/argp-ex2.c: Likewise.
35075 * manual/examples/argp-ex3.c: Likewise.
35076 * manual/examples/argp-ex4.c: Likewise.
35077 * manual/examples/atexit.c: Likewise.
35078 * manual/examples/db.c: Likewise.
35079 * manual/examples/dir.c: Likewise.
35080 * manual/examples/dir2.c: Likewise.
35081 * manual/examples/execinfo.c: Likewise.
35082 * manual/examples/filecli.c: Likewise.
35083 * manual/examples/filesrv.c: Likewise.
35084 * manual/examples/fmtmsgexpl.c: Likewise.
35085 * manual/examples/genpass.c: Likewise.
35086 * manual/examples/inetcli.c: Likewise.
35087 * manual/examples/inetsrv.c: Likewise.
35088 * manual/examples/isockad.c: Likewise.
35089 * manual/examples/longopt.c: Likewise.
35090 * manual/examples/memopen.c: Likewise.
35091 * manual/examples/memstrm.c: Likewise.
35092 * manual/examples/mkfsock.c: Likewise.
35093 * manual/examples/mkisock.c: Likewise.
35094 * manual/examples/mygetpass.c: Likewise.
35095 * manual/examples/pipe.c: Likewise.
35096 * manual/examples/popen.c: Likewise.
35097 * manual/examples/rprintf.c: Likewise.
35098 * manual/examples/search.c: Likewise.
35099 * manual/examples/select.c: Likewise.
35100 * manual/examples/setjmp.c: Likewise.
35101 * manual/examples/sigh1.c: Likewise.
35102 * manual/examples/sigusr.c: Likewise.
35103 * manual/examples/stpcpy.c: Likewise.
35104 * manual/examples/strdupa.c: Likewise.
35105 * manual/examples/strftim.c: Likewise.
35106 * manual/examples/strncat.c: Likewise.
35107 * manual/examples/subopt.c: Likewise.
35108 * manual/examples/swapcontext.c: Likewise.
35109 * manual/examples/termios.c: Likewise.
35110 * manual/examples/testopt.c: Likewise.
35111 * manual/examples/testpass.c: Likewise.
35112 * manual/examples/timeval_subtract.c: Likewise.
35113
01ae168d
RM
35114 [BZ #13792]
35115 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35116 function to ...
35117 * manual/timeval_subtract.c.texi: ... here, new file.
35118
49efa33d
DM
351192012-03-02 David S. Miller <davem@davemloft.net>
35120
35121 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35122
28afd92d
JM
351232012-03-02 Joseph Myers <joseph@codesourcery.com>
35124
804360ed
JM
35125 [BZ #3976]
35126 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35127 (__sin): Save and restore rounding mode and use round-to-nearest
35128 for all computations.
35129 (__cos): Save and restore rounding mode and use round-to-nearest
35130 for all computations.
35131 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35132 <fenv.h>.
35133 (tan): Save and restore rounding mode and use round-to-nearest for
35134 all computations.
35135 * math/libm-test.inc (cos_test_tonearest): New function.
35136 (cos_test_towardzero): Likewise.
35137 (cos_test_downward): Likewise.
35138 (cos_test_upward): Likewise.
35139 (sin_test_tonearest): Likewise.
35140 (sin_test_towardzero): Likewise.
35141 (sin_test_downward): Likewise.
35142 (sin_test_upward): Likewise.
35143 (tan_test_tonearest): Likewise.
35144 (tan_test_towardzero): Likewise.
35145 (tan_test_downward): Likewise.
35146 (tan_test_upward): Likewise.
35147 (main): Call the new functions.
35148 * sysdeps/i386/fpu/libm-test-ulps: Update.
35149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35150
a6d06d7b
JM
35151 [BZ #10135]
35152 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35153 small n, then large n, before computing and testing k+n.
35154 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35155 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35156 Likewise.
35157 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35158 Likewise.
35159 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35160 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35161 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35162 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35163 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35164 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35165 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35166 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35167 * math/libm-test.inc (scalbn_test): Add more tests.
35168 (scalbln_test): Likewise.
35169
07e12bb3
JM
35170 * manual/filesys.texi (mode_t): Describe constraints on size and
35171 signedness, not exact equivalence to a particular type.
35172 (ino_t): Likewise.
35173 (ino64_t): Likewise.
35174 (dev_t): Likewise.
35175 (nlink_t): Likewise.
35176 (blkcnt_t): Likewise.
35177 (blkcnt64_t): Likewise.
35178 * manual/llio.texi (off_t): Likewise.
35179
28afd92d
JM
35180 [BZ #3976]
35181 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35182 (__ieee754_exp): Save and restore rounding mode and use
35183 round-to-nearest for all computations.
35184 * math/libm-test.inc (exp_test_tonearest): New function.
35185 (exp_test_towardzero): Likewise.
35186 (exp_test_downward): Likewise.
35187 (exp_test_upward): Likewise.
35188 (main): Call the new functions.
35189 * sysdeps/i386/fpu/libm-test-ulps: Update.
35190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35191
b1eeb65d
CD
351922012-03-01 Chris Demetriou <cgd@google.com>
35193
35194 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35195 have predictable order.
35196
53362a4b
DM
351972012-03-01 David S. Miller <davem@davemloft.net>
35198
3c969083
DM
35199 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35200
759707de
DM
35201 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35202 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35203 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35204 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35205
dfdb8ff2
DM
35206 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35207 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35208 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35210 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35211 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35212 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35213 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35214 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35215
ead89f96
DM
35216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35217
7f66bd07
DM
35218 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35219 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35220 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35221
53362a4b
DM
35222 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35223 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35224 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35225 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35226 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35227 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35228 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35229 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35230 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35231 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35232 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35233 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35234 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35235 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35236 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35237 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35238 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35239 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35240 * sysdeps/sparc/elf/configure: Regenerated.
35241
7b1902cb
JM
352422012-03-01 Joseph Myers <joseph@codesourcery.com>
35243
bec039bc
JM
35244 * configure.in (AS, LD): Require binutils 2.20 or later.
35245 * configure: Regenerated.
35246 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35247 as required minimum version.
35248 * INSTALL: Regenerated.
35249
7b1902cb
JM
35250 [BZ #2541]
35251 [BZ #4108]
35252 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35253 before squaring exponent.
35254 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35255 bottom long double and 27 bits of top long double before squaring
35256 exponent.
35257 * math/libm-test.inc (erfc_test): Add more tests.
35258 * sysdeps/i386/fpu/libm-test-ulps: Update.
35259 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35261
f775c276
KT
352622012-03-01 Kai Tietz <ktietz@redhat.com>
35263
35264 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35265 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35266 containing bit-fields.
35267 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35268 * soft-fp/single.h (_FP_UNION_S): Likewise.
35269 * soft-fp/double.h (_FP_UNION_D): Likewise.
35270
5b8a4d4a
JM
352712012-02-29 Joseph Myers <joseph@codesourcery.com>
35272
0bab47b6
JM
35273 [BZ #13786]
35274 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35275 not include ../strcmp.S.
35276 [USE_AS_STRNCASECMP_L]: Likewise.
35277 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35278 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35279 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35280 (__strncasecmp_l_ia32): Define as alias to
35281 __strncasecmp_l_nonascii.
35282
0fcad3e2
JM
35283 [BZ #5794]
35284 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35285 * sysdeps/i386/fpu/libm-test-ulps: Update.
35286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35287
5b8a4d4a
JM
35288 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35290
8fdceb2e
JL
352912012-02-29 Jeff Law <law@redhat.com>
35292
35293 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35294 out of bounds read.
35295
1f393a11
MP
352962012-02-29 Marek Polacek <polacek@redhat.com>
35297
35298 [BZ #13706]
35299 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35300 * elf/Makefile: Add rules to run tst-unused-dep.out.
35301
8847f037
DM
353022012-02-28 David S. Miller <davem@davemloft.net>
35303
35304 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35305 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35306 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35307 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35308 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35309 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35310
169d7f11
JM
353112012-02-29 Joseph Myers <joseph@codesourcery.com>
35312
35313 * math/libm-test.inc (llround_test): Move one test from
35314 lround_test. Use TEST_f_L in moved test.
35315 (lround_test): Move misplaced test to llround_test. Add testcase
35316 from bug 2561.
35317
39adf059
UD
353182012-02-28 Ulrich Drepper <drepper@gmail.com>
35319
35320 * sysdeps/x86_64/fpu/e_expf.S: New file.
35321 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35322
71b5d1c5
SB
353232012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35324
35325 [BZ #13637]
35326 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35327 of remain_len that may cause incomplete multi-byte character and
35328 false match.
35329 * posix/bug-regex33.c: New file.
35330 * posix/Makefile (tests): Add bug-regex33.
35331
1f77f049
JM
353322012-02-28 Joseph Myers <joseph@codesourcery.com>
35333
35334 * manual/macros.texi: New file.
35335 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35336 * manual/libc.texinfo: Include macros.texi.
35337 * manual/creatute.texi: Likewise.
35338 * manual/install.texi: Likewise.
35339 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35340 @glibcadj{} in references to the GNU C Library.
35341 * manual/charset.texi: Likewise.
35342 * manual/conf.texi: Likewise.
35343 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35344 when not using those macros.
35345 * manual/creature.texi: Likewise.
35346 * manual/crypt.texi: Likewise.
35347 * manual/errno.texi: Likewise.
35348 * manual/filesys.texi: Likewise.
35349 * manual/header.texi: Likewise.
35350 * manual/install.texi: Likewise.
35351 * manual/intro.texi: Likewise.
35352 * manual/io.texi: Likewise.
35353 * manual/job.texi: Likewise.
35354 * manual/lang.texi: Likewise.
35355 * manual/libc.texiinfo: Likewise.
35356 * manual/llio.texi: Likewise.
35357 * manual/locale.texi: Likewise.
35358 * manual/maint.texi: Likewise.
35359 * manual/math.texi: Likewise.
35360 * manual/memory.texi: Likewise.
35361 * manual/message.texi: Likewise.
35362 * manual/nss.texi: Likewise.
35363 * manual/pattern.texi: Likewise.
35364 * manual/process.texi: Likewise.
35365 * manual/resource.texi: Likewise.
35366 * manual/search.texi: Likewise.
35367 * manual/setjmp.texi: Likewise.
35368 * manual/signal.texi: Likewise.
35369 * manual/socket.texi: Likewise.
35370 * manual/startup.texi: Likewise.
35371 * manual/stdio.texi: Likewise.
35372 * manual/string.texi: Likewise.
35373 * manual/sysinfo.texi: Likewise.
35374 * manual/syslog.texi: Likewise.
35375 * manual/terminal.texi: Likewise.
35376 * manual/time.texi: Likewise.
35377 * manual/users.texi: Likewise.
35378 * INSTALL: Regenerated.
35379 * NOTES: Regenerated.
d40c5d54 35380 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 35381
450bf206
AS
353822012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35383
35384 * include/dirent.h: Include <dirstream.h> before
35385 <dirent/dirent.h>.
35386
741a235b
DM
353872012-02-28 David S. Miller <davem@davemloft.net>
35388
35389 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35390 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35391 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35392 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35393
d6b5aa58
DM
353942012-02-27 David S. Miller <davem@davemloft.net>
35395
1aff59a3
DM
35396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35398 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35399 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35400
d6b5aa58
DM
35401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35402 frame pointer instead of stack pointer relative arg slot.
35403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35404 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35405 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35406
433f48bf
CD
354072012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35408
35409 [BZ #3992]
35410 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35411
d674b76d
DM
354122012-02-27 David S. Miller <davem@davemloft.net>
35413
35414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35418 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35419 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35420 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35421 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35422
0e7727f7
JM
354232012-02-27 Joseph Myers <joseph@codesourcery.com>
35424
35425 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35426 later. Allow versions 5-9.
43be4ca2 35427 * configure: Regenerated.
0e7727f7
JM
35428 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35429 required minimum version and 4.6 as recommended version. Do not
35430 mention bugs in GCC 2.7 and 2.8.
43be4ca2 35431 * INSTALL: Regenerated.
0e7727f7 35432
a78bc654
DM
354332012-02-27 David S. Miller <davem@davemloft.net>
35434
428d5830
DM
35435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35439 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35440 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35441 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35442 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35443
a78bc654
DM
35444 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35445 manipulate bits before adding and subtracting TWO112[sx].
35446 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35447
4579f81c
RM
354482012-02-27 Roland McGrath <roland@hack.frob.com>
35449
36c8acb4
RM
35450 [BZ #13775]
35451 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35452 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35453 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35454 being in POSIX, because they are in 1003.1-2008.
35455
84ad622b
RM
35456 * rt/tst-aio.c: Include <fcntl.h>.
35457 * rt/tst-aio7.c: Likewise.
35458 * rt/tst-aio64.c: Likewise.
35459
4579f81c
RM
35460 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35461
abd923db
JM
354622012-02-27 Joseph Myers <joseph@codesourcery.com>
35463
35464 * manual/install.texi (--with-headers): Describe headers as
35465 interface headers, not private headers.
35466 (Specific advice for GNU/Linux systems): Describe use of headers
35467 from "make headers_install", not private headers from older
35468 kernels.
43be4ca2 35469 * INSTALL: Regenerated.
abd923db
JM
35470 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35471 Change to 2.6.19.
35472 * sysdeps/unix/sysv/linux/configure: Regenerated.
35473
6664049b
JM
35474 * manual/llio.texi (fclean): Remove documentation.
35475
bb8b6697
JM
35476 * manual/Makefile (libc-texi-generated): New variable. Include
35477 version.texi.
35478 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35479 $(libc-texi-generated), not duplicated list of files.
35480 (version.texi, stamp-version): New rules.
35481 (realclean): Remove $(libc-texi-generated), not individual files
35482 from that list. Do not remove dir-add.texinfo.
35483 * manual/libc.texinfo: Comment out uses of edition numbers and
35484 references to printed manual. Remove last-updated dates.
35485 (EDITION): Comment out.
35486 (ISBN): Likewise.
35487 (VERSION, UPDATED): Remove.
35488 (version.texi): Include.
35489
12e5c3b9
AS
354902012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35491
35492 * sysdeps/posix/spawni.c: Include <signal.h>.
35493 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35494 * sysdeps/pthread/aio_fsync.c: Likewise.
35495
4efeffc1 354962012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 35497
ba63ba08
UD
35498 * conform/Makefile (tests): Run only when not cross-compiling and
35499 when fast-check is not defined.
35500
d94a4670
UD
35501 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35502 * conform/data/limits.h-data: Fixes for POSIX2008.
35503 * conform/run-conformtest.sh: Run all tests.
35504 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35505 headers.
35506 * include/bits/dlfcn.h: Likewise.
35507 * include/langinfo.h: Likewise.
35508 * include/monetary.h: Likewise.
35509 * include/sys/poll.h: Likewise.
35510
35511 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35512 for __USE_GNU.
35513 * posix/spawn.h: Define __need_sigset_t.
35514 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35515 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35516 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35517 to get sigevent_t only.
35518 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35519 only for __USE_GNU.
35520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35521 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35522 process_vm_writev only for __USE_GNU.
35523 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
35524
35525 * conform/Makefile: For now ignore errors from run-conformtest.
35526 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35527 POSIX to avoid namespace pollution. Don't prepend headers.
35528 * conform/data/aio.h-data: Fixes for POSIX testing.
35529 * conform/data/fcntl.h-data: Likewise.
35530 * conform/data/glob.h-data: Likewise.
35531 * conform/data/grp.h-data: Likewise.
35532 * conform/data/pthread.h-data: Likewise.
35533 * conform/data/pwd.h-data: Likewise.
35534 * conform/data/signal.h-data: Likewise.
35535 * conform/data/spawn.h-data: Likewise.
35536 * conform/data/stdio.h-data: Likewise.
35537 * conform/data/stdlib.h-data: Likewise.
35538 * conform/data/stropts.h-data: Likewise.
35539 * conform/data/sys/mman.h-data: Likewise.
35540 * conform/data/sys/stat.h-data: Likewise.
35541 * conform/data/sys/types.h-data: Likewise.
35542 * conform/data/sys/wait.h-data: Likewise.
35543 * conform/data/time.h-data: Likewise.
35544 * conform/data/unistd.h-data: Likewise.
35545 * conform/data/utime.h-data: Likewise.
35546
35547 * io/sys/stat.h: fchmod was always in POSIX.
35548 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35549 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35550 * rt/aio.h: Define __need_timespec before including <time.h>.
35551 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35552 struct. Add forward declaration of pthread_attr_t and use it in
35553 sigevent.
35554 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35555 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35556 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35557 always remove CLK_TCK definition.
35558
c20105c3
AS
355592012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35560
35561 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35562
7a270350
UD
355632012-02-25 Ulrich Drepper <drepper@gmail.com>
35564
31341567
UD
35565 * conform/run-conformtest.sh: New file.
35566 * conform/Makefile: Run run-conformtest for tests.
35567 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35568 support.
35569
35570 * conform/data/uchar.h-data: New file.
35571 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35572 * conform/data/arpa/inet.h-data: Likewise.
35573 * conform/data/assert.h-data: Likewise.
35574 * conform/data/complex.h-data: Likewise.
35575 * conform/data/cpio.h-data: Likewise.
35576 * conform/data/ctype.h-data: Likewise.
35577 * conform/data/dirent.h-data: Likewise.
35578 * conform/data/dlfcn.h-data: Likewise.
35579 * conform/data/errno.h-data: Likewise.
35580 * conform/data/fcntl.h-data: Likewise.
35581 * conform/data/float.h-data: Likewise.
35582 * conform/data/fmtmsg.h-data: Likewise.
35583 * conform/data/fnmatch.h-data: Likewise.
35584 * conform/data/ftw.h-data: Likewise.
35585 * conform/data/glob.h-data: Likewise.
35586 * conform/data/grp.h-data: Likewise.
35587 * conform/data/iconv.h-data: Likewise.
35588 * conform/data/inttypes.h-data: Likewise.
35589 * conform/data/langinfo.h-data: Likewise.
35590 * conform/data/libgen.h-data: Likewise.
35591 * conform/data/limits.h-data: Likewise.
35592 * conform/data/locale.h-data: Likewise.
35593 * conform/data/math.h-data: Likewise.
35594 * conform/data/monetary.h-data: Likewise.
35595 * conform/data/mqueue.h-data: Likewise.
35596 * conform/data/ndbm.h-data: Likewise.
35597 * conform/data/net/if.h-data: Likewise.
35598 * conform/data/netdb.h-data: Likewise.
35599 * conform/data/netinet/in.h-data: Likewise.
35600 * conform/data/nl_types.h-data: Likewise.
35601 * conform/data/poll.h-data: Likewise.
35602 * conform/data/pthread.h-data: Likewise.
35603 * conform/data/pwd.h-data: Likewise.
35604 * conform/data/regex.h-data: Likewise.
35605 * conform/data/sched.h-data: Likewise.
35606 * conform/data/search.h-data: Likewise.
35607 * conform/data/semaphore.h-data: Likewise.
35608 * conform/data/setjmp.h-data: Likewise.
35609 * conform/data/signal.h-data: Likewise.
35610 * conform/data/spawn.h-data: Likewise.
35611 * conform/data/stdarg.h-data: Likewise.
35612 * conform/data/stdio.h-data: Likewise.
35613 * conform/data/stdlib.h-data: Likewise.
35614 * conform/data/string.h-data: Likewise.
35615 * conform/data/strings.h-data: Likewise.
35616 * conform/data/stropts.h-data: Likewise.
35617 * conform/data/sys/ipc.h-data: Likewise.
35618 * conform/data/sys/mman.h-data: Likewise.
35619 * conform/data/sys/msg.h-data: Likewise.
35620 * conform/data/sys/resource.h-data: Likewise.
35621 * conform/data/sys/select.h-data: Likewise.
35622 * conform/data/sys/sem.h-data: Likewise.
35623 * conform/data/sys/shm.h-data: Likewise.
35624 * conform/data/sys/socket.h-data: Likewise.
35625 * conform/data/sys/stat.h-data: Likewise.
35626 * conform/data/sys/statvfs.h-data: Likewise.
35627 * conform/data/sys/time.h-data: Likewise.
35628 * conform/data/sys/timeb.h-data: Likewise.
35629 * conform/data/sys/times.h-data: Likewise.
35630 * conform/data/sys/types.h-data: Likewise.
35631 * conform/data/sys/uio.h-data: Likewise.
35632 * conform/data/sys/un.h-data: Likewise.
35633 * conform/data/sys/utsname.h-data: Likewise.
35634 * conform/data/sys/wait.h-data: Likewise.
35635 * conform/data/syslog.h-data: Likewise.
35636 * conform/data/tar.h-data: Likewise.
35637 * conform/data/termios.h-data: Likewise.
35638 * conform/data/utime.h-data: Likewise.
35639 * conform/data/utmpx.h-data: Likewise.
35640 * conform/data/varargs.h-data: Likewise.
35641 * conform/data/wchar.h-data: Likewise.
35642 * conform/data/wctype.h-data: Likewise.
35643 * conform/data/wordexp.h-data: Likewise.
35644
35645 * include/stropts.h: New file.
35646 * include/uchar.h: New file.
35647 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35648 * include/assert.h: Likewise.
35649 * include/ctype.h: Likewise.
35650 * include/dirent.h: Likewise.
35651 * include/dlfcn.h: Likewise.
35652 * include/fcntl.h: Likewise.
35653 * include/fnmatch.h: Likewise.
35654 * include/glob.h: Likewise.
35655 * include/grp.h: Likewise.
35656 * include/libio.h: Likewise.
35657 * include/locale.h: Likewise.
35658 * include/math.h: Likewise.
35659 * include/net/if.h: Likewise.
35660 * include/netdb.h: Likewise.
35661 * include/netinet/in.h: Likewise.
35662 * include/pthread.h: Likewise.
35663 * include/pwd.h: Likewise.
35664 * include/regex.h: Likewise.
35665 * include/sched.h: Likewise.
35666 * include/search.h: Likewise.
35667 * include/setjmp.h: Likewise.
35668 * include/signal.h: Likewise.
35669 * include/stdio.h: Likewise.
35670 * include/stdlib.h: Likewise.
35671 * include/string.h: Likewise.
35672 * include/sys/cdefs.h: Likewise.
35673 * include/sys/mman.h: Likewise.
35674 * include/sys/msg.h: Likewise.
35675 * include/sys/resource.h: Likewise.
35676 * include/sys/select.h: Likewise.
35677 * include/sys/socket.h: Likewise.
35678 * include/sys/stat.h: Likewise.
35679 * include/sys/statvfs.h: Likewise.
35680 * include/sys/time.h: Likewise.
35681 * include/sys/times.h: Likewise.
35682 * include/sys/uio.h: Likewise.
35683 * include/sys/utsname.h: Likewise.
35684 * include/sys/wait.h: Likewise.
35685 * include/termios.h: Likewise.
35686 * include/time.h: Likewise.
35687 * include/ulimit.h: Likewise.
35688 * include/unistd.h: Likewise.
35689 * include/utime.h: Likewise.
35690 * include/wchar.h: Likewise.
35691 * include/wctype.h: Likewise.
35692 * include/wordexp.h: Likewise.
35693
35694 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35695
7a270350
UD
35696 * time/time.h: TIME_UTC must be a macro.
35697 Make timespec_get available for ISO C11 only as well.
35698
7724defc
UD
356992012-02-24 Ulrich Drepper <drepper@gmail.com>
35700
35701 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35702 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35703
6b1d1d46
JM
357042012-02-24 Joseph Myers <joseph@codesourcery.com>
35705
35706 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35707
0f8bbd69
JM
357082012-02-24 Joseph Myers <joseph@codesourcery.com>
35709
35710 * manual/texinfo.tex: Update to version 2012-01-19.16.
35711
66ab80bc
JM
357122012-02-24 Joseph Myers <joseph@codesourcery.com>
35713
35714 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35715
74981cc5
RM
357162012-02-24 Roland McGrath <roland@hack.frob.com>
35717
ee968201
RM
35718 [BZ #13738]
35719 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35720 * manual/fdl-1.3.texi: New file.
35721 * manual/fdl-1.1.texi: File removed.
35722
74981cc5
RM
35723 [BZ #13738]
35724 * manual/libc.texinfo (FDL_VERSION): New @set.
35725 Use it for mention of FDL in cover text.
35726 (Documentation License): Use it in @include file name.
35727
7bb764bc
JM
357282012-02-22 Joseph Myers <joseph@codesourcery.com>
35729 Roland McGrath <roland@hack.frob.com>
35730
35731 [BZ #5461]
57f41c40
AS
35732 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35733 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35734 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35735 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35736 name.
35737 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35738
6cbeae47
JM
357392012-02-22 Joseph Myers <joseph@codesourcery.com>
35740
35741 [BZ #2547]
35742 [BZ #11365]
35743 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35744 manipulate bits before adding and subtracting TWO23[sx].
35745 * math/libm-test.inc (nearbyint_test): Add more tests.
35746
fe45ce09
JM
357472012-02-22 Joseph Myers <joseph@codesourcery.com>
35748
35749 [BZ #2548]
35750 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35751 bits before adding and subtracting TWO23[sx].
35752 * math/libm-test.inc (rint_test): Add more tests.
35753 (rint_test_tonearest): Likewise.
35754 (rint_test_towardzero): Likewise.
35755 (rint_test_downward): Likewise.
35756 (rint_test_upward: Likewise.
35757
ff3b3d82
JM
357582012-02-22 Joseph Myers <joseph@codesourcery.com>
35759
35760 [BZ #10110]
35761 * include/stdc-predef.h: New file. Extracted from features.h.
35762 * include/features.h: Include stdc-predef.h.
35763 * Makefile (headers): Add stdc-predef.h.
35764 * CONFORMANCE (Compiler limitations): Update.
35765
ef0aab35
JM
357662012-02-22 Joseph Myers <joseph@codesourcery.com>
35767
35768 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35769
58639409
DM
357702012-02-21 David S. Miller <davem@davemloft.net>
35771
35772 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35773 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35774
c0e70b25
DM
357752012-02-20 David S. Miller <davem@davemloft.net>
35776
35777 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35778 using a normal save/restore sequence, rather than allocating a
35779 dummy stack frame just to store a frame pointer and restore.
35780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35781
fb06851d
JM
357822012-02-21 Joseph Myers <joseph@codesourcery.com>
35783
35784 * manual/install.texi: Fix stray word in line-wrapped comment.
35785
7a8b71c3
DM
357862012-02-20 David S. Miller <davem@davemloft.net>
35787
d510c123
DM
35788 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35789 both binutils and gcc support GOTDATA.
35790
0722d7c2
DM
35791 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35792 "rd %pc" in the PIC register setup sequences.
35793
3d2b3019
DM
35794 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35795 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35796 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35797 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35798 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35799 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35800 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35801 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35802 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35803 (SYSCALL_ERROR_HANDLER): Likewise.
35804 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35805 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35806 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35807 (SYSCALL_ERROR_HANDLER): Likewise.
35808
c80098a9
DM
35809 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35810 (HAVE_GCC_GOTDATA): New.
35811 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35812 relocation support in both binutils and gcc.
35813 * sysdeps/sparc/elf/configure: Regenerate.
35814
3a2545a0
DM
35815 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35816 * sysdeps/sparc/sparc32/elf/configure: Delete.
35817 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35818 * sysdeps/sparc/sparc64/elf/configure: Delete.
35819 * sysdeps/sparc/elf/configure.in: New file.
35820 * sysdeps/sparc/elf/configure: Generate.
35821
7a8b71c3
DM
35822 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35823 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35824 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35825 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35826 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35827
f1e86fca
JM
358282012-02-21 Joseph Myers <joseph@codesourcery.com>
35829
35830 * manual/install.texi: Do not mention specific glibc version
35831 numbers.
35832 * manual/libc.texinfo (VERSION, UPDATED): Update.
35833 (@copying): Use @copyright{} and range of years.
35834
0e7dfaef
JM
358352012-02-21 Joseph Myers <joseph@codesourcery.com>
35836
35837 [BZ #13695]
35838 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35839 [crti.S not in sysdirs] (generated): Do not append.
35840 [crti.S not in sysdirs] (omit-deps): Likewise.
35841 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35842 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35843 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35844 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35845 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35846 Likewise.
35847 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35848 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35849 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35850 * csu/defs.awk: Remove file.
35851 * sysdeps/generic/initfini.c: Likewise.
35852 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35853 variable.
35854 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35855 Likewise.
35856
599af3ca
JM
358572012-02-20 Joseph Myers <joseph@codesourcery.com>
35858
35859 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35860 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35861 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35862 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35863 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35864 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35865 <bits/epoll.h>.
35866 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35867 (__EPOLL_PACKED): Define to empty if not defined by
35868 <bits/epoll.h>.
35869 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35871 bits/epoll.h.
35872
0e499750
JM
358732012-02-20 Joseph Myers <joseph@codesourcery.com>
35874
35875 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35876 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35877 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35878 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35879 <bits/timerfd.h>.
35880 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35882 bits/timerfd.h.
35883
5ad91f6e
JM
358842012-02-20 Joseph Myers <joseph@codesourcery.com>
35885
35886 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35887 in C locale.
35888 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35889 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35890 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35892
06b99b02
AJ
358932012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35894
35895 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35896 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35897
7638c0fd
AS
358982012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35899
35900 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35901 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35902 defined.
35903 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35904 Likewise.
35905 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35906 entry for 2.16.
35907
92221550
AJ
359082012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35909
35910 * math/w_acos.c: Use non-signaling floating-point comparisons.
35911 * math/w_acosf.c: Likewise.
35912 * math/w_acosh.c: Likewise.
35913 * math/w_acoshf.c: Likewise.
35914 * math/w_acoshl.c: Likewise.
35915 * math/w_acosl.c: Likewise.
35916 * math/w_asin.c: Likewise.
35917 * math/w_asinf.c: Likewise.
35918 * math/w_asinl.c: Likewise.
35919 * math/w_atanh.c: Likewise.
35920 * math/w_atanhf.c: Likewise.
35921 * math/w_atanhl.c: Likewise.
35922 * math/w_exp2.c: Likewise.
35923 * math/w_exp2f.c: Likewise.
35924 * math/w_exp2l.c: Likewise.
35925 * math/w_j0.c: Likewise.
35926 * math/w_j0f.c: Likewise.
35927 * math/w_j0l.c: Likewise.
35928 * math/w_j1.c: Likewise.
35929 * math/w_j1f.c: Likewise.
35930 * math/w_j1l.c: Likewise.
35931 * math/w_jn.c: Likewise.
35932 * math/w_jnf.c: Likewise.
35933 * math/w_log.c: Likewise.
35934 * math/w_log10.c: Likewise.
35935 * math/w_log10f.c: Likewise.
35936 * math/w_log10l.c: Likewise.
35937 * math/w_log2.c: Likewise.
35938 * math/w_log2f.c: Likewise.
35939 * math/w_log2l.c: Likewise.
35940 * math/w_logf.c: Likewise.
35941 * math/w_logl.c: Likewise.
35942 * math/w_sqrt.c: Likewise.
35943 * math/w_sqrtf.c: Likewise.
35944 * math/w_sqrtl.c: Likewise.
35945 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35946 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35947 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35948 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35949 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35950
ebaf36eb
JM
359512012-02-19 Joseph Myers <joseph@codesourcery.com>
35952
35953 [BZ #9739]
35954 * manual/string.texi (strnlen): Use correct parameter name in
35955 equivalent expression.
35956
71c254a6
JM
359572012-02-19 Joseph Myers <joseph@codesourcery.com>
35958
35959 [BZ #11174]
35960 * manual/users.texi (seteuid): Consistently use neweuid for
35961 argument name.
35962
16d2c631
JM
359632012-02-19 Joseph Myers <joseph@codesourcery.com>
35964
35965 [BZ #13704]
35966 * manual/nss.texi (Services in the NSS configuration): Correct
35967 list of services in example configuration file.
35968
cd837b09
NB
359692012-02-19 Nick Bowler <nbowler@draconx.ca>
35970
35971 [BZ #11322]
35972 * manual/arith.texi: Remove statements about negative zero
35973 behaving identically to zero.
35974
02c4bbad
JM
359752012-02-18 Joseph Myers <joseph@codesourcery.com>
35976
35977 [BZ #5993]
35978 * manual/install.texi: Do not document upgrading from libc5.
35979
366842e7
JM
359802012-02-18 Joseph Myers <joseph@codesourcery.com>
35981
35982 [BZ #4596]
35983 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35984
dd54084d
DM
359852012-02-18 David S. Miller <davem@davemloft.net>
35986
35987 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35988 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35989 %o7 across the call.
35990 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35991 instead.
35992 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35993 SETUP_PIC_REG_LEAF.
35994 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35995 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35996 * sysdeps/sparc/crtn.S: Likewise.
35997
2bcc53a3
UD
359982012-02-17 Ulrich Drepper <drepper@gmail.com>
35999
36000 * aout/Makefile: Remove.
36001
09c093b5
RK
360022012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36003
36004 [BZ #13058]
36005 * manual/examples/argp-ex1.c (main): Format definition in GNU
36006 style.
36007 * manual/examples/argp-ex2.c (main): Likewise.
36008 * manual/examples/argp-ex3.c (main): Likewise.
36009 * manual/examples/argp-ex4.c (main): Likewise.
36010 * manual/examples/longopt.c (main): Use new-style prototype
36011 definition.
36012 * manual/examples/strncat.c (main): Specify return type and use
36013 (void) for arguments.
36014 * manual/examples/subopt.c (main): Use char **argv argument.
36015
2ee633a2
JM
360162012-02-17 Joseph Myers <joseph@codesourcery.com>
36017
36018 [BZ #5077]
36019 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36020 rounding modes.
36021
0520adde
FB
360222012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36023
36024 [BZ #6907]
36025 * manual/string.texi (strchr): Change when strchrnul is
36026 recommended.
36027
3f4081cd
DGM
360282012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36029
36030 [BZ #174]
36031 * manual/locale.texi (setlocale): Document LOCPATH.
36032
d1b10e78
JM
360332012-02-17 Joseph Myers <joseph@codesourcery.com>
36034
36035 [BZ #10210]
36036 * manual/process.texi (execle): Move @dots{} before last argument.
36037
79c6869c
PB
360382012-02-17 Paul Bolle <pebolle@tiscali.nl>
36039
36040 [BZ #12047]
36041 * manual/charset.texi (Generic Charset Conversion): Fix typo
36042 (LC_TYPE -> LC_CTYPE).
36043
cc6e48bc
NB
360442012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36045
36046 [BZ #5805]
36047 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36048 (scalbnf): Likewise.
36049 (scalbnl): Likewise.
36050 (scalbln): Likewise.
36051 (scalblnf): Likewise.
36052 (scalblnl): Likewise.
36053 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36054 (vwarnx): Likewise.
36055 (verr): Likewise.
36056 (verrx): Likewise.
36057 * manual/filesys.texi (telldir): Use braces around return type.
36058 * manual/llio.texi (mmap): Add space after comma.
36059 (mmap64): Likewise.
36060 * manual/math.texi (jn): Use @var{} on parameter names.
36061 (jnf): Likewise.
36062 (jnl): Likewise.
36063 (yn): Likewise.
36064 (ynf): Likewise.
36065 (ynl): Likewise.
36066 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36067 line.
36068 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36069 "...".
36070 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36071 (sched_get_priority_max): Likewise.
36072 * manual/signal.texi (sigvec): Add space after comma.
36073 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36074 names.
36075 (if_indextoname): Likewise.
36076 (if_freenameindex): Likewise.
36077 (sendto): Use ',' instead of '.' in prototype.
36078 * manual/startup.texi (syscall): Use @dots{} instead of literal
36079 "...".
36080 * manual/stdio.texi (__fpending): Separate initial words of
36081 paragraph from @deftypefun line.
36082 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36083 "...".
36084 (vsyslog): Use @var{} on parameter names.
36085 * manual/terminal.texi (stty): Use @var{} on parameter names.
36086 * manual/users.texi (getutmp): Use @var{} on parameter names.
36087 (getutmpx): Likewise.
36088
5b23062f
JM
360892012-02-17 Joseph Myers <joseph@codesourcery.com>
36090
36091 [BZ #6884]
36092 * manual/stdio.texi (fopen): Fix typos in description of
36093 ",ccs=STRING".
36094
8dee4833
AJ
360952012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36096
36097 [BZ #4026]
36098 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36099 get clock_id definition.
36100
9078ce93
TS
361012012-02-17 Thomas Schwinge <thomas@schwinge.name>
36102
36103 [BZ #4822]
36104 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36105 (madvise): Cast every argument to void on its own.
36106
3835c55f
JM
361072012-02-17 Joseph Myers <joseph@codesourcery.com>
36108
36109 [BZ #9902]
36110 * manual/startup.texi (Exit Status): Fix typo.
36111
35c47e37
JM
361122012-02-17 Joseph Myers <joseph@codesourcery.com>
36113
36114 [BZ #10140]
36115 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36116 * manual/examples/argp-ex2.c: Likewise.
36117 * manual/examples/argp-ex3.c: Likewise.
36118
e3b69ca7
RH
361192012-02-16 Richard Henderson <rth@redhat.com>
36120
36121 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36122 * sysdeps/s390/s390-32/initfini.c: Remove.
36123 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36124 * sysdeps/s390/s390-64/initfini.c: Remove.
36125
df83af67
KK
361262012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36127
36128 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36129 compiler output for sysdeps/generic/initfini.c.
36130 * sysdeps/sh/elf/initfini.c: Remove file.
36131
f63f3380
DM
361322012-02-16 David S. Miller <davem@davemloft.net>
36133
fb59b3a4
DM
36134 [BZ #11494]
36135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36136
f63f3380
DM
36137 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36138 * sysdeps/sparc/crti.S: New file.
36139 * sysdeps/sparc/crtn.S: New file.
36140 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36141 * sysdeps/sparc/sparc64/Makefile: Likewise.
36142
df6a4a4a
MF
361432012-02-15 Mike Frysinger <vapier@gentoo.org>
36144
6dd8f3dc 36145 [BZ #3335]
df6a4a4a
MF
36146 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36147
1cac7236
RM
361482012-02-15 Roland McGrath <roland@hack.frob.com>
36149
d2c736f8
RM
36150 [BZ #4822]
36151 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36152
1cac7236
RM
36153 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36154 (write, read, close): Likewise.
36155 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36156
8e475601
JM
361572012-02-15 Joseph Myers <joseph@codesourcery.com>
36158
36159 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36160 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36161 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36162 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36163 <bits/signalfd.h>.
36164 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36166 bits/signalfd.h.
36167
ed656b40
MP
361682012-02-14 Marek Polacek <polacek@redhat.com>
36169
36170 * sysdeps/x86_64/crti.S: New file.
36171 * sysdeps/x86_64/crtn.S: New file.
36172 * sysdeps/x86_64/elf/initfini.c: Remove file.
36173
2a979d3a
JM
361742012-02-13 Joseph Myers <joseph@codesourcery.com>
36175
36176 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36177 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36178 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36179 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36180 <bits/inotify.h>.
36181 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36183 bits/inotify.h.
36184
2a418ac3
JM
361852012-02-13 Joseph Myers <joseph@codesourcery.com>
36186
36187 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36188 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36189 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36190 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36191 <bits/eventfd.h>.
36192 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36194 bits/eventfd.h.
36195
fb779be7
TS
361962012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36197
e19e83c5
RM
36198 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36199 __feraiseexcept instead of feraiseexcept.
7c35ffed 36200
fb779be7
TS
36201 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36202 nanosleep invocations.
36203 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36204 strings, and add error checking for a nanosleep invocations.
36205
59ba27a6
PE
362062012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36207
36208 Replace FSF snail mail address with URLs, as per GNU coding standards.
36209 Most of the snail mail addresses were wrong anyway, and omitting
36210 them makes the source code easier to maintain. Almost all of the
36211 changes are to license notices and to locale LC_IDENTIFICATION
36212 addresses, except for this one:
36213 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36214 not its snail mail address.
36215
57b957eb
RH
362162012-02-09 Richard Henderson <rth@twiddle.net>
36217
af850b1c
RH
36218 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36219 of kernel-features.h.
36220
57b957eb
RH
36221 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36222
6b73181a
MP
362232012-02-08 Marek Polacek <polacek@redhat.com>
36224
36225 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36226 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36227 * sysdeps/gnu/_G_config.h: Likewise.
36228 * sysdeps/generic/_G_config.h: Likewise.
36229
26ecc33a
AS
362302012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36231
6c6dbc63
AS
36232 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36233 tests.
36234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36235
e216c012
AS
36236 * sysdeps/powerpc/powerpc32/crti.S: New file.
36237 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36238 * sysdeps/powerpc/powerpc64/crti.S: New file.
36239 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36240
26ecc33a
AS
36241 * Makeconfig (have-initfini): Don't set.
36242 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36243 * configure.in (nopic_initfini): Don't substitute.
36244 * config.h.in (HAVE_INITFINI): Don't #undef.
36245 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36246 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36247
3add8e13
JM
362482012-02-08 Joseph Myers <joseph@codesourcery.com>
36249
36250 Support crti.S and crtn.S provided directly by architectures.
36251 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36252 [crti.S in sysdirs] (omit-deps): Likewise.
36253 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36254 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36255 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36256 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36257 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36258 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36259 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36260 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36261 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36262 compiler output for sysdeps/generic/initfini.c.
36263 * sysdeps/i386/elf/Makefile: Remove file.
36264 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36265
a22f12b4
MP
362662012-02-07 Marek Polacek <polacek@redhat.com>
36267
36268 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36269 * sysdeps/gnu/_G_config.h: Likewise.
36270 * sysdeps/mach/hurd/_G_config.h: Likewise.
36271
148cf100
MP
362722012-02-07 Marek Polacek <polacek@redhat.com>
36273
36274 * math/Makefile (tests): Add tst-CMPLX2.
36275 * math/tst-CMPLX2.c: New file.
36276
cfdc0dd7
AS
362772012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36278
84ba42c4
AS
36279 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36280
cfdc0dd7
AS
36281 * math/libm-test.inc (jn_test): Add missing L suffix.
36282
622c86f4
MP
362832012-02-06 Marek Polacek <polacek@redhat.com>
36284
36285 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36286 * sysdeps/i386/fpu/e_powf.S: Likewise.
36287 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36288 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36289 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36290 * sysdeps/i386/fpu/e_pow.S: Likewise.
36291 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36292 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36293 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36294 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36295 * sysdeps/i386/fpu/e_log2.S: Likewise.
36296 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36297 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36298 * sysdeps/i386/fpu/e_powl.S: Likewise.
36299 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36300 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36301 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36302 * sysdeps/i386/fpu/e_logl.S: Likewise.
36303 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36304 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36305 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36306 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36307 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36308 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36309 * sysdeps/i386/fpu/e_log.S: Likewise.
36310 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36311 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36312 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36313 * sysdeps/i386/fpu/e_logf.S: Likewise.
36314 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36315 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36316 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36317 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36318 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36319 * sysdeps/i386/fpu/e_log10.S: Likewise.
36320 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36321 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36322 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36323 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36324 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36325 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36326 * sysdeps/i386/asm-syntax.h: Likewise.
36327 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36328 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36329 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36330 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36331 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36332 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36333 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36334 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36335 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36336 * sysdeps/powerpc/sysdep.h: Likewise.
36337 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36338 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36339
d4a54ac6
JM
363402012-02-06 Joseph Myers <joseph@codesourcery.com>
36341
36342 [BZ #411]
36343 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36344
314054ea
JM
363452012-02-06 Joseph Myers <joseph@codesourcery.com>
36346
36347 * sysdeps/i386/sysdep.h: Include <features.h>.
36348 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36349 version.
36350
d8e0ca50
JM
363512012-02-05 Joseph Myers <joseph@codesourcery.com>
36352
36353 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36354 Define.
36355 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36356 LOAD_PIC_REG_STR.
36357
b1da7dd9
JM
363582012-02-03 Joseph Myers <joseph@codesourcery.com>
36359
36360 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36361 (SETUP_PIC_REG): Use GET_PC_THUNK.
36362 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36363 macro.
36364
9a1d9254
JM
363652012-02-03 Joseph Myers <joseph@codesourcery.com>
36366
36367 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36368 for non-PIC compilation.
36369 (SETUP_PIC_REG): Add .p2align directive.
36370 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36371 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36372 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36373 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36374 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36375 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36376 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36377 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36378 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36379 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36380 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36381 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36382 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36383 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36384 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36385 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36386 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36387 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36388 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36389 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36390 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36391 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36392 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36393 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36394 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36395 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36396 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36397 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36398 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36399 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36400 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36401 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36402 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36403 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36404 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36405 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36406 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36407 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36408 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36409 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36410 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36411
65dc3b75
JM
364122012-02-03 Joseph Myers <joseph@codesourcery.com>
36413
36414 * math/tst-CMPLX.c: Include <stdio.h>.
36415
d55bf177
JM
364162012-01-31 Joseph Myers <joseph@codesourcery.com>
36417
36418 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36419 float.
36420 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36421 * sysdeps/sparc/bits/mathdef.h: Likewise.
36422
69db4f8f
MP
364232012-01-31 Marek Polacek <polacek@redhat.com>
36424
36425 * libio/libio.h: Don't define _PARAMS.
36426 * locale/programs/config.h: Don't define PARAMS.
36427 * stdlib/strtol_l.c: Likewise.
36428 (__strtol_l): Remove PARAMS from the prototype.
36429
41b81892
UD
364302012-01-31 Ulrich Drepper <drepper@gmail.com>
36431
3b49edc0
UD
36432 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36433 names. Just use the correct names. Remove unnecessary wrapper
36434 functions.
36435 * malloc/arena.c: Likewise.
36436 * malloc/hooks.c: Likewise.
36437
41b81892
UD
36438 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36439 ARENA_TEST says not to. Simplify test for creation of a new arena.
36440 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36441
27a25b6e
UD
364422012-01-30 Ulrich Drepper <drepper@gmail.com>
36443
36444 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36445 into tail calls.
36446 (update_get_addr): New function.
36447 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36448 GET_ADDR_MODULE parameter.
36449
c8a89e7d
JM
364502012-01-30 Joseph Myers <joseph@codesourcery.com>
36451
36452 * crypt/cert.c: Remove __STDC__ conditionals.
36453 * crypt/crypt-entry.c: Likewise.
36454 * crypt/crypt_util.c: Likewise.
36455 * libio/filedoalloc.c: Likewise.
36456 * libio/fileops.c: Likewise.
36457 * libio/genops.c: Likewise.
36458 * libio/iofclose.c: Likewise.
36459 * libio/iofdopen.c: Likewise.
36460 * libio/iofopen.c: Likewise.
36461 * libio/iofopen64.c: Likewise.
36462 * libio/iogetdelim.c: Likewise.
36463 * libio/iopopen.c: Likewise.
36464 * libio/obprintf.c: Likewise.
36465 * libio/oldfileops.c: Likewise.
36466 * libio/oldiofclose.c: Likewise.
36467 * libio/oldiofdopen.c: Likewise.
36468 * libio/oldiofopen.c: Likewise.
36469 * libio/oldiopopen.c: Likewise.
36470 * libio/wfiledoalloc.c: Likewise.
36471 * libio/wgenops.c: Likewise.
36472 * locale/programs/xmalloc.c: Likewise.
36473 * misc/syslog.c: Likewise.
36474 * stdio-common/xbug.c: Likewise.
36475 * string/memchr.c: Likewise.
36476 * string/memcmp.c: Likewise.
36477 * string/memrchr.c: Likewise.
36478 * string/rawmemchr.c: Likewise.
36479 * sysdeps/posix/getcwd.c: Likewise.
36480 * time/strftime_l.c: Likewise.
36481
3b100462
JM
364822012-01-30 Joseph Myers <joseph@codesourcery.com>
36483
36484 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
36485 * config.make.in (config-cflags-sse2avx): Define.
36486 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36487 Fix typo.
36488
607998af
CM
364892012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36490
36491 * scripts/config.guess: Update from upstream config git repository.
36492 * scripts/config.sub: Likewise.
36493
3601428f
CM
364942012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36495
3ac8b282
CM
36496 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36497 (EM_NUM): Update.
36498 (R_TILEPRO_*, R_TILEGX_*): New macros.
36499
e034841e
CM
36500 * scripts/firstversions.awk: Fix bug in version range handling.
36501
540d7568
CM
36502 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36503
3601428f
CM
36504 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36505
463de862
CM
36506 * include/sys/epoll.h: New file.
36507 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36508 libc_hidden_def.
36509
73139a76
UD
365102012-01-28 Ulrich Drepper <drepper@gmail.com>
36511
96bc5b45
UD
36512 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36513 Avoid unnecessary __WORDSIZE == 64 test.
36514 (fmaxf): Use VEX format if possible.
36515 (fmax): Likewise.
36516 (fminf): Likewise.
36517 (fmin): Likewise.
36518
56f6f6a2
UD
36519 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36520 * math/math_private.h: Remove libc_fegetround* and
36521 libc_fesetround*.
36522 * sysdeps/i386/configure.in: Check for -msse2avx.
36523 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36524 also if SSE2AVX is defined.
36525 Remove libc_fegetround* and libc_fesetround*.
36526 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36527 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36528 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36529 of HAS_YMM_USABLE.
36530 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36531 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36532 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36533 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36534 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36535
73139a76
UD
36536 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36537
d73f93a4
AZ
365382012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36539
36540 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36541 size is not set.
36542 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36543
6ee65ed6
UD
365442012-01-27 Ulrich Drepper <drepper@gmail.com>
36545
36546 [BZ #13618]
36547 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36548 relocation.
36549 * Makeconfig (libm): Define.
36550 * elf/Makefile: Add rules to build and run tst-relsort1.
36551 * elf/tst-relsort1.c: New file.
36552 * elf/tst-relsort1mod1.c: New file.
36553 * elf/tst-relsort1mod2.c: New file.
36554
8db21882
JM
365552012-01-27 Joseph Myers <joseph@codesourcery.com>
36556
36557 * math/s_ldexp.c: Remove __STDC__ conditionals.
36558 * math/s_ldexpf.c: Likewise.
36559 * math/s_ldexpl.c: Likewise.
36560 * math/s_nextafter.c: Likewise.
36561 * math/s_nexttowardf.c: Likewise.
36562 * math/s_significand.c: Likewise.
36563 * math/s_significandf.c: Likewise.
36564 * math/s_significandl.c: Likewise.
36565 * math/w_jnl.c: Likewise.
36566 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36567 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36568 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36569 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36570 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36572 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36573 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36574 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36575 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36576 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36577 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36578 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36579 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36580 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36581 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36582 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36583 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36584 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36585 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36586 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36587 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36588 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36589 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36590 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36591 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36592 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36593 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36594 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36595 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36596 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36597 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36598 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36599 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36600 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36601 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36602 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36603 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36604 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36605 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36606 * sysdeps/ieee754/k_standard.c: Likewise.
36607 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36608 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36609 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36610 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36611 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36612 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36613 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36614 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36615 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36616 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36617 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36618 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36619 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36620 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36621 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36622 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36623 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36624 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36625 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36626 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36627 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36628 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36629 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36630 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36631 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36632 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36633 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36634 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36636 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36637 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36638 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36639 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36640 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36641 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36642 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36643 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36644 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36645 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36646 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36647 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36649 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36650 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36651 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36652 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36653 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36654 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36655 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36656 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36657 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36658 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36659 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36660 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36661 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36662 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36663 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36664 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36665 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36666 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36667 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36668 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36669 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36670 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36671 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36672 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36673 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36674 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36675 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36676 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36677 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36678 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36679 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36680 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36681 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36682 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36683 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36684 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36685 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36686 * sysdeps/ieee754/s_matherr.c: Likewise.
36687 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36688 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36690 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36691
965a54a4
JM
366922012-01-26 Joseph Myers <joseph@codesourcery.com>
36693
36694 * crypt/md5.h: Remove __STDC__ conditionals.
36695 * libio/libioP.h: Likewise.
36696 * locale/programs/config.h: Likewise.
36697 * sysdeps/generic/sysdep.h: Likewise.
36698 * sysdeps/i386/asm-syntax.h: Likewise.
36699 * sysdeps/s390/asm-syntax.h: Likewise.
36700 * sysdeps/unix/sysdep.h: Likewise.
36701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36703
7071ad79
JM
367042012-01-26 Joseph Myers <joseph@codesourcery.com>
36705
36706 * libio/libio.h: Remove __STDC__ conditionals.
36707 * malloc/obstack.h: Likewise.
36708 * math/complex.h: Likewise.
36709 * math/math.h: Likewise.
36710 * sysdeps/generic/_G_config.h: Likewise.
36711 * sysdeps/gnu/_G_config.h: Likewise.
36712 * sysdeps/mach/hurd/_G_config.h: Likewise.
36713 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36714 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36715 * sysdeps/sparc/bits/mathdef.h: Likewise.
36716
afc5ed09
UD
367172012-01-26 Ulrich Drepper <drepper@gmail.com>
36718
36719 [BZ #13583]
36720 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36721 Clean up HAS_* macros.
afc5ed09 36722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36723 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36724 possible.
36725 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36726 HAS_AVX.
36727 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36728 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36729 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36730 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36731 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36732
bdb6de1d
JM
367332012-01-25 Joseph Myers <joseph@codesourcery.com>
36734
36735 * elf/tst-unique3.cc (gets): Remove declaration.
36736 * elf/tst-unique3lib.cc (gets): Likewise.
36737 * elf/tst-unique3lib2.cc (gets): Likewise.
36738 * elf/tst-unique4.cc (gets): Likewise.
36739
b15549e6
UD
367402012-01-24 Ulrich Drepper <drepper@gmail.com>
36741
36742 * include/stdio.h: Add C++ protection. Add gets declarations and
36743 definitions.
36744 * debug/tst-chk1.c: Don't declare gets here.
36745 * stdio-common/tst-gets.c: Likewise.
36746
a037381f
JM
367472012-01-24 Joseph Myers <joseph@codesourcery.com>
36748
36749 * posix/glob: Remove directory.
36750
f1d4aa75
JM
367512012-01-24 Joseph Myers <joseph@codesourcery.com>
36752
36753 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36754
81c0c964
PT
367552012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36756
36757 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36758 of the non-standard EPFNOSUPPORT.
36759
0ea698ae
ST
367602011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36761
36762 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36763 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36764 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36765
d220b117
UD
367662012-01-21 Ulrich Drepper <drepper@gmail.com>
36767
36768 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36769
3e1aa84e
UD
367702012-01-20 Ulrich Drepper <drepper@gmail.com>
36771
36772 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36773 transient errors.
36774 * nscd/grpcache.c (cache_addgr): Likewise.
36775 * nscd/hstcache.c (cache_addhst): Likewise.
36776 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36777 * nscd/pwdcache.c (cache_addpw): Likewise.
36778 * nscd/servicescache.c (cache_addserv): Likewise.
36779
400aa020
UD
367802012-01-16 Ulrich Drepper <drepper@gmail.com>
36781
d77e7869
UD
36782 * malloc/malloc.c: Various cleanups.
36783 * malloc/hooks.c: Likewise.
36784
400aa020
UD
36785 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36786 * stdlib/bug-fmtmsg1.c: New file.
36787
36788 * stdlib/fmtmsg.c (init): Add missing unlock.
36789 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36790
e0a309cf
MP
367912012-01-12 Marek Polacek <polacek@redhat.com>
36792
36793 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36794 and _GNU_SOURCE.
36795
929d11c7
WS
367962012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36797
36798 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36799 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36800 macro to ensure uniqueness of label name.
36801 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36802 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36803
41d0e869
UD
368042012-01-11 Ulrich Drepper <drepper@gmail.com>
36805
0cc5ed3b
UD
36806 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36807
41d0e869
UD
36808 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36809 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36810 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36812
a47a831a
UD
368132012-01-10 Ulrich Drepper <drepper@gmail.com>
36814
daa891c0
UD
36815 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36816
36817 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36818 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36819 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36820
e58ef0f2
UD
36821 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36822
a47a831a 36823 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36824 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36825 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36826 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36827
36828 * math/bits/math-finite.h: Add ldexp support.
36829
a0bfc9c7
MP
368302012-01-10 Marek Polacek <polacek@redhat.com>
36831
36832 * locale/programs/localedef.h (show_archive_content): Add noreturn
36833 attribute.
36834
d6e97a1d
UD
368352012-01-09 Ulrich Drepper <drepper@gmail.com>
36836
36837 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36838
d5835c26
UD
368392012-01-08 Ulrich Drepper <drepper@gmail.com>
36840
e5f484c6
UD
36841 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36842
d5835c26
UD
36843 * io/Makefile (headers): Add bits/poll2.h.
36844
d1f741e9
WS
368452011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36846
36847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36848 typo #include statement.
36849
ec09c1c4
UD
368502012-01-08 Ulrich Drepper <drepper@gmail.com>
36851
36852 * include/sys/cdefs.h: Define __attribute_alloc_size.
36853 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36854 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36855 * elf/pldd.c: Likewise.
36856 * iconv/iconv_charmap.c: Likewise.
36857 * iconv/iconvconfig.c: Likewise.
36858 * iconv/strtab.c: Likewise.
36859 * locale/programs/locale.c: Likewise.
36860 * locale/programs/localedef.h: Likewise.
36861 * locale/programs/simple-hash.c: Likewise.
36862 * nscd/nscd.h: Likewise.
36863 * nss/makedb.c: Likewise.
36864 * sysdeps/generic/ldconfig.h: Likewise.
36865 * locale/programs/localedef.c: Remove xmalloc prototype.
36866 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36867
20b38e03
PP
368682012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36869
36870 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36871 appropriate.
36872
a0da5fe1
UD
368732012-01-08 Ulrich Drepper <drepper@gmail.com>
36874
1d5a644a 36875 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36876 * math/tst-CMPLX.c: New file.
1d5a644a 36877
8784a6db
UD
36878 * math/complex.h (CMPLXL): Fix typo.
36879
d9a216c0
UD
36880 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36881 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36882 GLIBC_2.16.
36883 * debug/tst-chk1.c: Add poll and ppoll tests.
36884 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36885 * include/sys/poll.h: Add hidden proto for ppoll.
36886 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36887 * sysdeps/mach/hurd/ppoll.c: Likewise.
36888 * io/ppoll.c: Likewise.
36889 * debug/poll_chk.c: New file.
36890 * debug/ppoll_chk.c: New file.
36891 * include/bits/poll2.h: New file.
36892 * io/bits/poll2.h: New file.
36893
ac097f5c
UD
36894 [BZ #1350]
36895 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36896
2119dcfa
UD
36897 * configure.in: static is always set to yes. Remove.
36898 * config.make.in: Don't set build-static.
36899 * Makeconfig: Remove use of build-static.
36900 * dlfcn/Makefile: Likewise.
36901 * elf/Makefile: Likewise.
36902 * math/Makefile: Likewise.
36903 * misc/Makefile: Likewise.
36904 * nptl/Makefile: Likewise.
36905 * sysdeps/mach/hurd/Makefile: Likewise.
36906
121766a9
UD
36907 * configure.in: PWD_P is not used anymore.
36908 * config.make.in: Remove PWD_P entry.
36909
51a1d39c 36910 * configure.in: Remove last remnants of RANLIB.
8720d066 36911 No need to check for signed size_t anymore.
215f4bdc
UD
36912 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36913 and IA-64.
3857022a 36914 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36915 * aclocal.m4: Likewise.
36916
d3ed7225
UD
36917 * wcsmbs/mbrtoc16.c: Implement using towc function.
36918 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36919 * wcsmbs/wcsmbsload.c: Likewise.
36920 * iconv/gconv_simple.c: Likewise.
36921 * iconv/gconv_int.h: Likewise.
36922 * iconv/gconv_builtin.h: Likewise.
36923 * iconv/iconv_prog.c: Remove CHAR16 handling.
36924
36925 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36926
36927 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36928
a0da5fe1
UD
36929 * configure.in: Remove --with-elf and --enable-bounded options.
36930 Dont set base_machine for ia64. More non-ELF conditions removed.
36931 Remove testing and setting of leading underscore information.
36932 * config.make.in (build-bounded): Set to no.
36933 * config.h.in: Remove NO_UNDERSCORES entry.
36934 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36935 them.
36936 * csu/start.c: Remove !NO_UNDERSCORE code.
36937 * locale/localeinfo.h: Likewise.
36938 * sysdeps/generic/machine-gmon.h: Likewise.
36939 * sysdeps/generic/sysdep.h: Likewise.
36940 * sysdeps/i386/sysdep.h: Likewise.
36941 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36942 * sysdeps/mach/sysdep.h: Likewise.
36943 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36944 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36945 * sysdeps/sh/sysdep.h: Likewise.
36946 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36947 * sysdeps/unix/i386/sysdep.S: Likewise.
36948 * sysdeps/unix/sparc/start.c: Likewise.
36949 * sysdeps/unix/sparc/sysdep.S: Likewise.
36950 * sysdeps/unix/sparc/sysdep.h: Likewise.
36951 * sysdeps/unix/start.c: Likewise.
36952 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36953 * sysdeps/x86_64/sysdep.h: Likewise.
36954
df78418a
UD
369552012-01-07 Ulrich Drepper <drepper@gmail.com>
36956
a784e502
UD
36957 [BZ #13553]
36958 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36959 for non-gcc.
36960 * argp/argp-fmtstream.h: Use const instead __const.
36961 * argp/argp.h: Likewise.
36962 * assert/assert.h: Likewise.
36963 * bits/fenv.h: Likewise.
36964 * bits/sched.h: Likewise.
36965 * bits/sigset.h: Likewise.
36966 * bits/sigthread.h: Likewise.
36967 * catgets/nl_types.h: Likewise.
36968 * conform/data/pthread.h-data: Likewise.
36969 * crypt/crypt-private.h: Likewise.
36970 * crypt/crypt.h: Likewise.
36971 * crypt/crypt_util.c: Likewise.
36972 * ctype/ctype.h: Likewise.
36973 * debug/execinfo.h: Likewise.
36974 * debug/mbsnrtowcs_chk.c: Likewise.
36975 * debug/mbsrtowcs_chk.c: Likewise.
36976 * debug/wcsnrtombs_chk.c: Likewise.
36977 * debug/wcsrtombs_chk.c: Likewise.
36978 * debug/wcstombs_chk.c: Likewise.
36979 * dirent/dirent.h: Likewise.
36980 * dlfcn/dlfcn.h: Likewise.
36981 * elf/neededtest4.c: Likewise.
36982 * grp/grp.h: Likewise.
36983 * gshadow/gshadow.h: Likewise.
36984 * iconv/gconv.h: Likewise.
36985 * iconv/gconv_int.h: Likewise.
36986 * iconv/gconv_simple.c: Likewise.
36987 * iconv/iconv.h: Likewise.
36988 * iconv/loop.c: Likewise.
36989 * iconv/skeleton.c: Likewise.
36990 * include/aio.h: Likewise.
36991 * include/aliases.h: Likewise.
36992 * include/argz.h: Likewise.
36993 * include/arpa/inet.h: Likewise.
36994 * include/assert.h: Likewise.
36995 * include/dirent.h: Likewise.
36996 * include/dlfcn.h: Likewise.
36997 * include/execinfo.h: Likewise.
36998 * include/fcntl.h: Likewise.
36999 * include/fenv.h: Likewise.
37000 * include/glob.h: Likewise.
37001 * include/grp.h: Likewise.
37002 * include/libintl.h: Likewise.
37003 * include/mntent.h: Likewise.
37004 * include/netdb.h: Likewise.
37005 * include/pwd.h: Likewise.
37006 * include/rpc/netdb.h: Likewise.
37007 * include/sched.h: Likewise.
37008 * include/search.h: Likewise.
37009 * include/shadow.h: Likewise.
37010 * include/signal.h: Likewise.
37011 * include/stdio.h: Likewise.
37012 * include/stdlib.h: Likewise.
37013 * include/string.h: Likewise.
37014 * include/sys/socket.h: Likewise.
37015 * include/sys/stat.h: Likewise.
37016 * include/sys/statfs.h: Likewise.
37017 * include/sys/statvfs.h: Likewise.
37018 * include/sys/syslog.h: Likewise.
37019 * include/sys/time.h: Likewise.
37020 * include/sys/uio.h: Likewise.
37021 * include/time.h: Likewise.
37022 * include/unistd.h: Likewise.
37023 * include/utmp.h: Likewise.
37024 * include/wchar.h: Likewise.
37025 * include/wctype.h: Likewise.
37026 * inet/aliases.h: Likewise.
37027 * inet/arpa/inet.h: Likewise.
37028 * inet/netinet/ether.h: Likewise.
37029 * inet/netinet/in.h: Likewise.
37030 * intl/libintl.h: Likewise.
37031 * io/bits/fcntl2.h: Likewise.
37032 * io/fcntl.h: Likewise.
37033 * io/ftw.h: Likewise.
37034 * io/sys/poll.h: Likewise.
37035 * io/sys/stat.h: Likewise.
37036 * io/sys/statfs.h: Likewise.
37037 * io/sys/statvfs.h: Likewise.
37038 * io/utime.h: Likewise.
37039 * libio/bits/stdio.h: Likewise.
37040 * libio/bits/stdio2.h: Likewise.
37041 * libio/libio.h: Likewise.
37042 * libio/libioP.h: Likewise.
37043 * libio/stdio.h: Likewise.
37044 * locale/lc-ctype.c: Likewise.
37045 * locale/locale.h: Likewise.
37046 * login/utmp.h: Likewise.
37047 * malloc/arena.c: Likewise.
37048 * malloc/malloc.c: Likewise.
37049 * malloc/malloc.h: Likewise.
37050 * malloc/mcheck.c: Likewise.
37051 * malloc/mtrace.c: Likewise.
37052 * math/bits/mathcalls.h: Likewise.
37053 * math/fenv.h: Likewise.
37054 * math/math_private.h: Likewise.
37055 * misc/bits/error.h: Likewise.
37056 * misc/bits/syslog.h: Likewise.
37057 * misc/err.h: Likewise.
37058 * misc/error.h: Likewise.
37059 * misc/fstab.h: Likewise.
37060 * misc/mntent.h: Likewise.
37061 * misc/regexp.h: Likewise.
37062 * misc/search.h: Likewise.
37063 * misc/sgtty.h: Likewise.
37064 * misc/sys/mman.h: Likewise.
37065 * misc/sys/syslog.h: Likewise.
37066 * misc/sys/uio.h: Likewise.
37067 * misc/sys/xattr.h: Likewise.
37068 * misc/ttyent.h: Likewise.
37069 * nis/rpcsvc/ypclnt.h: Likewise.
37070 * nss/nss.h: Likewise.
37071 * posix/bits/unistd.h: Likewise.
37072 * posix/fnmatch.h: Likewise.
37073 * posix/glob.h: Likewise.
37074 * posix/sched.h: Likewise.
37075 * posix/spawn.h: Likewise.
37076 * posix/sys/wait.h: Likewise.
37077 * posix/unistd.h: Likewise.
37078 * posix/wordexp.h: Likewise.
37079 * pwd/pwd.h: Likewise.
37080 * resolv/netdb.h: Likewise.
37081 * resource/sys/resource.h: Likewise.
37082 * rt/aio.h: Likewise.
37083 * rt/bits/mqueue2.h: Likewise.
37084 * rt/mqueue.h: Likewise.
37085 * shadow/shadow.h: Likewise.
37086 * signal/signal.h: Likewise.
37087 * socket/send.c: Likewise.
37088 * socket/sendto.c: Likewise.
37089 * socket/sys/socket.h: Likewise.
37090 * stdio-common/printf.h: Likewise.
37091 * stdlib/bits/stdlib.h: Likewise.
37092 * stdlib/fmtmsg.h: Likewise.
37093 * stdlib/monetary.h: Likewise.
37094 * stdlib/stdlib.h: Likewise.
37095 * stdlib/ucontext.h: Likewise.
37096 * streams/stropts.h: Likewise.
37097 * string/argz.h: Likewise.
37098 * string/bits/string2.h: Likewise.
37099 * string/string.h: Likewise.
37100 * string/strings.h: Likewise.
37101 * sunrpc/rpc/auth.h: Likewise.
37102 * sunrpc/rpc/auth_des.h: Likewise.
37103 * sunrpc/rpc/clnt.h: Likewise.
37104 * sunrpc/rpc/netdb.h: Likewise.
37105 * sunrpc/rpc/pmap_clnt.h: Likewise.
37106 * sunrpc/rpc/xdr.h: Likewise.
37107 * sysdeps/generic/inttypes.h: Likewise.
37108 * sysdeps/generic/net/if.h: Likewise.
37109 * sysdeps/generic/sys/swap.h: Likewise.
37110 * sysdeps/gnu/net/if.h: Likewise.
37111 * sysdeps/gnu/utmpx.h: Likewise.
37112 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37113 * sysdeps/i386/i486/bits/string.h: Likewise.
37114 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37115 * sysdeps/s390/bits/string.h: Likewise.
37116 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37117 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37118 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37119 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37120 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37121 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37122 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37123 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37124 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37125 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37126 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37127 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37128 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37129 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37130 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37131 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37132 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37134 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37135 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37136 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37137 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37138 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37139 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37140 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37141 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37142 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37143 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37144 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37146 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37147 * sysvipc/sys/ipc.h: Likewise.
37148 * sysvipc/sys/msg.h: Likewise.
37149 * sysvipc/sys/sem.h: Likewise.
37150 * sysvipc/sys/shm.h: Likewise.
37151 * termios/termios.h: Likewise.
37152 * time/sys/time.h: Likewise.
37153 * time/time.h: Likewise.
37154 * wcsmbs/bits/wchar2.h: Likewise.
37155 * wcsmbs/uchar.h: Likewise.
37156 * wcsmbs/wchar.h: Likewise.
37157 * wctype/wctype.h: Likewise.
37158
0269750c
UD
37159 [BZ #13551]
37160 * Makeconfig: Remove all but ELF support including AIX support.
37161 * Makerules: Likewise.
37162 * config.h.in: Likewise.
37163 * config.make.in: Likewise.
37164 * configure: Likewise.
37165 * configure.in: Likewise.
37166 * csu/Makefile: Likewise.
37167 * csu/version.c: Likewise.
37168 * debug/Makefile: Likewise.
37169 * dlfcn/Makefile: Likewise.
37170 * elf/Makefile: Likewise.
37171 * extra-lib.mk: Likewise.
37172 * iconv/Makefile: Likewise.
37173 * include/libc-symbols.h: Likewise.
37174 * include/shlib-compat.h: Likewise.
37175 * resolv/Makefile: Likewise.
37176 * resolv/res_libc.c: Likewise.
37177 * rt/Makefile: Likewise.
37178 * sysdeps/i386/asm-syntax.h: Likewise.
37179 * sysdeps/i386/sysdep.h: Likewise.
37180 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37181 * sysdeps/mach/sysdep.h: Likewise.
37182 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37183 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37184 * sysdeps/s390/asm-syntax.h: Likewise.
37185 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37186 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37187 * sysdeps/sh/sysdep.h: Likewise.
37188 * sysdeps/unix/sparc/sysdep.h: Likewise.
37189 * sysdeps/wordsize-32/divdi3.c: Likewise.
37190 * sysdeps/x86_64/sysdep.h: Likewise.
37191
00bbd29b
UD
37192 * argp/Versions: Remove _argp_unlock_xxx.
37193
37194 [BZ #13559]
37195 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37196 * abilist/libBrokenLocale.abilist: Likewise.
37197 * abilist/libanl.abilist: Likewise.
37198 * abilist/libc.abilist: Likewise.
37199 * abilist/libcrypt.abilist: Likewise.
37200 * abilist/libdl.abilist: Likewise.
37201 * abilist/libm.abilist: Likewise.
37202 * abilist/libnsl.abilist: Likewise.
37203 * abilist/libpthread.abilist: Likewise.
37204 * abilist/libresolv.abilist: Likewise.
37205 * abilist/librt.abilist: Likewise.
37206 * abilist/libthread_db.abilist: Likewise.
37207 * abilist/libutil.abilist: Likewise.
37208 * abilist/libnss_db.abilist: New file.
37209
37210 * scripts/abilist.awk: Add support for indirect functions.
37211
a2693a0e
UD
37212 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37213
3f05895f
UD
37214 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37215
ecb6fb48
UD
37216 * shlib-versions: Remove entries for ports architectures.
37217
664f8cb9
UD
37218 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37219 files in ports.
37220 * elf/stackguard-macros.h: Remove support for IA-64.
37221 * elf/tst-auditmod1.c: Likewise.
37222 * sysdeps/generic/ldsodefs.h: Likewise.
37223
7ae81d88
UD
37224 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37225 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37226 configure files.
37227
bdeba135
UD
37228 [BZ #13552]
37229 * configure.in: Remove --enable-omitfp support.
37230 * FAQ.in: Adjust.
37231 * config.make.in: Likewise.
37232 * Makeconfig: Likewise.
37233 * manual/install.texi: Likewise.
37234
d75a0a62
UD
37235 In case anyone cares, the IA-64 architecture could move to ports.
37236 * sysdeps/ia64/*: Removed.
37237 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37238 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37239
dcc9756b
UD
37240 [BZ #13555]
37241 * configure.in: Remove entries for unsupported architectures.
37242
d3761ebc 37243 [BZ #13533]
9954432e
UD
37244 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37245 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37246 routines.
37247 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37248 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37249 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37250 fall back to using wcrtomb.
37251 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37252 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37253 renaming.
37254 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37255 * wcsmbs/tst-c16c32-1.c: New file.
37256
37257 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37258 local variable.
37259
c3a87236
UD
37260 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37261
28926a1b
UD
37262 * elf/tst-unique3.cc: Add explicit declaration of gets.
37263 * elf/tst-unique3lib.cc: Likewise.
37264 * elf/tst-unique3lib2.cc: Likewise.
37265 * elf/tst-unique4.cc: Likewise.
37266
df78418a
UD
37267 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37268
8ecd6b2a
JM
372692012-01-06 Joseph Myers <joseph@codesourcery.com>
37270
37271 [BZ #13566]
37272 * assert/assert.h (static_assert): Don't define for C++.
37273 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37274 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37275
9f115170
UD
372762012-01-03 Ulrich Drepper <drepper@gmail.com>
37277
5e0d0300
UD
37278 * iconv/loop.c (single loop): Fix assertion in storing of
37279 remaining bytes.
37280
9f115170
UD
37281 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37282
81fb02b0
UD
372832012-01-01 Ulrich Drepper <drepper@gmail.com>
37284
37285 * posix/getconf.c: Update copyright year.
37286 * nss/getent.c: Likewise.
a316c1f6 37287 * nss/makedb.c: Likewise.
81fb02b0
UD
37288 * iconv/iconvconfig.c: Likewise.
37289 * iconv/iconv_prog.c: Likewise.
37290 * elf/ldconfig.c: Likewise.
a316c1f6
UD
37291 * elf/pldd.c: Likewise.
37292 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
37293 * catgets/gencat.c: Likewise.
37294 * csu/version.c: Likewise.
37295 * elf/ldd.bash.in: Likewise.
37296 * elf/sprof.c (print_version): Likewise.
37297 * locale/programs/locale.c: Likewise.
37298 * locale/programs/localedef.c: Likewise.
a316c1f6 37299 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
37300 * nscd/nscd.c (print_version): Likewise.
37301 * debug/xtrace.sh: Likewise.
37302 * malloc/memusage.sh: Likewise.
37303 * malloc/mtrace.pl: Likewise.
37304 * debug/catchsegv.sh: Likewise.
37305
2ba92745
JJ
373062011-12-30 Jakub Jelinek <jakub@redhat.com>
37307
37308 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37309 pure attribute.
37310
dadebdae
UD
373112011-12-24 Ulrich Drepper <drepper@gmail.com>
37312
d3761ebc 37313 [BZ #13533]
db6af3eb
UD
37314 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37315 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37316 transformations.
37317 * iconv/gconv_int.h: Likewise.
37318 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37319 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37320 from libc for GLIBC_2.16.
37321 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37322 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37323 * wcsmbs/uchar.h: Really define mbstate_t.
37324 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37325 * wcsmbs/c16rtomb.c: New file.
37326 * wcsmbs/mbrtoc16.c: New file.
37327 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37328 for C/POSIX locale.
37329 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37330 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37331
dadebdae
UD
37332 * wcsmbs/wchar.h: Add missing __restrict.
37333
67371b56
UD
373342011-12-23 Ulrich Drepper <drepper@gmail.com>
37335
74033a25
UD
37336 [BZ #13532]
37337 * time/Makefile (routines): Add timespec_get.
37338 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37339 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37340 timespec for ISO C11.
37341 * time/timespec_get.c: New file.
37342 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37343 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37344
380d7e87
UD
37345 [BZ #13531]
37346 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37347 * stdlib/stdlib.h: Declare aligned_alloc.
37348 * Versions.def: Add GLIBC_2.16 for libc.
37349 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37350
4e9e7a35
UD
37351 [BZ 13527]
37352 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37353 ISO C11.
37354
380d7e87 37355 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
37356 code.
37357
03a71829
UD
37358 [BZ #13528]
37359 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37360
839e283e
UD
37361 [BZ #13529]
37362 * assert/assert.h (static_assert): Define.
37363
ce5294e2 37364 * version.h: Update for 2.16 development version.
90fa7312 37365
8d44e150 37366 [BZ #13526]
d7809905
UD
37367 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37368 _ISOC11_SOURCE.
37369
c0da14cd
UD
37370 * version.h (RELEASE): Bump for 2.15 release.
37371 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37372
530a3249
MP
37373 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37374 Patch by Marek Polacek <mpolacek@redhat.com>.
37375
67371b56
UD
37376 * bits/byteswap.h: Protect long long constants with __extension__.
37377 * sysdeps/i386/bits/byteswap.h: Likewise.
37378 * sysdeps/ia64/bits/byteswap.h: Likewise.
37379 * sysdeps/s390/bits/byteswap.h: Likewise.
37380 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37381
15db4de1
LD
373822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37383
37384 [BZ #13540]
bbe315ea
LD
37385 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37386 destination buffer.
15db4de1
LD
37387 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37388
2b2596b1
MP
373892011-12-23 Marek Polacek <polacek@redhat.com>
37390
37391 * elf/dl-addr.c (determine_info): Add inline keyword.
37392 * elf/tst-auditmod4b.c (check_avx): Likewise.
37393 * elf/tst-auditmod6b.c (check_avx): Likewise.
37394 * elf/tst-auditmod6c.c (check_avx): Likewise.
37395 * elf/tst-auditmod7b.c (check_avx): Likewise.
37396
70c6c246
UD
373972011-12-23 Ulrich Drepper <drepper@gmail.com>
37398
37399 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37400 !__SSE_MATH__.
37401
c044cf14
LD
374022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37403
15db4de1 37404 [BZ #13540]
c044cf14
LD
37405 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37406 processing for last bytes.
37407
6b13d9d9
BH
374082011-08-06 Bruno Haible <bruno@clisp.org>
37409
d455f537
BH
37410 [BZ #13061]
37411 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37412 U+0385, not to U+1FEE.
37413
6b13d9d9
BH
37414 [BZ #13062]
37415 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37416 entry for U+00A5 U+0301.
37417
db910efd
UD
374182011-12-22 Ulrich Drepper <drepper@gmail.com>
37419
27deeafc
UD
37420 [BZ #13166]
37421 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37422 buffer for the output is too small.
37423
aed9d171
UD
37424 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37425 optimization.
37426
db910efd
UD
37427 [BZ #13185]
37428 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37429 SSE flags if possible.
37430
2bd779ae
LD
374312011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37432
e7f9dac3 37433 [BZ #13540]
2bd779ae
LD
37434 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37435 processing for last bytes.
37436
154bfc16
JM
374372011-12-22 Joseph Myers <joseph@codesourcery.com>
37438
37439 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37440 (syscall-list-default-options, syscall-list-default-condition)
37441 (syscall-list-includes): Define.
37442 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37443 list of ABIs and options and #if conditions for each ABI. Do not
37444 handle common syscalls between ABIs specially.
37445 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37446 Remove.
37447 (syscall-list-variants, syscall-list-32bit-options)
37448 (syscall-list-32bit-condition, syscall-list-64bit-options)
37449 (syscall-list-64bit-condition): Define.
37450 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37451 (syscall-list-variants, syscall-list-32bit-options)
37452 (syscall-list-32bit-condition, syscall-list-64bit-options)
37453 (syscall-list-64bit-condition): Define.
37454 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37455 Remove.
37456 (syscall-list-variants, syscall-list-32bit-options)
37457 (syscall-list-32bit-condition, syscall-list-64bit-options)
37458 (syscall-list-64bit-condition): Define.
37459 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37460 Remove.
37461 (syscall-list-variants, syscall-list-32bit-options)
37462 (syscall-list-32bit-condition, syscall-list-64bit-options)
37463 (syscall-list-64bit-condition): Define.
37464
21eaf3a5
UD
374652011-12-22 Ulrich Drepper <drepper@gmail.com>
37466
16c6f992
UD
37467 * locale/iso-639.def: Add brx entry.
37468
41043168
UD
37469 [BZ #13328]
37470 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37471 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37472
21eaf3a5
UD
37473 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37474 __feraiseexcept_renamed.
37475
e3a851a2
UD
374762011-12-21 Ulrich Drepper <drepper@gmail.com>
37477
4920765e
UD
37478 [BZ #13538]
37479 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37480 EPOLLET with unsigned values.
37481 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37482 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37483
e3a851a2
UD
37484 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37485 to large cancellation.
37486 * math/s_cacoshf.c: Likewise.
37487 * math/s_cacoshl.c: Likewise.
37488
b27e24b8
RK
374892011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37490
37491 [BZ #13305]
aebefeee 37492 [BZ #12786]
b27e24b8
RK
37493 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37494 * math/s_cacoshf.c: Likewise.
37495 * math/s_cacoshl.c: Likewise.
37496
ee190f67
UD
374972011-12-21 Ulrich Drepper <drepper@gmail.com>
37498
37499 [BZ #13439]
37500 * iconv/gconv.h: Define __GCONV_SWAP.
37501 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37502 * iconvdata/utf-16.c: Likewise.
37503 * iconvdata/utf-32.c: Likewise.
37504
707f25df
AS
375052011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37506
37507 [BZ #13524]
37508 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37509 numerator after shifting it by one limb.
37510
d2daaa1e
RÁE
375112011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37512
37513 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37514 under [__USE_EXTERN_INLINES].
37515
a4647e72
UD
375162011-12-17 Ulrich Drepper <drepper@gmail.com>
37517
37518 [BZ #13446]
37519 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37520
f0b264f1
AZ
375212011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37522
37523 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37524 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37525 optimized code.
37526 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37527 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37528 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37529 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37530 for strncasecmp/strncasecmp_l compilation.
37531 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37532 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37533
8ef4f244
MP
375342011-12-08 Marek Polacek <mpolacek@redhat.com>
37535
37536 [BZ #13484]
37537 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37538 of __asm__.
37539
97ac2654
UD
375402011-12-17 Ulrich Drepper <drepper@gmail.com>
37541
37542 [BZ #13506]
37543 * time/tzfile.c (__tzfile_read): Check values from file header.
37544
91d2a845
WS
375452011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37546
37547 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37548 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37549 * powerpc/powerpc32/dl-start.S: Likewise.
37550 * powerpc/powerpc32/elf/start.S: Likewise.
37551 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37552 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37553 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37554 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37555 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37556 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37557 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37558 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37559 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37560 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37561 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37562 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37563 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37564 * powerpc/powerpc32/memset.S: Likewise.
37565 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37566 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37567 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37568 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37569 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37570 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37571 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37572 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37573 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37574 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37575 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37576 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37577 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37578
a1267ba1
AZ
375792011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37580
37581 * math/libm-test.inc: Added more nearbyint tests.
37582 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37583 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37584 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37585 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37586
ad8ac1bd
RL
375872011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37588
37589 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37590 FD_CLOEXEC.
37591
1d3e4b61
UD
375922011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37593
37594 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37595 Add wcscpy-ssse3 wcscpy-c.
37596 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37597 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37598 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37599 * sysdeps/x86_64/wcschr.S: New file.
37600 * sysdeps/x86_64/wcsrchr.S: New file.
37601 * string/test-strcmp.c: Remove checking of wcscmp function for
37602 wrong alignments.
37603 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37604 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37605 wcsrchr-sse2 wcsrchr-c.
37606 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37607 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37608 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37609 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37610 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37611 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37612 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37613 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37614 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37615 * wcsmbc/wcschr.c (WCSCHR): New macro.
37616
5b330a2d
UD
376172011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37618
37619 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37620 * wcsmbs/test-wcsrchr.c: New file.
37621 * string/test-strrchr.c: Add wcsrchr support.
37622 (WIDE): New macro.
37623 * wcsmbs/test-wcscpy.c: New file.
37624 * string/test-strcpy.c: Add wcscpy support.
37625 (WIDE): New macro.
26428b7c 37626
f039c043
UD
376272011-12-10 Ulrich Drepper <drepper@gmail.com>
37628
37629 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37630 the inner loop.
37631
850fb039
AS
376322011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37633
37634 [BZ #13472]
37635 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37636
4efbd5cb
UD
376372011-12-04 Ulrich Drepper <drepper@gmail.com>
37638
52ff5dd0 37639 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37640 Minor optimizations.
52ff5dd0 37641
4efbd5cb
UD
37642 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37643 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37644 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37645
8a426e12
UD
376462011-12-03 Ulrich Drepper <drepper@gmail.com>
37647
aff2453d
UD
37648 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37649 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37650 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37651 for gcc to avoid warnings.
37652 * inet/Makefile (tests): Add tst-checks.
37653 * inet/tst-checks.c: New file.
37654
37655 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37656 warning.
37657
37658 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37659 __wmemcmp_sse2.
37660
37661 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37662 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37663
8a426e12
UD
37664 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37665
9bea3473
UD
376662011-12-02 Ulrich Drepper <drepper@gmail.com>
37667
3a965496
UD
37668 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37669 problem.
37670
9bea3473
UD
37671 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37672
f101631b
UD
376732011-11-29 Joseph Myers <joseph@codesourcery.com>
37674
37675 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37676 conditional on GCC version.
37677 (__arch_compare_and_exchange_val_8_acq)
37678 (__arch_compare_and_exchange_val_16_acq)
37679 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37680 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37681 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37682
a98275aa
UD
376832011-12-02 Joseph Myers <joseph@codesourcery.com>
37684
37685 * sysdeps/sh/backtrace.c: New file.
37686
d4cc29a2
AS
376872011-12-02 Andreas Schwab <schwab@redhat.com>
37688
37689 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37690 parenthesis.
37691
6257af2d
AS
376922011-12-01 Andreas Schwab <schwab@redhat.com>
37693
37694 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37695 falling back to utime.
37696
b5f44c1a
AS
376972011-11-30 Andreas Schwab <schwab@redhat.com>
37698
37699 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37700 expectations for float.
37701
f3a6cc0a
AS
377022011-11-29 Andreas Schwab <schwab@redhat.com>
37703
37704 * locale/weight.h (findidx): Add parameter len.
37705 * locale/weightwc.h (findidx): Likewise.
37706 * posix/fnmatch_loop.c (FCT): Adjust caller.
37707 * posix/regcomp.c (build_equiv_class): Likewise.
37708 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37709 * posix/regexec.c (check_node_accept_bytes): Likewise.
37710 * string/strcoll_l.c (STRCOLL): Likewise.
37711 * string/strxfrm_l.c (STRXFRM): Likewise.
37712
9d65ea3a
UD
377132011-11-17 Ulrich Drepper <drepper@gmail.com>
37714
37715 * Makefile.in: Remove CVSOPT handling.
37716 * configure.in: Remove use of AC_REVISION.
37717 * iconvdata/Makefile (distribute): No need to filter out CVS.
37718 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37719 handling.
37720
5583a086
AS
377212011-11-16 Andreas Schwab <schwab@redhat.com>
37722
37723 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37724 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37725 [USE_AS_STRNCASECMP_L]: Likewise.
37726 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37727 NO_TLS_DIRECT_SEG_REFS.
37728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37729 Fix argument offsets for non-PIC.
37730 [USE_AS_STRNCASECMP_L]: Likewise.
37731 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37732 NO_TLS_DIRECT_SEG_REFS.
37733
d62a8200
UD
377342011-11-15 Ulrich Drepper <drepper@gmail.com>
37735
9d65ea3a 37736 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37737 O_CLOEXEC.
37738 * locale/loadlocale.c (_nl_load_locale): Likewise.
37739
09f93bd3
AS
377402011-11-15 Andreas Schwab <schwab@redhat.com>
37741
446514f9
AS
37742 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37743 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37744 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37745 (SYSCALL_GETTIME): Set errno on error.
37746
09f93bd3
AS
37747 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37748 count references to noai6ai_cached.
37749
312be3f9
UD
377502011-11-15 Ulrich Drepper <drepper@gmail.com>
37751
37752 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37753
37754 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37755 FD_CLOEXEC for /proc/self/maps.
37756
37757 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37758 FD_CLOEXEC for /proc/meminfo.
37759
37760 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37761 gai.conf.
37762
37763 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37764 FD_CLOEXEC for given file.
37765
37766 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37767
37768 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37769 FD_CLOEXEC for /etc/hosts.
37770 (_gethtent): Likewise.
37771
37772 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37773
37774 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37775 cancellation and set FD_CLOEXEC for /etc/netgroup.
37776
37777 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37778 reading /etc/publickey.
37779
37780 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37781 allow cancellation when reading /etc/group.
37782
37783 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37784 cancellation.
37785 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37786
37787 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37788 when using data file.
37789
37790 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37791
37792 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37793 (write_nis_obj): Use "c" and "e" in fopen.
37794
37795 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37796
37797 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37798
37799 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37800
37801 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37802
37803 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37804 locale.alias.
37805
37806 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37807
37808 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37809
37810 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37811
37812 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37813 file parsing and set FD_CLOEXEC.
37814
82af0fa8
UD
378152011-11-14 Ulrich Drepper <drepper@gmail.com>
37816
37817 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37818
a5fb313c
AS
378192011-11-14 Andreas Schwab <schwab@redhat.com>
37820
37821 * malloc/arena.c (arena_get2): Don't call reused_arena when
37822 _int_new_arena failed.
37823
6abf3465
UD
378242011-11-14 Ulrich Drepper <drepper@gmail.com>
37825
37826 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37827 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37828 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37829 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37830 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37831 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37832 to compile strcasecmp and strncasecmp.
37833 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37834 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37835
37836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37837
76e3966e
UD
378382011-11-13 Ulrich Drepper <drepper@gmail.com>
37839
37840 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37841 locale-defines.sym to gen-as-const-headers.
37842 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37843 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37844 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37845 to compile strcasecmp and strncasecmp.
37846 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37847 strcasecmp_l and strncasecmp_l.
37848 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37849 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37850 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37851 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37852 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37853 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37854 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37855 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37856 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37857 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37858 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37859
ab26144e
UD
378602011-11-12 Ulrich Drepper <drepper@gmail.com>
37861
7edb22ef
UD
37862 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37863 result of SYSDEP_GETTIME_CPU to retval.
37864 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37865 parameter list to macro. Remove trailing semicolon. Adjust users.
37866
9694fc44
UD
37867 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37868 variable.
37869
8ad89ef8
UD
37870 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37871 mantissa words.
37872 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37873
0c822ef9
UD
37874 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37875 from unused variable.
37876
874e0564
UD
37877 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37878 DWARF definitions.
37879 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37880 for assembling.
37881
3a2edc79
UD
37882 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37883 over namespaces.
37884
f3c2577f
UD
37885 * sunrpc/rpc_prot.c (rejected): Fix case value.
37886
294ce126
UD
37887 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37888 unsigned long long int to avoid warnings in shift.
37889
5e2b63c6
UD
37890 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37891 of use of trans.
37892 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37893 variable tmp.
37894
e7f4b08e
UD
37895 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37896 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37897 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37898
ab26144e
UD
37899 * nis/nis_table.c (nis_list): Use variable of correct type for
37900 result of __follow_path call.
37901
8a6d5255
AZ
379022011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37903
37904 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37905 of math functions ceil, trunc, floor, round, and sqrt, when
37906 avaliable on the platform.
37907 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37908 name clash.
37909 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37910 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37911 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37912
aaddc98c
MP
379132011-10-30 Marek Polacek <mpolacek@redhat.com>
37914
37915 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37916 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37917
95b7042b
RM
379182011-11-11 Roland McGrath <roland@hack.frob.com>
37919
37920 * include/unistd.h: Fix __readlink return type.
37921 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37922
57769839
UD
379232011-11-11 Ulrich Drepper <drepper@gmail.com>
37924
37925 * stdlib/ucontext.h: Undo last change for makecontext.
37926
edc5984d
AS
379272011-11-11 Andreas Schwab <schwab@redhat.com>
37928
98591e58
AS
37929 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37930
edc5984d
AS
37931 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37932 * setjmp/setjmp.h: Mark functions as non-leaf.
37933 * setjmp/bits/setjmp2.h: Likewise.
37934 * stdlib/ucontext.h: Likewise.
37935
77cdc054
AS
379362011-11-10 Andreas Schwab <schwab@redhat.com>
37937
37938 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37939 (reused_arena): Don't check arena limit.
37940 (arena_get2): Atomically check arena limit.
37941
fe72eebd
UD
379422011-11-08 Ulrich Drepper <drepper@gmail.com>
37943
5f078c32
UD
37944 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37945 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37946
fe72eebd
UD
37947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37948 instructions.
37949
ae1bc2fa
AS
379502011-11-07 Andreas Schwab <schwab@redhat.com>
37951
7583a88d
AS
37952 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37953 handler when locking.
37954
ae1bc2fa
AS
37955 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37956 Fix size of allocated buffer.
37957
10fb0bfa
AS
379582011-11-04 Andreas Schwab <schwab@redhat.com>
37959
998832a4
AS
37960 [BZ #10103]
37961 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37962 declarations for long double functions.
37963 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37964
10fb0bfa
AS
37965 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37966
3d7ba52b
AS
379672011-11-03 Andreas Schwab <schwab@redhat.com>
37968
a9ae54a1
AS
37969 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37970 installed.
37971
3d7ba52b
AS
37972 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37973 is disabled.
37974
bc8db248
ST
379752011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37976
37977 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37978
45b96dd6
AS
379792011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37980
647776f6
AS
37981 * include/alloca.h (stackinfo_alloca_round): Define.
37982 (extend_alloca): Use it.
37983 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37984 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37985 here.
37986
d91a8b93
AS
37987 * scripts/check-local-headers.sh: Ignore libaudit.h.
37988
45b96dd6
AS
37989 * nscd/Makefile (extra-objs): Make recursively expanded.
37990
432d41ce
UD
379912011-11-01 Ulrich Drepper <drepper@gmail.com>
37992
34372fc6
UD
37993 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37994 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37995
fadb59f8
UD
37996 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37997 * posix/tst-rfc3484-2.c: Likewise.
37998 * posix/tst-rfc3484-3.c: Likewise.
37999
78239589
UD
38000 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38001 process_vm_writev.
38002 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38003 process_vm_writev.
38004 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38005 process_vm_writev from libc using GLIBC_2.15 version.
38006
432d41ce
UD
38007 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38008
02f9c6cf
PP
380092011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38010
38011 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38012 stack usage.
38013
3a2c0242
UD
380142011-10-31 Ulrich Drepper <drepper@gmail.com>
38015
f4ec4833
UD
38016 [BZ #13367]
38017 * nss/getent.c (initgroups_keys): Show error message in case no group
38018 names are given.
38019
3a2c0242
UD
38020 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38021 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38022 __bump_nl_timestamp.
38023 * nscd/connections (nscd_init): When host database is served open
38024 netlink socket and request notification about configuration changes.
38025 (main_loop_poll): Track netlink file descriptor and bump timestamp
38026 in case data becomes available.
38027 (main_loop_epoll): Likewise.
38028 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38029 (database_pers_head): Add extra_data fileds.
38030 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38031 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38032 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38033 Adjust caller.
38034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38035 in6ai data, call __free_in6ai.
38036 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38037 Add -DHAVE_NETLINK.
38038 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38039 interface information. Reuse previous data if netlink timestamp
38040 is not changed.
38041 (__bump_nl_timestamp): New function.
38042 (__free_in6ai): New function.
38043
636064eb
UD
380442011-10-30 Ulrich Drepper <drepper@gmail.com>
38045
38046 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38047 close_not_cancel_no_status here.
38048 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38049
9beb2334
UD
380502011-10-29 Ulrich Drepper <drepper@gmail.com>
38051
6ef76f3b
UD
38052 [BZ #13276]
38053 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38054 return value.
38055
0ffc4f3e 38056 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38057 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38058 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38059
cb95113e
UD
380602011-07-03 Andreas Jaeger <aj@suse.de>
38061
38062 [BZ #10709]
38063 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38064 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38065 * math/libm-test.inc (sin_test): Add test case.
38066
a1b560ff
UD
380672011-10-29 Ulrich Drepper <drepper@gmail.com>
38068
c9aaface
UD
38069 [BZ #13337]
38070 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38071 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38072
d272e7f1
UD
38073 * elf/chroot_canon.c (chroot_canon): Cleanups.
38074
1bc33071
UD
38075 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38076
1760874d
TJ
38077 [BZ #13335]
38078 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38079 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38080
51d91b18
UD
38081 * string/test-strchr.c: Make usable for strchrnul testing.
38082 * string/test-strchrnul.c: New file.
38083 * string/Makefile (strop-tests): Add strchrnul.
38084
a1b560ff 38085 * po/it.po: Update from translation team.
b611fb81 38086 * po/es.po: Likewise.
a1b560ff 38087
a5b81e1f
UD
380882011-10-28 Ulrich Drepper <drepper@gmail.com>
38089
fd52bc6d
UD
38090 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38091 the three constants needed as parameters. Drop the others.
38092 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38093 __m128i_strloadu_tolower.
52e4b9eb
UD
38094 Create and initialize variable zero and use it in all the places
38095 where _mm_setzero_si128 was used.
fd52bc6d 38096
a5b81e1f
UD
38097 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38098 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38099 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38100 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38101 anymore.
38102 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38103 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38104 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38105 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38106 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38107 __mpranred, __mptan.
38108 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38109 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38110 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38111 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38112 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38113 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38114 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38115 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38116 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38117
b4343346
AS
381182011-10-28 Andreas Schwab <schwab@redhat.com>
38119
0c92d8a8
AS
38120 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38121 redefine if SHARED.
38122 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38123
b4343346
AS
38124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38125 wide char related routines to wcsmbs subdir.
38126
3871f58f
AS
381272011-10-27 Andreas Schwab <schwab@redhat.com>
38128
38129 [BZ #13344]
38130 * misc/sys/cdefs.h (__THROWNL): Define.
38131 * posix/unistd.h: Use __THREADNL instead of __THREAD
38132 for memory synchronization functions.
38133
94d44d9f
RM
381342011-10-26 Roland McGrath <roland@hack.frob.com>
38135
21b64b15 38136 [BZ #13349]
94d44d9f
RM
38137 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38138 doesn't exist.
38139 * manual/stdio.texi (Obstack Streams): Node removed.
38140
f6ce9294
AS
381412011-10-26 Andreas Schwab <schwab@redhat.com>
38142
80479147
AS
38143 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38144 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38145 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38146
f6ce9294
AS
38147 * math/math_private.h (math_force_eval): Allow non-addressable
38148 arguments.
38149 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38150
618280a1
UD
381512011-10-25 Ulrich Drepper <drepper@gmail.com>
38152
e0016b11
UD
38153 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38154 file is not needed.
38155
38156 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38157 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38158 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38159 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38160 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38161 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38162 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38163 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38164 Add AVX variants.
38165 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38166 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38167 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38168 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38169 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38170 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38171 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38172 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38173 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38174 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38175 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38176 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38177 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38178 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38179 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38180 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38181 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38182 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38183 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38184
38185 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38186 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38187
618280a1
UD
38188 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38189 place. Use VEX encoding when compiling for AVX.
38190
37822576
AS
381912011-10-25 Andreas Schwab <schwab@redhat.com>
38192
1f1e1947
AS
38193 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38194 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38195
37822576
AS
38196 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38197
31ea014d
UD
381982011-10-25 Ulrich Drepper <drepper@gmail.com>
38199
d7826aa1 38200 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38201 useless if() expression.
d7826aa1
UD
38202 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38203 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38204 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38205 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38206 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38207 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38208 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38209 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38210 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38211 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38212 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38213 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38214 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38215 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38216 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38217 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38218 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38219 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38220 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38221
31ea014d
UD
38222 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38223
16437fec
AS
382242011-10-25 Andreas Schwab <schwab@redhat.com>
38225
38226 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38227 condition.
38228 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38229
31d3cc00
UD
382302011-10-25 Ulrich Drepper <drepper@gmail.com>
38231
38232 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38233 .text section. Avoid duplicate constants.
38234 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38235 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38236 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38238 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38241 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38242 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38243 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38244 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38245 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38246 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38247 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38248 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38249 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38250 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38251 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38252 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38253 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38254 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38255 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38256 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38257 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38258 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38259 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38260 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38261 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38262 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38263 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38264 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38265 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38266 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38267 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38268 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38269 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38270 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38271 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38272 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38273 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38274 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38275 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38276 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38277 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38278 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38279
58985aa9
UD
382802011-10-24 Ulrich Drepper <drepper@gmail.com>
38281
202c9deb
UD
38282 * sysdeps/x86_64/dla.h: Move to ...
38283 * sysdeps/x86_64/fpu/dla.h: ...here.
38284 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38285 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 38286
af968f62
UD
38287 * config.make.in: Add have-mfma4 entry.
38288 * configure.in: Substitute libc_cv_cc_fma4.
38289 * math/Makefile (dbl-only-routines): Add sincostab.
38290 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38291 Use __sincostab not sincos.
38292 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38293 name is a macro.
38294 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38298 using __copysign.
38299 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38300 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38301 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38302 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38303 and __inv.
38304 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38305 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38306 __copysign.
38307 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38308 define aliases when function name is a macro.
38309 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38310 sysdeps/ieee754/dbl-64/sincos.tbl.
38311 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38312 fma4-enabled routines.
38313 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38314 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38315 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38316 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38317 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38318 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38319 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38320 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38321 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38322 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38323 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38324 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38325 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38326 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38327 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38328 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38329 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38330 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38331 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38332 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38333 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38334 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38335 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38336 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38337 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38338 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38339 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38340 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38341 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38342 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38343
58985aa9
UD
38344 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38345 rename.
38346 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38352 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38353 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38354
a201fbcf
AS
383552011-10-24 Andreas Schwab <schwab@redhat.com>
38356
38357 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38358
fc2ee42a
LD
383592011-10-23 Ulrich Drepper <drepper@gmail.com>
38360
bb3129bd
UD
38361 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38362
0275fff8
UD
38363 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38364 prediction.
38365 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38366
2fa2ae85
UD
38367 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38368 Remove unused variable magic_bits.
38369 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38370
fc2ee42a
LD
38371 * string/strnlen.c: Define and use STRNLEN macro.
38372 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38373 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38374 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38375 * wcsmbs/wcslen.c: Define and use WCSLEN.
38376 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38377 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38378 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38379 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38380 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38381 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38382 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38383
ce7dd29f
LD
383842011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38385
38386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38387 strnlen-sse2-no-bsf.
38388 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38389 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38390 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38391 Add strnlen support.
38392 (USE_AS_STRNLEN): New macro.
38393 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38394 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38395 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38396 * sysdeps/x86_64/wcslen.S: New file.
38397
979c70a3
MZ
383982011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38399
38400 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38401 XMM-moves are used for copying on small sizes.
38402
2d09f82f
LD
384032011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38404
38405 * wcsmbs/Makefile (strop-tests): Add wcschr.
38406 * wcsmbs/test-wcschr.c: New file.
38407 * string/test-strchr.c: Update.
38408 Add wcschr support.
38409 (WIDE): New macro.
38410
619fccca
LD
384112011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38412
2d09f82f 38413 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
38414 * wcsmbs/test-wcslen.c: New file.
38415 * string/test-strlen.c: Update.
38416 Add wcslen support.
38417 (WIDE): New macro.
38418
09f699ea
UD
384192011-10-23 Ulrich Drepper <drepper@gmail.com>
38420
38421 * po/it.po: Update from translation team.
38422
95584d3b
LD
384232011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38424
38425 * sysdeps/x86_64/wcscmp.S: Update.
38426 Fix wrong comparison semantics.
38427 wcscmp shall use signed comparison not unsigned.
38428 Don't use substraction to avoid overflow bug.
38429 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38430 * wcsmbc/wcscmp.c: Likewise.
38431 * string/test-strcmp.c: Likewise.
38432 Add new tests to check cases with negative values.
38433
c8b3296b
UD
384342011-10-23 Ulrich Drepper <drepper@gmail.com>
38435
38436 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38437 * sysdeps/x86_64/dla.h: ...here. New file.
38438 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38439 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38442 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38443 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38445 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38446 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38447
246ad57a
AS
384482011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38449
38450 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38451 __ynl_finite aliases.
38452
a1a87169
UD
384532011-10-22 Ulrich Drepper <drepper@gmail.com>
38454
0d355eb7
UD
38455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38456
a1a87169
UD
38457 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38458 define DLA_FMA.
38459 [DLA_FMA] (EMULV): Use DLA_FMA.
38460 [DLA_FMA] (MUL12): Use EMULV.
38461 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38462 that are not needed.
38463 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38465 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38466 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38467 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38468 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38469 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38470
ee2aafe0
AS
384712011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38472
38473 * math/s_nan.c: Undef __nan.
38474 * math/s_nanf.c: Undef __nanf.
38475 * math/s_nanl.c: Undef __nanl.
38476 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38477 "math_private.h".
38478
bc62c2fb
UD
384792011-10-22 Ulrich Drepper <drepper@gmail.com>
38480
77425c63
UD
38481 * math/s_catan.c: Add branch predictions.
38482 * math/s_catanf.c: Likewise.
38483 * math/s_catanh.c: Likewise.
38484 * math/s_catanhf.c: Likewise.
38485 * math/s_catanhl.c: Likewise.
38486 * math/s_catanl.c: Likewise.
38487 * math/s_cexp.c: Likewise.
38488 * math/s_cexpf.c: Likewise.
38489 * math/s_cexpl.c: Likewise.
38490 * math/s_clog.c: Likewise.
38491 * math/s_clog10.c: Likewise.
38492 * math/s_clog10f.c: Likewise.
38493 * math/s_clog10l.c: Likewise.
38494 * math/s_clogf.c: Likewise.
38495 * math/s_clogl.c: Likewise.
38496 * math/s_csqrt.c: Likewise.
38497 * math/s_csqrtf.c: Likewise.
38498 * math/s_csqrtl.c: Likewise.
38499 * math/s_ctanf.c: Likewise.
38500 * math/s_ctanh.c: Likewise.
38501 * math/s_ctanhf.c: Likewise.
38502 * math/s_ctanhl.c: Likewise.
38503 * math/s_ctanl.c: Likewise.
38504
bc62c2fb
UD
38505 * math/math_private.h: Define __nan, __nanf, __nanl.
38506 * math/s_cacosh.c: Include <math_private.h>.
38507 * math/s_cacoshl.c: Likewise.
38508 * math/s_casinh.c: Likewise.
38509 * math/s_casinhf.c: Likewise.
38510 * math/s_casinhl.c: Likewise.
38511 * math/s_ccos.c: Rely entire on ccosh.
38512 * math/s_ccosf.c: Rely entire on ccoshf.
38513 * math/s_ccosl.c: Rely entirely on ccoshl.
38514 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38515 Remove tests for FE_INVALID.
38516 * math/s_ccoshf.c: Likewise.
38517 * math/s_ccoshl.c: Likewise.
38518 * math/s_csin.c: Likewise.
38519 * math/s_csinf.c: Likewise.
38520 * math/s_csinh.c Likewise.
38521 * math/s_csinhf.c: Likewise.
38522 * math/s_csinhl.c: Likewise.
38523 * math/s_csinl.c: Likewise.
38524 * math/s_ctan.c: Likewise.
38525 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38526 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38527 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38528
8ec250a4
UD
385292011-10-21 Ulrich Drepper <drepper@gmail.com>
38530
c196fed8
UD
38531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38532 compilation problems.
38533
8ec250a4
UD
38534 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38535 __builtin_expect.
38536
8d4f46c6
UD
385372011-10-20 Ulrich Drepper <drepper@gmail.com>
38538
ed72b654
UD
38539 * sysdeps/i386/configure.in: Test for -mfma4 option.
38540 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38541 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38542 COMMON_CPUID_INDEX_80000001.
38543 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38544 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38545 use it if FMA3 is not supported.
38546 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38547
8d4f46c6
UD
38548 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38549 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38550
d45c60c2
AS
385512011-10-20 Andreas Schwab <schwab@redhat.com>
38552
38553 [BZ #12892]
38554 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38555 it would create a cycle with a link time dependency.
38556
d9a4d2ab
UD
385572011-10-19 Ulrich Drepper <drepper@gmail.com>
38558
855d1560
UD
38559 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38560 instruction.
38561 * string/Makefile (strop-tests): Add rawmemchr.
38562 * string/test-rawmemchr.c: New file.
38563
d9a4d2ab
UD
38564 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38565 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38566 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38567 when compiling str{,n}casecmp and when AVX is available. Hook up
38568 new optimized code in initializers.
38569
8f3b1ffe
AS
385702011-10-19 Andreas Schwab <schwab@redhat.com>
38571
38572 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38573 __feraiseexcept instead of feraiseexcept.
38574
d38f1dba
UD
385752011-10-18 Ulrich Drepper <drepper@gmail.com>
38576
d9a8d0ab
UD
38577 * math/math_private.h: Define defaults for libc_fetestexcept and
38578 libc_feupdateenv.
38579 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38580 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38581 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38582 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38583 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38584 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38585 libc_fetestexcept and libc_feupdateenv.
38586
4855e3dd
UD
38587 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38588 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38589 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38590 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38591 libc_feholdexcept_setround.
38592
581d30e3
UD
38593 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38594 Add s_nearbyint-c and s_nearbyintf-c.
38595 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38596 nearbyintf inlines.
38597 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38598 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38599 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38600 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38601
d38f1dba
UD
38602 * math/math_private.h: Define defaults for libc_fegetround,
38603 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38604 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38605 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38606 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38607 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38608 standard functions.
38609 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38610 Remove comments and hacks for old compiler versions.
38611 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38612 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38613 libc_feholdexceptl.
38614
caa6c9d8
AS
386152011-10-18 Andreas Schwab <schwab@redhat.com>
38616
38617 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38618 (__feraiseexcept_renamed): Add __NTH.
38619 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38620 namespace violations.
38621
97c066e6
UD
386222011-10-17 Ulrich Drepper <drepper@gmail.com>
38623
99ce7b04
UD
38624 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38625
1004d182
UD
38626 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38627
228a984d
UD
38628 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38629 recently added interfaces.
38630 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38631
c8553a6a
UD
38632 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38633 about macro parameter expansion.
38634
ed22dcf6
UD
38635 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38636 __NO_MATH_INLINES is defined. Cleanups.
38637
38638 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38639 and __floorf is target has SSE4.1.
38640 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38641 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38642 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38643 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38644
b171c137
UD
38645 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38646 name.
38647 (floorf): Likewise.
38648
97c066e6
UD
38649 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38650
629f62ef
AS
386512011-10-17 Andreas Schwab <schwab@redhat.com>
38652
49a43d80
AS
38653 * misc/sys/cdefs.h: Fix last change.
38654
629f62ef
AS
38655 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38656 database lookup.
38657
e453f6cd
UD
386582011-10-16 Ulrich Drepper <drepper@gmail.com>
38659
aa78043a
UD
38660 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38661
ad0f5cad
UD
38662 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38663 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38668 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38669 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38670 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38671 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38672 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38673 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38674 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38675 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38676 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38677 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38678 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38679 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38680 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38681 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38682 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38683 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38684
38685 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38686 ceil, ceilf, floor, floorf.
38687
38688 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38689 Perform IRELATIVE relocations last.
38690
e453f6cd
UD
38691 * elf/do-rel.h: Add another parameter nrelative, replacing the
38692 local variable with the same name. Change name of the function
38693 to end in Rel or Rela (uppercase).
38694 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38695 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38696 elf_dynamic_do_##reloc function.
38697
fd5bdc09
UD
386982011-10-15 Ulrich Drepper <drepper@gmail.com>
38699
79b195b5
UD
38700 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38701 is sufficient, at least on modern CPUs.
38702
d4a28569
UD
38703 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38704
b61099b5
UD
38705 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38706 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38707
bcf01e6d
UD
38708 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38709 __expl_finite.
38710 * math/bits/math-finite.h: Add entries for exp.
38711 * math/e_expl.c: Add __*_finite alias.
38712 * sysdeps/i386/fpu/e_exp.S: Likewise.
38713 * sysdeps/i386/fpu/e_expf.S: Likewise.
38714 * sysdeps/i386/fpu/e_expl.c: Likewise.
38715 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38716 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38717 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38718 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38720 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38721 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38722
ba1a0d59
UD
38723 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38724 is sufficient, at least on modern CPUs.
38725
fd5bdc09
UD
38726 * ctype/ctype-info.c (__ctype_init): Define.
38727 * include/ctype.h (__ctype_init): Declare.
38728 (__ctype_b_loc): The variable is always initialized.
38729 (__ctype_toupper_loc): Likewise.
38730 (__ctype_tolower_loc): Likewise.
38731 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38732 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38733
7872cfb0
AS
387342011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38735
b468825a
AS
38736 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38737
7872cfb0
AS
38738 * configure.in: Also look in $cxxmachine/include for C++ system
38739 headers.
38740
be13f7bf
LD
387412011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38742
38743 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38744 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38745 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38746 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38747 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38748 (USE_AS_WMEMCMP): New macro.
38749 Fixing indents.
38750 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38751 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38752 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38753 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38755 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38756 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38757 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38758 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38759 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38760 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38761 (USE_AS_WMEMCMP): New macro.
38762 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38763 * sysdeps/string/test-memcmp.c: Update.
38764 Fix simple_wmemcmp.
38765 Add new tests.
38766 * wcsmbs/wmemcmp.c: Update.
38767 (WMEMCMP): New macro.
38768 Fix overflow bug.
38769
556a2007
AJ
387702011-10-12 Andreas Jaeger <aj@suse.de>
38771
38772 [BZ #13268]
38773 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38774
538faaa7
UD
387752011-10-15 Ulrich Drepper <drepper@gmail.com>
38776
ab6737ff
UD
38777 * libio/iofwide.c (do_length): Avoid warning.
38778
538faaa7
UD
38779 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38780
396a21b1
UD
387812011-10-14 Ulrich Drepper <drepper@gmail.com>
38782
cdf2901f
UD
38783 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38784
38ad40ce
UD
38785 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38786 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38787 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38788 * sysdeps/i386/i686/fpu/e_log.S: New file.
38789 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38790 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38791
396a21b1
UD
38792 * ctype/ctype.h: Add support for inlined isXXX functions when
38793 compiling C++ code.
38794
6b1f68c9
AS
387952011-10-14 Andreas Schwab <schwab@redhat.com>
38796
349290c0
AS
38797 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38798
6b1f68c9
AS
38799 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38800
f2282d42
RM
388012011-10-13 Roland McGrath <roland@hack.frob.com>
38802
38803 [BZ #13291]
38804 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38805
5298ffa8
AS
388062011-10-13 Andreas Schwab <schwab@redhat.com>
38807
714fad23
AS
38808 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38809 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38810 feraiseexcept.
38811
81dcc7fb
AS
38812 * sysdeps/x86_64/memrchr.S: Check for zero size.
38813
5298ffa8
AS
38814 * string/stratcliff.c: Add memrchr tests.
38815
951fbcec
LD
388162011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38817
38818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38819 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38820 rawmemchr-sse2 rawmemchr-sse2-bsf.
38821 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38822 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38823 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38824 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38825 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38826 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38827 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38828 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38829 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38830 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38831 * string/memrchr.c (MEMRCHR): New macro.
38832
0ac5ae23
UD
388332011-10-12 Ulrich Drepper <drepper@gmail.com>
38834
38835 Add integration with gcc's -ffinite-math-only and optimize wrapper
38836 functions in libm.
38837 * Versions.def: Define GLIBC_2.15 version for libm.
38838 * math/Makefile (headers): Add bits/math-finite.h.
38839 * math/bits/math-finite.h: New file.
38840 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38841 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38842 * math/e_acoshl.c: Add __*_finite alias.
38843 * math/e_acosl.c: Likewise.
38844 * math/e_asinl.c: Likewise.
38845 * math/e_atan2l.c: Likewise.
38846 * math/e_atanhl.c: Likewise.
38847 * math/e_coshl.c: Likewise.
38848 * math/e_exp10.c: Likewise.
38849 * math/e_exp10f.c: Likewise.
38850 * math/e_exp10l.c: Likewise.
38851 * math/e_exp2l.c: Likewise.
38852 * math/e_fmodl.c: Likewise.
38853 * math/e_gammal_r.c: Likewise.
38854 * math/e_hypotl.c: Likewise.
38855 * math/e_j0l.c: Likewise.
38856 * math/e_j1l.c: Likewise.
38857 * math/e_jnl.c: Likewise.
38858 * math/e_lgammal_r.c: Likewise.
38859 * math/e_log10l.c: Likewise.
38860 * math/e_log2l.c: Likewise.
38861 * math/e_logl.c: Likewise.
38862 * math/e_powl.c: Likewise.
38863 * math/e_sinhl.c: Likewise.
38864 * math/e_sqrtl.c: Likewise.
38865 * math/e_scalb.c: Completely rewritten and optimized.
38866 * math/e_scalbf.c: Likewise.
38867 * math/e_scalbl.c: Likewise.
38868 * math/w_acos.c: Likewise.
38869 * math/w_acosf.c: Likewise.
38870 * math/w_acosl.c: Likewise.
38871 * math/w_acosh.c: Likewise.
38872 * math/w_acoshf.c: Likewise.
38873 * math/w_acoshl.c: Likewise.
38874 * math/w_asin.c: Likewise.
38875 * math/w_asinf.c: Likewise.
38876 * math/w_asinl.c: Likewise.
38877 * math/w_atan2.c: Likewise.
38878 * math/w_atan2f.c: Likewise.
38879 * math/w_atan2l.c: Likewise.
38880 * math/w_atanh.c: Likewise.
38881 * math/w_atanhf.c: Likewise.
38882 * math/w_atanhl.c: Likewise.
38883 * math/w_exp10.c: Likewise.
38884 * math/w_exp10f.c: Likewise.
38885 * math/w_exp10l.c: Likewise.
38886 * math/w_fmod.c: Likewise.
38887 * math/w_fmodf.c: Likewise.
38888 * math/w_fmodl.c: Likewise.
38889 * math/w_j0.c: Likewise.
38890 * math/w_j0f.c: Likewise.
38891 * math/w_j0l.c: Likewise.
38892 * math/w_j1.c: Likewise.
38893 * math/w_j1f.c: Likewise.
38894 * math/w_j1l.c: Likewise.
38895 * math/w_jn.c: Likewise.
38896 * math/w_jnf.c: Likewise.
38897 * math/w_log.c: Likewise.
38898 * math/w_logf.c: Likewise.
38899 * math/w_logl.c: Likewise.
38900 * math/w_log10.c: Likewise.
38901 * math/w_log10f.c: Likewise.
38902 * math/w_log10l.c: Likewise.
38903 * math/w_log2.c: Likewise.
38904 * math/w_log2f.c: Likewise.
38905 * math/w_log2l.c: Likewise.
38906 * math/w_pow.c: Likewise.
38907 * math/w_powf.c: Likewise.
38908 * math/w_powl.c: Likewise.
38909 * math/w_remainder.c: Likewise.
38910 * math/w_remainderf.c: Likewise.
38911 * math/w_remainderl.c: Likewise.
38912 * math/w_scalb.c: Likewise.
38913 * math/w_scalbf.c: Likewise.
38914 * math/w_scalbl.c: Likewise.
38915 * math/w_sqrt.c: Likewise.
38916 * math/w_sqrtf.c: Likewise.
38917 * math/w_sqrtl.c: Likewise.
38918 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38919 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38920 used.
38921 * math/math_private.h: Declare __kernel_standard_f.
38922 * math/w_cosh.c: Remove cruft and optimize a bit.
38923 * math/w_coshf.c: Likewise.
38924 * math/w_coshl.c: Likewise.
38925 * math/w_exp2.c: Likewise.
38926 * math/w_exp2f.c: Likewise.
38927 * math/w_exp2l.c: Likewise.
38928 * math/w_hypot.c: Likewise.
38929 * math/w_hypotf.c: Likewise.
38930 * math/w_hypotl.c: Likewise.
38931 * math/w_lgamma.c: Likewise.
38932 * math/w_lgamma_r.c: Likewise.
38933 * math/w_lgammaf.c: Likewise.
38934 * math/w_lgammaf_r.c: Likewise.
38935 * math/w_lgammal.c: Likewise.
38936 * math/w_lgammal_r.c: Likewise.
38937 * math/w_sinh.c: Likewise.
38938 * math/w_sinhf.c: Likewise.
38939 * math/w_sinhl.c: Likewise.
38940 * math/w_tgamma.c: Likewise.
38941 * math/w_tgammaf.c: Likewise.
38942 * math/w_tgammal.c: Likewise.
38943 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38944 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38945 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38946 Minor optimizations. Pretty printing. Remove cruft.
38947 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38948 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38949 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38950 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38951 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38952 * sysdeps/i386/fpu/e_asin.S: Likewise.
38953 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38954 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38955 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38956 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38957 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38958 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38959 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38960 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38961 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38962 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38963 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38964 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38965 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38966 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38967 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38968 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38969 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38970 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38971 * sysdeps/i386/fpu/e_log.S: Likewise.
38972 * sysdeps/i386/fpu/e_log10.S: Likewise.
38973 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38974 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38975 * sysdeps/i386/fpu/e_log2.S: Likewise.
38976 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38977 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38978 * sysdeps/i386/fpu/e_logf.S: Likewise.
38979 * sysdeps/i386/fpu/e_logl.S: Likewise.
38980 * sysdeps/i386/fpu/e_pow.S: Likewise.
38981 * sysdeps/i386/fpu/e_powf.S: Likewise.
38982 * sysdeps/i386/fpu/e_powl.S: Likewise.
38983 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38984 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38985 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38986 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38987 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38988 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38989 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38990 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38991 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38992 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38993 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38996 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38997 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38998 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38999 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39000 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39001 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39002 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39003 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39004 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39006 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39008 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39009 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39010 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39012 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39013 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39014 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39015 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39016 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39017 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39018 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39019 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39020 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39021 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39022 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39023 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39024 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39025 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39026 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39027 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39028 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39029 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39030 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39031 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39032 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39033 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39034 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39035 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39036 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39037 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39038 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39039 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39041 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39042 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39043 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39044 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39045 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39046 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39047 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39048 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39049 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39050 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39051 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39052 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39053 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39054 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39055 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39056 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39057 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39058 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39059 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39060 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39061 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39062 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39063 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39064 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39065 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39066 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39067 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39068 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39069 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39070 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39071 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39072 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39073 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39074 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39075 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39076 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39077 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39078 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39079 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39080 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39081 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39082 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39083 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39084 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39085 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39086 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39087 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39088 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39089 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39090 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39091 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39092 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39093 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39094 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39095 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39096 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39097 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39098 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39099 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39100 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39101 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39102 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39103 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39104 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39105 (__isnanf): Likewise.
39106 (__isinf_ns): Likewise.
39107 (__isinf_nsf): Likewise.
39108 (__finite): Likewise.
39109 (__finitef): Likewise.
39110 (__ieee754_sqrt): Define as macro.
39111 (__ieee754_sqrtf): Define as macro.
39112 (__ieee754_sqrtl): Define as macro.
39113 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39114 inlined copy.
39115 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39116 __FINITE_MATH_ONLY__ consistent.
39117 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39118
12cc2fcd
AS
391192011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39120
a843a204
AS
39121 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39122 of rawmemchr.
39123
12cc2fcd
AS
39124 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39125
c853acd5
UD
391262011-10-09 Ulrich Drepper <drepper@gmail.com>
39127
39128 * po/ja.po: Update from translation team.
39129
c658d255
RM
391302011-10-08 Roland McGrath <roland@hack.frob.com>
39131
110946e4
RM
39132 * locale/programs/locarchive.c (prepare_address_space): New function.
39133 (create_archive, enlarge_archive, open_archive): Use it.
39134
50604220
RM
39135 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39136 inside [SHARED], where it is used.
39137
c658d255
RM
39138 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39139
39140 * nss/getent.c (netgroup_keys): Remove unused variable.
39141 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39142
6a621eb7
UD
391432011-10-08 Ulrich Drepper <drepper@gmail.com>
39144
7edb55ce
UD
39145 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39146 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39147 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39148 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39149 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39150 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39151 * math/Makefile (libm-calls): Add s_isinf_ns.
39152 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39153 * math/multc3.c: Likewise.
39154 * math/s_casin.c: Likewise.
39155 * math/s_casinf.c: Likewise.
39156 * math/s_casinl.c: Likewise.
39157 * math/s_ccos.c: Likewise.
39158 * math/s_ccosf.c: Likewise.
39159 * math/s_ccosl.c: Likewise.
39160 * math/s_ctan.c: Likewise.
39161 * math/s_ctanf.c: Likewise.
39162 * math/s_ctanh.c: Likewise.
39163 * math/s_ctanhf.c: Likewise.
39164 * math/s_ctanhl.c: Likewise.
39165 * math/s_ctanl.c: Likewise.
39166 * math/w_fmod.c: Likewise.
39167 * math/w_fmodf.c: Likewise.
39168 * math/w_fmodl.c: Likewise.
39169 * math/w_remainder.c: Likewise.
39170 * math/w_remainderf.c: Likewise.
39171 * math/w_remainderl.c: Likewise.
39172 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39173 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39174 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39176 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39177 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39178 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39179 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39180
187da0ae
UD
39181 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39182 of the number.
39183 * stdio-common/printf_fphex.c: Likewise.
39184 * stdio-common/printf_size.c: Likewise.
39185
9277c064
UD
39186 * math/e_exp10.c: Include math_private.h using <...> not "...".
39187 * math/e_exp10f.c: Likewise.
39188 * math/e_exp10l.c: Likewise.
39189 * math/e_exp2l.c: Likewise.
39190 * math/e_j0l.c: Likewise.
39191 * math/e_j1l.c: Likewise.
39192 * math/e_jnl.c: Likewise.
39193 * math/e_lgammal_r.c: Likewise.
39194 * math/e_rem_pio2l.c: Likewise.
39195 * math/e_scalb.c: Likewise.
39196 * math/e_scalbf.c: Likewise.
39197 * math/e_scalbl.c: Likewise.
39198 * math/k_cosl.c: Likewise.
39199 * math/k_sinl.c: Likewise.
39200 * math/k_tanl.c: Likewise.
39201 * math/s_cacoshf.c: Likewise.
39202 * math/s_catan.c: Likewise.
39203 * math/s_catanf.c: Likewise.
39204 * math/s_catanh.c: Likewise.
39205 * math/s_catanhf.c: Likewise.
39206 * math/s_catanhl.c: Likewise.
39207 * math/s_catanl.c: Likewise.
39208 * math/s_ccosh.c: Likewise.
39209 * math/s_ccoshf.c: Likewise.
39210 * math/s_ccoshl.c: Likewise.
39211 * math/s_cexp.c: Likewise.
39212 * math/s_cexpf.c: Likewise.
39213 * math/s_cexpl.c: Likewise.
39214 * math/s_clog.c: Likewise.
39215 * math/s_clog10.c: Likewise.
39216 * math/s_clog10f.c: Likewise.
39217 * math/s_clog10l.c: Likewise.
39218 * math/s_clogf.c: Likewise.
39219 * math/s_clogl.c: Likewise.
39220 * math/s_csin.c: Likewise.
39221 * math/s_csinf.c: Likewise.
39222 * math/s_csinh.c: Likewise.
39223 * math/s_csinhf.c: Likewise.
39224 * math/s_csinhl.c: Likewise.
39225 * math/s_csinl.c: Likewise.
39226 * math/s_csqrt.c: Likewise.
39227 * math/s_csqrtf.c: Likewise.
39228 * math/s_csqrtl.c: Likewise.
39229 * math/s_ctan.c: Likewise.
39230 * math/s_ctanf.c: Likewise.
39231 * math/s_ctanh.c: Likewise.
39232 * math/s_ctanhf.c: Likewise.
39233 * math/s_ctanhl.c: Likewise.
39234 * math/s_ctanl.c: Likewise.
39235 * math/s_ldexp.c: Likewise.
39236 * math/s_ldexpf.c: Likewise.
39237 * math/s_ldexpl.c: Likewise.
39238 * math/s_significand.c: Likewise.
39239 * math/s_significandf.c: Likewise.
39240 * math/s_significandl.c: Likewise.
39241 * math/w_acos.c: Likewise.
39242 * math/w_acosf.c: Likewise.
39243 * math/w_acosh.c: Likewise.
39244 * math/w_acoshf.c: Likewise.
39245 * math/w_acoshl.c: Likewise.
39246 * math/w_acosl.c: Likewise.
39247 * math/w_asin.c: Likewise.
39248 * math/w_asinf.c: Likewise.
39249 * math/w_asinl.c: Likewise.
39250 * math/w_atan2.c: Likewise.
39251 * math/w_atan2f.c: Likewise.
39252 * math/w_atan2l.c: Likewise.
39253 * math/w_atanh.c: Likewise.
39254 * math/w_atanhf.c: Likewise.
39255 * math/w_atanhl.c: Likewise.
39256 * math/w_cosh.c: Likewise.
39257 * math/w_coshf.c: Likewise.
39258 * math/w_coshl.c: Likewise.
39259 * math/w_dremf.c: Likewise.
39260 * math/w_exp10.c: Likewise.
39261 * math/w_exp10f.c: Likewise.
39262 * math/w_exp10l.c: Likewise.
39263 * math/w_exp2.c: Likewise.
39264 * math/w_exp2f.c: Likewise.
39265 * math/w_fmod.c: Likewise.
39266 * math/w_fmodf.c: Likewise.
39267 * math/w_fmodl.c: Likewise.
39268 * math/w_hypot.c: Likewise.
39269 * math/w_hypotf.c: Likewise.
39270 * math/w_hypotl.c: Likewise.
39271 * math/w_j0.c: Likewise.
39272 * math/w_j0f.c: Likewise.
39273 * math/w_j0l.c: Likewise.
39274 * math/w_j1.c: Likewise.
39275 * math/w_j1f.c: Likewise.
39276 * math/w_j1l.c: Likewise.
39277 * math/w_jn.c: Likewise.
39278 * math/w_jnf.c: Likewise.
39279 * math/w_jnl.c: Likewise.
39280 * math/w_lgamma.c: Likewise.
39281 * math/w_lgamma_r.c: Likewise.
39282 * math/w_lgammaf.c: Likewise.
39283 * math/w_lgammaf_r.c: Likewise.
39284 * math/w_lgammal.c: Likewise.
39285 * math/w_lgammal_r.c: Likewise.
39286 * math/w_log.c: Likewise.
39287 * math/w_log10.c: Likewise.
39288 * math/w_log10f.c: Likewise.
39289 * math/w_log10l.c: Likewise.
39290 * math/w_log2.c: Likewise.
39291 * math/w_log2f.c: Likewise.
39292 * math/w_log2l.c: Likewise.
39293 * math/w_logf.c: Likewise.
39294 * math/w_logl.c: Likewise.
39295 * math/w_pow.c: Likewise.
39296 * math/w_powf.c: Likewise.
39297 * math/w_powl.c: Likewise.
39298 * math/w_remainder.c: Likewise.
39299 * math/w_remainderf.c: Likewise.
39300 * math/w_remainderl.c: Likewise.
39301 * math/w_scalb.c: Likewise.
39302 * math/w_scalbf.c: Likewise.
39303 * math/w_scalbl.c: Likewise.
39304 * math/w_sinh.c: Likewise.
39305 * math/w_sinhf.c: Likewise.
39306 * math/w_sinhl.c: Likewise.
39307 * math/w_sqrt.c: Likewise.
39308 * math/w_sqrtf.c: Likewise.
39309 * math/w_sqrtl.c: Likewise.
39310 * math/w_tgamma.c: Likewise.
39311 * math/w_tgammaf.c: Likewise.
39312 * math/w_tgammal.c: Likewise.
39313
6a621eb7
UD
39314 * po/ja.po: Update from translation team.
39315
bf582445
AJ
393162011-09-29 Andreas Jaeger <aj@suse.de>
39317
f9efbf3a
AJ
39318 [BZ #13179]
39319 * sunrpc/netname.c (netname2host): Fix logic.
39320
bf582445
AJ
39321 [BZ #6779]
39322 [BZ #6783]
39323 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39324 correctly.
39325 * math/w_remainder.c (__remainder): Likewise.
39326 * math/w_remainderf.c (__remainderf): Likewise.
39327 * math/libm-test.inc (remainder_test): Add test cases.
39328
48693bea
AK
393292011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39330
39331 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39332 sdiv_qrnnd.
39333
42622229
LD
393342011-10-07 Ulrich Drepper <drepper@gmail.com>
39335
39336 * string/test-memcmp.c: Avoid unncessary #defines.
39337 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39338
093ecf92
LD
393392011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39340
39341 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39342 Use new sse2 version for core i3 - i7 as it's faster
39343 than sse42 version.
39344 (bit_Prefer_PMINUB_for_stringop): New.
39345 * sysdeps/x86_64/rawmemchr.S: Update.
39346 Replace with faster SSE2 version.
39347 * sysdeps/x86_64/memrchr.S: New file.
39348 * sysdeps/x86_64/memchr.S: Update.
39349 Replace with faster SSE2 version.
39350
fde56e5c
MP
393512011-09-12 Marek Polacek <mpolacek@redhat.com>
39352
39353 * elf/dl-load.c (lose): Add cast to avoid warning.
39354
21fd49a9
UD
393552011-10-07 Ulrich Drepper <drepper@gmail.com>
39356
5a06e643
UD
39357 * po/ca.po: Update from translation team.
39358
684ae515
UD
39359 * inet/getnetgrent_r.c: Hook up nscd.
39360 * nscd/Makefile (routines): Add nscd_netgroup.
39361 (nscd-modules): Add netgroupcache.
39362 (CFLAGS-netgroupcache.c): Define.
39363 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39364 (cache_search): Add const to second parameter.
39365 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39366 INNETGR.
39367 (dbs): Add netgrdb entry.
39368 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39369 (verify_persistent_db): Handle netgrdb.
39370 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39371 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39372 GETFDNETGR.
39373 (netgroup_response_header): Define.
39374 (innetgroup_response_header): Define.
39375 (datahead): Add netgroup_response_header and innetgroup_response_header
39376 elements.
39377 * nscd/nscd.conf: Add entries for netgroup cache.
39378 * nscd/nscd.h (dbtype): Add netgrdb.
39379 (_PATH_NSCD_NETGROUP_DB): Define.
39380 (netgroup_iov_disabled): Declare.
39381 (xmalloc, xcalloc, xrealloc): Move declarations here.
39382 (cache_search): Adjust prototype.
39383 Add netgroup-related prototypes.
39384 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39385 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39386 (__nscd_innetgr): Declare.
39387 * nscd/selinux.c (perms): Use access_vector_t as element type and
39388 add netgroup-related initializers.
39389 * nscd/netgroupcache.c: New file.
39390 * nscd/nscd_netgroup.c: New file.
39391 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39392 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39393 For four parameters use innetgr.
39394 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39395 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39396 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39397 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39398
21fd49a9
UD
39399 * nscd/connections.c (register_traced_file): Don't register file
39400 for disabled databases.
39401
054c0457
UD
394022011-10-06 Ulrich Drepper <drepper@gmail.com>
39403
32b63198
UD
39404 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39405
054c0457
UD
39406 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39407 from tree and freeing node.
39408
64031225
JO
394092011-09-25 Jiri Olsa <jolsa@redhat.com>
39410
39411 * nss/nsswitch.c (__nss_database_lookup): Handle
39412 nss_parse_service_list out of memory case.
39413
0490345c
JO
394142011-09-15 Jiri Olsa <jolsa@redhat.com>
39415
39416 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39417 out of memory case.
39418
3a62d00d
AS
394192011-10-04 Andreas Schwab <schwab@redhat.com>
39420
39421 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39422 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39423 pass it down.
39424 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39425 elf_machine_rela, elf_machine_lazy_rel.
39426 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39427 (ELF_DYNAMIC_DO_REL): Likewise.
39428 (ELF_DYNAMIC_DO_RELA): Likewise.
39429 (ELF_DYNAMIC_RELOCATE): Likewise.
39430 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39431 to ELF_DYNAMIC_DO_REL.
39432 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39433 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39434 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39435 elf_machine_rela.
39436 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39437 skip_ifunc, don't call ifunc function if non-zero.
39438 (elf_machine_rela): Likewise.
39439 (elf_machine_lazy_rel): Likewise.
39440 (elf_machine_lazy_rela): Likewise.
39441 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39442 (elf_machine_lazy_rel): Likewise.
39443 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39444 Likewise.
39445 (elf_machine_lazy_rel): Likewise.
39446 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39447 Likewise.
39448 (elf_machine_lazy_rel): Likewise.
39449 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39450 (elf_machine_lazy_rel): Likewise.
39451 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39452 (elf_machine_lazy_rel): Likewise.
39453 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39454 (elf_machine_lazy_rel): Likewise.
39455 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39456 (elf_machine_lazy_rel): Likewise.
39457 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39458 (elf_machine_lazy_rel): Likewise.
39459 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39460 (elf_machine_lazy_rel): Likewise.
39461
68577918
UD
394622011-09-28 Ulrich Drepper <drepper@gmail.com>
39463
39464 * nss/nss_files/files-init.c (_nss_files_init): Use static
39465 initialization for all the *_traced_file variables.
39466
68822d74
AS
394672011-09-28 Andreas Schwab <schwab@redhat.com>
39468
39469 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39470
2056100b
RM
394712011-09-27 Roland McGrath <roland@hack.frob.com>
39472
39473 [BZ #13226]
39474 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39475
32c76b63
AS
394762011-09-27 Andreas Schwab <schwab@redhat.com>
39477
39478 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39479 Reread the line before reparsing it.
39480
bf972c9d
AS
394812011-09-26 Andreas Schwab <schwab@redhat.com>
39482
39483 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39484
e057a1b5
JM
394852011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39486 Maxim Kuvyrkov <maxim@codesourcery.com>
39487 Joseph Myers <joseph@codesourcery.com>
39488
39489 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39490 if needed for __stack_chk_guard.
39491
bc7e1c36
RM
394922011-09-19 Roland McGrath <roland@hack.frob.com>
39493
ecb1482f
RM
39494 * sysdeps/posix/spawni.c (script_execute): Always define it.
39495 It will be optimized away if unused.
39496 (maybe_script_execute): New function.
39497 (__spawni): Call it.
39498
bc7e1c36
RM
39499 * Makerules: Don't include tls.make.
39500 (config-tls): Always set to thread.
39501 * tls.make.c: File removed.
39502
1c3b002b
MF
395032011-09-19 Mike Frysinger <vapier@gentoo.org>
39504
39505 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39506 * config.make.in (CPPFLAGS-config): New substituted variable.
39507
2840865d
UD
395082011-09-15 Ulrich Drepper <drepper@gmail.com>
39509
88738eb6
UD
39510 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39511
cbf645a6 39512 [BZ #13192]
2840865d
UD
39513 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39514 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39515
b402e91a
RM
395162011-09-15 Roland McGrath <roland@hack.frob.com>
39517
39518 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39519 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39520 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39521 (CALL_FAIL): Likewise.
39522 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39523 (CALL_FAIL): Macro removed.
39524 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39525
4c1a1f71
UD
395262011-09-15 Ulrich Drepper <drepper@gmail.com>
39527
39528 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39529 for __FINITE_MATH_ONLY__ == 1.
39530
edc121be
AS
395312011-09-15 Andreas Schwab <schwab@redhat.com>
39532
39533 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39534 __ieee754_sqrt instead of sqrt.
39535 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39536 __ieee754_sqrtf instead of sqrtf.
39537 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39538 __floorf instead of floorf.
39539 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39540 __floorf, __truncf instead of floorf, truncf.
39541
cd205654
UD
395422011-09-14 Ulrich Drepper <drepper@gmail.com>
39543
ee4d0315
UD
39544 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39545
cd205654
UD
39546 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39547 __extern_always_inline.
39548 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39549 32-bit.
39550
48b67d71
AS
395512011-09-14 Andreas Schwab <schwab@redhat.com>
39552
39553 * elf/rtld.c (dl_main): Also relocate in dependency order when
39554 doing symbol dependency testing.
39555
1ae12c75
AS
395562011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39557
39558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39559 Always define `refsym'.
39560
995a80df
AS
395612011-09-13 Andreas Schwab <schwab@redhat.com>
39562
e529793b
AS
39563 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39564 (__FD_ELT): Renamed from __FDELT.
39565 * misc/bits/select2.h (__FD_ELT): Likewise.
39566 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39567 __FD_MASK instead of __FDELT, __FDMASK.
39568 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39569 Likewise.
39570 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39571 Likewise.
39572
52d4fef8
AS
39573 * elf/Makefile (gen-ldd): Fix pattern.
39574
995a80df
AS
39575 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39576 (init_tls): Likewise.
39577
8682f8b0
UD
395782011-09-12 Ulrich Drepper <drepper@gmail.com>
39579
39580 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39581
de82006d
AS
395822011-09-12 Andreas Schwab <schwab@redhat.com>
39583
a7c8e6a1
AS
39584 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39585 `struct cmsghdr *' instead of `void *'.
39586 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39587 Likewise.
39588
0f31fe77
AS
395892011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39590
39591 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39592 if non-absolute.
39593 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39594 ldd_rewrite_script.
0f31fe77 39595
32b4c839
UD
395962011-09-11 Ulrich Drepper <drepper@gmail.com>
39597
83cd1420
UD
39598 * configure.in: Remove --with-tls option.
39599 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39600 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39601 out in case it is missing.
39602 * sysdeps/ia64/elf/configure.in: Likewise.
39603 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39604 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39605 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39606 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39607 * sysdeps/sh/elf/configure.in: Likewise.
39608 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39609 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39610 * sysdeps/x86_64/elf/configure.in: Likewise.
39611 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39612 * sysdeps/mach/hurd/tls.h: Likewise.
39613
633f745d
UD
39614 [BZ #13067]
39615 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39616
f318beb8
UD
39617 [BZ #13090]
39618 * configure.in: Fix use of AC_INIT.
39619
32b4c839
UD
39620 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39621
3ce1f295
UD
396222011-09-10 Ulrich Drepper <drepper@gmail.com>
39623
bb016596
UD
39624 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39625 __set_errno.
8e58439c
UD
39626 * malloc/hooks.c: Likewise.
39627
aebae053 39628 [BZ #11929]
02d46fc4
UD
39629 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39630 variables statically.
39631 (narenas): Initialize.
39632 (list_lock): Initialize.
bb016596
UD
39633 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39634 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39635 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39636 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39637 Add initializers to main_arena and mp_.
39638 (malloc_state): Remove pagesize member. Change all users to use
39639 GLRO(dl_pagesize).
39640
39641 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39642 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39643 is always initialized.
39644
22a89187
UD
39645 * malloc/malloc.c: Removed unused configurations and dead code.
39646 * malloc/arena.c: Likewise.
39647 * malloc/hooks.c: Likewise.
02d46fc4 39648 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39649
d063d164
UD
39650 * include/tls.h: Removed. USE___THREAD must always be defined.
39651 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39652 * elf/dl-libc.c: Likewise.
39653 * elf/dl-tsd.c: Likewise.
39654 * include/errno.h: Likewise.
39655 * include/netdb.h: Likewise.
39656 * include/resolv.h: Likewise.
39657 * inet/herrno-loc.c: Likewise.
39658 * inet/herrno.c: Likewise.
39659 * malloc/arena.c: Likewise.
39660 * malloc/hooks.c: Likewise.
39661 * malloc/malloc.c: Likewise.
39662 * resolv/res-state.c: Likewise.
39663 * resolv/res_libc.c: Likewise.
39664 * sysdeps/i386/dl-machine.h: Likewise.
39665 * sysdeps/ia64/dl-machine.h: Likewise.
39666 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39667 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39668 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39669 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39670 * sysdeps/sh/dl-machine.h: Likewise.
39671 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39672 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39673 * sysdeps/unix/i386/sysdep.S: Likewise.
39674 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39675 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39676 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39677 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39678 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39679 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39680 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39684 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39685 * sysdeps/x86_64/dl-machine.h: Likewise.
39686 * tls.make.c: Likewise.
39687
3ce1f295
UD
39688 * configure.in: Remove --with-__thread option. Make tests for
39689 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39690 tls_model attribute fail if no support is available. Remove
39691 USE_IN_LIBIO.
39692 * Makeconfig: Adjust for dropped configure option. All features are
39693 now mandatory.
39694 * Makerules: Likewise.
39695 * Versions.def: Likewise.
39696 * argp/argp-fmtstream.c: Likewise.
39697 * argp/argp-fmtstream.h: Likewise.
39698 * argp/argp-help.c: Likewise.
39699 * assert/assert.c: Likewise.
39700 * config.h.in: Likewise.
39701 * config.make.in: Likewise.
39702 * configure: Likewise.
39703 * configure.in: Likewise.
39704 * csu/Versions: Likewise.
39705 * csu/init.c: Likewise.
39706 * elf/tst-audit2.c: Likewise.
39707 * elf/tst-tls10.c: Likewise.
39708 * elf/tst-tls10.h: Likewise.
39709 * elf/tst-tls11.c: Likewise.
39710 * elf/tst-tls12.c: Likewise.
39711 * elf/tst-tls14.c: Likewise.
39712 * elf/tst-tlsmod11.c: Likewise.
39713 * elf/tst-tlsmod12.c: Likewise.
39714 * elf/tst-tlsmod13.c: Likewise.
39715 * elf/tst-tlsmod13a.c: Likewise.
39716 * elf/tst-tlsmod14a.c: Likewise.
39717 * elf/tst-tlsmod15b.c: Likewise.
39718 * elf/tst-tlsmod16a.c: Likewise.
39719 * elf/tst-tlsmod16b.c: Likewise.
39720 * elf/tst-tlsmod7.c: Likewise.
39721 * elf/tst-tlsmod8.c: Likewise.
39722 * elf/tst-tlsmod9.c: Likewise.
39723 * gmon/gmon.c: Likewise.
39724 * grp/fgetgrent_r.c: Likewise.
39725 * grp/putgrent.c: Likewise.
39726 * hurd/fopenport.c: Likewise.
39727 * include/libc-symbols.h: Likewise.
39728 * include/tls.h: Likewise.
39729 * intl/gettextP.h: Likewise.
39730 * intl/loadinfo.h: Likewise.
39731 * locale/global-locale.c: Likewise.
39732 * locale/localeinfo.h: Likewise.
39733 * mach/devstream.c: Likewise.
39734 * malloc/arena.c: Likewise.
39735 * malloc/set-freeres.c: Likewise.
39736 * misc/err.c: Likewise.
39737 * misc/getttyent.c: Likewise.
39738 * misc/mntent_r.c: Likewise.
39739 * posix/getopt.c: Likewise.
39740 * posix/wordexp.c: Likewise.
39741 * pwd/fgetpwent_r.c: Likewise.
39742 * resolv/Versions: Likewise.
39743 * resolv/res_hconf.c: Likewise.
39744 * shadow/fgetspent_r.c: Likewise.
39745 * shadow/putspent.c: Likewise.
39746 * stdio-common/printf_fphex.c: Likewise.
39747 * stdio-common/tmpfile.c: Likewise.
39748 * stdlib/abort.c: Likewise.
39749 * stdlib/fmtmsg.c: Likewise.
39750 * sunrpc/auth_unix.c: Likewise.
39751 * sunrpc/clnt_perr.c: Likewise.
39752 * sunrpc/clnt_tcp.c: Likewise.
39753 * sunrpc/clnt_udp.c: Likewise.
39754 * sunrpc/clnt_unix.c: Likewise.
39755 * sunrpc/openchild.c: Likewise.
39756 * sunrpc/svc_simple.c: Likewise.
39757 * sunrpc/svc_tcp.c: Likewise.
39758 * sunrpc/svc_udp.c: Likewise.
39759 * sunrpc/svc_unix.c: Likewise.
39760 * sunrpc/xdr.c: Likewise.
39761 * sunrpc/xdr_array.c: Likewise.
39762 * sunrpc/xdr_rec.c: Likewise.
39763 * sunrpc/xdr_ref.c: Likewise.
39764 * sunrpc/xdr_stdio.c: Likewise.
39765
1248c1c4
PB
397662011-09-09 Ulrich Drepper <drepper@gmail.com>
39767
39768 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39769
397702011-07-03 Andreas Jaeger <aj@suse.de>
39771
39772 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39773 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39774 regenerate with gen-libm-tests.pl.
39775
397762010-05-12 Petr Baudis <pasky@suse.cz>
39777
39778 [BZ #11589]
39779 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39780 around j0() zero points by switching to j1().
39781 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39782 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39783 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39784 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39785
f22e1074
UD
397862011-09-09 Ulrich Drepper <drepper@gmail.com>
39787
f19009c1
UD
39788 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39789 instead of 0.
39790 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39791 instead of 0.
f19009c1
UD
39792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39793 Patch in part by Pavel Roskin <proski@gnu.org>.
39794
3f8cc204
UD
39795 [BZ #13138]
39796 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39797 realloc.
39798 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39799 Free memory block if necessary.
39800
f22e1074
UD
39801 [BZ #12847]
39802 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39803 be NULL. Don't lock in this case.
39804
0a2349f9
RM
398052011-09-09 Roland McGrath <roland@hack.frob.com>
39806
39807 * elf/elf.h (ELFOSABI_GNU): New macro.
39808 (ELFOSABI_LINUX): Define to that.
39809
f3cdd467
DZ
398102011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39811
39812 * string/strncat.c (strncat): Undef the symbol in case it has been
39813 defined in bits/string.h.
39814
74718d13
UD
398152011-09-09 Ulrich Drepper <drepper@gmail.com>
39816
633e9e0f
UD
39817 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39818
0a2349f9 39819 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39820 link map.
39821
f9924780
AJ
398222011-08-17 Andreas Jaeger <aj@suse.de>
39823
39824 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39825
7f5517aa
PP
398262011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39827 Ian Lance Taylor <iant@google.com>
39828
39829 * math/libm-test.inc (lround_test): New testcase.
39830 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39831
762011fe
UD
398322011-09-08 Ulrich Drepper <drepper@gmail.com>
39833
92963737
UD
39834 * Makefile: Remove support for automatic cvs check-ins.
39835 * Makerules: Likewise.
39836 * config.make.in: Likewise.
39837 * configure.in: Likewise.
39838 * intl/Makefile: Likewise.
39839 * locale/Makefile: Likewise.
39840 * po/Makefile: Likewise.
39841 * posix/Makefile: Likewise.
39842 * sysdeps/gnu/Makefile: Likewise.
39843 * sysdeps/mach/hurd/Makefile: Likewise.
39844 * sysdeps/sparc/sparc32/Makefile: Likewise.
39845
b0727fd8
JS
39846 [BZ #13118]
39847 * posix/Makefile (bug-regex32-ENV): Define.
39848 Patch by John Stanley <jpsinthemix@verizon.net>.
39849
a0f33f99
UD
39850 * misc/Makefile (headers): Add bits/select2.h.
39851 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39852 * misc/bits/select2.h: New file.
39853 * include/bits/select2.h: New file.
39854 * debug/Makefile (routines): Add fdelt_chk.
39855 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39856 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39857 FD_ISSET.
39858 * debug/fdelt_chk.c: New file.
39859
762011fe
UD
39860 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39861 * wcsmbs/test-wmemcmp.c: Likewise.
39862 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39863 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39864
398652011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39866
39867 * string/Makefile (strop-tests): Add memcmp.
39868 * string/test-wmemcmp.c: New file.
39869 * string/test-memcmp.c: Add wmemcmp support.
39870
7f513ec8
RM
398712011-09-08 Roland McGrath <roland@hack.frob.com>
39872
0442afb4
RM
39873 [BZ #13153]
39874 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39875 2011-07-19 change.
39876
7f513ec8
RM
39877 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39878 garbage value in a __mach_port_mod_refs call in the cases of the
39879 task-self and thread-self ports.
39880
a12b2239
ST
398812011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39882
39883 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39884
610f9ab4
AS
398852011-09-08 Andreas Schwab <schwab@redhat.com>
39886
7f513ec8 39887 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39888
48882a1a
LD
398892011-09-07 Ulrich Drepper <drepper@gmail.com>
39890
b49865be
UD
39891 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39892
fdc86bc9
UD
39893 * elf/dl-libc.c (dlerror_run): Pass back error code from
39894 dl_catch_error.
39895
c966526a
UD
39896 [BZ #13123]
39897 * elf/dl-load.c (lose): Free l_origin if it is valid.
39898
48882a1a
LD
39899 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39900 names.
39901 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39902 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39903 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39904 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39905 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39906 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39907
77a2a8b4
AZ
399082011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39909
39910 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39911 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39912 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39913 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39914 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39915 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39916 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39917 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39918 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39919 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39920
24f579d8
AM
399212011-08-15 Alan Modra <amodra@gmail.com>
39922
39923 [BZ #13092]
39924 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39925 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39926 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39927 ppc_mcount to static-only-routines.
39928 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39929 __mcount_internal.
39930 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39931 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39932
3d4837df
UD
399332011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39934
39935 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39936 for finite and infinity parameters.
39937
22700377
WS
399382011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39939
39940 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39941 and add nop instructions for throughput optimization.
39942 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39943
5025581e
WS
399442011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39945
39946 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39947 aligned copy for power7 with vector-scalar instructions.
39948 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39949
08a300c9
L
399502011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39951
39952 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39953 AVX check.
39954
59178ef9
AS
399552011-09-07 Andreas Schwab <schwab@redhat.com>
39956
39957 [BZ #13144]
39958 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39959 last change.
39960
e38ba7ab
UD
399612011-09-07 Ulrich Drepper <drepper@gmail.com>
39962
39963 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39964 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39965 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39966 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39967 clock_gettime.
39968
d53a73ac
UD
399692011-09-06 Ulrich Drepper <drepper@gmail.com>
39970
fc8bffcc
UD
39971 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39972 Forgot to demangle the pointer.
39973
ceaa0c5d
UD
39974 * sysdeps/i386/sysdep.h: Define atom_text_section.
39975 * sysdeps/x86_64/sysdep.h: Likewise.
39976 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39977 section with atom_text_section.
39978 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39979 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39980 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39981 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39982 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39983
a77d3c17
UD
39984 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39985 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39986 already be defined. Change to take two parameters and don't assign
39987 result to variable. Adjust all users.
39988 Define INTERNAL_GETTIME if not already defined.
39989 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39990 call.
39991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39992 HAVE_CLOCK_GETTIME_VSYSCALL.
39993 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39994
d53a73ac
UD
39995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39996 gettimeofday vsyscall, just use time.
39997
a8f84144
AS
399982011-09-06 Andreas Schwab <schwab@redhat.com>
39999
40000 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40001 <errno.h>.
40002
ef606249
UD
400032011-09-06 Ulrich Drepper <drepper@gmail.com>
40004
40005 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40006 syscall on x86-64.
40007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40008 syscall.
40009 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40010 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40011 syscall if possible.
40012
6585cb60
UD
400132011-09-05 Ulrich Drepper <drepper@gmail.com>
40014
40015 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40016 e_ident. Don't pass to find_mapsXX.
40017 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40018
a5f524e4
LD
400192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40020
40021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40022 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40023 * sysdeps/x86_64/multiarch/strchr.S: Update.
40024 Check bit_slow_BSF bit.
40025 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40026 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40027 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40028
554881ef
UD
400292011-09-05 Ulrich Drepper <drepper@gmail.com>
40030
d96de963
UD
40031 [BZ #13134]
40032 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40033 before glibc 2.15.
40034 (tryshell): Define.
40035 (__spawni): Change last parameter to be flag. Test
40036 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40037 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40038 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40039 * posix/spawni.c: Likewise.
40040 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40041 * posix/spawnp.c: Likewise. Change normal version to use
40042 SPAWN_XFLAGS_USE_PATH.
40043 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40044 SPAWN_XFLAGS_TRY_SHELL.
40045
d48e5868
UD
40046 [BZ #13150]
40047 * posix/glob.h: Remove gcc 1.x support.
40048
554881ef
UD
40049 [BZ #13068]
40050 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40051
693fb948
LD
400522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40053
40054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40055 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40056 strrchr-sse2-bsf
40057 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40058 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40059 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40060 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40061 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40062 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40063
1b48c537
UD
400642011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40065
49d42c37
UD
40066 * sysdeps/x86_64/wcscmp.S: New file.
40067
1b48c537
UD
40068 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40069 wcscmp-c wcscmp-sse2
40070 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40071 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40072 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40073 * wcsmbs/wcscmp.c: Allow renaming.
40074
15c95c5d
DM
400752011-09-05 David S. Miller <davem@davemloft.net>
40076
40077 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40078 stack slot, rather than the struct return pointer slot.
40079 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40080 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40082 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40083
2f0ad8f3
UD
400842011-09-05 Ulrich Drepper <drepper@gmail.com>
40085
d88ae418
UD
40086 * po/ja.po: Update from translation team.
40087
2f0ad8f3
UD
40088 [BZ #13144]
40089 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40090 kernel in 64-bit binaries.
40091
5f4318d1
DM
400922011-09-01 David S. Miller <davem@davemloft.net>
40093
40094 * elf/elf.h (HWCAP_SPARC_*): Move to..
40095 * sysdeps/sparc/sysdep.h: this new file and add new values.
40096 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40097 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40098 _DL_HWCAP_COUNT to 24.
40099 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40100 entries.
40101 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40102 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40103 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40105 instead of magic constants.
40106 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40107
3ba57516
DM
401082011-08-31 David S. Miller <davem@davemloft.net>
40109
40110 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40111 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40112 Reimplement to do errno handling inline.
40113 (SYSCALL_ERROR_HANDLER): New macro.
40114 (__SYSCALL_STRING): Do not do errno handling in asm.
40115 (__CLONE_SYSCALL_STRING): Delete.
40116 (__INTERNAL_SYSCALL_STRING): Delete.
40117 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40118 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40119 (PSEUDO): Reimplement to do errno handling inline.
40120 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40121 (SYSCALL_ERROR_HANDLER): New macro.
40122 (__SYSCALL_STRING): Do not do errno handling in asm.
40123 (__CLONE_SYSCALL_STRING): Delete.
40124 (__INTERNAL_SYSCALL_STRING): Delete.
40125 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40126 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40127 i386.
40128 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40129 (inline_syscall*): Add 'err' argument.
40130 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40131 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40132 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40133 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40134
40135 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40136 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40137
2bc17433
AS
401382011-08-30 Andreas Schwab <schwab@redhat.com>
40139
40140 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40141
fbeb5f4d
JO
401422011-08-29 Jiri Olsa <jolsa@redhat.com>
40143
40144 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40145 directive.
40146
ad69cc26
DM
401472011-08-24 David S. Miller <davem@davemloft.net>
40148
40149 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40150
39dd69df
AS
401512011-08-24 Andreas Schwab <schwab@redhat.com>
40152
40153 * elf/Makefile: Add rules to build and run unload8 test.
40154 * elf/unload8.c: New file.
40155 * elf/unload8mod1.c: New file.
40156 * elf/unload8mod1x.c: New file.
40157 * elf/unload8mod2.c: New file.
40158 * elf/unload8mod3.c: New file.
40159
40160 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40161 it wasn't used.
40162
2c0b250a
DM
401632011-08-23 David S. Miller <davem@davemloft.net>
40164
40165 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40166 subtract stack bias.
40167 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40168 %sp not %fp in calculations.
40169 (_JMPBUF_UNWINDS_ADJ): Likewise.
40170
22044b48
DM
40171 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40172 (aio_suspend): Call it to force an exception region around the
40173 AIO_MISC_WAIT() invocation.
40174
2cae4995
AS
401752011-08-23 Andreas Schwab <schwab@redhat.com>
40176
40177 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40178 backslash.
40179
873a772e
AJ
401802011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40181
40182 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40183 protection macro.
40184 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40185 and <dl-machine.h>.
40186 (Elf64_FuncDesc): Remove.
40187
25ad0df1
DM
401882011-08-22 David S. Miller <davem@davemloft.net>
40189
40190 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40191 sigaltstack check, add missing cfi directives.
40192 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40193 missing cfi directives, and sigaltstack handling.
40194
e888bcbe
AS
401952011-08-16 Andreas Schwab <schwab@redhat.com>
40196
40197 [BZ #11724]
40198 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40199 object is seen twice.
40200 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40201
40202 * elf/Makefile (distribute): Add tst-initorder2.c.
40203 (tests): Add tst-initorder2.
40204 (modules-names): Add tst-initorder2a tst-initorder2b
40205 tst-initorder2c tst-initorder2d. Add rules to build them.
40206 ($(objpfx)tst-initorder2.out): New rule.
40207 * elf/tst-initorder2.c: New file.
40208 * elf/tst-initorder2.exp: New file.
40209
87162f46
AS
402102011-08-22 Andreas Schwab <schwab@redhat.com>
40211
70538b7f
AS
40212 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40213
f55ffe58
AS
40214 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40215 dependencies back to end of function.
40216
87162f46
AS
40217 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40218 $(elfobjdir)/ld.so.
40219
91b392a4
UD
402202011-08-21 Ulrich Drepper <drepper@gmail.com>
40221
40222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40223 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40225 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40226 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40227 of __vdso_gettimeofday.
40228 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40229 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40230 attribute_hidden.
40231 (_libc_vdso_platform_setup): Remove initialization of
40232 __vdso_gettimeofday and __vdso_time.
40233
5c43483f
UD
402342011-08-20 Ulrich Drepper <drepper@gmail.com>
40235
775a77e7
UD
40236 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40237 and fgetc_unlocked.
40238 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40239 getc_unlocked.
89f447ed 40240
49c74ba9
UD
40241 * elf/dl-open.c (add_to_global): Report additions to the global scope
40242 for LD_DEBUG=scopes.
40243 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40244 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40245
5c43483f
UD
40246 [BZ #13114]
40247 * stdio-common/Makefile (tests): Add bug24.
40248 * stdio-common/bug24.c: New file.
40249
a101b025
AJ
402502011-08-19 Andreas Jaeger <aj@suse.de>
40251
40252 [BZ #13114]
40253 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40254 non-existant file when using close-on-exec mode.
40255
c88f1766
UD
402562011-08-20 Ulrich Drepper <drepper@gmail.com>
40257
0276a718
UD
40258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40259 the very first instruction.
40260
c88f1766
UD
40261 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40262 the CFI state in the end.
40263 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40264 inclusion of dl-trampoline.h.
40265 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40266
51ccffa0
AS
402672011-08-19 Andreas Schwab <schwab@redhat.com>
40268
94d7165f
AS
40269 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40270 expectations for long double.
40271
51ccffa0
AS
40272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40273 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40274
fd708658 402752011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
40276
40277 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40278 artificual limit depends upon the system page size.
40279
44f0a71e
UD
402802011-08-17 Ulrich Drepper <drepper@gmail.com>
40281
40282 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40283 * resolv/Makefile: Define CFLAGS-libresolv.
40284
8de79a24
AS
402852011-08-17 Andreas Schwab <schwab@redhat.com>
40286
40287 * nss/makedb.c (compute_tables): Make variables used in nested
40288 function static.
40289
27724598
UD
402902011-08-17 Ulrich Drepper <drepper@gmail.com>
40291
c5305d88
UD
40292 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40293 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40294 if buffer was too small.
40295
27724598
UD
40296 * elf/pldd.c (main): Attach to all threads in the process.
40297 Rewrite /proc handling to use *at functions.
40298
076fe015
UD
402992011-08-16 Ulrich Drepper <drepper@gmail.com>
40300
174baab3
UD
40301 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40302 specifies first scope to show.
40303 (dl_open_worker): Update callers. Move printing scope of new
40304 object to before the relocation.
44f0a71e 40305 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
40306 * sysdeps/generic/ldsodefs.h: Update declaration.
40307
076fe015
UD
40308 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40309 string for the scope number.
40310
a60df2c3
UD
403112011-08-14 Ulrich Drepper <drepper@gmail.com>
40312
40313 * nscd/servicescache.c (cache_addserv): Make sure written is always
40314 initialized.
40315
5e4287d1
RM
403162011-08-14 Roland McGrath <roland@hack.frob.com>
40317
85ae0589
RM
40318 * sysdeps/i386/i486/bits/atomic.h
40319 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40320 statement expression, so as to suppress "set but not used" warning.
40321 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40322
69f63097
RM
40323 * string/strncat.c (STRNCAT): Use prototype definition.
40324
675456ef
RM
40325 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40326 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40327 -Iprograms here.
40328 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40329 (localedef-modules): Add localedef.
40330 (locale-modules): Add locale.
40331
5e4287d1
RM
40332 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40333 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40334 to avoid a warning.
40335
9c96ff23
DM
403362011-08-14 David S. Miller <davem@davemloft.net>
40337
40338 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40339 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40340
f9ddf089
UD
403412011-08-13 Ulrich Drepper <drepper@gmail.com>
40342
44f0a71e 40343 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
40344 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40345 * elf/rtld.c (dl_main): Set l_name of vDSO.
40346 Call _dl_show_scope when DL_DEBUG_SCOPES.
40347 (process_dl_debug): Recognize scopes flag and also set it for all.
40348 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40349 Declare _dl_show_scope.
40350
1dc27704
UD
40351 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40352 (do_dlopen): Pass caller_dlopen to dl_open.
40353 (__libc_dlopen_mode): Initialize caller_dlopen.
40354
f9ddf089
UD
40355 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40356 of libc. Make tolower call locale-independent. Optimize a bit by
40357 using isdigit instead of isalnum.
40358 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40359
9ac533d3
UD
403602011-08-12 Ulrich Drepper <drepper@gmail.com>
40361
40362 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40363 was a dependency or dynamically loaded.
40364
89edf2e9
UD
403652011-08-11 Ulrich Drepper <drepper@gmail.com>
40366
8e999d29
UD
40367 * intl/l10nflist.c: Allow architecture-specific pop function.
40368 * sysdeps/x86_64/l10nflist.c: New file.
40369
89edf2e9
UD
40370 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40371 classification.
40372
14d96785
AS
403732011-08-10 Andreas Schwab <schwab@redhat.com>
40374
40375 * include/dirent.h: Add libc_hidden_proto for scandirat and
40376 scandirat64. Don't declare __scandirat64.
40377 * dirent/scandirat.c: Add libc_hidden_def.
40378 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40379 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40380
6761ac04
DM
403812011-08-10 David S. Miller <davem@davemloft.net>
40382
40383 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40384 enum.
40385 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40386 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40387 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40388
c55fbd1e
UD
403892011-08-09 Ulrich Drepper <drepper@gmail.com>
40390
40391 * Versions.def [libc]: Add GLIBC_2.15.
40392 * dirent/Makefile (routines): Add scandirat and scandirat64.
40393 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40394 GLIBC_2.15.
40395 * dirent/dirent.h: Declare scandirat and scandirat64.
40396 * dirent/scandirat.c: New file.
40397 * dirent/scandirat64.c: New file.
40398 * sysdeps/wordsize-64/scandirat.c: New file.
40399 * sysdeps/wordsize-64/scandirat64.c: New file.
40400 * dirent/opendir.c: Define opendirat.
40401 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40402 using scandirat.
40403 * dirent/scandir64.c: Adjust for scandir.c change.
40404 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40405 __scandirat64, and __scandir_cancel_handler.
40406 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40407 additional parameter and use openat instead of open (outside of ld.so).
40408 Add new __opendir as wrapper around __opendirat.
40409 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40410 here without requiring old scandirat implementation.
40411
879165f2
UD
404122011-08-08 Ulrich Drepper <drepper@gmail.com>
40413
40414 * dirent/scandir.c (cancel_handler): Renamed to
40415 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40416 defined. Adjust users.
40417 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40418 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40419
cb7e923b
UD
404202011-08-04 Ulrich Drepper <drepper@gmail.com>
40421
16292edd
UD
40422 * string/test-string.h (IMPL): Use __STRING to expand name and then
40423 stringify it.
40424
cb7e923b
UD
40425 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40426 of cleanups.
40427
cff82933
LD
404282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40429
40430 * string/Makefile: Update.
40431 (strop-tests): Append strncat.
40432 * string/test-wcscmp.c: New file.
40433 New comprehensive test for wcscmp.
40434 * string/test-strcmp.c: Update.
40435 (WIDE): New define.
40436
9be9bfcc
AS
404372011-07-22 Andreas Schwab <schwab@redhat.com>
40438
40439 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40440 line.
40441
2e96f1c7
AS
404422011-07-26 Andreas Schwab <schwab@redhat.com>
40443
40444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40445 encoding to ACE if AI_IDN.
40446
85188888
JJ
404472011-08-01 Jakub Jelinek <jakub@redhat.com>
40448
40449 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40450 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40451
5fa16e9b
LD
404522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40453
40454 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40455 Fix overflow bug in strncat.
40456 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40457
40458 * string/test-strncat.c: Update.
40459 Add new tests for checking overflow bugs.
40460
404612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40462
40463 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40464 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40465 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40466 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40467 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40468 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40469 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40470 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40471 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40472
40473 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40474 (USE_AS_STRCAT): Define.
40475 Add strcat and strncat support.
40476 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40477
8c1a459f
AS
404782011-07-25 Andreas Schwab <schwab@redhat.com>
40479
40480 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40481 __n bigger than INT_MAX+1.
40482 (__strncmp_g): Likewise.
40483
bba33c28
UD
404842011-07-23 Ulrich Drepper <drepper@gmail.com>
40485
798be72d
UD
40486 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40487 * libio/stido.h: Likewise.
40488
8accd4dc
UD
40489 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40490 (AF_NFC): Define.
40491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40492 (AF_NFC): Define.
40493
cbff0d96
UD
40494 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40495 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40496 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40497 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40499
9191c04a
UD
40500 [BZ #13021]
40501 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40502 installed.
40503
bba33c28
UD
40504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40505 typo.
40506 (_dl_x86_64_save_sse): Likewise.
40507
90f139dd
UD
405082011-07-22 Ulrich Drepper <drepper@gmail.com>
40509
1aae088a
UD
40510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40511 OSXSAVE.
40512 (_dl_x86_64_save_sse): Likewise.
40513
8e2045f5
UD
40514 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40515
90f139dd
UD
40516 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40517
1d002f25
AS
405182011-07-21 Andreas Schwab <schwab@redhat.com>
40519
40520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40521 change.
40522 (_dl_x86_64_save_sse): Use correct AVX check.
40523
21137f89
UD
405242011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40525
40526 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40527 bug in strncpy/strncat.
40528 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40529
a65c0b7a
UD
405302011-07-21 Ulrich Drepper <drepper@gmail.com>
40531
40532 * string/tester.c (test_strcat): Add tests for different alignments
40533 of source and destination.
40534 (test_strncat): Likewise.
40535
6986b98a
UD
405362011-07-20 Ulrich Drepper <drepper@gmail.com>
40537
90bb2039
UD
40538 [BZ #12852]
40539 * posix/glob.c (glob): Check passed in values before using them in
40540 expressions to avoid some overflows.
40541 (glob_in_dir): Likewise.
40542
5644ef54
UD
40543 [BZ #13007]
40544 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40545 check for AVX enablement so that we don't crash with old kernels and
40546 new hardware.
40547 * elf/tst-audit4.c: Add same checks here.
40548 * elf/tst-audit6.c: Likewise.
40549
40550 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40551
bfc9dc9b
AS
405522011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40553
40554 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40555
702e64bb
UD
405562011-07-20 Ulrich Drepper <drepper@gmail.com>
40557
40558 * po/cs.po: Update from translation team.
40559 * po/bg.po: Likewise.
40560
295e904f
MP
405612011-07-12 Marek Polacek <mpolacek@redhat.com>
40562
40563 * misc/sys/cdefs.h: Add support for const attribute.
40564 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40565 to gnu_dev_{major,minor,makedev} functions.
40566
3ff94596
MP
405672011-07-20 Marek Polacek <mpolacek@redhat.com>
40568
40569 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40570
28b59fca
AS
405712011-07-20 Andreas Schwab <schwab@redhat.com>
40572
40573 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40574 strlen results.
40575
19df733e
AK
405762011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40577
40578 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40579 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40580 register in order to avoid conflicts with the soft frame pointer
40581 being held in r11 when necessary.
40582 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40583 (INTERNAL_VSYSCALL_NCS): Likewise.
40584
c8835729
MP
405852011-07-14 Marek Polacek <mpolacek@redhat.com>
40586
40587 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40588 * elf/dl-fini.c (_dl_fini): Adjust caller.
40589 * elf/dl-close.c (_dl_close_worker): Likewise.
40590 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40591
b902330c
MP
405922011-07-15 Marek Polacek <mpolacek@redhat.com>
40593
8991e135
MP
40594 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40595 "aux_cache->nlibs < 0".
40596
b902330c
MP
40597 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40598 in the reload-count case.
40599
99710781
LD
406002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40601
40602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40603 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40604 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40605 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40606 * sysdeps/x86_64/multiarch/strcat.S: New file.
40607 * sysdeps/x86_64/multiarch/strncat.S: New file.
40608 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40609 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40610 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40611 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40612 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40613 (USE_AS_STRCAT): Define.
40614 Add strcat and strncat support.
40615 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40616 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40617 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40618 * string/strncat.c: Update.
40619 (USE_AS_STRNCAT): Define.
40620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40621 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40622 and i7.
40623 * sysdeps/x86_64/multiarch/init-arch.h
40624 (bit_Prefer_PMINUB_for_stringop): New.
40625 (index_Prefer_PMINUB_for_stringop): Likewise.
40626 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40627 bit_Prefer_PMINUB_for_stringop.
40628
7dc6bd90
UD
406292011-07-19 Ulrich Drepper <drepper@gmail.com>
40630
40631 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40632 buffer64.
40633 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40634 of casting of buffer.
40635 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40636 buffer32 and buffer64.
40637 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40638 writes instead of casting of buffer.
40639 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40640 buffer32.
40641 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40642 casting of buffer.
40643
e0e72284
AS
406442011-07-19 Andreas Schwab <schwab@redhat.com>
40645
40646 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40647
feb1eb0b
UD
406482011-07-19 Ulrich Drepper <drepper@gmail.com>
40649
40650 * nscd/nscd.c (termination_handler): Don't do anything for a database
40651 if it has not yet been initialized.
40652
298711ff
UD
406532011-07-18 Ulrich Drepper <drepper@gmail.com>
40654
40655 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40656
406572011-07-15 Marek Polacek <mpolacek@redhat.com>
40658
40659 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40660
f9d68389
UD
406612011-07-18 Ulrich Drepper <drepper@gmail.com>
40662
40663 * po/nl.po: Update from translation team.
40664 * po/sv.po: Likewise.
40665
db290cf5
RM
406662011-07-16 Roland McGrath <roland@hack.frob.com>
40667
40668 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40669 now disallowed by GCC.
5c550700 40670
fd5e21c7
RM
40671 * configure.in (use-default-link): Default to yes if a test -shared
40672 link meets our qualifications.
40673 * configure: Regenerated.
40674
5c550700
RM
40675 * config.make.in (output-format): New variable.
40676 * configure.in: Check for ld --print-output-format support.
40677 * configure: Regenerated.
40678 * Makerules ($(common-objpfx)format.lds)
40679 [$(output-format) != unknown]: Just use $(output-format),
40680 instead of the linker-script munging.
40681
9fa2c032
RM
406822011-07-14 Roland McGrath <roland@hack.frob.com>
40683
a6928d51
RM
40684 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40685 of $(common-objpfx)shlib.lds.
40686 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40687
661607b3
RM
40688 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40689 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40690
9fa2c032
RM
40691 * configure.in (-z relro check): Adjust test code to add a large
40692 writable data section after it.
40693 * configure: Regenerated.
40694
defe9061
RM
406952011-07-11 Roland McGrath <roland@hack.frob.com>
40696
40697 * configure.in (-z relro check): Fix test code to make the variable
40698 truly const.
40699 * configure: Regenerated.
40700
319b9ad4
UD
407012011-07-11 Ulrich Drepper <drepper@gmail.com>
40702
40703 * nscd/nscd.h (struct traced_file): Define.
40704 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40705 elements. Add traced_files.
40706 (inotify_fd): Declare.
40707 (register_traced_file): Declare.
40708 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40709 (inotify_fd): Export.
40710 (resolv_conf_descr): Remove.
40711 (nscd_init): Move inotify descriptor creation to main.
40712 Don't register files for notification here.
40713 (register_traced_file): New function.
40714 (invalidate_cache): Don't use reset_res to determine whether to call
40715 res_init, go through the list of registered files.
40716 (main_loop_poll): The inotify descriptors are now stored in the
40717 structures for the traced files.
40718 (main_loop_epoll): Likewise
40719 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40720 to __nss_disable_nscd.
40721 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40722 for a database anymore. Check the records for all the registered
40723 files instead.
40724 * nss/Makefile (libnss_files-routines): Add files-init.
40725 (libnss_db-routines): Add db-init.
40726 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40727 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40728 * nss/nss_db/db-init.c: New file.
40729 * nss/nss_files/files-init.c: New file.
40730 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40731 __nss_lookup_function.
40732 (__nss_lookup_function): Call nss_load_library.
40733 (nss_load_all_libraries): New function.
40734 (__nss_disable_nscd): Take parameter with callback function for files
40735 to register. Set is_nscd. Load all the DSOs for the NSS modules
40736 used for the cached services.
40737 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40738 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40739 options for features to all the files in nscd.
40740
40741 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40742
23bee3e8
RM
407432011-07-10 Roland McGrath <roland@hack.frob.com>
40744
40745 * csu/elf-init.c (__libc_csu_init): Comment typo.
40746
46a5b7f0
UD
407472011-07-09 Ulrich Drepper <drepper@gmail.com>
40748
40749 * po/pl.po: Update from translation team.
40750 * po/ja.po: Likewise.
40751 * po/ru.po: Likewise.
40752 * po/ko.po: Likewise.
40753 * po/fr.po: Likewise.
40754
d30cf5bb
RM
407552011-07-09 Roland McGrath <roland@hack.frob.com>
40756
113ddea4
RM
40757 * configure.in (.ctors/.dtors header and trailer check):
40758 Use an empirical test on a built program.
40759 * configure: Regenerated.
40760
574920b4
RM
40761 * configure.in (-z relro check): Use an empirical test on a built DSO.
40762 Detect, but do not require, on ia64.
40763 * configure: Regenerated.
40764
d30cf5bb
RM
40765 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40766 Update tests that use readelf to use $READELF instead.
40767 * configure: Regenerated.
40768
8538fdb3
UD
407692011-07-08 Ulrich Drepper <drepper@gmail.com>
40770
40771 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40772 if the result is not used.
40773
04d08991
AJ
407742011-07-05 Andreas Jaeger <aj@suse.de>
40775
40776 [BZ#9696]
40777 * stdlib/tst-strtod.c: Add testcase.
40778
de283087
AD
407792011-07-07 Ulrich Drepper <drepper@gmail.com>
40780
4e5f31c8 40781 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40782 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40783 The latter has a higher limit. Take additional parameter to pass to
40784 the new function.
40785 (__pathconf): Pass file to __statfs_link_max.
40786 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40787 __statfs_link_max.
40788 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40789 __statfs_link_max.
40790
de283087
AD
40791 [BZ #12868]
40792 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40793 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40794 Handle Lustre.
40795 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40796 (__statfs_filesize_max): Likewise.
40797 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40798
c75fa153
AJ
407992011-07-05 Andreas Jaeger <aj@suse.de>
40800
40801 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40802
1a544854
UD
408032011-07-06 Marek Polacek <mpolacek@redhat.com>
40804
40805 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40806 `status' variable.
40807 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40808 Likewise.
40809
6f0eec67
UD
408102011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40811
40812 * Makefile (strop-tests): Add strncat.
40813 * string/test-strncat.c: New file.
40814
aae30307
UD
408152011-06-30 Marek Polacek <mpolacek@redhat.com>
40816
40817 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40818
c0cfb5eb
UD
408192011-06-21 Andreas Jaeger <aj@suse.de>
40820
40821 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40822 Copy rule from iconvdata/Makefile.
40823
01636b21
UD
408242011-07-06 Ulrich Drepper <drepper@gmail.com>
40825
40826 [BZ #12922]
40827 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40828 but no long options are defined, just return 'W'.
40829
9895c8bc
UD
408302011-06-22 Marek Polacek <mpolacek@redhat.com>
40831
40832 [BZ #9696]
40833 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40834
5d4cf042
UD
408352011-07-06 Ulrich Drepper <drepper@gmail.com>
40836
40837 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40838 netgroups to read.
960e5535 40839 (innetgr): Likewise.
5d4cf042 40840
751eb97e
RM
408412011-07-05 Roland McGrath <roland@hack.frob.com>
40842
40843 * config.make.in (install_root): Default to $(DESTDIR).
40844
f15f1e45
UD
408452011-07-05 Ulrich Drepper <drepper@gmail.com>
40846
40847 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40848
4e34ac6a
RM
408492011-07-02 Roland McGrath <roland@hack.frob.com>
40850
5e9b6af4
RM
40851 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40852
84f9ea0f
RM
40853 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40854 containing directory rather than embedding absolute directory names.
40855
ea5ee9f7
RM
40856 * scripts/check-local-headers.sh: Rewritten using awk.
40857 Match by word, not by line. Print error messages for matches.
40858 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40859
1b74661a
RM
40860 * Makerules [shlib-lds-flags empty]:
40861 ($(common-objpfx)libc_pic.opts): New target.
40862 ($(common-objpfx)libc_pic.os.clean): New target.
40863 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40864
40865 * config.make.in (OBJCOPY): New variable.
40866 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40867 * configure: Regenerated.
40868
f781ef40
RM
40869 * config.make.in (use-default-link): New variable.
40870 * configure.in (use_default_link): Grok --with-default-link to set it.
40871 * configure: Regenerated.
40872 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40873 (shlib-lds, shlib-lds-flags): Define to empty.
40874
2d4fa81e
RM
40875 * Makerules (shlib-lds): New variable.
40876 (shlib-lds-flags): New variable.
40877 (build-shlib, build-moduile, build-module-asneeded): Use it.
40878 ($(common-objpfx)libc.so): Use $(shlib-lds).
40879 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40880 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40881
31fffa6b
RM
40882 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40883 DT_FLAGS/DT_FLAGS_1 with zero flags.
40884
4e34ac6a
RM
40885 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40886 linker script munging.
40887
fcfc776b
UD
408882011-07-02 Ulrich Drepper <drepper@gmail.com>
40889
40890 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40891 as 128-bit value.
40892 * crypt/sha512.c (sha512_process_block): Perform total addition using
40893 128-bit if possible.
40894 (__sha512_finish_ctx): Likewise.
40895 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40896 as 64-bit value.
40897 * crypt/sha256.c (SWAP64): Define.
40898 (sha256_process_block): Perform total addition using 64-bit if
40899 possible.
40900 (__sha256_finish_ctx): Likewise.
40901
99231d9a
UD
409022011-07-01 Ulrich Drepper <drepper@gmail.com>
40903
40904 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40905 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40906 * nscd/hstcache.c (cache_addhst): Likewise.
40907 * nscd/grpcache.c (cache_addgr): Likewise.
40908 * nscd/aicache.c (addhstaiX): Likewise
40909 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40910
445b4a53
TK
409112011-07-01 Thorsten Kukuk <kukuk@suse.de>
40912
40913 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40914 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40915 * nscd/hstcache.c (cache_addhst): Likewise.
40916 * nscd/grpcache.c (cache_addgr): Likewise.
40917 * nscd/aicache.c (addhstaiX): Likewise
40918
6d4d8e8e
AS
409192011-07-01 Andreas Schwab <schwab@redhat.com>
40920
40921 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40922 domain only when needed.
40923
89f654c5
AS
409242011-06-30 Andreas Schwab <schwab@redhat.com>
40925
40926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40927 is always restored.
40928
cf3b23ff
UD
409292011-06-29 Ulrich Drepper <drepper@gmail.com>
40930
40931 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40932 are re-adding the entry.
40933 * nscd/servicescache.c (cache_addserv): Likewise.
40934
751626f9
AJ
409352011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40936
40937 * sysdeps/generic/dl-irel.h: fix protection against multiple
40938 inclusions.
40939 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40940
9113ea1f
UD
409412011-06-28 Ulrich Drepper <drepper@gmail.com>
40942
5c0b8d90
UD
40943 [BZ #12935]
40944 * malloc/memusage.sh: Fix quoting in message.
40945 * debug/xtrace.sh: Likewise.
40946
9113ea1f
UD
40947 * configure.in: Remove support for --experimental-malloc option, make
40948 it the default.
40949 * config.make.in: Likewise.
40950 * malloc/Makefile: Likewise.
40951
a4172181
AS
409522011-06-27 Andreas Schwab <schwab@redhat.com>
40953
40954 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40955 two-byte characters.
40956
78a7eee7
RM
409572011-06-27 Roland McGrath <roland@hack.frob.com>
40958
62bede13
RM
40959 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40960 AC_CACHE_CHECK invocation.
40961 * configure: Regenerated.
40962
78a7eee7
RM
40963 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40964
5ce33a62
UD
409652011-06-27 Ulrich Drepper <drepper@gmail.com>
40966
034807a9
UD
40967 [BZ #12350]
40968 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40969 bit from old_res_options.
40970
4902da17
UD
40971 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40972
5ce33a62
UD
40973 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40974 value type for setfct.
40975
c2344f56
L
409762011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40977
40978 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40979 __gettimeofday instead of gettimeofday.
40980
68468076
UD
409812011-06-26 Ulrich Drepper <drepper@gmail.com>
40982
40983 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40984
acb0d739
L
409852011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40986
40987 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40988
40989 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40990 info.
40991
8912479f
L
409922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40993
40994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40995 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40996 strcpy-sse2-unaligned strncpy-sse2-unaligned
40997 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40998 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40999 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41000 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41001 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41002 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41003 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41004 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41005 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41006 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41007 (STRCPY): Support SSE2 and SSSE3 versions.
41008
d5495a11
UD
410092011-06-24 Ulrich Drepper <drepper@gmail.com>
41010
41011 [BZ #12874]
41012 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41013 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41014 kernels which artificially limit size of requests.
41015
0b1cbaae
L
410162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41017
41018 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41019 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41020 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41021 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41022 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41023 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41024 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41025 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41026 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41027 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41028 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41029 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41030 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41031 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41032 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41034 Enable unaligned load optimization for Intel Core i3, i5 and i7
41035 processors.
41036 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41037 Define.
41038 (index_Fast_Unaligned_Load): Define.
41039 (HAS_FAST_UNALIGNED_LOAD): Define.
41040
07f494a0
MP
410412011-06-23 Marek Polacek <mpolacek@redhat.com>
41042
41043 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41044
fa3fc0fe
UD
410452011-06-22 Ulrich Drepper <drepper@gmail.com>
41046
41047 [BZ #12907]
41048 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41049 until it is clear that the information is realy needed.
41050 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41051
e12df166
AS
410522011-06-22 Andreas Schwab <schwab@redhat.com>
41053
41054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41055
852eb34d
UD
410562011-06-22 Ulrich Drepper <drepper@gmail.com>
41057
84e2a551
UD
41058 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41059 /sys/devices/system/cpu/online if it is usable.
41060
852eb34d
UD
41061 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41062 reading the information from the /proc filesystem to once a second.
41063
6e502e19
UD
410642011-06-21 Andreas Jaeger <aj@suse.de>
41065
41066 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41067 NULL after inclusion of kernel headers.
41068
75d39ff2
UD
410692011-06-21 Ulrich Drepper <drepper@gmail.com>
41070
51f9aa6a
UD
41071 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41072 calls to internal_setent.
41073
c0244a9d
UD
41074 [BZ #12885]
41075 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41076 addresses using gethostbyname4_r ignore IPv4 addresses.
41077
c5e3c2ae
UD
41078 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41079 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41080
75d39ff2
UD
41081 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41082
42675c6f
DM
410832011-06-20 David S. Miller <davem@davemloft.net>
41084
41085 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41086 inclusions.
41087 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41088
41089 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41090 (elf_irel): Use it.
41091 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41092 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41093 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41094 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41095 * sysdeps/x86_64/dl-irel.h: Likewise.
41096
41097 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41098 * elf/dl-sym.c: Likewise.
41099
57912a71
UD
411002011-06-15 Ulrich Drepper <drepper@gmail.com>
41101
41102 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41103 need to dereference resplen2.
41104
ee22793d
AS
411052011-06-14 Andreas Schwab <schwab@redhat.com>
41106
41107 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41108
a9e836b0
UD
411092011-06-15 Ulrich Drepper <drepper@gmail.com>
41110
77fb9117
UD
41111 * Makeconfig: Define vardbdir and inst_vardbdir.
41112 * nss/Makefile: Add rules to install db-Makefile.
41113
40c1b22c
UD
41114 * nss/nss_db/db-XXX.c: Cleanup.
41115
9f2da732
UD
41116 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41117 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41118 GLIBC_PRIVATE.
41119 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41120 * nss/makedb.c: Implement -g option to specify that value strings
41121 are generated and should not be added to table iterated over for
41122 get*ent calls.
41123 * nss/nss_db/db-initgroups.c: New file.
41124
82e9a1f7
UD
41125 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41126 interface.
41127
c41af17e
UD
41128 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41129 (internal_getgrouplist): Adjust to name change.
41130 Update use_initgroups_entry if this is not the first call.
41131 * nss/databases.def: Add initgroups entry.
41132
a9e836b0
UD
41133 * nss/makedb.c (compute_tables): Check result of multiple hash table
41134 sizes to minimize maximum chain length.
41135
2666d441
UD
411362011-06-14 Ulrich Drepper <drepper@gmail.com>
41137
41138 * Versions.def: Add entry for libnss_db.
41139 * shlib-versions: Likewise.
41140 * nss/Makefile: Add rules to build libnss_db.
41141 * nss/Versions: Add libnss_db information. Organize libnss_files
41142 entries better.
41143 * nss/db-Makefile: Add gshadow support. Change rules for the new
41144 makedb progra. Some minor improvements to generate smaller files.
41145 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41146 here from...
41147 * nss/makedb.c: ...here.
41148 Improve database format to be smaller and require less memory at
41149 runtime.
41150 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41151 db anymore.
41152 * nss/nss_db/db-netgrp.c: Likewise.
41153 * nss/nss_db/db-open.c: Likewise.
41154 * nss/nss_files/flies-XXX.x: Adjust comments.
41155 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41156 * nss/nss_files/files-grp.c: Likewise.
41157 * nss/nss_files/files-hosts.c: Likewise.
41158 * nss/nss_files/files-network.c: Likewise.
41159 * nss/nss_files/files-proto.c: Likewise.
41160 * nss/nss_files/files-pwd.c: Likewise.
41161 * nss/nss_files/files-rpc.c: Likewise.
41162 * nss/nss_files/files-service.c: Likewise.
41163 * nss/nss_files/files-sgrp.c: Likewise.
41164 * nss/nss_files/files-spwd.c: Likewise.
41165 * nss/nss_db/db-alias.c: Removed.
41166 * nss/nss_db/dummy-db.h: Removed.
41167
9ee76b5a
UD
411682011-06-02 Ulrich Drepper <drepper@gmail.com>
41169
41170 * nss/makedb.c: Rewritten to not use database library.
41171 * nss/Makefile: Update to build new makedb program.
41172
c71ca1f8
AJ
411732011-06-14 Andreas Jaeger <aj@suse.de>
41174
41175 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41176 memset declaration.
41177
3154bfb8
UD
411782011-06-10 Andreas Schwab <schwab@redhat.com>
41179
41180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41181 tmpbuf.
41182
b350afab
RM
411832011-06-10 Roland McGrath <roland@hack.frob.com>
41184
decd4e50
RM
41185 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41186 * elf/Makefile ($(objpfx)ld.so): Likewise.
41187
5615eaf2
RM
41188 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41189 Don't list ld.so twice in dependencies.
41190
41191 * posix/bug-regex31.c: Include <stdlib.h>.
41192
41193 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41194
41195 * nis/nss_compat/compat-spwd.c
41196 (getspent_next_nss_netgr): Remove unused variable.
41197 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41198
41199 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41200 nonmembers" output to use the right array.
41201
41202 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41203
41204 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41205
41206 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41207 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41208 * catgets/gencat.c (read_input_file): Likewise.
41209 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41210
41211 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41212 variable definition inside #if's controlling its use.
41213
41214 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41215
41216 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41217
41218 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41219
41220 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41221 unreachable code.
41222
41223 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41224
b68e08db
RM
41225 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41226 * configure: Regenerated.
41227
b350afab
RM
41228 * Makerules: Revert last change.
41229 * elf/Makefile: Likewise.
41230
28368601
RM
412312011-06-09 Roland McGrath <roland@hack.frob.com>
41232
41233 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41234 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41235 (reloc-link): Likewise.
41236
11988f8f
UD
412372011-06-09 Ulrich Drepper <drepper@gmail.com>
41238
41239 * elf/Makefile: Add rules to build pldd.
41240 * elf/pldd.c: New file.
41241 * elf/pldd-xx.c: New file.
41242
e80fab37
UD
412432011-06-07 Ulrich Drepper <drepper@gmail.com>
41244
41245 * version.h: Update for 2.15 development version.
41246
9b849836
DM
412472011-06-07 David S. Miller <davem@davemloft.net>
41248
41249 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41250 ifuncs.
41251 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41252 elf_machine_lazy_rel): Likewise.
41253 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41254 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41255 elf_machine_lazy_rel): Likewise.
41256 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41257 dl_hwcap via passed in argument.
41258 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41259 Likewise.
41260
5a31b283
AK
412612011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41262
41263 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41264
069e52f8
RM
412652011-06-06 Roland McGrath <roland@hack.frob.com>
41266
41267 [BZ #12849]
41268 * manual/fdl-1.1.texi: New file, verbatim from:
41269 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41270 * manual/lgpl-2.1.texi: New file, verbatim from:
41271 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41272 * manual/Makefile (licenses): New variable, list those new file names.
41273 (texis): Use it.
41274 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41275
41276 * manual/fdl.texi: File removed.
41277 * manual/lesser.texi: File removed.
41278 * manual/libc.texinfo (Copying, Documentation License):
41279 Use new @include file names, put @appendix directive before @include.
41280
f16846a5
JJ
412812011-06-04 Jakub Jelinek <jakub@redhat.com>
41282
41283 [BZ #12841]
41284 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41285 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41286 (mq_open): Add __NTH.
41287
3d29045b
L
412882011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41289
41290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41291 Assume Intel Core i3/i5/i7 processor if AVX is available.
41292
8c297311
UD
412932011-05-31 Ulrich Drepper <drepper@gmail.com>
41294
41295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41296 typo.
41297
c8fc0c91
UD
412982011-05-31 Andreas Schwab <schwab@redhat.com>
41299
41300 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41301 memory. Use alloca_account. Fix memory leak when retrying.
41302
5b27a807
UD
413032011-05-31 Ulrich Drepper <drepper@gmail.com>
41304
356f8bc6
UD
41305 * version.h (RELEASE): Bump for 2.14 release.
41306 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41307
5b27a807
UD
41308 * config.make.in (RANLIB): Remove entry.
41309
01f16ab0
UD
413102011-05-30 Ulrich Drepper <drepper@gmail.com>
41311
41fce8bd
UD
41312 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41313 (libc.pot): Work around missing support for .ksh extension in xgettext.
41314
4769ae77
UD
41315 [BZ #12684]
41316 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41317 if both request failed.
41318 (send_dg): In case of server errors clear resplen or *resplen2.
41319
6b1e7d19
UD
41320 [BZ #12454]
41321 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41322 when there are multiple maps.
41323 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41324 (_dl_fini): Remove test here.
41325
01f16ab0
UD
41326 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41327
b1ebd700
UD
413282011-05-29 Ulrich Drepper <drepper@gmail.com>
41329
7ae22829
UD
41330 [BZ #12350]
41331 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41332 bit from old_res_options.
41333 (gaih_inet): Likewise.
41334
553149f6 41335 [BZ #11099]
18a84741 41336 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
41337 as signed.
41338
652ffab1
UD
41339 * resolv/res_init.c (res_setoptions): Make the code more compact.
41340
16985fd0
UD
41341 [BZ #11558]
41342 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41343 set RES_USEVC.
41344
0464f746
UD
41345 [BZ #11634]
41346 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41347
7d17596c
UD
41348 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41349
cf6bbbd7
UD
41350 [BZ #11781]
41351 * malloc/malloc.h: Declare malloc hook variables as volatile.
41352
13f1ab36
UD
41353 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41354 in last patch.
41355
b1ebd700
UD
41356 [BZ #11799]
41357 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 41358 raise in the comment.
80e2212d
UD
41359 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41360 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41361 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 41362
ce67228d
UD
413632011-05-28 Ulrich Drepper <drepper@gmail.com>
41364
8887a920
UD
41365 [BZ #12811]
41366 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41367 grow the buffers more if it already has to be sufficient.
41368 (build_wcs_upper_buffer): Likewise.
41369 * posix/regexec.c (check_matching): Likewise.
41370 (clean_state_log_if_needed): Likewise.
41371 (extend_buffers): Don't enlarge buffers beyond size of the input
41372 buffer.
41373 Patches mostly by Emil Wojak <emil@wojak.eu>.
41374 * posix/bug-regex32.c: New file.
41375 * posix/Makefile (tests): Add bug-regex32.
41376
4f031072
UD
41377 * locale/findlocale.c (_nl_find_locale): Return right away if
41378 _nl_explode_name failed.
41379 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41380
d0478f0c
UD
41381 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41382
de81b246
UD
41383 * debug/xtrace.sh: Unify messages.
41384 * malloc/memusage.sh: Likewise.
41385
c738465a
UD
41386 [BZ #12813]
41387 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41388 time symbol from vDSO. Substitute with vsyscall if not available.
41389 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41390 __vdso_time.
41391
f1f929d7
UD
41392 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41393 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41394 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41395 Add sendmmsg and internal_sendmmsg.
41396 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41397 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41398 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41399
ce67228d
UD
41400 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41401 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41402 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41403
e57420c6
UD
414042011-05-27 Ulrich Drepper <drepper@gmail.com>
41405
a8509ca5
UD
41406 [BZ #12813]
41407 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41408 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41409 available.
41410 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41411 __vdso_getcpu.
41412
e57420c6
UD
41413 [BZ #12814]
41414 * iconvdata/Makefile (tests): Add bug-iconv9.
41415 * iconvdata/bug-iconv9.c: New file.
41416
4d07db15
AS
414172011-05-27 Andreas Schwab <schwab@redhat.com>
41418
41419 [BZ #12814]
41420 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41421
ea486f69
JJ
414222011-05-25 Jakub Jelinek <jakub@redhat.com>
41423
41424 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41425 (struct user_regs_struct): Change intcs field back to cs.
41426
6f038433
UD
414272011-05-25 Ulrich Drepper <drepper@gmail.com>
41428
41429 * po/ja.po: Update from translation team.
41430
67f86a25
UD
414312011-05-23 Ulrich Drepper <drepper@gmail.com>
41432
41433 [BZ #12795]
41434 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41435 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41436
def7fbd6
AS
414372011-05-20 Andreas Schwab <schwab@redhat.com>
41438
41439 * stdlib/longlong.h: Update from GCC.
41440
f50ef8f1
AS
414412011-05-23 Andreas Schwab <schwab@redhat.com>
41442
41443 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41444 parameter name.
41445 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41446 Add parameter name.
41447 (__sysconf): Pass it down.
41448
de7ce8f1
UD
414492011-05-22 Ulrich Drepper <drepper@gmail.com>
41450
f2962a71
UD
41451 [BZ #12671]
41452 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41453 some situations.
41454 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41455 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41456 add in in __libc_use_alloca calls. Adjust callers.
41457 (glob): Use malloc in some situations.
41458
de7ce8f1
UD
41459 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41460 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41461 pltexit.
41462
aec84f53
UD
414632011-05-21 Ulrich Drepper <drepper@gmail.com>
41464
05bb4a68
UD
41465 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41466 and CLOCK_BOOTTIME_ALARM.
41467
7ea72f99
UD
41468 [BZ #12782]
41469 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41470 is returned.
41471
7e4afad5
UD
41472 * string/_strerror.c (__strerror_r): Print negative errors as signed
41473 numbers.
41474
8e211fec
UD
41475 [BZ #12777]
41476 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41477 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41478 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41479
f7d82dc9
UD
41480 * configure.in: Fix typo in redirection and correct removal of test
41481 files in two cases.
41482
cc9e536d
UD
41483 [BZ #12788]
41484 * locale/setlocale.c (new_composite_name): Fix test to check for
41485 identical name of all categories.
41486
aec84f53
UD
41487 [BZ #12792]
41488 * libio/filedoalloc.c (local_isatty): New function.
41489 (_IO_file_doallocate): Use local_isatty.
41490 * stdio-common/perror.c (perror): In case a new stream is used
41491 forward the stream error.
41492 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41493 error flag.
41494
78e64fdc
RT
414952011-05-20 Ulrich Drepper <drepper@gmail.com>
41496
34a9094f
UD
41497 [BZ #11869]
41498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41499 alloca.
41500 * include/alloca.h (extend_alloca_account): Define.
41501
78e64fdc
RT
41502 [BZ #11857]
41503 * posix/regex.h: Fix comments with documentation of user-accessible
41504 fields after compilation and describe correct free'ing of pattern
41505 after re_compile_pattern.
41506 Patch by Reuben Thomas <rrt@sc3d.org>.
41507
457bddfc
RA
415082011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41509
41510 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41511 and -mno-altivec to prevent the compiler from using Altivec and/or
41512 VSX instructions when the corresponding registers are not available.
41513
a4527b51
AS
415142011-05-19 Andreas Schwab <schwab@redhat.com>
41515
41516 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41517
ed690b2f
UD
415182011-05-19 Ulrich Drepper <drepper@gmail.com>
41519
41520 * libio/freopen.c (freopen): Use __dup2, not dup2.
41521 * libio/freopen64.c (freopen64): Likewise.
41522
8db73634
L
415232011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41524
41525 [BZ #12775]
41526 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41527 * math/Makefile (tests): Add test-powl.
41528 (CFLAGS-test-powl.c): Define.
41529 * math/test-powl.c: New file.
41530
0a197a9d
L
415312011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41532
41533 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41534
ee30c380
UD
415352011-05-17 Ulrich Drepper <drepper@gmail.com>
41536
41537 [BZ #11837]
41538 * iconvdata/gb18030.c: Update to GB18020-2005.
41539
6ce75379
UD
415402011-05-16 Ulrich Drepper <drepper@gmail.com>
41541
a4b89fd8
AR
41542 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41543 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41544 Patch by Aharon Robbins <arnold@skeeve.com>.
41545
ea389b12
UD
41546 [BZ #11892]
41547 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41548 on the stack.
41549
68a3f91f
UD
41550 [BZ #11895]
41551 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41552 through underflows.
41553
15cc7dd1
UD
41554 [BZ #12766]
41555 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41556 point to strings before performing equality test for error_one_per_line
41557 mode.
41558
f3799213
UD
41559 [BZ #11697]
41560 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41561
d79a9c94
UD
41562 [BZ #11820]
41563 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41564 (struct user_fpregs_struct): Avoid __uint*_t types.
41565
56e5eb46
UD
41566 [BZ #6420]
41567 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41568 symbol info. Use it instead of calling _dl_addr locally.
41569 (lock_and_info): New function.
41570 (tr_freehook): Call lock_and_info and pass symbol info as additional
41571 parameter to tr_where.
41572 (tr_mallochook): Likewise.
41573 (tr_reallochook): Likewise.
41574 (tr_memalignhook): Likewise.
41575
6ce75379
UD
41576 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41577 used and couldn't be at all thread-safe.
41578
f8a3b5bf
UD
415792011-05-15 Ulrich Drepper <drepper@gmail.com>
41580
94b7cc37
UD
41581 * libio/freopen.c (freopen): Don't close old file descriptor
41582 before the new one is opened. Instead dup the new file descriptor
41583 to the old one after the new stream is created.
41584 * libio/freopen64.c (freopen64): Likewise.
41585 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41586 * libio/fileops.c (_IO_new_file_close_it): Handle new
41587 _IO_FLAGS2_NOCLOSE flag.
41588 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41589 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41590 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41591 _IO_FLAGS2_NOCLOSE flag.
41592 * include/unistd.h: Add hidden_proto for dup3.
41593 Define __have_dup3.
41594 * io/dup3.c: Define hidden symbol.
41595 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41596
bd25564e
UD
41597 [BZ #7101]
41598 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41599 when an incomplete long option is used.
41600 * posix/tst-getopt_long1.c: New file.
41601 * posix/Makefile (tests): Add tst-getopt_long1.
41602
c84cfef4
UD
41603 [BZ #10138]
41604 * scripts/config.guess: Update from autoconf-2.68.
41605 * scripts/config.sub: Likewise.
41606
3b85df27
UD
41607 [BZ #10157]
41608 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41609 tests into ...
41610 (has_cpuclock): ...this. New function.
41611 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41612 macro here based on has_cpuclock code.
41613
15a856b1
UD
41614 [BZ #10149]
41615 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41616 First byte (not low byte) is now always NUL.
41617 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41618
05f399e6
UD
41619 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41620 Use non-cancelable interfaces.
41621
10a52685 41622 [BZ #9809]
94ecc67d
UD
41623 * locale/iso-639.def: Add entry for Sorani.
41624
f8a3b5bf
UD
41625 [BZ #11901]
41626 * include/stdlib.h: Move include protection to the right place.
41627 Define abort_msg_s. Declare __abort_msg with it.
41628 * stdlib/abort.c (__abort_msg): Adjust type.
41629 * assert/assert.c (__assert_fail_base): New function. Majority
41630 of code from __assert_fail. Allocate memory for __abort_msg with
41631 mmap.
41632 (__assert_fail): Now call __assert_fail_base.
41633 * assert/assert-perr.c: Remove bulk of implementation. Use
41634 __assert_fail_base.
41635 * include/assert.hL Declare __assert_fail_base.
41636 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41637 mmap.
41638 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41639
1af4e298
UD
416402011-05-14 Ulrich Drepper <drepper@gmail.com>
41641
f8a3b5bf 41642 [BZ #11952]
d26dfc60
MG
41643 [BZ #12453]
41644 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41645 until all modules are registered in the DTV.
41646 * elf/Makefile: Add rules to build and run tst-tls19.
41647 * elf/tst-tls19.c: New file.
41648 * elf/tst-tls19mod1.c: New file.
41649 * elf/tst-tls19mod2.c: New file.
41650 * elf/tst-tls19mod3.c: New file.
41651 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41652
2fc54d6f
UD
41653 [BZ #12083]
41654 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41655 correctly.
41656
98d76b46
UD
41657 [BZ #12601]
41658 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41659 two-byte sequence errors.
41660 * iconvdata/Makefile (tests): Add bug-iconv8.
41661 * iconvdata/bug-iconv8.c: New file.
41662
da3c19ef
UD
41663 [BZ #12626]
41664 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41665 buf2 definition.
41666
ca408c15
UD
41667 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41668
d6f67f7d
UD
41669 [BZ #12432]
41670 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41671 (dummy_getcfa): New function.
41672 (init): Get _Unwind_GetCFA address, use dummy if not found.
41673 (backtrace_helper): In recursion check, also check whether CFA changes.
41674 (__backtrace): Completely initialize arg.
41675
1af4e298 41676 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41677 storing incomplete byte sequence in state object. Avoid testing for
41678 guaranteed too small input if we know there is enough data available.
1af4e298 41679
da62f81b
AS
416802011-05-11 Andreas Schwab <schwab@redhat.com>
41681
41682 * Makeconfig (+link-pie): Indent.
41683 * Rules (binaries-pie): Define if $(have-fpie) and
41684 $(build-shared).
41685 (binaries-shared): Also filter out $(binaries-pie).
41686 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41687 * nscd/Makefile (others-pie): Add nscd.
41688 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41689 ($(objpfx)nscd): Remove command override.
41690 * login/Makefile (others-pie): Add pt_chown.
41691 ($(objpfx)pt_chown): Remove command override.
41692 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41693 remove command overrides.
41694
fcabc0f8
UD
416952011-05-13 Ulrich Drepper <drepper@gmail.com>
41696
20030ae6
UD
41697 * libio/tst_putwc.c: Fix error messages.
41698
fcabc0f8
UD
41699 [BZ #12724]
41700 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41701 currently writing and seek to current position when not.
41702 * libio/Makefile (tests): Add bug-fclose1.
41703 * libio/bug-fclose1.c: New file.
41704
320a5dc0
PB
417052011-05-12 Ulrich Drepper <drepper@gmail.com>
41706
41707 [BZ #12511]
41708 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41709 don't set DF_1_NODELETE here.
41710 (do_lookup_x): When entering new entry test for copy relocation
41711 and if necessary set DF_1_NODELETE flag.
41712 * elf/tst-unique4.cc: New file.
41713 * elf/tst-unique4.h: New file.
41714 * elf/tst-unique4lib.cc: New file.
41715 * elf/Makefile: Add rules to build and run tst-unique4.
41716 Patch by Piotr Bury <pbury@goahead.com>.
41717
22836f52
UD
417182011-05-11 Ulrich Drepper <drepper@gmail.com>
41719
f574184a
UD
41720 [BZ #12052]
41721 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41722
e1fb097f
UD
41723 [BZ #12625]
41724 * misc/mntent_r.c (addmntent): Flush the stream after the output
41725
22836f52
UD
41726 [BZ #12393]
41727 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41728 (is_trusted_path_normalize): Skip initial colon. Append slash
41729 to empty buffer. Duplicate is_trusted_path code but allow
41730 constructed patch to be prefix.
41731 (is_dst): Allow $ORIGIN followed by /.
41732 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41733 Correct testing of result of is_trusted_path_normalize
41734 (decompose_rpath): Fix warning.
41735
7b3b0b2a
UD
417362011-05-10 Ulrich Drepper <drepper@gmail.com>
41737
41738 [BZ #11257]
41739 * grp/initgroups.c (internal_getgrouplist): When we found the service
41740 list through the initgroups entry in nsswitch.conf do not always
41741 continue on a successful lookup. Don't always use the
eac80ce2 41742 __nss_group_database value if it is set.
7b3b0b2a
UD
41743 * nss/nsswitch.conf (initgroups): Change action for successful db
41744 lookup to continue for compatibility.
41745
2a81eaa5
UD
417462011-05-09 Ulrich Drepper <drepper@gmail.com>
41747
be97a69e
UD
41748 [BZ #11532]
41749 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41750 and CP774 modules.
41751 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41752 and CP774 modules.
41753 * iconvdata/tst-tables.sh: Likewise.
41754 * iconvdata/cp770.c: New file.
41755 * iconvdata/cp771.c: New file.
41756 * iconvdata/cp772.c: New file.
41757 * iconvdata/cp773.c: New file.
41758 * iconvdata/cp774.c: New file.
41759 * iconvdata/testdata/CP770: New file.
41760 * iconvdata/testdata/CP770..UTF8: New file.
41761 * iconvdata/testdata/CP771: New file.
41762 * iconvdata/testdata/CP771..UTF8: New file.
41763 * iconvdata/testdata/CP772: New file.
41764 * iconvdata/testdata/CP772..UTF8: New file.
41765 * iconvdata/testdata/CP773: New file.
41766 * iconvdata/testdata/CP773..UTF8: New file.
41767 * iconvdata/testdata/CP774: New file.
41768 * iconvdata/testdata/CP774..UTF8: New file.
41769
41770 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41771 END CHARMAP line.
41772 * iconvdata/gen-8bit-gap.sh: Likewise.
41773 * iconvdata/gen-8bit.sh: Likewise.
41774
c1e9e399
UD
41775 * locale/iso-639.def: Add ary entry.
41776
24c55fb3 41777 [BZ #11258]
96b4b1b0
UD
41778 * locale/C-translit.h.in: Add U20A1 transliteration.
41779
bdc2f971
KB
41780 [BZ #12178]
41781 * locale/iso-639.def: Add wae entry.
41782 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41783
2952b117
UD
41784 [BZ #12545]
41785 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41786 for n.
41787
2a81eaa5
UD
41788 [BZ #12711]
41789 * locale/C-translit.h.in: Add entry for U20B9.
41790 Patch by pravin.d.s@gmail.com.
41791
28377d1b
UD
417922011-05-08 Ulrich Drepper <drepper@gmail.com>
41793
7fb90fb8
UD
41794 [BZ #12713]
41795 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41796 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41797 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41798 in rtld. Use *stat64.
7fb90fb8 41799 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41800 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41801 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41802 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41803 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41804 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41805 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41806 __fstatat64 macros.
7fb90fb8
UD
41807 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41808 * dirent/rewinddir.c: Add libc_hidden_def.
41809 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41810 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41811
28377d1b
UD
41812 * include/dirent.h (__alloc_dir): Add flags parameter.
41813 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41814 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41815 __alloc_dir.
41816 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41817 from fdopendir if O_CLOEXEC is already set.
41818
66bdbaa4
AM
418192011-03-15 Alan Modra <amodra@gmail.com>
41820
41821 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41822 l_tls_firstbyte_offset non-zero. Save padding offset in
41823 l_tls_firstbyte_offset for later use.
41824 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41825 freeing static tls block.
41826
95721191
JN
418272011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41828
41829 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41830 where #ifdef was intended. The intent is to prevent ARG_MAX from
41831 being defined by the kernel headers.
41832
f87dfb1f
UD
418332011-05-07 Ulrich Drepper <drepper@gmail.com>
41834
41835 [BZ #12734]
41836 * resolv/resolv.h: Define RES_NOTLDQUERY.
41837 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41838 no-tld-query and set RES_NOTLDQUERY.
41839 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41840 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41841 modern BIND to search name as TLD unless forbidden.
41842
47c3cd7a
UD
418432011-05-07 Petr Baudis <pasky@suse.cz>
41844 Ulrich Drepper <drepper@gmail.com>
41845
41846 [BZ #12393]
41847 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41848 (is_trusted_path): ...to here.
c1e9ea35 41849 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41850 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41851 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41852
8a35c912
PP
418532011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41854
41855 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41856 __BEGIN/__END_DECLS.
41857
acd41f47
UD
418582011-05-06 Ulrich Drepper <drepper@gmail.com>
41859
41860 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41861 NSS_STATUS_NOTFOUND if no record was found.
41862
597df647
AS
418632011-05-05 Andreas Schwab <schwab@redhat.com>
41864
41865 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41866 (headers-not-in-tirpc): Remove rpc/netdb.h
41867 * resolv/netdb.h: Revert last change.
41868
b9af1301
PP
418692011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41870
41871 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41872 circular dependency between libgcc.a and libc.a.
41873
4e34d5f5
AS
418742011-05-05 Andreas Schwab <schwab@redhat.com>
41875
41876 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41877 * nis/Makefile: Don't install rpcsvc/*.
41878 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41879 instead of <rpc/types.h>.
41880 (MAXHOSTNAMELEN): Define.
41881
00ee369c
AS
418822011-05-03 Andreas Schwab <schwab@redhat.com>
41883
41884 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41885
0b592a30
MB
418862011-04-28 Maciej Babinski <mbabinski@google.com>
41887
41888 [BZ #12714]
41889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41890 gethostbyname4_r when IPv6 results are possible.
41891
6e04cbbe
UD
418922011-05-02 Ulrich Drepper <drepper@gmail.com>
41893
41894 [BZ #12723]
41895 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41896 _PC_PIPE_BUF handling.
41897
e4ecafe0
BH
418982011-04-30 Bruno Haible <bruno@clisp.org>
41899
41900 [BZ #12717]
41901 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41902 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41903 to 'int'.
41904 * inet/getnameinfo.c (getnameinfo): Likewise.
41905
125ee683
UD
419062011-04-29 Ulrich Drepper <drepper@gmail.com>
41907
41908 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41909 to groups setting in database lookup.
41910 * nss/nsswitch.conf: Add initgroups entry.
41911
b722481a
EB
419122011-04-22 Ulrich Drepper <drepper@gmail.com>
41913
41914 [BZ #12685]
41915 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41916 mode string.
41917 Patch by Eric Blake <eblake@redhat.com>.
41918
4df46dbd
L
419192011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41920
41921 * sunrpc/Makefile (need-export-routines): Add svc_run.
41922 (routines): Remove svc_run.
41923 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41924 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41925 * sunrpc/svc_run.c (svc_run): Likewise.
41926 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41927
e84142d2
UD
419282011-04-21 Ulrich Drepper <drepper@gmail.com>
41929
41930 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41931 problem in reallocation in last patch.
41932
877175d8
UD
419332011-04-20 Ulrich Drepper <drepper@gmail.com>
41934
41935 * sunrpc/Makefile: Move inclusion of Rules.
41936
ab8eed78
UD
419372011-04-19 Ulrich Drepper <drepper@gmail.com>
41938
41939 * nss/nss_files/files-initgroups.c: New file.
41940 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41941 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41942 _nss_files_initgroups_dyn.
41943
e3d8f584
RS
419442011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41945
41946 * elf/elf.h (R_ARM_IRELATIVE): Define.
41947
af190f45
UD
419482011-04-19 Ulrich Drepper <drepper@gmail.com>
41949
41950 * po/ru.po: Update from translation team.
41951
53cf59ef
UD
419522011-04-17 Ulrich Drepper <drepper@gmail.com>
41953
41954 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41955 dependencies.
41956
4c559bcd
MF
419572011-02-06 Mike Frysinger <vapier@gentoo.org>
41958
41959 [BZ #12653]
41960 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41961 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41962 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41963 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41964 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41965
4420675c
AS
419662011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41967
41968 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41969 differing bytes.
41970 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41971 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41972 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41973
75ea32ab
UD
419742011-04-17 Ulrich Drepper <drepper@gmail.com>
41975
41976 [BZ #12420]
41977 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41978 storing it.
41979 * stdlib/bug-getcontext.c: New file.
41980 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41981
27390476
AK
419822011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41983
41984 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41985 instructions into .machine "z9-109".
41986 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41987 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41988
10442705
AK
419892011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41990
41991 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41992 between environment variables and auxiliary vector.
41993
7b57bfe5
UD
419942011-04-16 Ulrich Drepper <drepper@gmail.com>
41995
41996 * Makefile: Add rules to build linkobj/libc.so.
41997 * include/libc-symbols.h: Define libc_hidden_nolink.
41998 * include/rpc/auth.h: Mark functions which are to be hidden.
41999 * include/rpc/auth_des.h: Likewise.
42000 * include/rpc/auth_unix.h: Likewise.
42001 * include/rpc/clnt.h: Likewise.
42002 * include/rpc/des_crypt.h: Likewise.
42003 * include/rpc/key_prot.h: Likewise.
42004 * include/rpc/pmap_clnt.h: Likewise.
42005 * include/rpc/pmap_prot.h: Likewise.
42006 * include/rpc/pmap_rmt.h: Likewise.
42007 * include/rpc/rpc_msg.h: Likewise.
42008 * include/rpc/svc.h: Likewise.
42009 * include/rpc/svc_auth.h: Likewise.
42010 * include/rpc/xdr.h: Likewise.
42011 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42012 * nss/Makefile: Likewise.
42013 * sunrpc/Makefile: Don't install headers. Build library with normal
42014 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42015 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42016 for the compat linking library. Remove use of INTDEF/INTUSE.
42017 * sunrpc/auth_none.c: Likewise.
42018 * sunrpc/auth_unix.c: Likewise.
42019 * sunrpc/authdes_prot.c: Likewise.
42020 * sunrpc/authuxprot.c: Likewise.
42021 * sunrpc/clnt_gen.c: Likewise.
42022 * sunrpc/clnt_perr.c: Likewise.
42023 * sunrpc/clnt_raw.c: Likewise.
42024 * sunrpc/clnt_simp.c: Likewise.
42025 * sunrpc/clnt_tcp.c: Likewise.
42026 * sunrpc/clnt_udp.c: Likewise.
42027 * sunrpc/clnt_unix.c: Likewise.
42028 * sunrpc/des_crypt.c: Likewise.
42029 * sunrpc/des_soft.c: Likewise.
42030 * sunrpc/get_myaddr.c: Likewise.
42031 * sunrpc/key_call.c: Likewise.
42032 * sunrpc/key_prot.c: Likewise.
42033 * sunrpc/netname.c: Likewise.
42034 * sunrpc/pm_getmaps.c: Likewise.
42035 * sunrpc/pm_getport.c: Likewise.
42036 * sunrpc/pmap_clnt.c: Likewise.
42037 * sunrpc/pmap_prot.c: Likewise.
42038 * sunrpc/pmap_prot2.c: Likewise.
42039 * sunrpc/pmap_rmt.c: Likewise.
42040 * sunrpc/publickey.c: Likewise.
42041 * sunrpc/rpc_cmsg.c: Likewise.
42042 * sunrpc/rpc_common.c: Likewise.
42043 * sunrpc/rpc_dtable.c: Likewise.
42044 * sunrpc/rpc_prot.c: Likewise.
42045 * sunrpc/rpc_thread.c: Likewise.
42046 * sunrpc/rtime.c: Likewise.
42047 * sunrpc/svc.c: Likewise.
42048 * sunrpc/svc_auth.c: Likewise.
42049 * sunrpc/svc_authux.c: Likewise.
42050 * sunrpc/svc_raw.c: Likewise.
42051 * sunrpc/svc_run.c: Likewise.
42052 * sunrpc/svc_simple.c: Likewise.
42053 * sunrpc/svc_tcp.c: Likewise.
42054 * sunrpc/svc_udp.c: Likewise.
42055 * sunrpc/svc_unix.c: Likewise.
42056 * sunrpc/svcauth_des.c: Likewise.
42057 * sunrpc/xcrypt.c: Likewise.
42058 * sunrpc/xdr.c: Likewise.
42059 * sunrpc/xdr_array.c: Likewise.
42060 * sunrpc/xdr_float.c: Likewise.
42061 * sunrpc/xdr_intXX_t.c: Likewise.
42062 * sunrpc/xdr_mem.c: Likewise.
42063 * sunrpc/xdr_rec.c: Likewise.
42064 * sunrpc/xdr_ref.c: Likewise.
42065 * sunrpc/xdr_sizeof.c: Likewise.
42066 * sunrpc/xdr_stdio.c: Likewise.
42067
e6c61494
UD
420682011-04-10 Ulrich Drepper <drepper@gmail.com>
42069
42070 [BZ #12650]
42071 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42072 * sysdeps/ia64/dl-tls.h: Likewise.
42073 * sysdeps/powerpc/dl-tls.h: Likewise.
42074 * sysdeps/s390/dl-tls.h: Likewise.
42075 * sysdeps/sh/dl-tls.h: Likewise.
42076 * sysdeps/sparc/dl-tls.h: Likewise.
42077 * sysdeps/x86_64/dl-tls.h: Likewise.
42078 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42079
34fe483e
AS
420802011-03-14 Andreas Schwab <schwab@redhat.com>
42081
42082 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42083 rpath element also skip the following colon.
42084 (expand_dynamic_string_token): Add is_path parameter and pass
42085 down to DL_DST_REQUIRED and _dl_dst_substitute.
42086 (decompose_rpath): Call expand_dynamic_string_token with
42087 non-zero is_path. Ignore empty rpaths.
42088 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42089 with zero is_path.
42090
f12a32e6
AS
420912011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42092
42093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42094 Make cancelable.
42095
38a7d692
UD
420962011-04-09 Ulrich Drepper <drepper@gmail.com>
42097
42098 [BZ #12655]
42099 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42100 Patch by Filipe David Manana <fdmanana@apache.org>.
42101
e451d22b
AS
421022011-04-07 Andreas Schwab <schwab@redhat.com>
42103
42104 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42105 Maintain aligned stack.
42106 (CHECK_RSP): Remove unused macro.
42107
dedc7c7b
UD
421082011-04-03 Ulrich Drepper <drepper@gmail.com>
42109
42110 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42111 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42112
94521213
UD
421132011-04-02 Ulrich Drepper <drepper@gmail.com>
42114
42115 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42116
8cb700c0 42117 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 42118
0354e355
L
421192011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42120
42121 [BZ #12518]
42122 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42123 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42124 * sysdeps/x86_64/memmove.c: New file.
42125 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42126 (memcpy): Renamed to ...
42127 (__new_memcpy): This.
42128 (memcpy): Provide GLIBC_2_14 memcpy.
42129 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42130 (memcpy): Provide GLIBC_2_2_5 memcpy.
42131
8593482f
UD
421322011-04-01 Ulrich Drepper <drepper@gmail.com>
42133
42134 [BZ #12631]
42135 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42136
81a5726b
AS
421372011-03-30 Andreas Schwab <schwab@redhat.com>
42138
42139 * misc/syncfs.c: New file.
42140 * misc/Makefile (routines): Add syncfs.
42141 * posix/unistd.h: Declare syncfs.
42142 * sysdeps/unix/syscalls.list: Add syncfs.
42143
00e5419f
AS
421442011-04-01 Andreas Schwab <schwab@redhat.com>
42145
42146 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42147 open_by_handle_at.
42148 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42149 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42153 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42154 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42155
748876bf
UD
421562011-04-01 Ulrich Drepper <drepper@gmail.com>
42157
658e451d
UD
42158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42159 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42160 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42162 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42164 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42165
748876bf
UD
42166 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42167 sync_file_range.c with -fexceptions.
42168 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42169 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42170 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42171 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42172 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42173 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42175 sync_file_range as cancellation point
42176 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42177 now a wrapper around __call_sync_file_range with cancellation handling.
42178 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42179 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42180 function name to __call_sync_file_range.
42181 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42182 Add call_sync_file_range.
748876bf 42183
6e63d5e1
AS
421842011-04-01 Andreas Schwab <schwab@redhat.com>
42185
42186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42187 bits/timex.h.
6e63d5e1 42188
46998f74
UD
421892011-04-01 Ulrich Drepper <drepper@gmail.com>
42190
4c1423ed
UD
42191 * iconv/iconv.h: Fix typo in comment.
42192 * io/fcntl.h: Likewise.
42193 * libio/stdio.h: Likewise.
42194 * posix/spawn.h: Likewise.
42195 * posix/unistd.h: Likewise.
42196 * stdlib/stdlib.h: Likewise.
42197 * time/time.h: Likewise.
42198 * wcsmbs/wchar.h: Likewise.
42199
158648c0
UD
42200 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42201 open_by_handle): Add.
42202 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42203 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42204 Augment a few comments.
42205 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42206 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42207 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42209 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42210 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42211 open_by_handle.
42212
46998f74
UD
42213 * io/fcntl.h (AT_EMPTY_PATH): Define.
42214
83fe108b
UD
422152011-03-30 Ulrich Drepper <drepper@gmail.com>
42216
42217 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42218 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42219 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42220 to...
42221 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42222 * Versions.def: Add GLIBC_2.14.
42223 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42224 Export.
83fe108b 42225
bb242059
UD
422262011-03-22 Ulrich Drepper <drepper@gmail.com>
42227
42228 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42229 round counter.
42230 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42231
c97a1282
L
422322011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42233
42234 [BZ #12597]
42235 * string/test-strncmp.c (do_page_test): New function.
42236 (check2): Likewise.
42237 (test_main): Call check2.
42238 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42239
2a115601
UD
422402011-03-20 Ulrich Drepper <drepper@gmail.com>
42241
42242 [BZ #12587]
42243 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42244 Handle cache information in CPU leaf 4.
42245 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42246
8126d904
UD
422472011-03-18 Ulrich Drepper <drepper@gmail.com>
42248
042c49c6 42249 [BZ #12583]
8126d904
UD
42250 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42251 character representation.
42252 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42253
ccfe366e
RA
422542011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42255
42256 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42257 END(__isnan) to END(__isnanf) to match function entry point/label
42258 EALIGN(__isnanf,...).
42259
c6e13027
JJ
422602011-03-10 Jakub Jelinek <jakub@redhat.com>
42261
42262 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42263
33f85a3f
UD
422642011-03-10 Ulrich Drepper <drepper@gmail.com>
42265
028478fa
UD
42266 [BZ #12510]
42267 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42268 copy from the symbol referenced in the relocation to initialize the
42269 used variable.
42270 Patch by Piotr Bury <pbury@goahead.com>.
42271 * elf/Makefile: Add rules to build and tst-unique3.
42272 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42273 * elf/tst-unique3.cc: New file.
42274 * elf/tst-unique3.h: New file.
42275 * elf/tst-unique3lib.cc: New file.
42276 * elf/tst-unique3lib2.cc: New file.
42277
33f85a3f
UD
42278 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42279
03592fc7
MF
422802011-03-10 Mike Frysinger <vapier@gentoo.org>
42281
42282 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42283 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42284 to _start.
03592fc7 42285
6a5ee102
UD
422862011-03-06 Ulrich Drepper <drepper@gmail.com>
42287
42288 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42289 to-be-loaded object along a path to loader is ld.so.
42290
7e4ba49c
HJ
422912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42292 Ulrich Drepper <drepper@gmail.com>
42293
42294 * sysdeps/x86_64/memset.S: After aligning destination, code
42295 branches to different locations depending on the value of
42296 misalignment, when multiarch is enabled. Fix this.
42297
422982011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42299
42300 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42301 Set _x86_64_preferred_memory_instruction for AMD processsors.
42302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42303 Set bit_Prefer_SSE_for_memop for AMD processors.
42304
13a804de
UD
423052011-03-04 Ulrich Drepper <drepper@gmail.com>
42306
42307 * libio/fmemopen.c (fmemopen): Optimize a bit.
42308
9d25c392
AS
423092011-03-03 Andreas Schwab <schwab@redhat.com>
42310
42311 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42312
a5543c6a
RM
423132011-03-03 Roland McGrath <roland@redhat.com>
42314
42315 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42316
012d35f7
DM
423172011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42318
7e4ba49c 42319 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
42320 __bzero_ultra1 instead of __memset_ultra1.
42321
4bff6e01
AS
423222011-02-23 Andreas Schwab <schwab@redhat.com>
42323 Ulrich Drepper <drepper@gmail.com>
42324
42325 [BZ #12509]
42326 * include/link.h (struct link_map): Add l_orig_initfini.
42327 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42328 returning unsuccessfully.
42329 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42330 close of a file loaded at startup, restore the original l_initfini
42331 list.
42332 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42333 list, store the pointer.
42334 * elf/Makefile ($(objpfx)noload-mem): New rule.
42335 (noload-ENV): Define.
42336 (tests): Add $(objpfx)noload-mem.
42337 * elf/noload.c: Include <memcheck.h>.
42338 (main): Call mtrace. Close all opened handles.
42339
f2092faf
AS
423402011-02-17 Andreas Schwab <schwab@redhat.com>
42341
42342 [BZ #12454]
42343 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42344 dependencies are missing.
42345
6c8a2e88
ST
423462011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42347
f2092faf 42348 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
42349 Hurd needs munmap.
42350 * sysdeps/mach/hurd/ifreq.h: New file.
42351
84a42118
PB
423522011-01-27 Petr Baudis <pasky@suse.cz>
42353 Ulrich Drepper <drepper@gmail.com>
42354
071f805e 42355 [BZ 12445]#
84a42118
PB
42356 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42357 to extend_alloca().
42358 * stdio-common/bug23.c: New file.
42359 * stdio-common/Makefile (tests): Add bug23.
42360
e23fe25b
AS
423612010-09-28 Andreas Schwab <schwab@redhat.com>
42362 Ulrich Drepper <drepper@gmail.com>
42363
42364 [BZ #12489]
42365 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42366 before performing relro protection. At old place add assertion
42367 to make sure nothing changed.
42368
d3f02e10
NS
423692011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42370 Glauber de Oliveira Costa <glommer@gmail.com>
42371
42372 * elf/elf.h: Add new ARM TLS relocs.
42373
d55fd7a5
RA
423742011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42375
42376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42377 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42378 cast from r3.
42379 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42380 'tests' variable.
42381 * sysdeps/wordsize-64/tst-writev.c: New file.
42382
2206397e
RA
423832011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42384
42385 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42386 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42387 insns in _dl_start to prevent a TOC reference before relocs are
42388 resolved.
42389
e9433893
UD
423902011-02-15 Ulrich Drepper <drepper@gmail.com>
42391
42392 [BZ #12469]
42393 * Makeconfig: Remove RANLIB definition.
42394 * Makerules: Don't use RANLIB.
42395 * aclocal.m4: Remove ranlib test.
42396 * configure.in: No need to check for ranlib.
42397 * elf/rtld-Rules: Don't use RANLIB.
42398
f75286c6
ST
423992011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42400
8e31c82d
ST
42401 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42402 protection macro.
42403 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42404 inclusion protection macro.
42405
f75286c6
ST
42406 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42407 SIGRTMIN and SIGRTMAX and print information in that case only when
42408 SIGRTMIN is defined.
42409
c1d0e639
JJ
424102011-02-11 Jakub Jelinek <jakub@redhat.com>
42411
42412 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42413 arginfo fn returning -1.
42414
42415 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42416 and thousands string is zero terminated.
42417
edf9294e
AS
424182011-02-03 Andreas Schwab <schwab@redhat.com>
42419
42420 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42421 sysdeps/unix/sysv/linux/bits/socket.h.
42422
2b7e92df
ST
424232011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42424
edf9294e
AS
42425 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42426 (__CPU_COUNT): Remove old macros.
42427 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42428 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42429 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
42430 (__sched_cpualloc, __sched_cpufree): Add declarations.
42431
a4c7ea7b
UD
424322011-02-05 Ulrich Drepper <drepper@gmail.com>
42433
42434 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42435 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42436 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42437 (readdhstai): Return value of addhstaiX call.
42438 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42439 (addgrbyX): Return value returned by cache_addgr.
42440 (readdgrbyname): Return value returned by addgrbyX.
42441 (readdgrbygid): Likewise.
42442 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42443 (addpwbyX): Return value returned by cache_addpw.
42444 (readdpwbyname): Return value returned by addhstbyX.
42445 (readdpwbyuid): Likewise.
42446 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42447 (addservbyX): Return value returned by cache_addserv.
42448 (readdservbyname): Return value returned by addservbyX:
42449 (readdservbyport): Likewise.
42450 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42451 (addhstbyX): Return value returned by cache_addhst.
42452 (readdhstbyname): Return value returned by addhstbyX.
42453 (readdhstbyaddr): Likewise.
42454 (readdhstbynamev6): Likewise.
42455 (readdhstbyaddrv6): Likewise.
42456 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42457 (readdinitgroups): Return value returned by addinitgroupsX.
42458 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42459 (prune_cache): Keep track of timeout value of re-added entries.
42460 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42461 * nscd/nscd.h: Adjust prototypes of readd* functions.
42462
a0bf67cc
RM
424632011-02-04 Roland McGrath <roland@redhat.com>
42464
42465 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42466 (nis_stats): Likewise.
42467 * nis/nis_modify.c (nis_modify): Likewise.
42468 * nis/nis_remove.c (nis_remove): Likewise.
42469 * nis/nis_add.c (nis_add): Likewise.
42470
42471 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42472
42473 * posix/fnmatch_loop.c: Add some consts.
42474
42475 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42476
435b95eb
L
424772011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42478
42479 [BZ #12460]
42480 * config.make.in (config-cflags-novzeroupper): Define.
42481 * configure.in: Substitute libc_cv_cc_novzeroupper.
42482 * elf/Makefile (AVX-CFLAGS): Define.
42483 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42484 (CFLAGS-tst-auditmod4a.c): Likewise.
42485 (CFLAGS-tst-auditmod4b.c): Likewise.
42486 (CFLAGS-tst-auditmod6b.c): Likewise.
42487 (CFLAGS-tst-auditmod6c.c): Likewise.
42488 (CFLAGS-tst-auditmod7b.c): Likewise.
42489 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42490
8517b15e
UD
424912011-02-02 Ulrich Drepper <drepper@gmail.com>
42492
42493 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42494 function to the callback.
42495 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42496
10a656fe
AS
424972011-02-02 Andreas Schwab <schwab@redhat.com>
42498
42499 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42500 of errno.
42501
968dad0a
UD
425022011-01-19 Ulrich Drepper <drepper@gmail.com>
42503
9f94d2ea 42504 [BZ #11724]
968dad0a
UD
42505 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42506 of constructors.
42507 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42508 of destructors.
42509 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42510
42511 [BZ #11724]
42512 * elf/Makefile: Add rules to build and run new test.
42513 * elf/tst-initorder.c: New file.
42514 * elf/tst-initorder.exp: New file.
42515 * elf/tst-initordera1.c: New file.
42516 * elf/tst-initordera2.c: New file.
42517 * elf/tst-initordera3.c: New file.
42518 * elf/tst-initordera4.c: New file.
42519 * elf/tst-initorderb1.c: New file.
42520 * elf/tst-initorderb2.c: New file.
42521 * elf/tst-order-a1.c: New file.
42522 * elf/tst-order-a2.c: New file.
42523 * elf/tst-order-a3.c: New file.
42524 * elf/tst-order-a4.c: New file.
42525 * elf/tst-order-b1.c: New file.
42526 * elf/tst-order-b2.c: New file.
42527 * elf/tst-order-main.c: New file.
42528 New test case by George Gensure <werkt0@gmail.com>.
42529
86e92359
UD
425302010-10-01 Andreas Schwab <schwab@redhat.com>
42531
42532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42533 decoding ACE if AI_CANONIDN.
42534
5d5732b0
UD
425352011-01-18 Ulrich Drepper <drepper@gmail.com>
42536
42537 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42538
a77e8cbc
UD
425392011-01-17 Ulrich Drepper <drepper@gmail.com>
42540
6392473f
UD
42541 * version.h (RELEASE): Bump for 2.13 release.
42542 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42543
620a0529
UD
42544 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42545
18ba70a5
UD
42546 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42547 MADV_NOHUGEPAGE.
32465c3e
UD
42548 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42549 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42550 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42551 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42552 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42553 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42554
c0dafcf1
UD
42555 * posix/getconf.c: Update copyright year.
42556 * catgets/gencat.c: Likewise.
42557 * csu/version.c: Likewise.
42558 * debug/catchsegv.sh: Likewise.
42559 * debug/xtrace.sh: Likewise.
42560 * elf/ldconfig.c: Likewise.
42561 * elf/ldd.bash.in: Likewise.
42562 * elf/sprof.c (print_version): Likewise.
42563 * iconv/iconv_prog.c: Likewise.
42564 * iconv/iconvconfig.c: Likewise.
42565 * locale/programs/locale.c: Likewise.
42566 * locale/programs/localedef.c: Likewise.
42567 * malloc/memusage.sh: Likewise.
42568 * malloc/mtrace.pl: Likewise.
42569 * nscd/nscd.c (print_version): Likewise.
42570 * nss/getent.c: Likewise.
42571
a77e8cbc
UD
42572 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42573 PF_CAIF, and PF_ALG.
42574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42575
77e8bddf
AS
425762011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42577
1f20b93a
AS
42578 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42579 (modules-names): Use them.
42580 (ifunc-test-modules, ifunc-pie-tests): Define.
42581 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42582 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42583 (test-extras): Likewise.
42584 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42585 $(compile-command.c).
42586 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42587 (all-built-dso): Define.
42588 (check-textrel.out, check-execstack.out): Depend on it.
42589
77e8bddf
AS
42590 * configure.in: Don't override --enable-multi-arch.
42591
bc425b33
UD
425922011-01-15 Ulrich Drepper <drepper@gmail.com>
42593
42594 [BZ #6812]
42595 * nscd/hstcache.c (tryagain): Define.
42596 (cache_addhst): Return tryagain not notfound for temporary errors.
42597 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42598 failed.
42599
794c3ad3
UD
426002011-01-14 Ulrich Drepper <drepper@gmail.com>
42601
70181fdd
UD
42602 [BZ #10563]
42603 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42604 to make the syscall.
42605 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42606
794c3ad3
UD
42607 [BZ #12378]
42608 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42609 and fall back to matching as normal character if the string ends before
42610 the matching ']' is found. This is what POSIX requires.
42611 * posix/testfnm.c: Adjust test result.
42612 * posix/globtest.sh: Adjust test result. Add new test.
42613 * posix/tst-fnmatch.input: Likewise.
42614 * posix/tst-fnmatch2.c: Add new test.
42615
68dc9497
AS
426162010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42617
42618 * elf/Makefile (check-execstack): Revert last change. Depend on
42619 check-execstack.h.
42620 (check-execstack.h): New target.
42621 (generated): Add check-execstack.h.
42622 * elf/check-execstack.c: Include "check-execstack.h".
42623 (main): Revert last change.
42624 (handle_file): Return zero if GNU_STACK is absent and
42625 DEFAULT_STACK_PERMS doesn't include PF_X.
42626
451f001b
UD
426272011-01-13 Ulrich Drepper <drepper@gmail.com>
42628
cfa28e56
UD
42629 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42630 in child fails because the descriptor is already closed.
8cf8ce17
UD
42631 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42632 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42633 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42634
1086d70d
UD
42635 [BZ #12397]
42636 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42637 syscall.
42638
451f001b
UD
42639 [BZ #10484]
42640 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42641 temporary buffer used to handle multi lookups locally.
a85b5cb4 42642 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42643
08769175
UD
426442011-01-12 Ulrich Drepper <drepper@gmail.com>
42645
42646 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42647 loader is ld.so.
42648
5e49c52e
UD
426492011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42650
42651 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42652 alignment for SSE2.
42653
60522a5f
UD
426542011-01-12 Ulrich Drepper <drepper@gmail.com>
42655
42656 [BZ #12394]
42657 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42658 characters. When rounding increased number of integer digits recompute
42659 number of groups.
42660 * stdio-common/tst-grouping.c: New file.
42661 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42662
f257bbd7
UD
426632011-01-09 Ulrich Drepper <drepper@gmail.com>
42664
42665 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42666 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42667
42668 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42669 void.
42670 * bits/select.h: Likewise.
42671
fa9c15cb
UD
426722011-01-08 Ulrich Drepper <drepper@gmail.com>
42673
42674 * po/ja.po: Update from translation team.
42675
16c2895f
DM
426762011-01-04 David S. Miller <davem@sunset.davemloft.net>
42677
42678 [BZ #11155]
42679 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42680 implementation just like for lxstat, fxstatat, et al.
42681
2543fef2
JM
426822010-12-27 Jim Meyering <meyering@redhat.com>
42683
42684 [BZ #12348]
42685 * posix/regexec.c (build_trtable): Return failure indication upon
42686 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42687
98727dbe
UD
426882010-12-25 Ulrich Drepper <drepper@gmail.com>
42689
5bd6dc5c
UD
42690 [BZ #12201]
42691 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42692 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42693 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42694 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42695
97983464
UD
42696 [BZ #12207]
42697 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42698
98727dbe
UD
42699 [BZ #12204]
42700 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42701 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42702
4a531bb0
L
427032010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42704
42705 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42706 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42707 script has SORT_BY_INIT_PRIORITY.
42708 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42709 NO_CTORS_DTORS_SECTIONS is defined.
42710 * elf/soinit.c: Likewise.
42711 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42712 NO_CTORS_DTORS_SECTIONS is defined.
42713 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42714 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42715 * sysdeps/sh/init-first.c: Likewise.
42716 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42717
07eb4b71
UD
427182010-12-24 Ulrich Drepper <drepper@gmail.com>
42719
42720 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42721 always use the slow path.
42722
30950a5f
RA
427232010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42724
42725 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42726 similar rule which adds the sysdep directories to the header search in
42727 order to pick up the correct platform stackinfo.h.
42728 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42729 perform test if it is, otherwise return successfully without testing.
42730 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42731 DEFAULT_STACK_PERMS define in stackinfo.h.
42732 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42733 defined in stackinfo.h.
42734 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42735 DEFAULT_STACK_PERMS defined in stackinfo.h.
42736 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42737 * sysdeps/ia64/stackinfo.h: Likewise.
42738 * sysdeps/s390/stackinfo.h: Likewise.
42739 * sysdeps/sh/stackinfo.h: Likewise.
42740 * sysdeps/sparc/stackinfo.h: Likewise.
42741 * sysdeps/x86_64/stackinfo.h: Likewise.
42742 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42743 PF_X for powerpc64. Retain PF_X for powerpc32.
42744
db753e2c
UD
427452010-12-19 Ulrich Drepper <drepper@gmail.com>
42746
14b697f7
UD
42747 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42748 accurately.
db753e2c
UD
42749 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42750 GETDENTS_64BIT_ALIGNED.
42751
28300719
UD
427522010-12-14 Ulrich Drepper <dreper@gmail.com>
42753
14b697f7 42754 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42755
4f197237
AS
427562010-12-10 Andreas Schwab <schwab@redhat.com>
42757
dbb0472f
AS
42758 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42759 _GNU_SOURCE.
42760
4f197237
AS
42761 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42762 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42763 Remove __restrict.
42764 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42765 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42766
fb88ac72
UD
427672010-12-09 Ulrich Drepper <drepper@gmail.com>
42768
42769 [BZ #11655]
42770 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42771 are initialized.
42772
42acbb92
JJ
427732010-12-09 Jakub Jelinek <jakub@redhat.com>
42774
42775 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42776
c038d98d
UD
427772010-12-03 Ulrich Drepper <drepper@gmail.com>
42778
42779 * po/it.po: Update from translation team.
42780
3a4a2499
L
427812010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42782
42783 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42784 unused codes.
42785
1e24cf6e
UD
427862010-11-30 Ulrich Drepper <drepper@gmail.com>
42787
42788 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42789
a7690819
AS
427902010-11-24 Andreas Schwab <schwab@redhat.com>
42791
42792 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42793 specially.
42794 (gaih_getanswer_slice): Likewise.
42795
3bf8d1b1
JJ
427962010-10-20 Jakub Jelinek <jakub@redhat.com>
42797
42798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42799
6db52fbb
PB
428002010-05-31 Petr Baudis <pasky@suse.cz>
42801
42802 [BZ #11149]
42803 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42804 silently even in the chroot mode.
42805
eaca7569
UD
428062010-11-22 Ulrich Drepper <drepper@gmail.com>
42807
42808 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42809 last patch a bit. Pretty printing
42810
3056dcdb
UD
428112010-05-31 Petr Baudis <pasky@suse.cz>
42812
42813 [BZ #10085]
42814 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42815 initialization of skip_initgroups_dyn.
42816
cf7c9078
UD
428172010-11-19 Ulrich Drepper <drepper@gmail.com>
42818
42819 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42820 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42821
a1fb5e3e
UD
428222010-11-16 Ulrich Drepper <drepper@gmail.com>
42823
42824 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42825
3540d66b
AS
428262010-11-11 Andreas Schwab <schwab@redhat.com>
42827
42828 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42829 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42830 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42831 ($(objpfx)tst-fnmatch-mem): New rule.
42832 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42833 * posix/tst-fnmatch.c (main): Call mtrace.
42834
13b69574
L
428352010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42836
42837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42838 Support Intel processor model 6 and model 0x2c.
42839
da93d214
LM
428402010-11-10 Luis Machado <luisgpm@br.ibm.com>
42841
42842 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42843 signed comparison.
42844
8ca52c6e
L
428452010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42846
42847 [BZ #12205]
42848 * string/test-strncasecmp.c (check_result): New function.
42849 (do_one_test): Use it.
42850 (check1): New function.
42851 (test_main): Use it.
42852 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42853 Support strcasecmp and strncasecmp.
42854
69da074d
UD
428552010-11-08 Ulrich Drepper <drepper@gmail.com>
42856
42857 [BZ #12194]
42858 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42859 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42860
ff02d528
L
428612010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42862
42863 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42864 IFUNC support.
42865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42866 memset-x86-64.
42867 * sysdeps/x86_64/multiarch/bzero.S: New file.
42868 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42869 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42870 * sysdeps/x86_64/multiarch/memset.S: New file.
42871 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42873 Set bit_Prefer_SSE_for_memop for Intel processors.
42874 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42875 Define.
42876 (index_Prefer_SSE_for_memop): Define.
42877 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42878
344d0b54
LM
428792010-11-04 Luis Machado <luisgpm@br.ibm.com>
42880
42881 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42882 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42883
c0dde15b
UD
428842010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42885
42886 [BZ #12191]
42887 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42888 (__x86_64_raw_data_cache_size_half): Likewise.
42889 (__x86_64_raw_shared_cache_size): Likewise.
42890 (__x86_64_raw_shared_cache_size_half): Likewise.
42891
42892 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42893 (__x86_64_raw_data_cache_size_half): Likewise.
42894 (__x86_64_raw_shared_cache_size): Likewise.
42895 (__x86_64_raw_shared_cache_size_half): Likewise.
42896 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42897 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42898 and __x86_64_raw_shared_cache_size_half. Round
42899 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42900 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42901 to multiple of 256 bytes.
42902
0e516e0e
MS
429032010-11-03 Ulrich Drepper <drepper@gmail.com>
42904
42905 [BZ #12167]
42906 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42907 of inacessible symlinks. Verify result of symlink before returning it.
42908 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42909 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42910
0e012e87
ER
429112010-10-28 Erich Ritz <erichritz@gmail.com>
42912
42913 * math/math.h (isinf): Fix typo in comment.
42914
de0ff7bc
UD
429152010-11-01 Ulrich Drepper <drepper@gmail.com>
42916
42917 * po/da.po: Update from translation team.
42918
fa41c84d
UD
429192010-10-26 Ulrich Drepper <drepper@gmail.com>
42920
42921 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42922 is added to the list.
42923
f0967738
AK
429242010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42925 Ulrich Drepper <drepper@gmail.com>
42926
42927 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42928 the global list here. Move code to...
42929 (_dl_add_to_namespace_list): ...here. New function.
42930 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42931 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42932 * elf/dl-load.c (lose): Don't remove the element from the list.
42933 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42934 (_dl_map_object): Likewise.
42935
429362010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42937
42938 [BZ #12159]
42939 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42940 into all bytes of SSE register.
42941 Patch by Richard Li <richardpku@gmail.com>.
42942
f0967738 429432010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42944
42945 [BZ #12140]
42946 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42947 perturbing.
42948
d0b9e94f
MB
429492010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42950
42951 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42952 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42953 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42954 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42956 submachine.
42957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42958
8e9f92e9
AS
429592010-10-22 Andreas Schwab <schwab@redhat.com>
42960
42961 * include/dlfcn.h (__RTLD_SECURE): Define.
42962 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42963 mode & __RTLD_SECURE instead.
42964 (open_path): Rename preloaded parameter to secure.
42965 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42966 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42967 * elf/dl-deps.c (openaux): Likewise.
42968 * elf/rtld.c (struct map_args): Remove is_preloaded.
42969 (map_doit): Don't use it.
42970 (dl_main): Likewise.
42971 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42972 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42973
bc96fbda
AS
429742010-09-09 Andreas Schwab <schwab@redhat.com>
42975
42976 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42977 (sysd-rules-targets): Remove duplicates.
42978 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42979 rtld-%.$o dependency.
42980
22cd1c9b
AS
429812010-10-18 Andreas Schwab <schwab@redhat.com>
42982
42983 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42984 _dl_map_object do it.
42985
18edac48
UD
429862010-10-19 Ulrich Drepper <drepper@gmail.com>
42987
42988 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42989 fast fma builtins, define the macros in the C99 standard.
42990 (FP_FAST_FMAF): Likewise.
42991 (FP_FAST_FMAL): Likewise.
42992 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42993
42994 * bits/mathdef.h: Update copyright year.
42995 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42996
d2050124
MM
429972010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42998
42999 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43000 builtins, define the macros in the C99 standard.
43001 (FP_FAST_FMAF): Likewise.
43002 (FP_FAST_FMAL): Likewise.
43003 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43004 multiply/add.
43005 (FP_FAST_FMAF): Likewise.
43006
475facd1
JJ
430072010-10-15 Jakub Jelinek <jakub@redhat.com>
43008
43009 [BZ #3268]
43010 * math/libm-test.inc (fma_test): Some new testcases.
43011 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43012 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43013 y and infinite z. Do multiplication by C already in long double.
43014 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43016 y and infinite z. Do bitwise or of inexact bit into u.d.
43017 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43018 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43019 * sysdeps/i386/fpu/s_fma.S: Removed.
43020 * sysdeps/i386/fpu/s_fmal.S: Removed.
43021
7c08a05c
JJ
430222010-10-16 Jakub Jelinek <jakub@redhat.com>
43023
43024 [BZ #3268]
43025 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43027 computation is not scheduled after fetestexcept. Fix value
43028 of minimum denormal long double.
43029
f3f7372d
JJ
430302010-10-14 Jakub Jelinek <jakub@redhat.com>
43031
43032 [BZ #3268]
43033 * math/libm-test.inc (fma_test): Add some more tests.
43034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43035 correctly.
43036
14d43591
AS
430372010-10-15 Andreas Schwab <schwab@redhat.com>
43038
43039 * scripts/data/localplt-s390-linux-gnu.data: New file.
43040 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43041
5e908464
JJ
430422010-10-13 Jakub Jelinek <jakub@redhat.com>
43043
43044 [BZ #3268]
43045 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43046 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43047 instead of dbl-64.
43048 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43049 inlines.
43050 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43052 if one of x and y is very large and the other is subnormal.
43053 * sysdeps/s390/fpu/s_fmaf.c: New file.
43054 * sysdeps/s390/fpu/s_fma.c: New file.
43055 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43056 * sysdeps/powerpc/fpu/s_fma.S: New file.
43057 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43058 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43059 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43060
430612010-10-12 Jakub Jelinek <jakub@redhat.com>
43062
43063 [BZ #3268]
43064 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43065 fma tests.
43066 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43067 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43068 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43069 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43070 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43071 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43072 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43073
b833d51f
UD
430742010-10-12 Ulrich Drepper <drepper@redhat.com>
43075
43076 [BZ #12078]
43077 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43078 * posix/bug-regex31.input: Add test case.
43079
1751705d
UD
430802010-10-11 Ulrich Drepper <drepper@gmail.com>
43081
e9b9cbf5
UD
43082 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43083 * posix/bug-regex31.input: New file.
43084
43085 [BZ #12078]
43086 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43087 (parse_sub_exp): Fix last change, use postorder.
43088
ef06edbe
UD
43089 * posix/bug-regex31.c: New file.
43090 * posix/Makefile: Add rules to build and run bug-regex31.
43091
a129c80d
UD
43092 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43093
43094 [BZ #12078]
43095 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43096
b76b818e
UD
43097 [BZ #12108]
43098 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43099 to have entries in sys_siglist.
43100
1751705d
UD
43101 [BZ #12093]
43102 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43103 be NULL.
43104
9ff8d36f
JJ
431052010-10-07 Jakub Jelinek <jakub@redhat.com>
43106
43107 [BZ #3268]
43108 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43109 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43110 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43111 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43112 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43113 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43114 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43115 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43116 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43117 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43118 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43119 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43120 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43121 * math/ftestexcept.c (fetestexcept): Likewise.
43122 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43123 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43124 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43125 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43126 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43127 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43128 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43129
af325969
UD
431302010-10-11 Ulrich Drepper <drepper@gmail.com>
43131
c579b202 43132 [BZ #12107]
af325969
UD
43133 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43134 newline.
43135
67a67b95
UD
431362010-10-06 Ulrich Drepper <drepper@gmail.com>
43137
43138 * string/bug-strstr1.c: New file.
43139 * string/Makefile: Add rules to build and run bug-strstr1.
43140
5fb308bc
EB
431412010-10-05 Eric Blake <eblake@redhat.com>
43142
43143 [BZ #12092]
43144 * string/str-two-way.h (two_way_long_needle): Always clear memory
43145 when skipping input due to the shift table.
43146
45db99c7
UD
431472010-10-03 Ulrich Drepper <drepper@gmail.com>
43148
3b111893
UD
43149 [BZ #12005]
43150 * malloc/mcheck.c: Handle large requests.
43151
45db99c7
UD
43152 [BZ #12077]
43153 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43154 for strncmp and strncasecmp.
43155 * string/stratcliff.c: Add tests for strcmp and strncmp.
43156 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43157
cf7a1eb8
NI
431582010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43159
43160 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43161 __set_fpscr.
43162
6484ba5e
AJ
431632010-09-30 Andreas Jaeger <aj@suse.de>
43164
43165 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43166 (CGROUP_SUPER_MAGIC): Define.
43167 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43168 Handle btrfs and cgroup file systems.
43169 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43170 Likewise.
43171
91c42559
LM
431722010-09-27 Luis Machado <luisgpm@br.ibm.com>
43173
43174 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43175 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43176
87a97932
AK
431772010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43178
43179 [BZ #12067]
43180 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43181 trying to locate the ELF header.
43182
c21cc9bc
AS
431832010-09-27 Andreas Schwab <schwab@redhat.com>
43184
43185 [BZ #11611]
43186 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43187 Mask out sign-bit copies when constructing f_fsid.
43188
315970f6
PB
431892010-09-24 Petr Baudis <pasky@suse.cz>
43190
43191 * debug/stack_chk_fail_local.c: Add missing licence exception.
43192 * debug/warning-nop.c: Likewise.
43193
1ac7a2c7
JM
431942010-09-15 Joseph Myers <joseph@codesourcery.com>
43195
43196 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43197 implementing getdents64 using getdents syscall, set d_type if
43198 __ASSUME_GETDENTS32_D_TYPE.
43199
56801c50
AS
432002010-09-16 Andreas Schwab <schwab@redhat.com>
43201
43202 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43203 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43204
dda51327
UD
432052010-09-21 Ulrich Drepper <drepper@redhat.com>
43206
43207 [BZ #12037]
43208 * posix/unistd.h: Undo change of feature selection for ftruncate from
43209 2010-01-11.
43210
8ffcee4a
UD
432112010-09-20 Ulrich Drepper <drepper@redhat.com>
43212
a545ecd9 43213 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43214 detection.
43215
e24f0a8b
AS
432162010-09-20 Andreas Schwab <schwab@redhat.com>
43217
43218 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43219 fanotify_mark.
43220 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43221
7291c56f
AS
432222010-09-14 Andreas Schwab <schwab@redhat.com>
43223
43224 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43225 variables after CHECK_SP call.
43226 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43227
bc5fb037
AS
432282010-09-13 Andreas Schwab <schwab@redhat.com>
43229 Ulrich Drepper <drepper@redhat.com>
43230
43231 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43232 re-relocationg ld.so.
43233 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43234 _dl_init_paths call.
43235 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43236 here anymore.
43237
e66e7419
UD
432382010-09-14 Ulrich Drepper <drepper@redhat.com>
43239
43240 * resolv/res_init.c (__res_vinit): Count the default server we added.
43241
c044aa75
CLT
432422010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43243 Ulrich Drepper <drepper@redhat.com>
43244
43245 [BZ #11968]
43246 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43247 (____longjmp_chk): Use %ebx for saving value across system call.
43248 Add unwind info.
43249
32cf4069
AS
432502010-09-06 Andreas Schwab <schwab@redhat.com>
43251
43252 * manual/Makefile: Don't mix pattern rules with normal rules.
43253
817328ee
AS
432542010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43255
43256 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43257 operation.
43258 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43259 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43260 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43261 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43262 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43263 Likewise.
43264
29fddf61
UD
432652010-09-04 Ulrich Drepper <drepper@redhat.com>
43266
43267 [BZ #11979]
43268 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43269 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43270
0959ffc9
UD
432712010-09-02 Ulrich Drepper <drepper@redhat.com>
43272
43273 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43274 * sysdeps/x86_64/addmul_1.S: Likewise.
43275 * sysdeps/x86_64/lshift.S: Likewise.
43276 * sysdeps/x86_64/mul_1.S: Likewise.
43277 * sysdeps/x86_64/rshift.S: Likewise.
43278 * sysdeps/x86_64/sub_n.S: Likewise.
43279 * sysdeps/x86_64/submul_1.S: Likewise.
43280
ece29840
ST
432812010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43282
0959ffc9
UD
43283 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43284 Define __sched_param instead of SCHED_* and sched_param when
ece29840 43285 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 43286 * bits/sched.h [__need_schedparam]
ece29840 43287 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
43288 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43289 (__defined_schedparam): Define to 1.
ece29840
ST
43290 (__sched_param): New structure, identical to sched_param.
43291 (__need_schedparam): Undefine.
43292
e53a31fe
MF
432932010-08-31 Mike Frysinger <vapier@gentoo.org>
43294
fdc0c10d
MF
43295 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43296 (epoll_create1): Declare.
43297
e53a31fe
MF
43298 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43299
a726d796
AS
433002010-08-31 Andreas Schwab <schwab@redhat.com>
43301
43302 [BZ #7066]
43303 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43304 shifting retval into place.
43305
2f3e3dc7
UD
433062010-09-01 Ulrich Drepper <drepper@redhat.com>
43307
f2933da9
UD
43308 * nis/rpcsvc/nis.h: Update copyright notice.
43309 * nis/rpcsvc/nis.x: Likewise.
43310 * nis/rpcsvc/nis_callback.h: Likewise.
43311 * nis/rpcsvc/nis_callback.x: Likewise.
43312 * nis/rpcsvc/nis_object.x: Likewise.
43313 * nis/rpcsvc/nis_tags.h: Likewise.
43314 * nis/rpcsvc/yp.h: Likewise.
43315 * nis/rpcsvc/yp.x: Likewise.
43316 * nis/rpcsvc/ypupd.h: Likewise.
43317 * nis/yp_xdr.c: Likewise.
43318 * nis/ypupdate_xdr.c: Likewise.
43319
2f3e3dc7
UD
43320 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43321 mainly the body of pmap_getport. Add parameters to specify timeouts.
43322 (pmap_getport): Use __libc_rpc_getport.
43323 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43324 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43325 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43326
f3dcc2f9
AS
433272010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43328
43329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43330 fanotify_mark.
43331
6d34eb5b
RM
433322010-08-27 Roland McGrath <roland@redhat.com>
43333
43334 * sysdeps/i386/i686/multiarch/Makefile
43335 (CFLAGS-varshift.c): New variable.
43336
9ea3de11
UD
433372010-08-27 Ulrich Drepper <drepper@redhat.com>
43338
c96d23fc
UD
43339 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43340 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43341
9ea3de11
UD
43342 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43343
43344 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43345
623aac7f
L
433462010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43347
43348 * sysdeps/x86_64/strlen.S: Unroll the loop.
43349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43350 strlen-sse2 strlen-sse2-bsf.
43351 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43352 __strlen_no_bsf if bit_Slow_BSF is set.
43353 (__strlen_sse42): Removed.
43354 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43355 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43356
8b2b7715
RM
433572010-08-25 Roland McGrath <roland@redhat.com>
43358
43359 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43360 * sysdeps/x86_64/multiarch/varshift.c: New file.
43361 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43362 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43363 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43364 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43365
e73015f2
L
433662010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43367
43368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43369 strlen-sse2 strlen-sse2-bsf.
43370 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43371 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43372 (__strlen_sse2): Removed.
43373 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43374 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43376 bit_Slow_BSF for Atom.
43377 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43378 (index_Slow_BSF): Define.
43379 (HAS_SLOW_BSF): Define.
43380
df24a73e
UD
433812010-08-25 Ulrich Drepper <drepper@redhat.com>
43382
43383 [BZ #10851]
43384 * resolv/res_init.c (__res_vinit): When no server address at all
43385 is given default to loopback.
43386
f2ac4868
RM
433872010-08-24 Roland McGrath <roland@redhat.com>
43388
09055553
RM
43389 * configure.in: Remove config-name.h generation.
43390 * configure: Regenerated.
43391 * config-name.in: File removed.
43392 * scripts/config-uname.sh: New file.
43393 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43394 ($(objdir)config-name.h): New target.
43395
f2ac4868
RM
43396 * sunrpc/rpc_parse.h: Avoid nested comment.
43397
73f27d5e
RH
433982010-08-24 Richard Henderson <rth@redhat.com>
43399 Ulrich Drepper <drepper@redhat.com>
43400 H.J. Lu <hongjiu.lu@intel.com>
43401
43402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43404 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43405 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43406 _mm_alignr_epi8 with _mm_loadu_si128.
43407 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43408 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43409 (__m128i_shift_right): Removed.
43410 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43411 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43412 * sysdeps/x86_64/multiarch/varshift.h: New file.
43413 * sysdeps/x86_64/multiarch/varshift.S: New file.
43414
84b9230c
MF
434152010-08-21 Mike Frysinger <vapier@gentoo.org>
43416
43417 * configure.in: Move assembler checks to before sysdep dir checking.
43418
9bbd0ddc
PB
434192010-08-20 Petr Baudis <pasky@suse.cz>
43420
43421 * LICENSES: Sync the sunrpc license.
43422
9da4bb31
UD
434232010-08-19 Ulrich Drepper <drepper@redhat.com>
43424
a7ab6ec8
UD
43425 * sunrpc/auth_des.c: Update copyright notice once again.
43426 * sunrpc/auth_none.c: Likewise.
43427 * sunrpc/auth_unix.c: Likewise.
43428 * sunrpc/authdes_prot.c: Likewise.
43429 * sunrpc/authuxprot.c: Likewise.
43430 * sunrpc/bindrsvprt.c: Likewise.
43431 * sunrpc/clnt_gen.c: Likewise.
43432 * sunrpc/clnt_perr.c: Likewise.
43433 * sunrpc/clnt_raw.c: Likewise.
43434 * sunrpc/clnt_simp.c: Likewise.
43435 * sunrpc/clnt_tcp.c: Likewise.
43436 * sunrpc/clnt_udp.c: Likewise.
43437 * sunrpc/clnt_unix.c: Likewise.
43438 * sunrpc/des_crypt.c: Likewise.
43439 * sunrpc/des_soft.c: Likewise.
43440 * sunrpc/get_myaddr.c: Likewise.
43441 * sunrpc/getrpcport.c: Likewise.
43442 * sunrpc/key_call.c: Likewise.
43443 * sunrpc/key_prot.c: Likewise.
43444 * sunrpc/openchild.c: Likewise.
43445 * sunrpc/pm_getmaps.c: Likewise.
43446 * sunrpc/pm_getport.c: Likewise.
43447 * sunrpc/pmap_clnt.c: Likewise.
43448 * sunrpc/pmap_prot.c: Likewise.
43449 * sunrpc/pmap_prot2.c: Likewise.
43450 * sunrpc/pmap_rmt.c: Likewise.
43451 * sunrpc/rpc/auth.h: Likewise.
43452 * sunrpc/rpc/auth_unix.h: Likewise.
43453 * sunrpc/rpc/clnt.h: Likewise.
43454 * sunrpc/rpc/des_crypt.h: Likewise.
43455 * sunrpc/rpc/key_prot.h: Likewise.
43456 * sunrpc/rpc/netdb.h: Likewise.
43457 * sunrpc/rpc/pmap_clnt.h: Likewise.
43458 * sunrpc/rpc/pmap_prot.h: Likewise.
43459 * sunrpc/rpc/pmap_rmt.h: Likewise.
43460 * sunrpc/rpc/rpc.h: Likewise.
43461 * sunrpc/rpc/rpc_des.h: Likewise.
43462 * sunrpc/rpc/rpc_msg.h: Likewise.
43463 * sunrpc/rpc/svc.h: Likewise.
43464 * sunrpc/rpc/svc_auth.h: Likewise.
43465 * sunrpc/rpc/types.h: Likewise.
43466 * sunrpc/rpc/xdr.h: Likewise.
43467 * sunrpc/rpc_clntout.c: Likewise.
43468 * sunrpc/rpc_cmsg.c: Likewise.
43469 * sunrpc/rpc_common.c: Likewise.
43470 * sunrpc/rpc_cout.c: Likewise.
43471 * sunrpc/rpc_dtable.c: Likewise.
43472 * sunrpc/rpc_hout.c: Likewise.
43473 * sunrpc/rpc_main.c: Likewise.
43474 * sunrpc/rpc_parse.c: Likewise.
43475 * sunrpc/rpc_parse.h: Likewise.
43476 * sunrpc/rpc_prot.c: Likewise.
43477 * sunrpc/rpc_sample.c: Likewise.
43478 * sunrpc/rpc_scan.c: Likewise.
43479 * sunrpc/rpc_scan.h: Likewise.
43480 * sunrpc/rpc_svcout.c: Likewise.
43481 * sunrpc/rpc_tblout.c: Likewise.
43482 * sunrpc/rpc_util.c: Likewise.
43483 * sunrpc/rpc_util.h: Likewise.
43484 * sunrpc/rpcinfo.c: Likewise.
43485 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43486 * sunrpc/rpcsvc/key_prot.x: Likewise.
43487 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43488 * sunrpc/rpcsvc/mount.x: Likewise.
43489 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43490 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43491 * sunrpc/rpcsvc/rex.x: Likewise.
43492 * sunrpc/rpcsvc/rstat.x: Likewise.
43493 * sunrpc/rpcsvc/rusers.x: Likewise.
43494 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43495 * sunrpc/rpcsvc/spray.x: Likewise.
43496 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43497 * sunrpc/rtime.c: Likewise.
43498 * sunrpc/svc.c: Likewise.
43499 * sunrpc/svc_auth.c: Likewise.
43500 * sunrpc/svc_authux.c: Likewise.
43501 * sunrpc/svc_raw.c: Likewise.
43502 * sunrpc/svc_run.c: Likewise.
43503 * sunrpc/svc_simple.c: Likewise.
43504 * sunrpc/svc_tcp.c: Likewise.
43505 * sunrpc/svc_udp.c: Likewise.
43506 * sunrpc/svc_unix.c: Likewise.
43507 * sunrpc/svcauth_des.c: Likewise.
43508 * sunrpc/xcrypt.c: Likewise.
43509 * sunrpc/xdr.c: Likewise.
43510 * sunrpc/xdr_array.c: Likewise.
43511 * sunrpc/xdr_float.c: Likewise.
43512 * sunrpc/xdr_mem.c: Likewise.
43513 * sunrpc/xdr_rec.c: Likewise.
43514 * sunrpc/xdr_ref.c: Likewise.
43515 * sunrpc/xdr_sizeof.c: Likewise.
43516 * sunrpc/xdr_stdio.c: Likewise.
43517
9da4bb31
UD
43518 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43519 handling.
43520
bdaa77bc
AS
435212010-08-19 Andreas Schwab <schwab@redhat.com>
43522
43523 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43524
fe2f79db
LM
435252010-08-19 Luis Machado <luisgpm@br.ibm.com>
43526
43527 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43528 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43529 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43530 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43531 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43532 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43533 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43534 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43535 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43536 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43537 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43538 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43539 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43540 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43541
b9b42ee0
AB
435422010-07-26 Anton Blanchard <anton@samba.org>
43543
43544 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43545 * malloc/arena.c (heap_trim): Likewise.
43546
1c06ba31
UD
435472010-08-16 Ulrich Drepper <drepper@redhat.com>
43548
43549 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43550 here. Not...
43551 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43552 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43553
f8392f40
L
435542010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43555
43556 * sysdeps/i386/elf/Makefile: New file.
43557
3162f12e
AS
435582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43559
43560 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43561 from fanotify_init.
43562 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43563 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43564
28c90b2c
UD
435652010-08-15 Ulrich Drepper <drepper@redhat.com>
43566
43567 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43568 of strncasecmp_l.
1feccb6c 43569 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43570
ca6bb004
UD
435712010-08-14 Ulrich Drepper <drepper@redhat.com>
43572
e9f82e0d
UD
43573 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43574 strncase_l-nonascii.
43575 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43576 Add strncase_l-ssse3.
43577 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43578 * sysdeps/x86_64/strcmp.S: Likewise.
43579 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43580 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43581 * sysdeps/x86_64/strncase.S: New file.
43582 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43583 * sysdeps/x86_64/strncase_l.S: New file.
43584 * string/Makefile (strop-tests): Add strncasecmp.
43585 * string/test-strncasecmp.c: New file.
43586
43587 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43588 warning.
43589
ca6bb004
UD
43590 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43591 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43592
052fa7b3
AS
435932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43594
43595 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43596
962dba78
UD
435972010-08-12 Ulrich Drepper <drepper@redhat.com>
43598
43599 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43600 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43601 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43602
bebff237
AM
436032010-05-01 Alan Modra <amodra@gmail.com>
43604
43605 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43606 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43607 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43608 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43609 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43610 tidying. Don't tail-call __sigjmp_save for static lib.
43611 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43612 save location.
43613 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43614 (CALL_MCOUNT): Add eh info, and nop after bl.
43615 (TAIL_CALL_SYSCALL_ERROR): New macro.
43616 (PSEUDO_RET): Use it.
43617 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43618 Correct save location of integer regs and cr.
43619 (_dl_profile_resolve): Correct cr save location. Delete nops
43620 after bl when SHARED. Reduce cfi size a little by better
43621 placement of cfi directives.
43622 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43623 make a stack frame. Instead use parm save area as a temp.
43624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43625 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43627 Don't make a stack frame for parent, use parm save area.
43628 Increase child stack frame to 112 bytes. Don't save unused reg,
43629 and adjust reg usage. Set up cfi on error recovery and
43630 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43632 (__makecontext): Add dummy nop after jump to exit.
43633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43634 Use correct parm save area and cr save, reduce stack frame.
43635 Correct cfi for possible PSEUDO_RET frame setup.
43636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43637 Branch to local label emitted by PSEUDO_RET rather than
43638 __syscall_error.
43639
02637374
AS
436402010-08-12 Andreas Schwab <schwab@redhat.com>
43641
43642 [BZ #11904]
43643 * locale/programs/locale.c (print_assignment): New function.
43644 (show_locale_vars): Use it.
43645
c3e2f19b
UD
436462010-08-11 Ulrich Drepper <drepper@redhat.com>
43647
3cdaa6ad
UD
43648 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43649 field.
43650 (struct statfs64): Likewise.
43651 (_STATFS_F_FLAGS): Define.
43652 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43653 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43654 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43655 (ST_VALID): Define locally.
43656 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43657 __statvfs_getflags, use the provided value.
43658 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43659 __ASSUME_STATFS_F_FLAGS.
43660
754f7da3
UD
43661 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43662
10b3bedc
UD
43663 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43664 Add sys/fanotify.h.
43665 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43666 fanotify_mask for GLIBC_2.13.
43667 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43668 fanotify_init and fanotify_mark.
43669 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43670 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43671
c08fb0d7
UD
43672 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43673 Add prlimit.
43674 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43675 prlimit64 for GLIBC_2.13.
43676 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43677 prlimit64.
43678 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43679 syscall.
43680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43681 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43682 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43683 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43684 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43685 add prlimit alias.
43686 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43687
15bac72b
UD
43688 [BZ #11903]
43689 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43690 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43691
c3e2f19b
UD
43692 * nss/Makefile: Add rules to build and run tst-nss-test1.
43693 * shlib-versions: Add entry for libnss_test1.
43694 * nss/nss_test1.c: New file.
43695 * nss/tst-nss-test1.c: New file.
43696
43697 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43698 (__nss_configure_lookup): Set appropriate entry in
43699 __nss_configure_lookup to true.
43700 * nss/nsswitch.h: Define enum with indeces of databases in
43701 databases and __nss_database_custom arrays. Declare
43702 __nss_database_custom.
43703 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43704 to avoid using nscd when custom rules are installed.
43705 * nss/getXXbyYY_r.c: Likewise.
43706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43707
43708 * nss/nss_files/files-parse.c: Whitespace fixes.
43709
f15ce4d8
UD
437102010-08-09 Ulrich Drepper <drepper@redhat.com>
43711
43712 [BZ #11883]
43713 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43714 * posix/fnmatch_loop.c: Likewise.
43715
d22e4cc9
AK
437162010-07-17 Andi Kleen <ak@linux.intel.com>
43717
43718 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43719 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43720 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43721 * Versions.def [GLIBC_2.13]: Add.
43722
805bc17d
UD
437232010-08-06 Ulrich Drepper <drepper@redhat.com>
43724
43725 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43726 Also fail if tpwd after pwuid call is NULL.
43727
5a42321d
ST
437282010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43729
43730 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43731 when converting to ms.
43732
fd3ebeda
ST
437332010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43734
43735 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43736 EOPNOTSUPP errors with ENOTTY.
43737 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43738 EOPNOTSUPP errors with ENOTTY.
43739
73507d3a
UD
437402010-07-31 Ulrich Drepper <drepper@redhat.com>
43741
43742 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43743 Add strcasecmp_l-ssse3.
43744 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43745 strcasecmp.
43746 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43747 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43748 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43749
fe36dd02
UD
437502010-07-30 Ulrich Drepper <drepper@redhat.com>
43751
66f6765a
UD
43752 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43753
42e08a54
UD
43754 * string/Makefile (strop-tests): Add strcasecmp.
43755 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43756 strcasecmp_l-nonascii.
43757 (gen-as-const-headers): Add locale-defines.sym.
43758 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43759 * sysdeps/x86_64/strcasecmp.S: New file.
43760 * sysdeps/x86_64/strcasecmp_l.S: New file.
43761 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43762 * sysdeps/x86_64/locale-defines.sym: New file.
43763 * string/test-strcasecmp.c: New file.
43764
fe36dd02
UD
43765 * string/test-strcasestr.c: Test both ends of the range of characters.
43766 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43767
48cbc0d6
RM
437682010-07-29 Roland McGrath <roland@redhat.com>
43769
76e6d6bc 43770 [BZ #11856]
48cbc0d6
RM
43771 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43772
880113d9
UD
437732010-07-27 Ulrich Drepper <drepper@redhat.com>
43774
43775 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43776 for ld.so.
43777
deb9cabb
AS
437782010-07-27 Andreas Schwab <schwab@redhat.com>
43779
43780 * manual/memory.texi (Malloc Tunable Parameters): Document
43781 M_PERTURB.
43782
1c7570ff
RM
437832010-07-26 Roland McGrath <roland@redhat.com>
43784
43785 [BZ #11840]
43786 * configure.in (-fgnu89-inline check): Set and substitute
43787 gnu89_inline, not libc_cv_gnu89_inline.
43788 * configure: Regenerated.
43789 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43790
24fb0f88
UD
437912010-07-26 Ulrich Drepper <drepper@redhat.com>
43792
43793 * string/test-strnlen.c: New file.
43794 * string/Makefile (strop-tests): Add strnlen.
43795 * string/tester.c (test_strnlen): Add a few more test cases.
43796 * string/tst-strlen.c: Better error reporting.
43797
43798 * sysdeps/x86_64/strnlen.S: New file.
43799
8e96b93a
UD
438002010-07-24 Ulrich Drepper <drepper@redhat.com>
43801
43802 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43803 lower-latency instructions.
43804
dbc676d4
UD
438052010-07-23 Ulrich Drepper <drepper@redhat.com>
43806
43807 * string/test-strcasestr.c: New file.
43808 * string/test-strstr.c: New file.
43809 * string/Makefile (strop-tests): Add strstr and strcasestr.
43810 * string/str-two-way.h: Don't undefine MAX.
43811 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43812
f6a31e0e
AS
438132010-07-21 Andreas Schwab <schwab@redhat.com>
43814
43815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43816 strcasestr-nonascii.
43817 (CFLAGS-strcasestr-nonascii.c): Define.
43818 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43819 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43820 Remove unused attribute.
43821
5dbc3b6c
RM
438222010-07-20 Roland McGrath <roland@redhat.com>
43823
43824 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43825 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43826 ld.so.cache was broken. With it, there is no way to disable dsocaps
43827 like LD_HWCAP_MASK can disable hwcaps.
43828
23d101d8
EPM
438292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43830
43831 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43832
cc9f2e47
UD
438332010-07-16 Ulrich Drepper <drepper@redhat.com>
43834
43835 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43836 call in strcasestr.
43837 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43838 __strcasestr_sse42_nonascii.
43839 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43840 strcasestr-nonascii.c.
43841 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43842
77c1b069
LM
438432010-06-15 Luis Machado <luisgpm@br.ibm.com>
43844
43845 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43846 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43847 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43848 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43849
440566c3
UD
438502010-07-09 Ulrich Drepper <drepper@redhat.com>
43851
43852 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43853 fcntl.
43854
5be9d05d
AS
438552010-07-06 Andreas Schwab <schwab@redhat.com>
43856
c30b7ee2 43857 [BZ #11577]
5be9d05d
AS
43858 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43859 dl_signal_cerror.
43860
8a492a67
UD
438612010-07-06 Ulrich Drepper <drepper@redhat.com>
43862
43863 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43864 _PC_PIPE_BUF using F_GETPIPE_SZ.
43865
713df3d5
RM
438662010-07-05 Roland McGrath <roland@redhat.com>
43867
43868 * manual/arith.texi (Rounding Functions): Fix rint description
43869 implicit in round description.
43870
702e8f14
UD
438712010-07-02 Ulrich Drepper <drepper@redhat.com>
43872
43873 * elf/Makefile: Fix linking for a few tests to make recent linker
43874 happy.
43875
52ed8be9
AS
438762010-06-30 Andreas Schwab <schwab@redhat.com>
43877
43878 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43879 $(common-objpfx)libc_nonshared.a.
43880
f47c9a11
LM
438812010-06-21 Luis Machado <luisgpm@br.ibm.com>
43882
43883 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43884 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43885 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43886 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43887 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43888 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43889 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43890 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43905 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43906 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43907 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43908 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43909 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43910 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43911 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43912 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43913 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43914 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43915 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43916 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43931
6fb8cbcb
L
439322010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43933
43934 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43935 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43936 * string/memmove.c (memmove): Renamed to ...
43937 (MEMMOVE): ...this. Default to memmove.
43938 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43939 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43940 (END_CHK): Define.
43941 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43942 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43943 mempcpy-ssse3-back memmove-ssse3-back.
43944 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43945 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43946 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43947 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43948 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43949 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43950 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43951 * sysdeps/x86_64/multiarch/memmove.c: New file.
43952 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43953 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43954 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43955 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43956 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43957 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43958 Define.
43959 (index_Fast_Copy_Backward): Define.
43960 (HAS_ARCH_FEATURE): Define.
43961 (HAS_FAST_REP_STRING): Define.
43962 (HAS_FAST_COPY_BACKWARD): Define.
43963
4e733bac 439642010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43965
43966 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43967 Restore proper fallback handling.
43968
63c4ed22
UD
439692010-06-19 Ulrich Drepper <drepper@redhat.com>
43970
ac2b484c
UD
43971 [BZ #11701]
43972 * posix/group_member.c (__group_member): Correct checking loop.
43973
63c4ed22
UD
43974 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43975 OOM in getpwuid_r correctly. Return error number when the caller
43976 should return, otherwise -1.
43977 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43978 call returning > 0 value.
43979 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43980
765ade4b
AS
439812010-06-07 Andreas Schwab <schwab@redhat.com>
43982
43983 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43984 libc_nonshared.a from targets in modules-names.
43985
80da2e09
KS
439862010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43987
43988 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43989 requires it.
43990
158db122
LM
439912010-06-10 Luis Machado <luisgpm@br.ibm.com>
43992
43993 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43994 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43995 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43997
caa78cf8
AS
439982010-06-02 Andreas Schwab <schwab@redhat.com>
43999
44000 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44001
b2ef2c01
UD
440022010-06-14 Ulrich Drepper <drepper@redhat.com>
44003
44004 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44005 and F_GETPIPE_SZ.
44006 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44007 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44008 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44010 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44011 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44012
fbd643b6
RM
440132010-06-14 Roland McGrath <roland@redhat.com>
44014
44015 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44016
f32f2869
JJ
440172010-06-07 Jakub Jelinek <jakub@redhat.com>
44018
44019 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44020 __REDIRECT followed by __THROW.
44021 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44022 * posix/getopt.h (getopt): Likewise.
44023
2a50c078
EPM
440242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44025
44026 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44027 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44028 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44029 in AT_FLAGS.
44030 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44031 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44032
eb5ad2eb
LM
440332010-05-28 Luis Machado <luisgpm@br.ibm.com>
44034
44035 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44036
3c88fe1e
L
440372010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44038
44039 [BZ #11640]
44040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44041 Properly check family and model.
44042
d2f73151
TY
440432010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44044
44045 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44046
ebd2e13d
LM
440472010-05-24 Luis Machado <luisgpm@br.ibm.com>
44048
44049 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44050
b32b8b45
UD
440512010-05-21 Ulrich Drepper <drepper@redhat.com>
44052
44053 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44054 symbol reference.
44055
9acbe24d
AS
440562010-05-19 Andreas Schwab <schwab@redhat.com>
44057
44058 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44059 symbol reference.
44060
f0ccf6ea
AS
440612010-05-21 Andreas Schwab <schwab@redhat.com>
44062
3d04ff3a
AS
44063 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44064 and internal_recvmmsg.
44065 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44066 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44067 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44068 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44069
f0ccf6ea
AS
44070 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44071 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44072 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44073
5b08ac57
AS
440742010-05-20 Andreas Schwab <schwab@redhat.com>
44075
44076 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44077
4828935d
LM
440782010-05-17 Luis Machado <luisgpm@br.ibm.com>
44079
44080 POWER7 optimizations.
44081 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44082 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44083
373d545e
UD
440842010-05-19 Ulrich Drepper <drepper@redhat.com>
44085
44086 * version.h: Update for 2.13 development version.
44087
21a2b1ae
AS
440882010-05-12 Andrew Stubbs <ams@codesourcery.com>
44089
44090 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44091 exceptions. Return 0.
44092
3f7dcb2b
RM
440932010-05-07 Roland McGrath <roland@redhat.com>
44094
44095 * elf/ldconfig.c (main): Add a const.
44096
5f24d53a 440972010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 44098
a160f8d8
UD
44099 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44100 (args_options): Add no-idn option.
44101 (ahosts_keys_int): Add idn_flags to ai_flags.
44102 (parse_option): Handle 'i' option to clear idn_flags.
44103
5f24d53a
UD
44104 * malloc/malloc.c (_int_free): Possible race in the most recently
44105 added check. Only act on the data if no current modification
44106 happened.
265bb1ce
UD
44107
44108See ChangeLog.17 for earlier changes.