1 2014-06-23 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
21 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
27 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
37 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
39 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
41 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
42 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
44 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
46 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
48 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
51 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
52 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
54 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
55 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
57 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
58 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
60 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
61 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
63 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
64 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
66 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
67 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
68 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
70 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
72 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
73 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
75 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
77 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
79 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
81 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
83 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
85 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
87 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
90 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
91 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
93 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
97 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
99 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
177 2014-06-23 Will Newton <will.newton@linaro.org>
178 Wilco <wdijkstr@arm.com>
180 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
181 implementation. Include get-rounding-mode.h.
182 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
183 [!libc_feholdsetround_noex_ctx]: Define
184 libc_feholdsetround_noex_ctx.
185 [!libc_feholdsetround_noexf_ctx]: Define
186 libc_feholdsetround_noexf_ctx.
187 [!libc_feholdsetround_noexl_ctx]: Define
188 libc_feholdsetround_noexl_ctx.
189 (libc_feholdsetround_ctx): New function.
190 (libc_feresetround_ctx): New function.
191 (libc_feholdsetround_noex_ctx): New function.
192 (libc_feresetround_noex_ctx): New function.
194 2014-06-23 Roland McGrath <roland@hack.frob.com>
196 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
197 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
198 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
199 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
200 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
201 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
203 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
204 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
205 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
206 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
207 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
208 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
209 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
210 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
211 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
212 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
213 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
215 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
217 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
218 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
220 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
223 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
225 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
226 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
227 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
228 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
229 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
230 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
232 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
233 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
235 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
236 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
237 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
238 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
240 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
241 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
242 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
243 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
244 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
245 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
246 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
247 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
248 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
249 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
251 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
253 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
254 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
255 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
256 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
257 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
258 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
259 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
260 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
261 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
262 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
263 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
264 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
265 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
267 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
268 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
269 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
270 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
271 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
272 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
274 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
275 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
276 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
277 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
278 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
280 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
281 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
282 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
283 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
284 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
285 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
286 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
287 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
288 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
289 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
290 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
291 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
292 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
293 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
294 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
295 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
296 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
297 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
298 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
299 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
300 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
301 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
302 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
303 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
304 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
305 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
306 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
307 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
309 2014-06-23 Joseph Myers <joseph@codesourcery.com>
311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
312 (FALLOC_FL_COLLAPSE_RANGE): New macro.
313 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
314 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
315 (IPV6_PMTUDISC_INTERFACE): Likewise.
316 (IPV6_PMTUDISC_OMIT): Likewise.
318 2014-06-23 Andreas Schwab <schwab@suse.de>
320 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
321 Remove unused errout label.
323 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
325 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
326 macro: hardware supports Vector Crypto instructions.
328 2014-06-23 Will Newton <will.newton@linaro.org>
330 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
331 rather than __builtin_expect.
333 * elf/dl-lookup.c (undefined_msg): Remove variable.
334 (_dl_lookup_symbol_x): Replace undefined_msg with string
337 * elf/dl-lookup.c (do_lookup_unique): New function.
338 (do_lookup_x): Move STB_GNU_UNIQUE handling code
339 to a separate function.
341 2014-06-23 Andreas Schwab <schwab@suse.de>
344 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
345 before reading the next line.
347 2014-06-23 Will Newton <will.newton@linaro.org>
349 * test-skeleton.c (signal_handler): Use printf and %m
350 rather than perror. Use printf rather than fprintf to
351 stderr. Use puts rather than fputs to stderr.
354 2014-06-22 Ludovic Courtès <ludo@gnu.org>
356 * nscd/nscd.c (thread_info_t): Remove typedef.
357 (thread_info): Remove variable.
359 2014-06-21 Allan McRae <allan@archlinux.org>
361 * NEWS: Mention CVE-2014-4043.
363 2014-06-20 Roland McGrath <roland@hack.frob.com>
365 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
366 * nptl/smp.h: ... here.
368 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
370 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
371 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
372 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
373 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
375 * nptl/allocatestack.c: Include <stack-aliasing.h>.
376 * nptl/stack-aliasing.h: New file.
377 * sysdeps/i386/i686/stack-aliasing.h: New file.
378 * sysdeps/i386/i686/nptl/Makefile: File removed.
379 * sysdeps/x86_64/stack-aliasing.h: New file.
380 * sysdeps/x86_64/nptl/Makefile
381 (CFLAGS-pthread_create.c): Variable removed.
383 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
384 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
386 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
387 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
390 2014-06-21 Joseph Myers <joseph@codesourcery.com>
392 * sysdeps/unix/sysv/linux/arm/kernel-features.h
393 (__ASSUME_SIGFRAME_V2): Remove macro.
394 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
395 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
396 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
397 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
398 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
399 Declare as function. Remove conditional macro definitions.
400 (__default_rt_sa_restorer): Likewise.
401 (__default_sa_restorer_v1): Remove declaration.
402 (__default_sa_restorer_v2): Likewise.
403 (__default_rt_sa_restorer_v1): Likewise.
404 (__default_rt_sa_restorer_v2): Likewise.
405 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
406 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
407 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
409 2014-06-20 Roland McGrath <roland@hack.frob.com>
411 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
412 (libpthread-routines): Add sysdep.
413 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
414 * sysdeps/unix/sysv/linux/sparc/Versions
415 (libpthread: GLIBC_2.3.3): New version set.
416 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
417 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
418 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
419 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
420 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
421 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
423 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
424 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
425 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
426 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
427 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
428 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
429 * sysdeps/sparc/nptl/sem_init.c: ... here.
430 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
431 * sysdeps/sparc/nptl/sem_post.c: ... here.
432 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
433 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
434 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
435 * sysdeps/sparc/nptl/sem_wait.c: ... here.
436 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
437 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
438 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
439 (libpthread-routines): Add cpu_relax.
440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
442 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
443 (librt: GLIBC_2.3.3): New version set.
444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
445 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
446 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
447 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
450 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
453 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
455 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
457 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
459 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
461 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
464 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
468 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
472 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
476 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
480 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
484 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
487 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
491 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
493 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
495 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
498 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
500 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
502 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
504 2014-06-20 Joseph Myers <joseph@codesourcery.com>
506 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
507 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
508 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
509 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
510 * nscd/nscd.c: Likewise.
511 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
512 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
513 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
514 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
516 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
518 (init_mq_netlink): Remove conditional have_sock_cloexec
519 definitions. Remove code conditional on have_sock_cloexec < 0.
520 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
521 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
522 * sysdeps/unix/sysv/linux/opensock.c: Do not include
524 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
525 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
527 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
529 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
530 Add tests for memset_chk and memset.
532 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
535 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
538 * elf/tst-dl-iter-static.c: New file.
539 * elf/Makefile (tests-static): Add tst-dl-iter-static.
541 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
544 2014-06-20 Joseph Myers <joseph@codesourcery.com>
546 * sysdeps/unix/sysv/linux/kernel-features.h
547 (__ASSUME_F_GETOWN_EX): Remove macro.
548 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
550 (miss_F_GETOWN_EX): Remove variable or macro.
551 (do_fcntl): Do not check miss_F_GETOWN_EX.
552 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
554 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
557 [!__ASSUME_AT_RANDOM]: Remove conditional code.
558 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
560 * sysdeps/unix/sysv/linux/kernel-features.h
561 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
562 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
563 [ADJ_OFFSET_SS_READ]: Make code unconditional.
564 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
566 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
569 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
570 Fix calculation of the symbol's value.
571 * sysdeps/arm/tst-armtlsdescloc.c: New file.
572 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
573 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
574 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
575 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
576 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
577 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
578 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
579 (modules-names): Add `tst-armtlsdescmod',
580 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
581 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
582 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
583 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
584 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
585 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
586 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
587 ($(objpfx)tst-armtlsdescloc): New dependency.
588 ($(objpfx)tst-armtlsdescextnow): Likewise.
589 ($(objpfx)tst-armtlsdescextlazy): Likewise.
590 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
592 * sysdeps/arm/configure: Regenerate.
594 2014-06-20 Joseph Myers <joseph@codesourcery.com>
596 * include/fcntl.h (__atfct_seterrno): Remove prototype.
597 (__atfct_seterrno_2): Likewise.
598 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
600 (__ASSUME_ATFCTS): Do not undefine and redefine.
601 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
602 (__have_atfcts): Remove conditional definition.
603 (__fxstatat([__NR_fstatat64]: Make code unconditional.
604 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
605 unreachable if [__ASSUME_ATFCTS].
606 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
607 not undefine and redefine.
608 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
610 (faccessat) [__NR_faccessat]: Make code unconditional.
611 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
612 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
614 (fchmodat) [__NR_fchmodat]: Make code unconditional.
615 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
616 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
618 (fchownat) [__NR_fchownat]: Make code unconditional.
619 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
620 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
622 (futimesat) [__NR_futimesat]: Make code unconditional.
623 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
624 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
626 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
627 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
628 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
630 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
631 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
632 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
633 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
635 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
636 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
637 * sysdeps/unix/sysv/linux/linkat.c: Do not include
639 (linkat) [__NR_linkat]: Make code unconditional.
640 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
641 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
642 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
644 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
645 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
646 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
648 (mkdirat) [__NR_mkdirat]: Make code unconditional.
649 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
650 * sysdeps/unix/sysv/linux/openat.c: Do not include
652 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
653 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
654 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
655 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
656 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
657 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
659 (readlinkat) [__NR_readlinkat]: Make code unconditional.
660 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
661 result of INLINE_SYSCALL directly, not via int variable.
662 * sysdeps/unix/sysv/linux/renameat.c: Do not include
664 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
665 (renameat) [__NR_renameat]: Make code unconditional.
666 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
667 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
668 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
669 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
670 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
671 (__ASSUME_ATFCTS): Do not undefine and redefine.
672 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
674 (symlinkat) [__NR_symlinkat]: Make code unconditional.
675 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
676 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
678 (unlinkat) [__NR_unlinkat]: Make code unconditional.
679 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
680 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
681 (__ASSUME_ATFCTS): Do not undefine and redefine.
682 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
684 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
685 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
686 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
688 (__xmknodat) [__NR_mknodat]: Make code unconditional.
689 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
691 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
693 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
695 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
698 * posix/regcomp.c (parse_reg_exp): Deallocate partially
699 constructed tree before returning error.
700 * posix/bug-regexp36.c: Expand test case.
702 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
705 * math/libm-test.inc (scalbln_test_date):
706 Add errno expectations.
707 * math/w_scalblnf.c: New File.
708 Add wrapper which checks for setting errno to ERANGE.
709 Add weak_alias for corresponding scalbln function.
710 * math/w_scalbln.c: Likewise.
711 * math/w_scalblnl.c: Likewise.
712 * math/Makefile (libm-calls): Add w_scalbln.
713 * sysdeps/ieee754/flt-32/s_scalblnf.c:
714 Remove weak_alias for corresponding scalbln function.
715 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
716 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
717 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
718 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
719 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
720 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
721 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
722 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
723 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
724 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
725 Remove long_double_symbol for scalblnl function in libm, libc.
726 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
727 Add wrapper which checks for setting errno to ERANGE.
728 Add long_double_symbol for scalblnl function in libm, libc.
729 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
730 Remove long_double_symbol for scalblnl in libm.
731 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
732 Add wrapper which checks for setting errno to ERANGE.
733 Add long_double_symbol for scalblnl function in libm.
734 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
735 Do not use wrapper because of own implementation.
737 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
739 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
740 3 bytes for __pad1 for x32.
741 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
743 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
744 H.J. Lu <hongjiu.lu@intel.com>
746 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
747 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
748 * sysdeps/x86_64/multiarch/memset.S: Likewise.
749 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
750 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
752 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
755 * posix/regcomp.c (parse_expression): Deallocate partially
756 constructed tree before returning error.
757 * posix/Makefile.c (tests): Add bug-regex36.
758 (generated): Add bug-regex36.mtrace.
759 (tests-special): Add $(objpfx)bug-regex36-mem.out
760 (bug-regex36-ENV): New variable.
761 ($(objpfx)bug-regex36-mem.out): New rule.
762 * posix/bug-regex36.c: New file.
764 2014-06-19 Will Newton <will.newton@linaro.org>
766 * malloc/malloc.c (systrim): If extra is zero then return
769 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
771 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
773 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
775 * sysdeps/aarch64/strchr.S: New file.
777 2014-06-18 Joseph Myers <joseph@codesourcery.com>
780 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
781 from arguments -2 or below.
782 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
783 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
785 2014-06-18 Andreas Schwab <schwab@suse.de>
788 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
789 of a bracket expr not to run off the end of the string.
790 * posix/Makefile (tests): Add tst-fnmatch3.
791 * posix/tst-fnmatch3.c: New file.
793 2014-06-18 Joseph Myers <joseph@codesourcery.com>
795 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
796 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
797 [$(cross-compiling) = no]: Likewise.
798 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
799 [$(cross-compiling) = no]: Likewise.
801 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
804 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
805 double, adjusted for any remainder from the high double.
806 * math/libm-test.inc (nearbyint): Add tests.
809 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811 * nptl/sysdeps/powerpc/Makefile: Moved ...
812 * sysdeps/powerpc/nptl/Makefile: ... here.
813 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
814 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
815 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
816 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
817 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
818 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
819 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
820 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
821 * nptl/sysdeps/powerpc/tls.h: Moved ...
822 * sysdeps/powerpc/nptl/tls.h: ... here.
824 2014-06-16 Joseph Myers <joseph@codesourcery.com>
827 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
828 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
829 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
830 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
831 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
832 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
833 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
834 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
835 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
837 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
839 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
841 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
843 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
846 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
849 2014-06-16 Florian Weimer <fweimer@redhat.com>
852 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
853 non-executed part of the test.
855 2014-06-16 Andreas Schwab <schwab@suse.de>
857 * string/bits/string2.h (strdup, strndup): Update feature guard.
859 2014-06-14 David S. Miller <davem@davemloft.net>
861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
863 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
865 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
866 that was previously under [RESET_PID].
867 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
869 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
870 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
871 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
872 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
873 (__libc_vfork): New strong alias.
874 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
876 2014-06-14 Andi Kleen <ak@linux.intel.com>
878 * sysdeps/generic/elide.h: New file.
880 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
882 * Makefile (installed-headers): Adjust path of pthread.h header.
884 2014-06-13 Roland McGrath <roland@hack.frob.com>
886 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
887 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
888 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
889 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
891 * nptl/sysdeps/s390/Makefile: Moved ...
892 * sysdeps/s390/nptl/Makefile: ... here.
893 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
894 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
895 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
896 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
897 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
898 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
899 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
900 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
901 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
902 * sysdeps/s390/nptl/pthreaddef.h: ... here.
903 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
904 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
905 * nptl/sysdeps/s390/tls.h: Moved ...
906 * sysdeps/s390/nptl/tls.h: ... here.
908 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
909 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
911 2014-06-13 David S. Miller <davem@davemloft.net>
913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
916 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
920 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
921 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
922 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
923 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
924 Remove RESET_PID cpp guards.
925 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
926 Remove RESET_PID cpp guards.
927 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
929 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
931 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
934 2014-06-13 Andi Kleen <ak@linux.intel.com>
936 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
937 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
938 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
939 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
940 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
941 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
942 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
943 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
944 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
945 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
946 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
947 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
948 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
949 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
950 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
951 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
953 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
954 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
955 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
957 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
958 (pthread_rwlock_rdlock): Add elision.
959 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
960 (pthread_rwlock_wrlock): Add elision.
961 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
962 (pthread_rwlock_trywrlock): Add elision.
963 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
964 (pthread_rwlock_tryrdlock): Add elision.
965 * nptl/pthread_rwlock_unlock.c: Include elide.h.
966 (pthread_rwlock_tryrdlock): Add elision unlock.
967 * nptl/sysdeps/pthread/pthread.h:
968 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
969 (PTHREAD_RWLOCK_INITIALIZER,
970 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
971 Handle new elision field.
972 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
973 * sysdeps/arm/nptl/bits/pthreadtypes.h
974 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
975 * sysdeps/sh/nptl/bits/pthreadtypes.h
976 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
977 * sysdeps/tile/nptl/bits/pthreadtypes.h
978 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
979 * sysdeps/a/nptl/bits/pthreadtypes.h
980 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
981 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
982 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
983 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
984 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
985 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
986 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
987 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
988 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
989 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
990 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
991 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
992 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
993 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
994 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
995 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
996 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
997 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
998 (elision_init): Set try_xbegin to zero when no RTM.
999 * sysdeps/x86/nptl/bits/pthreadtypes.h
1000 (pthread_rwlock_t): Change __pad1 to __rwelision.
1001 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1003 2014-06-13 Andi Kleen <ak@linux.intel.com>
1005 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1006 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1007 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1008 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1010 2014-06-13 Meador Inge <meadori@codesourcery.com>
1013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1014 that the cached result has been set before returning it.
1016 2014-06-12 Roland McGrath <roland@hack.frob.com>
1018 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1019 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1021 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1022 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1023 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1025 * nptl/sysdeps/sparc/Makefile: Moved ...
1026 * sysdeps/sparc/nptl/Makefile: ... here.
1027 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1028 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1029 * nptl/sysdeps/sparc/tls.h: Moved ...
1030 * sysdeps/sparc/nptl/tls.h: ... here.
1031 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1032 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1033 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1034 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1035 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1036 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1037 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1038 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1039 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1040 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1041 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1042 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1043 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1044 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1045 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1046 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1047 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1048 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1050 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1051 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1053 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1054 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1056 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1057 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1060 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1062 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1063 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1065 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1066 (struct list_links): Type removed.
1067 (struct thread_node, struct timer_node): Replace struct list_links
1068 with struct list_head.
1069 (list_unlink_ip): Likewise.
1070 * sysdeps/pthread/timer_routines.c
1071 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1072 (list_append, list_insbefore): Likewise.
1073 (list_init): Function removed.
1074 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1075 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1076 * sysdeps/pthread/Makefile: ... here, new file.
1078 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1079 * sysdeps/nptl/Implies: ... here.
1080 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1081 * nptl/sysdeps/pthread/list.h: Moved ...
1082 * include/list.h: ... here.
1083 * nptl/sysdeps/pthread/createthread.c: Moved ...
1084 * nptl/createthread.c: ... here.
1085 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1086 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1087 * nptl/pt-longjmp.c: ... here.
1088 * nptl/sysdeps/pthread/Makefile: Moved ...
1089 * sysdeps/nptl/Makefile: ... here.
1090 * nptl/sysdeps/pthread/Subdirs: Moved ...
1091 * sysdeps/nptl/Subdirs: ... here.
1092 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1093 * sysdeps/nptl/aio_misc.h: ... here.
1094 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1095 * sysdeps/nptl/bits/libc-lock.h: ... here.
1096 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1097 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1098 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1099 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1100 * nptl/sysdeps/pthread/configure: Moved ...
1101 * sysdeps/nptl/configure: ... here.
1102 * nptl/sysdeps/pthread/configure.ac: Moved ...
1103 * sysdeps/nptl/configure.ac: ... here.
1104 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1105 * sysdeps/nptl/gai_misc.h: ... here.
1106 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1107 * sysdeps/nptl/librt-cancellation.c: ... here.
1108 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1109 * sysdeps/nptl/malloc-machine.h: ... here.
1110 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1111 * sysdeps/nptl/pthread-functions.h: ... here.
1112 * nptl/sysdeps/pthread/pthread.h: Moved ...
1113 * sysdeps/nptl/pthread.h: ... here.
1114 * nptl/sysdeps/pthread/setxid.h: Moved ...
1115 * sysdeps/nptl/setxid.h: ... here.
1116 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1117 * sysdeps/nptl/sigfillset.c: ... here.
1118 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1119 * sysdeps/nptl/tcb-offsets.h: ... here.
1120 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1121 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1122 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1123 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1124 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1125 * sysdeps/pthread/allocalim.h: ... here.
1126 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1127 * sysdeps/pthread/bits/sigthread.h: ... here.
1128 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1129 * sysdeps/pthread/flockfile.c: ... here.
1130 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1131 * sysdeps/pthread/ftrylockfile.c: ... here.
1132 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1133 * sysdeps/pthread/funlockfile.c: ... here.
1134 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1135 * sysdeps/pthread/posix-timer.h: ... here.
1136 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1137 * sysdeps/pthread/timer_create.c: ... here.
1138 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1139 * sysdeps/pthread/timer_delete.c: ... here.
1140 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1141 * sysdeps/pthread/timer_getoverr.c: ... here.
1142 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1143 * sysdeps/pthread/timer_gettime.c: ... here.
1144 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1145 * sysdeps/pthread/timer_routines.c: ... here.
1146 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1147 * sysdeps/pthread/timer_settime.c: ... here.
1148 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1149 * sysdeps/pthread/tst-timer.c: ... here.
1150 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1151 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1153 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1154 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1156 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1157 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1158 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1159 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1160 Update #include target.
1161 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1162 * sysdeps/i386/i686/nptl/Makefile: ... here.
1163 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1164 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1165 Update #include target.
1166 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1167 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1168 * nptl/sysdeps/i386/Makefile: Moved ...
1169 * sysdeps/i386/nptl/Makefile: ... here.
1170 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1171 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1172 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1173 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1174 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1175 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1176 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1177 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1178 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1179 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1180 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1181 * nptl/sysdeps/i386/tls.h: Moved ...
1182 * sysdeps/i386/nptl/tls.h: ... here.
1184 * sysdeps/sh/Makefile [$(subdir) = csu]
1185 (gen-as-const-headers): Add tcb-offsets.sym.
1186 * nptl/sysdeps/sh/Makefile: File removed.
1187 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1188 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1189 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1190 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1191 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1192 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1193 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1194 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1195 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1196 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1197 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1198 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1199 * nptl/sysdeps/sh/tls.h: Moved ...
1200 * sysdeps/sh/nptl/tls.h: ... here.
1201 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1202 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1203 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1204 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1205 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1206 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1207 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1208 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1209 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1210 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1211 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1212 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1213 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1214 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1215 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1216 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1217 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1218 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1219 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1220 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1221 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1222 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1223 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1224 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1225 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1227 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1228 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1230 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1231 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1232 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1233 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1234 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1235 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1236 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1237 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1238 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1239 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1240 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1241 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1242 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1243 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1244 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1245 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1246 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1247 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1248 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1250 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1252 * posix/spawn_faction_addopen.c: Include string.h.
1254 2014-06-11 Roland McGrath <roland@hack.frob.com>
1256 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1257 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1258 * nptl/sysdeps/x86_64/Makefile: Moved ...
1259 * sysdeps/x86_64/nptl/Makefile: ... here.
1260 * nptl/sysdeps/x86_64/configure: Moved ...
1261 * sysdeps/x86_64/nptl/configure: ... here.
1262 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1263 * sysdeps/x86_64/nptl/configure.ac: ... here.
1264 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1265 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1266 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1267 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1268 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1269 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1270 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1271 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1272 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1273 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1274 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1275 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1276 * nptl/sysdeps/x86_64/tls.h: Moved ...
1277 * sysdeps/x86_64/nptl/tls.h: ... here.
1278 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1279 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1280 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1281 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1283 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1285 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1289 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1291 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1293 [POSIX] (off_t): Likewise.
1294 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1295 [POSIX] (S_ISBLK): Require macro.
1296 [POSIX] (S_ISCHR): Likewise.
1297 [POSIX] (S_ISDIR): Likewise.
1298 [POSIX] (S_ISFIFO): Likewise.
1299 [POSIX] (S_ISREG): Likewise.
1300 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1302 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1304 [POSIX] (time_t): Likewise.
1305 [POSIX] (timer_t): Likewise.
1307 2014-06-11 Florian Weimer <fweimer@redhat.com>
1310 * posix/spawn_int.h (struct __spawn_action): Make the path string
1311 non-const to support deallocation.
1312 * posix/spawn_faction_addopen.c
1313 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1314 * posix/spawn_faction_destroy.c
1315 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1316 path in all spawn_do_open actions.
1317 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1318 posix_spawn_file_actions_addopen.
1320 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1322 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1323 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1324 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1325 conditional code always true.
1326 (__libc_vfork): New alias.
1328 2014-06-11 Roland McGrath <roland@hack.frob.com>
1330 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1331 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1333 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1335 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1336 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1338 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1339 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1341 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1342 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1344 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1346 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1347 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1348 multiarch strcmp for PPC64.
1349 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1350 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1352 multiarch optimizations.
1353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1354 (__libc_ifunc_impl_list): Likewise.
1356 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1358 * benchtests/scripts/validate_benchout.py: New script.
1359 * benchtests/Makefile (bench-func): Call it.
1360 * benchtests/scripts/benchout.schema.json: New file.
1362 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1364 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1365 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1366 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1367 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1368 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1369 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1370 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1371 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1372 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1373 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1374 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1375 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1376 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1377 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1378 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1379 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1483 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1484 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1485 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1486 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1489 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1491 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1492 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1493 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1494 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1495 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1496 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1498 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1500 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1502 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1503 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1505 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1508 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1509 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1510 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1511 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1513 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1515 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1516 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1517 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1518 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1519 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1521 2014-06-10 Wilco <wdijkstr@arm.com>
1523 * math/test-fenv-return.c: New file.
1524 * math/Makefile: Add new test test-fenv-return.
1526 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1529 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1531 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1532 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1533 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1534 0.0L for an argument of 1.0L.
1535 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1537 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1538 value when x - 1 is zero.
1539 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1540 * sysdeps/i386/fpu/libm-test-ulps: Update.
1541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1543 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1546 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1548 2014-06-09 Roland McGrath <roland@hack.frob.com>
1550 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1551 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1553 2014-06-09 Roland McGrath <roland@hack.frob.com>
1555 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1556 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1558 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1559 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1561 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1562 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1564 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1565 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1567 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1568 if not already defined.
1569 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1570 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1571 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1572 (TLS_INIT_TP): Use it.
1573 (TLS_DEFINE_INIT_TP): New macro.
1574 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1576 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1578 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1580 [POSIX] (IXANY): Likewise.
1581 [POSIX] (OLCUC): Likewise.
1582 [POSIX || POSIX2008] (CBAUD): Do not allow.
1583 [POSIX || POSIX2008] (DEFECHO): Likewise.
1584 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1585 [POSIX || POSIX2008] (ECHOKE): Likewise.
1586 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1587 [POSIX || POSIX2008] (EXTA): Likewise.
1588 [POSIX || POSIX2008] (EXTB): Likewise.
1589 [POSIX || POSIX2008] (FLUSHO): Likewise.
1590 [POSIX || POSIX2008] (LOBLK): Likewise.
1591 [POSIX || POSIX2008] (PENDIN): Likewise.
1592 [POSIX || POSIX2008] (SWTCH): Likewise.
1593 [POSIX || POSIX2008] (VDISCARD): Likewise.
1594 [POSIX || POSIX2008] (VDSUSP): Likewise.
1595 [POSIX || POSIX2008] (VLNEXT): Likewise.
1596 [POSIX || POSIX2008] (VREPRINT): Likewise.
1597 [POSIX || POSIX2008] (VSTATUS): Likewise.
1598 [POSIX || POSIX2008] (VWERASE): Likewise.
1599 (B*): Change to B[0123456789]*.
1600 * conform/data/time.h-data [POSIX || UNIX98]
1601 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1602 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1603 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1604 [POSIX] (tm_*): Do not allow.
1606 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1608 * Makefile (install): Don't set LANGUAGE.
1609 * Makefile.in (install): Likewise.
1610 * assert/Makefile (test-assert-ENV): Remove variable.
1611 (test-assert-perr-ENV): Likewise.
1612 * elf/Makefile (neededtest4-ENV): Likewise.
1613 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1614 [$(cross-compiling) = no]: Don't set LANGUAGE.
1615 * io/ftwtest-sh (LANG): Remove variable.
1616 * libio/Makefile (tst-widetext-ENV): Likewise.
1617 * manual/install.texi (Running make install): Don't refer to
1618 environment settings for make install.
1619 * INSTALL: Regenerated.
1620 * nptl/tst-tls6.sh: Don't set LANG.
1621 * posix/globtest.sh (LANG): Remove variable.
1622 * string/Makefile (tester-ENV): Likewise.
1623 (inl-tester-ENV): Likewise.
1624 (noinl-tester-ENV): Likewise.
1625 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1626 [$(cross-compiling) = no]: Don't set LANGUAGE.
1627 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1628 without explicit environment settings.
1630 2014-06-06 Roland McGrath <roland@hack.frob.com>
1632 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1633 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1634 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1635 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1637 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1639 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1640 other files in the crypt directory.
1641 * crypt/crypt.c: Remove duplicate includes.
1642 * crypt/crypt-entry.c: Likewise.
1643 * crypt/crypt_util.c: Likewise.
1645 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1647 * Makeconfig (run-program-env): New variable.
1648 (run-program-prefix-before-env): Likewise.
1649 (run-program-prefix-after-env): Likewise.
1650 (run-program-prefix): Define in terms of new variables.
1651 (built-program-cmd-before-env): New variable.
1652 (built-program-cmd-after-env): Likewise.
1653 (built-program-cmd): Define in terms of new variables.
1654 (test-program-prefix-before-env): New variable.
1655 (test-program-prefix-after-env): Likewise.
1656 (test-program-prefix): Define in terms of new variables.
1657 (test-program-cmd-before-env): New variable.
1658 (test-program-cmd-after-env): Likewise.
1659 (test-program-cmd): Define in terms of new variables.
1660 * Rules (make-test-out): Use $(run-program-env).
1661 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1662 (help): Do not mention environment variables. Mention
1663 --timeoutfactor option.
1664 (timeoutfactor): New variable.
1665 (blacklist_exports): Remove function.
1666 (exports): Remove variable.
1667 (command): Do not include ${exports}.
1668 * manual/install.texi (Configuring and compiling): Do not mention
1669 test wrappers preserving environment variables. Mention that last
1670 assignment to a variable must take precedence.
1671 * INSTALL: Regenerated.
1672 * benchtests/Makefile (run-bench): Use $(run-program-env).
1673 * catgets/Makefile ($(objpfx)test1.cat): Use
1674 $(built-program-cmd-before-env), $(run-program-env) and
1675 $(built-program-cmd-after-env).
1676 ($(objpfx)test2.cat): Do not specify environment variables
1678 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1679 $(run-program-env) and $(built-program-cmd-after-env).
1680 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1681 $(run-program-env) and $(test-program-cmd-after-env).
1682 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1684 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1685 run_program_env and test_program_cmd_after_env arguments.
1686 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1687 * elf/tst-pathopt.sh: Use run_program_env argument.
1688 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1689 $(test-wrapper-env) and $(run-program-env).
1690 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1691 run_program_env arguments.
1692 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1693 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1694 $(test-program-prefix-before-env), $(run-program-env) and
1695 $(test-program-prefix-after-env).
1696 ($(objpfx)tst-gettext2.out): Likewise.
1697 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1698 run_program_env and test_program_prefix_after_env arguments.
1699 * intl/tst-gettext2.sh: Likewise.
1700 * intl/tst-gettext4.sh: Do not set environment variables
1702 * intl/tst-gettext6.sh: Likewise.
1703 * intl/tst-translit.sh: Likewise.
1704 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1705 $(test-program-prefix-before-env), $(run-program-env) and
1706 $(test-program-prefix-after-env).
1707 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1708 run_program_env and test_program_prefix_after_env arguments.
1709 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1710 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1711 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1712 explicitly with each use of ${test_wrapper_env}.
1713 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1714 $(test-program-prefix-before-env), $(run-program-env) and
1715 $(test-program-prefix-after-env).
1716 * posix/tst-getconf.sh: Do not set environment variables
1718 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1719 run_program_env and test_program_prefix_after_env arguments.
1720 * stdio-common/tst-printf.sh: Do not set environment variables
1722 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1723 $(test-program-prefix-before-env), $(run-program-env) and
1724 $(test-program-prefix-after-env).
1725 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1726 run_program_env and test_program_prefix_after_env arguments.
1727 Split $test calls into $test_pre and $test.
1728 * timezone/Makefile (build-testdata): Use
1729 $(built-program-cmd-before-env), $(run-program-env) and
1730 $(built-program-cmd-after-env).
1732 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1734 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1735 strlen for non SHARED builds.
1737 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1739 * nptl/allocatestack.c (check_list): Inlined function...
1740 (__reclaim_stacks): ... here.
1742 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1745 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1748 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1750 * Rules (make-test-out): Include
1751 LOCPATH=$(common-objpfx)localedata in default environment.
1752 * debug/Makefile (tst-chk1-ENV): Remove variable.
1753 (tst-chk2-ENV): Likewise.
1754 (tst-chk3-ENV): Likewise.
1755 (tst-chk4-ENV): Likewise.
1756 (tst-chk5-ENV): Likewise.
1757 (tst-chk6-ENV): Likewise.
1758 (tst-lfschk1-ENV): Likewise.
1759 (tst-lfschk2-ENV): Likewise.
1760 (tst-lfschk3-ENV): Likewise.
1761 (tst-lfschk4-ENV): Likewise.
1762 (tst-lfschk5-ENV): Likewise.
1763 (tst-lfschk6-ENV): Likewise.
1764 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1765 (tst-iconv7-ENV): Likewise.
1766 * intl/Makefile (LOCPATH-ENV): Likewise.
1767 (tst-codeset-ENV): Likewise.
1768 (tst-gettext3-ENV): Likewise.
1769 (tst-gettext5-ENV): Likewise.
1770 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1771 (tst-fopenloc-ENV): Likewise.
1772 (tst-fgetws-ENV): Remove variable.
1773 (tst-ungetwc1-ENV): Likewise.
1774 (tst-ungetwc2-ENV): Likewise.
1775 (bug-ungetwc2-ENV): Likewise.
1776 (tst-swscanf-ENV): Likewise.
1777 (bug-ftell-ENV): Likewise.
1778 (tst-fgetwc-ENV): Likewise.
1779 (tst-fseek-ENV): Likewise.
1780 (tst-ftell-partial-wide-ENV): Likewise.
1781 (tst-ftell-active-handler-ENV): Likewise.
1782 (tst-ftell-append-ENV): Likewise.
1783 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1784 (tst-regexloc-ENV): Likewise.
1785 (bug-regex1-ENV): Likewise.
1786 (tst-regex-ENV): Likewise.
1787 (tst-regex2-ENV): Likewise.
1788 (bug-regex5-ENV): Likewise.
1789 (bug-regex6-ENV): Likewise.
1790 (bug-regex17-ENV): Likewise.
1791 (bug-regex18-ENV): Likewise.
1792 (bug-regex19-ENV): Likewise.
1793 (bug-regex20-ENV): Likewise.
1794 (bug-regex22-ENV): Likewise.
1795 (bug-regex23-ENV): Likewise.
1796 (bug-regex25-ENV): Likewise.
1797 (bug-regex26-ENV): Likewise.
1798 (bug-regex30-ENV): Likewise.
1799 (bug-regex32-ENV): Likewise.
1800 (bug-regex33-ENV): Likewise.
1801 (bug-regex34-ENV): Likewise.
1802 (bug-regex35-ENV): Likewise.
1803 (tst-rxspencer-ENV): Likewise.
1804 (tst-rxspencer-no-utf8-ENV): Likewise.
1805 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1806 (tst-sscanf-ENV): Likewise.
1807 (tst-swprintf-ENV): Likewise.
1808 (tst-swscanf-ENV): Likewise.
1809 (test-vfprintf-ENV): Likewise.
1810 (scanf13-ENV): Likewise.
1811 (bug14-ENV): Likewise.
1812 (tst-grouping-ENV): Likewise.
1813 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1814 (tst-strtod3-ENV): Likewise.
1815 (tst-strtod4-ENV): Likewise.
1816 (tst-strtod5-ENV): Likewise.
1817 (testmb2-ENV): Likewise./
1818 * string/Makefile (tst-strxfrm-ENV): Likewise.
1819 (tst-strxfrm2-ENV): Likewise.
1820 (bug-strcoll1-ENV): Likewise.
1821 (test-strcasecmp-ENV): Likewise.
1822 (test-strncasecmp-ENV): Likewise.
1823 * time/Makefile (tst-strptime-ENV): Likewise.
1824 (tst-ftime_l-ENV): Likewise.
1825 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1826 (tst-mbrtowc-ENV): Likewise.
1827 (tst-wcrtomb-ENV): Likewise.
1828 (tst-mbrtowc2-ENV): Likewise.
1829 (tst-c16c32-1-ENV): Likewise.
1830 (tst-mbsnrtowcs-ENV): Likewise.
1832 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1834 * manual/resource.texi (How to get information about the memory
1835 subsystem?): Fix typo.
1836 Reported by Peon de la Parra Ivan <peon@keba.com>
1838 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1841 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1842 (pthread_spin_lock): Branch out of spin loop to proper location.
1843 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1844 (pthread_spin_lock): Likewise.
1846 * nptl/tst-spin4.c: New test.
1847 * nptl/Makefile (tests): Add tst-spin4.
1849 2014-06-03 Andreas Schwab <schwab@suse.de>
1852 * resolv/res_send.c (send_dg): Reload file descriptor after
1855 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1857 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1859 2014-06-03 Richard Henderson <rth@redhat.com>
1861 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1862 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1863 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1864 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1865 in the SAVE_PID block.
1866 (__libc_vfork): New alias.
1867 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1869 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1870 child in registers, not on the stack. Remove RESET_PID conditionals.
1871 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1873 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1875 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1877 2014-06-03 Wilco <wdijkstr@arm.com>
1879 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1880 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1881 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1882 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1883 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1886 2014-06-03 Wilco <wdijkstr@arm.com>
1888 * sysdeps/aarch64/fpu/math_private.h
1889 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1890 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1891 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1892 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1895 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1897 * crypt/crypt-private.h: Include ufc-crypt.h.
1898 (__b64_from_24bit): Declare extern.
1899 * crypt/crypt_util.c(__b64_from_24bit): New function.
1900 (b64t): New static const variable.
1901 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1902 (b64t): Remove variable.
1903 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1904 * crypt/sha256-crypt.c: Include crypt-private.h.
1905 (b64t): Remove variable.
1906 (__sha256_crypt_r): Remove b64_from_24bit and replace
1907 with __b64_from_24bit.
1908 * crypt/sha512-crypt.c: Likewise.
1910 2014-06-02 Roland McGrath <roland@hack.frob.com>
1912 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1913 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1914 Label the code __libc_vfork rather than __vfork.
1915 [!NOT_IN_libc] (vfork): Define as weak alias.
1916 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1917 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1918 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1920 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1922 * malloc/malloc.c (malloc_info): Fix format specifier for
1925 2014-06-02 Wilco <wdijkstr@arm.com>
1927 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1930 2014-06-02 Wilco <wdijkstr@arm.com>
1933 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1934 Rewrite to reduce FPCR/FPSR accesses.
1936 2014-06-01 David S. Miller <davem@davemloft.net>
1938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1940 2014-05-31 David S. Miller <davem@davemloft.net>
1942 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1943 to occur in round to nearest mode when |x| >= 2.0
1945 2014-05-30 Richard Henderson <rth@twiddle.net>
1947 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1948 (PSEUDO_RET_NOERRNO): Remove.
1949 (ret): Don't redefine.
1950 (ret_NOERRNO): Define in terms of ret.
1951 (ret_ERRVAL): Likewise.
1953 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1954 use of PSEUDO_RET; perform the error check directly.
1956 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1958 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1961 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1963 * malloc/malloc (malloc_info): Fix formatting.
1965 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1966 Roland McGrath <roland@hack.frob.com>
1968 * malloc/malloc (malloc_info): Also print mmapped statistics.
1970 2014-05-30 Roland McGrath <roland@hack.frob.com>
1972 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1973 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1975 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1977 * malloc/malloc.c (malloc_info): Inline mi_arena.
1979 2014-05-29 Richard Henderson <rth@twiddle.net>
1981 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1982 Remove comma before expanding ASM_ARGS_##nr.
1983 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1984 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1986 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1987 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1988 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1989 (ASM_ARGS_1): Add leading comma.
1991 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1992 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1993 to __errno_location.
1994 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1995 Remove the expected plt for __errno_location.
1997 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1998 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2001 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2002 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2003 it and break it down.
2004 (DOCARGS_0, DOCARGS_1): Do nothing.
2005 (DOCARGS_2): Update to store into the new stack frame.
2006 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2007 (UNDOCARGS_1): Update to restore from the new stack frame.
2008 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2009 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2011 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2012 (SINGLE_THREAD_P): New parameter for result regno.
2013 (PSEUDO): Update to match; use cbz instead of beq.
2015 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2016 Use ENTRY to define the _nocancel entry point. Share the syscall
2017 and syscall error check paths with the cancel path.
2020 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2021 whitespace; tabs before and after asm mnemonics.
2023 2014-05-29 Eric Wong <normalperson@yhbt.net>
2026 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2027 Call fstat64 or stat64 internally, depending on arguments passed.
2028 Replace stat buffer argument with file descriptor argument.
2029 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2030 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2031 Pass fd to __internal_statvfs instead of calling fstat64.
2032 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2033 Pass fd to __internal_statvfs64 instead of calling fstat64.
2034 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2035 Pass -1 to __internal_statvfs instead of calling stat64.
2036 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2037 Pass -1 to __internal_statvfs64 instead of calling stat64.
2039 2014-05-28 Roland McGrath <roland@hack.frob.com>
2041 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2042 that was previously under [RESET_PID].
2043 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2045 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2046 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2048 2014-05-27 Roland McGrath <roland@hack.frob.com>
2050 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2052 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2053 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2055 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2057 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2059 2014-05-27 Andreas Schwab <schwab@suse.de>
2061 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2063 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2064 * elf/rtld.c (init_tls, dl_main): Likewise.
2065 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2066 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2067 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2068 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2069 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2070 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2071 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2072 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2073 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2074 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2075 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2076 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2077 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2078 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2079 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2080 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2081 * sysdeps/generic/tls.h: Update description.
2083 2014-05-27 Will Newton <will.newton@linaro.org>
2086 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2087 and restore r2 rather than just restoring.
2089 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2092 * libio/tst-ftell-append.c: New test case.
2093 * libio/Makefile (tests): Add test case.
2094 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2096 * libio/wfileops.c (do_ftell_wide): Likewise.
2098 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2102 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2106 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2107 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2108 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2109 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2110 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2111 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2118 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2119 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2120 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2121 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2122 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2124 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2125 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2127 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2129 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2131 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2132 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2133 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2135 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2136 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2137 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2138 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2140 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2161 conditional [RESET_PID].
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2170 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2171 (__libc_vfork): New strong alias.
2172 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2179 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2180 (__libc_vfork): New strong alias.
2181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2183 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2186 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2188 * malloc/malloc.c (mi_arena): New function.
2189 (malloc_info): Remove nested function mi_arena. Call non-nosted
2192 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2194 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2196 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2197 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2198 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2199 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2200 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2201 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2202 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2204 2014-05-26 Andreas Schwab <schwab@suse.de>
2207 * locale/programs/repertoire.c (repertoire_read): Add slash
2208 between I18NPATH element and file name.
2209 * locale/programs/locfile.c (locfile_read): Likewise.
2211 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2213 * nptl/pthread_mutexattr_settype.c
2214 (__pthread_mutexattr_settype):
2215 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2217 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2219 * nptl/tst-mutex5 (do_test):
2220 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2222 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2224 * benchtests/README: Document 'init' directive.
2225 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2227 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2228 (parse_file): Recognize 'init' directive.
2230 2014-05-26 Kyle McMartin <kyle@redhat.com>
2233 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2234 alignment of struct pthread.
2236 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2239 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2240 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2241 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2242 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2244 2014-05-25 Richard Henderson <rth@twiddle.net>
2246 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2247 (SINGLE_THREAD_P_PIC): Remove.
2248 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2249 (SINGLE_THREAD_P_PIC): Remove.
2251 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2252 branch to syscall error ...
2254 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2255 from __local_syscall_error to .Lsyscall_error.
2256 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2257 (SYSCALL_ERROR): Update label name.
2259 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2260 Do not use DOARGS/UNDOARGS.
2261 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2262 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2263 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2264 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2265 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2267 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2270 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2271 define if !NOT_IN_libc.
2272 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2273 define with non-default symbol versions.
2275 2014-05-23 Richard Henderson <rth@twiddle.net>
2277 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2278 (vfork, __vfork): Define via compat_symbol.
2280 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2281 [!HAVE_IFUNC] (vfork_compat): Remove.
2282 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2284 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2287 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2288 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2291 2014-05-23 Richard Henderson <rth@twiddle.net>
2293 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2294 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2295 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2296 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2298 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2299 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2300 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2301 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2302 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2303 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2304 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2305 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2306 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2307 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2308 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2309 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2310 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2311 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2312 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2319 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2323 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2335 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2336 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2337 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2338 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2339 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2340 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2341 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2342 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2343 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2344 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2345 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2346 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2347 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2348 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2349 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2350 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2351 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2352 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2353 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2355 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2356 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2357 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2358 before exiting on error.
2359 (__libc_vfork): New strong alias.
2360 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2361 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2363 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2364 that was previously under [RESET_PID].
2365 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2367 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2369 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2372 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2373 value when x - 1 is zero.
2374 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2375 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2376 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2377 0.0L for an argument of 1.0L.
2378 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2380 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2381 value when x - 1 is zero.
2382 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2383 * sysdeps/i386/fpu/libm-test-ulps: Update.
2384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2386 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2388 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2389 alphasort and versionsort.
2391 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2393 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2395 [copysignf]: Likewise.
2397 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2399 * crypt/md5-crypt.c: Fix formatting.
2401 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2403 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2404 (b64_from_24bit): New function.
2406 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2409 libc_hidden_builtin_def to ifunc.
2410 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2411 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2413 2014-05-21 Roland McGrath <roland@hack.frob.com>
2415 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2416 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2418 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2420 * nscd/Depend (linuxthreads): Remove.
2422 * resolv/Depend (linuxthreads): Remove.
2423 * rt/Depend (linuxthreads): Remove.
2425 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2426 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2427 $(common-objpfx)elf/.
2428 (link-libc-before-gnulib): Likewise.
2429 (elfobjdir): Remove variable.
2430 * Makefile (install): Use $(elf-objpfx) instead of
2431 $(common-objpfx)elf/.
2432 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2434 (link-libc-deps): Likewise.
2435 ($(common-objpfx)libc.so): Likewise.
2436 ($(common-objpfx)linkobj/libc.so): Likewise.
2437 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2438 instead of $(common-objpfx)elf/.
2439 (symbolic-link-list): Likewise.
2440 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2441 [$(cross-compiling) = no]: Likewise.
2442 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2444 (static-gnulib-arch): Likewise.
2445 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2446 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2447 $(common-objpfx)elf/.
2449 2014-05-21 Richard Henderson <rth@redhat.com>
2451 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2452 (SINGLE_THREAD_P): Use the correct width load. Fold
2453 into the ldr offset.
2455 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2456 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2458 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2460 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2461 (libgcc_s_resume): Use __attribute_used__.
2462 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2465 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2467 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2468 optimization when used with float constants.
2470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2472 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2475 * locale/nl_langinfo_l.c: Make direct reference to every
2476 _nl_current_CATEGORY symbol.
2477 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2478 (tests-static): Add tst-langinfo-static.
2479 (tests-special): Add tst-langinfo-static.out.
2480 ($(objpfx)tst-langinfo.out): Redirect output.
2481 ($(objpfx)tst-langinfo-static.out): New.
2482 * localedata/tst-langinfo.sh: Send output to stdout.
2483 * localedata/tst-langinfo-static.c: New file.
2486 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2487 when the shift amount is modulo the limb size.
2489 2014-05-20 Richard Henderson <rth@redhat.com>
2492 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2493 Change type of sa_flags from unsigned int to int.
2496 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2498 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2500 2014-05-20 Will Newton <will.newton@linaro.org>
2502 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2503 Test the return value of the system call in the nocancel case.
2505 2014-05-20 Will Newton <will.newton@linaro.org>
2506 Yvan Roux <yvan.roux@linaro.org>
2508 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2509 #include of asm/ptrace.h.
2510 (PTRACE_GET_THREAD_AREA): Remove #undef.
2511 (PTRACE_GETHBPREGS): Likewise.
2512 (PTRACE_SETHBPREGS): Likewise.
2513 (struct user_regs_struct): New structure.
2514 (struct user_fpsimd_struct): New structure.
2515 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2516 #include of asm/ptrace.h and second #include of sys/user.h.
2517 (PTRACE_GET_THREAD_AREA): Remove #undef.
2518 (PTRACE_GETHBPREGS): Likewise.
2519 (PTRACE_SETHBPREGS): Likewise.
2520 (ELF_NGREG): Use new struct user_regs_struct.
2521 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2523 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2525 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2526 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2528 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2532 membar to avoid block loads/stores to overlap previous stores.
2534 2014-05-17 Richard Henderson <rth@redhat.com>
2536 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2537 Create the __##syscall_name##_nocancel entry point.
2538 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2539 Remove; let the sysdep-cancel.h code create it.
2541 2014-05-17 David S. Miller <davem@davemloft.net>
2543 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2544 Protect with __USE_GNU.
2545 (TIOCSET_TEMPT): Likewise.
2546 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2547 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2548 these are already provided in bits/ioctl-types.h
2550 2014-05-16 Roland McGrath <roland@hack.frob.com>
2552 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2553 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2555 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2556 Use wait4 regardless of [__NR_waitpid].
2558 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2561 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2562 (_FP_NANSIGN_Q): Set the quiet bit.
2564 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2566 * benchtests/Makefile
2567 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2568 not $(common-objpfx)math/libm.so.
2569 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2570 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2571 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2572 $(common-objpfx)dlfcn/libdl.so.
2573 ($(objpfx)tst-audit8): Depend on $(libm), not
2574 $(common-objpfx)math/libm.so.
2575 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2576 not $(common-objpfx)dlfcn/libdl.so.
2578 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2579 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2580 [$(build-shared) = yes].
2581 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2582 $(common-objpfx)nptl/libpthread.so.
2583 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2584 $(common-objpfx)math/libm.so$(libm.so-version) or
2585 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2586 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2587 $(common-objpfx)dlfcn/libdl.so.
2588 * setjmp/Makefile (link-libm): Remove variable.
2589 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2590 * stdio-common/Makefile (link-libm): Remove variable.
2591 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2592 * stdlib/Makefile (link-libm): Remove variable.
2593 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2594 ($(objpfx)tst-strtod-round): Likewise.
2595 ($(objpfx)tst-tininess): Likewise.
2596 ($(objpfx)tst-strtod-underflow): Likewise.
2597 ($(objpfx)tst-strtod6): Likewise.
2598 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2599 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2600 $(common-objpfx)dlfcn/libdl.so.
2602 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2604 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2605 BSD terminal modes definitions.
2607 2014-05-16 Roland McGrath <roland@hack.frob.com>
2609 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2610 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2612 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2613 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2614 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2615 Don't do #include_next.
2616 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2617 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2618 Don't do #include_next.
2619 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2620 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2621 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2622 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2624 2014-05-16 Allan McRae <allan@archlinux.org>
2626 * po/sv.po: Update Swedish translation from translation project.
2628 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2631 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2634 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2635 errno if the TIOCGPTN ioctl fails with an error different than
2637 * login/tst-ptsname.c: New file.
2638 * login/Makefile (tests): Add tst-ptsname.
2641 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2644 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2648 herrno to return EAI_AGAIN.
2650 2014-05-14 Roland McGrath <roland@hack.frob.com>
2652 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2653 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2654 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2655 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2656 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2657 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2659 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2661 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2662 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2663 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2664 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2665 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2666 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2667 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2668 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2669 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2670 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2671 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2672 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2673 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2674 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2675 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2677 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2678 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2679 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2680 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2681 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2683 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2685 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2688 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2690 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2692 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2694 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2696 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2698 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2700 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2702 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2704 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2706 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2708 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2710 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2712 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2714 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2717 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2719 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2721 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2723 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2725 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2727 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2729 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2731 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2733 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2735 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2738 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2740 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2742 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2743 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2744 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2745 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2746 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2747 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2748 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2749 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2750 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2751 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2752 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2753 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2754 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2755 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2756 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2757 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2758 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2759 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2760 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2762 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2764 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2766 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2768 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2769 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2770 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2771 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2772 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2774 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2775 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2777 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2778 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2779 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2780 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2781 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2782 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2784 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2785 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2787 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2788 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2790 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2793 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2794 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2795 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2796 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2798 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2799 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2800 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2801 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2802 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2803 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2804 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2805 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2807 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2808 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2810 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2812 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2813 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2814 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2815 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2816 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2818 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2820 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2822 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2823 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2824 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2825 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2826 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2827 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2829 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2830 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2832 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2833 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2835 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2838 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2839 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2840 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2841 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2843 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2844 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2845 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2846 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2847 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2848 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2849 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2850 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2852 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2853 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2855 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2857 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2858 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2859 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2860 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2861 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2863 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2865 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2867 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2868 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2869 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2870 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2871 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2872 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2873 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2874 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2875 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2876 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2878 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2879 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2881 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2882 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2884 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2885 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2887 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2888 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2889 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2890 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2891 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2892 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2894 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2895 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2896 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2897 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2898 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2899 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2900 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2901 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2903 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2904 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2906 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2908 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2909 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2910 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2911 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2912 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2914 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2916 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2918 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2919 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2920 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2921 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2922 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2923 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2924 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2925 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2926 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2927 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2928 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2930 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2931 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2933 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2934 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2936 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2937 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2938 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2939 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2940 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2941 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2942 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2943 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2944 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2945 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2946 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2947 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2948 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2949 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2950 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2952 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2955 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2957 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2960 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2961 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2962 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2964 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2965 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2966 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2967 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2969 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2972 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2973 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2974 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2975 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2976 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2978 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2979 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2980 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2981 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2982 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2983 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2984 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2985 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2986 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2987 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2988 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2990 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2991 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2992 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2993 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2994 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2996 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2997 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2998 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2999 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3000 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3001 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3002 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3003 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3004 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3005 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3007 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3008 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3010 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3011 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3012 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3013 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3014 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3015 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3016 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3017 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3018 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3019 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3020 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3021 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3022 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3023 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3024 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3026 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3028 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3030 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3032 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3044 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3045 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3046 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3047 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3048 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3049 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3050 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3051 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3052 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3053 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3054 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3055 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3056 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3057 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3058 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3060 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3061 that was previously under [RESET_PID].
3062 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3063 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3064 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3066 * sysdeps/i386/nptl/Implies: New file.
3067 * sysdeps/x86_64/nptl/Implies: New file.
3068 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3069 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3070 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3071 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3073 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3074 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3075 (__libc_vfork): New strong alias.
3076 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3077 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3079 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3080 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3081 (__libc_vfork): New strong alias.
3082 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3083 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3085 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3086 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3087 (__libc_vfork): New strong alias.
3088 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3089 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3090 * nptl/pt-vfork.c: New file.
3091 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3092 (libpthread: GLIBC_2.20): New version set (empty).
3094 2014-05-14 Will Newton <will.newton@linaro.org>
3096 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3099 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3102 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3103 arguments with exponent 65 or above.
3104 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3105 arguments 0x1p113L or above.
3106 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3107 to arguments 0x1p107L or above.
3108 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3109 positive arguments with exponent 65 or above.
3110 * math/auto-libm-test-in: Add more tests of log1p.
3111 * math/auto-libm-test-out: Regenerated.
3114 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3115 non-finite arguments is +0.
3116 * math/s_cacosf.c (__cacosf): Likewise.
3117 * math/s_cacosl.c (__cacosl): Likewise.
3118 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3119 * sysdeps/i386/fpu/libm-test-ulps: Update.
3120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3123 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3125 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3126 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3127 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3128 for explicit high bit of mantissa when testing for argument equal
3130 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3131 * sysdeps/i386/fpu/libm-test-ulps: Update.
3132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3135 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3136 (__erf): Scale by 16 instead of 8 in potentially underflowing
3137 case. Ensure exception if result actually underflows.
3138 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3139 (__erff): Scale by 16 instead of 8 in potentially underflowing
3140 case. Ensure exception if result actually underflows.
3141 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3142 (efx8): Remove variable.
3143 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3144 case. Ensure exception if result actually underflows.
3145 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3146 (efx8): Remove variable.
3147 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3148 case. Ensure exception if result actually underflows.
3149 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3150 (efx8): Remove variable.
3151 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3152 case. Ensure exception if result actually underflows.
3153 * math/auto-libm-test-in: Add more tests of erf.
3154 * math/auto-libm-test-out: Regenerated.
3156 2014-05-14 Andreas Schwab <schwab@suse.de>
3158 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3159 Remove code conditionalized on USE___THREAD.
3161 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3162 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3165 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3167 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3168 Define unconditionally.
3169 (__ASSUME_O_CLOEXEC): Likewise.
3170 (__ASSUME_SOCK_CLOEXEC): Likewise.
3171 (__ASSUME_IN_NONBLOCK): Likewise.
3172 (__ASSUME_PIPE2): Likewise.
3173 (__ASSUME_EVENTFD2): Likewise.
3174 (__ASSUME_SIGNALFD4): Likewise.
3175 (__ASSUME_DUP3): Likewise.
3176 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3177 (__ASSUME_DUP3): Do not define.
3178 (__ASSUME_EVENTFD2): Likewise.
3179 (__ASSUME_IN_NONBLOCK): Likewise.
3180 (__ASSUME_O_CLOEXEC): Likewise.
3181 (__ASSUME_PIPE2): Likewise.
3182 (__ASSUME_SIGNALFD4): Likewise.
3183 (__ASSUME_SOCK_CLOEXEC): Likewise.
3184 (__ASSUME_UTIMES): Undefine.
3185 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3186 (__ASSUME_UTIMES): Do not define.
3187 (__ASSUME_O_CLOEXEC): Likewise.
3188 (__ASSUME_SOCK_CLOEXEC): Likewise.
3189 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3190 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3192 (__ASSUME_PIPE2): Likewise.
3193 (__ASSUME_EVENTFD2): Likewise.
3194 (__ASSUME_SIGNALFD4): Likewise.
3195 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3196 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3198 (__ASSUME_EVENTFD2): Likewise.
3199 (__ASSUME_SIGNALFD4): Likewise.
3200 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3201 (__ASSUME_32BITUIDS): Likewise.
3202 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3203 (__ASSUME_IPC64): Likewise.
3204 (__ASSUME_ST_INO_64_BIT): Likewise.
3205 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3206 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3207 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3208 (__ASSUME_UTIMES): Do not define.
3209 (__ASSUME_PSELECT): Likewise.
3210 (__ASSUME_PPOLL): Likewise.
3211 (__ASSUME_O_CLOEXEC): Likewise.
3212 (__ASSUME_SOCK_CLOEXEC): Likewise.
3213 (__ASSUME_IN_NONBLOCK): Likewise.
3214 (__ASSUME_PIPE2): Likewise.
3215 (__ASSUME_EVENTFD2): Likewise.
3216 (__ASSUME_SIGNALFD4): Likewise.
3217 (__ASSUME_DUP3): Likewise.
3218 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3219 (__ASSUME_UTIMES): Likewise.
3220 (__ASSUME_O_CLOEXEC): Likewise.
3221 (__ASSUME_SOCK_CLOEXEC): Likewise.
3222 (__ASSUME_IN_NONBLOCK): Likewise.
3223 (__ASSUME_PIPE2): Likewise.
3224 (__ASSUME_EVENTFD2): Likewise.
3225 (__ASSUME_SIGNALFD4): Likewise.
3226 (__ASSUME_DUP3): Likewise.
3227 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3228 (__ASSUME_UTIMES): Likewise.
3229 (__ASSUME_O_CLOEXEC): Likewise.
3230 (__ASSUME_SOCK_CLOEXEC): Likewise.
3231 (__ASSUME_IN_NONBLOCK): Likewise.
3232 (__ASSUME_PIPE2): Likewise.
3233 (__ASSUME_EVENTFD2): Likewise.
3234 (__ASSUME_SIGNALFD4): Likewise.
3235 (__ASSUME_DUP3): Likewise.
3236 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3238 (__ASSUME_UTIMES): Likewise.
3239 (__ASSUME_EVENTFD2): Likewise.
3240 (__ASSUME_SIGNALFD4): Likewise.
3241 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3242 (__ASSUME_O_CLOEXEC): Likewise.
3243 (__ASSUME_SOCK_CLOEXEC): Likewise.
3244 (__ASSUME_IN_NONBLOCK): Likewise.
3245 (__ASSUME_PIPE2): Likewise.
3246 (__ASSUME_EVENTFD2): Likewise.
3247 (__ASSUME_SIGNALFD4): Likewise.
3248 (__ASSUME_DUP3): Likewise.
3249 (__ASSUME_UTIMES): Undefine.
3251 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3252 feclearexcept. Remove symbol versioning code.
3253 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3254 symbol versioning code.
3255 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3256 symbol versioning code.
3257 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3258 feupdateenv. Remove symbol versioning code.
3259 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3260 fegetexceptflag. Remove symbol versioning code.
3261 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3262 fesetexceptflag. Remove symbol versioning code.
3263 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3264 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3265 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3266 (__posix_fadvise64_l32): Remove prototype.
3267 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3270 2014-05-13 Roland McGrath <roland@hack.frob.com>
3272 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3273 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3274 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3275 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3277 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3279 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3280 current working directory
3282 2014-05-13 Roland McGrath <roland@hack.frob.com>
3284 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3285 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3286 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3287 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3288 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3289 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3290 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3291 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3292 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3293 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3294 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3295 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3296 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3297 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3298 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3299 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3300 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3301 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3302 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3303 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3304 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3305 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3306 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3307 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3308 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3309 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3310 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3311 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3312 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3313 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3314 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3315 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3316 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3317 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3318 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3319 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3320 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3321 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3322 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3323 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3324 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3325 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3327 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3328 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3330 * sysdeps/unix/sysv/linux/arm/Makefile
3331 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3332 Add rt-aeabi_unwind_cpp_pr1.
3333 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3334 Add nptl-aeabi_unwind_cpp_pr1.
3335 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3336 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3337 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3338 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3339 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3340 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3342 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3343 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3344 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3345 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3347 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3348 Deconditionalize the code that was previously under [RESET_PID].
3349 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3351 * sysdeps/generic/exit-thread.h: New file.
3352 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3353 * include/unistd.h (__exit_thread): Remove declaration.
3354 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3355 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3356 * csu/libc-start.c: Include <exit-thread.h>.
3357 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3358 * nptl/pthread_create.c: Include <exit-thread.h>.
3359 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3360 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3361 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3362 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3363 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3364 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3365 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3366 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3367 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3368 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3369 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3370 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3371 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3372 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3373 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3374 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3375 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3377 2014-05-13 Andreas Schwab <schwab@suse.de>
3379 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3381 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3383 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3384 (__ASSUME_UTIMES): Do not condition on kernel version.
3385 (__ASSUME_PSELECT): Define unconditionally.
3386 (__ASSUME_PPOLL): Likewise.
3387 (__ASSUME_ATFCTS): Likewise.
3388 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3389 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3390 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3391 (__ASSUME_UTIMENSAT): Define unconditionally.
3392 (__ASSUME_PRIVATE_FUTEX): Likewise.
3393 (__ASSUME_FALLOCATE): Likewise.
3394 (__ASSUME_O_CLOEXEC): Likewise.
3395 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3396 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3397 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3398 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3399 (__ASSUME_IN_NONBLOCK): Likewise.
3400 (__ASSUME_PIPE2): Likewise.
3401 (__ASSUME_EVENTFD2): Likewise.
3402 (__ASSUME_SIGNALFD4): Likewise.
3403 (__ASSUME_DUP3): Likewise.
3404 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3405 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3406 (__ASSUME_AT_RANDOM): Likewise.
3407 (__ASSUME_PREADV): Likewise.
3408 (__ASSUME_PWRITEV): Likewise.
3409 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3410 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3411 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3412 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3413 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3414 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3415 (__ASSUME_O_CLOEXEC): Define unconditionally.
3416 (__ASSUME_PSELECT): Do not undefine conditionally.
3417 (__ASSUME_PPOLL): Likewise.
3418 (__ASSUME_ATFCTS): Likewise.
3419 (__ASSUME_SET_ROBUST_LIST): Likewise.
3420 (__ASSUME_UTIMENSAT): Likewise.
3421 (__ASSUME_FDATASYNC): Define unconditionally.
3422 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3423 (__ASSUME_SIGFRAME_V2): Likewise.
3424 )__ASSUME_EVENTFD2): Likewise.
3425 (__ASSUME_SIGNALFD4): Likewise.
3426 (__ASSUME_PSELECT): Do not undefine conditionally.
3427 (__ASSUME_PPOLL): Likewise.
3428 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3429 (__ASSUME_PSELECT): Define unconditionally.
3430 (__ASSUME_PPOLL): Likewise.
3431 (__ASSUME_O_CLOEXEC): Likewise.
3432 (__ASSUME_SOCK_CLOEXEC): Likewise.
3433 (__ASSUME_IN_NONBLOCK): Likewise.
3434 (__ASSUME_PIPE2): Likewise.
3435 (__ASSUME_EVENTFD2): Likewise.
3436 (__ASSUME_SIGNALFD4): Likewise.
3437 (__ASSUME_DUP3): Likewise.
3438 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3439 (__ASSUME_O_CLOEXEC): Likewise.
3440 (__ASSUME_SOCK_CLOEXEC): Likewise.
3441 (__ASSUME_IN_NONBLOCK): Likewise.
3442 (__ASSUME_PIPE2): Likewise.
3443 (__ASSUME_EVENTFD2): Likewise.
3444 (__ASSUME_SIGNALFD4): Likewise.
3445 (__ASSUME_DUP3): Likewise.
3446 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3447 (__ASSUME_EVENTFD2): Likewise.
3448 (__ASSUME_SIGNALFD4): Likewise.
3449 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3451 2014-05-12 Andreas Schwab <schwab@suse.de>
3454 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3455 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3456 than maximum RPC packet size.
3457 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3458 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3459 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3460 (_nss_nis_getservbyport_r): Likewise.
3462 2014-05-12 Will Newton <will.newton@linaro.org>
3464 * malloc/Makefile (tests): Add tst-mallopt.
3465 * malloc/tst-mallopt.c: New file.
3467 2014-05-09 Roland McGrath <roland@hack.frob.com>
3469 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3470 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3472 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3474 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3475 (tst-tlsmod6.so): Likewise.
3477 2014-05-09 Roland McGrath <roland@hack.frob.com>
3479 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3481 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3484 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3485 and <dl-procinfo.h>.
3486 (__fegetenv): Save SSE state in envp->__eip if supported.
3487 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3488 envp->__eip if supported.
3489 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3490 and <dl-procinfo.h>.
3491 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3492 __data_offset and __data_selector in environment to 0. Set SSE
3494 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3496 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3498 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3500 2014-05-09 Will Newton <will.newton@linaro.org>
3502 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3503 and libc_relro_required for ARM.
3504 * sysdeps/arm/preconfigure: Regenerate.
3506 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3507 Stefan Liebler <stli@linux.vnet.ibm.com>
3509 * config.make.in (enable-lock-elision): New Makefile variable.
3510 * configure.ac: Likewise.
3511 * configure: Regenerate.
3512 * sysdeps/s390/configure.ac:
3513 Add check for gcc transactions support.
3514 * sysdeps/s390/configure: Regenerate.
3515 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3516 Build elision files if enabled.
3517 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3518 Add lock elision support for s390.
3519 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3520 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3521 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3522 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3523 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3524 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3525 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3527 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3529 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3531 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3533 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3534 (__lll_timedlock_elision, __lll_lock_elision)
3535 (__lll_unlock_elision, __lll_trylock_elision)
3536 (lll_timedlock_elision, lll_lock_elision)
3537 (lll_unlock_elision, lll_trylock_elision): Add.
3538 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3539 (pthread_mutex_t): Add lock elision support for s390.
3541 2014-05-14 Wilco <wdijkstr@arm.com>
3543 * sysdeps/arm/fclrexcpt.c: Cleanup.
3544 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3545 * sysdeps/arm/feenablxcpt.c: Cleanup.
3546 * sysdeps/arm/fegetenv.c: Cleanup.
3547 * sysdeps/arm/fegetexcept.c: Cleanup.
3548 * sysdeps/arm/fegetround.c: Cleanup.
3549 * sysdeps/arm/feholdexcpt.c: Cleanup.
3550 * sysdeps/arm/fesetenv.c: Cleanup.
3551 * sysdeps/arm/fesetround.c: Cleanup.
3552 * sysdeps/arm/feupdateenv.c: Cleanup.
3553 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3554 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3555 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3556 * sysdeps/arm/ftestexcept.c: Cleanup.
3557 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3558 * sysdeps/arm/setfpucw.c: Cleanup.
3560 2014-05-09 Will Newton <will.newton@linaro.org>
3562 * sysdeps/arm/armv7/strcmp.S: New file.
3563 * NEWS: Mention addition of ARMv7 optimized strcmp.
3565 2014-05-08 Roland McGrath <roland@hack.frob.com>
3567 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3568 look for %.ac rather than %.in.
3570 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3571 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3572 * sysdeps/mach/hurd/configure: Regenerated.
3573 * sysdeps/unix/sysv/linux/configure: Regenerated.
3575 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3577 2014-05-07 Steve Ellcey <sellcey@mips.com>
3580 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3584 2014-05-07 Andreas Schwab <schwab@suse.de>
3586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3587 when skipping over non-matching result from nscd.
3589 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3592 * nptl/sockperf.c (client): Check socket return value.
3595 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3596 nscd security class.
3598 2014-05-06 Roland McGrath <roland@hack.frob.com>
3600 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3601 * sysdeps/arm/unwind.h: ... here.
3603 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3606 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3609 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3611 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3612 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3613 multiarch strncpy for PPC64.
3614 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3615 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3617 multiarch optimizations.
3618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3619 (__libc_ifunc_impl_list): Likewise.
3620 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3621 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3622 multiarch stpncpy for PPC64.
3623 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3624 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3626 2014-05-06 Andreas Schwab <schwab@suse.de>
3629 * gmon/mcount.c (_MCOUNT_DECL): Use
3630 atomic_compare_and_exchange_bool_acq instead of
3631 catomic_compare_and_exchange_bool_acq.
3633 2014-05-05 Roland McGrath <roland@hack.frob.com>
3635 * elf/Makefile (others, install-bin): Remove pldd.
3636 (pldd-modules): Variable removed.
3637 ($(objpfx)pldd): Target removed.
3638 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3639 (others, install-bin): Append pldd here.
3640 ($(objpfx)pldd): New target.
3642 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3643 to 0, so the first #if test emitted later doesn't see it undefined.
3644 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3645 * sysdeps/gnu/errlist.c: Regenerated.
3647 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3649 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3650 [libc_hidden_builtin_def]: Define to empty value.
3651 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3652 [libc_hidden_builtin_def]: Likewise.
3653 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3654 [libc_hidden_builtin_def]: Likewise.
3655 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3656 [libc_hidden_builtin_def]: Likewise.
3657 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3658 __redirect_memcpy and define ifunc as default hidden symbol.
3659 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3660 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3662 2014-05-04 Adam Conrad <adconrad@0c3.net>
3664 * locale/iso-4217.def: Reintroduce XDR currency.
3666 2014-05-04 Allan McRae <allan@archlinux.org>
3668 * po/eo.po: Update Esperanto translation from translation project.
3670 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3672 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3673 and FEATURE_INDEX_MAX to 1.
3674 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3676 2014-05-01 Steve Ellcey <sellcey@mips.com>
3678 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3679 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3680 * iconvdata/big5.c (ONE_DIRECTION): Define.
3681 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3682 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3683 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3684 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3685 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3686 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3687 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3688 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3689 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3690 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3691 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3692 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3693 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3694 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3695 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3696 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3697 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3698 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3699 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3700 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3701 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3702 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3703 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3704 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3705 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3706 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3707 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3708 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3709 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3710 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3711 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3712 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3713 * iconvdata/johab.c (ONE_DIRECTION): Define.
3714 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3715 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3716 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3717 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3718 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3719 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3720 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3721 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3722 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3723 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3725 2014-05-01 Roland McGrath <roland@hack.frob.com>
3727 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3728 (_IO_JUMPS_OFFSET): Define to 0.
3730 * nptl/sysdeps/pthread/bits/libc-lock.h
3731 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3732 (__libc_lock_define_initialized_recursive): Always define using
3733 initializer. Modern compilers treat uninitialized (implicit zero) and
3734 explicit zero initializers the same (i.e. put the datum in bss).
3736 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3738 * nscd/nscd-client.h: Include <string.h>.
3740 2014-05-01 David S. Miller <davem@davemloft.net>
3743 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3744 multiple zero bytes exist at the end of a string.
3745 Reported by Aurelien Jarno <aurelien@aurel32.net>
3747 * string/test-strcmp.c (check): Add explicit test for situations where
3748 there are multiple zero bytes after the first.
3750 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3753 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3754 when compiling wprintf.
3755 * stdio-common/tstdiomisc.c (t3): New function.
3758 2014-05-01 Steve Ellcey <sellcey@mips.com>
3760 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3761 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3762 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3763 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3765 2014-05-01 Steve Ellcey <sellcey@mips.com>
3767 * stdlib/longlong.h: Updated from GCC.
3769 2014-05-01 Will Newton <will.newton@linaro.org>
3770 Bernard Ogden <bernie.ogden@linaro.org>
3772 * NEWS: Update fixed bug list.
3775 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3777 2014-04-30 David S. Miller <davem@davemloft.net>
3779 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3780 (libc_feholdexcept_setround_sparc_ctx): New function.
3781 (libc_fesetenv_sparc_ctx): Likewise.
3782 (libc_feupdateenv_sparc_ctx): Likewise.
3783 (libc_feholdsetround_sparc_ctx): Likewise.
3784 (libc_feholdexcept_setround_ctx): Define.
3785 (libc_feholdexcept_setroundf_ctx): Likewise.
3786 (libc_feholdexcept_setroundl_ctx): Likewise.
3787 (libc_fesetenv_ctx): Likewise.
3788 (libc_fesetenvf_ctx): Likewise.
3789 (libc_fesetenvl_ctx): Likewise.
3790 (libc_feupdateenv_ctx): Likewise.
3791 (libc_feupdateenvf_ctx): Likewise.
3792 (libc_feupdateenvl_ctx): Likewise.
3793 (libc_feresetround_ctx): Likewise.
3794 (libc_feresetroundf_ctx): Likewise.
3795 (libc_feresetroundl_ctx): Likewise.
3796 (libc_feholdsetround_ctx): Likewise.
3797 (libc_feholdsetroundf_ctx): Likewise.
3798 (libc_feholdsetroundl_ctx): Likewise.
3800 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3801 with __USE_GNU instead of XOPEN cpp guards.
3803 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3806 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3807 with XOPEN cpp guards.
3809 2014-04-30 Julian Brown <julian@codesourcery.com>
3812 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3815 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3818 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3820 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3821 * sysdeps/unix/sysv/linux/configure: Regenerated.
3822 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3823 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3824 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3825 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3826 * README: Update reference to required Linux kernel version.
3827 * manual/install.texi (Linux): Update reference to required Linux
3828 kernel headers version.
3829 * INSTALL: Regenerated.
3831 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3833 [POSIX] (limits.h): Likewise.
3834 [POSIX] (math.h): Likewise.
3835 [POSIX] (sys/wait.h): Likewise.
3836 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3838 [POSIX] (stddef.h): Do not allow header inclusion.
3840 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3842 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3844 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3846 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3847 Return immediately after lll_futex_wake.
3849 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3852 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3854 (datahead_init_pos): Call datahead_init_common early.
3855 (datahead_init_neg): Likewise.
3857 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3858 datahead_init_neg): New functions.
3859 * nscd/aicache.c (addhstaiX): Use them.
3860 * nscd/grpcache.c (cache_addgr): Likewise.
3861 * nscd/hstcache.c (cache_addhst): Likewise.
3862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3863 * nscd/netgroupcache.c (do_notfound): Likewise.
3864 (addgetnetgrentX): Likewise.
3865 (addinnetgrX): Likewise.
3866 * nscd/pwdcache.c (cache_addpw): Likewise.
3867 * nscd/servicescache.c (cache_addserv): Likewise.
3869 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3870 Atsushi Onoe <atsushi@onoe.org>
3875 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3876 one response is valid.
3877 * resolv/res_send.c (send_dg): Check for validity of other
3878 response if the current response is a referral.
3880 2014-04-29 Steve Ellcey <sellcey@mips.com>
3882 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3884 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3887 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3888 Always divide by positive zero when computing -Inf result.
3889 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3890 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3892 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3894 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3895 FPSCR if value do not change.
3896 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3897 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3898 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3899 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3900 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3901 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3904 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3906 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3907 * sysdeps/unix/sysv/linux/hppa: Move directory from
3908 ports/systeps/unix/sysv/linux/hppa.
3909 * README: Update listing for hppa-*-linux-gnu.
3911 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3914 * manual/stdio.texi (Hook functions): Fix types of stream hook
3917 * socket/sys/socket.h: Fix typo in comment.
3919 2014-04-28 Wilco <wdijkstr@arm.com>
3921 * sysdeps/arm/fenv_private.h: New file.
3922 * sysdeps/arm/math_private.h: New file.
3923 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3925 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3927 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3929 (La_x86_64_retval): Likewise.
3931 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3933 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3934 fpsr if value didn't change.
3935 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3936 to fpcr if value didn't change.
3937 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3938 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3939 fpsr or fpcr if value didn't change.
3940 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3941 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3942 fpcr if value didn't change.
3943 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3944 to fpsr if value didn't change.
3946 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3948 * nptl/tst-sem3.c: Use test-skeleton.c
3949 (main): Rename to do_test. Use return instead of
3951 * nptl/tst-sem4.c: Use test-skeleton.c
3952 (main): Rename to do_test.
3954 2014-04-22 David S. Miller <davem@davemloft.net>
3956 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3957 (struct sigaction): New struct member __glibc_reserved0, change
3958 type of sa_flags to int.
3960 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3962 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3963 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3965 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3967 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3968 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3970 2014-04-22 Will Newton <will.newton@linaro.org>
3971 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3973 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3974 (__longjmp): Add longjmp and longjmp_target SystemTap
3976 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3977 (__sigsetjmp): Add setjmp SystemTap probe.
3979 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3981 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3984 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3986 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3988 * sysdeps/powerpc/fpu/fenv_private.h
3989 (libc_feholdexcept_setroundl_ctx): Define to
3990 libc_feholdexcept_setround_ppc_ctx.
3991 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3992 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3993 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3994 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3996 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3998 * sysdeps/aarch64/math-tests.h: New file.
4000 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4002 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4005 Check and set bit_AVX2_Usable.
4006 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4008 (bit_AVX2): Likewise.
4009 (index_AVX2_Usable): Likewise.
4010 (CPUID_AVX2): Likewise.
4011 (HAS_AVX2): Likewise.
4013 2014-04-17 Will Newton <will.newton@linaro.org>
4015 * manual/setjmp.texi (System V contexts): Add note that
4016 calling setcontext on a context created by a call to a
4017 signal handler is undefined. Update text to note that
4018 setcontext from a signal handler is possible but not
4022 * stdlib/tst-setcontext.c: Include signal.h.
4023 (main): Check that the signal stack before and
4024 after swapcontext is the same.
4026 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4027 Re-implement to restore registers in user code and avoid
4028 rt_sigreturn system call.
4030 2014-04-17 Wilco <wdijkstr@arm.com>
4032 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4033 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4034 * math/test-fenv.c: Skip exception trap tests on targets which only
4035 support non-stop mode.
4037 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4038 Wilco Dijkstra <wilco.dijkstra@arm.com>
4040 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4041 (libc_feholdsetround_aarch64_ctx)
4042 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4043 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4044 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4045 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4046 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4047 (libc_feresetround_noexl_ctx): Define.
4049 2014-04-16 Richard Henderson <rth@redhat.com>
4051 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4053 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4056 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4057 const from the non-libc, non-ldso copy.
4059 * sysdeps/alpha/libm-test-ulps: Regenerate.
4061 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4062 Wilco Dijkstra <wilco.dijkstra@arm.com>
4064 * sysdeps/aarch64/fpu/math_private.h: New file.
4066 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4068 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4070 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4072 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4073 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4075 Intel MPX bound registers before _dl_profile_fixup.
4076 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4077 registers after _dl_profile_fixup. Save and restore bound
4078 registers bnd0/bnd1 when calling _dl_call_pltexit.
4079 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4080 (LR_BND_OFFSET): Likewise.
4081 (LRV_BND0_OFFSET): Likewise.
4082 (LRV_BND1_OFFSET): Likewise.
4084 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4086 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4088 * sysdeps/mach/hurd/i386/tls.h: ... here.
4089 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4090 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4093 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4095 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4097 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4099 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4101 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4104 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4105 * sysdeps/s390/configure: Regenerate.
4108 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4109 Set round-to-nearest internally to reduce error accumulation.
4111 2014-04-16 Alan Modra <amodra@gmail.com>
4115 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4116 * math/libm-test.inc (frexp_test_data): Add tests.
4117 * NEWS: Update fixed bug list.
4119 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4121 * benchtests/Makefile: Depend on libraries in build directory.
4122 (bench-math): Separate out math tests.
4123 (bench-pthread): Separate out pthread tests.
4124 (bench): Include math and pthread tests.
4126 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4129 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4130 _dl_debug_initialize.
4132 * configure.ac: Remove SELinux header check.
4133 * configure: Regenerate.
4134 * nscd/selinux.c (perms): Array of const char* to permission names.
4135 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4136 default policy. Call string_to_security_class and string_to_av_perm to
4137 translate strings. Enforce default policy and call avs_has_perm with
4138 results of translated strings.
4140 2014-04-13 David S. Miller <davem@davemloft.net>
4142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4144 2014-04-12 Allan McRae <allan@archlinux.org>
4147 * manual/string.texi (Collation Functions): Fix qsort argument
4149 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4151 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4153 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4154 Make the test a no-op if there are no exceptions defined.
4156 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4158 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4159 enable-hardcoded-path-in-tests
4161 2014-04-11 Will Newton <will.newton@linaro.org>
4163 * benchtests/Makefile (extra-objs): Add json-lib.o.
4164 (bench-func): Tidy up JSON output.
4165 * benchtests/bench-skeleton.c: Include json-lib.h.
4166 (main): Use JSON library functions to do output of
4168 * benchtests/bench-timing-type.c (main): Output the
4169 timing type simply, leaving formatting to the user.
4170 * benchtests/json-lib.c: New file.
4171 * benchtests/json-lib.h: Likewise.
4173 2014-04-11 Torvald Riegel <triegel@redhat.com>
4176 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4177 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4178 memory barriers. Add comments.
4179 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4180 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4181 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4182 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4183 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4184 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4186 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4188 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4189 * sysdeps/s390/s390-64/configure.ac: ... this ...
4190 * sysdeps/s390/configure.ac: ... to here.
4191 * sysdeps/s390/s390-32/configure: Delete file.
4192 * sysdeps/s390/s390-64/configure: Delete file.
4193 * sysdeps/s390/configure: Regenerate.
4195 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4197 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4199 2014-04-11 Will Newton <will.newton@linaro.org>
4201 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4202 to zero if it is not defined elsewhere. (mtrim): Test
4203 the value of MALLOC_DEBUG with #if rather than #ifdef.
4205 2014-04-10 Torvald Riegel <triegel@redhat.com>
4207 * benchtests/pthread_once-inputs: New file.
4208 * benchtests/pthread_once-source.c: New file.
4209 * benchtests/README: Update documentation.
4211 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4212 H.J. Lu <hongjiu.lu@intel.com>
4214 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4215 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4216 * sysdeps/x86_64/configure: Regenerated.
4217 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4219 (REGISTER_SAVE_RAX): Likewise.
4220 (REGISTER_SAVE_RCX): Likewise.
4221 (REGISTER_SAVE_RDX): Likewise.
4222 (REGISTER_SAVE_RSI): Likewise.
4223 (REGISTER_SAVE_RDI): Likewise.
4224 (REGISTER_SAVE_R8): Likewise.
4225 (REGISTER_SAVE_R9): Likewise.
4226 (REGISTER_SAVE_BND0): Likewise.
4227 (REGISTER_SAVE_BND1): Likewise.
4228 (REGISTER_SAVE_BND2): Likewise.
4229 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4230 bound registers when calling _dl_fixup.
4232 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4234 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4235 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4237 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4238 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4239 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4240 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4241 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4242 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4243 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4245 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4248 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4249 pathconf(_PC_NAME_MAX).
4251 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4253 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4255 (__PTHREAD_SPINS): Move definition to ...
4256 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4257 (__PTHREAD_SPINS): ... here.
4258 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4259 (__PTHREAD_SPIN): Likewise.
4260 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4261 (__PTHREAD_SPIN): Likewise.
4262 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4263 (__PTHREAD_SPIN): Likewise.
4264 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4265 (__PTHREAD_SPIN): Likewise.
4266 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4267 (__PTHREAD_SPIN): Likewise.
4268 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4269 (__PTHREAD_SPIN): Likewise.
4270 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4271 (__PTHREAD_SPIN): Likewise.
4272 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4273 (__PTHREAD_SPIN): Likewise.
4274 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4275 (__PTHREAD_SPIN): Likewise.
4276 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4277 (__PTHREAD_SPIN): Likewise.
4278 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4279 (__PTHREAD_SPIN): Likewise.
4280 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4281 (__PTHREAD_SPIN): Likewise.
4283 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4284 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4285 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4286 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4288 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4289 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4290 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4291 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4293 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4294 strlen symbol for non multi-arch builds.
4295 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4296 missing hidden_def and weak_alias.
4298 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4300 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4302 2014-04-07 Will Newton <will.newton@linaro.org>
4304 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4305 and contents. [!_LIBC] Remove #ifndef and contents.
4306 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4307 * string/memccpy.c (__memccpy): Use ANSI prototype.
4308 * string/memfrob.c (memfrob): Likewise.
4309 * string/strcoll.c (STRCOLL): Likewise.
4310 * string/strlen.c (strlen): Likewise.
4311 * string/strtok.c (STRTOK): Likewise.
4312 * string/strcat.c: Remove unused #include of memcopy.h.
4313 (strcat): Use ANSI prototype.
4314 * string/strchr.c: Remove unused #include of memcopy.h.
4315 (strchr): Use ANSI prototype.
4316 * string/strcmp.c: Remove unused #include of memcopy.h.
4317 (strcmp): Use ANSI prototype.
4318 * string/strcpy.c: Remove unused #include of memcopy.h.
4319 (strcpy): Use ANSI prototype.
4321 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4323 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4324 * config.make.in (config-extra-cppflags): Set it from
4325 libc_extra_cppflags.
4326 * configure.ac (libc_extra_cflags): Make it accumulate over
4327 configure fragments.
4328 (libc_extra_cppflags): New flag.
4329 * configure. Regenerate.
4330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4331 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4332 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4336 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4337 result for FE_DOWNWARD rounding mode.
4338 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4342 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4344 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4345 in function argument name.
4347 2014-04-03 David Svoboda <svoboda@cert.org>
4350 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4353 2014-04-03 Roland McGrath <roland@hack.frob.com>
4355 * elf/dl-unmap-segments.h: New file.
4356 * sysdeps/generic/ldsodefs.h
4357 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4358 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4359 * elf/dl-fptr.c: Likewise.
4360 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4361 * sysdeps/aarch64/tlsdesc.c: Likewise.
4362 * sysdeps/arm/tlsdesc.c: Likewise.
4363 * sysdeps/i386/tlsdesc.c: Likewise.
4364 * sysdeps/tile/dl-runtime.c: Likewise.
4365 * sysdeps/x86_64/tlsdesc.c: Likewise.
4366 * elf/dl-load.h: New file.
4367 * elf/dl-load.c: Include it.
4368 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4369 Macros moved to dl-load.h.
4370 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4371 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4372 Use _dl_unmap_segments in place of __munmap.
4373 Break out segment-mapping loop into ...
4374 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4376 2014-04-03 Will Newton <will.newton@linaro.org>
4378 * elf/dl-lookup.c (do_lookup_x): Remove comment
4379 referring to nested function and move variable
4380 declarations down to before first use.
4382 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4386 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4388 * math/s_catanf.c (__catanf): Likewise.
4389 * math/s_catanh.c (__catanh): Likewise.
4390 * math/s_catanhf.c (__catanhf): Likewise.
4391 * math/s_catanhl.c (__catanhl): Likewise.
4392 * math/s_catanl.c (__catanl): Likewise.
4393 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4394 by positive zero when computing -Inf result.
4395 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4396 (catanh_test): Likewise.
4397 * sysdeps/i386/fpu/libm-test-ulps: Update.
4398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4401 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4402 instead of using underflowing value in computing result.
4403 * math/s_clog10.c (__clog10): Likewise.
4404 * math/s_clog10f.c (__clog10f): Likewise.
4405 * math/s_clog10l.c (__clog10l): Likewise.
4406 * math/s_clogf.c (__clogf): Likewise.
4407 * math/s_clogl.c (__clogl): Likewise.
4408 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4409 (clog10_test): Likewise.
4410 * sysdeps/i386/fpu/libm-test-ulps: Update.
4411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4413 2014-04-02 Alan Modra <amodra@gmail.com>
4416 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4417 output when value is near a power of two. Use int64_t for lx and
4418 remove casts. Use decimal rather than hex exponent constants.
4419 Don't use long double multiplication when double will suffice.
4420 * math/libm-test.inc (nextafter_test_data): Add tests.
4421 * NEWS: Add 16739 and 16786 to bug list.
4423 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4425 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4427 2014-04-01 Will Newton <will.newton@linaro.org>
4429 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4430 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4432 2014-04-01 Florian Weimer <fweimer@redhat.com>
4435 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4436 * nptl/tst-setuid2.c: New file.
4437 * nptl/Makefile (xtests): Add tst-setuid2.
4439 2014-04-01 Alan Modra <amodra@gmail.com>
4442 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4444 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4448 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4449 set errno as appropriate.
4450 * math/w_scalbf.c (__scalbf): Likewise.
4451 * math/w_scalbl.c (__scalbl): Likewise.
4452 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4453 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4454 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4458 * math/w_atan2.c: Include <errno.h>.
4459 (__atan2): Set errno for result underflowing to zero.
4460 * math/w_atan2f.c: Include <errno.h>.
4461 (__atan2f): Set errno for result underflowing to zero.
4462 * math/w_atan2l.c: Include <errno.h>.
4463 (__atan2l): Set errno for result underflowing to zero.
4464 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4466 * math/auto-libm-test-out: Regenerated.
4468 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4470 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4471 Encode instruction correctly in little endian.
4472 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4474 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4476 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4478 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4481 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4484 * sysdeps/unix/sysv/linux/kernel-features.h
4485 [__sparc__ && !__arch64__ && !__sparc_v9__]
4486 (__ASSUME_SET_ROBUST_LIST): Do not define.
4487 [__sparc__ && !__arch64__ && !__sparc_v9__]
4488 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4489 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4491 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4492 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4493 (__ASSUME_REQUEUE_PI): Likewise.
4494 (__ASSUME_SET_ROBUST_LIST): Likewise.
4495 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4496 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4498 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4499 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4501 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4503 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4505 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4506 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4508 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4509 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4513 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4514 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4515 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4517 2014-03-31 Will Newton <will.newton@linaro.org>
4519 * benchtests/Makefile (bench): Add ffs and ffsll to list
4521 * benchtests/ffs-inputs: New file.
4522 * benchtests/ffsll-inputs: Likewise.
4524 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4527 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4528 too large before casting to int.
4529 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4530 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4531 * math/libm-test.inc (scalb_test_data): Add more tests.
4533 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4535 * benchtests/Makefile (DETAILED_OPT): New make option.
4536 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4538 * benchtests/bench-skeleton.c: Include stdbool.h.
4539 (main): Store and print timings per input.
4540 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4541 member to each argument value.
4542 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4543 (_print_arg_data): Initialize per-input timing to 0.
4545 * benchtests/Makefile (timing-type): New binary.
4546 (bench-clean): Also remove bench-timing-type.
4547 (bench): New target for timing-type.
4548 (bench-func): Print output in JSON format.
4549 * benchtests/bench-skeleton.c (main): Print output in JSON
4551 * benchtests/bench-timing-type.c: New file.
4552 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4553 (TIMING_PRINT_STATS): Remove.
4554 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4557 * benchtests/bench-modf.c: Remove.
4558 * benchtests/modf-inputs: New inputs file.
4560 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4563 * math/s_clog10.c (M_PI_LOG10E): New macro.
4564 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4565 imaginary parts are 0.
4566 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4567 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4568 imaginary parts are 0.
4569 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4570 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4571 imaginary parts are 0.
4572 * math/libm-test.inc (clog10_test_data): Update expected results
4573 for when real and imaginary parts are 0.
4575 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4577 * elf/dl-load.c: Finish conversion of __builtin_expect into
4580 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4583 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4584 1+x for argument with exponent below -67.
4585 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4587 * math/auto-libm-test-in: Add more tests of exp.
4588 * math/auto-libm-test-out: Regenerated.
4590 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4593 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4594 (nscd_getnetgrent): Use it.
4597 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4600 2014-03-27 Andi Kleen <ak@linux.intel.com>
4602 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4603 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4604 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4605 (lll_robust_unlock): Remove out of line section. Use cfi
4607 (LLL_STUB_UNWIND_INFO*): Remove.
4608 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4609 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4610 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4611 (lll_robust_unlock): Remove out of line section. Use cfi
4613 (LLL_STUB_UNWIND_INFO*): Remove.
4615 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4618 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4621 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4623 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4625 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4628 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4630 * math/test-fenv-preserve.c: New file.
4631 * math/Makefile (tests): Add test-fenv-preserve.
4633 2014-03-26 Will Newton <will.newton@linaro.org>
4635 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4637 2014-03-25 Roland McGrath <roland@hack.frob.com>
4639 * scripts/versionlist.awk: Partition the version sets and emit all
4640 GLIBC_* (sorted) before all others (sorted).
4642 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4644 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4645 GLIBC_2.2.5 version.
4647 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4652 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4657 2014-03-25 Andreas Schwab <schwab@suse.de>
4659 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4660 label to be used after in6ailist is initialized.
4662 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4665 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4667 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4671 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4673 (fp_formats): Update initializers.
4674 (init_fp_formats): Initialize new field.
4675 (output_for_one_input_case): Allow underflow for results up to
4677 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4678 * math/auto-libm-test-in: Don't mark some underflows from asin and
4680 * math/auto-libm-test-out: Regenerated.
4681 * sysdeps/i386/fpu/libm-test-ulps: Update.
4682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4684 2014-03-25 Andreas Schwab <schwab@suse.de>
4686 * libio/Makefile (tst-ftell-partial-wide-ENV)
4687 (tst-ftell-active-handler-ENV): Define.
4689 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4691 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4693 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4695 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4697 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4699 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4700 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4701 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4703 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4706 * elf/dl-load.c (open_verify): Add mode parameter.
4707 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4708 (open_path): Change from boolean 'secure' to complete flag 'mode'
4709 (_dl_map_object): Adjust.
4710 * elf/Makefile (tests): Add tst-dlopen-aout.
4711 * elf/tst-dlopen-aout.c: New test.
4713 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4716 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4717 (struct stat): Rename member pad0 to __glibc_reserved0.
4720 * sysdeps/s390/s390-32/bits/wordsize.h
4721 (__WORDSIZE32_SIZE_ULONG): New define.
4722 * sysdeps/s390/s390-64/bits/wordsize.h
4723 (__WORDSIZE32_SIZE_ULONG): Likewise.
4724 * sysdeps/generic/stdint.h (SIZE_MAX):
4725 Define as UL if __WORDSIZE32_SIZE_ULONG.
4728 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4729 (__glibc_reserved0): New variable.
4730 (sa_flags): Change type to int.
4732 * posix/Makefile (before-compile): Use += before-compile instead
4735 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4736 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4738 2014-03-20 Andreas Schwab <schwab@suse.de>
4741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4742 non-matching result from nscd.
4744 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4746 * scripts/bench.py: Moved to ...
4747 * benchtests/scripts/bench.py: ... here.
4748 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4750 2014-03-24 Andreas Schwab <schwab@suse.de>
4753 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4754 alloca_account and account alloca use for struct in6ailist.
4756 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4759 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4760 rounding mode to recompute results that overflow to infinity or
4762 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4764 * math/auto-libm-test-out: Regenerated.
4765 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4766 (ccosh_test): Likewise.
4767 (csin_test_data): Use plus_oflow.
4768 (csin_test): Use ALL_RM_TEST.
4769 (csinh_test_data): Use plus_oflow.
4770 (csinh_test): Use ALL_RM_TEST.
4771 * sysdeps/i386/fpu/libm-test-ulps: Update.
4772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4774 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4776 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4777 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4778 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4781 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4783 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4784 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4785 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4786 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4788 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4789 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4791 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4792 * sysdeps/i386/fpu/libm-test-ulps: Update.
4793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4795 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4797 * scripts/bench.pl: Remove file.
4798 * scripts/bench.py: New benchmark script.
4799 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4800 * benchtests/README: Mention python dependency.
4801 * scripts/pylintrc: New file.
4802 * scripts/pylint: New file.
4804 * bits/mathdef.h: Use #ifdef instead of #if.
4805 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4806 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4807 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4808 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4809 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4810 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4812 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4813 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4815 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4817 and strpbrk-ppc64 objects.
4818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4819 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4820 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4821 multiarch strpbrk for POWER7.
4822 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4823 multiarch strpbrk for PPC64.
4824 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4826 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4829 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4831 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4832 (atan_test): Likewise.
4833 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4834 (atanh_test): Use ALL_RM_TEST.
4835 (atan2_test_data): Likewise.
4836 (cabs_test): Likewise.
4837 (cacosh_test): Likewise.
4838 (carg_test): Likewise.
4839 (casin_test): Likewise.
4840 (casinh_test): Likewise.
4841 (cbrt_test): Likewise.
4842 (csqrt_test): Likewise.
4843 (erf_test): Likewise.
4844 (erfc_test): Likewise.
4845 (pow10_test): Likewise.
4846 (exp2_test): Likewise.
4847 (hypot_test): Likewise.
4848 (j0_test): Likewise.
4849 (j1_test): Likewise.
4850 (lgamma_test): Likewise.
4851 (gamma_test): Likewise.
4852 (sincos_test): Likewise.
4853 (tanh_test): Likewise.
4854 (y0_test): Likewise.
4855 (y1_test): Likewise.
4856 * sysdeps/i386/fpu/libm-test-ulps: Update.
4857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4859 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4861 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4863 and strcspn-ppc64 objects.
4864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4865 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4866 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4867 multiarch strcspn for POWER7.
4868 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4869 multiarch strcspn for PPC64.
4870 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4872 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4875 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4877 * math/gen-libm-test.pl (generate_testfile): Expect only function
4878 name as argument to AUTO_TESTS_* and pass results for all rounding
4879 modes to parse_args.
4880 (parse_auto_input): Separate inputs of automatic tests from
4881 outputs before storing in %auto_tests.
4882 * math/libm-test.inc (acos_test_data): Update call to
4884 (acos_test): Use ALL_RM_TEST.
4885 (acos_tonearest_test_data): Remove.
4886 (acos_test_tonearest): Likewise.
4887 (acos_towardzero_test_data): Likewise.
4888 (acos_test_towardzero): Likewise.
4889 (acos_downward_test_data): Likewise.
4890 (acos_test_downward): Likewise.
4891 (acos_upward_test_data): Likewise.
4892 (acos_test_upward): Likewise.
4893 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4894 (asin_test_data): Likewise.
4895 (asin_test): Use ALL_RM_TEST.
4896 (asin_tonearest_test_data): Remove.
4897 (asin_test_tonearest): Likewise.
4898 (asin_towardzero_test_data): Likewise.
4899 (asin_test_towardzero): Likewise.
4900 (asin_downward_test_data): Likewise.
4901 (asin_test_downward): Likewise.
4902 (asin_upward_test_data): Likewise.
4903 (asin_test_upward): Likewise.
4904 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4905 (atan_test_data): Likewise.
4906 (atanh_test_data): Likewise.
4907 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4908 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4909 (carg_test_data): Likewise.
4910 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4911 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4912 (ccosh_test_data): Likewise.
4913 (cexp_test_data): Likewise.
4914 (clog_test_data): Likewise.
4915 (clog10_test_data): Likewise.
4916 (cos_test_data): Update call to AUTO_TESTS_f_f.
4917 (cos_test): Use ALL_RM_TEST.
4918 (cos_tonearest_test_data): Remove.
4919 (cos_test_tonearest): Likewise.
4920 (cos_towardzero_test_data): Likewise.
4921 (cos_test_towardzero): Likewise.
4922 (cos_downward_test_data): Likewise.
4923 (cos_test_downward): Likewise.
4924 (cos_upward_test_data): Likewise.
4925 (cos_test_upward): Likewise.
4926 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4927 (cosh_test): Use ALL_RM_TEST.
4928 (cosh_tonearest_test_data): Remove.
4929 (cosh_test_tonearest): Likewise.
4930 (cosh_towardzero_test_data): Likewise.
4931 (cosh_test_towardzero): Likewise.
4932 (cosh_downward_test_data): Likewise.
4933 (cosh_test_downward): Likewise.
4934 (cosh_upward_test_data): Likewise.
4935 (cosh_test_upward): Likewise.
4936 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4937 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4938 (ctan_test_data): Likewise.
4939 (ctan_test): Use ALL_RM_TEST.
4940 (ctan_tonearest_test_data): Remove.
4941 (ctan_test_tonearest): Likewise.
4942 (ctan_towardzero_test_data): Likewise.
4943 (ctan_test_towardzero): Likewise.
4944 (ctan_downward_test_data): Likewise.
4945 (ctan_test_downward): Likewise.
4946 (ctan_upward_test_data): Likewise.
4947 (ctan_test_upward): Likewise.
4948 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4949 (ctanh_test): Use ALL_RM_TEST.
4950 (ctanh_tonearest_test_data): Remove.
4951 (ctanh_test_tonearest): Likewise.
4952 (ctanh_towardzero_test_data): Likewise.
4953 (ctanh_test_towardzero): Likewise.
4954 (ctanh_downward_test_data): Likewise.
4955 (ctanh_test_downward): Likewise.
4956 (ctanh_upward_test_data): Likewise.
4957 (ctanh_test_upward): Likewise.
4958 (erf_test_data): Update call to AUTO_TESTS_f_f.
4959 (erfc_test_data): Likewise.
4960 (exp_test_data): Likewise.
4961 (exp_test): Use ALL_RM_TEST.
4962 (exp_tonearest_test_data): Remove.
4963 (exp_test_tonearest): Likewise.
4964 (exp_towardzero_test_data): Likewise.
4965 (exp_test_towardzero): Likewise.
4966 (exp_downward_test_data): Likewise.
4967 (exp_test_downward): Likewise.
4968 (exp_upward_test_data): Likewise.
4969 (exp_test_upward): Likewise.
4970 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4971 (exp10_test): Use ALL_RM_TEST.
4972 (exp10_tonearest_test_data): Remove.
4973 (exp10_test_tonearest): Likewise.
4974 (exp10_towardzero_test_data): Likewise.
4975 (exp10_test_towardzero): Likewise.
4976 (exp10_downward_test_data): Likewise.
4977 (exp10_test_downward): Likewise.
4978 (exp10_upward_test_data): Likewise.
4979 (exp10_test_upward): Likewise.
4980 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4981 (expm1_test_data): Likewise.
4982 (expm1_test): Use ALL_RM_TEST.
4983 (expm1_tonearest_test_data): Remove.
4984 (expm1_test_tonearest): Likewise.
4985 (expm1_towardzero_test_data): Likewise.
4986 (expm1_test_towardzero): Likewise.
4987 (expm1_downward_test_data): Likewise.
4988 (expm1_test_downward): Likewise.
4989 (expm1_upward_test_data): Likewise.
4990 (expm1_test_upward): Likewise.
4991 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4992 (fma_test): Use ALL_RM_TEST.
4993 (fma_towardzero_test_data): Remove.
4994 (fma_test_towardzero): Likewise.
4995 (fma_downward_test_data): Likewise.
4996 (fma_test_downward): Likewise.
4997 (fma_upward_test_data): Likewise.
4998 (fma_test_upward): Likewise.
4999 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5000 (j0_test_data): Update call to AUTO_TESTS_f_f.
5001 (j1_test_data): Likewise.
5002 (jn_test_data): Update call to AUTO_TESTS_if_f.
5003 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5004 (log_test_data): Update call to AUTO_TESTS_f_f.
5005 (log10_test_data): Likewise.
5006 (log1p_test_data): Likewise.
5007 (log2_test_data): Likewise.
5008 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5009 (pow_tonearest_test_data): Likewise.
5010 (sin_test_data): Update call to AUTO_TESTS_f_f.
5011 (sin_test): Use ALL_RM_TEST.
5012 (sin_tonearest_test_data): Remove.
5013 (sin_test_tonearest): Likewise.
5014 (sin_towardzero_test_data): Likewise.
5015 (sin_test_towardzero): Likewise.
5016 (sin_downward_test_data): Likewise.
5017 (sin_test_downward): Likewise.
5018 (sin_upward_test_data): Likewise.
5019 (sin_test_upward): Likewise.
5020 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5021 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5022 (sinh_test): Use ALL_RM_TEST.
5023 (sinh_tonearest_test_data): Remove.
5024 (sinh_test_tonearest): Likewise.
5025 (sinh_towardzero_test_data): Likewise.
5026 (sinh_test_towardzero): Likewise.
5027 (sinh_downward_test_data): Likewise.
5028 (sinh_test_downward): Likewise.
5029 (sinh_upward_test_data): Likewise.
5030 (sinh_test_upward): Likewise.
5031 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5032 (sqrt_test): Use ALL_RM_TEST.
5033 (sqrt_tonearest_test_data): Remove.
5034 (sqrt_test_tonearest): Likewise.
5035 (sqrt_towardzero_test_data): Likewise.
5036 (sqrt_test_towardzero): Likewise.
5037 (sqrt_downward_test_data): Likewise.
5038 (sqrt_test_downward): Likewise.
5039 (sqrt_upward_test_data): Likewise.
5040 (sqrt_test_upward): Likewise.
5041 (tan_test_data): Update call to AUTO_TESTS_f_f.
5042 (tan_test): Use ALL_RM_TEST.
5043 (tan_tonearest_test_data): Remove.
5044 (tan_test_tonearest): Likewise.
5045 (tan_towardzero_test_data): Likewise.
5046 (tan_test_towardzero): Likewise.
5047 (tan_downward_test_data): Likewise.
5048 (tan_test_downward): Likewise.
5049 (tan_upward_test_data): Likewise.
5050 (tan_test_upward): Likewise.
5051 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5052 (tgamma_test_data): Likewise.
5053 (y0_test_data): Likewise.
5054 (y1_test_data): Likewise.
5055 (yn_test_data): Update call to AUTO_TESTS_if_f.
5056 (main): Do not call removed functions.
5058 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5060 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5061 (ldexp_test_data): Remove.
5062 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5064 (scalb_test): Use ALL_RM_TEST.
5066 2014-03-19 Andreas Schwab <schwab@suse.de>
5068 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5070 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5073 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5074 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5075 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5076 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5077 (__ASSUME_PREADV): Undefine.
5078 (__ASSUME_PWRITEV): Likewise.
5080 2014-03-18 Roland McGrath <roland@hack.frob.com>
5082 * bits/mman-linux.h: Add comment about non-Linux use.
5083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5084 bits/mman-linux.h resting place.
5086 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5087 * bits/mman-linux.h: ... here.
5089 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5091 * conform/conformtest.pl: Add standard definition when calling C
5092 preprocessor on data files.
5093 (checknamespace): Remove unused variable.
5095 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5097 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5098 minus_oflow, plus_uflow and minus_uflow in expected results.
5099 * math/libm-test.inc (scalbn_test_data): Add more tests of
5100 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5102 (scalbn_test): Use ALL_RM_TEST.
5103 (scalbln_test_data): Add more tests of negative arguments. Use
5104 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5105 (scalbln_test): Use ALL_RM_TEST.
5107 2014-03-18 Roland McGrath <roland@hack.frob.com>
5109 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5111 2014-03-18 Will Newton <will.newton@linaro.org>
5113 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5116 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5118 * Makerules [!subdir] (check-abi): Exit with error status if a
5121 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5123 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5124 for rint. Include results for all rounding modes.
5125 (nearbyint_test): Use ALL_RM_TEST.
5126 (rint_test_data): Include all tests used for nearbyint.
5128 2014-03-17 Will Newton <will.newton@linaro.org>
5130 * nptl/sysdeps/pthread/pthread.h: Revert previous
5133 * sysdeps/generic/ldsodefs.h: Revert previous
5136 * libio/genops.c: Revert previous change.
5137 * libio/libioP.h: Likewise.
5138 * stdio-common/vfprintf.c: Likewise.
5140 * sysdeps/generic/math_private.h: Revert previous
5143 * sysdeps/generic/math_private.h: Check whether
5144 HAVE_RM_CTX is defined with #ifdef rather
5147 * argp/argp-fmtstream.h: Check whether
5148 __STRICT_ANSI__ is defined with #ifdef rather
5150 * argp/argp.h: Likewise.
5152 * libio/genops.c: Check whether
5153 _IO_JUMPS_OFFSET is defined with #ifdef rather
5155 * libio/libioP.h: Likewise.
5156 * stdio-common/vfprintf.c: Likewise.
5158 * sysdeps/generic/ldsodefs.h: Check whether
5159 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5162 * nptl/sysdeps/pthread/pthread.h: Check
5163 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5166 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5168 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5170 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5174 * libio/fileops.c (_IO_file_open): Seek to end of file but
5175 don't cache the offset.
5176 (get_file_offset): Remove function.
5177 (do_ftell): Use cached offset when available.
5178 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5179 don't cache the offset.
5180 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5182 (do_one_test): Call it.
5183 (do_ftell_test): Fix up expected old offset for a+ mode.
5184 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5187 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5188 up test status with function return status.
5189 (do_write_test): Likewise.
5190 (do_append_test): Likewise.
5192 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5193 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5196 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5198 * math/gen-libm-test.pl (parse_args): Handle results specified for
5199 each rounding mode separately.
5200 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5201 tests and results from lrint_tonearest_test_data,
5202 lrint_towardzero_test_data, lrint_downward_test_data and
5203 lrint_upward_test_data.
5204 (lrint_test): Use ALL_RM_TEST.
5205 (lrint_tonearest_test_data): Remove.
5206 (lrint_test_tonearest): Likewise.
5207 (lrint_towardzero_test_data): Likewise.
5208 (lrint_test_towardzero): Likewise.
5209 (lrint_downward_test_data): Likewise.
5210 (lrint_test_downward): Likewise.
5211 (lrint_upward_test_data): Likewise.
5212 (lrint_test_upward): Likewise.
5213 (llrint_test_data): Merge in per-rounding-mode tests and results
5214 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5215 llrint_downward_test_data and llrint_upward_test_data.
5216 (llrint_test): Use ALL_RM_TEST.
5217 (llrint_tonearest_test_data): Remove.
5218 (llrint_test_tonearest): Likewise.
5219 (llrint_towardzero_test_data): Likewise.
5220 (llrint_test_towardzero): Likewise.
5221 (llrint_downward_test_data): Likewise.
5222 (llrint_test_downward): Likewise.
5223 (llrint_upward_test_data): Likewise.
5224 (llrint_test_upward): Likewise.
5225 (rint_test_data): Merge in per-rounding-mode tests and results
5226 from rint_tonearest_test_data, rint_towardzero_test_data,
5227 rint_downward_test_data and rint_upward_test_data. Add
5228 per-rounding-mode results for tests not in those arrays.
5229 (rint_test): Use ALL_RM_TEST.
5230 (rint_tonearest_test_data): Remove.
5231 (rint_test_tonearest): Likewise.
5232 (rint_towardzero_test_data): Likewise.
5233 (rint_test_towardzero): Likewise.
5234 (rint_downward_test_data): Likewise.
5235 (rint_test_downward): Likewise.
5236 (rint_upward_test_data): Likewise.
5237 (rint_test_upward): Likewise.
5238 (main): Don't call removed functions.
5240 2014-03-14 Roland McGrath <roland@hack.frob.com>
5242 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5243 "Compiled on ..." crapola. It is anti-useful.
5245 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5247 * scripts/evaluate-test.sh: Handle fourth argument to determine
5248 whether test run should stop on failure.
5249 * Makeconfig (stop-on-test-failure): New variable.
5250 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5251 $(stop-on-test-failure).
5252 * Makefile (tests): Give a summary of results from testing and
5253 exit with failure status if they include an ERROR or FAIL.
5255 * manual/install.texi (Configuring and compiling): Mention
5256 stop-on-test-failure=y.
5257 * INSTALL: Regenerated.
5259 2014-03-14 Roland McGrath <roland@hack.frob.com>
5261 * scripts/versionlist.awk: New file.
5262 * Makerules [$(build-shared) = yes]
5263 (postclean-generated): Add Versions.def, not Versions.def.v and
5265 ($(common-objpfx)Versions.def.v.i): Target removed.
5266 ($(common-objpfx)Versions.def): New target.
5267 ($(common-objpfx)Versions.all): Depend on that rather that
5268 $(common-objpfx)Versions.def.v.
5269 * Versions.def: File removed.
5271 * Makeconfig (+gccwarn): Add -Wundef.
5272 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5273 a dl-sysdep.h breaking its contract.
5274 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5275 * include/stackinfo.h: New file.
5276 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5277 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5278 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5279 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5280 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5281 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5282 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5283 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5284 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5285 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5286 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5287 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5288 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5289 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5290 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5292 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5295 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5297 * math/libm-test.inc (round_test_data): Add more tests.
5300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5302 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5305 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5307 * math/libm-test.inc (ceil_test_data): Add more tests.
5309 * math/libm-test.inc (trunc_test_data): Add more tests related to
5312 2014-03-14 Roland McGrath <roland@hack.frob.com>
5314 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5315 with #if rather than #ifdef.
5316 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5318 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5320 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5321 first. Disable AVX-512 GCC support if assembler doesn't support
5323 * sysdeps/x86_64/configure: Regenerated.
5325 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5327 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5328 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5329 (__old_pthread_attr_setstack): Likewise.
5330 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5331 [!_STACK_GROWS_DOWN]: Likewise.
5333 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5335 * config.make.in (have-bash2): Delete.
5336 * configure.ac (libc_cv_have_bash2): Delete.
5337 * configure: Regenerate.
5338 * elf/Makefile (common-ldd-rewrite): Rename to ...
5339 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5340 (sh-ldd-rewrite): Delete.
5341 (bash-ldd-rewrite): Delete.
5342 (have-bash2): Delete checks.
5343 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5346 * config.make.in (have-ksh): Delete.
5348 * configure.ac (libc_cv_have_ksh): Delete.
5349 * configure: Regenerate.
5351 * elf/Makefile: Delete $(have-ksh) check.
5352 ($(objpfx)sotruss): Change KSH to BASH.
5353 * elf/sotruss.ksh: Rename to ...
5354 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5355 function style to match POSIX. Drop ksh vim mode setting.
5357 * manual/time.texi (Specifying the Time Zone with TZ): Change
5358 Tuesday to Thursday.
5360 * debug/tst-longjmp_chk2.c: Update header comment.
5361 (stackoverflow_handler): Add comment. Call assert on pass value.
5363 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5365 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5366 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5367 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5368 (La_x86_64_vector): Add zmm.
5369 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5370 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5371 ($(objpfx)tst-audit10): New target.
5372 ($(objpfx)tst-audit10.out): Likewise.
5373 (tst-audit10-ENV): New.
5374 (AVX512-CFLAGS): Likewise.
5375 (CFLAGS-tst-audit10.c): Likewise.
5376 (CFLAGS-tst-auditmod10a.c): Likewise.
5377 (CFLAGS-tst-auditmod10b.c): Likewise.
5378 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5379 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5380 * sysdeps/x86_64/configure: Regenerated.
5381 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5382 AVX-512 zmm register support.
5383 (_dl_x86_64_save_sse): Likewise.
5384 (_dl_x86_64_restore_sse): Likewise.
5385 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5386 size vector registers.
5387 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5388 (ZMM_SIZE): Likewise.
5389 * sysdeps/x86_64/tst-audit10.c: New file.
5390 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5391 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5393 2014-03-13 Roland McGrath <roland@hack.frob.com>
5395 * configure.ac (HAVE_EHDR_START): New check.
5396 * configure: Regenerated.
5397 * config.h.in (HAVE_EHDR_START): New #undef.
5398 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5399 assuming the lowest-addressed segment maps the start of the file.
5401 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5403 * INSTALL: Regenerated.
5405 2014-03-13 Will Newton <will.newton@linaro.org>
5407 * manual/setjmp.texi (System V contexts): Improve
5408 clarity and grammar of documentation.
5410 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5413 * elf/Makefile (tests): Add tst-pie2.
5414 (tests-pie): Add tst-pie2.
5415 * elf/tst-pie2.c: New file.
5416 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5418 * elf/rtld.c (map_doit): Load executable as lt_executable.
5419 (dl_main): Likewise.
5421 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5424 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5425 (__ASSUME_PSELECT): Undefine.
5427 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5430 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5431 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5433 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5434 selector for static builds.
5436 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5439 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5442 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5444 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5445 IFUNC selector for static builds.
5447 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5449 * sysdeps/mips/math_private.h [__mips_hard_float]
5450 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5451 libc_feresetround_mips_ctx.
5452 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5453 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5454 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5457 * math/s_nextafter.c (__nextafter): Do not return value from
5458 overflowing computation.
5459 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5460 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5461 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5463 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5465 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5466 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5468 2014-03-11 Roland McGrath <roland@hack.frob.com>
5470 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5471 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5472 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5473 the new mov targetting sp.
5475 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5478 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5479 Define it for static builds as well.
5480 (NO_BZERO_IMPL): Likewise.
5482 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5484 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5485 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5486 multiarch strspn for PPC64.
5487 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5488 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5490 (__libc_ifunc_impl_list): Likewise.
5491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5492 multiarch optimizations
5493 * string/strspn.c (strspn): Using macro to redefine symbol name.
5495 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5496 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5498 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5499 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5500 multiarch strncat for PPC64.
5501 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5502 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5504 (__libc_ifunc_impl_list): Likewise.
5505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5506 multiarch optimizations
5508 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5511 * nscd/nscd.service: Make service type forking.
5513 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5515 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5516 sign in non default rounding modes.
5517 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5519 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5521 * math/libm-test.inc (ALL_RM_TEST): New macro.
5522 (ceil_test): Use ALL_RM_TEST.
5523 (cimag_test): Likewise.
5524 (conj_test): Likewise.
5525 (copysign_test): Likewise.
5526 (cproj_test): Likewise.
5527 (creal_test): Likewise.
5528 (fabs_test): Likewise.
5529 (floor_test): Likewise.
5530 (fmax_test): Likewise.
5531 (fmin_test): Likewise.
5532 (fmod_test): Likewise.
5533 (fpclassify_test): Likewise.
5534 (frexp_test): Likewise.
5535 (ilogb_test): Likewise.
5536 (isfinite_test): Likewise.
5537 (finite_test): Likewise.
5538 (isgreater_test): Likewise.
5539 (isgreaterequal_test): Likewise.
5540 (isinf_test): Likewise.
5541 (isless_test): Likewise.
5542 (islessequal_test): Likewise.
5543 (islessgreater_test): Likewise.
5544 (isnan_test): Likewise.
5545 (isnormal_test): Likewise.
5546 (issignaling_test): Likewise.
5547 (isunordered_test): Likewise.
5548 (logb_test): Likewise.
5549 (logb_downward_test_data): Remove.
5550 (logb_test_downward): Likewise.
5551 (lround_test): Use ALL_RM_TEST.
5552 (llround_test): Likewise.
5553 (modf_test): Likewise.
5554 (nexttoward_test): Likewise.
5555 (remainder_test): Likewise.
5556 (drem_test): Likewise.
5557 (remainder_tonearest_test_data): Likewise.
5558 (remainder_test_tonearest): Likewise.
5559 (drem_test_tonearest): Likewise.
5560 (remainder_towardzero_test_data): Likewise.
5561 (remainder_test_towardzero): Likewise.
5562 (drem_test_towardzero): Likewise.
5563 (remainder_downward_test_data): Likewise.
5564 (remainder_test_downward): Likewise.
5565 (drem_test_downward): Likewise.
5566 (remainder_upward_test_data): Likewise.
5567 (remainder_test_upward): Likewise.
5568 (drem_test_upward): Likewise.
5569 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5570 (round_test): Use ALL_RM_TEST.
5571 (signbit_test): Likewise.
5572 (trunc_test): Likewise.
5573 (significand_test): Likewise.
5574 (main): Don't call removed functions.
5576 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5579 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5581 (ILL_ILLOPN): Likewise.
5582 (ILL_ILLADR): Likewise.
5583 (ILL_ILLTRP): Likewise.
5584 (ILL_PRVOPC): Likewise.
5585 (ILL_PRVREG): Likewise.
5586 (ILL_COPROC): Likewise.
5587 (ILL_BADSTK): Likewise.
5588 (FPE_INTDIV): Likewise.
5589 (FPE_INTOVF): Likewise.
5590 (FPE_FLTDIV): Likewise.
5591 (FPE_FLTOVF): Likewise.
5592 (FPE_FLTUND): Likewise.
5593 (FPE_FLTRES): Likewise.
5594 (FPE_FLTINV): Likewise.
5595 (FPE_FLTSUB): Likewise.
5596 (SEGV_MAPERR): Likewise.
5597 (SEGV_ACCERR): Likewise.
5598 (BUS_ADRALN): Likewise.
5599 (BUS_ADRERR): Likewise.
5600 (BUS_OBJERR): Likewise.
5601 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5602 (TRAP_TRACE): Likewise.
5603 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5605 (CLD_KILLED): Likewise.
5606 (CLD_DUMPED): Likewise.
5607 (CLD_TRAPPED): Likewise.
5608 (CLD_STOPPED): Likewise.
5609 (CLD_CONTINUED): Likewise.
5610 (POLL_IN): Likewise.
5611 (POLL_OUT): Likewise.
5612 (POLL_MSG): Likewise.
5613 (POLL_ERR): Likewise.
5614 (POLL_PRI): Likewise.
5615 (POLL_HUP): Likewise.
5616 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5618 (ILL_ILLOPN): Likewise.
5619 (ILL_ILLADR): Likewise.
5620 (ILL_ILLTRP): Likewise.
5621 (ILL_PRVOPC): Likewise.
5622 (ILL_PRVREG): Likewise.
5623 (ILL_COPROC): Likewise.
5624 (ILL_BADSTK): Likewise.
5625 (FPE_INTDIV): Likewise.
5626 (FPE_INTOVF): Likewise.
5627 (FPE_FLTDIV): Likewise.
5628 (FPE_FLTOVF): Likewise.
5629 (FPE_FLTUND): Likewise.
5630 (FPE_FLTRES): Likewise.
5631 (FPE_FLTINV): Likewise.
5632 (FPE_FLTSUB): Likewise.
5633 (SEGV_MAPERR): Likewise.
5634 (SEGV_ACCERR): Likewise.
5635 (BUS_ADRALN): Likewise.
5636 (BUS_ADRERR): Likewise.
5637 (BUS_OBJERR): Likewise.
5638 (BUS_MCEERR_AR): Likewise.
5639 (BUS_MCEERR_AO): Likewise.
5640 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5641 (TRAP_TRACE): Likewise.
5642 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5644 (CLD_KILLED): Likewise.
5645 (CLD_DUMPED): Likewise.
5646 (CLD_TRAPPED): Likewise.
5647 (CLD_STOPPED): Likewise.
5648 (CLD_CONTINUED): Likewise.
5649 (POLL_IN): Likewise.
5650 (POLL_OUT): Likewise.
5651 (POLL_MSG): Likewise.
5652 (POLL_ERR): Likewise.
5653 (POLL_PRI): Likewise.
5654 (POLL_HUP): Likewise.
5655 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5656 (ILL_ILLOPN): Likewise.
5657 (ILL_ILLADR): Likewise.
5658 (ILL_ILLTRP): Likewise.
5659 (ILL_PRVOPC): Likewise.
5660 (ILL_PRVREG): Likewise.
5661 (ILL_COPROC): Likewise.
5662 (ILL_BADSTK): Likewise.
5663 (FPE_INTDIV): Likewise.
5664 (FPE_INTOVF): Likewise.
5665 (FPE_FLTDIV): Likewise.
5666 (FPE_FLTOVF): Likewise.
5667 (FPE_FLTUND): Likewise.
5668 (FPE_FLTRES): Likewise.
5669 (FPE_FLTINV): Likewise.
5670 (FPE_FLTSUB): Likewise.
5671 (SEGV_MAPERR): Likewise.
5672 (SEGV_ACCERR): Likewise.
5673 (BUS_ADRALN): Likewise.
5674 (BUS_ADRERR): Likewise.
5675 (BUS_OBJERR): Likewise.
5676 (BUS_MCEERR_AR): Likewise.
5677 (BUS_MCEERR_AO): Likewise.
5678 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5679 (TRAP_TRACE): Likewise.
5680 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5682 (CLD_KILLED): Likewise.
5683 (CLD_DUMPED): Likewise.
5684 (CLD_TRAPPED): Likewise.
5685 (CLD_STOPPED): Likewise.
5686 (CLD_CONTINUED): Likewise.
5687 (POLL_IN): Likewise.
5688 (POLL_OUT): Likewise.
5689 (POLL_MSG): Likewise.
5690 (POLL_ERR): Likewise.
5691 (POLL_PRI): Likewise.
5692 (POLL_HUP): Likewise.
5693 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5695 (ILL_ILLOPN): Likewise.
5696 (ILL_ILLADR): Likewise.
5697 (ILL_ILLTRP): Likewise.
5698 (ILL_PRVOPC): Likewise.
5699 (ILL_PRVREG): Likewise.
5700 (ILL_COPROC): Likewise.
5701 (ILL_BADSTK): Likewise.
5702 (ILL_BADIADDR): Likewise.
5703 (ILL_BREAK): Likewise.
5704 (FPE_INTDIV): Likewise.
5705 (FPE_INTOVF): Likewise.
5706 (FPE_FLTDIV): Likewise.
5707 (FPE_FLTOVF): Likewise.
5708 (FPE_FLTUND): Likewise.
5709 (FPE_FLTRES): Likewise.
5710 (FPE_FLTINV): Likewise.
5711 (FPE_FLTSUB): Likewise.
5712 (FPE_DECOVF): Likewise.
5713 (FPE_DECDIV): Likewise.
5714 (FPE_DECERR): Likewise.
5715 (FPE_INVASC): Likewise.
5716 (FPE_INVDEC): Likewise.
5717 (SEGV_MAPERR): Likewise.
5718 (SEGV_ACCERR): Likewise.
5719 (SEGV_PSTKOVF): Likewise.
5720 (BUS_ADRALN): Likewise.
5721 (BUS_ADRERR): Likewise.
5722 (BUS_OBJERR): Likewise.
5723 (BUS_MCEERR_AR): Likewise.
5724 (BUS_MCEERR_AO): Likewise.
5725 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5726 (TRAP_TRACE): Likewise.
5727 (TRAP_BRANCH): Likewise.
5728 (TRAP_HWBKPT): Likewise.
5729 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5731 (CLD_KILLED): Likewise.
5732 (CLD_DUMPED): Likewise.
5733 (CLD_TRAPPED): Likewise.
5734 (CLD_STOPPED): Likewise.
5735 (CLD_CONTINUED): Likewise.
5736 (POLL_IN): Likewise.
5737 (POLL_OUT): Likewise.
5738 (POLL_MSG): Likewise.
5739 (POLL_ERR): Likewise.
5740 (POLL_PRI): Likewise.
5741 (POLL_HUP): Likewise.
5742 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5743 (ILL_ILLOPN): Likewise.
5744 (ILL_ILLADR): Likewise.
5745 (ILL_ILLTRP): Likewise.
5746 (ILL_PRVOPC): Likewise.
5747 (ILL_PRVREG): Likewise.
5748 (ILL_COPROC): Likewise.
5749 (ILL_BADSTK): Likewise.
5750 (FPE_INTDIV): Likewise.
5751 (FPE_INTOVF): Likewise.
5752 (FPE_FLTDIV): Likewise.
5753 (FPE_FLTOVF): Likewise.
5754 (FPE_FLTUND): Likewise.
5755 (FPE_FLTRES): Likewise.
5756 (FPE_FLTINV): Likewise.
5757 (FPE_FLTSUB): Likewise.
5758 (SEGV_MAPERR): Likewise.
5759 (SEGV_ACCERR): Likewise.
5760 (BUS_ADRALN): Likewise.
5761 (BUS_ADRERR): Likewise.
5762 (BUS_OBJERR): Likewise.
5763 (BUS_MCEERR_AR): Likewise.
5764 (BUS_MCEERR_AO): Likewise.
5765 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5766 (TRAP_TRACE): Likewise.
5767 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5769 (CLD_KILLED): Likewise.
5770 (CLD_DUMPED): Likewise.
5771 (CLD_TRAPPED): Likewise.
5772 (CLD_STOPPED): Likewise.
5773 (CLD_CONTINUED): Likewise.
5774 (POLL_IN): Likewise.
5775 (POLL_OUT): Likewise.
5776 (POLL_MSG): Likewise.
5777 (POLL_ERR): Likewise.
5778 (POLL_PRI): Likewise.
5779 (POLL_HUP): Likewise.
5780 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5781 (ILL_ILLOPN): Likewise.
5782 (ILL_ILLADR): Likewise.
5783 (ILL_ILLTRP): Likewise.
5784 (ILL_PRVOPC): Likewise.
5785 (ILL_PRVREG): Likewise.
5786 (ILL_COPROC): Likewise.
5787 (ILL_BADSTK): Likewise.
5788 (FPE_INTDIV): Likewise.
5789 (FPE_INTOVF): Likewise.
5790 (FPE_FLTDIV): Likewise.
5791 (FPE_FLTOVF): Likewise.
5792 (FPE_FLTUND): Likewise.
5793 (FPE_FLTRES): Likewise.
5794 (FPE_FLTINV): Likewise.
5795 (FPE_FLTSUB): Likewise.
5796 (SEGV_MAPERR): Likewise.
5797 (SEGV_ACCERR): Likewise.
5798 (BUS_ADRALN): Likewise.
5799 (BUS_ADRERR): Likewise.
5800 (BUS_OBJERR): Likewise.
5801 (BUS_MCEERR_AR): Likewise.
5802 (BUS_MCEERR_AO): Likewise.
5803 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5804 (TRAP_TRACE): Likewise.
5805 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5807 (CLD_KILLED): Likewise.
5808 (CLD_DUMPED): Likewise.
5809 (CLD_TRAPPED): Likewise.
5810 (CLD_STOPPED): Likewise.
5811 (CLD_CONTINUED): Likewise.
5812 (POLL_IN): Likewise.
5813 (POLL_OUT): Likewise.
5814 (POLL_MSG): Likewise.
5815 (POLL_ERR): Likewise.
5816 (POLL_PRI): Likewise.
5817 (POLL_HUP): Likewise.
5818 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5819 (ILL_ILLOPN): Likewise.
5820 (ILL_ILLADR): Likewise.
5821 (ILL_ILLTRP): Likewise.
5822 (ILL_PRVOPC): Likewise.
5823 (ILL_PRVREG): Likewise.
5824 (ILL_COPROC): Likewise.
5825 (ILL_BADSTK): Likewise.
5826 (FPE_INTDIV): Likewise.
5827 (FPE_INTOVF): Likewise.
5828 (FPE_FLTDIV): Likewise.
5829 (FPE_FLTOVF): Likewise.
5830 (FPE_FLTUND): Likewise.
5831 (FPE_FLTRES): Likewise.
5832 (FPE_FLTINV): Likewise.
5833 (FPE_FLTSUB): Likewise.
5834 (SEGV_MAPERR): Likewise.
5835 (SEGV_ACCERR): Likewise.
5836 (BUS_ADRALN): Likewise.
5837 (BUS_ADRERR): Likewise.
5838 (BUS_OBJERR): Likewise.
5839 (BUS_MCEERR_AR): Likewise.
5840 (BUS_MCEERR_AO): Likewise.
5841 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5842 (TRAP_TRACE): Likewise.
5843 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5845 (CLD_KILLED): Likewise.
5846 (CLD_DUMPED): Likewise.
5847 (CLD_TRAPPED): Likewise.
5848 (CLD_STOPPED): Likewise.
5849 (CLD_CONTINUED): Likewise.
5850 (POLL_IN): Likewise.
5851 (POLL_OUT): Likewise.
5852 (POLL_MSG): Likewise.
5853 (POLL_ERR): Likewise.
5854 (POLL_PRI): Likewise.
5855 (POLL_HUP): Likewise.
5856 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5857 (ILL_ILLOPN): Likewise.
5858 (ILL_ILLADR): Likewise.
5859 (ILL_ILLTRP): Likewise.
5860 (ILL_PRVOPC): Likewise.
5861 (ILL_PRVREG): Likewise.
5862 (ILL_COPROC): Likewise.
5863 (ILL_BADSTK): Likewise.
5864 (ILL_DBLFLT): Likewise.
5865 (ILL_HARDWALL): Likewise.
5866 (FPE_INTDIV): Likewise.
5867 (FPE_INTOVF): Likewise.
5868 (FPE_FLTDIV): Likewise.
5869 (FPE_FLTOVF): Likewise.
5870 (FPE_FLTUND): Likewise.
5871 (FPE_FLTRES): Likewise.
5872 (FPE_FLTINV): Likewise.
5873 (FPE_FLTSUB): Likewise.
5874 (SEGV_MAPERR): Likewise.
5875 (SEGV_ACCERR): Likewise.
5876 (BUS_ADRALN): Likewise.
5877 (BUS_ADRERR): Likewise.
5878 (BUS_OBJERR): Likewise.
5879 (BUS_MCEERR_AR): Likewise.
5880 (BUS_MCEERR_AO): Likewise.
5881 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5882 (TRAP_TRACE): Likewise.
5883 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5885 (CLD_KILLED): Likewise.
5886 (CLD_DUMPED): Likewise.
5887 (CLD_TRAPPED): Likewise.
5888 (CLD_STOPPED): Likewise.
5889 (CLD_CONTINUED): Likewise.
5890 (POLL_IN): Likewise.
5891 (POLL_OUT): Likewise.
5892 (POLL_MSG): Likewise.
5893 (POLL_ERR): Likewise.
5894 (POLL_PRI): Likewise.
5895 (POLL_HUP): Likewise.
5896 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5897 (ILL_ILLOPN): Likewise.
5898 (ILL_ILLADR): Likewise.
5899 (ILL_ILLTRP): Likewise.
5900 (ILL_PRVOPC): Likewise.
5901 (ILL_PRVREG): Likewise.
5902 (ILL_COPROC): Likewise.
5903 (ILL_BADSTK): Likewise.
5904 (FPE_INTDIV): Likewise.
5905 (FPE_INTOVF): Likewise.
5906 (FPE_FLTDIV): Likewise.
5907 (FPE_FLTOVF): Likewise.
5908 (FPE_FLTUND): Likewise.
5909 (FPE_FLTRES): Likewise.
5910 (FPE_FLTINV): Likewise.
5911 (FPE_FLTSUB): Likewise.
5912 (SEGV_MAPERR): Likewise.
5913 (SEGV_ACCERR): Likewise.
5914 (BUS_ADRALN): Likewise.
5915 (BUS_ADRERR): Likewise.
5916 (BUS_OBJERR): Likewise.
5917 (BUS_MCEERR_AR): Likewise.
5918 (BUS_MCEERR_AO): Likewise.
5919 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5920 (TRAP_TRACE): Likewise.
5921 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5923 (CLD_KILLED): Likewise.
5924 (CLD_DUMPED): Likewise.
5925 (CLD_TRAPPED): Likewise.
5926 (CLD_STOPPED): Likewise.
5927 (CLD_CONTINUED): Likewise.
5928 (POLL_IN): Likewise.
5929 (POLL_OUT): Likewise.
5930 (POLL_MSG): Likewise.
5931 (POLL_ERR): Likewise.
5932 (POLL_PRI): Likewise.
5933 (POLL_HUP): Likewise.
5934 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5935 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5938 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5939 before #include of <time.h>.
5940 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5941 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5942 (test-xfail-UNIX98/sched.h/conform): Likewise.
5944 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5946 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5947 error absence of trapping exception support.
5948 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5950 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5952 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5953 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5954 * timezone/Makefile (testdata): Move definition above include of
5956 (test-zones): New variable.
5957 (tests-special): Add zone files.
5958 (build-testdata): Use $(evaluate-test).
5960 * elf/Makefile (tests-special): Rename tests to end with .out.
5961 ($(objpfx)noload-mem): Likewise.
5962 ($(objpfx)tst-leaks1-mem): Likewise.
5963 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5964 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5965 $(objpfx)test-iconvconfig.out.
5966 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5967 set -e inside subshell and redirect output to file.
5968 * iconvdata/Makefile (generated): Rename tests to end with .out.
5970 (tests-special): Rename tests to end with .out.
5971 ($(objpfx)mtrace-tst-loading): Likewise.
5972 * intl/Makefile (generated): Likewise.
5973 (tests-special): Likewise.
5974 ($(objpfx)mtrace-tst-gettext): Likewise.
5975 * misc/Makefile (generated): Likewise.
5976 (tests-special): Likewise.
5977 ($(objpfx)tst-error1-mem): Likewise.
5978 * nptl/Makefile (tests-special): Likewise.
5979 ($(objpfx)tst-stack3-mem): Likewise.
5980 (generated): Likewise.
5981 * posix/Makefile (generated): Likewise.
5982 (tests-special): Likewise.
5983 (xtests-special): Likewise.
5984 ($(objpfx)tst-fnmatch-mem): Likewise.
5985 ($(objpfx)bug-regex2-mem): Likewise.
5986 ($(objpfx)bug-regex14-mem): Likewise.
5987 ($(objpfx)bug-regex21-mem): Likewise.
5988 ($(objpfx)bug-regex31-mem): Likewise.
5989 ($(objpfx)tst-vfork3-mem): Likewise.
5990 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5991 ($(objpfx)tst-pcre-mem): Likewise.
5992 ($(objpfx)tst-boost-mem): Likewise.
5993 ($(objpfx)bug-ga2-mem): Likewise.
5994 ($(objpfx)bug-glob2-mem): Likewise.
5995 * resolv/Makefile (generate): Likewise.
5996 (tests-special): Likewise.
5997 (xtests-special): Likewise.
5998 (generated): Likewise.
5999 ($(objpfx)mtrace-tst-leaks): Likewise.
6000 ($(objpfx)mtrace-tst-leaks2): Likewise.
6002 * scripts/merge-test-results.sh: New file.
6003 * Makefile (tests-special-notdir): New variable.
6004 (tests): Run merge-test-results.sh.
6006 * Rules (tests-special-notdir): New variable.
6007 (xtests-special-notdir): Likewise.
6008 (tests): Run merge-test-results.sh
6011 * Makeconfig (test-xfail-name): New variable.
6012 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6013 compute variable name for expected failures.
6014 * conform/Makefile (conformtest-headers-data): New variable.
6015 (conformtest-standards): Likewise.
6016 (conformtest-headers-ISO): Likewise.
6017 (conformtest-headers-ISO99): Likewise.
6018 (conformtest-headers-ISO11): Likewise.
6019 (conformtest-headers-POSIX): Likewise.
6020 (conformtest-headers-XPG3): Likewise.
6021 (conformtest-headers-XPG4): Likewise.
6022 (conformtest-headers-UNIX98): Likewise.
6023 (conformtest-headers-XOPEN2K): Likewise.
6024 (conformtest-headers-POSIX2008): Likewise.
6025 (conformtest-headers-XOPEN2K8): Likewise.
6026 (conformtest-header-list-base): Likewise.
6027 (conformtest-header-list-tests): Likewise.
6028 (conformtest-header-base): Likewise.
6029 (conformtest-header-tests): Likewise.
6030 (tests-special): Add $(conformtest-header-list-tests). If
6031 [$(fast-check) && !$(cross-compiling)], add
6032 $(conformtest-header-tests) instead of
6033 $(objpfx)run-conformtest.out.
6034 (generated): Add $(conformtest-header-list-base). If
6035 [$(fast-check) && !$(cross-compiling)], add
6036 $(conformtest-header-base). Remove previous setting.
6037 ($(conformtest-header-list-tests)): New target.
6038 (test-xfail-run-conformtest): Remove variable.
6039 ($(objpfx)run-conformtest.out): Remove target.
6040 (test-xfail-ISO11/complex.h/conform): New variable.
6041 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6042 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6043 (test-xfail-XPG3/varargs.h/conform): Likewise.
6044 (test-xfail-XPG4/varargs.h/conform): Likewise.
6045 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6046 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6047 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6048 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6049 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6050 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6051 (test-xfail-XPG3/ftw.h/conform): Likewise.
6052 (test-xfail-XPG3/grp.h/conform): Likewise.
6053 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6054 (test-xfail-XPG3/limits.h/conform): Likewise.
6055 (test-xfail-XPG3/pwd.h/conform): Likewise.
6056 (test-xfail-XPG3/search.h/conform): Likewise.
6057 (test-xfail-XPG3/signal.h/conform): Likewise.
6058 (test-xfail-XPG3/stdio.h/conform): Likewise.
6059 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6060 (test-xfail-XPG3/string.h/conform): Likewise.
6061 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6062 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6063 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6064 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6065 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6066 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6067 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6068 (test-xfail-XPG3/termios.h/conform): Likewise.
6069 (test-xfail-XPG3/time.h/conform): Likewise.
6070 (test-xfail-XPG3/unistd.h/conform): Likewise.
6071 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6072 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6073 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6074 (test-xfail-XPG4/netdb.h/conform): Likewise.
6075 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6076 (test-xfail-XPG4/signal.h/conform): Likewise.
6077 (test-xfail-XPG4/stdio.h/conform): Likewise.
6078 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6079 (test-xfail-XPG4/stropts.h/conform): Likewise.
6080 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6081 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6082 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6083 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6084 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6085 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6086 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6087 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6088 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6089 (test-xfail-XPG4/termios.h/conform): Likewise.
6090 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6091 (test-xfail-XPG4/unistd.h/conform): Likewise.
6092 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6093 (test-xfail-POSIX/sched.h/conform): Likewise.
6094 (test-xfail-POSIX/signal.h/conform): Likewise.
6095 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6096 (test-xfail-POSIX/tar.h/conform): Likewise.
6097 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6098 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6099 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6100 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6101 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6102 (test-xfail-UNIX98/sched.h/conform): Likewise.
6103 (test-xfail-UNIX98/signal.h/conform): Likewise.
6104 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6105 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6106 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6107 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6108 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6109 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6110 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6111 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6112 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6113 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6114 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6115 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6116 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6117 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6118 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6119 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6120 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6121 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6122 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6123 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6124 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6125 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6126 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6127 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6128 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6129 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6130 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6131 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6132 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6133 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6134 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6135 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6136 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6137 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6138 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6139 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6140 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6141 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6142 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6143 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6144 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6145 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6146 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6147 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6148 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6149 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6150 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6151 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6152 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6153 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6154 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6155 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6156 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6157 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6158 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6159 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6160 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6161 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6162 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6163 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6164 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6165 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6166 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6167 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6168 (conformtest-cc-flags): Likewise.
6169 ($(conformtest-header-tests): New target.
6170 * conform/check-header-lists.sh: New file.
6171 * conform/run-conformtest.sh: Remove.
6173 * conform/conformtest.pl: Allow ' and \ in values given for
6175 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6177 [POSIX] (sys/types.h): Likewise.
6178 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6180 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6182 * conform/data/signal.h-data (SIGIO): Remove expectation.
6183 [XPG3] (SIGBUS): Do not expect.
6184 [POSIX || XPG3] (SIGPOLL): Likewise.
6185 [POSIX || XPG3] (SIGPROF): Likewise.
6186 [POSIX || XPG3] (SIGSYS): Likewise.
6187 [XPG3] (SIGTRAP): Likewise.
6188 [POSIX || XPG3] (SIGURG): Likewise.
6189 [POSIX || XPG3] (SIGVTALRM): Likewise.
6190 [POSIX || XPG3] (SIGXCPU): Likewise.
6191 [POSIX || XPG3] (SIGXFSZ): Likewise.
6192 [POSIX] (SA_SIGINFO): Expect.
6193 [XPG3] (siginfo_t): Do not expect type or contents.
6194 [POSIX] (si_pid): Do not expect element.
6195 [POSIX] (si_uid): Likewise.
6196 [POSIX] (si_addr): Likewise.
6197 [POSIX] (si_status): Likewise.
6198 [POSIX] (si_band): Likewise.
6199 [XPG4] (si_value): Likewise.
6200 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6201 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6202 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6203 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6204 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6205 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6206 [POSIX || XPG3] (ILL_COPROC): Likewise.
6207 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6208 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6209 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6210 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6211 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6212 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6213 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6214 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6215 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6216 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6217 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6218 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6219 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6220 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6221 [POSIX || XPG3] (CLD_EXITED): Likewise.
6222 [POSIX || XPG3] (CLD_KILLED): Likewise.
6223 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6224 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6225 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6226 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6227 [POSIX || XPG3] (POLL_IN): Likewise.
6228 [POSIX || XPG3] (POLL_OUT): Likewise.
6229 [POSIX || XPG3] (POLL_MSG): Likewise.
6230 [POSIX || XPG3] (POLL_ERR): Likewise.
6231 [POSIX || XPG3] (POLL_PRI): Likewise.
6232 [POSIX || XPG3] (POLL_HUP): Likewise.
6233 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6234 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6235 (SIG*): Do not allow.
6236 [XPG3] (si_*): Likewise.
6237 [XPG3] (SI_*): Likewise.
6238 [XPG3 || XPG4] (sigev_*): Likewise.
6239 [XPG3 || XPG4] (SIGEV_*): Likewise.
6240 [XPG3 || XPG4] (sival_*): Likewise.
6241 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6242 [POSIX || XPG3] (BUS_*): Likewise.
6243 [POSIX || XPG3] (CLD_*): Likewise.
6244 [POSIX || XPG3] (FPE_*): Likewise.
6245 [POSIX || XPG3] (ILL_*): Likewise.
6246 [POSIX || XPG3] (POLL_*): Likewise.
6247 [POSIX || XPG3] (SEGV_*): Likewise.
6248 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6249 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6250 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6251 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6252 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6253 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6254 Specify type and value.
6255 (TVERSLEN): Likewise.
6256 (REGTYPE): Likewise.
6257 (AREGTYPE): Likewise.
6258 (LNKTYPE): Likewise.
6259 (SYMTYPE): Likewise.
6260 (CHRTYPE): Likewise.
6261 (BLKTYPE): Likewise.
6262 (DIRTYPE): Likewise.
6263 (FIFOTYPE): Likewise.
6264 (CONTTYPE): Likewise.
6269 (TUWRITE): Likewise.
6272 (TGWRITE): Likewise.
6275 (TOWRITE): Likewise.
6277 [POSIX] (TSVTX): Expect constant.
6279 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6281 * Makefile (tests): Change dependencies to ....
6282 (tests-special): ... additions to this variable.
6283 (tests): Depend on $(tests-special).
6284 * Makerules (check-abi-list): New variable.
6285 (check-abi): Depend on $(check-abi-list).
6286 [$(subdir) = elf] (tests-special): Add
6287 $(objpfx)check-abi-libc.out.
6288 [$(build-shared) = yes && subdir] (tests-special): Add
6290 [$(build-shared) = yes && subdir] (tests): Do not depend on
6292 * Rules (tests): Depend on $(tests-special).
6293 (xtests): Depend on $(xtests-special).
6294 * catgets/Makefile (tests): Change dependencies to ....
6295 (tests-special): ... additions to this variable.
6296 * conform/Makefile (tests): Change dependencies to ....
6297 (tests-special): ... additions to this variable.
6298 * elf/Makefile (tests): Change dependencies to ....
6299 (tests-special): ... additions to this variable.
6300 * grp/Makefile (tests): Change dependencies to ....
6301 (tests-special): ... additions to this variable.
6302 * iconv/Makefile (xtests): Change dependencies to ....
6303 (xtests-special): ... additions to this variable.
6304 * iconvdata/Makefile (tests): Change dependencies to ....
6305 (tests-special): ... additions to this variable.
6306 * intl/Makefile (tests): Change dependencies to ....
6307 (tests-special): ... additions to this variable. Also add
6308 $(objpfx)tst-gettext.out.
6309 * io/Makefile (tests): Change dependencies to ....
6310 (tests-special): ... additions to this variable.
6311 * libio/Makefile (tests): Change dependencies to ....
6312 (tests-special): ... additions to this variable.
6313 * malloc/Makefile (tests): Change dependencies to ....
6314 (tests-special): ... additions to this variable.
6315 * misc/Makefile (tests): Change dependencies to ....
6316 (tests-special): ... additions to this variable.
6317 * nptl/Makefile (tests): Change dependencies to ....
6318 (tests-special): ... additions to this variable.
6319 * nptl_db/Makefile (tests): Change dependencies to ....
6320 (tests-special): ... additions to this variable.
6321 * posix/Makefile (tests): Change dependencies to ....
6322 (tests-special): ... additions to this variable.
6323 (xtests): Change dependencies to ....
6324 (xtests-special): ... additions to this variable.
6325 * resolv/Makefile (tests): Change dependencies to ....
6326 (tests-special): ... additions to this variable.
6327 (xtests): Change dependencies to ....
6328 (xtests-special): ... additions to this variable.
6329 * stdio-common/Makefile (tests): Change dependencies to ....
6330 (tests-special): ... additions to this variable.
6331 (do-tst-unbputc): Remove target.
6332 (do-tst-printf): Likewise.
6333 * stdlib/Makefile (tests): Change dependencies to ....
6334 (tests-special): ... additions to this variable.
6335 * string/Makefile (tests): Change dependencies to ....
6336 (tests-special): ... additions to this variable.
6337 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6338 (tests-special): ... additions to this variable.
6340 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6342 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6344 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6345 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6347 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6348 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6349 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6350 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6351 * conform/data/libgen.h-data [XPG3]: Likewise.
6352 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6353 * conform/data/ndbm.h-data [XPG3]: Likewise.
6354 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6355 * conform/data/netdb.h-data [XPG3]: Likewise.
6356 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6357 * conform/data/poll.h-data [XPG3]: Likewise.
6358 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6359 * conform/data/strings.h-data [XPG3]: Likewise.
6360 * conform/data/stropts.h-data [XPG3]: Likewise.
6361 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6362 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6363 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6365 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6366 * conform/data/sys/time.h-data [XPG3]: Likewise.
6367 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6368 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6369 * conform/data/sys/un.h-data [XPG3]: Likewise.
6370 * conform/data/syslog.h-data [XPG3]: Likewise.
6371 * conform/data/ucontext.h-data [XPG3]: Likewise.
6372 * conform/data/utmpx.h-data [XPG3]: Likewise.
6373 * conform/data/varargs.h-data [UNIX98]: Enable file.
6375 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6377 * math/libm-test.inc (struct test_f_f_data): Move expected results
6378 into structure for each rounding mode.
6379 (struct test_ff_f_data): Likewise.
6380 (struct test_ff_f_data_nexttoward): Likewise.
6381 (struct test_fi_f_data): Likewise.
6382 (struct test_fl_f_data): Likewise.
6383 (struct test_if_f_data): Likewise.
6384 (struct test_fff_f_data): Likewise.
6385 (struct test_c_f_data): Likewise.
6386 (struct test_f_f1_data): Likewise.
6387 (struct test_fF_f1_data): Likewise.
6388 (struct test_ffI_f1_data): Likewise.
6389 (struct test_c_c_data): Likewise.
6390 (struct test_cc_c_data): Likewise.
6391 (struct test_f_i_data): Likewise.
6392 (struct test_ff_i_data): Likewise.
6393 (struct test_f_l_data): Likewise.
6394 (struct test_f_L_data): Likewise.
6395 (struct test_fFF_11_data): Likewise.
6397 (RM_FE_DOWNWARD): Likewise.
6398 (RM_FE_TONEAREST): Likewise.
6399 (RM_FE_TOWARDZERO): Likewise.
6400 (RM_FE_UPWARD): Likewise.
6401 (RUN_TEST_LOOP_f_f): Update references to expected results.
6402 (RUN_TEST_LOOP_2_f): Likewise.
6403 (RUN_TEST_LOOP_fff_f): Likewise.
6404 (RUN_TEST_LOOP_c_f): Likewise.
6405 (RUN_TEST_LOOP_f_f1): Likewise.
6406 (RUN_TEST_LOOP_fF_f1): Likewise.
6407 (RUN_TEST_LOOP_fI_f1): Likewise.
6408 (RUN_TEST_LOOP_ffI_f1): Likewise.
6409 (RUN_TEST_LOOP_c_c): Likewise.
6410 (RUN_TEST_LOOP_cc_c): Likewise.
6411 (RUN_TEST_LOOP_f_i): Likewise.
6412 (RUN_TEST_LOOP_f_i_tg): Likewise.
6413 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6414 (RUN_TEST_LOOP_f_b): Likewise.
6415 (RUN_TEST_LOOP_f_b_tg): Likewise.
6416 (RUN_TEST_LOOP_f_l): Likewise.
6417 (RUN_TEST_LOOP_f_L): Likewise.
6418 (RUN_TEST_LOOP_fFF_11): Likewise.
6419 * math/gen-libm-test.pl (parse_args): Output four copies of
6420 expected results for each test.
6422 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6423 (__ASSUME_UTIMES): Remove.
6424 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6425 (__ASSUME_UTIMES): Likewise.
6427 * math/gen-auto-libm-tests.c: Update comment on output format.
6428 (output_for_one_input_case): Generate before-rounding and
6429 after-rounding information as conditions on output flags not
6430 floating-point format.
6431 * math/auto-libm-test-out: Regenerated.
6432 * math/gen-libm-test.pl (cond_value): New function.
6433 (or_cond_value): Use cond_value.
6434 (generate_testfile): Handle conditional exceptions.
6436 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6438 * math/libm-test.inc (max_valid_error): New variable.
6439 (init_max_error): Take new argument specifying whether function
6440 results are exactly determined. Set max_valid_error and bound
6441 other variables for errors based on this argument.
6442 (set_max_error): Do not record results above max_valid_error.
6443 (check_float_internal): Only accept errors of up to 0.5ulps if
6444 also at most max_valid_error.
6445 (START): Take new argument EXACT and pass it to init_max_error.
6446 (acos_test): Update call to START.
6447 (acos_test_tonearest): Likewise.
6448 (acos_test_towardzero): Likewise.
6449 (acos_test_downward): Likewise.
6450 (acos_test_upward): Likewise.
6451 (acosh_test): Likewise.
6452 (asin_test): Likewise.
6453 (asin_test_tonearest): Likewise.
6454 (asin_test_towardzero): Likewise.
6455 (asin_test_downward): Likewise.
6456 (asin_test_upward): Likewise.
6457 (asinh_test): Likewise.
6458 (atan_test): Likewise.
6459 (atanh_test): Likewise.
6460 (atan2_test): Likewise.
6461 (cabs_test): Likewise.
6462 (cacos_test): Likewise.
6463 (cacosh_test): Likewise.
6464 (carg_test): Likewise.
6465 (casin_test): Likewise.
6466 (casinh_test): Likewise.
6467 (catan_test): Likewise.
6468 (catanh_test): Likewise.
6469 (cbrt_test): Likewise.
6470 (ccos_test): Likewise.
6471 (ccosh_test): Likewise.
6472 (ceil_test): Likewise.
6473 (cexp_test): Likewise.
6474 (cimag_test): Likewise.
6475 (clog_test): Likewise.
6476 (clog10_test): Likewise.
6477 (conj_test): Likewise.
6478 (copysign_test): Likewise.
6479 (cos_test): Likewise.
6480 (cos_test_tonearest): Likewise.
6481 (cos_test_towardzero): Likewise.
6482 (cos_test_downward): Likewise.
6483 (cos_test_upward): Likewise.
6484 (cosh_test): Likewise.
6485 (cosh_test_tonearest): Likewise.
6486 (cosh_test_towardzero): Likewise.
6487 (cosh_test_downward): Likewise.
6488 (cosh_test_upward): Likewise.
6489 (cpow_test): Likewise.
6490 (cproj_test): Likewise.
6491 (creal_test): Likewise.
6492 (csin_test): Likewise.
6493 (csinh_test): Likewise.
6494 (csqrt_test): Likewise.
6495 (ctan_test): Likewise.
6496 (ctan_test_tonearest): Likewise.
6497 (ctan_test_towardzero): Likewise.
6498 (ctan_test_downward): Likewise.
6499 (ctan_test_upward): Likewise.
6500 (ctanh_test): Likewise.
6501 (ctanh_test_tonearest): Likewise.
6502 (ctanh_test_towardzero): Likewise.
6503 (ctanh_test_downward): Likewise.
6504 (ctanh_test_upward): Likewise.
6505 (erf_test): Likewise.
6506 (erfc_test): Likewise.
6507 (exp_test): Likewise.
6508 (exp_test_tonearest): Likewise.
6509 (exp_test_towardzero): Likewise.
6510 (exp_test_downward): Likewise.
6511 (exp_test_upward): Likewise.
6512 (exp10_test): Likewise.
6513 (exp10_test_tonearest): Likewise.
6514 (exp10_test_towardzero): Likewise.
6515 (exp10_test_downward): Likewise.
6516 (exp10_test_upward): Likewise.
6517 (pow10_test): Likewise.
6518 (exp2_test): Likewise.
6519 (expm1_test): Likewise.
6520 (expm1_test_tonearest): Likewise.
6521 (expm1_test_towardzero): Likewise.
6522 (expm1_test_downward): Likewise.
6523 (expm1_test_upward): Likewise.
6524 (fabs_test): Likewise.
6525 (fdim_test): Likewise.
6526 (floor_test): Likewise.
6527 (fma_test): Likewise.
6528 (fma_test_towardzero): Likewise.
6529 (fma_test_downward): Likewise.
6530 (fma_test_upward): Likewise.
6531 (fmax_test): Likewise.
6532 (fmin_test): Likewise.
6533 (fmod_test): Likewise.
6534 (fpclassify_test): Likewise.
6535 (frexp_test): Likewise.
6536 (hypot_test): Likewise.
6537 (ilogb_test): Likewise.
6538 (isfinite_test): Likewise.
6539 (finite_test): Likewise.
6540 (isgreater_test): Likewise.
6541 (isgreaterequal_test): Likewise.
6542 (isinf_test): Likewise.
6543 (isless_test): Likewise.
6544 (islessequal_test): Likewise.
6545 (islessgreater_test): Likewise.
6546 (isnan_test): Likewise.
6547 (isnormal_test): Likewise.
6548 (issignaling_test): Likewise.
6549 (isunordered_test): Likewise.
6550 (j0_test): Likewise.
6551 (j1_test): Likewise.
6552 (jn_test): Likewise.
6553 (ldexp_test): Likewise.
6554 (lgamma_test): Likewise.
6555 (gamma_test): Likewise.
6556 (lrint_test): Likewise.
6557 (lrint_test_tonearest): Likewise.
6558 (lrint_test_towardzero): Likewise.
6559 (lrint_test_downward): Likewise.
6560 (lrint_test_upward): Likewise.
6561 (llrint_test): Likewise.
6562 (llrint_test_tonearest): Likewise.
6563 (llrint_test_towardzero): Likewise.
6564 (llrint_test_downward): Likewise.
6565 (llrint_test_upward): Likewise.
6566 (log_test): Likewise.
6567 (log10_test): Likewise.
6568 (log1p_test): Likewise.
6569 (log2_test): Likewise.
6570 (logb_test): Likewise.
6571 (logb_test_downward): Likewise.
6572 (lround_test): Likewise.
6573 (llround_test): Likewise.
6574 (modf_test): Likewise.
6575 (nearbyint_test): Likewise.
6576 (nextafter_test): Likewise.
6577 (nexttoward_test): Likewise.
6578 (pow_test): Likewise.
6579 (pow_test_tonearest): Likewise.
6580 (pow_test_towardzero): Likewise.
6581 (pow_test_downward): Likewise.
6582 (pow_test_upward): Likewise.
6583 (remainder_test): Likewise.
6584 (drem_test): Likewise.
6585 (remainder_test_tonearest): Likewise.
6586 (drem_test_tonearest): Likewise.
6587 (remainder_test_towardzero): Likewise.
6588 (drem_test_towardzero): Likewise.
6589 (remainder_test_downward): Likewise.
6590 (drem_test_downward): Likewise.
6591 (remainder_test_upward): Likewise.
6592 (drem_test_upward): Likewise.
6593 (remquo_test): Likewise.
6594 (rint_test): Likewise.
6595 (rint_test_tonearest): Likewise.
6596 (rint_test_towardzero): Likewise.
6597 (rint_test_downward): Likewise.
6598 (rint_test_upward): Likewise.
6599 (round_test): Likewise.
6600 (scalb_test): Likewise.
6601 (scalbn_test): Likewise.
6602 (scalbln_test): Likewise.
6603 (signbit_test): Likewise.
6604 (sin_test): Likewise.
6605 (sin_test_tonearest): Likewise.
6606 (sin_test_towardzero): Likewise.
6607 (sin_test_downward): Likewise.
6608 (sin_test_upward): Likewise.
6609 (sincos_test): Likewise.
6610 (sinh_test): Likewise.
6611 (sinh_test_tonearest): Likewise.
6612 (sinh_test_towardzero): Likewise.
6613 (sinh_test_downward): Likewise.
6614 (sinh_test_upward): Likewise.
6615 (sqrt_test): Likewise.
6616 (sqrt_test_tonearest): Likewise.
6617 (sqrt_test_towardzero): Likewise.
6618 (sqrt_test_downward): Likewise.
6619 (sqrt_test_upward): Likewise.
6620 (tan_test): Likewise.
6621 (tan_test_tonearest): Likewise.
6622 (tan_test_towardzero): Likewise.
6623 (tan_test_downward): Likewise.
6624 (tan_test_upward): Likewise.
6625 (tanh_test): Likewise.
6626 (tgamma_test): Likewise.
6627 (trunc_test): Likewise.
6628 (y0_test): Likewise.
6629 (y1_test): Likewise.
6630 (yn_test): Likewise.
6631 (significand_test): Likewise.
6633 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6634 individual tests in comment.
6635 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6636 (prev_max_error): New variable.
6637 (prev_real_max_error): Likewise.
6638 (prev_imag_max_error): Likewise.
6639 (compare_ulp_data): Don't refer to test names in comment.
6640 (find_test_ulps): Remove function.
6641 (find_function_ulps): Likewise.
6642 (find_complex_function_ulps): Likewise.
6643 (init_max_error): Take function name as argument. Look up ulps
6645 (print_ulps): Remove function.
6646 (print_max_error): Use prev_max_error instead of calling
6648 (print_complex_max_error): Use prev_real_max_error and
6649 prev_imag_max_error instead of calling find_complex_function_ulps.
6650 (check_float_internal): Take max_ulp parameter instead of calling
6651 find_test_ulps. Don't call print_ulps.
6652 (check_float): Update call to check_float_internal.
6653 (check_complex): Update calls to check_float_internal.
6654 (START): Pass argument to init_max_error.
6655 * math/gen-libm-test.pl (%results): Don't include "kind"
6657 (parse_ulps): Don't handle ulps of individual tests.
6658 (print_ulps_file): Likewise.
6659 (output_ulps): Likewise.
6660 * math/README.libm-test: Update.
6661 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6663 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6664 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6665 * sysdeps/arm/libm-test-ulps: Likewise.
6666 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6667 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6668 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6669 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6670 * sysdeps/microblaze/libm-test-ulps: Likewise.
6671 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6672 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6673 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6674 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6675 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6676 * sysdeps/sh/libm-test-ulps: Likewise.
6677 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6678 * sysdeps/tile/libm-test-ulps: Likewise.
6679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6681 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6683 * math/libm-test.inc (print_complex_max_error): Check separately
6684 whether real and imaginary errors are within allowed range and
6685 pass 0 to print_complex_function_ulps instead of value within
6688 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6690 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6692 (get_handles_fopen): Likewise.
6693 (do_write_test): Likewise.
6695 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6697 * libio/fileops.c (do_ftell): Use cached offset when
6699 * libio/iofwide.c (do_ftell_wide): Likewise.
6700 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6702 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6705 * libio/libioP.h (get_file_offset): New function.
6706 * libio/fileops.c (get_file_offset): Likewise.
6707 (do_ftell): Likewise.
6708 (_IO_new_file_seekoff): Split out ftell logic.
6709 * libio/wfileops.c (do_ftell_wide): Likewise.
6710 (_IO_wfile_seekoff): Split out ftell logic.
6711 * libio/tst-ftell-active-handler.c: New test case.
6712 * libio/Makefile (tests): Add it.
6714 2014-03-03 Roland McGrath <roland@hack.frob.com>
6716 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6717 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6719 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6722 * nscd/connections.c (nscd_init): Call do_exit.
6723 (start_threads): Call do_exit and notify_parent.
6724 (begin_drop_privileges): Call do_exit.
6725 (finish_drop_privileges): Likewise.
6726 * nscd/selinux.c (preserve_capabilities): Likewise.
6727 (install_real_capabilities): Likewise.
6728 (nscd_selinux_enabled): Likewise.
6729 (avc_create_thread): Likewise.
6730 (avc_alloc_lock): Likewise.
6731 (nscd_avc_init): Likewise.
6732 * nscd/nscd.c (parent_fd): New static variable.
6733 (main): Create a pipe between parent and child processes.
6734 Skip closing parent_fd.
6735 (monitor_child): New function.
6736 (do_exit): Likewise.
6737 (notify_parent): Likewise.
6738 * nscd/nscd.h (notify_parent): Likewise.
6739 (do_exit): Likewise.
6741 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6743 * malloc/malloc.c (__libc_calloc): Revert last change.
6745 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6749 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6751 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6752 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6755 (__libc_ifunc_impl_list): Likewise.
6756 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6757 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6758 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6759 * string/strrchr.c: Define STRRCHR.
6761 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6763 * benchtest/bench-strtok.c (simple_strtok): Delete.
6764 (strtok_string): Use as benchmark.
6765 * string/strtok (STRTOK): New macro.
6767 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6769 * manual/threads.texi: Add header and standard comments to all
6772 * elf/dl-lookup.c (check_match): New function.
6773 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6774 (do_lookup_x): Remove nested function check_match. Use non-nested
6775 function check_match.
6777 2014-02-28 Roland McGrath <roland@hack.frob.com>
6779 * csu/Makefile (generated, before-compile): Use += rather than =.
6780 * catgets/Makefile (generated, generated-dirs): Likewise.
6781 * debug/Makefile (generated): Likewise.
6782 * dlfcn/Makefile (generated): Likewise.
6783 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6784 * iconvdata/Makefile (before-compile, generated): Likewise.
6785 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6786 * libio/Makefile (generated): Likewise.
6787 * malloc/Makefile (generated): Likewise.
6788 * manual/Makefile (generated, generated-dirs): Likewise.
6789 * misc/Makefile (generated): Likewise.
6790 * posix/Makefile (generated): Likewise.
6791 * resolv/Makefile (generated): Likewise.
6792 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6793 * timezone/Makefile (generated, generated-dirs): Likewise.
6795 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6797 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6799 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6800 power8 implementation.
6801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6802 file: POWER8 llround ifunc implementation.
6803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6804 (__lllround): Add POWER8 implementation.
6805 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6806 POWER8 llround implementation.
6808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6809 power8 implementation.
6810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6811 file: POWER8 llrint ifunc implementation.
6812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6813 Add POWER8 implementation.
6814 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6815 POWER8 llrint implementation.
6817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6818 power8 implementation.
6819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6820 file: POWER8 finite ifunc implementation.
6821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6822 Add POWER8 implementation.
6823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6825 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6826 POWER8 finite implementation.
6827 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6830 power8 implementation.
6831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6832 file: POWER8 isinf ifunc implementation.
6833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6834 POWER8 implementation.
6835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6837 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6838 isinf implementation.
6839 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6841 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6842 (INIT_ARCH): Add hwcap2 initialization.
6843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6844 power8 implementation.
6845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6846 file: POWER8 isnan ifunc implementation.
6847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6848 POWER8 implementation.
6849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6851 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6852 isnan implementation.
6853 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6855 2014-02-27 Joey Ye <joey.ye@arm.com>
6857 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6858 (_FP_NANFRAC_Q): Set to zero.
6860 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6863 * math/auto-libm-test-in: New test inputs.
6864 * math/auto-libm-test-out: Regenerate.
6865 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6868 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6870 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6872 * scripts/evaluate-test.sh: Take new argument indicating whether
6873 failure is expected.
6874 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6875 indicating whether failure is expected.
6876 * conform/Makefile (test-xfail-run-conformtest): New variable.
6877 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6879 * posix/Makefile (test-xfail-annexc): New variable.
6880 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6882 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6884 * argp/Makefile: Include Makeconfig immediately after defining
6886 * assert/Makefile: Likewise.
6887 * benchtests/Makefile: Likewise.
6888 * catgets/Makefile: Likewise.
6889 * conform/Makefile: Likewise.
6890 * crypt/Makefile: Likewise.
6891 * csu/Makefile: Likewise.
6892 (all): Remove target.
6893 * ctype/Makefile: Include Makeconfig immediately after defining
6895 * debug/Makefile: Likewise.
6896 * dirent/Makefile: Likewise.
6897 * dlfcn/Makefile: Likewise.
6898 * gmon/Makefile: Likewise.
6899 * gnulib/Makefile: Likewise.
6900 * grp/Makefile: Likewise.
6901 * gshadow/Makefile: Likewise.
6902 * hesiod/Makefile: Likewise.
6903 * hurd/Makefile: Likewise.
6904 (all): Remove target.
6905 * iconvdata/Makefile: Include Makeconfig immediately after
6907 * inet/Makefile: Likewise.
6908 * intl/Makefile: Likewise.
6909 * io/Makefile: Likewise.
6910 * libio/Makefile: Likewise.
6911 (all): Remove target.
6912 * locale/Makefile: Include Makeconfig immediately after defining
6914 * login/Makefile: Likewise.
6915 * mach/Makefile: Likewise.
6916 (all): Remove target.
6917 * malloc/Makefile: Include Makeconfig immediately after defining
6919 (all): Remove target.
6920 * manual/Makefile: Include Makeconfig immediately after defining
6922 * math/Makefile: Likewise.
6923 * misc/Makefile: Likewise.
6924 * nis/Makefile: Likewise.
6925 * nss/Makefile: Likewise.
6926 * po/Makefile: Likewise.
6927 (all): Remove target.
6928 * posix/Makefile: Include Makeconfig immediately after defining
6930 * pwd/Makefile: Likewise.
6931 * resolv/Makefile: Likewise.
6932 * resource/Makefile: Likewise.
6933 * rt/Makefile: Likewise.
6934 * setjmp/Makefile: Likewise.
6935 * shadow/Makefile: Likewise.
6936 * signal/Makefile: Likewise.
6937 * socket/Makefile: Likewise.
6938 * soft-fp/Makefile: Likewise.
6939 * stdio-common/Makefile: Likewise.
6940 * stdlib/Makefile: Likewise.
6941 * streams/Makefile: Likewise.
6942 * string/Makefile: Likewise.
6943 * sunrpc/Makefile: Likewise.
6944 (all): Remove target.
6945 * sysvipc/Makefile: Include Makeconfig immediately after defining
6947 * termios/Makefile: Likewise.
6948 * time/Makefile: Likewise.
6949 * timezone/Makefile: Likewise.
6950 (all): Remove target.
6951 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6953 * wctype/Makefile: Likewise.
6955 2014-02-26 Steve Ellcey <sellcey@mips.com>
6957 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6958 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6959 (libc_feholdexcept_setround_mips): Ditto.
6960 (libc_feholdsetround): New.
6961 (libc_feholdsetroundf): New.
6962 (libc_feholdsetroundl): New.
6963 (libc_feupdateenv_test_mips): New.
6964 (libc_feupdateenv_test): New.
6965 (libc_feupdateenv_testf): New.
6966 (libc_feupdateenv_testl): New.
6967 (libc_feresetround): New.
6968 (libc_feresetroundf): New.
6969 (libc_feresetroundl): New.
6970 (libc_fetestexcept_mips): New.
6971 (libc_fetestexcept): New.
6972 (libc_fetestexceptf): New.
6973 (libc_fetestexceptl): New.
6975 (libc_feholdexcept_setround_mips_ctx): New.
6976 (libc_feholdexcept_setround_ctx): New.
6977 (libc_feholdexcept_setroundf_ctx): New.
6978 (libc_feholdexcept_setroundl_ctx): New.
6979 (libc_fesetenv_mips_ctx): New.
6980 (libc_fesetenv_ctx): New.
6981 (libc_fesetenv_ctxf): New.
6982 (libc_fesetenv_ctxl): New.
6983 (libc_feupdateenv_mips_ctx): New.
6984 (libc_feupdateenv_ctx): New.
6985 (libc_feupdateenvf_ctx): New.
6986 (libc_feupdateenvl_ctx): New.
6987 (libc_feholdsetround_mips_ctx): New.
6988 (libc_feholdsetround_ctx): New.
6989 (libc_feholdsetroundf_ctx): New.
6990 (libc_feholdsetroundl_ctx): New.
6991 (libc_feresetround_mips_ctx): New.
6992 (libc_feresetround_ctx): New.
6993 (libc_feresetroundf_ctx): New.
6994 (libc_feresetroundl_ctx): New.
6996 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6998 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7000 * manual/ipc.texi: New file.
7001 * manual/Makefile (chapters): Add ipc.
7002 * manual/job.texi: Add "Inter-Process Communication" to next.
7003 * manual/process.texi: Add "Inter-Process Communication" to prev.
7005 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7009 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7011 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7013 * manual/arith.texi: Fix spaces after sentences.
7014 * manual/charset.texi: Likewise.
7015 * manual/errno.texi: Likewise.
7016 * manual/install.texi: Likewise.
7017 * manual/llio.texi: Likewise.
7018 * manual/locale.texi: Likewise.
7019 * manual/maint.texi: Likewise.
7020 * manual/math.texi: Likewise.
7021 * manual/memory.texi: Likewise.
7022 * manual/message.texi: Likewise.
7023 * manual/probes.texi: Likewise.
7024 * manual/resource.texi: Likewise.
7025 * manual/signal.texi: Likewise.
7026 * manual/socket.texi: Likewise.
7027 * manual/stdio.texi: Likewise.
7028 * manual/string.texi: Likewise.
7029 * manual/time.texi: Likewise.
7030 * manual/users.texi: Likewise.
7032 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7035 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7036 _DEFAULT_SOURCE is defined.
7038 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7039 Carlos O'Donell <carlos@redhat.com>
7042 * elf/dl-tls.c (_dl_count_modids): New function.
7043 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7044 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7045 audit library and increment generation counter.
7046 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7047 * elf/tst-audit9.c: New file.
7048 * elf/tst-auditmod9a.c: New file.
7049 * elf/tst-auditmod9b.c: New file.
7050 * elf/Makefile: Add rules to build and run tst-audit9.
7052 2014-02-25 Florian Weimer <fweimer@redhat.com>
7055 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7057 2014-02-25 Will Newton <will.newton@linaro.org>
7059 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7060 (__longjmp): Restore sp and lr before restoring callee
7061 saved registers. Add longjmp and longjmp_target
7062 SystemTap probe point.
7063 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7064 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7065 Define to zero to match jmpbuf layout.
7066 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7067 (__sigsetjmp): Save sp and lr before saving callee
7068 saved registers. Add setjmp SystemTap probe point.
7070 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7072 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7074 2014-02-24 Andreas Schwab <schwab@suse.de>
7077 * elf/pldd.c (wait_for_ptrace_stop): New function.
7078 (main): Call it after attaching.
7080 2014-02-22 Roland McGrath <roland@hack.frob.com>
7082 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7083 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7084 Versions files is now verboten.
7085 * hurd/Versions (libc: GLIBC_2.0):
7086 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7087 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7088 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7089 * mach/Versions: Likewise.
7091 * csu/Versions: Remove unused %include.
7092 * resolv/Versions: Likewise.
7094 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7096 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7097 ($(objpfx)check-local-headers.out): Likewise.
7098 ($(objpfx)begin-end-check.out): Likewise.
7099 * Makerules (check-abi-%.out): Likewise.
7100 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7101 ($(objpfx)test2.cat): Likewise.
7102 ($(objpfx)de/libc.cat): Likewise.
7103 ($(objpfx)test-gencat.out): Likewise.
7104 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7105 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7106 ($(objpfx)noload-mem): Likewise.
7107 ($(objpfx)tst-pathopt.out): Likewise.
7108 ($(objpfx)tst-rtld-load-self.out): Likewise.
7109 ($(objpfx)tst-array1-cmp.out): Likewise.
7110 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7111 ($(objpfx)tst-array2-cmp.out): Likewise.
7112 ($(objpfx)tst-array3-cmp.out): Likewise.
7113 ($(objpfx)tst-array4-cmp.out): Likewise.
7114 ($(objpfx)tst-array5-cmp.out): Likewise.
7115 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7116 ($(objpfx)check-textrel.out): Likewise.
7117 ($(objpfx)check-execstack.out): Likewise.
7118 ($(objpfx)check-localplt.out): Likewise.
7119 ($(objpfx)order2-cmp.out): Likewise.
7120 ($(objpfx)tst-leaks1-mem): Likewise.
7121 ($(objpfx)tst-leaks1-static-mem): Likewise.
7122 ($(objpfx)tst-initorder-cmp.out): Likewise.
7123 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7124 ($(objpfx)tst-unused-dep.out): Likewise.
7125 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7126 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7127 * iconv/Makefile (test-iconvconfig): Likewise.
7128 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7129 ($(objpfx)iconv-test.out): Likewise.
7130 ($(objpfx)tst-tables.out): Likewise.
7131 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7132 ($(objpfx)tst-gettext.out): Likewise.
7133 ($(objpfx)tst-translit.out): Likewise.
7134 ($(objpfx)tst-gettext2.out): Likewise.
7135 ($(objpfx)tst-gettext4.out): Likewise.
7136 ($(objpfx)tst-gettext6.out): Likewise.
7137 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7138 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7139 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7140 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7141 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7142 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7143 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7144 ($(objpfx)wordexp-tst.out): Likewise.
7145 ($(objpfx)annexc.out): Likewise.
7146 ($(objpfx)tst-fnmatch-mem): Likewise.
7147 ($(objpfx)bug-regex2-mem): Likewise.
7148 ($(objpfx)bug-regex14-mem): Likewise.
7149 ($(objpfx)bug-regex21-mem): Likewise.
7150 ($(objpfx)bug-regex31-mem): Likewise.
7151 ($(objpfx)tst-vfork3-mem): Likewise.
7152 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7153 ($(objpfx)tst-pcre-mem): Likewise.
7154 ($(objpfx)tst-boost-mem): Likewise.
7155 ($(objpfx)tst-getconf.out): Likewise.
7156 ($(objpfx)bug-ga2-mem): Likewise.
7157 ($(objpfx)bug-glob2-mem): Likewise.
7158 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7159 ($(objpfx)mtrace-tst-leaks2): Likewise.
7160 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7161 ($(objpfx)tst-printf.out): Likewise.
7162 ($(objpfx)tst-setvbuf1.out): Likewise.
7163 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7164 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7165 ($(objpfx)tst-fmtmsg.out): Likewise.
7166 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7167 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7169 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7170 * bits/sigaction.h [__USE_MISC]: Likewise.
7171 * bits/waitstatus.h: Update #endif comments.
7172 * ctype/ctype.h: Likewise.
7173 * dirent/dirent.h: Likewise.
7174 [__USE_MISC]: Remove redundant conditionals.
7175 * grp/grp.h: Update #endif comments.
7176 [__USE_GNU]: Remove redundant conditionals.
7177 [__USE_MISC]: Likewise.
7178 * inet/netinet/in.h [__USE_GNU]: Likewise.
7179 * io/sys/stat.h [__USE_MISC]: Likewise.
7180 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7181 * libio/bits/stdio.h: Update #endif comments.
7182 [__USE_MISC]: Remove redundant conditionals.
7183 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7184 * libio/stdio.h: Update #endif comments.
7185 [__USE_MISC]: Remove redundant conditionals.
7186 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7187 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7188 * math/math.h: Update #else and #endif comments.
7189 [__USE_MISC]: Remove redundant conditionals.
7190 * misc/sys/uio.h: Update #endif comments.
7191 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7192 * posix/glob.h [__USE_MISC]: Likewise.
7193 * posix/sys/types.h: Update #endif comments.
7194 [__USE_MISC]: Remove redundant conditionals.
7195 * posix/sys/wait.h: Update #endif comments.
7196 [__USE_MISC]: Remove redundant conditionals.
7197 * posix/unistd.h: Update #endif comments.
7198 [__USE_MISC]: Remove redundant conditionals.
7199 * pwd/pwd.h [__USE_GNU]: Likewise.
7200 [__USE_MISC]: Likewise.
7201 * resolv/netdb.h [__USE_GNU]: Likewise.
7202 * signal/signal.h: Update #endif comments.
7203 [__USE_MISC]: Remove redundant conditionals.
7204 * stdlib/stdlib.h: Update #else and #endif comments.
7205 [__USE_MISC]: Remove redundant conditionals.
7206 [__USE_GNU]: Likewise.
7207 * string/bits/string2.h [__USE_MISC]: Likewise.
7208 * string/string.h: Update #endif comments.
7209 [__USE_MISC]: Remove redundant conditionals.
7210 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7212 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7213 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7214 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7216 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7220 [__USE_MISC]: Remove redundant conditionals.
7221 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7222 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7223 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7224 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7225 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7227 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7228 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7230 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7231 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7233 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7235 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7236 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7238 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7240 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7241 * sysdeps/x86/bits/string.h: Update #endif comments.
7242 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7244 * time/sys/time.h: Update #endif comments.
7245 * time/time.h: Likewise.
7246 [__USE_MISC]: Remove redundant conditionals.
7248 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7251 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7253 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7255 * Versions.def (librt): Add GLIBC_2.17.
7257 2014-02-21 Adam Conrad <adconrad@0c3.net>
7259 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7260 synonym for _SYS_AUXV_H to allow direct inclusion.
7261 * sysdeps/sparc/bits/hwcap.h: Likewise.
7262 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7263 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7264 * sysdeps/sparc/sysdep.h: Likewise.
7266 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7268 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7270 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7272 * benchtests/bench-strrchr.c: Print length instead of position.
7274 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7277 * sysdeps/unix/sysv/linux/kernel-features.h
7278 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7279 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7280 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7281 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7283 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7284 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7285 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7286 (__ASSUME_SENDMMSG): Define instead of using previous
7287 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7288 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7289 (__ASSUME_SENDMMSG_SYSCALL): Define.
7290 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7291 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7293 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7294 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7296 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7297 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7299 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7300 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7301 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7302 [__ASSUME_SENDMMSG]: Change conditionals to
7303 [__ASSUME_SENDMMSG_SOCKETCALL].
7304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7305 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7307 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7308 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7310 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7311 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7312 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7313 [!__ASSUME_SENDMMSG]: Change conditional to
7314 [!__ASSUME_SENDMMSG_SOCKETCALL].
7315 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7316 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7320 * sysdeps/unix/sysv/linux/kernel-features.h
7321 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7322 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7323 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7324 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7325 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7326 [__i386__ || __sparc__]
7327 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7328 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7329 (__ASSUME_RECVMMSG): Define instead of using previous
7330 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7331 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7332 (__ASSUME_RECVMMSG_SYSCALL): Define.
7333 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7334 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7336 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7337 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7339 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7340 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7342 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7343 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7344 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7345 [__ASSUME_RECVMMSG]: Change condition to
7346 [__ASSUME_RECVMMSG_SOCKETCALL].
7347 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7348 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7350 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7351 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7352 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7354 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7355 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7356 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7357 [!__ASSUME_RECVMMSG]: Change condition to
7358 [!__ASSUME_RECVMMSG_SOCKETCALL].
7359 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7360 (__ASSUME_RECVMMSG_SYSCALL): Define.
7363 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7364 __powerpc__ || __s390__ || __sh__ || __sparc__]
7365 (__ASSUME_SOCKETCALL): Define.
7366 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7367 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7368 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7369 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7370 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7371 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7372 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7373 (__ASSUME_ACCEPT4): Define instead of using previous
7374 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7375 __powerpc__ || __sparc__ || __s390__)] condition.
7376 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7377 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7378 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7379 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7380 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7381 [!__ASSUME_ACCEPT4]: Change condition to
7382 [!__ASSUME_ACCEPT4_SOCKETCALL].
7383 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7384 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7385 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7386 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7387 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7388 __ASSUME_ACCEPT4_SYSCALL.
7389 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7390 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7391 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7392 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7393 __ASSUME_ACCEPT4_SYSCALL.
7394 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7395 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7396 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7397 [__ASSUME_ACCEPT4]: Change condition to
7398 [__ASSUME_ACCEPT4_SOCKETCALL].
7399 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7400 (__ASSUME_SOCKETCALL): Define.
7401 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7402 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7403 (__ASSUME_SOCKETCALL): Define.
7404 (__ASSUME_ACCEPT4): Remove.
7405 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7407 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7408 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7410 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7411 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7413 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7415 (HWCAP_ARM_LPAE): Likewise.
7416 (HWCAP_ARM_EVTSTRM): Likewise.
7417 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7418 Add vpfd32, lpae and evtstrm.
7419 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7422 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7424 * math/auto-libm-test-in: Add tests of clog10.
7425 * math/auto-libm-test-out: Regenerated.
7426 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7427 * sysdeps/i386/fpu/libm-test-ulps: Update.
7428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7430 2014-02-18 Andreas Schwab <schwab@suse.de>
7433 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7434 Store non-zero if the second buffer was newly allocated.
7435 (send_dg): Likewise.
7436 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7437 to send_vc and send_dg.
7438 (res_nsend): Pass NULL for ansp2_malloced.
7439 * resolv/res_query.c (__libc_res_nquery): Add parameter
7440 answerp2_malloced and pass it down to __libc_res_nsend.
7441 (res_nquery): Pass additional NULL to __libc_res_nquery.
7442 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7443 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7444 second answer buffer if answerp2_malloced was set.
7445 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7446 (__libc_res_nquerydomain): Add parameter
7447 answerp2_malloced and pass it down to __libc_res_nquery.
7448 (res_nquerydomain): Pass additional NULL to
7449 __libc_res_nquerydomain.
7450 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7451 additional NULL to __libc_res_nsend and __libc_res_nquery.
7452 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7453 additional NULL to __libc_res_nsearch.
7454 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7455 parameter of __libc_res_nsearch to check for separately allocated
7457 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7459 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7460 additional NULL to __libc_res_nquery.
7461 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7463 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7464 * include/resolv.h: Update prototypes of __libc_res_nquery,
7465 __libc_res_nsearch, __libc_res_nsend.
7467 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7469 * math/auto-libm-test-in: Add tests of fma.
7470 * math/auto-libm-test-out: Regenerated.
7471 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7472 (fma_towardzero_test_data): Likewise.
7473 (fma_downward_test_data): Likewise.
7474 (fma_upward_test_data): Likewise.
7475 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7477 (rounding_modes): Add values for new field.
7478 (func_calc_method): Add value mpfr_fff_f.
7479 (func_calc_desc): Add mpfr_fff_f union field.
7480 (test_function): Add field exact_args.
7481 (FUNC): Add macro argument EXACT_ARGS.
7482 (FUNC_mpfr_f_f): Update call to FUNC.
7483 (FUNC_mpfr_f_f): Likewise.
7484 (FUNC_mpfr_ff_f): Likewise.
7485 (FUNC_mpfr_if_f): Likewise.
7486 (FUNC_mpc_c_f): Likewise.
7487 (FUNC_mpc_c_c): Likewise.
7488 (test_functions): Add fma. Update calls to FUNC.
7489 (handle_input_arg): Add argument exact_args.
7490 (add_test): Update call to handle_input_arg.
7491 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7492 (output_for_one_input_case): Update call to calc_generic_results.
7493 Recalculate exact zero results in each rounding mode.
7495 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7496 non-negative before setting low bit.
7497 * math/auto-libm-test-in: Mark one asin test possibly having
7499 * math/auto-libm-test-out: Regenerated.
7500 * sysdeps/i386/fpu/libm-test-ulps: Update.
7501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7503 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7505 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7506 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7507 ports/sysdeps/unix/sysv/linux/microblaze.
7508 * README: Add missing listing for microblaze*-*-linux-gnu.
7510 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7512 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7513 * sysdeps/unix/sysv/linux/ia64: Move directory from
7514 ports/sysdeps/unix/sysv/linux/ia64.
7515 * README: Update listing for ia64-*-linux-gnu.
7517 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7518 Joseph Myers <joseph@codesourcery.com>
7520 * Makeconfig (test-name): New variable.
7521 (evaluate-test): Likewise.
7522 * Makerules (do-test-clean): Remove .test-result files.
7523 (common-mostlyclean): Likewise.
7524 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7525 * scripts/evaluate-test.sh: New file.
7527 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7529 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7530 separate $(objpfx)tst-fopenloc-cmp.out and
7531 $(objpfx)tst-fopenloc-mem.out targets.
7532 (tests): Update dependencies.
7533 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7534 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7535 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7536 (tst-rxspencer-no-utf8-ARGS): New variable.
7537 (tst-rxspencer-no-utf8-ENV): Likewise.
7538 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7539 instead of $(objpfx)tst-rxspencer-mem.
7540 ($(objpfx)tst-rxspencer-mem): Change target to
7541 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7542 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7543 * posix/tst-rxspencer-no-utf8.c: New file.
7545 * elf/Makefile ($(objpfx)order.out): Remove rule.
7546 [$(run-built-tests) = yes] (tests): Depend on
7547 $(objpfx)order-cmp.out.
7548 ($(objpfx)order-cmp.out): New rule.
7549 [$(run-built-tests) = yes] (tests): Depend on
7550 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7551 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7552 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7553 $(objpfx)tst-array5-static-cmp.out.
7554 ($(objpfx)tst-array1.out): Remove rule.
7555 ($(objpfx)tst-array1-cmp.out): New rule.
7556 ($(objpfx)tst-array1-static.out): Remove rule.
7557 ($(objpfx)tst-array1-static-cmp.out): New rule.
7558 ($(objpfx)tst-array2.out): Remove rule.
7559 ($(objpfx)tst-array2-cmp.out): New rule.
7560 ($(objpfx)tst-array3.out): Remove rule.
7561 ($(objpfx)tst-array3-cmp.out): New rule.
7562 ($(objpfx)tst-array4.out): Remove rule.
7563 ($(objpfx)tst-array4-cmp.out): New rule.
7564 ($(objpfx)tst-array5.out): Remove rule.
7565 ($(objpfx)tst-array5-cmp.out): New rule.
7566 ($(objpfx)tst-array5-static.out): Remove rule.
7567 ($(objpfx)tst-array5-static-cmp.out): New rule.
7568 [$(run-built-tests) = yes] (tests): Depend on
7569 $(objpfx)order2-cmp.out.
7570 ($(objpfx)order2.out): Remove rule.
7571 ($(objpfx)order2-cmp.out): New rule.
7572 ($(objpfx)tst-initorder.out): Remove rule.
7573 [$(run-built-tests) = yes] (tests): Depend on
7574 $(objpfx)tst-initorder-cmp.out.
7575 ($(objpfx)tst-initorder-cmp.out): New rule.
7576 ($(objpfx)tst-initorder2.out): Remove rule.
7577 [$(run-built-tests) = yes] (tests): Depend on
7578 $(objpfx)tst-initorder2-cmp.out.
7579 ($(objpfx)tst-initorder2-cmp.out): New rule.
7580 [$(run-built-tests) = yes] (tests): Depend on
7581 $(objpfx)tst-unused-dep-cmp.out.
7582 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7583 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7584 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7585 on $(objpfx)tst-setvbuf1-cmp.out.
7586 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7587 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7588 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7589 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7590 ($(objpfx)tst-svc.out): Remove rule.
7591 ($(objpfx)tst-svc-cmp.out): New rule.
7593 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7595 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7596 * ctype/ctype.h [__USE_MISC]: Likewise.
7597 * dirent/dirent.h [__USE_MISC]: Likewise.
7598 * grp/grp.h [__USE_MISC]: Likewise.
7599 * io/fcntl.h [__USE_MISC]: Likewise.
7600 * io/sys/stat.h [__USE_MISC]: Likewise.
7601 * libio/stdio.h [__USE_MISC]: Likewise.
7602 * posix/unistd.h [__USE_MISC]: Likewise.
7603 * pwd/pwd.h [__USE_MISC]: Likewise.
7604 * stdlib.h [__USE_MISC]: Likewise.
7605 * string/bits/string2.h [__USE_MISC]: Likewise.
7606 * string/string.h [__USE_MISC]: Likewise.
7607 * time/time.h [__USE_MISC]: Likewise.
7609 2014-02-13 Andreas Schwab <schwab@suse.de>
7612 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7613 second answer buffer if it was separately allocated.
7615 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7617 * sysdeps/mips/math-tests.h: Include <features.h>.
7618 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7619 (ROUNDING_TESTS_long_double): Do not define.
7620 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7621 (EXCEPTION_TESTS_long_double): Likewise.
7622 * sysdeps/mips/mips64/libm-test-ulps: Update.
7624 * include/features.h (__USE_BSD): Remove macro definitions.
7625 (__USE_SVID): Likewise.
7626 (_BSD_SOURCE): Likewise.
7627 (_SVID_SOURCE): Likewise.
7628 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7629 from definition of _DEFAULT_SOURCE.
7630 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7632 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7633 * bits/mman.h [__USE_BSD]: Likewise.
7634 * bits/termios.h [__USE_BSD]: Likewise.
7635 * bits/waitstatus.h [__USE_BSD]: Likewise.
7636 * ctype/ctype.h [__USE_SVID]: Likewise.
7637 * dirent/dirent.h [__USE_BSD]: Likewise.
7638 * grp/grp.h [__USE_SVID]: Likewise.
7639 [__USE_BSD]: Likewise.
7640 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7641 * io/fcntl.h [__USE_BSD]: Likewise.
7642 * io/ftw.h [__USE_BSD]: Likewise.
7643 * io/sys/stat.h [__USE_BSD]: Likewise.
7644 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7645 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7646 * libio/stdio.h [__USE_SVID]: Likewise.
7647 [__USE_BSD]: Likewise.
7648 * math/math.h [__USE_SVID]: Likewise.
7649 [__USE_BSD]: Likewise.
7650 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7651 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7652 * misc/search.h [__USE_SVID]: Likewise.
7653 * misc/sys/mman.h [__USE_BSD]: Likewise.
7654 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7655 * misc/sys/uio.h [__USE_BSD]: Likewise.
7656 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7657 * posix/glob.h [__USE_BSD]: Likewise.
7658 * posix/regex.h [__USE_BSD]: Likewise.
7659 * posix/sys/types.h [__USE_BSD]: Likewise.
7660 [__USE_SVID]: Likewise.
7661 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7662 * posix/sys/wait.h [__USE_BSD]: Likewise.
7663 [__USE_SVID]: Likewise.
7664 * posix/unistd.h [__USE_BSD]: Likewise.
7665 [__USE_SVID]: Likewise.
7666 * pwd/pwd.h [__USE_SVID]: Likewise.
7667 * resolv/netdb.h [__USE_BSD]: Likewise.
7668 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7669 * signal/signal.h [__USE_BSD]: Likewise.
7670 [__USE_SVID]: Likewise.
7671 * socket/sys/socket.h [__USE_BSD]: Likewise.
7672 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7673 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7674 [__USE_SVID]: Likewise.
7675 * string/bits/string2.h [__USE_BSD]: Likewise.
7676 [__USE_SVID]: Likewise.
7677 * string/bits/string3.h [__USE_BSD]: Likewise.
7678 * string/endian.h [__USE_BSD]: Likewise.
7679 * string/string.h [__USE_SVID]: Likewise.
7680 [__USE_BSD]: Likewise.
7681 * string/strings.h [__USE_BSD]: Likewise.
7682 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7683 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7684 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7685 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7686 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7687 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7689 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7691 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7692 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7694 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7695 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7697 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7699 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7700 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7701 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7703 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7705 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7706 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7707 * termios/termios.h [__USE_BSD]: Likewise.
7708 * time/sys/time.h [__USE_BSD]: Likewise.
7709 * time/time.h [__USE_BSD]: Likewise.
7710 [__USE_SVID]: Likewise.
7712 * Makefile (subdir_targets): Remove subdir_lint.out.
7714 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7715 (do-tst-printf): Likewise.
7716 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7717 $(objpfx)tst-printf.out.
7719 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7721 * Makerules (check-abi-%): Change target to
7722 $(objpfx)check-abi-%.out.
7723 (check-abi target): Update dependencies.
7724 (check-abi-pattern variable): Redirect output of diff to $@.
7725 (check-abi variable): Likewise.
7726 * elf/Makefile (check-abi): Update dependencies.
7728 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7730 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7731 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7733 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7734 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7735 value has largest subnormal exponent.
7736 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7737 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7738 * sysdeps/aarch64/soft-fp/sfp-machine.h
7739 (_FP_TININESS_AFTER_ROUNDING): New macro.
7740 * sysdeps/alpha/soft-fp/sfp-machine.h
7741 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7742 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7744 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7745 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7746 * sysdeps/mips/soft-fp/sfp-machine.h
7747 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7748 * sysdeps/powerpc/soft-fp/sfp-machine.h
7749 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7750 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7752 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7753 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7754 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7755 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7756 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7759 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7762 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7765 2014-02-12 Richard Henderson <rth@redhat.com>
7767 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7768 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7769 * sysdeps/unix/sysv/linux/alpha: Move directory from
7770 ports/sysdeps/unix/sysv/linux/alpha.
7771 * README: Update listing for alpha-*-linux-gnu.
7773 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7775 * include/features.h: Update comment documenting feature test
7777 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7779 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7780 (_SVID_SOURCE): Likewise.
7781 (_DEFAULT_SOURCE): Update description of default features.
7782 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7784 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7785 (S_ISVTX): Likewise.
7786 * manual/math.texi (Mathematical Constants): Likewise.
7787 * manual/signal.texi (Interrupted Primitives): Likewise.
7788 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7789 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7790 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7791 Don't refer to _SVID_SOURCE in warning text.
7793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7795 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7797 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7798 * sysdeps/mips/dl-lookup.c: Remove.
7799 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7801 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7804 * math/auto-libm-test-in: Add testcase for expl.
7805 * math/auto-libm-test-out: Regenerate.
7806 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7807 calculation of unsafe.
7808 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7810 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7812 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7813 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7814 ports/sysdeps/unix/sysv/linux/aarch64.
7815 * README: Update listing for aarch64*-*-linux-gnu.
7817 2014-02-11 Will Newton <will.newton@linaro.org>
7819 * manual/probes.texi (Mathematical Function Probes): Use
7820 "triggered" instead of "hit".
7822 * manual/probes.texi (Internal Probes): Add documentation
7823 of setjmp, longjmp and longjmp_target probes.
7825 * include/stap-probe.h: Add comment about probe argument
7828 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7829 definition. (tr_where, tr_freehook, tr_mallochook,
7830 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7832 2014-02-11 David S. Miller <davem@davemloft.net>
7834 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7835 processing int_tests.
7837 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7839 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7840 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7841 * sysdeps/unix/sysv/linux/mips: Move directory from
7842 ports/sysdeps/unix/sysv/linux/mips.
7843 * README: Update listing for mips-*-linux-gnu and
7846 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7848 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7849 * sysdeps/unix/sysv/linux/m68k: Move directory from
7850 ports/sysdeps/unix/sysv/linux/m68k.
7851 * README: Update listing for m68k-*-linux-gnu.
7853 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7855 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7856 * sysdeps/unix/sysv/linux/generic: Move directory from
7857 ports/sysdeps/unix/sysv/linux/generic.
7858 * sysdeps/unix/sysv/linux/tile: Move directory from
7859 ports/sysdeps/unix/sysv/linux/tile.
7860 * README: Update listing for tile*-*-linux-gnu.
7862 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7864 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7866 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7867 * catgets/open_catalog.c (__open_catalog): Likewise.
7868 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7869 * debug/confstr_chk.c: Likewise.
7870 * debug/fread_chk.c (__fread_chk): Likewise.
7871 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7872 * debug/getgroups_chk.c: Likewise.
7873 * debug/mbsnrtowcs_chk.c: Likewise.
7874 * debug/mbsrtowcs_chk.c: Likewise.
7875 * debug/mbstowcs_chk.c: Likewise.
7876 * debug/memcpy_chk.c: Likewise.
7877 * debug/memmove_chk.c: Likewise.
7878 * debug/mempcpy_chk.c: Likewise.
7879 * debug/memset_chk.c: Likewise.
7880 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7881 * debug/strcat_chk.c (__strcat_chk): Likewise.
7882 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7883 * debug/strncat_chk.c (__strncat_chk): Likewise.
7884 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7885 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7886 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7887 * debug/wcpncpy_chk.c: Likewise.
7888 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7889 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7890 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7891 * debug/wcsncpy_chk.c: Likewise.
7892 * debug/wcsnrtombs_chk.c: Likewise.
7893 * debug/wcsrtombs_chk.c: Likewise.
7894 * debug/wcstombs_chk.c: Likewise.
7895 * debug/wmemcpy_chk.c: Likewise.
7896 * debug/wmemmove_chk.c: Likewise.
7897 * debug/wmempcpy_chk.c: Likewise.
7898 * debug/wmemset_chk.c: Likewise.
7899 * dirent/scandirat.c (SCANDIRAT): Likewise.
7900 * dlfcn/dladdr1.c (dladdr1): Likewise.
7901 * dlfcn/dladdr.c (dladdr): Likewise.
7902 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7903 * dlfcn/dlerror.c (__dlerror): Likewise.
7904 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7905 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7906 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7907 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7908 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7909 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7910 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7911 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7913 * elf/dl-conflict.c: Likewise.
7914 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7915 * elf/dl-dst.h: Likewise.
7916 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7917 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7918 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7919 * elf/dl-init.c (call_init, _dl_init): Likewise.
7920 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7921 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7922 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7924 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7926 * elf/dl-minimal.c (__libc_memalign): Likewise.
7927 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7928 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7929 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7930 * elf/dl-sym.c (do_sym): Likewise.
7931 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7932 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7933 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7934 * elf/dl-writev.h (_dl_writev): Likewise.
7935 * elf/ldconfig.c (search_dir): Likewise.
7936 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7937 (dl_main): Likewise.
7938 * elf/setup-vdso.h (setup_vdso): Likewise.
7939 * grp/compat-initgroups.c (compat_call): Likewise.
7940 * grp/fgetgrent.c (fgetgrent): Likewise.
7941 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7942 * grp/putgrent.c (putgrent): Likewise.
7943 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7945 * hurd/hurdinit.c: Likewise.
7946 * iconvdata/8bit-gap.c (struct): Likewise.
7947 * iconvdata/ansi_x3.110.c : Likewise.
7948 * iconvdata/big5.c : Likewise.
7949 * iconvdata/big5hkscs.c : Likewise.
7950 * iconvdata/cp1255.c: Likewise.
7951 * iconvdata/cp1258.c : Likewise.
7952 * iconvdata/cp932.c : Likewise.
7953 * iconvdata/euc-cn.c: Likewise.
7954 * iconvdata/euc-jisx0213.c : Likewise.
7955 * iconvdata/euc-jp.c: Likewise.
7956 * iconvdata/euc-jp-ms.c : Likewise.
7957 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7958 * iconvdata/gb18030.c : Likewise.
7959 * iconvdata/gbbig5.c (const): Likewise.
7960 * iconvdata/gbgbk.c: Likewise.
7961 * iconvdata/gbk.c : Likewise.
7962 * iconvdata/ibm1364.c : Likewise.
7963 * iconvdata/ibm930.c : Likewise.
7964 * iconvdata/ibm932.c: Likewise.
7965 * iconvdata/ibm933.c : Likewise.
7966 * iconvdata/ibm935.c : Likewise.
7967 * iconvdata/ibm937.c : Likewise.
7968 * iconvdata/ibm939.c : Likewise.
7969 * iconvdata/ibm943.c: Likewise.
7970 * iconvdata/iso_11548-1.c: Likewise.
7971 * iconvdata/iso-2022-cn.c : Likewise.
7972 * iconvdata/iso-2022-cn-ext.c : Likewise.
7973 * iconvdata/iso-2022-jp-3.c: Likewise.
7974 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7975 * iconvdata/iso-2022-kr.c : Likewise.
7976 * iconvdata/iso646.c (gconv_end): Likewise.
7977 * iconvdata/iso_6937-2.c : Likewise.
7978 * iconvdata/iso_6937.c : Likewise.
7979 * iconvdata/iso8859-1.c: Likewise.
7980 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7981 * iconvdata/shift_jisx0213.c : Likewise.
7982 * iconvdata/sjis.c : Likewise.
7983 * iconvdata/t.61.c : Likewise.
7984 * iconvdata/tcvn5712-1.c : Likewise.
7985 * iconvdata/tscii.c: Likewise.
7986 * iconvdata/uhc.c : Likewise.
7987 * iconvdata/unicode.c (gconv_end): Likewise.
7988 * iconvdata/utf-16.c (gconv_end): Likewise.
7989 * iconvdata/utf-32.c (gconv_end): Likewise.
7990 * iconvdata/utf-7.c (base64): Likewise.
7991 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7992 * iconv/gconv_close.c (__gconv_close): Likewise.
7993 * iconv/gconv_open.c (__gconv_open): Likewise.
7994 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7995 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7996 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7997 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7998 (ucs4le_internal_loop_single): Likewise.
7999 * iconv/iconv.c (iconv): Likewise.
8000 * iconv/iconv_close.c: Likewise.
8001 * iconv/loop.c (SINGLE): Likewise.
8002 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8003 * include/atomic.h: Likewise.
8004 * inet/inet6_option.c (option_alloc): Likewise.
8005 * intl/bindtextdom.c (set_binding_values): Likewise.
8006 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8007 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8008 * intl/localealias.c (read_alias_file): Likewise.
8009 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8010 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8011 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8012 * libio/fmemopen.c (fmemopen): Likewise.
8013 * libio/iofgets.c (_IO_fgets): Likewise.
8014 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8015 * libio/iofgetws.c (fgetws): Likewise.
8016 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8017 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8018 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8019 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8020 * locale/findlocale.c (_nl_find_locale): Likewise.
8021 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8022 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8024 * locale/setlocale.c (setlocale): Likewise.
8025 * login/programs/pt_chown.c (main): Likewise.
8026 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8027 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8028 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8029 (mmap, mmap64, mremap, munmap): Likewise.
8030 * math/e_exp2l.c: Likewise.
8031 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8032 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8033 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8034 * math/s_catan.c (__catan): Likewise.
8035 * math/s_catanf.c (__catanf): Likewise.
8036 * math/s_catanh.c (__catanh): Likewise.
8037 * math/s_catanhf.c (__catanhf): Likewise.
8038 * math/s_catanhl.c (__catanhl): Likewise.
8039 * math/s_catanl.c (__catanl): Likewise.
8040 * math/s_ccosh.c (__ccosh): Likewise.
8041 * math/s_ccoshf.c (__ccoshf): Likewise.
8042 * math/s_ccoshl.c (__ccoshl): Likewise.
8043 * math/s_cexp.c (__cexp): Likewise.
8044 * math/s_cexpf.c (__cexpf): Likewise.
8045 * math/s_cexpl.c (__cexpl): Likewise.
8046 * math/s_clog10.c (__clog10): Likewise.
8047 * math/s_clog10f.c (__clog10f): Likewise.
8048 * math/s_clog10l.c (__clog10l): Likewise.
8049 * math/s_clog.c (__clog): Likewise.
8050 * math/s_clogf.c (__clogf): Likewise.
8051 * math/s_clogl.c (__clogl): Likewise.
8052 * math/s_csin.c (__csin): Likewise.
8053 * math/s_csinf.c (__csinf): Likewise.
8054 * math/s_csinh.c (__csinh): Likewise.
8055 * math/s_csinhf.c (__csinhf): Likewise.
8056 * math/s_csinhl.c (__csinhl): Likewise.
8057 * math/s_csinl.c (__csinl): Likewise.
8058 * math/s_csqrt.c (__csqrt): Likewise.
8059 * math/s_csqrtf.c (__csqrtf): Likewise.
8060 * math/s_csqrtl.c (__csqrtl): Likewise.
8061 * math/s_ctan.c (__ctan): Likewise.
8062 * math/s_ctanf.c (__ctanf): Likewise.
8063 * math/s_ctanh.c (__ctanh): Likewise.
8064 * math/s_ctanhf.c (__ctanhf): Likewise.
8065 * math/s_ctanhl.c (__ctanhl): Likewise.
8066 * math/s_ctanl.c (__ctanl): Likewise.
8067 * math/w_pow.c: Likewise.
8068 * math/w_powf.c: Likewise.
8069 * math/w_powl.c: Likewise.
8070 * math/w_scalb.c (sysv_scalb): Likewise.
8071 * math/w_scalbf.c (sysv_scalbf): Likewise.
8072 * math/w_scalbl.c (sysv_scalbl): Likewise.
8073 * misc/error.c (error_tail): Likewise.
8074 * misc/pselect.c (__pselect): Likewise.
8075 * nis/nis_callback.c (__nis_create_callback): Likewise.
8076 * nis/nis_call.c (__nisfind_server): Likewise.
8077 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8078 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8079 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8080 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8081 * nis/nis_lookup.c (nis_lookup): Likewise.
8082 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8083 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8084 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8085 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8086 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8087 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8088 * nis/nss_compat/compat-initgroups.c (add_group)
8089 (internal_getgrent_r): Likewise.
8090 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8091 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8092 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8093 (internal_getspnam_r): Likewise.
8094 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8095 (_nss_nis_getaliasbyname_r): Likewise.
8096 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8097 (_nss_nis_getntohost_r): Likewise.
8098 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8099 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8100 (_nss_nis_getgrgid_r): Likewise.
8101 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8102 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8103 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8104 (_nss_nis_gethostbyname4_r): Likewise.
8105 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8106 (initgroups_netid): Likewise.
8107 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8108 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8109 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8110 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8111 (_nss_nis_getprotobynumber_r): Likewise.
8112 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8113 (_nss_nis_getsecretkey): Likewise.
8114 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8115 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8116 (_nss_nis_getpwuid_r): Likewise.
8117 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8118 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8119 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8120 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8121 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8122 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8123 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8125 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8126 (_nss_nisplus_getntohost_r): Likewise.
8127 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8128 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8129 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8130 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8132 * nis/nss_nisplus/nisplus-initgroups.c
8133 (_nss_nisplus_initgroups_dyn): Likewise.
8134 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8135 (_nss_nisplus_getnetbyaddr_r): Likewise.
8136 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8137 (_nss_nisplus_getprotobynumber_r): Likewise.
8138 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8139 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8140 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8142 * nis/nss_nisplus/nisplus-service.c
8143 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8144 (_nss_nisplus_getservbyport_r): Likewise.
8145 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8146 (_nss_nisplus_getspnam_r): Likewise.
8147 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8149 * nscd/aicache.c (addhstaiX): Likewise.
8150 * nscd/cache.c (cache_search, prune_cache): Likewise.
8151 * nscd/connections.c (register_traced_file, send_ro_fd)
8152 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8153 (main_loop_epoll): Likewise.
8154 * nscd/grpcache.c (addgrbyX): Likewise.
8155 * nscd/hstcache.c (addhstbyX): Likewise.
8156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8157 * nscd/mem.c (gc, mempool_alloc): Likewise.
8158 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8159 (addinnetgrX): Likewise.
8160 * nscd/nscd-client.h (__nscd_acquire_maplock)
8161 (__nscd_drop_map_ref): Likewise.
8162 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8163 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8164 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8166 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8167 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8168 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8169 (__nscd_get_map_ref): Likewise.
8170 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8171 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8173 * nscd/pwdcache.c (addpwbyX): Likewise.
8174 * nscd/selinux.c (preserve_capabilities): Likewise.
8175 * nscd/servicescache.c (addservbyX): Likewise.
8176 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8177 * posix/fnmatch.c (fnmatch): Likewise.
8178 * posix/getopt.c (_getopt_internal_r): Likewise.
8179 * posix/glob.c (glob, glob_in_dir): Likewise.
8180 * posix/wordexp.c (exec_comm_child): Likewise.
8181 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8182 (getanswer_r, gaih_getanswer_slice): Likewise.
8183 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8184 * resolv/res_init.c: Likewise.
8185 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8186 * resolv/res_query.c (__libc_res_nquery): Likewise.
8187 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8189 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8190 * stdio-common/perror.c (perror): Likewise.
8191 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8192 * stdio-common/tmpnam.c (tmpnam): Likewise.
8193 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8194 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8195 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8197 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8198 * stdlib/putenv.c (putenv): Likewise.
8199 * stdlib/setenv.c (__add_to_environ): Likewise.
8200 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8201 * stdlib/strtol_l.c (INTERNAL): Likewise.
8202 * string/memmem.c (memmem): Likewise.
8203 * string/strerror.c (strerror): Likewise.
8204 * string/strnlen.c (__strnlen): Likewise.
8205 * string/test-memmem.c (simple_memmem): Likewise.
8206 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8207 * sunrpc/pm_getport.c (__get_socket): Likewise.
8208 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8209 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8210 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8211 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8213 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8214 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8215 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8216 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8217 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8218 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8220 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8222 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8223 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8225 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8226 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8228 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8229 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8230 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8231 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8232 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8235 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8237 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8239 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8241 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8242 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8243 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8244 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8245 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8247 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8248 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8251 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8252 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8254 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8256 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8258 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8260 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8262 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8264 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8266 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8267 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8268 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8269 * sysdeps/posix/sleep.c: Likewise.
8270 * sysdeps/posix/tempname.c: Likewise.
8271 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8272 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8274 * sysdeps/powerpc/powerpc32/dl-machine.h
8275 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8276 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8278 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8279 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8281 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8282 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8283 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8284 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8285 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8286 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8287 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8288 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8289 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8290 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8291 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8292 (elf_machine_lazy_rel): Likewise.
8293 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8295 (elf_machine_lazy_rel): Likewise.
8296 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8297 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8298 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8299 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8300 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8301 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8302 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8303 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8305 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8306 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8307 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8308 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8309 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8310 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8311 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8312 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8313 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8314 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8315 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8317 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8318 (__posix_fallocate64_l64): Likewise.
8319 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8320 (posix_fallocate): Likewise.
8321 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8323 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8324 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8325 (getifaddrs_internal): Likewise.
8326 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8327 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8328 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8329 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8330 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8331 (__posix_fallocate64_l64): Likewise.
8332 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8334 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8335 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8336 (__get_clockfreq): Likewise.
8337 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8338 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8339 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8340 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8341 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8342 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8343 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8344 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8346 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8347 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8348 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8349 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8350 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8351 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8352 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8354 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8355 (posix_fallocate): Likewise.
8356 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8357 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8358 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8359 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8360 (elf_machine_rela, elf_machine_rela_relative)
8361 (elf_machine_lazy_rel): Likewise.
8362 * time/asctime.c (asctime_internal): Likewise.
8363 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8364 * time/tzset.c (__tzset_parse_tz): Likewise.
8365 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8366 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8367 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8368 * wcsmbs/wcsmbsload.h: Likewise.
8371 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8373 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8374 (arena_get2): Remove THREAD_STATS conditionals.
8375 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8376 (__malloc_stats, int): Likewise.
8378 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8380 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8381 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8383 * manual/setjmp.texi: Fix typos/grammar errors.
8385 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8386 Only return early when n is <= 0. Delete unused return statement.
8388 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8389 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8390 * debug/tst-longjmp_chk3.c: New file.
8392 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8393 (test_main): Replace code with set_fortify_handler call.
8394 * debug/test-strcpy_chk.c: Likewise.
8395 * debug/tst-chk1.c: Likewise.
8396 * debug/tst-longjmp_chk.c: Likewise.
8397 * test-skeleton.c: Include fcntl.h & paths.h
8398 (set_fortify_handler): Define.
8400 * debug/tst-longjmp_chk.c: Add header comment and include
8402 (do_test): Mark static.
8403 (TEST_FUNCTION): Define.
8405 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8406 (IP_PMTUDISC_INTERFACE): Likewise.
8407 (IP_MULTICAST_IF): Likewise.
8408 (IP_MULTICAST_TTL): Likewise.
8409 (IP_MULTICAST_LOOP): Likewise.
8410 (IP_ADD_MEMBERSHIP): Likewise.
8411 (IP_DROP_MEMBERSHIP): Likewise.
8412 (IP_UNBLOCK_SOURCE): Likewise.
8413 (IP_BLOCK_SOURCE): Likewise.
8414 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8415 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8416 (IP_MSFILTER): Likewise.
8417 (MCAST_JOIN_GROUP): Likewise.
8418 (MCAST_BLOCK_SOURCE): Likewise.
8419 (MCAST_UNBLOCK_SOURCE): Likewise.
8420 (MCAST_LEAVE_GROUP): Likewise.
8421 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8422 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8423 (MCAST_MSFILTER): Likewise.
8424 (IP_MULTICAST_ALL): Likewise.
8425 (IP_UNICAST_IF): Likewise.
8427 * timezone/Makefile: Delete $(have-ksh) check.
8428 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8429 * timezone/tzselect.ksh: Add +x mode bits.
8431 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8432 (ANON_INODE_FS_MAGIC): Likewise.
8433 (BDEVFS_MAGIC): Likewise.
8434 (BINFMTFS_MAGIC): Likewise.
8435 (BTRFS_TEST_MAGIC): Likewise.
8436 (CRAMFS_MAGIC_WEND): Likewise.
8437 (DEBUGFS_MAGIC): Likewise.
8438 (ECRYPTFS_SUPER_MAGIC): Likewise.
8439 (EXT3_SUPER_MAGIC): Likewise.
8440 (EXT4_SUPER_MAGIC): Likewise.
8441 (FUTEXFS_SUPER_MAGIC): Likewise.
8442 (HOSTFS_SUPER_MAGIC): Likewise.
8443 (HUGETLBFS_MAGIC): Likewise.
8444 (MINIX3_SUPER_MAGIC): Likewise.
8445 (MTD_INODE_FS_MAGIC): Likewise.
8446 (NILFS_SUPER_MAGIC): Likewise.
8447 (OPENPROM_SUPER_MAGIC): Likewise.
8448 (PIPEFS_MAGIC): Likewise.
8449 (PSTOREFS_MAGIC): Likewise.
8450 (QNX6_SUPER_MAGIC): Likewise.
8451 (RAMFS_MAGIC): Likewise.
8452 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8453 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8454 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8455 (SECURITYFS_MAGIC): Likewise.
8456 (SELINUX_MAGIC): Likewise.
8457 (SMACK_MAGIC): Likewise.
8458 (SOCKFS_MAGIC): Likewise.
8459 (SQUASHFS_MAGIC): Likewise.
8460 (STACK_END_MAGIC): Likewise.
8461 (TMPFS_MAGIC): Likewise.
8462 (USBDEVICE_SUPER_MAGIC): Likewise.
8463 (V9FS_MAGIC): Likewise.
8464 (XENFS_SUPER_MAGIC): Likewise.
8465 (CRAMFS_MAGIC): Fix typo in comment.
8466 (EXT2_SUPER_MAGIC): Update comment.
8467 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8469 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8471 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8472 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8473 * sysdeps/unix/sysv/linux/arm: Move directory from
8474 ports/sysdeps/unix/sysv/linux/arm.
8475 * README: Update listing for arm-*-linux-gnueabi.
8477 * README: Remove mention of am33.
8479 2014-02-07 Roland McGrath <roland@hack.frob.com>
8481 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8482 than the comma operator, to avoid "rhs of comma has no effect"
8484 (__sigfillset, __sigandset, __sigorset): Likewise.
8485 * include/signal.h (__sigemptyset): Likewise.
8486 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8488 2014-02-07 Allan McRae <allan@archlinux.org>
8490 * version.h (RELEASE): Set to "development".
8491 (VERSION): Set to "2.19.90"
8492 * NEWS: Add 2.20 section.
8494 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8497 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8499 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8501 * manual/contrib.texi: Update entry for Carlos O'Donell,
8502 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8504 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8506 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8508 * sysdeps/unix/sysv/linux/kernel-features.h
8509 [__LINUX_KERNEL_VERSION >= 0x020621]
8510 (__ASSUME_PROC_PID_TASK_COMM): Define.
8512 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8515 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8516 conversion when destination buffer does not have enough space.
8517 * libio/tst-ftell-partial-wide.c: New test case.
8518 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8520 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8521 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8522 Leonard and Allan McRae.
8524 2014-02-04 David S. Miller <davem@davemloft.net>
8526 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8529 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8558 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8560 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8561 * shlib-versions: Likewise.
8563 2014-02-04 Roland McGrath <roland@hack.frob.com>
8564 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8566 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8567 (abilist-pattern): New variable, set to %-le.abilist.
8569 * Makerules (abilist-pattern): New variable.
8570 (vpath): Use $(abilist-pattern) in place of %.abilist.
8571 (check-abi-% pattern rule): Likewise.
8572 (check-abi, update-abi): Likewise.
8574 2014-02-04 Eric Wong <normalperson@yhbt.net>
8576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8578 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8580 * manual/startup.texi: Add next, previous, and top entries for
8581 the `Program Arguments' and `Environment Variables' nodes.
8583 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8585 * manual/macros.texi: Add comments before MTASC-safety macros.
8587 * manual/users.texi: Document MTASC-safety properties.
8589 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8590 (pthread_getspecific, pthread_setspecific): Format with
8591 @deftypefun, and add @safety note.
8592 * manual/signal.texi: Move comments that analyze the above
8593 functions to their home place.
8595 2014-02-03 Allan McRae <allan@archlinux.org>
8597 * po/sl.po: Update Slovenian translation from translation project.
8599 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8601 * manual/time.texi (timegm): Add missing blank after @c.
8602 Reported by Joseph Myers <joseph@codesourcery.com>.
8604 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8606 * manual/check-safety.sh: New.
8607 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8609 * manual/terminal.texi: Document MTASC-safety properties.
8611 * manual/filesys.texi: Document MTASC-safety properties.
8613 * manual/errno.texi: Document MTASC-safety properties.
8615 * manual/intro.texi: Document safety identifiers and
8618 * manual/string.texi (wcstok): Fix prototype.
8619 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8621 * manual/time.texi: Document MTASC-safety properties.
8623 * manual/string.texi: Document MTASC-safety properties.
8625 * manual/threads.texi: Document MTASC-safety properties.
8627 * manual/stdio.texi: Document MTASC-safety properties.
8629 * manual/syslog.texi: Document MTASC-safety properties.
8631 * manual/sysinfo.texi: Document MTASC-safety properties.
8633 * manual/startup.texi: Document MTASC-safety properties.
8635 * manual/socket.texi: Document MTASC-safety properties.
8637 * manual/signal.texi: Document MTASC-safety properties.
8639 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8641 * manual/setjmp.texi: Document MTASC-safety properties.
8643 * manual/search.texi: Document MTASC-safety properties.
8645 * manual/resource.texi: Document MTASC-safety properties.
8647 * manual/process.texi: Document MTASC-safety properties.
8649 * manual/platform.texi: Document MTASC-safety properties.
8651 * manual/pipe.texi: Document MTASC-safety properties.
8653 * manual/pattern.texi: Document MTASC-safety properties.
8655 * manual/message.texi: Document MTASC-safety properties.
8658 * manual/memory.texi: Document MTASC-safety properties.
8660 * manual/math.texi: Document MTASC-safety properties.
8662 * manual/locale.texi: Document MTASC-safety properties.
8664 * manual/llio.texi: Document MTASC-safety properties.
8666 * manual/libdl.texi: New.
8668 * manual/lang.texi: Document MTASC-safety properties.
8670 * manual/job.texi: Document MTASC-safety properties.
8672 * manual/getopt.texi: Document MTASC-safety properties.
8674 * manual/ctype.texi: Document MTASC-safety properties.
8676 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8679 * csu/libc-tls.c (static_map): Remove variable.
8680 (__libc_setup_tls): Use main executable's link map for TLS data.
8681 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8682 casing for LM_ID_BASE and GL(dl_nns).
8683 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8684 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8685 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8686 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8687 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8689 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8692 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8694 * manual/debug.texi: Document MTASC-safety properties.
8696 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8699 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8700 of __x86_64__ when disabling x87 inline functions.
8702 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8704 * manual/charset.texi: Document MTASC-safety properties.
8706 * manual/crypt.texi: Document MTASC-safety properties.
8708 * manual/conf.texi: Document MTASC-safety properties.
8710 * manual/arith.texi: Document MTASC-safety properties.
8712 * manual/argp.texi: Document MTASC-safety properties.
8714 * manual/macros.texi: Introduce macros to document multi
8715 thread, asynchronous signal and asynchronous cancellation
8717 * manual/intro.texi: Introduce the properties themselves.
8719 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8721 * sysdeps/sh/sh4/Makefile: New file.
8723 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8725 * math/gen-libm-test.pl ($srcdir): New variable.
8726 ($auto_input): Use it.
8728 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8731 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8732 access beyond array bounds when parsing netgroups file.
8734 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8735 the old buffer before realloc.
8737 2014-01-27 Allan McRae <allan@archlinux.org>
8739 * po/fr.po: Update French translation from translation project.
8741 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8743 * sysdeps/sh/libm-test-ulps: Regenerate.
8745 2014-01-24 David S. Miller <davem@davemloft.net>
8747 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8749 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8751 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8752 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8754 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8757 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8758 string pointers after reallocation.
8760 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8762 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8763 __SH4A__ instead of __SH_FPU_ANY__.
8765 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8767 * sysdeps/sh/fpu_control.h: New file.
8768 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8769 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8770 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8771 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8772 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8773 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8774 * sysdeps/sh/sys/ucontext.h: Remove.
8775 * sysdeps/sh/sys: Remove directory.
8777 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8779 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8780 s390/sys/ucontext.h.
8781 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8782 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8784 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8787 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8789 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8792 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8793 Adjust the vDSO correctly for internal calls.
8794 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8796 2014-01-20 Allan McRae <allan@archlinux.org>
8798 * po/ca.po: Update Catalan translation from translation project.
8800 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8802 * sysdeps/s390/sotruss-lib.c: New file.
8804 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8808 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8809 local calls issues by not having a PLT stub required for IFUNC calls.
8810 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8812 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8814 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8815 * math/test-fpucw-static.c: Likewise.
8817 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8820 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8822 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8824 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8825 implementation for powerpc.
8827 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8830 * sysdeps/posix/system.c (__libc_system): Do not enable
8831 asynchronous cancellation.
8833 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8836 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8837 handling only for numbers special also in the IEEE case.
8839 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8841 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8843 2014-01-11 Allan McRae <allan@archlinux.org>
8845 * po/bg.po: Update Bulgarian translation from translation project.
8847 * po/de.po: Update German translation from translation project.
8849 2014-01-10 Roland McGrath <roland@hack.frob.com>
8851 * sysdeps/generic/gcc-compat.h: New file.
8853 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8855 * benchtests/asin-inputs: Correct slow inputs.
8856 * benchtests/acos-inputs: Likewise.
8858 2014-01-10 Allan McRae <allan@archlinux.org>
8860 * po:sv.po: Update Swedish translation from translation project.
8862 * po/vi.po: Update Vietnamese translation from translation project.
8864 * po/eo.po: Update Esperanto translation from translation project.
8866 * po/cs.po: Update Czech translation from translation project.
8868 * po/nl.po: Update Dutch translation from translation project.
8870 * po/pl.po: Update Polish translation from translation project.
8872 * po/ru.po: Update Russian translation from translation project.
8874 * po/uk.po: Update Ukrainian translation from translation project.
8876 2014-01-08 Brooks Moses <bmoses@google.com>
8878 * elf/dl-load.c: Fix comment typo.
8880 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8882 * po/header.pot: Rename to...
8883 * po/pot.header: ... this.
8884 * po/Makefile: Use pot.header.
8886 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8887 Maxim Kuvyrkov <maxim@kugelworks.com>
8890 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8891 SRC and DEST against LEN.
8893 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8896 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8898 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8900 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8904 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8907 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8908 for large positive arguments.
8910 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8912 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8914 * math/auto-libm-test-in: Mark various tests with
8915 xfail-rounding:ldbl-128ibm.
8916 * math/auto-libm-test-out: Regenerated.
8919 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8920 Increase overflow threshold.
8922 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8925 * stdio-common/vfprintf.c: Check for integer overflow.
8927 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8929 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8930 the first argument and return value of __tls_get_addr_internal.
8932 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8934 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8935 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8937 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8939 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8940 * sysdeps/s390/rtld-global-offsets.sym: New file.
8941 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8943 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8944 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8945 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8947 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8948 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8954 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8955 halfs of GPRs for high_gprs contexts.
8956 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8957 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8959 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8961 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8963 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8964 for high GPRs (uc_high_gprs) and for future extensions
8966 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8967 for future extensions (__reserved).
8968 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8970 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8971 SC_HIGHGPRS offset definition.
8972 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8973 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8975 * Versions.def: Add GLIBC_2.19 for libpthread.
8976 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8977 siglongjmp for libpthread with GLIBC_2.19 symver.
8978 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8979 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8980 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8981 * sysdeps/s390/__longjmp.c: New file.
8982 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8983 * sysdeps/s390/longjmp.c: New file.
8984 * sysdeps/s390/setjmp.S: New file.
8985 * sysdeps/s390/sigjmp.S: New file.
8986 * sysdeps/s390/v1-longjmp.c: New file.
8987 * sysdeps/s390/v1-setjmp.h: New file.
8988 * sysdeps/s390/v1-sigjmp.c: New file.
8989 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8990 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8992 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8993 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8994 versioned symbols for ____longjmp_chk.
8995 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9005 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9006 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9007 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9008 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9009 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9010 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9011 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9012 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9013 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9014 * sysdeps/s390/rtld-__longjmp.c: New file.
9015 * sysdeps/s390/rtld-setjmp.S: New file.
9017 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9020 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9021 Return -__logl (x) for small positive arguments without evaluating
9024 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9026 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9028 (__ptrace_peeksiginfo_args): ... this.
9029 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9030 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9031 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9033 2014-01-06 Allan McRae <allan@archlinux.org>
9035 * inet/netinet/in.h: Fix typo in comment.
9037 2014-01-05 Andreas Jaeger <aj@suse.de>
9039 * sysdeps/i386/fpu/libm-test-ulps: Update.
9041 2014-01-05 Allan McRae <allan@archlinux.org>
9043 * po/libc.pot: Regenerated.
9045 * malloc/memusagestat.c: Fix gettext call formatting.
9047 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9049 * nscd/nscd.c: Improve usage() output.
9051 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9053 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9054 * sysdeps/unix/sysv/linux/configure: Regenerated.
9055 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9056 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9058 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9061 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9062 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9064 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9066 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9067 extra tokens at end of #undef directive.
9068 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9069 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9072 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9074 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9076 * math/auto-libm-test-in: Mark various tests with
9077 xfail-rounding:ldbl-128ibm.
9078 * math/auto-libm-test-out: Regenerated.
9080 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9083 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9084 numbers with subnormal high part when calculating exponent.
9087 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9091 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9093 (__ieee754_acoshl): Use __log1pl not __log1p.
9095 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9097 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9098 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9099 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9100 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9101 (reused_arena, arena_get2): Convert to GNU style.
9102 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9103 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9104 (memalign_check, __malloc_set_state): Likewise.
9105 * malloc/mallocbug.c (main): Likewise.
9106 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9107 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9108 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9109 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9110 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9111 (__posix_memalign, malloc_info): Likewise.
9112 * malloc/malloc.h: Likewise.
9113 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9114 (mallochook, memalignhook, reallochook, mabort): Likewise.
9115 * malloc/mcheck.h: Likewise.
9116 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9117 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9118 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9119 * malloc/morecore.c (__default_morecore): Likewise.
9120 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9121 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9122 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9123 (print_and_abort): Likewise.
9124 * malloc/obstack.h: Likewise.
9125 * malloc/set-freeres.c (__libc_freeres): Likewise.
9126 * malloc/tst-mallocstate.c (main): Likewise.
9127 * malloc/tst-mtrace.c (main): Likewise.
9128 * malloc/tst-realloc.c (do_test): Likewise.
9130 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9133 * nscd/netgroupcache.c (do_notfound): New function.
9134 (addgetnetgrentX): Use it.
9137 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9138 NSS_STATUS_NOTFOUND.
9140 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9142 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9145 2014-01-01 Allan McRae <allan@archlinux.org>
9147 * scripts/update-copyrights: Update configure input file suffix.
9149 * NEWS: Update copyright year.
9150 * catgets/gencat.c: Likewise.
9151 * csu/version.c: Likewise.
9152 * debug/catchsegv.sh: Likewise.
9153 * debug/pcprofiledump.c: Likewise.
9154 * debug/xtrace.sh: Likewise.
9155 * elf/ldconfig.c: Likewise.
9156 * elf/ldd.bash.in: Likewise.
9157 * elf/pldd.c: Likewise.
9158 * elf/sotruss.ksh: Likewise.
9159 * elf/sprof.c: Likewise.
9160 * iconv/iconv_prog.c: Likewise.
9161 * iconv/iconvconfig.c: Likewise.
9162 * locale/programs/locale.c: Likewise.
9163 * locale/programs/localedef.c: Likewise.
9164 * login/programs/pt_chown.c: Likewise.
9165 * malloc/memusage.sh: Likewise.
9166 * malloc/memusagestat.c: Likewise.
9167 * malloc/mtrace.pl: Likewise.
9168 * manual/libc.texinfo: Likewise.
9169 * nscd/nscd.c: Likewise.
9170 * nss/getent.c: Likewise.
9171 * nss/makedb.c: Likewise.
9172 * posix/getconf.c: Likewise.
9173 * scripts/test-installation.pl: Likewise.
9175 * All files with FSF copyright notices: Update copyright dates
9176 using scripts/update-copyrights.
9177 * intl/plural.c: Regenerated.
9178 * locale/programs/charmap-kw.h: Likewise.
9179 * locale/programs/locfile-kw.h: Likewise.
9181 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9183 * sysdeps/unix/sysv/linux/configure: Regenerated.
9184 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9185 the linux/fanotify.h header.
9186 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9187 HAVE_LINUX_FANOTIFY_H is defined.
9189 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9191 * benchtests/cos-inputs: New inputs.
9192 * benchtests/sin-inputs: Likewise.
9194 * benchtests/atan-inputs: New inputs. Fix name of multiple
9195 precision fallback inputs.
9197 * benchtests/atanh-inputs: New inputs.
9198 * benchtests/tanh-inputs: Likewise.
9200 * benchtests/acosh-inputs: New inputs.
9201 * benchtests/asinh-inputs: Likewise.
9203 * benchtests/cosh-inputs: New inputs.
9204 * benchtests/sinh-inputs: Likewise.
9206 * benchtests/acos-inputs: Add more inputs.
9207 * benchtests/asin-inputs: Likewise.
9209 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9212 * manual/arith.texi: Fix spelling.
9213 * manual/charset.texi: Likewise.
9214 * manual/errno.texi: Likewise.
9215 * manual/filesys.texi: Likewise.
9216 * manual/lang.texi: Likewise.
9217 * manual/llio.texi: Likewise.
9218 * manual/locale.texi: Likewise.
9219 * manual/message.texi: Likewise.
9220 * manual/resource.texi: Likewise.
9221 * manual/search.texi: Likewise.
9222 * manual/setjmp.texi: Likewise.
9223 * manual/stdio.texi: Likewise.
9224 * manual/string.texi: Likewise.
9225 * manual/sysinfo.texi: Likewise.
9226 * manual/time.texi: Likewise.
9228 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9230 * po/sl.po: New file.
9232 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9234 * .gitignore: Add core/.gdbinit/.gdb_history.
9236 2013-12-27 Allan McRae <allan@archlinux.org>
9239 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9240 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9242 2013-12-24 Brooks Moses <bmoses@google.com>
9244 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9245 all compilers that claim C++98 compliance, not just GCC.
9246 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9249 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9251 * NEWS: Restore accidentally deleted bug-fix entries.
9253 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9254 Ondřej Bílka <neleai@seznam.cz>
9257 * malloc/malloc.c (_int_free): Perform sanity check only if we
9260 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9263 * manual/stdio.texi (String Input Conversions): Clarify that character
9264 classes are not supported.
9266 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9270 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9273 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9274 Calculate results for small negative arguments directly rather
9275 than using reflection formula with special underflow handling.
9277 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9278 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9279 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9280 (fchflags): Likewise.
9282 (setlogin): Likewise.
9283 (sigaltstack): Likewise.
9286 (sigsetmask): Likewise.
9288 (waitpid): Likewise.
9289 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9290 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9292 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9293 * sysdeps/unix/bsd/Makefile: ... here.
9294 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9295 * sysdeps/unix/bsd/Versions: ... here.
9296 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9297 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9298 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9299 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9300 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9301 * sysdeps/unix/bsd/sigblock.c: ... here.
9302 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9303 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9304 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9305 * sysdeps/unix/bsd/sigvec.c: ... here.
9306 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9307 * sysdeps/unix/bsd/tcdrain.c: ... here.
9308 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9309 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9310 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9311 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9312 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9313 * sysdeps/unix/bsd/wait.c: ... here.
9314 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9315 * sysdeps/unix/bsd/wait3.c: ... here.
9316 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9317 * sysdeps/unix/bsd/waitpid.c: ... here.
9319 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9322 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9323 round-to-nearest for [!USE_AS_EXPM1L].
9324 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9325 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9326 more tests of exp and exp10. Expect some exp10 tests to miss
9327 exceptions or fail in directed rounding modes.
9328 * math/auto-libm-test-out: Regenerated.
9329 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9330 (exp10_test_tonearest): New function.
9331 (exp10_towardzero_test_data): New array.
9332 (exp10_test_towardzero): New function.
9333 (exp10_downward_test_data): New array.
9334 (exp10_test_downward): New function.
9335 (exp10_upward_test_data): New array.
9336 (exp10_test_upward): New function.
9337 (main): Call the new functions.
9338 * sysdeps/i386/fpu/libm-test-ulps: Update.
9339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9341 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9343 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9344 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9345 * math/auto-libm-test-out: Regenerated.
9346 * math/libm-test.inc (acosh_test_data): Add more tests.
9347 (atanh_test_data): Likewise.
9348 (ceil_test_data): Likewise.
9349 (copysign_test_data): Likewise.
9350 * sysdeps/i386/fpu/libm-test-ulps: Update.
9351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9353 * timezone/checktab.awk: Update from tzcode 2013i.
9354 * timezone/private.h: Likewise.
9355 * timezone/scheck.c: Likewise.
9356 * timezone/tzfile.h: Likewise.
9357 * timezone/tzselect.ksh: Likewise.
9358 * timezone/zdump.c: Likewise.
9359 * timezone/zic.c: Likewise.
9361 * math/auto-libm-test-in: Add tests of cpow.
9362 * math/auto-libm-test-out: Regenerated.
9363 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9364 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9366 (func_calc_desc): Add mpc_cc_c union field.
9367 (test_functions): Add cpow.
9368 (special_fill_2pi): New function.
9369 (special_real_inputs): Add 2pi.
9370 (calc_generic_results): Handle mpc_cc_c.
9371 * sysdeps/i386/fpu/libm-test-ulps: Update.
9372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9374 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9375 csqrt, ctan and ctanh.
9376 * math/auto-libm-test-out: Regenerated.
9377 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9378 (TEST_COND_x86): Likewise.
9379 (ccos_test_data): Use AUTO_TESTS_c_c.
9380 (ccosh_test_data): Likewise.
9381 (cexp_test_data): Likewise.
9382 (clog_test_data): Likewise.
9383 (csqrt_test_data): Likewise.
9384 (ctan_test_data): Likewise.
9385 (ctan_tonearest_test_data): Likewise.
9386 (ctan_towardzero_test_data): Likewise.
9387 (ctan_downward_test_data): Likewise.
9388 (ctan_upward_test_data): Likewise.
9389 (ctanh_test_data): Likewise.
9390 (ctanh_tonearest_test_data): Likewise.
9391 (ctanh_towardzero_test_data): Likewise.
9392 (ctanh_downward_test_data): Likewise.
9393 (ctanh_upward_test_data): Likewise.
9394 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9396 (func_calc_desc): Add mpc_c_c union field.
9397 (FUNC_mpc_c_c): New macro.
9398 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9399 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9401 (special_fill_min_subnorm_p120): New function.
9402 (special_real_inputs): Add min_subnorm_p120.
9403 (calc_generic_results): Handle mpc_c_c.
9404 * sysdeps/i386/fpu/libm-test-ulps: Update.
9405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9407 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9409 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9410 (do_sin_slow): New functions.
9411 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9412 (cslow2, csloww1, csloww2): Use the new functions.
9414 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9415 Use M to change sign of result instead of X. Assume X is
9417 (csloww1): Likewise.
9421 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9428 (sloww1): Don't adjust sign of DX.
9429 (csloww1): Likewise.
9430 (sloww2): Use X directly and don't adjust sign of DX.
9431 (csloww2): Likewise.
9433 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9435 * math/auto-libm-test-in: Add tests of cabs and carg.
9436 * math/auto-libm-test-out: Regenerated.
9437 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9438 (carg_test_data): Likewise.
9439 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9441 (func_calc_desc): Add mpc_c_f union field.
9442 (test_functions): Add cabs and carg.
9443 (calc_generic_results): Handle mpc_c_f.
9445 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9446 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9447 as a macro and a compat symbol.
9448 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9449 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9450 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9451 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9452 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9453 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9455 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9457 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9459 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9461 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9463 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9465 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9466 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9469 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9473 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9475 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9476 trailing whitespace removed.
9477 * scripts/config.guess: Update to version 2013-11-29.
9478 * scripts/config.sub: Update to version 2013-10-01.
9480 * math/auto-libm-test-in: Add tests of sincos.
9481 * math/auto-libm-test-out: Regenerated.
9482 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9483 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9485 (func_calc_desc): Add mpfr_f_11 union field.
9486 (test_functions): Add sincos.
9487 (calc_generic_results): Handle mpfr_f_11.
9488 * sysdeps/i386/fpu/libm-test-ulps: Update.
9489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9491 2013-12-19 Andreas Schwab <schwab@suse.de>
9493 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9495 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9496 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9497 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9499 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9501 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9502 * sysdeps/i386/fpu/libm-test-ulps: Update.
9503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9506 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9507 round-to-nearest mode when using frndint.
9508 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9509 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9510 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9512 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9514 * math/auto-libm-test-out: Regenerated.
9515 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9516 (TEST_COND_x86): Likewise.
9517 (expm1_tonearest_test_data): New array.
9518 (expm1_test_tonearest): New function.
9519 (expm1_towardzero_test_data): New array.
9520 (expm1_test_towardzero): New function.
9521 (expm1_downward_test_data): New array.
9522 (expm1_test_downward): New function.
9523 (expm1_upward_test_data): New array.
9524 (expm1_test_upward): New function.
9525 (main): Run the new test functions.
9526 * sysdeps/i386/fpu/libm-test-ulps: Update.
9527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9529 * include/features.h: Update comment documenting feature test
9530 macros. Mention _DEFAULT_SOURCE in comment.
9531 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9532 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9533 _BSD_SOURCE and _SVID_SOURCE.
9534 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9535 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9536 !_SVID_SOURCE]: Likewise.
9537 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9538 (__USE_POSIX_IMPLICITLY): Define.
9539 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9540 (_POSIX_SOURCE): Undefine and redefine.
9541 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9542 (_POSIX_C_SOURCE): Likewise.
9543 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9544 (Feature Test Macros): Update documentation of default features.
9546 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9548 * benchtests/Makefile: Add bench-strtok.
9549 * benchtests/bench-strtok.c: New file: strtok benchtest.
9551 2013-12-19 Allan McRae <allan@archlinux.org>
9553 * manual/install.texi: Suppress menu for plain text output.
9554 * INSTALL: Regenerated.
9556 2013-12-18 Brooks Moses <bmoses@google.com>
9559 * misc/getauxval.c: Include errno.h.
9560 (__getauxval): Set errno to ENOENT if the requested type is not
9562 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9563 don't declare with __attribute_const__.
9564 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9565 * manual/startup.texi: Document that getauxval sets errno.
9567 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9569 * math/auto-libm-test-in: Add tests of jn and yn.
9570 * math/auto-libm-test-out: Regenerated.
9571 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9572 (yn_test_data): Likewise.
9573 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9575 (func_calc_desc): Add mpfr_if_f union field.
9576 (FUNC_mpfr_if_f): New macro.
9577 (test_functions): Add jn and yn.
9578 (calc_generic_results): Assert type of second input for
9579 mpfr_ff_f. Handle mpfr_if_f.
9580 (output_for_one_input_case): Disable all checking for arguments
9581 fitting floating-point types in case of an integer argument.
9582 * sysdeps/i386/fpu/libm-test-ulps: Update.
9583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9586 Don't expect fegetround reference in libm.so.
9588 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9590 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9591 $(config-cflags-nofma).
9593 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9595 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9596 * math/auto-libm-test-out: Regenerated.
9599 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9600 to determine exponent and adjust argument to have exponent of -1.
9601 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9603 * math/auto-libm-test-out: Regenerated.
9604 * sysdeps/i386/fpu/libm-test-ulps: Update.
9605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9607 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9609 * manual/probes.texi: Remove cases when per-thread arenas are
9612 2013-12-18 Andreas Schwab <schwab@suse.de>
9614 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9615 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9616 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9617 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9618 * sysdeps/i386/i686/multiarch/Makefile: Update.
9619 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9621 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9623 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9624 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9626 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9629 Support TZ transition times < 00:00:00.
9630 This is needed for version-3 tz-format files; it supports time
9631 stamps past 2037 for America/Godthab (the only entry in the tz
9632 database for which this change is relevant).
9633 * manual/time.texi (TZ Variable): Document transition times
9634 from -167:59:59 through -00:00:01.
9635 * time/tzset.c (tz_rule): Time of day is now signed.
9636 (__tzset_parse_tz): Parse negative time of day.
9638 Document TZ transition times >= 25:00:00.
9639 * manual/time.texi (TZ Variable): Document transition times from
9640 25:00:00 through 167:59:59. These are already supported, and this
9641 support will help with version-3 tz-format files.
9643 * manual/time.texi (TZ Variable): Modernize North America example
9644 to reflect current (i.e., 2007-and-later) daylight saving rules.
9646 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9648 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9650 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9651 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9652 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9654 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9655 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9656 * sysdeps/unix/bsd/clock.c: Likewise.
9657 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9658 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9659 * sysdeps/unix/bsd/init-posix.c: Likewise.
9660 * sysdeps/unix/bsd/poll.c: Likewise.
9661 * sysdeps/unix/bsd/ptsname.c: Likewise.
9662 * sysdeps/unix/bsd/seekdir.c: Likewise.
9663 * sysdeps/unix/bsd/setegid.c: Likewise.
9664 * sysdeps/unix/bsd/seteuid.c: Likewise.
9665 * sysdeps/unix/bsd/setgid.c: Likewise.
9666 * sysdeps/unix/bsd/setrgid.c: Likewise.
9667 * sysdeps/unix/bsd/setruid.c: Likewise.
9668 * sysdeps/unix/bsd/setsid.c: Likewise.
9669 * sysdeps/unix/bsd/setuid.c: Likewise.
9670 * sysdeps/unix/bsd/sigaction.c: Likewise.
9671 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9672 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9673 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9674 * sysdeps/unix/bsd/telldir.c: Likewise.
9675 * sysdeps/unix/bsd/times.c: Likewise.
9676 * sysdeps/unix/bsd/usleep.c: Likewise.
9678 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9679 ($(objpfx)libbsd-compat.a): Remove rule.
9681 * include/features.h (__FAVOR_BSD): Do not define.
9682 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9683 features conflicting with POSIX.
9684 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9685 (_BSD_SOURCE): Remove description of not being a subset of other
9686 feature test macros.
9687 * manual/job.texi (getpgrp): Do not document BSD version.
9688 (getpgid): Do not document by reference to BSD getpgrp.
9689 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9690 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9691 * signal/signal.h [__FAVOR_BSD]: Likewise.
9692 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9693 instead of making contents conditional on [__FAVOR_BSD].
9694 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9696 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9700 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9703 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9704 values below 2**-450, not 2**-500.
9705 * math/auto-libm-test-in: Don't allow spurious underflow from
9707 * math/auto-libm-test-out: Regenerated.
9711 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9712 values of ha and hb and sort them after adjusting subnormal
9714 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9716 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9717 values of ea and eb and sort them after adjusting subnormal
9719 * math/auto-libm-test-in: Do not expect some hypot tests of
9720 subnormals to fail. Add more hypot tests.
9721 * math/auto-libm-test-out: Regenerated.
9723 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9726 * sysdeps/sh/s_fma.c: New file.
9727 * sysdeps/sh/s_fmaf.c: New file.
9728 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9730 * sysdeps/sh/Implies: Add sh/soft-fp.
9732 2013-12-16 Roland McGrath <roland@hack.frob.com>
9734 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9735 level of indirection to members `objname', `errstring', `malloced'.
9736 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9737 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9738 it as the __longjmp argument (just pass 1 instead).
9739 (_dl_catch_error): Initialize C with argument pointers and address of
9740 volatile local ERRCODE rather than copying values out of C at return.
9742 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9744 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9745 * math/auto-libm-test-out: Regenerated.
9746 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9747 (hypot_test_data): Likewise.
9748 (pow_test_data): Likewise.
9749 (pow_tonearest_test_data): Likewise.
9750 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9752 (func_calc_desc): Add mpfr_ff_f union field.
9753 (FUNC_mpfr_ff_f): New macro.
9754 (test_functions): Add atan2, hypot and pow.
9755 (special_fill_min): New function.
9756 (special_fill_minus_min): Likewise.
9757 (special_fill_min_subnorm): Likewise.
9758 (special_fill_minus_min_subnorm): Likewise.
9759 (special_real_inputs): Add min, -min, min_subnorm and
9761 (calc_generic_results): Handle mpfr_ff_f.
9762 * sysdeps/i386/fpu/libm-test-ulps: Update.
9763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9765 2013-12-16 Will Newton <will.newton@linaro.org>
9767 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9768 (Aligned Memory Blocks): Add documentation for aligned_alloc
9769 and suggest it as an alternative to posix_memalign.
9770 (Hooks for Malloc): Document __memalign_hook is also called
9771 for aligned_alloc. (Summary of Malloc): Add summary for
9772 aligned alloc. Document __memalign_hook is also called
9775 2013-12-16 Will Newton <will.newton@linaro.org>
9777 * manual/memory.texi (Malloc Examples): Clarify default
9778 alignment documentation. Suggest posix_memalign rather
9779 than memalign or valloc.
9780 (Aligned Memory Blocks): Remove suggestion to use memalign
9781 or valloc. Remove obsolete comment about BSD.
9782 Document memalign errno values and mark the function obsolete.
9783 Document posix_memalign returned error codes. Mark valloc
9784 as obsolete. (Hooks for Malloc): __memalign_hook is also
9785 called for posix_memalign and valloc.
9786 (Summary of Malloc): Add posix_memalign to function summary.
9787 __memalign_hook is also called for posix_memalign and valloc.
9789 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9791 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9795 (sloww): Use mynumber union. Expand ternary operator into
9797 (cslow): use mynumber union.
9799 2013-12-16 Allan McRae <allan@archlinux.org>
9801 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9802 * configure: Regenerated.
9804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9807 * configure.ac: Added --enable-maintainer-mode. Check for
9808 autoconf when enabled.
9809 * configure: Regenerated.
9811 * nscd/nscd.service: New file.
9812 * nscd/nscd.tmpfiles: New file.
9814 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9817 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9818 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9819 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9820 (strstr): Add __strstr_sse2_unaligned ifunc.
9821 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9822 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9823 (strcasestr): Remove __strcasestr_sse42 ifunc.
9824 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9828 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9830 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9831 * sysdeps/sh/bits/fenv.h: ... here.
9832 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9834 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9836 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9839 hypotf multiarch implementations.
9840 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9841 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9842 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9843 multiarch hypot for PPC64.
9844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9845 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9846 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9847 multiarch hypotf for PPC64.
9849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9850 modff multiarch implementations.
9851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9854 multiarch modf for PPC64.
9855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9858 multiarch modff for PPC64.
9860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9861 and logl multiarch implementations.
9862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9865 multiarch logb for PPC64.
9866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9869 multiarch logb for PPC64.
9870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9873 multiarch logb for PPC64.
9875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9876 isinff multiarch implementation.
9877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9881 multiarch isinf for PPC64.
9882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9885 multiarch isinff for PPC64.
9887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9888 finitef multiarch implementation.
9889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9893 multiarch finite for PPC64.
9894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9897 multiarch finitef for PPC64.
9899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9900 lrint multiarch implementation.
9901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9905 multiarch llrint for PPC64.
9906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9907 multiarch lrint for PPC64.
9909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9910 copysignf multiarch implementation.
9911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9916 multiarch copysign for PPC64.
9917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9918 multiarch copysignf for PPC64.
9920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9921 multiarch implementation.
9922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9930 multiarch llround for PPC64.
9931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9932 multiarch trunc for PPC64.
9933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9934 multiarch truncf for PPC64.
9936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9937 multiarch implementation.
9938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9946 multiarch llround for PPC64.
9947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9948 multiarch round for PPC64.
9949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9950 multiarch roundf for PPC64.
9952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9953 multiarch implementation.
9954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9962 multiarch llround for PPC64.
9963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9964 multiarch floor for PPC64.
9965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9966 multiarch floorf for PPC64.
9968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9969 multiarch implementation.
9970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9978 multiarch llround for PPC64.
9979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9980 multiarch ceil for PPC64.
9981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9982 multiarch ceilf for PPC64.
9984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9985 multiarch implementation.
9986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9993 multiarch llround for PPC64.
9994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9995 multiarch lround for PPC64.
9997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9998 multiarch implementation.
9999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10006 multiarch isnan for PPC64.
10007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10008 multiarch isnanf for PPC64.
10010 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10011 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10012 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10013 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10014 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10017 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10018 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10019 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10023 multiarch implementations.
10024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10025 (__libc_ifunc_impl_list): Likewise.
10026 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10027 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10028 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10029 multiarch stpcpy for PPC64.
10031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10032 multiarch implementations.
10033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10034 (__libc_ifunc_impl_list): Likewise.
10035 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10036 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10037 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10038 multiarch strcpy for PPC64.
10040 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10041 redefine function name.
10042 (_wordcopy_fwd_dest_aligned): Likewise.
10043 (_wordcopy_bwd_aligned): Likewise.
10044 (_wordcopy_bwd_dest_aligned): Likewise.
10045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10046 multiarch implementations.
10047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10048 (__libc_ifunc_impl_list): Likewise.
10049 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10050 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10051 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10052 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10053 multiarch wcscpy for PPC64.
10055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10056 multiarch implementations.
10057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10058 (__libc_ifunc_impl_list): Likewise.
10059 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10060 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10061 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10062 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10063 multiarch wcscpy for PPC64.
10065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10066 multiarch implementations.
10067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10068 (__libc_ifunc_impl_list): Likewise.
10069 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10070 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10071 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10072 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10073 multiarch wcsrchr for PPC64.
10075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10076 multiarch implementations.
10077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10078 (__libc_ifunc_impl_list): Likewise.
10079 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10080 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10081 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10082 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10083 multiarch wcschr for PPC64.
10085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10086 multiarch implementations.
10087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10088 (__libc_ifunc_impl_list): Likewise.
10089 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10090 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10091 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10092 multiarch strchrnul for PPC64.
10094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10097 (__libc_ifunc_impl_list): Likewise.
10098 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10099 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10100 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10101 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10107 (__libc_ifunc_impl_list): Likewise.
10108 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10109 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10110 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10111 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10115 multiarch implementations.
10116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10117 (__libc_ifunc_impl_list): Likewise.
10118 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10119 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10120 strncasecmp for PPC64.
10121 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10122 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10123 multiarch strncasecmp_l for PPC64.
10125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10126 multiarch implementations.
10127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10128 (__libc_ifunc_impl_list): Likewise.
10129 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10130 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10131 multiarch strcasecmp for PPC64.
10132 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10134 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10135 multiarch strcasecmp_l for PPC64.
10137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10140 (__libc_ifunc_impl_list): Likewise.
10141 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10142 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10143 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10149 (__libc_ifunc_impl_list): Likewise.
10150 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10151 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10152 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10158 (__libc_ifunc_impl_list): Likewise.
10159 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10160 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10161 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10162 rawmemrchr for PPC64.
10164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10167 (__libc_ifunc_impl_list): Likewise.
10168 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10169 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10170 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10176 (__libc_ifunc_impl_list): Likewise.
10177 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10178 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10179 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10185 (__libc_ifunc_impl_list): Likewise.
10186 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10187 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10188 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10191 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10192 avoid cretion of __bzero symbol.
10193 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10195 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10197 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10200 multiarch implementations.
10201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10202 (__libc_ifunc_impl_list): Likewise.
10203 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10204 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10205 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10206 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10208 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10209 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10210 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10211 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10212 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10214 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10216 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10220 (__libc_ifunc_impl_list): Likewise.
10221 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10222 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10223 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10224 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10228 multiarch for POWER/PPC64.
10229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10230 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10231 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10232 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10233 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10234 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10237 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10240 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10241 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10242 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10243 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10244 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10245 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10246 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10247 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10248 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10249 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10250 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10251 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10252 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10253 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10254 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10263 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10265 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10267 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10269 * benchtests/Makefile (bench): Add exp2 and log2.
10270 (LDLIBS-bench-exp2): Add -lm.
10271 (LDLIBS-bench-log2): Likewise.
10272 * benchtests/exp2-inputs: New inputs file.
10273 * benchtests/log2-inputs: New inputs file.
10274 * benchtests/log-inputs: Add new inputs.
10275 * benchtests/tan-inputs: Likewise.
10277 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10279 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10281 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10282 (csloww2): ... from here.
10284 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10285 instead of structures.
10286 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10287 (POLYNOMIAL): Likewise.
10288 (TAYLOR_SLOW): Likewise.
10294 (sloww1); Likewise.
10295 (sloww2): Likewise.
10296 (bsloww1): Likewise.
10297 (bsloww2): Likewise.
10298 (cslow2): Likewise.
10299 (csloww): Likewise.
10300 (csloww1): Likewise.
10301 (csloww2): Likewise.
10303 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10305 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10306 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10307 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10308 * malloc/hooks.c (realloc_check): Likewise.
10310 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10311 * malloc/arena.c: Remove PER_THREAD conditional.
10312 [!PER_THREAD]: Remove code.
10313 (ptmalloc_unlock_all2): Likewise.
10314 (ptmalloc_init): Likewise.
10315 (_int_new_arena): Likewise.
10316 (arena_get2): Likewise.
10317 * malloc/hooks.c (__malloc_get_state): Likewise.
10318 (__malloc_set_state): Likewise.
10319 * malloc/malloc.c: Likewise.
10320 (struct malloc_state): Likewise.
10321 (struct malloc_par): Likewise.
10322 (__libc_realloc): Likewise.
10323 (__libc_mallopt): Likewise.
10325 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10327 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10329 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10331 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10332 macro to a function. Check for zero perturb_byte.
10333 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10335 * malloc/malloc.c: (force_reg): Remove.
10336 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10337 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10338 force_reg by atomic_forced_read.
10339 * malloc/arena.c (ptmalloc_init): Likewise.
10340 * malloc/hooks.c (top_check): Likewise.
10342 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10346 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10350 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10352 * math/auto-libm-test-in: Add tests of lgamma.
10353 * math/auto-libm-test-out: Regenerated.
10354 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10355 (M_LOG_2_SQRT_PIl): Likewise.
10356 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10357 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10359 (func_calc_desc): Add mpfr_f_f1 union field.
10360 (ARGS1): New macro.
10368 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10369 (test_functions): Add lgamma.
10370 (calc_generic_results): Handle mpfr_f_f1.
10371 * sysdeps/i386/fpu/libm-test-ulps: Update.
10372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10374 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10376 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10377 __mpn_add_n for PowerPC64/POWER7.
10378 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10379 __mpn_sub_n for PowerPC64/POWER7.
10381 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10382 __mpn_addmul_1 for PowerPC64.
10383 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10384 __mpn_submul_1 for PowerPC64.
10385 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10387 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10390 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10393 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10395 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10397 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10399 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10400 add multiarch folders.
10401 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10402 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10403 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10404 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10405 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10406 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10407 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10408 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10409 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10410 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10411 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10420 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10426 multiarch __ieee754_hypot for PowerPC32.
10427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10432 multiarch __ieee754_hypotf for PowerPC32.
10434 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10435 long_double_symbol only if __logbl is defined.
10436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10437 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10439 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10441 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10442 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10443 path for implementation.
10444 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10445 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10447 logb, and logbl multiarch implementations for PowerPC32.
10448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10453 multiarch logb for PowerPC32.
10454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10459 multiarch logbf for PowerPC32.
10460 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10464 multiarch logbl implementation for PowerPC32.
10466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10467 and modff multiarch implementations.
10468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10473 multiarch modf for PowerPC32.
10474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10479 multiarch modff for PowerPC32.
10481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10482 and lrintf multiarch implementations.
10483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10488 multiarch lrint for PowerPC32.
10489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10490 file: multiarch lrintf for PowerPC32.
10492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10493 and lroundf multiarch implementations.
10494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10501 multiarch lround for PowerPC32.
10502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10503 file: multiarch lroundf for PowerPC32.
10505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10506 copysign and copysignf multiarch implementations.
10507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10512 file: multiarch copysign for PowerPC32.
10513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10514 file: multiarch copysignf for PowerPC32.
10516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10517 and truncf multiarch implementations.
10518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10523 multiarch trunc for PowerPC32.
10524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10529 multiarch truncf for PowerPC32.
10531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10532 and roundf multiarch implementations.
10533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10538 multiarch round for PowerPC32.
10539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10544 multiarch roundf for PowerPC32.
10546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10547 and floorf multiarch implementations.
10548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10553 multiarch floor for PowerPC32.
10554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10559 multiarch floorf for PowerPC32.
10561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10562 and ceilf multiarch implementations.
10563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10568 multiarch ceil for PowerPC32.
10569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10574 multiarch ceilf for PowerPC32.
10576 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10578 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10579 FINITEF is defined.
10580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10581 and finitef multiarch implementations.
10582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10587 multiarch finite for PowerPC32.
10588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10591 file: multiarch finitef for PowerPC32.
10593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10594 and isinff multiarch implementations.
10595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10600 multiarch isinf for PowerPC32.
10601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10604 multiarch isinff for PowerPC32.
10606 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10607 alias when __isnan is defined.
10608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10609 and isnanf multiarch implementations.
10610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10619 multiarch isnan for PowerPC32.
10620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10625 multiarch isnanf for PowerPC32.
10627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10628 and sqrtf multiarch implementations.
10629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10634 multiarch sqrt for PowerPC32.
10635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10640 multiarch sqrtf for PowerPC32.
10642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10643 and llroundf multiarch implementations.
10644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10651 file: multiarch llround for PowerPC32.
10652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10653 file: multiarch llroundf for PowerPC32.
10655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10656 multiarch PowerPC32 fpu implementations.
10657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10662 multiarch llrint for PowerPC32.
10663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10672 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10674 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10676 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10678 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10679 multiarch wordcopy for PPC32.
10680 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10682 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10683 (__libc_ifunc_impl_list): Likewise.
10684 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10685 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10686 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10687 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10688 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10689 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10691 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10699 multiarch wcscpy for PPC32.
10700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10703 (__libc_ifunc_impl_list): Likewise.
10704 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10705 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10706 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10707 sysdeps/powerpc/power6/wcscpy.c.
10709 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10717 multiarch wcsrchr for PPC32.
10718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10721 (__libc_ifunc_impl_list): Likewise.
10722 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10723 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10724 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10725 sysdeps/powerpc/power6/wcsrchr.c.
10727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10733 multiarch wcschr for PPc32.
10734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10737 (__libc_ifunc_impl_list): Likewise.
10738 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10739 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10740 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10741 sysdeps/powerpc/power6/wcschr.c.
10743 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10744 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10746 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10747 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10748 file: multiarch strchr for PPC32.
10749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10752 (__libc_ifunc_impl_list): Likewise.
10754 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10756 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10758 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10760 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10761 multiarch strchrnul for PPC32.
10762 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10764 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10765 (__libc_ifunc_impl_list): Likewise.
10767 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10769 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10770 multiarch strncasecmp for PPC32.
10771 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10773 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10774 multiarch strncasecmp_l for PPC32.
10775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10776 strncasecmp multiarch objects.
10777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10778 (__libc_ifunc_impl_list): Likewise.
10780 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10782 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10783 multiarch strncasecmp for PPC32.
10784 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10786 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10787 multiarch strcasecmp_l for PPC32.
10788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10791 (__libc_ifunc_impl_list): Likewise.
10793 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10795 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10797 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10798 multiarch strncmp for PPC32.
10799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10802 (__libc_ifunc_impl_list): Likewise.
10804 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10805 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10807 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10808 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10812 (__libc_ifunc_impl_list): Likewise.
10814 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10816 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10818 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10822 (__libc_ifunc_impl_list): Likewise.
10824 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10826 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10828 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10829 multiarch rawmemchr for PPC32.
10830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10833 (__libc_ifunc_impl_list): Likewise.
10835 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10837 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10839 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10840 file: memrchr multiarch for PPC32.
10841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10844 (__libc_ifunc_impl_list): Likewise.
10846 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10847 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10849 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10851 multiarch memchr for PPC32.
10852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10855 (__libc_ifunc_impl_list): Likewise.
10857 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10858 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10860 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10862 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10863 file: multiarch mempcpy for PPC32.
10864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10867 (__libc_ifunc_impl_list): Likewise.
10869 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10870 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10871 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10873 multiarch bzero for PPC32.
10874 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10876 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10878 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10879 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10880 file: multiarch memset for PPC32.
10881 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10883 memset multiarch objects.
10884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10885 (__libc_ifunc_impl_list): Likewise.
10887 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10889 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10892 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10896 (__libc_ifunc_impl_list): Likewise.
10898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10899 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10902 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10904 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10906 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10907 multiarch memcpy for PPC32.
10908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10911 (__libc_ifunc_impl_list): Likewise.
10913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10914 support multiarch for POWER/PPC32.
10915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10917 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10919 Implies file to make multiarch folder appers before the fpu and
10920 default folder for power4 configuration.
10922 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10924 * scripts/bench.pl: Append volatile keyword to type.
10926 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10928 * sysdeps/sh/sotruss-lib.c: New file.
10929 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10931 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10935 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10938 * math/w_tgamma.c: Include <errno.h>.
10939 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10940 * math/w_tgammaf.c: Include <errno.h>.
10941 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10942 * math/w_tgammal.c: Include <errno.h>.
10943 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10944 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10945 underflow. Add more tgamma tests.
10946 * math/auto-libm-test-out: Regenerated.
10947 * sysdeps/i386/fpu/libm-test-ulps: Update.
10948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10950 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10951 sin, sinh, tan, tanh, tgamma, y0 and y1.
10952 * math/auto-libm-test-out: Regenerated.
10953 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10954 (TEST_COND_x86): Likewise.
10955 (M_E2l): Remove macro.
10957 (M_2_SQRT_PIl): Likewise.
10958 (M_SQRT_PIl): Likewise.
10959 (M_1_DIV_El): Likewise.
10960 (log_test_data): Use AUTO_TESTS_f_f.
10961 (log10_test_data): Likewise.
10962 (log1p_test_data): Likewise.
10963 (log2_test_data): Likewise.
10964 (sin_test_data): Likewise.
10965 (sin_tonearest_test_data): Likewise.
10966 (sin_towardzero_test_data): Likewise.
10967 (sin_downward_test_data): Likewise.
10968 (sin_upward_test_data): Likewise.
10969 (sinh_test_data): Likewise.
10970 (sinh_tonearest_test_data): Likewise.
10971 (sinh_towardzero_test_data): Likewise.
10972 (sinh_downward_test_data): Likewise.
10973 (sinh_upward_test_data): Likewise.
10974 (tan_test_data): Likewise.
10975 (tan_tonearest_test_data): Likewise.
10976 (tan_towardzero_test_data): Likewise.
10977 (tan_downward_test_data): Likewise.
10978 (tan_upward_test_data): Likewise.
10979 (tanh_test_data): Likewise.
10980 (tgamma_test_data): Likewise.
10981 (y0_test_data): Likewise.
10982 (y1_test_data): Likewise.
10983 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10984 (special_real_inputs): Add pi/4.
10985 * sysdeps/i386/fpu/libm-test-ulps: Update.
10986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10988 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10990 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10991 "longjmp_target" static probes.
10992 (__longjmp): Rename to __longjmp_symbol.
10993 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10994 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10995 on which longjmp to generate.
10996 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10997 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10999 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11000 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11001 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11002 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11003 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11004 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11006 __longjmp_symbol based on which __longjmp to generate.
11007 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11009 (setjmp): Rename to setjmp_symbol.
11010 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11011 (_setjmp): Rename to _setjmp_symbol.
11012 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11013 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11014 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11015 which setjmp to generate.
11016 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11017 "longjmp_target" static probes.
11019 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11021 * benchtests/README: Add note about output arguments.
11022 * benchtests/bench-sincos.c: Remove file.
11023 * benchtests/sincos-inputs: New file.
11024 * scripts/bench.pl: Identify output arguments and define
11025 static variables for them.
11027 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11030 * Makefile (INSTALL): Add install-plain.texi as the primary
11032 * manual/install-plain.texi: New file.
11033 * manual/install.texi: Include node directive only for
11034 non-plaintext output.
11036 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11038 * stdlib/longlong.h: Update from GCC.
11042 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11043 * math/w_j0f.c (y0f): Likewise.
11044 * math/w_j0l.c (__y0l): Likewise.
11045 * math/w_j1.c (y1): Likewise.
11046 * math/w_j1f.c (y1f): Likewise.
11047 * math/w_j1l.c (__y1l): Likewise
11048 * math/w_jn.c (yn): Likewise.
11049 * math/w_jnf.c (ynf): Likewise.
11050 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11051 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11052 value for Bessel function domain errors outside _SVID_ mode.
11053 Adjust sign of return value for yn (negative integer, 0).
11054 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11055 by zero in return for negative x and set sign appropriately for
11057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11058 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11059 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11060 expectations in error cases.
11061 (y1_test_data): Likewise.
11062 (yn_test_data): Likewise.
11063 * sysdeps/i386/fpu/libm-test-ulps: Update.
11064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11066 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11068 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11069 "64" to "64-v1". Add "64-v2".
11070 (abi-64-options): Rename to ...
11071 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11072 (abi-64-condition): Rename to ...
11073 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11074 (abi-64-ld-soname): Rename to ...
11075 (abi-64-v1-ld-soname): ... this.
11076 (abi-64-v2-options): Define.
11077 (abi-64-v2-condition): Likewise.
11078 (abi-64-v2-ld-soname): Likewise.
11079 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11080 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11085 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11086 Alan Modra <amodra@gmail.com>
11088 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11089 New versions for use with the ELFv2 ABI.
11090 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11091 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11093 (struct La_ppc64v2_retval): Likewise.
11094 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11095 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11096 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11097 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11098 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11099 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11100 Do not save or restore CR.
11101 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11102 (_dl_profile_resolve): Do no save or restore CR. Support extended
11103 return values for ELFv2 ABI. Fix location of FPR return registers.
11104 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11105 updated values for _CALL_ELF == 2.
11106 (La_regs, La_retval, int_retval): Likewise.
11108 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11110 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11111 (FRAME_MIN_SIZE_PARM): Likewise.
11112 (FRAME_BACKCHAIN): Likewise.
11113 (FRAME_CR_SAVE): Likewise.
11114 (FRAME_LR_SAVE): Likewise.
11115 (FRAME_TOC_SAVE): Likewise.
11116 (FRAME_PARM_SAVE): Likewise.
11117 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11118 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11119 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11120 (call_mcount_parm_offset): New macro.
11121 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11122 (PROF): Use symbolic stack frame offsets.
11123 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11124 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11125 Redefine in terms of FRAME_MIN_SIZE.
11126 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11127 (_dl_profile_resolve): Likewise. Update comment.
11128 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11129 symbols stack frame offsets.
11130 (__sigsetjmp): Likewise.
11131 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11132 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11133 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11134 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11137 (FRAME_BACKCHAIN): Remove.
11138 (FRAME_CR_SAVE): Likewise.
11139 (FRAME_LR_SAVE): Likewise.
11140 (FRAME_COMPILER_DW): Likewise.
11141 (FRAME_LINKER_DW): Likewise.
11142 (FRAME_TOC_SAVE): Likewise.
11143 (FRAME_PARM_SAVE): Likewise.
11144 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11145 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11146 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11148 (CHECK_SP): Use symbolic stack frame offsets.
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11150 zone" instead of caller's parameter save area for temp storage.
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11152 Likewise. Also, use symbolic stack frame offsets.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11154 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11155 our own stack frame instead of the caller's.
11156 (__socket): Use symbolic stack frame offsets.
11158 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11159 Alan Modra <amodra@gmail.com>
11161 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11163 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11164 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11165 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11167 (elf_machine_fixup_plt): Call it.
11168 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11170 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11171 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11172 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11173 r2 before calling target.
11175 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11176 Alan Modra <amodra@gmail.com>
11178 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11179 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11180 versions of macros to support ELFv2 ABI.
11181 (LOCALENTRY): New macro.
11182 (ENTRY, EALIGN): Use it.
11183 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11184 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11185 fall through into ENTRY entry point.
11186 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11187 Only define if _CALL_ELF != 2.
11189 (elf_machine_matches_host): Verify ABI version matches.
11190 (RTLD_START): Use LOCALENTRY.
11191 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11192 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11193 (PLT_ENTRY_WORDS): New macro.
11194 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11195 (elf_machine_runtime_setup): Support ELFv2 ABI.
11196 (elf_machine_fixup_plt): Likewise.
11197 (elf_machine_plt_conflict): Likewise.
11198 (resolve_ifunc): Likewise.
11199 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11200 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11203 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11205 (makecontext): Support ELFv2 ABI.
11206 * elf/elf.h (EF_PPC64_ABI): Define.
11208 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11210 * sysdeps/powerpc/powerpc64/sysdep.h
11211 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11212 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11213 (ENTRY) [ASSEMBLER]: ... but instead here ...
11214 (EALIGN) [ASSEMBLER]: ... and here.
11215 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11216 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11217 (ENTRY_2) [!ASSEMBLER]: Use it.
11218 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11219 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11221 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11222 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11224 Use PPC64_LOAD_FUNCPTR.
11226 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11228 2013-12-04 Alan Modra <amodra@gmail.com>
11230 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11231 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11232 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11233 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11236 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11237 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11238 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11239 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11240 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11242 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11245 (__makecontext): Fix incorrect CFI when backtracing out of
11246 context created via makecontext.
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11248 (__setcontext): Fix incorrect CFI during switch to new context.
11249 (__novec_setcontext): Likewise.
11251 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11254 * time/strptime_l.c (__strptime_internal): Allow modifiers
11256 * time/tst-strptime.c (day_tests): Add testcase.
11258 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11260 * scripts/bench.pl: Skip over blank lines.
11262 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11265 * manual/time.texi (Calendar Time): Clarify what timezone functions
11268 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11272 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11274 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11276 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11277 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11278 * debug/memset_chk.c (__memset_chk): Likewise.
11279 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11280 * debug/strncpy_chk.c: Likewise.
11282 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11286 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11287 (__ieee754_exp): For possibly underflowing results, check size of
11288 result and force underflow exception if required.
11289 * math/auto-libm-test-in: Add more tests of exp.
11290 * math/auto-libm-test-out: Regenerated.
11291 * sysdeps/i386/fpu/libm-test-ulps: Update.
11292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11295 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11296 * math/w_exp2f.c (__exp2f): Likewise.
11297 * math/w_exp2l.c (__exp2l): Likewise.
11298 * math/auto-libm-test-in: Do not allow missing errno on exp2
11300 * math/auto-libm-test-out: Regenerated.
11302 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11305 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11306 handle filename validation.
11307 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11310 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11313 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11314 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11315 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11317 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11318 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11319 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11320 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11321 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11322 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11323 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11324 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11325 Add more erfc tests.
11326 * math/auto-libm-test-out: Regenerated.
11327 * sysdeps/i386/fpu/libm-test-ulps: Update.
11328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11330 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11331 exp2, expm1, j0 and j1.
11332 * math/auto-libm-test-out: Regenerated.
11333 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11334 (erfc_test_data): Likewise.
11335 (exp_test_data): Likewise.
11336 (exp_tonearest_test_data): Likewise.
11337 (exp_towardzero_test_data): Likewise.
11338 (exp_downward_test_data): Likewise.
11339 (exp_upward_test_data): Likewise.
11340 (exp10_test_data): Likewise.
11341 (exp2_test_data): Likewise.
11342 (expm1_test_data): Likewise.
11343 (j0_test_data): Likewise.
11344 (j1_test_data): Likewise.
11345 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11346 (input_flag_type): Add flag_xfail_rounding.
11347 (input_flags): Add xfail-rounding.
11348 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11349 (output_for_one_input_case): Handle flag_xfail_rounding.
11350 * sysdeps/i386/fpu/libm-test-ulps: Update.
11351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11353 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11356 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11359 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11362 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11363 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11364 (STAP_PROBE0): New macro.
11365 (STAP_PROBE1): Likewise.
11366 (STAP_PROBE2): Likewise.
11367 (STAP_PROBE3): Likewise.
11368 (STAP_PROBE4): Likewise.
11370 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11372 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11374 2013-12-02 Steve Ellcey <sellcey@mips.com>
11376 * benchtests/Makefile (bench): Add sqrt.
11377 (LDLIBS-bench-sqrt): New.
11378 * benchtests/sqrt-input: New.
11380 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11382 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11383 (GAIH_EAI): Likewise.
11384 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11385 (gaih_inet): Likewise.
11386 (getaddrinfo): Don't use GAIH_EAI.
11388 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11389 (struct gaih): Remove definition.
11391 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11393 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11394 Use HERRNOP directly.
11396 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11400 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11402 * math/gen-auto-libm-tests.c (test_functions): Add more
11403 single-argument functions.
11404 (special_fill_pi_2): New function.
11405 (special_fill_minus_pi_2): Likewise.
11406 (special_fill_pi_6): Likewise.
11407 (special_fill_minus_pi_6): Likewise.
11408 (special_fill_pi_3): Likewise.
11409 (special_fill_2pi_3): Likewise.
11410 (special_fill_e): Likewise.
11411 (special_fill_1_e): Likewise.
11412 (special_fill_e_minus_1): Likewise.
11413 (special_real_inputs): Add more special inputs.
11414 (output_for_one_input_case): Do not require ERANGE on underflow to
11415 zero if round-to-nearest result does not underflow to zero, unless
11416 exact results required.
11417 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11418 atan, atanh, cbrt, cos and cosh.
11419 * math/auto-libm-test-out: Regenerated.
11420 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11421 (acos_tonearest_test_data): Likewise.
11422 (acos_towardzero_test_data): Likewise.
11423 (acos_downward_test_data): Likewise.
11424 (acos_upward_test_data): Likewise.
11425 (acosh_test_data): Likewise.
11426 (asin_test_data): Likewise.
11427 (asin_tonearest_test_data): Likewise.
11428 (asin_towardzero_test_data): Likewise.
11429 (asin_upward_test_data): Likewise.
11430 (asinh_test_data): Likewise.
11431 (atan_test_data): Likewise.
11432 (atanh_test_data): Likewise.
11433 (cbrt_test_data): Likewise.
11434 (cos_test_data): Likewise.
11435 (cos_tonearest_test_data): Likewise.
11436 (cos_towardzero_test_data): Likewise.
11437 (cos_downward_test_data): Likewise.
11438 (cos_upward_test_data): Likewise.
11439 (cosh_test_data): Likewise.
11440 (cosh_tonearest_test_data): Likewise.
11441 (cosh_towardzero_test_data): Likewise.
11442 (cosh_downward_test_data): Likewise.
11443 (cosh_upward_test_data): Likewise.
11444 * sysdeps/i386/fpu/libm-test-ulps: Update.
11445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11447 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11450 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11451 * math/w_exp10f.c (__exp10f): Likewise.
11452 * math/w_exp10l.c (__exp10l): Likewise.
11453 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11454 errno settings in existing tests.
11457 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11458 precision control set to double precision.
11459 * sysdeps/i386/fpu/w_sqrt.c: New file.
11460 * math/auto-libm-test-in: Add more tests.
11461 * math/auto-libm-test-out: Update.
11463 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11464 (sqrt_test_tonearest): New function.
11465 (sqrt_towardzero_test_data): New variable.
11466 (sqrt_test_towardzero): New function.
11467 (sqrt_downward_test_data): New variable.
11468 (sqrt_test_downward): New function.
11469 (sqrt_upward_test_data): New variable.
11470 (sqrt_test_upward): New function.
11471 (main): Call the new functions.
11473 * math/gen-auto-libm-tests.c: New file.
11474 * math/auto-libm-test-in: Likewise.
11475 * math/auto-libm-test-out: New generated file.
11476 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11478 (%beautify): Add generated representations of zero.
11479 (top level): Set $auto_input and call parse_auto_input.
11480 (beautify): Remove trailing "f" from hex float constants.
11481 (parse_args): Handle XFAIL_TEST.
11482 (convert_condition): New function.
11483 (or_value): Likewise.
11484 (or_cond_value): Likewise.
11485 (generate_testfile): Handle AUTO_TESTS_* lines.
11486 (parse_auto_input): New function.
11487 * math/libm-test.inc (XFAIL_TEST): New macro.
11488 (ERRNO_UNCHANGED): Update value.
11489 (ERRNO_EDOM): Likewise.
11490 (ERRNO_ERANGE): Likewise.
11491 (IGNORE_RESULT): Likewise.
11492 (TEST_COND_flt_32): New macro.
11493 (TEST_COND_dbl_64): Likewise.
11494 (TEST_COND_ldbl_96_intel): Likewise.
11495 (TEST_COND_ldbl_96_m68k): Likewise.
11496 (TEST_COND_ldbl_128): Likewise.
11497 (TEST_COND_ldbl_128ibm): Likewise.
11498 (TEST_COND_long32): Likewise.
11499 (TEST_COND_long64): Likewise.
11500 (TEST_COND_before_rounding): Likewise.
11501 (TEST_COND_after_rounding): Likewise.
11502 (enable_test): Handle XFAIL_TEST flag.
11503 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11504 with finite results.
11505 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11506 auto-libm-test-out.
11508 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11509 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11512 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11513 __tls_get_addr_internal instead of __tls_get_offset in order to
11514 avoid GOT pointer dependency. Make rtld export
11515 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11516 __tls_get_addr since we are a __tls_get_offset platform.
11517 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11518 GOT pointer being set up before.
11519 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11521 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11523 * manual/math.texi (Errors in Math Functions): Document accuracy
11527 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11528 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11531 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11533 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11544 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11545 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11546 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11547 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11548 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11550 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11552 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11554 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11555 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11556 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11557 atomic-feupdateenv and flt-rounds.
11558 * sysdeps/powerpc/nofpu/Versions (libc): Add
11559 __atomic_feholdexcept, __atomic_feclearexcept,
11560 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11561 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11562 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11563 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11564 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11569 * manual/arith.texi (FP Exceptions): Document that exceptions may
11570 not be raised when matherr is used.
11571 (Math Error Reporting): Document overflow in directed rounding
11572 modes. Document that errno may not be set when finite values are
11573 returned on overflow. Document intent to set errno on underflow
11574 only for underflow to zero.
11577 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11578 round-to-nearest then adjust result for other rounding modes.
11579 * include/fenv.h (fegetround): Use libm_hidden_proto.
11580 * math/fegetround.c (fegetround): Use libm_hidden_def.
11581 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11582 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11583 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11584 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11586 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11587 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11588 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11589 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11591 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11594 * nss/Versions (libnss_files): Add
11595 _nss_files_gethostbyname3_r.
11596 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11598 (HOST_DB_LOOKUP): Remove macro.
11599 (_nss_files_gethostbyname_r): Implement function without the
11600 HOST_DB_LOOKUP macro.
11601 (_nss_files_gethostbyname2_r): Likewise.
11603 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11605 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11607 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11609 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11610 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11613 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11615 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11616 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11617 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11618 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11619 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11620 __fe_nomask_env_priv and attribute_hidden.
11621 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11622 (libc_feupdateenv_test_ppc): Likewise.
11623 (libc_feresetround_ppc): Likewise.
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11625 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11626 compat_symbol macro.
11627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11628 (__fe_nomask_env): Likewise.
11629 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11631 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11633 * string/Makefile: Remove ifunc tests.
11634 * string/test-string.h: Define TEST_IFUNC.
11635 * string/test-bcopy-ifunc.c: Remove.
11636 * string/test-bzero-ifunc.c: Likewise.
11637 * string/test-memccpy-ifunc.c: Likewise.
11638 * string/test-memchr-ifunc.c: Likewise.
11639 * string/test-memcmp-ifunc.c: Likewise.
11640 * string/test-memcpy-ifunc.c: Likewise.
11641 * string/test-memmem-ifunc.c: Likewise.
11642 * string/test-memmove-ifunc.c: Likewise.
11643 * string/test-mempcpy-ifunc.c: Likewise.
11644 * string/test-memrchr-ifunc.c: Likewise.
11645 * string/test-memset-ifunc.c: Likewise.
11646 * string/test-rawmemchr-ifunc.c: Likewise.
11647 * string/test-stpcpy-ifunc.c: Likewise.
11648 * string/test-stpncpy-ifunc.c: Likewise.
11649 * string/test-strcasecmp-ifunc.c: Likewise.
11650 * string/test-strcasestr-ifunc.c: Likewise.
11651 * string/test-strcat-ifunc.c: Likewise.
11652 * string/test-strchr-ifunc.c: Likewise.
11653 * string/test-strchrnul-ifunc.c: Likewise.
11654 * string/test-strcmp-ifunc.c: Likewise.
11655 * string/test-strcpy-ifunc.c: Likewise.
11656 * string/test-strcspn-ifunc.c: Likewise.
11657 * string/test-strlen-ifunc.c: Likewise.
11658 * string/test-strncasecmp-ifunc.c: Likewise.
11659 * string/test-strncat-ifunc.c: Likewise.
11660 * string/test-strncmp-ifunc.c: Likewise.
11661 * string/test-strncpy-ifunc.c: Likewise.
11662 * string/test-strnlen-ifunc.c: Likewise.
11663 * string/test-strpbrk-ifunc.c: Likewise.
11664 * string/test-strrchr-ifunc.c: Likewise.
11665 * string/test-strspn-ifunc.c: Likewise.
11666 * string/test-strstr-ifunc.c: Likewise.
11668 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11670 * benchtests/Makefile: Remove ifunc tests.
11671 * benchtests/bench-string.h: Define TEST_IFUNC.
11672 * benchtests/bench-bcopy-ifunc.c: Remove.
11673 * benchtests/bench-bzero-ifunc.c: Likewise.
11674 * benchtests/bench-memccpy-ifunc.c: Likewise.
11675 * benchtests/bench-memchr-ifunc.c: Likewise.
11676 * benchtests/bench-memcmp-ifunc.c: Likewise.
11677 * benchtests/bench-memcpy-ifunc.c: Likewise.
11678 * benchtests/bench-memmem-ifunc.c: Likewise.
11679 * benchtests/bench-memmove-ifunc.c: Likewise.
11680 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11681 * benchtests/bench-memrchr-ifunc.c: Likewise.
11682 * benchtests/bench-memset-ifunc.c: Likewise.
11683 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11684 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11685 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11686 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11687 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11688 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11689 * benchtests/bench-strcat-ifunc.c: Likewise.
11690 * benchtests/bench-strchr-ifunc.c: Likewise.
11691 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11692 * benchtests/bench-strcmp-ifunc.c: Likewise.
11693 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11694 * benchtests/bench-strcpy-ifunc.c: Likewise.
11695 * benchtests/bench-strcspn-ifunc.c: Likewise.
11696 * benchtests/bench-strlen-ifunc.c: Likewise.
11697 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11698 * benchtests/bench-strncat-ifunc.c: Likewise.
11699 * benchtests/bench-strncmp-ifunc.c: Likewise.
11700 * benchtests/bench-strncpy-ifunc.c: Likewise.
11701 * benchtests/bench-strnlen-ifunc.c: Likewise.
11702 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11703 * benchtests/bench-strrchr-ifunc.c: Likewise.
11704 * benchtests/bench-strsep-ifunc.c: Likewise.
11705 * benchtests/bench-strspn-ifunc.c: Likewise.
11706 * benchtests/bench-strstr-ifunc.c: Likewise.
11708 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11710 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11712 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11714 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11715 * rt/aio.h: Likewise.
11716 * sysdeps/gnu/bits/utmp.h: Likewise.
11717 * sysdeps/gnu/bits/utmpx.h: Likewise.
11718 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11719 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11720 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11721 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11722 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11723 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11724 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11725 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11726 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11727 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11728 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11729 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11730 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11732 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11733 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11734 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11735 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11736 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11737 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11738 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11739 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11740 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11741 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11742 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11744 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11745 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11746 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11747 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11748 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11749 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11750 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11751 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11752 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11753 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11754 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11755 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11756 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11757 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11758 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11759 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11761 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11764 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11765 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11767 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11769 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11770 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11773 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11776 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11777 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11778 (__fesetround): Remove define.
11779 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11780 rounding and exceptions handling.
11781 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11782 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11783 (__fe_nomask_env): Likewise.
11784 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11785 __fegetround instead of fegetround.
11786 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11787 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11789 2013-11-21 Roland McGrath <roland@hack.frob.com>
11791 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11794 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11796 2013-11-21 Meador Inge <meadori@codesourcery.com>
11799 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11800 (encrypt_r): Likewise.
11801 * malloc/obstack.h (obstack_free): Likewise.
11802 * posix/unistd.h (encrypt): Likewise.
11804 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11806 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11807 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11808 DL_CALL_DT_FINI() that call the functions directly.
11809 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11810 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11811 * elf/dl-fini.c: Likewise.
11813 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11815 * malloc/hooks.c (memalign_check): Add alignment rounding.
11816 * malloc/malloc.c (_mid_memalign): New function.
11817 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11818 Implement by calling _mid_memalign.
11819 * manual/probes.texi (Memory Allocation Probes): Remove
11820 memory_valloc_retry and memory_pvalloc_retry.
11822 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11824 * locale/programs/locarchive.c (open_archive): Add const
11825 qualifier to ARCHIVEFNAME and copy default fname to
11829 * libio/tst-widetext.input: Rename Oriya to Odia.
11830 * locale/iso-639.def: Likewise.
11832 * manual/probes.texi (Mathematical Function Probes): Add
11833 documentation for sin, cos, asin and acos probes.
11834 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11835 (__sin32): Add slowasin probe.
11836 (__cos32): Add slowacos probe.
11837 (__mpsin): Add slowsin probe.
11838 (__mpcos): Add slowcos probe.
11840 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11843 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11844 thread-local __sim_exceptions_thread and global
11845 __sim_exceptions_global.
11846 (__sim_disabled_exceptions): Change to thread-local
11847 __sim_disabled_exceptions_thread and global
11848 __sim_disabled_exceptions_global.
11849 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11850 and global __sim_round_mode_global.
11851 (__simulate_exceptions): Use thread-local floating-point state and
11852 set global state from it as needed.
11853 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11854 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11855 __sim_round_mode_thread.
11856 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11857 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11858 and global __sim_exceptions_global.
11859 (__sim_disabled_exceptions): Change to thread-local
11860 __sim_disabled_exceptions_thread and global
11861 __sim_disabled_exceptions_global.
11862 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11863 and global __sim_round_mode_global.
11864 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11865 (SIM_SET_GLOBAL): Likewise.
11866 * sysdeps/powerpc/soft-fp/sfp-machine.h
11867 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11868 __sim_round_mode_thread.
11869 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11870 __sim_disabled_exceptions_thread.
11871 (__sim_exceptions): Change to __sim_exceptions_thread.
11872 (__sim_disabled_exceptions): Change to
11873 __sim_disabled_exceptions_thread.
11874 (__sim_round_mode): Change to __sim_round_mode_thread.
11875 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11876 thread-local floating-point state and set global state from it as
11878 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11879 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11880 (__sim_disabled_exceptions): Remove extern declaration.
11881 (feenableexcept): Use thread-local floating-point state and set
11882 global state from it as needed.
11883 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11884 extern declaration.
11885 (__sim_disabled_exceptions): Likewise.
11886 (__sim_round_mode): Likewise.
11887 (__fegetenv): Use thread-local floating-point state.
11888 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11889 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11890 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11891 floating-point state and set global state from it as needed.
11892 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11893 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11894 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11896 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11897 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11899 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11900 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11901 Use __sim_round_mode_thread.
11902 * math/test-fenv-tls.c: New file.
11903 * math/Makefile (tests): Add test-fenv-tls.
11904 ($(objpfx)test-fenv-tls): Depend on
11905 $(common-objpfx)nptl/libpthread.so.
11907 2013-11-19 Andreas Schwab <schwab@suse.de>
11909 * locale/programs/locale.c (show_info): Decode wordarray elements.
11910 * locale/categories.def (LC_MONETARY): Add element for
11911 _NL_MONETARY_CRNCYSTR.
11912 * locale/C-monetary.c (conversion_rate): New variable.
11913 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11916 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11918 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11919 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11921 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11923 * elf/Makefile (tst-auxv): New test.
11924 * elf/tst-auxv.c: New
11925 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11927 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11929 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11930 (hidden_proto): Caller changed.
11931 (hidden_tls_proto): New macro.
11932 (libc_hidden_tls_proto): Likewise.
11933 (rtld_hidden_tls_proto): Likewise.
11934 (libm_hidden_tls_proto): Likewise.
11935 (libresolv_hidden_tls_proto): Likewise.
11936 (librt_hidden_tls_proto): Likewise.
11937 (libdl_hidden_tls_proto): Likewise.
11938 (libnss_files_hidden_tls_proto): Likewise.
11939 (libnsl_hidden_tls_proto): Likewise.
11940 (libnss_nisplus_hidden_tls_proto): Likewise.
11941 (libutil_hidden_tls_proto): Likewise.
11943 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11946 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11947 (decompose_rpath): Defer expansion to fillin_rpath.
11948 (_dl_init_paths): Pass linkmap to fillin_rpath.
11950 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11952 * benchtests/Makefile: Add strsep.
11953 * benchtests/bench-strsep.c: New file: strsep benchtest.
11954 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11956 2013-11-18 Andreas Schwab <schwab@suse.de>
11958 * locale/programs/locale.c (show_info) [case byte]: Check for
11959 '\377' instead of '\177'.
11960 * locale/C-monetary.c (not_available): Always use "\377".
11961 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11962 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11963 detect unavailable sign_posn locale elements.
11964 * locale/localeconv.c (__localeconv): For grouping and
11965 mon_grouping handle "\177" and "\377" like no grouping.
11966 (INT_ELEM): New macro. Use it to set all numeric members.
11967 * locale/programs/ld-monetary.c (monetary_read)
11968 <tok_mon_grouping>: Normalize single -1 to the empty string.
11969 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11972 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11975 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11976 when we match (nil).
11977 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11979 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11981 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11982 (NO_TEST_INLINE): Update value.
11983 (ERRNO_UNCHANGED): Likewise.
11984 (ERRNO_EDOM): Likewise.
11985 (ERRNO_ERANGE): Likewise.
11986 (IGNORE_RESULT): Likewise.
11987 (check_float_internal): Check signs of NaN results if
11988 TEST_NAN_SIGN used.
11989 (check_complex): Pass TEST_NAN_SIGN flag through to second
11990 check_float_internal call.
11991 (copysign_test_data): Add tests with quiet NaNs as second
11992 argument. Use TEST_NAN_SIGN.
11993 (fabs_test_data): Add test of negative quiet NaN argument. Use
11995 (signbit_test_data): Add tests of quiet NaN argument.
11996 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11998 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12000 (parse_args): Handle function results specified as IGNORE.
12001 * math/libm-test.inc (IGNORE_RESULT): New macro.
12002 (check_float_internal): Do not check numerical result if flag
12004 (check_complex): Pass through IGNORE_RESULT to second
12005 check_float_internal call.
12006 (check_int): Do not check numerical result if flag IGNORE_RESULT
12008 (check_long): Likewise.
12009 (check_bool): Likewise.
12010 (check_longlong): Likewise.
12011 (lrint_test_data): Add tests of infinite and NaN arguments.
12012 (lrint_tonearest_test_data): Likewise.
12013 (lrint_towardzero_test_data): Likewise.
12014 (lrint_downward_test_data): Likewise.
12015 (lrint_upward_test_data): Likewise.
12016 (llrint_test_data): Likewise.
12017 (llrint_tonearest_test_data): Likewise.
12018 (llrint_towardzero_test_data): Likewise.
12019 (llrint_downward_test_data): Likewise.
12020 (llrint_upward_test_data): Likewise.
12021 (lround_test_data): Likewise.
12022 (llround_test_data): Likewise.
12024 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12025 (ERRNO_UNCHANGED): Update value.
12026 (ERRNO_EDOM): Likewise.
12027 (ERRNO_ERANGE): Likewise.
12028 (NO_TEST_INLINE_FLOAT): New macro.
12029 (NO_TEST_INLINE_DOUBLE): Likewise.
12030 (enable_test): New function.
12031 (RUN_TEST_f_f): Check enable_test before running test.
12032 (RUN_TEST_2_f): Likewise.
12033 (RUN_TEST_fff_f): Likewise.
12034 (RUN_TEST_c_f): Likewise.
12035 (RUN_TEST_f_f1): Likewise.
12036 (RUN_TEST_fF_f1): Likewise.
12037 (RUN_TEST_fI_f1): Likewise.
12038 (RUN_TEST_ffI_f1): Likewise.
12039 (RUN_TEST_c_c): Likewise.
12040 (RUN_TEST_cc_c): Likewise.
12041 (RUN_TEST_f_i): Likewise.
12042 (RUN_TEST_f_i_tg): Likewise.
12043 (RUN_TEST_ff_i_tg): Likewise.
12044 (RUN_TEST_f_b): Likewise.
12045 (RUN_TEST_f_b_tg): Likewise.
12046 (RUN_TEST_f_l): Likewise.
12047 (RUN_TEST_f_L): Likewise.
12048 (RUN_TEST_fFF_11): Likewise.
12049 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12051 (cosh_test_data): Likewise.
12052 (exp_test_data): Likewise.
12053 (expm1_test_data): Likewise.
12054 (hypot_test_data): Likewise.
12055 (pow_test_data): Likewise.
12056 (sinh_test_data): Likewise.
12057 (tanh_test_data): Likewise.
12058 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12061 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12062 tests with quiet NaN input and output.
12063 (acosh_test_data): Likewise.
12064 (asin_test_data): Likewise.
12065 (asinh_test_data): Likewise.
12066 (atan_test_data): Likewise.
12067 (atanh_test_data): Likewise.
12068 (atan2_test_data): Likewise.
12069 (cbrt_test_data): Likewise.
12070 (cos_test_data): Likewise.
12071 (cosh_test_data): Likewise.
12072 (erf_test_data): Likewise.
12073 (erfc_test_data): Likewise.
12074 (exp_test_data): Likewise.
12075 (exp10_test_data): Likewise.
12076 (exp2_test_data): Likewise.
12077 (expm1_test_data): Likewise.
12078 (hypot_test_data): Likewise.
12079 (j0_test_data): Likewise.
12080 (j1_test_data): Likewise.
12081 (jn_test_data): Likewise.
12082 (lgamma_test_data): Likewise.
12083 (log_test_data): Likewise.
12084 (log10_test_data): Likewise.
12085 (log1p_test_data): Likewise.
12086 (log2_test_data): Likewise.
12087 (pow_test_data): Likewise.
12088 (scalb_test_data): Likewise.
12089 (sin_test_data): Likewise.
12090 (sincos_test_data): Likewise.
12091 (sinh_test_data): Likewise.
12092 (tan_test_data): Likewise.
12093 (tanh_test_data): Likewise.
12094 (tgamma_test_data): Likewise.
12095 (y0_test_data): Likewise.
12096 (y1_test_data): Likewise.
12097 (yn_test_data): Likewise.
12100 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12101 argument being NaN and avoid computations with second argument in
12103 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12104 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12105 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12107 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12109 * locale/iso-639.def: Add Chitwani Tharu (the).
12111 2013-11-14 Andreas Schwab <schwab@suse.de>
12113 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12114 word instead of empty string.
12116 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12119 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12121 (__fe_nomask_env): Likewise.
12123 2013-11-13 Steve Ellcey <sellcey@mips.com>
12125 * benchtests/bench-timing.h: Include time.h.
12127 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12130 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12132 * sysdeps/unix/sysv/linux/configure: Regenerated.
12134 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12137 * stdlib/strtod_l.c (round_and_return): Do not consider
12138 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12139 exponent one less than half the least subnormal exponent.
12140 * stdlib/test-strtod-round-data: Add more tests.
12141 * stdlib/tst-strtod-round.c (tests): Regenerated.
12143 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12146 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12147 (__fe_mask_env): Likewise.
12148 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12149 libm_hidden_proto and add function prototype.
12150 (__fe_mask_env): Add function prototype.
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12152 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12154 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12156 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12158 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12160 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12161 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12163 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12165 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12166 of htab_find_slot().
12168 2013-11-11 David S. Miller <davem@davemloft.net>
12171 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12172 symbol in the non-vis3 case in static builds.
12173 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12174 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12175 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12176 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12178 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12181 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12184 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12186 * benchtests/Makefile: Add bench-strtod.
12187 * benchtests/bench-strtod.c: New file: strtod benchtest
12189 2013-11-11 Andreas Schwab <schwab@suse.de>
12192 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12193 terminating NUL in key length.
12195 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12197 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12198 Add artificial ODP entry for vDSO symbol for PPC64.
12199 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12200 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12202 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12205 * nss/getent.c (services_keys): Recognize services starting with digit.
12207 2013-11-06 David S. Miller <davem@davemloft.net>
12210 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12211 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12213 2013-11-06 Will Newton <will.newton@linaro.org>
12215 * manual/memory.texi (Malloc Examples): Remove register
12216 keyword from examples.
12218 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12220 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12222 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12225 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12226 depending on [__GCC_IEC_559 > 0].
12227 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12228 depending on [__GCC_IEC_559_COMPLEX > 0].
12230 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12232 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12235 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12237 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12239 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12242 * malloc/malloc (malloc_info): Do not handle first bin as
12245 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12247 * locale/iso-639.def: Add Central Nahuatl (nhn).
12249 2013-11-01 Bruno Haible <bruno@clisp.org>
12252 * manual/math.texi (BSD Random): Specify range upper bound as
12255 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12257 * locale/iso-639.def: Add Meadow Mari (mhr).
12259 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12261 [BZ #14752], [BZ #15763]
12262 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12264 * rt/tst_shm.c: Add test for escaping directory.
12266 2013-10-31 Andreas Schwab <schwab@suse.de>
12269 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12270 followed by 'x' as part of digit sequence.
12271 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12273 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12276 * configure.ac: allow GNU Make 4.0 and greater.
12277 * configure: Regenerated.
12279 2013-10-30 Will Newton <will.newton@linaro.org>
12282 * malloc/hooks.c (memalign_check): Limit alignment to the
12283 maximum representable power of two.
12284 * malloc/malloc.c (__libc_memalign): Likewise.
12285 * malloc/tst-memalign.c (do_test): Add test for very
12286 large alignment values.
12287 * malloc/tst-posix_memalign.c (do_test): Likewise.
12289 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12292 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12293 (munmap_chunk): Likewise.
12294 (mremap_chunk): Likewise.
12296 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12299 * stdlib/div.c (div): Remove obsolete code.
12300 * stdlib/ldiv.c (ldiv): Likewise.
12301 * stdlib/lldiv.c (lldiv): Likewise.
12303 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12306 * nss/nss_files/files-XXX.c (get_contents_ret): New
12308 (get_contents): New function.
12309 (internal_getent): Use it. Expand size of LINEBUFLEN.
12311 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12313 * configure.in: Moved to ...
12314 * configure.ac: ... here. Change reference to configure.in
12316 * sysdeps/arm/preconfigure.ac: ... here.
12317 configure.in to configure.ac.
12318 * sysdeps/gnu/configure.in: Moved to ...
12319 * sysdeps/gnu/configure.ac: ... here.
12320 * sysdeps/i386/configure.in: Moved to ...
12321 * sysdeps/i386/configure.ac: ... here.
12322 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12323 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12324 * sysdeps/mach/configure.in: Moved to ...
12325 * sysdeps/mach/configure.ac: ... here.
12326 * sysdeps/mach/hurd/configure.in: Moved to ...
12327 * sysdeps/mach/hurd/configure.ac: ... here.
12328 * sysdeps/powerpc/configure.in: Moved to ...
12329 * sysdeps/powerpc/configure.ac: ... here.
12330 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12331 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12332 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12333 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12334 * sysdeps/s390/s390-32/configure.in: Moved to ...
12335 * sysdeps/s390/s390-32/configure.ac: ... here.
12336 * sysdeps/s390/s390-64/configure.in: Moved to ...
12337 * sysdeps/s390/s390-64/configure.ac: ... here.
12338 * sysdeps/sh/configure.in: Moved to ...
12339 * sysdeps/sh/configure.ac: ... here.
12340 * sysdeps/sparc/configure.in: Moved to ...
12341 * sysdeps/sparc/configure.ac: ... here.
12342 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12343 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12344 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12345 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12346 * sysdeps/x86_64/configure.in: Moved to ...
12347 * sysdeps/x86_64/configure.ac: ... here.
12348 * sysdeps/x86_64/preconfigure.in: Moved to ...
12349 * sysdeps/x86_64/preconfigure.ac: ... here.
12350 * aclocal.m4: Change reference to configure.in to configure.ac.
12351 * config.h.in: Likewise.
12352 * manual/install.texi: Likewise.
12353 * manual/maint.texi: Likewise.
12354 * Makefile: Likewise.
12355 * malloc/Makefile: Likewise.
12356 * nscd/Makefile: Likewise.
12357 * Makeconfig: Change reference to configure.in and
12358 preconfigure.in to configure.ac and preconfigure.ac
12360 * INSTALL: Regenerated.
12361 * configure: Likewise.
12362 * sysdeps/gnu/configure: Likewise.
12363 * sysdeps/i386/configure: Likewise.
12364 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12365 * sysdeps/mach/configure: Likewise.
12366 * sysdeps/mach/hurd/configure: Likewise.
12367 * sysdeps/powerpc/configure: Likewise.
12368 * sysdeps/powerpc/powerpc32/configure: Likewise.
12369 * sysdeps/powerpc/powerpc64/configure: Likewise.
12370 * sysdeps/s390/s390-32/configure: Likewise.
12371 * sysdeps/s390/s390-64/configure: Likewise.
12372 * sysdeps/sh/configure: Likewise.
12373 * sysdeps/sparc/configure: Likewise.
12374 * sysdeps/unix/sysv/linux/configure: Likewise.
12375 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12376 * sysdeps/x86_64/configure: Likewise.
12377 * sysdeps/x86_64/preconfigure: Likewise.
12379 2013-10-29 Andreas Schwab <schwab@suse.de>
12381 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12383 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12385 * benchtests/pow-inputs: Add new inputs.
12387 * benchtests/exp-inputs: Add new inputs.
12389 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12390 conditional check for return value.
12391 (__cos32): Likewise.
12393 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12395 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12396 to provide a boost for large inputs with word alignment.
12397 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12398 implementation based on optimized PPC64 strcpy.
12399 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12400 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12401 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12402 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12404 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12407 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12409 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12412 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12413 * time/tst-strptime.c (day_tests): Add testcase.
12415 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12418 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12420 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12423 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12424 MAP_FAILED on error.
12426 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12429 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12430 heap for large requests.
12432 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12435 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12436 result if the result has no associated interface.
12437 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12438 interface for all 127.X.Y.Z addresses.
12440 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12442 * locale/iso-639.def: Add Ligurian (lij)
12444 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12447 * sunrpc/rpc_main.c: Document rpcgen -5.
12449 2013-10-19 Michael Stahl <mstahl@redhat.com>
12451 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12453 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12456 * posix/glob.c: Match only directories when trailing slash is present.
12457 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12458 (main): Add testcase.
12460 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12463 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12465 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12467 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12468 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12469 AUTH_DES and cindex for FIPS 140-2.
12470 (DES Encryption): Add cindex FIPS 46-3.
12472 * locale/locarchive.h (struct locarhandle): Add fname.
12473 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12474 if an optional argument was specified to --list-archive,
12476 * locale/programs/locarchive.c (show_archive_content): Take new
12477 argument fname and pass it via ah.fname to open_archive.
12478 * locale/programs/localedef.h: Update decl.
12479 (open_archive): If AH->fname is non-null, open that file
12480 rather than the default file name, and don't ignore ENOENT.
12481 (create_archive): Set AH.fname to NULL.
12482 (delete_locales_from_archive): Likewise.
12483 (add_locales_to_archive): Likewise.
12484 * locale/programs/locfile.c (write_all_categories): Likewise.
12486 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12487 Aldy Hernandez <aldyh@redhat.com>
12489 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12490 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12491 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12492 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12493 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12494 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12495 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12496 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12497 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12498 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12499 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12500 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12501 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12502 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12503 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12505 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12507 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12509 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12511 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12512 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12514 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12515 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12516 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12517 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12519 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12520 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12521 * sysdeps/powerpc/preconfigure: Likewise.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12524 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12525 Replace contents of file by #include of <fenv_libc.h>.
12526 * sysdeps/powerpc/soft-fp/sfp-machine.h
12527 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12529 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12530 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12531 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12532 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12536 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12537 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12538 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12539 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12542 Allow copysignl PLT reference to be missing.
12544 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12545 Joseph Myers <joseph@codesourcery.com
12548 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12550 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12552 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12554 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12555 * elf/tst-tls1.c: Likewise.
12556 * elf/tst-tls10.h: Likewise.
12557 * elf/tst-tls14.c: Likewise.
12558 * elf/tst-tls2.c: Likewise.
12559 * elf/tst-tls3.c: Likewise.
12560 * elf/tst-tls4.c: Likewise.
12561 * elf/tst-tls5.c: Likewise.
12562 * elf/tst-tls6.c: Likewise.
12563 * elf/tst-tls7.c: Likewise.
12564 * elf/tst-tls8.c: Likewise.
12565 * elf/tst-tls9.c: Likewise.
12566 * elf/tst-tlsmod1.c: Likewise.
12567 * elf/tst-tlsmod13.c: Likewise.
12568 * elf/tst-tlsmod13a.c: Likewise.
12569 * elf/tst-tlsmod14a.c: Likewise.
12570 * elf/tst-tlsmod16a.c: Likewise.
12571 * elf/tst-tlsmod16b.c: Likewise.
12572 * elf/tst-tlsmod2.c: Likewise.
12573 * elf/tst-tlsmod3.c: Likewise.
12574 * elf/tst-tlsmod4.c: Likewise.
12575 * elf/tst-tlsmod5.c: Likewise.
12576 * elf/tst-tlsmod6.c: Likewise.
12578 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12581 * malloc/malloc.c: remove checks for statistics.
12583 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12586 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12587 * inet/tst-network.c: Add testcase.
12589 2013-10-17 Andreas Schwab <schwab@suse.de>
12592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12593 to determine canonical name.
12595 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12597 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12598 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12599 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12600 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12602 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12603 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12604 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12621 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12622 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12627 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12656 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12659 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12660 make result into a quiet NaN.
12662 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12664 * soft-fp/adddf3.c: Fix horizontal whitespace.
12665 * soft-fp/addsf3.c: Likewise.
12666 * soft-fp/addtf3.c: Likewise.
12667 * soft-fp/divdf3.c: Likewise.
12668 * soft-fp/divsf3.c: Likewise.
12669 * soft-fp/divtf3.c: Likewise.
12670 * soft-fp/double.h: Likewise.
12671 * soft-fp/eqdf2.c: Likewise.
12672 * soft-fp/eqsf2.c: Likewise.
12673 * soft-fp/eqtf2.c: Likewise.
12674 * soft-fp/extenddftf2.c: Likewise.
12675 * soft-fp/extended.h: Likewise.
12676 * soft-fp/extendsfdf2.c: Likewise.
12677 * soft-fp/extendsftf2.c: Likewise.
12678 * soft-fp/extendxftf2.c: Likewise.
12679 * soft-fp/fixdfdi.c: Likewise.
12680 * soft-fp/fixdfsi.c: Likewise.
12681 * soft-fp/fixdfti.c: Likewise.
12682 * soft-fp/fixsfdi.c: Likewise.
12683 * soft-fp/fixsfsi.c: Likewise.
12684 * soft-fp/fixsfti.c: Likewise.
12685 * soft-fp/fixtfdi.c: Likewise.
12686 * soft-fp/fixtfsi.c: Likewise.
12687 * soft-fp/fixtfti.c: Likewise.
12688 * soft-fp/fixunsdfdi.c: Likewise.
12689 * soft-fp/fixunsdfsi.c: Likewise.
12690 * soft-fp/fixunsdfti.c: Likewise.
12691 * soft-fp/fixunssfdi.c: Likewise.
12692 * soft-fp/fixunssfsi.c: Likewise.
12693 * soft-fp/fixunssfti.c: Likewise.
12694 * soft-fp/fixunstfdi.c: Likewise.
12695 * soft-fp/fixunstfsi.c: Likewise.
12696 * soft-fp/fixunstfti.c: Likewise.
12697 * soft-fp/floatdidf.c: Likewise.
12698 * soft-fp/floatdisf.c: Likewise.
12699 * soft-fp/floatditf.c: Likewise.
12700 * soft-fp/floatsidf.c: Likewise.
12701 * soft-fp/floatsisf.c: Likewise.
12702 * soft-fp/floatsitf.c: Likewise.
12703 * soft-fp/floattidf.c: Likewise.
12704 * soft-fp/floattisf.c: Likewise.
12705 * soft-fp/floattitf.c: Likewise.
12706 * soft-fp/floatundidf.c: Likewise.
12707 * soft-fp/floatundisf.c: Likewise.
12708 * soft-fp/floatunditf.c: Likewise.
12709 * soft-fp/floatunsidf.c: Likewise.
12710 * soft-fp/floatunsisf.c: Likewise.
12711 * soft-fp/floatunsitf.c: Likewise.
12712 * soft-fp/floatuntidf.c: Likewise.
12713 * soft-fp/floatuntisf.c: Likewise.
12714 * soft-fp/floatuntitf.c: Likewise.
12715 * soft-fp/fmadf4.c: Likewise.
12716 * soft-fp/fmasf4.c: Likewise.
12717 * soft-fp/fmatf4.c: Likewise.
12718 * soft-fp/gedf2.c: Likewise.
12719 * soft-fp/gesf2.c: Likewise.
12720 * soft-fp/getf2.c: Likewise.
12721 * soft-fp/ledf2.c: Likewise.
12722 * soft-fp/lesf2.c: Likewise.
12723 * soft-fp/letf2.c: Likewise.
12724 * soft-fp/muldf3.c: Likewise.
12725 * soft-fp/mulsf3.c: Likewise.
12726 * soft-fp/multf3.c: Likewise.
12727 * soft-fp/negdf2.c: Likewise.
12728 * soft-fp/negsf2.c: Likewise.
12729 * soft-fp/negtf2.c: Likewise.
12730 * soft-fp/op-1.h: Likewise.
12731 * soft-fp/op-2.h: Likewise.
12732 * soft-fp/op-4.h: Likewise.
12733 * soft-fp/op-8.h: Likewise.
12734 * soft-fp/op-common.h: Likewise.
12735 * soft-fp/quad.h: Likewise.
12736 * soft-fp/single.h: Likewise.
12737 * soft-fp/soft-fp.h: Likewise.
12738 * soft-fp/sqrtdf2.c: Likewise.
12739 * soft-fp/sqrtsf2.c: Likewise.
12740 * soft-fp/sqrttf2.c: Likewise.
12741 * soft-fp/subdf3.c: Likewise.
12742 * soft-fp/subsf3.c: Likewise.
12743 * soft-fp/subtf3.c: Likewise.
12744 * soft-fp/truncdfsf2.c: Likewise.
12745 * soft-fp/trunctfdf2.c: Likewise.
12746 * soft-fp/trunctfsf2.c: Likewise.
12747 * soft-fp/trunctfxf2.c: Likewise.
12748 * soft-fp/unorddf2.c: Likewise.
12749 * soft-fp/unordsf2.c: Likewise.
12750 * soft-fp/unordtf2.c: Likewise.
12752 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12754 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12755 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12757 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12759 * elf/dl-libc.c: Clear initfini list after freeing.
12761 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12763 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12764 * soft-fp/addsf3.c: Likewise.
12765 * soft-fp/addtf3.c: Likewise.
12766 * soft-fp/divdf3.c: Likewise.
12767 * soft-fp/divsf3.c: Likewise.
12768 * soft-fp/divtf3.c: Likewise.
12769 * soft-fp/double.h: Likewise.
12770 * soft-fp/eqdf2.c: Likewise.
12771 * soft-fp/eqsf2.c: Likewise.
12772 * soft-fp/eqtf2.c: Likewise.
12773 * soft-fp/extenddftf2.c: Likewise.
12774 * soft-fp/extended.h: Likewise.
12775 * soft-fp/extendsfdf2.c: Likewise.
12776 * soft-fp/extendsftf2.c: Likewise.
12777 * soft-fp/extendxftf2.c: Likewise.
12778 * soft-fp/fixdfdi.c: Likewise.
12779 * soft-fp/fixdfsi.c: Likewise.
12780 * soft-fp/fixdfti.c: Likewise.
12781 * soft-fp/fixsfdi.c: Likewise.
12782 * soft-fp/fixsfsi.c: Likewise.
12783 * soft-fp/fixsfti.c: Likewise.
12784 * soft-fp/fixtfdi.c: Likewise.
12785 * soft-fp/fixtfsi.c: Likewise.
12786 * soft-fp/fixtfti.c: Likewise.
12787 * soft-fp/fixunsdfdi.c: Likewise.
12788 * soft-fp/fixunsdfsi.c: Likewise.
12789 * soft-fp/fixunsdfti.c: Likewise.
12790 * soft-fp/fixunssfdi.c: Likewise.
12791 * soft-fp/fixunssfsi.c: Likewise.
12792 * soft-fp/fixunssfti.c: Likewise.
12793 * soft-fp/fixunstfdi.c: Likewise.
12794 * soft-fp/fixunstfsi.c: Likewise.
12795 * soft-fp/fixunstfti.c: Likewise.
12796 * soft-fp/floatdidf.c: Likewise.
12797 * soft-fp/floatdisf.c: Likewise.
12798 * soft-fp/floatditf.c: Likewise.
12799 * soft-fp/floatsidf.c: Likewise.
12800 * soft-fp/floatsisf.c: Likewise.
12801 * soft-fp/floatsitf.c: Likewise.
12802 * soft-fp/floattidf.c: Likewise.
12803 * soft-fp/floattisf.c: Likewise.
12804 * soft-fp/floattitf.c: Likewise.
12805 * soft-fp/floatundidf.c: Likewise.
12806 * soft-fp/floatundisf.c: Likewise.
12807 * soft-fp/floatunsidf.c: Likewise.
12808 * soft-fp/floatunsisf.c: Likewise.
12809 * soft-fp/floatuntidf.c: Likewise.
12810 * soft-fp/floatuntisf.c: Likewise.
12811 * soft-fp/floatuntitf.c: Likewise.
12812 * soft-fp/fmadf4.c: Likewise.
12813 * soft-fp/fmasf4.c: Likewise.
12814 * soft-fp/fmatf4.c: Likewise.
12815 * soft-fp/gedf2.c: Likewise.
12816 * soft-fp/gesf2.c: Likewise.
12817 * soft-fp/getf2.c: Likewise.
12818 * soft-fp/ledf2.c: Likewise.
12819 * soft-fp/lesf2.c: Likewise.
12820 * soft-fp/letf2.c: Likewise.
12821 * soft-fp/muldf3.c: Likewise.
12822 * soft-fp/mulsf3.c: Likewise.
12823 * soft-fp/multf3.c: Likewise.
12824 * soft-fp/negdf2.c: Likewise.
12825 * soft-fp/negsf2.c: Likewise.
12826 * soft-fp/negtf2.c: Likewise.
12827 * soft-fp/op-1.h: Likewise.
12828 * soft-fp/op-2.h: Likewise.
12829 * soft-fp/op-4.h: Likewise.
12830 * soft-fp/op-8.h: Likewise.
12831 * soft-fp/op-common.h: Likewise.
12832 * soft-fp/quad.h: Likewise.
12833 * soft-fp/single.h: Likewise.
12834 * soft-fp/soft-fp.h: Likewise.
12835 * soft-fp/sqrtdf2.c: Likewise.
12836 * soft-fp/sqrtsf2.c: Likewise.
12837 * soft-fp/sqrttf2.c: Likewise.
12838 * soft-fp/subdf3.c: Likewise.
12839 * soft-fp/subsf3.c: Likewise.
12840 * soft-fp/subtf3.c: Likewise.
12841 * soft-fp/truncdfsf2.c: Likewise.
12842 * soft-fp/trunctfdf2.c: Likewise.
12843 * soft-fp/trunctfsf2.c: Likewise.
12844 * soft-fp/trunctfxf2.c: Likewise.
12845 * soft-fp/unorddf2.c: Likewise.
12846 * soft-fp/unordsf2.c: Likewise.
12847 * soft-fp/unordtf2.c: Likewise.
12849 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12852 * misc/error.c (error_tail): Fix possible buffer overflow.
12854 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12857 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12860 2013-10-14 P. J. McDermott <pj@pehjota.net>
12863 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12864 testing pipefail option.
12866 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12868 * soft-fp/double.h: Indent preprocessor directives inside #if.
12869 * soft-fp/extended.h: Likewise.
12870 * soft-fp/op-2.h: Likewise.
12871 * soft-fp/op-4.h: Likewise.
12872 * soft-fp/op-common.h: Likewise.
12873 * soft-fp/quad.h: Likewise.
12874 * soft-fp/single.h: Likewise.
12875 * soft-fp/soft-fp.h: Likewise.
12877 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12879 * iconv/iconv_prog.c: Fix typos.
12880 * stdio-common/psiginfo-data.h: Likewise.
12882 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12885 * locale/setlocale.c: Fix typo.
12887 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12890 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12891 signaling NaN arguments.
12892 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12893 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12896 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12897 unordered operands.
12898 * soft-fp/gesf2.c (__gesf2): Likewise.
12899 * soft-fp/getf2.c (__getf2): Likewise.
12900 * soft-fp/ledf2.c (__ledf2): Likewise.
12901 * soft-fp/lesf2.c (__lesf2): Likewise.
12902 * soft-fp/letf2.c (__letf2): Likewise.
12904 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12905 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12906 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12907 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12908 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12909 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12910 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12911 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12912 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12913 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12914 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12915 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12916 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12917 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12918 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12919 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12920 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12921 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12922 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12923 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12924 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12925 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12926 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12927 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12928 * soft-fp/floattidf.c (__floattidf): Likewise.
12929 * soft-fp/floattisf.c (__floattisf): Likewise.
12930 * soft-fp/floattitf.c (__floattitf): Likewise.
12931 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12932 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12933 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12934 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12935 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12936 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12937 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12938 * soft-fp/gesf2.c (__gesf2): Likewise.
12939 * soft-fp/getf2.c (__getf2): Likewise.
12940 * soft-fp/ledf2.c (__ledf2): Likewise.
12941 * soft-fp/lesf2.c (__lesf2): Likewise.
12942 * soft-fp/letf2.c (__letf2): Likewise.
12944 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12945 Undefine and redefine.
12946 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12947 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12948 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12949 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12950 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12951 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12952 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12953 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12954 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12955 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12956 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12957 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12958 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12959 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12960 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12963 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12964 without decrementing exponent if mantissa >= that for the
12965 denominator, not >.
12966 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12967 denominator, not >. Decrement exponent in < case instead of
12968 incrementing in >= case.
12969 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12970 without decrementing exponent if mantissa >= that for the
12971 denominator, not >.
12973 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12974 computing saturated result for unsigned overflow.
12976 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12977 Jeff Law <law@redhat.com>
12979 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12980 (atan2Mp): Add systemtap probe marker.
12981 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12982 (__ieee754_log): Add systemtap probe marker.
12983 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12984 (atanMp): Add systemtap probe marker.
12985 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12986 (tanMp): Add systemtap probe marker.
12987 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12988 (__slowexp): Add systemtap probe marker.
12989 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12990 (__slowpow): Add systemtap probe marker.
12991 * manual/probes.texi: Document probes.
12993 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12996 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12998 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13000 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13001 written to buffer but not flushed.
13002 * libio/iofwrite_u.c: Likewise.
13003 * libio/iopadn.c: Return bytes returned even if EOF was
13005 * libio/iowpadn.c: Likewise.
13006 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13007 if _IO_padn does not write the whole buffer.
13008 [!COMPILE_WPRINTF] (PAD): Likewise.
13010 2013-10-10 David S. Miller <davem@davemloft.net>
13012 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13015 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13017 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13018 instead of FSF address.
13019 * soft-fp/fixdfti.c: Likewise.
13020 * soft-fp/fixsfti.c: Likewise.
13021 * soft-fp/fixtfti.c: Likewise.
13022 * soft-fp/fixunsdfti.c: Likewise.
13023 * soft-fp/fixunssfti.c: Likewise.
13024 * soft-fp/fixunstfti.c: Likewise.
13025 * soft-fp/floattidf.c: Likewise.
13026 * soft-fp/floattisf.c: Likewise.
13027 * soft-fp/floattitf.c: Likewise.
13028 * soft-fp/floatuntidf.c: Likewise.
13029 * soft-fp/floatuntisf.c: Likewise.
13030 * soft-fp/floatuntitf.c: Likewise.
13031 * soft-fp/trunctfxf2.c: Likewise.
13033 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13034 * soft-fp/fixdfti.c: Likewise.
13035 * soft-fp/fixsfti.c: Likewise.
13036 * soft-fp/fixtfti.c: Likewise.
13037 * soft-fp/fixunsdfti.c: Likewise.
13038 * soft-fp/fixunssfti.c: Likewise.
13039 * soft-fp/fixunstfti.c: Likewise.
13040 * soft-fp/floattidf.c: Likewise.
13041 * soft-fp/floattisf.c: Likewise.
13042 * soft-fp/floattitf.c: Likewise.
13043 * soft-fp/floatuntidf.c: Likewise.
13044 * soft-fp/floatuntisf.c: Likewise.
13045 * soft-fp/floatuntitf.c: Likewise.
13046 * soft-fp/trunctfxf2.c: Likewise.
13048 2013-10-10 David S. Miller <davem@davemloft.net>
13050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13052 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13054 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13055 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13056 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13057 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13058 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13059 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13060 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13063 for NaNs before doing comparisons on argument.
13064 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13067 2013-10-10 Will Newton <will.newton@linaro.org>
13069 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13070 passed to _int_memalign does not overflow.
13072 2013-10-10 Torvald Riegel <triegel@redhat.com>
13074 * scripts/bench.pl: Add include-sources directive.
13075 * benchtests/README: Update documentation.
13077 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13079 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13080 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13081 instead of FP_INIT_ROUNDMODE.
13082 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13083 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13086 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13087 copy class of input value.
13088 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13089 not handle exceptions.
13090 * soft-fp/negsf2.c (__negsf2): Likewise.
13091 * soft-fp/negtf2.c (__negtf2): Likewise.
13092 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13094 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13096 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13097 semicolon. From Linux kernel.
13099 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13101 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13103 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13106 * manual/socket.texi: Added statement about buffer
13107 for gethostbyname2_r.
13109 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13111 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13112 Use .p2align directive instead, throughout.
13113 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13114 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13115 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13116 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13117 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13118 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13119 * sysdeps/x86_64/strchr.S: Likewise.
13120 * sysdeps/x86_64/strrchr.S: Likewise.
13122 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13124 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13126 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13128 * sysdeps/generic/math_private.h (__mpsin1): Remove
13130 (__mpcos1): Likewise.
13131 (__mpsin): New argument __range_reduce.
13132 (__mpcos): Likewise.
13133 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13134 (slow): Use __mpsin and __mpcos.
13138 (sloww1): Likewise.
13139 (sloww2): Likewise.
13140 (bsloww): Likewise.
13141 (bsloww1): Likewise.
13142 (bsloww2): Likewise.
13143 (cslow2): Likewise.
13144 (csloww): Likewise.
13145 (csloww1): Likewise.
13146 (csloww2): Likewise.
13147 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13148 range_reduce. Merge in __mpsin1.
13149 (__mpcos): Likewise.
13150 (__mpsin1): Remove.
13151 (__mpcos1): Likewise.
13153 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13155 * locale/loadlocale.c (_nl_intern_locale_data): Use
13157 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13158 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13159 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13160 obstack data is appropriately aligned.
13161 (obstack_int32_grow_fast): Likewise.
13162 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13163 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13164 (add_locale_uint32_array): Likewise.
13166 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13168 * benchtests/Makefile: Remove ARGLIST and RET variables.
13169 ($(objpfx)bench-%.c): Pass only function name to the script.
13170 * benchtests/README: Update documentation.
13171 * benchtests/acos-inputs: Add new directives.
13172 * benchtests/acosh-inputs: Likewise.
13173 * benchtests/asin-inputs: Likewise.
13174 * benchtests/asinh-inputs: Likewise.
13175 * benchtests/atan-inputs: Likewise.
13176 * benchtests/atanh-inputs: Likewise.
13177 * benchtests/cos-inputs: Likewise.
13178 * benchtests/cosh-inputs: Likewise.
13179 * benchtests/exp-inputs: Likewise.
13180 * benchtests/log-inputs: Likewise.
13181 * benchtests/pow-inputs: Likewise.
13182 * benchtests/rint-inputs: Likewise.
13183 * benchtests/sin-inputs: Likewise.
13184 * benchtests/sinh-inputs: Likewise.
13185 * benchtests/tan-inputs: Likewise.
13186 * benchtests/tanh-inputs: Likewise.
13187 * scripts/bench.pl: Add support for new directives.
13189 2013-10-07 Alan Modra <amodra@gmail.com>
13191 * README: Fix careless merge.
13193 2013-10-05 Alan Modra <amodra@gmail.com>
13195 * NEWS: Mention powerpc64le support and bugs fixed.
13196 * README: Both big-endian and little-endian powerpc64 supported.
13198 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13200 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13201 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13202 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13203 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13205 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13207 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13210 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13212 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13213 Move -mhard-float appending from
13214 ports/sysdeps/powerpc/powerpc32/Makefile.
13215 [$(with-fp) = yes] (ASFLAGS): Likewise.
13216 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13217 * sysdeps/powerpc/nofpu: Move directory from
13218 ports/sysdeps/powerpc/nofpu.
13219 * sysdeps/powerpc/soft-fp: Move directory from
13220 ports/sysdeps/powerpc/soft-fp.
13221 * sysdeps/powerpc/powerpc32/405: Move directory from
13222 ports/sysdeps/powerpc/powerpc32/405.
13223 * sysdeps/powerpc/powerpc32/440: Move directory from
13224 ports/sysdeps/powerpc/powerpc32/440.
13225 * sysdeps/powerpc/powerpc32/464: Move directory from
13226 ports/sysdeps/powerpc/powerpc32/464.
13227 * sysdeps/powerpc/powerpc32/476: Move directory from
13228 ports/sysdeps/powerpc/powerpc32/476.
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13230 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13232 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13234 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13236 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13238 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13239 * README: Update for powerpc-*-linux-gnu software floating point
13242 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13243 case to powerpc/powerpc32*.
13244 * sysdeps/unix/sysv/linux/configure: Regenerated.
13246 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13247 (_FPU_MASK_OM): Define as 0x04.
13248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13256 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13259 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13262 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13263 and setcontext_e500.
13265 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13267 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13269 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13271 * manual/threads.texi (Default Thread Attributes): Fix typo.
13273 2013-10-04 Will Newton <will.newton@linaro.org>
13275 * malloc/Makefile: Add tst-memalign.
13276 * malloc/tst-memalign.c: New file.
13278 * malloc/tst-posix_memalign.c: Add comments.
13279 (do_test): Add comments and call free on all potentially
13280 allocated pointers. Add space after cast.
13282 * malloc/tst-pvalloc.c: Add comments.
13283 (do_test): Add comments and call free on all potentially
13284 allocated pointers. Remove duplicate check for NULL pointer.
13285 Add space after cast.
13287 * malloc/tst-valloc.c: Add comments.
13288 (do_test): Add comments and call free on all potentially
13289 allocated pointers. Remove duplicate check for NULL pointer.
13290 Add space after cast.
13292 2013-10-04 Alan Modra <amodra@gmail.com>
13294 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13295 Use stdint types in rather than __attribute__((mode())).
13296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13298 2013-10-04 Alan Modra <amodra@gmail.com>
13300 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13301 Correct handling of unaligned relocs for little-endian.
13302 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13304 2013-10-04 Alan Modra <amodra@gmail.com>
13306 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13307 * configure: Regenerate.
13308 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13309 * shlib-versions: Likewise.
13311 2013-10-04 Alan Modra <amodra@gmail.com>
13313 * string/tester.c (test_memrchr): Increment reported test cycle.
13315 2013-10-04 Alan Modra <amodra@gmail.com>
13317 * string/test-memcpy.c (do_one_test): When reporting errors, print
13318 string address and don't overrun end of string.
13320 2013-10-04 Alan Modra <amodra@gmail.com>
13322 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13323 insrdi. Make better use of reg selection to speed exit slightly.
13324 Schedule entry path a little better. Remove useless "are we done"
13325 checks on entry to main loop. Handle wrapping around zero address.
13326 Correct main loop count. Handle single left-over word from main
13327 loop inline rather than by using loop_small. Remove extra word
13328 case in loop_small caused by wrong loop count. Add little-endian
13330 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13331 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13333 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13334 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13335 support. Avoid rlwimi.
13336 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13338 2013-10-04 Alan Modra <amodra@gmail.com>
13340 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13341 insrdi. Formatting.
13342 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13343 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13344 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13345 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13346 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13347 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13349 2013-10-04 Alan Modra <amodra@gmail.com>
13351 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13352 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13353 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13354 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13355 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13356 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13357 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13358 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13359 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13360 use of regs. Use power7 mtocrf. Tidy function tails.
13362 2013-10-04 Alan Modra <amodra@gmail.com>
13364 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13365 Formatting. Consistently use rXXX register defines or rN defines.
13366 Use early exit labels that avoid restoring unused non-volatile regs.
13367 Make cr field use more consistent with rWORDn compares. Rename
13368 regs used as shift registers for unaligned loop, using rN defines
13369 for short lifetime/multiple use regs.
13370 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13371 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13372 addi 1,1,64 to pop stack frame. Simplify return value code.
13373 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13375 2013-10-04 Alan Modra <amodra@gmail.com>
13377 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13378 support. Correct typos, formatting. Optimize tail. Use insrdi
13379 rather than rlwimi.
13380 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13381 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13382 little-endian support. Correct typos.
13383 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13384 rather than rlwimi.
13385 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13386 in loop and entry code to keep "and." results.
13387 (strchr): Add little-endian support. Comment. Move cntlzd
13389 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13391 2013-10-04 Alan Modra <amodra@gmail.com>
13393 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13394 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13395 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13396 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13398 2013-10-04 Alan Modra <amodra@gmail.com>
13400 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13401 (rTMP): Define as r11.
13402 (strcmp): Add little-endian support. Optimise tail.
13403 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13404 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13405 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13406 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13407 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13408 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13409 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13411 2013-10-04 Alan Modra <amodra@gmail.com>
13413 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13414 little-endian support. Remove unnecessary "are we done" tests.
13415 Handle "s" wrapping around zero and extremely large "size".
13416 Correct main loop count. Handle single left-over word from main
13417 loop inline rather than by using small_loop. Correct comments.
13418 Delete "zero" tail, use "end_max" instead.
13419 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13421 2013-10-04 Alan Modra <amodra@gmail.com>
13423 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13424 support. Don't branch over align.
13425 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13426 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13427 support. Rearrange tmp reg use to suit. Comment.
13428 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13430 2013-10-04 Alan Modra <amodra@gmail.com>
13432 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13434 2013-10-04 Alan Modra <amodra@gmail.com>
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13437 conditional form of branch and link when obtaining pc.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13440 2013-10-04 Alan Modra <amodra@gmail.com>
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13447 2013-10-04 Alan Modra <amodra@gmail.com>
13449 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13450 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13451 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13452 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13453 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13454 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13455 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13456 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13457 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13458 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13460 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13461 Alistair Popple <alistair@ozlabs.au.ibm.com>
13462 Alan Modra <amodra@gmail.com>
13465 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13466 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13467 _dl_hwcap access for little-endian.
13468 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13469 destroy vmx regs when saving unaligned.
13470 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13471 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13472 destroy vmx regs when saving unaligned.
13474 2013-10-04 Alan Modra <amodra@gmail.com>
13476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13477 Don't use a union to pack hi/low value.
13479 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13481 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13483 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13484 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13485 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13486 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13487 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13489 2013-10-04 Alan Modra <amodra@gmail.com>
13491 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13492 constants to usual value for .cst8 section, and remove redundant
13494 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13495 constant for 0x1p52. Load little-endian words of double from
13496 correct stack offsets.
13498 2013-10-04 Alan Modra <amodra@gmail.com>
13500 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13501 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13502 words of double from correct stack offsets.
13503 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13504 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13505 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13506 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13507 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13509 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13510 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13511 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13512 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13513 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13514 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13515 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13516 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13517 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13518 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13519 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13521 2013-10-04 Alan Modra <amodra@gmail.com>
13523 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13524 64-bit int/double union.
13525 (_FPU_SETCW): Likewise.
13526 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13527 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13529 2013-10-04 Alan Modra <amodra@gmail.com>
13531 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13532 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13534 2013-10-04 Alan Modra <amodra@gmail.com>
13536 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13537 use vector int constants.
13538 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13540 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13542 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13543 array with long long.
13544 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13545 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13546 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13547 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13548 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13549 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13550 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13551 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13552 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13553 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13554 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13555 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13556 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13558 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13560 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13561 (__signbit): Likewise. Correct for little-endian.
13562 (__signbitl): Call __signbit.
13563 (lrint): Correct for little-endian.
13564 (lrintf): Call lrint.
13566 2013-10-04 Alan Modra <amodra@gmail.com>
13568 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13569 union 32-bit int array member with 64-bit int array.
13570 (t515, tm256): Double rather than long double.
13571 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13573 2013-10-04 Alan Modra <amodra@gmail.com>
13575 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13577 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13578 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13579 version of math_ldbl.h.
13581 2013-10-04 Alan Modra <amodra@gmail.com>
13583 [BZ #15734], [BZ #15735]
13584 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13585 all uses of ieee875 long double macros and unions. Simplify test
13586 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13587 ldbl_extract_mantissa value for ix,iy exponents. Properly
13588 normalize after ldbl_extract_mantissa, and don't add hidden bit
13589 already handled. Don't treat low word of ieee854 mantissa like
13590 low word of IBM long double and mask off bit when testing for
13592 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13593 all uses of ieee875 long double macros and unions. Simplify tests
13594 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13595 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13596 two1022, instead use their values. Recognise that tests for large
13597 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13598 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13599 Rewrite all uses of ieee875 long double macros and unions. Simplify
13600 test for 0.0L and nan. Correct negation.
13601 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13602 ieee875 long double macros and unions. Correct output for large
13603 magnitude x. Correct absolute value calculation.
13604 (__erfcl): Likewise.
13605 * math/libm-test.inc: Add tests for errors discovered in IBM long
13606 double versions of fmodl, remainderl, erfl and erfcl.
13608 2013-10-04 Alan Modra <amodra@gmail.com>
13610 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13611 all uses of ieee854 long double macros and unions. Simplify tests
13612 for long doubles that are fully specified by the high double.
13613 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13615 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13616 Remove dead code too.
13617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13618 (__ieee754_ynl): Likewise.
13619 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13620 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13621 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13622 Remove dead code too.
13623 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13624 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13625 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13626 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13628 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13630 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13631 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13632 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13633 Comment on variable precision.
13634 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13635 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13637 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13638 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13639 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13640 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13641 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13643 2013-10-04 Alan Modra <amodra@gmail.com>
13645 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13646 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13647 all uses of ieee854 long double macros and unions.
13648 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13649 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13650 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13651 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13652 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13653 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13655 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13656 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13657 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13658 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13659 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13660 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13661 Simplify sign and nan test too.
13662 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13663 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13664 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13665 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13667 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13668 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13670 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13671 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13672 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13673 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13674 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13675 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13677 2013-10-04 Alan Modra <amodra@gmail.com>
13679 * stdio-common/printf_size.c (__printf_size): Don't use
13680 union ieee854_long_double in fpnum union.
13681 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13682 signbit macro to retrieve sign from long double.
13683 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13684 retrieve sign from long double.
13685 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13686 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13687 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13688 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13689 * math/test-misc.c (main): Don't use union ieee854_long_double.
13691 2013-10-04 Alan Modra <amodra@gmail.com>
13694 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13695 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13696 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13697 calculation. Remove unnecessary test for denormal exponent.
13698 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13699 Correct handling of denormals. Avoid undefined shift behaviour.
13700 Correct normalisation of low mantissa when low double is denormal.
13701 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13702 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13703 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13704 Correct normalisation of low mantissa. Test for overflow of high
13705 mantissa and normalise.
13706 (ldbl_nearbyint): Use more readable constant for two52.
13707 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13708 (__mpn_construct_long_double): Fix test for overflow of high
13709 mantissa and correct normalisation. Avoid undefined shift.
13711 2013-10-04 Alan Modra <amodra@gmail.com>
13713 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13714 (union ibm_extended_long_double): Define as an array of ieee754_double.
13715 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13716 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13717 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13718 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13722 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13727 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13729 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13730 page size instead of calling getpagesize.
13732 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13733 (LOCFILE_ALIGN_MASK): Likewise.
13734 (LOCFILE_ALIGN_UP): Likewise.
13735 (LOCFILE_ALIGNED_P): Likewise.
13736 * locale/programs/ld-collate.c (collate_output): Use the new
13737 macros instead of __alignof__ (int32_t).
13738 * locale/weight.h (findidx): Likewise.
13740 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13743 * manual/string.texi: Fix strncat and wcsncat.
13745 2013-10-03 Brooks Moses <bmoses@google.com>
13748 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13749 * Makerules: ...here, and adjust associated comments.
13751 2013-10-02 Will Newton <will.newton@linaro.org>
13753 * malloc/Makefile: Add tst-pvalloc.
13754 * malloc/tst-pvalloc.c: New file.
13756 2013-10-02 Will Newton <will.newton@linaro.org>
13758 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13759 improve test coverage.
13761 2013-10-02 Will Newton <will.newton@linaro.org>
13763 * malloc/Makefile: Add tst-posix_memalign.
13764 * malloc/tst-posix_memalign.c: New file.
13766 2013-10-01 Eric Blake <eblake@redhat.com>
13768 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13769 Use __THROWNL rather than __THROW on static functions.
13771 2013-09-30 Petr Machata <pmachata@redhat.com>
13773 * elf/elf.h (R_AARCH64_ABS16): New macro.
13774 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13775 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13776 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13777 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13778 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13779 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13780 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13781 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13782 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13783 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13784 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13785 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13786 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13787 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13788 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13789 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13790 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13791 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13792 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13793 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13794 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13795 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13796 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13797 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13798 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13799 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13800 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13801 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13802 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13803 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13804 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13805 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13806 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13807 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13808 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13809 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13810 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13811 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13812 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13813 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13814 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13815 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13816 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13817 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13818 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13819 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13820 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13821 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13822 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13823 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13824 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13825 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13826 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13827 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13828 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13829 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13830 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13831 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13832 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13833 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13834 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13835 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13836 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13837 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13838 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13839 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13840 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13841 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13842 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13843 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13844 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13845 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13846 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13847 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13848 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13849 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13850 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13851 (R_AARCH64_TLSDESC_LDR): Likewise.
13852 (R_AARCH64_TLSDESC_ADD): Likewise.
13853 (R_AARCH64_TLSDESC_CALL): Likewise.
13855 2013-09-30 Andreas Schwab <schwab@suse.de>
13858 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13859 the nss database lookup.
13860 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13863 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13865 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13867 2013-09-28 P. J. McDermott <pj@pehjota.net>
13869 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13870 ${Bash-specific parameter/pattern/string} parameter expansion.
13871 * sysdeps/unix/make-syscalls.sh: Likewise.
13873 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13875 * sysdeps/sh/stackguard-macros.h: New file.
13877 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13881 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13882 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13883 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13884 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13886 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13888 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13889 Fix thread ID register.
13891 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13893 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13894 [POSIX || UNIX98]: Require rather than permitting all symbols from
13896 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13897 element of struct sched_param.
13898 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13899 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13900 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13901 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13904 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13906 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13907 argument calculation.
13909 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13911 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13913 [POSIX] (pthread_attr_t): Do not require type.
13914 [POSIX] (pthread_cond_t): Likewise.
13915 [POSIX] (pthread_condattr_t): Likewise.
13916 [POSIX] (pthread_key_t): Likewise.
13917 [POSIX] (pthread_mutex_t): Likewise.
13918 [POSIX] (pthread_mutexattr_t): Likewise.
13919 [POSIX] (pthread_once_t): Likewise.
13920 [POSIX] (pthread_t): Likewise.
13921 [POSIX-based standards] (pthread_atfork): Expect function.
13923 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13924 Richard Sandiford <richard@codesourcery.com>
13926 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13927 (swap_endianness_p): New extern variable.
13928 (set_big_endian): New inline function.
13929 (maybe_swap_uint32): Likewise.
13930 (maybe_swap_uint32_array): Likewise.
13931 (maybe_swap_uint32_obstack): Likewise.
13932 * locale/programs/locfile.c: Include <stdbool.h>.
13933 (swap_endianness_p): New variable.
13934 (add_locale_uint32): Call maybe_swap_uint32.
13935 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13936 (write_locale_data): Call maybe_swap_uint32_array.
13937 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13939 (obstack_int32_grow_fast): Likewise.
13940 (output_weightwc): Call maybe_swap_uint32_obstack.
13941 (collate_output): Likewise.
13942 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13943 (OPT_LITTLE_ENDIAN): Likewise.
13944 (options): Add --little-endian and --big-endian options.
13945 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13946 * locale/programs/locarchive.c: Include "locfile.h".
13950 (create_archive): Use the new macros to access fields of
13951 structures directly mapped from or written to locale archives.
13952 (oldlocrecentcmp): Likewise.
13953 (enlarge_archive): Likewise.
13954 (insert_name): Likewise.
13955 (add_alias): Likewise.
13956 (add_locale): Likewise.
13957 (delete_locales_from_archive): Likewise.
13958 (show_archive_content): Likewise.
13959 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13962 2013-09-24 Roland McGrath <roland@hack.frob.com>
13964 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13965 http://www.gnu.org/doc/freemanuals.texi.
13966 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13968 2013-09-24 Will Newton <will.newton@linaro.org>
13970 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13973 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13975 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13978 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13980 * manual/threads.texi (POSIX Threads): Fix a typo.
13982 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13985 * string/tst-strcoll-overflow.c: New test case.
13986 * string/Makefile (xtests): Add tst-strcoll-overflow.
13987 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13988 cache if string sizes may cause integer overflow.
13991 * string/strcoll_l.c (coll_seq): New members rule, idx,
13992 save_idx and back_us.
13993 (get_next_seq_nocache): New function.
13994 (do_compare_nocache): New function.
13995 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13998 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14001 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14002 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14003 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14006 * elf/Makefile (tests): Add tst-ptrguard1.
14007 (tests-static): Add tst-ptrguard1-static.
14008 (tst-ptrguard1-ARGS): Define.
14009 (tst-ptrguard1-static-ARGS): Define.
14010 * elf/tst-ptrguard1.c: New file.
14011 * elf/tst-ptrguard1-static.c: New file.
14012 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14013 * sysdeps/i386/stackguard-macros.h: Likewise.
14014 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14015 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14016 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14017 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14018 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14019 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14021 2013-09-23 Hector Marco <hecmargi@upv.es>
14022 Ismael Ripoll <iripoll@disca.upv.es>
14023 Carlos O'Donell <carlos@redhat.com>
14026 * sysdeps/generic/stackguard-macros.h: Define
14027 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14028 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14029 Define __pointer_chk_guard_local.
14030 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14031 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14033 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14036 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14038 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14040 * include/string.h (__ffs): Declare as hidden.
14041 * string/ffs.c (__ffs): Define as hidden.
14042 * sysdeps/i386/ffs.c (__ffs): Likewise.
14043 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14044 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14045 * sysdeps/s390/ffs.c (__ffs): Likewise.
14046 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14048 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14050 * NEWS: Mention malloc probes.
14052 * malloc/arena.c (new_heap): New memory_heap_new probe.
14053 (grow_heap): New memory_heap_more probe.
14054 (shrink_heap): New memory_heap_less probe.
14055 (heap_trim): New memory_heap_free probe.
14056 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14057 (systrim): New memory_sbrk_less probe.
14058 * manual/probes.texi: Document them.
14060 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14061 * manual/probes.texi: Document it.
14063 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14064 (__libc_realloc): Add memory_realloc_retry probe.
14065 (__libc_memalign): Add memory_memalign_retry probe.
14066 (__libc_valloc): Add memory_valloc_retry probe.
14067 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14068 (__libc_calloc): Add memory_calloc_retry probe.
14069 * manual/probes.texi: Document them.
14071 * malloc/arena.c (get_free_list): Add probe
14072 memory_arena_reuse_free_list.
14073 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14074 and memory_arena_reuse.
14075 (arena_get2) [!PER_THREAD]: Likewise.
14076 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14077 memory_arena_reuse_realloc.
14078 * manual/probes.texi: Document them.
14080 * malloc/malloc.c (__libc_free): Add
14081 memory_mallopt_free_dyn_thresholds probe.
14082 (__libc_mallopt): Add multiple memory_mallopt probes.
14083 * manual/probes.texi: Document them.
14085 * malloc/malloc.c: Include stap-probe.h.
14086 (__libc_mallopt): Add memory_mallopt probe.
14087 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14088 * manual/probes.texi: New.
14089 * manual/Makefile (chapters): Add probes.
14090 * manual/threads.texi: Set next node.
14092 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14094 [BZ #15963, #13985]
14095 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14096 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14097 Add `Chinese' to `nan' entry name.
14099 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14101 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14102 (POLYNOMIAL): Likewise.
14103 (TAYLOR_SINCOS): Likewise.
14104 (TAYLOR_SLOW): Likewise.
14105 (__sin): Use TAYLOR_SINCOS.
14107 (slow): Use TAYLOR_SLOW.
14109 (bsloww): Likewise.
14110 (csloww): Likewise.
14112 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14114 * stdlib/strtod_l.c: Fix buffer overrun.
14116 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14118 * benchtests/Makefile (bench): Add sincos.
14119 * benchtests/bench-sincos.c: New file.
14121 * math/libm-test.inc (cos_test_data): New test inputs.
14122 (sin_test_data): Likewise.
14124 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14130 (sloww1): Likewise.
14131 (sloww2): Likewise.
14132 (bsloww1): Likewise.
14133 (bsloww2): Likewise.
14134 (cslow2): Likewise.
14135 (csloww1): Likewise.
14136 (csloww2): Likewise.
14138 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14143 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14147 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14149 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14150 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14151 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14152 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14153 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14154 * elf/cache.c (print_entry): Handle the new cache flags.
14156 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14157 Aldy Hernandez <aldyh@redhat.com>
14159 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14160 Change condition to [_SOFT_FLOAT].
14161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14173 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14176 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14179 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14181 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14182 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14183 (__longjmp): Use LOAD_GP to load saved GPRs.
14184 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14185 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14186 (__sigsetjmp): Use SAVE_GP to save GPRs.
14188 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14189 Do not append -msoft-float.
14190 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14192 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14194 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14196 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14199 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14200 (_FPU_GETCW): Use initial "__" on variable and field names but not
14201 on macro parameter name.
14202 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14203 parentheses around reference to macro parameter.
14205 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14207 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14209 (ctype_startup): Use uint32_t in cast and sizeof for
14212 2013-09-11 Jia Liu <proljc@gmail.com>
14214 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14216 [__FreeBSD__]: Likewise.
14218 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14221 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14222 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14223 (strchr): Remove __strchr_sse42 ifunc selection.
14224 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14225 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14227 2013-09-11 Will Newton <will.newton@linaro.org>
14229 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14230 parameter to RES. Remove hardcoded 1000 value.
14231 * benchtests/bench-skeleton.c (main): Pass RES parameter
14232 to TIMING_INIT and multiply result by 1000.
14234 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14238 2013-09-11 Andreas Schwab <schwab@suse.de>
14240 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14242 (O_TMPFILE) [__USE_GNU]: Define.
14243 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14246 2013-09-11 Will Newton <will.newton@linaro.org>
14249 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14252 2013-09-11 Will Newton <will.newton@linaro.org>
14255 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14258 2013-09-11 Will Newton <will.newton@linaro.org>
14261 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14264 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14266 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14267 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14268 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14269 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14270 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14272 2013-09-10 Allan McRae <allan@archlinux.org>
14275 * manual/arith.texi (Parsing of Floats): Clarify
14279 * manual/install.texi (Running make install): Mention
14281 * INSTALL: Regenerated.
14283 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14285 * csu/init-first.c (_init): Remove the !SHARED condition around
14286 FPU control word initialization.
14287 * elf/dl-support.c (_dl_fpu_control): New variable.
14288 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14289 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14290 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14291 * math/test-fpucw-static.c: New file.
14292 * math/test-fpucw-ieee.c: New file.
14293 * math/test-fpucw-ieee-static.c: New file.
14294 * math/Makefile (tests): Add `test-fpucw-ieee' and
14296 (tests-static): New variable.
14297 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14299 [($(build-shared),yes)]
14300 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14302 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14305 2013-09-09 Allan McRae <allan@archlinux.org>
14308 * manual/string.texi (Collation Functions): Fix typo in
14310 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14313 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14316 * libio/memstream.c (open_memstream): Fix memory leak.
14317 * libio/wmemstream.c (open_wmemstream): Likewise.
14320 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14322 2013-09-09 Will Newton <will.newton@linaro.org>
14324 * malloc/Makefile: Add tst-realloc to tests.
14325 * malloc/tst-realloc.c: New file.
14327 2013-09-09 Allan McRae <allan@archlinux.org>
14330 * COPYING: Update from GNU website to fix FSF address.
14331 * COPYING.LIB: Likewise.
14333 2013-09-06 David S. Miller <davem@davemloft.net>
14335 * po/zh_TW.po: Update Chinese (traditional) translation from
14336 translation project.
14338 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14339 Joseph Myers <joseph@codesourcery.com>
14341 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14343 (obstack_chunk_alloc): New macro.
14344 (obstack_chunk_free): Likewise.
14345 (record_offset): New function.
14346 (init_locale_data): Likewise.
14347 (align_locale_data): Likewise.
14348 (add_locale_empty): Likewise.
14349 (add_locale_raw_data): Likewise.
14350 (add_locale_raw_obstack): Likewise.
14351 (add_locale_string): Likewise.
14352 (add_locale_wstring): Likewise.
14353 (add_locale_uint32): Likewise.
14354 (add_locale_uint32_array): Likewise.
14355 (add_locale_char): Likewise.
14356 (start_locale_structure): Likewise.
14357 (end_locale_structure): Likewise.
14358 (start_locale_prelude): Likewise.
14359 (end_locale_prelude): Likewise.
14360 (write_locale_data): Take locale_file structure rather than an
14362 * locale/programs/locfile.h: Include "obstack.h".
14363 (struct locale_file): Change to store locale file contents instead
14365 (init_locale_data): New prototype.
14366 (align_locale_data): Likewise.
14367 (add_locale_empty): Likewise.
14368 (add_locale_raw_data): Likewise.
14369 (add_locale_raw_obstack): Likewise.
14370 (add_locale_string): Likewise.
14371 (add_locale_wstring): Likewise.
14372 (add_locale_uint32): Likewise.
14373 (add_locale_uint32_array): Likewise.
14374 (add_locale_char): Likewise.
14375 (start_locale_structure): Likewise.
14376 (end_locale_structure): Likewise.
14377 (start_locale_prelude): Likewise.
14378 (end_locale_prelude): Likewise.
14379 (write_locale_data): Update prototype.
14380 * locale/programs/3level.h (struct TABLE): Remove result field.
14381 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14382 Use new locale_file interface.
14383 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14384 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14385 * locale/programs/ld-address.c (address_output): Use new
14386 locale_file interface.
14387 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14389 (collate_finish): Don't call collseq_table_finalize.
14390 (collate_output): Use new locale_file interface.
14391 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14393 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14394 (TABLE): Move defines earlier in file.
14395 (ELEMENT): Likewise.
14396 (DEFAULT): Likewise.
14397 (wctrans_table_add): Move macro and inline function earlier in
14399 (struct wctype_table): Move type earlier in file.
14400 (add_locale_wctype_table): New static prototype.
14401 (struct locale_ctype_t): Use logical types instead of struct iovec
14402 pointers for members.
14403 (ctype_output): Use new locale_file interface.
14404 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14405 new locale_file interface.
14406 (allocate_arrays): Update for use of new locale_file interface.
14407 * locale/programs/ld-identification.c (identification_output): Use
14408 new locale_file interface.
14409 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14410 * locale/programs/ld-messages.c (messages_output): Likewise.
14411 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14412 * locale/programs/ld-name.c (name_output): Likewise.
14413 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14414 * locale/programs/ld-paper.c (paper_output): Likewise.
14415 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14416 * locale/programs/ld-time.c (time_output): Likewise.
14418 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14420 * benchtests/Makefile: Add memrchr benchmark.
14421 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14422 benchmark as memrchr.
14423 * benchtests/bench-memrchr-ifunc.c: New file.
14424 * benchtests/bench-memrchr.c: New file.
14426 2013-09-06 Will Newton <will.newton@linaro.org>
14428 * benchtests/Makefile (string-bench): Add memcpy.
14430 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14431 Cong Wang <amwang@redhat.com>
14434 * sysdeps/unix/sysv/linux/bits/in.h
14435 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14436 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14437 before __USE_KERNEL_IPV6_DEFS uses.
14438 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14440 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14441 sockaddr_in6, or ipv6_mreq.
14443 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14445 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14446 memory access for final bytes in some large inputs.
14447 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14449 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14451 * string/test-memrchr.c: New file.
14452 * string/test-memrchr-ifunc.c: New file.
14453 * string/Makefile: Add new memrchr testcase.
14455 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14457 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14458 fanotify_init returns EPERM.
14460 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14462 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14464 (top level): Treat second token from macro or constant entries for
14465 allowed headers as allowed.
14466 * include/complex.h: Condition internal declarations on
14468 * include/fenv.h: Condition include of <stdbool.h> and internal
14469 declarations on [!_ISOMAC].
14471 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14474 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14476 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14478 * configure.in (--enable-versioning): Remove configure option.
14479 (libc_cv_asm_symver_directive): Remove configure test.
14480 (libc_cv_ld_version_script_option): Likewise.
14481 (VERSIONING): Remove variable and AC_SUBST.
14482 (DO_VERSIONING): Remove AC_DEFINE.
14483 * configure: Regenerated.
14484 * config.h.in (DO_VERSIONING): Remove macro.
14485 * Makerules [$(versioning) = yes]: Change conditionals to
14486 [$(build-shared) = yes].
14487 * config.make.in (versioning): Remove variable.
14488 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14489 [$(build-shared) = yes].
14490 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14491 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14492 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14493 [$(build-shared) = yes].
14494 * extra-lib.mk [$(versioning) = yes]: Likewise.
14495 * hurd/Makefile [$(versioning) = yes]: Likewise.
14496 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14498 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14500 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14501 [SHARED && !NO_HIDDEN].
14502 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14504 [SHARED && DO_VERSIONING]: Likewise..
14505 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14506 [$(build-shared) = yes].
14507 * manual/install.texi (--disable-versioning): Remove
14509 * INSTALL: Regenerated.
14510 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14512 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14513 [$(build-shared) = yes].
14514 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14515 * sysdeps/i386/i686/multiarch/strstr-c.c
14516 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14517 [SHARED && !NO_HIDDEN].
14518 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14519 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14520 * sysdeps/powerpc/powerpc32/dl-machine.c
14521 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14522 * sysdeps/powerpc/powerpc32/sysdep.h
14523 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14524 to [SHARED && PIC && !NO_HIDDEN].
14525 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14526 conditional to [SHARED].
14528 2013-09-04 Will Newton <will.newton@linaro.org>
14530 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14531 * benchtests/bench-string.h: Include bench-timing.h instead
14532 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14533 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14534 call to HP_TIMING_DIFF_INIT.
14535 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14536 instead of hp-timing.h macros.
14537 * benchtests/bench-memchr.c: Likewise.
14538 * benchtests/bench-memcmp.c: Likewise.
14539 * benchtests/bench-memcpy.c: Likewise.
14540 * benchtests/bench-memmem.c: Likewise.
14541 * benchtests/bench-memmove.c: Likewise.
14542 * benchtests/bench-memset.c: Likewise.
14543 * benchtests/bench-rawmemchr.c: Likewise.
14544 * benchtests/bench-strcasecmp.c: Likewise.
14545 * benchtests/bench-strcasestr.c: Likewise.
14546 * benchtests/bench-strcat.c: Likewise.
14547 * benchtests/bench-strchr.c: Likewise.
14548 * benchtests/bench-strcmp.c: Likewise.
14549 * benchtests/bench-strcpy.c: Likewise.
14550 * benchtests/bench-strcpy_chk.c: Likewise.
14551 * benchtests/bench-strlen.c: Likewise.
14552 * benchtests/bench-strncasecmp.c: Likewise.
14553 * benchtests/bench-strncat.c: Likewise.
14554 * benchtests/bench-strncmp.c: Likewise.
14555 * benchtests/bench-strncpy.c: Likewise.
14556 * benchtests/bench-strnlen.c: Likewise.
14557 * benchtests/bench-strpbrk.c: Likewise.
14558 * benchtests/bench-strrchr.c: Likewise.
14559 * benchtests/bench-strspn.c: Likewise.
14560 * benchtests/bench-strstr.c: Likewise.
14562 2013-09-04 Will Newton <will.newton@linaro.org>
14564 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14566 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14569 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14570 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14571 * math/libm-test.inc (lgamma_test_data): Add more tests.
14572 * sysdeps/i386/fpu/libm-test-ulps: Update.
14573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14575 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14577 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14581 Add strcmp-sse2-unaligned
14582 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14584 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14586 * Versions.def (libc): Add GLIBC_2.19.
14588 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14590 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14591 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14593 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14596 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14597 intermediate calculations in recurrence.
14598 (__ieee754_ynf): Likewise.
14599 * math/libm-test.inc (jn_test_data): Do not allow spurious
14600 underflow exception. Add more tests.
14601 (yn_test_data): Add more tests.
14602 * sysdeps/i386/fpu/libm-test-ulps: Update.
14603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14605 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14607 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14609 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14611 * csu/init-first.c: Fix then/than typos.
14612 * locale/programs/ld-collate.c: Likewise.
14613 * locale/programs/linereader.h: Likewise.
14614 * manual/charset.texi: Likewise.
14615 * manual/filesys.texi: Likewise.
14616 * manual/stdio.texi: Likewise.
14617 * manual/string.texi: Likewise.
14618 * stdlib/fmtmsg.c: Likewise.
14619 * sysdeps/i386/stpncpy.S: Likewise.
14620 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14621 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14622 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14623 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14625 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14627 * elf/dl-open.c: Fix typos.
14628 * iconvdata/gbbig5.c: Likewise.
14629 * iconvdata/iso-2022-jp.c: Likewise.
14630 * iconv/gconv_int.h: Likewise.
14631 * iconv/loop.c: Likewise.
14632 * nis/rpcsvc/nis.h: Likewise.
14633 * resolv/ns_name.c: Likewise.
14634 * stdio-common/vfscanf.c: Likewise.
14635 * streams/stropts.h: Likewise.
14636 * sunrpc/rpc_thread.c: Likewise.
14637 * sysdeps/i386/strpbrk.S: Likewise.
14638 * sysdeps/ieee754/k_standard.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14641 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14642 * sysdeps/mach/hurd/profil.c: Likewise.
14643 * sysdeps/s390/dl-procinfo.h: Likewise.
14644 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14645 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14646 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14647 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14650 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14652 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14655 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14657 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14658 aix specific files.
14659 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14660 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14661 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14662 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14663 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14664 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14665 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14666 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14668 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14669 Roland McGrath <roland@hack.frob.com>
14671 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14672 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14674 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14676 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14677 __executable_start symbol instead of _start.
14679 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14681 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14682 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14684 * sysdeps/gnu/ldsodefs.h: ... this new file.
14686 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14687 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14688 instead of ELFOSABI_LINUX.
14690 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14691 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14692 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14693 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14695 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14696 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14697 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14699 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14700 (ibm_extended_long_double): Add ieee_nan member.
14701 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14702 (do_test): New function.
14704 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14706 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14707 functions, renamed from truncdfsf_test, trunctfsf_test,
14709 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14711 (do_test): Run all these.
14713 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14715 * argp/argp-help.c: Fix typos.
14716 * argp/argp-parse.c: Likewise.
14717 * debug/backtracesyms.c: Likewise.
14718 * elf/elf.h: Likewise.
14719 * malloc/malloc.c: Likewise.
14720 * nis/nis_print.c: Likewise.
14721 * resolv/res_comp.c: Likewise.
14722 * stdlib/stdlib.h: Likewise.
14723 * sunrpc/clnt_tcp.c: Likewise.
14724 * sunrpc/clnt_udp.c: Likewise.
14725 * sunrpc/clnt_unix.c: Likewise.
14726 * sysdeps/unix/bsd/ptsname.c: Likewise.
14727 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14728 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14735 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14737 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14739 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14742 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14745 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14746 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14747 ($(objpfx)bug-dl-leaf): New rule.
14748 ($(objpfx)bug-dl-leaf.so): Likewise.
14749 ($(objpfx)bug-dl-leaf.out): Likewise.
14750 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14751 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14752 * dlfcn/bug-dl-leaf.c: New test.
14753 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14754 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14755 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14756 (dlclose): Likewise.
14757 (dlmopen): Likewise.
14759 2013-08-27 Roland McGrath <roland@hack.frob.com>
14761 * include/netdb.h [!_ISOMAC]:
14762 Don't include <tls.h>.
14763 (h_errno, __libc_h_errno): Move declaration and macros out of
14766 * include/resolv.h [_RESOLV_H_]:
14767 Don't include <tls.h>.
14768 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14769 * resolv/res_libc.c: Don't include <tls.h>.
14770 (_res): Use __attribute__ ((nocommon)) in place of
14771 __attribute__ ((section (".bss"))).
14773 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14774 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14776 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14778 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14779 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14781 * resolv/res_mkquery.c: Include <sys/time.h>.
14783 * inet/ifreq.c: Moved to ...
14784 * sysdeps/unix/ifreq.c: ... here.
14785 * inet/ifreq.c: New file, true stub version.
14787 * socket/sa_len.c: New file.
14788 * socket/Makefile (aux): Add it.
14789 * sysdeps/unix/sysv/linux/Makefile
14790 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14791 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14792 and #include <socket/sa_len.c>.
14793 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14794 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14796 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14797 * bits/socket.h: ... here.
14799 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14800 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14801 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14803 2013-08-27 Andreas Schwab <schwab@suse.de>
14806 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14807 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14808 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14809 * string/test-strcasecmp.c (test_main): Run tests in several
14811 * string/test-strncasecmp.c (test_main): Likewise.
14813 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14814 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14815 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14817 (__strncasecmp_ssse3) [PIC]: Likewise.
14819 2013-08-26 Roland McGrath <roland@hack.frob.com>
14821 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14823 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14824 instead of explicitly declaring xdecrypt.
14825 * nis/nss_nis/nis-publickey.c: Likewise.
14827 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14830 * nscd/aicache.c: Include res_hconf.h.
14831 (addhstaiX): Initialize res_hconf.
14833 2013-08-26 Andreas Schwab <schwab@suse.de>
14835 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14836 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14838 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14840 * nscd/aicache.c (addhstaiX): Fix indentation.
14842 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14844 * configure.ac: Quote $build_pt_chown test.
14845 * configure: Regenerated.
14847 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14850 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14851 * math/s_cexpf.c (__cexpf): Likewise.
14852 * math/s_cexpl.c (__cexpl): Likewise.
14853 * math/libm-test.inc (cexp_test_data): Correct expected return
14854 value for NaN + i0. Add another test.
14856 2013-08-22 David S. Miller <davem@davemloft.net>
14858 * po/ca.po: Update Catalan translation from translation project.
14859 * po/uk.po: Add Ukrainian translations from translation project.
14861 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14864 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14865 is infinite, not alongside NaN test.
14866 * math/s_fdimf.c (__fdimf): Likewise.
14867 * math/s_fdiml.c (__fdiml): Likewise.
14868 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14869 errno is unchanged.
14871 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14873 * argp/argp-help.c: Fix typos.
14874 * crypt/speeds.c: Likewise.
14875 * csu/check_fds.c: Likewise.
14876 * elf/dl-load.c: Likewise.
14877 * elf/dl-open.c: Likewise.
14878 * elf/reldep3.c: Likewise.
14879 * elf/reldep.c: Likewise.
14880 * elf/sprof.c: Likewise.
14881 * iconv/iconv_charmap.c: Likewise.
14882 * iconv/skeleton.c: Likewise.
14883 * iconv/strtab.c: Likewise.
14884 * io/lockf64.c: Likewise.
14885 * libio/libioP.h: Likewise.
14886 * resolv/gai_notify.c: Likewise.
14887 * resolv/ns_name.c: Likewise.
14888 * resolv/ns_samedomain.c: Likewise.
14889 * resolv/res_send.c: Likewise.
14890 * stdlib/random.c: Likewise.
14891 * sunrpc/rpc/xdr.h: Likewise.
14892 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14893 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14894 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14895 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14896 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14897 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14899 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14900 * sysdeps/mach/hurd/check_fds.c: Likewise.
14901 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14902 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14903 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14904 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14905 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14906 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14907 * sysdeps/pthread/aio_notify.c: Likewise.
14908 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14909 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14910 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14911 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14912 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14914 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14916 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14917 version if bit_Slow_SSE4_2 is set.
14918 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14919 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14921 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14924 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14925 trampoline stack frame information.
14926 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14927 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14928 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14929 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14930 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14931 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14932 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14933 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14935 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14936 interrupting a syscall and set with option SA_SIGINFO.
14938 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14941 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14942 argument is infinite.
14943 * math/s_cprojf.c (__cprojf): Likewise.
14944 * math/s_cprojl.c (__cprojl): Likewise.
14945 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14946 * math/libm-test.inc (cproj_test_data): Add more tests.
14948 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14950 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14951 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14952 size. Use __ffs to determine corresponding shift.
14954 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14955 Roland McGrath <roland@hack.frob.com>
14957 * Makefile (INSTALL): Remove trailing blank lines from output of
14960 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14962 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14963 Align 32 bit compat elf_greg to 8 bytes.
14965 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14967 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14969 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14971 * string/strcoll_l.c (coll_seq): New structure.
14972 (get_next_seq_cached): New function.
14973 (get_next_seq): New function.
14974 (do_compare): New function.
14975 (STRCOLL): Use GNU style definition. Simplify implementation
14976 by using get_next_seq, get_next_seq_cached and do_compare.
14978 2013-08-16 Florian Weimer <fweimer@redhat.com>
14982 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14984 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14986 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14987 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14988 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14990 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14991 GETDENTS_64BIT_ALIGNED.
14992 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14993 * manual/filesys.texi (Reading/Closing Directory): Document
14994 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14996 * manual/conf.texi (Limits for Files): Add portability note to
14997 NAME_MAX, PATH_MAX.
14998 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15000 2013-08-13 Andreas Schwab <schwab@suse.de>
15003 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15005 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15006 LDBL_MAX_EXP >= 16384]: Add tests for it.
15008 2013-08-12 David S. Miller <davem@davemloft.net>
15010 * version.h (RELEASE): Set to "development".
15011 (VERSION): Set to "2.18.90".
15012 * NEWS: Add 2.19 section.
15014 2013-08-03 David S. Miller <davem@davemloft.net>
15016 * po/ko.po: Update Korean translation from translation project.
15018 2013-08-01 David S. Miller <davem@davemloft.net>
15020 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15021 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15024 2013-07-30 David S. Miller <davem@davemloft.net>
15026 * po/fr.po: Update French translation from translation project.
15028 2013-07-28 David S. Miller <davem@davemloft.net>
15030 * po/cs.po: Update Czech translation from translation project.
15032 * po/sv.po: Update Swedish translation from translation project.
15034 2013-07-27 David S. Miller <davem@davemloft.net>
15036 * po/eo.po: Update Esperanto translation from translation project.
15038 * po/vi.po: Update Vietnamese translation from translation project.
15040 * po/de.po: Update German translation from translation project.
15042 2013-07-26 David S. Miller <davem@davemloft.net>
15044 * po/bg.po: Update Bulgarian translation from translation project.
15046 * po/nl.po: Update Dutch translation from translation project.
15047 * po/pl.po: Update Polish translation from translation project.
15048 * po/ru.po: Update Russian translation from translation project.
15050 2013-07-24 David S. Miller <davem@davemloft.net>
15052 * po/libc.pot: Update.
15054 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15056 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15057 variable page size.
15058 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15059 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15060 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15062 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15064 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15066 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15067 Andreas Schwab <schwab@suse.de>
15068 Roland McGrath <roland@hack.frob.com>
15069 Joseph Myers <joseph@codesourcery.com>
15070 Carlos O'Donell <carlos@redhat.com>
15073 * config.h.in: Define HAVE_PT_CHOWN.
15074 * config.make.in (build-pt-chown): New variable.
15075 * configure.in (--enable-pt_chown): New configure option.
15076 * configure: Regenerate.
15077 * login/Makefile: Include Makeconfig. Build pt_chown only if
15078 build-pt-chown is enabled.
15079 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15080 pt_chown to fix pty ownership.
15081 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15083 * manual/install.texi (Configuring and compiling): Mention
15084 --enable-pt_chown. Add @findex for grantpt.
15085 * INSTALL: Regenerate.
15087 2013-07-20 David S. Miller <davem@davemloft.net>
15089 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15090 difference between 32-bit and 64-bit.
15092 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15095 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15096 Avoid system header dependency with -ffreestanding.
15097 ($(objpfx)bits/syscall%d): Likewise.
15099 2013-07-13 David S. Miller <davem@davemloft.net>
15101 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15102 underflows from atanl/atan2l due to bug 15319.
15103 (casinh_test_data): Likewise.
15105 2013-07-07 David S. Miller <davem@davemloft.net>
15107 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15109 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15111 * sysdeps/i386/fpu/libm-test-ulps: Update.
15112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15114 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15116 * configure.in (--enable-lock-elision): Fix message text.
15117 * INSTALL: Regenerate.
15118 * configure: Regenerate.
15120 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15124 2013-07-03 Andreas Jaeger <aj@suse.de>
15126 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15128 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15129 (ptrace_peeksiginfo_args): Add.
15130 (__ptrace_peeksiginfo_flags): Add.
15131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15132 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15133 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15135 2013-07-03 Allan McRae <allan@archlinux.org>
15137 * sysdeps/i386/fpu/libm-test-ulps: Update.
15139 2013-07-02 David S. Miller <davem@davemloft.net>
15141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15143 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15147 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15149 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15152 2013-07-02 Andi Kleen <ak@linux.intel.com>
15154 * config.h.in (ENABLE_LOCK_ELISION): Add.
15155 * configure.in (--enable-lock-elision): Add option.
15156 * manual/install.texi: Document --enable lock elision.
15157 * configure: Regenerate
15158 * INSTALL: Regenerate.
15160 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15162 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15163 SSE4.2 strcasecmp for libc.a.
15164 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15166 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15169 * soft-fp/op-common.h (_FP_FMA): New macro.
15170 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15171 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15172 (_FP_MUL_MEAT_1_imm): ... here.
15173 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15174 (_FP_MUL_MEAT_1_wide): ... here.
15175 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15176 (_FP_MUL_MEAT_1_hard): ... here.
15177 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15178 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15179 (_FP_MUL_MEAT_2_wide): ... here.
15180 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15181 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15182 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15183 (_FP_MUL_MEAT_2_gmp): ... here.
15184 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15185 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15186 (_FP_MUL_MEAT_4_wide): ... here.
15187 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15188 (_FP_MUL_MEAT_4_gmp): ... here.
15189 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15190 (_FP_WFRACBITS_DW_S): Likewise.
15191 (_FP_WFRACXBITS_DW_S): Likewise.
15192 (_FP_HIGHBIT_DW_S): Likewise.
15193 (FP_FMA_S): Likewise.
15194 (_FP_FRAC_HIGH_DW_S): Likewise.
15195 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15196 (_FP_WFRACBITS_DW_D): Likewise.
15197 (_FP_WFRACXBITS_DW_D): Likewise.
15198 (_FP_HIGHBIT_DW_D): Likewise.
15199 (FP_FMA_D): Likewise.
15200 (_FP_FRAC_HIGH_DW_D): Likewise.
15201 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15202 (_FP_WFRACBITS_DW_E): Likewise.
15203 (_FP_WFRACXBITS_DW_E): Likewise.
15204 (_FP_HIGHBIT_DW_E): Likewise.
15205 (FP_FMA_E): Likewise.
15206 (_FP_FRAC_HIGH_DW_E): Likewise.
15207 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15208 (_FP_WFRACBITS_DW_Q): Likewise.
15209 (_FP_WFRACXBITS_DW_Q): Likewise.
15210 (_FP_HIGHBIT_DW_Q): Likewise.
15211 (FP_FMA_Q): Likewise.
15212 (_FP_FRAC_HIGH_DW_Q): Likewise.
15213 * soft-fp/fmasf4.c: New file.
15214 * soft-fp/fmadf4.c: Likewise.
15215 * soft-fp/fmatf4.c: Likewise.
15217 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15220 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15222 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15224 (index_Slow_SSE4_2): Likewise.
15225 (index_Prefer_PMINUB_for_stringop): Likewise.
15226 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15227 bit_Slow_SSE4_2 is set.
15228 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15229 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15231 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15233 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15234 rtld_global._dl_hwcap2.
15235 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15237 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15238 POWER8 feature descriptions defined in _dl_hwcap2.
15239 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15240 string handling for POWER8 feature bits.
15241 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15242 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15243 _dl_powerpc_cap_flags.
15244 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15245 * sysdeps/powerpc/rtld-global-offsets.sym
15246 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15247 _dl_hwcap2 in the rtld_global_ro structure.
15249 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15251 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15252 hardware capabilities in support of AT_HWCAP2.
15253 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15254 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15256 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15257 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15258 explicitly the unknown a_type display mechanism is used.
15259 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15260 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15262 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15263 to macro prototype for AT_HWCAP2 support.
15264 * sysdeps/i386/dl-procinfo.h: Likewise.
15265 * sysdeps/s390/dl-procinfo.h: Likewise.
15266 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15267 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15268 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15269 return -1 for unknown a_type display fallback.
15270 * sysdeps/sparc/dl-procinfo.h: Likewise.
15271 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15272 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15274 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15276 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15277 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15279 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15282 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15283 mprotect making __stack_prot writable.
15285 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15286 Joseph Myers <joseph@codesourcery.com>
15288 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15289 as being properly aligned.
15291 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15293 * dlfcn/modstatic5.c: New file.
15294 * dlfcn/tststatic5.c: New file.
15295 * dlfcn/Makefile (tests): Add tststatic5.
15296 (tests-static): Likewise.
15297 (modules-names): Add modstatic5.
15298 (tststatic5-ENV): New variable.
15299 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15302 * elf/dl-support.c (_dl_main_map): New variable.
15303 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15304 (_dl_nns, _dl_load_adds): Set to 1.
15305 (_dl_initial_searchlist): Refer to _dl_main_map.
15306 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15307 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15308 call to _dl_get_origin.
15309 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15311 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15312 * dlfcn/modstatic3.c: New file.
15313 * dlfcn/tststatic3.c: New file.
15314 * dlfcn/tststatic4.c: New file.
15315 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15316 (tests-static): Likewise.
15317 (modules-names): Add modstatic3.
15318 (tststatic3-ENV, tststatic4-ENV): New variables.
15319 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15320 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15322 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15324 * configure.in (CC): Require GCC version 4.4 or later.
15325 * configure: Regenerated.
15326 * manual/install.texi (Tools for Compilation): Update GCC version
15328 * INSTALL: Regenerated.
15330 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15333 * string/test-memcmp.c (check2): New.
15334 (main): Call check2.
15336 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15338 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15341 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15343 (dl_open_worker) [!SHARED]: ... here.
15345 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15347 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15349 2013-06-25 Richard Henderson <rth@redhat.com>
15351 * locale/programs/locarchive.c: Include <libc-internal.h>
15353 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15355 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15356 trailing whitespace removed.
15358 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15361 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15362 * locale/programs/locarchive.c: Include libc-mmap.h.
15363 (prepare_address_space): Take two new outputs (the mmap base and len).
15364 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15366 (create_archive): Declare new mmap base and len values for
15367 prepare_address_space, and store the result in ah.
15368 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15369 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15370 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15371 Declare new mmap base and len values for
15372 prepare_address_space, and store the result in new_ah.
15373 (open_archive): Declare new mmap base and len values for
15374 prepare_address_space, and store the result in ah.
15375 (close_archive): If ah->mmap_base is not NULL, use that and
15376 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15377 * sysdeps/generic/libc-mmap.h: New file.
15379 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15381 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15382 (ALIGN_UP): Likewise.
15383 (PTR_ALIGN_DOWN): Likewise.
15384 (PTR_ALIGN_UP): Likewise.
15386 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15388 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15389 entry mapped to PPC_PLATFORM_POWER8.
15390 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15392 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15393 (_dl_string_platform): Add case for exporting platform position for
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15396 search path to sysdeps/powerpc/powerpc32/power8 directory.
15397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15398 search path to sysdeps/powerpc/powerpc64/power8 directory.
15399 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15400 power7 directories.
15401 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15402 power7 directories.
15404 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15406 * INSTALL: Regenerate.
15408 * nscd/connections.c (nscd_init): Fix comment.
15410 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15412 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15415 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15416 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15418 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15420 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15422 (DL_DST_REQ_STATIC): Remove macro.
15424 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15427 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15428 with a shift of 0 bits.
15430 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15432 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15435 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15438 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15440 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15442 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15443 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15444 accepts -fno-tree-loop-distribute-patterns.
15445 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15446 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15448 * string/memset.c (memset): Likewise.
15449 * string/test-memmove.c (simple_memmove): Disable loop transformation
15451 * string/test-memset.c (simple_memset): Likewise.
15452 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15453 * benchtests/bench-memset.c (simple_memset): Likewise.
15454 * configure: Regenerated.
15456 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15458 * math/test-misc.c (main): Ignore fesetround failure when failures
15459 of subsequent rounding tests would be ignored.
15462 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15463 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15464 * math/fegetenv.c (__fegetenv): Return 0.
15465 * math/fegetexcept.c (fegetexcept): Return 0.
15466 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15468 * math/feholdexcpt.c (feholdexcept): Return 0.
15469 * math/fesetenv.c (__fesetenv): Return 0.
15470 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15471 argument FE_TONEAREST.
15472 * math/feupdateenv.c (__feupdateenv): Return 0.
15473 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15475 2013-06-18 Roland McGrath <roland@hack.frob.com>
15477 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15478 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15479 ($(objpfx)rtld-%.os rules): Use them.
15481 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15483 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15486 2013-06-17 Roland McGrath <roland@hack.frob.com>
15488 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15489 length of target pattern, then descending length of dependency pattern.
15490 * configure.in (AWK): Require gawk 3.1.2 or newer.
15491 * manual/install.texi (Tools for Compilation): Say that we do.
15492 * configure: Regenerated.
15494 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15495 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15496 * scripts/sysd-rules.awk: ... this new script.
15497 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15498 than a glob-style pattern.
15500 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15502 * math/test-misc.c (main): Do not treat incorrectly rounded
15503 conversions as failure unless ROUNDING_TESTS passes.
15505 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15508 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15509 restore exception state around main square root computation, then
15510 check for inexactness explicitly.
15512 * math/libm-test.inc (fma_test_data): Add another test.
15514 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15516 * manual/threads.texi (Non-POSIX Extensions): New document
15517 node. Document pthread_getattr_default_np and
15518 pthread_setattr_default_np.
15520 * Versions.def (libpthread): Add GLIBC_2.18.
15521 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15530 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15541 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15544 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15546 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15547 H.J. Lu <hjl.tools@gmail.com>
15550 * sysdeps/x86_64/rtld-memset.c: Remove file.
15551 * sysdeps/x86_64/rtld-memset.S: New file.
15553 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15555 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15556 (test_in_one_mode): Take arguments for whether the rounding mode
15557 is supported for each floating-point type.
15558 (do_test): Pass new arguments to test_in_one_mode using
15561 2013-06-13 Roland McGrath <roland@hack.frob.com>
15563 * posix/tst-waitid.c (do_test): Distinguish different instances of
15564 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15565 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15566 before entering the kernel for waitpid.
15568 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15570 * NEWS: Fix note on clock function precision. Text by Roland
15573 2013-06-13 Roland McGrath <roland@hack.frob.com>
15575 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15576 it into place only when and if the sanity check passes.
15578 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15580 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15581 output for whether conversion result is exact. Take argument
15582 indicating whether type is IBM long double.
15583 (round_for_all): Change need_exact field to ibm_ld.
15584 * stdlib/tst-strtod-round.c (struct exactness): New type.
15585 (struct test): Change bool ld_ok field to struct exactness exact.
15586 (TEST): Update all definitions for change to field.
15587 (tests): Regenerate array contents.
15588 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15589 field value. Check for IBM long double here.
15590 (do_test): Update calls to test_in_one_mode.
15592 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15595 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15596 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15598 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15601 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15602 generated by the compiler on loop optimizations.
15603 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15604 general definitions.
15606 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15608 * math/bug-nextafter.c: Include <math-tests.h>.
15609 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15611 * math/bug-nexttoward.c: Include <math-tests.h>.
15612 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15614 * math/test-misc.c: Include <math-tests.h>.
15615 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15618 2013-06-12 Andreas Jaeger <aj@suse.de>
15620 * po/ia.po: Update Interlingua translation from translation
15623 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15625 * include/fenv.h: Include stdbool.h.
15626 (struct rm_ctx): New structure.
15627 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15629 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15630 (SET_RESTORE_ROUNDF): Likewise.
15631 (SET_RESTORE_ROUNDL): Likewise.
15632 (SET_RESTORE_ROUND_NOEX): Likewise.
15633 (SET_RESTORE_ROUND_NOEXF): Likewise.
15634 (SET_RESTORE_ROUND_NOEXL): Likewise.
15635 (SET_RESTORE_ROUND_53BIT): Likewise.
15636 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15637 (libc_feresetround_noexf_ctx): Likewise.
15638 (libc_feresetround_noexl_ctx): Likewise.
15639 (libc_feholdsetround_53bit_ctx): Likewise.
15640 (libc_feresetround_53bit_ctx): Likewise.
15641 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15642 (libc_feholdexcept_setround_sse_ctx): New function.
15643 (libc_fesetenv_sse_ctx): Likewise.
15644 (libc_feupdateenv_sse_ctx): Likewise.
15645 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15646 (libc_feholdexcept_setround_387_ctx): Likewise.
15647 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15648 (libc_feholdsetround_387_prec_ctx): Likewise.
15649 (libc_feholdsetround_387_ctx): Likewise.
15650 (libc_feholdsetround_387_53bit_ctx): Likewise.
15651 (libc_feholdsetround_sse_ctx): Likewise.
15652 (libc_feresetround_sse_ctx): Likewise.
15653 (libc_feresetround_387_ctx): Likewise.
15654 (libc_feupdateenv_387_ctx): Likewise.
15655 (libc_feholdexcept_setroundf_ctx): Define macro.
15656 (libc_fesetenvf_ctx): Likewise.
15657 (libc_feupdateenvf_ctx): Likewise.
15658 (libc_feholdsetroundf_ctx): Likewise.
15659 (libc_feresetroundf_ctx): Likewise.
15660 (libc_feholdexcept_setround_ctx): Likewise.
15661 (libc_fesetenv_ctx): Likewise.
15662 (libc_feupdateenv_ctx): Likewise.
15663 (libc_feholdsetround_ctx): Likewise.
15664 (libc_feresetround_ctx): Likewise.
15665 (libc_feholdexcept_setroundl_ctx): Likewise.
15666 (libc_feupdateenvl_ctx): Likewise.
15667 (libc_feholdsetroundl_ctx): Likewise.
15668 (libc_feresetroundl_ctx): Likewise.
15669 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15670 (libc_feresetround_53bit_ctx): Likewise.
15672 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15674 * locale/iso-639.def: Convert to UTF-8.
15676 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15678 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15679 (EXCEPTION_TESTS_double): Likewise.
15680 (EXCEPTION_TESTS_long_double): Likewise.
15681 (EXCEPTION_TESTS): Likewise.
15682 * math/libm-test.inc (test_exceptions): Only test exceptions if
15683 EXCEPTION_TESTS (FLOAT).
15685 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15687 * benchtests/Makefile (string-bench): Add strcpy_chk and
15689 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15690 * benchtests/bench-stpcpy_chk.c: New file.
15691 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15692 * benchtests/bench-strcpy_chk.c: New file.
15693 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15695 (do_test): Likewise.
15697 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15699 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15700 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15701 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15702 with tabs where appropriate.
15703 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15705 [PPC_PLATFORM_PPC440]: Likewise.
15706 [PPC_PLATFORM_PPC464]: Likewise.
15707 [PPC_PLATFORM_PPC476]: Likewise.
15708 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15709 ppc464, and ppc476 platform strings merging from ports/
15712 2013-06-11 Andreas Schwab <schwab@suse.de>
15715 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15716 (from_ucs4_idx): Regenerate.
15717 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15718 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15719 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15720 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15721 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15722 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15723 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15724 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15725 from FROM_LOOP and TO_LOOP specific macros.
15726 (BODY): Handle combining characters.
15727 * iconvdata/BIG5HKSCS.irreversible: Update.
15728 * iconvdata/BIG5HKSCS.precomposed: New file.
15729 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15731 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15733 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15735 * include/sys/time.h: Fix indentation and add copyright header.
15737 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15738 (do_test): Likewise.
15739 * string/test-memchr.c (do_one_test): Likewise.
15740 (do_test): Likewise.
15741 * string/test-memcmp.c (do_one_test): Likewise.
15742 (do_test): Likewise.
15743 * string/test-memcpy.c (do_one_test): Likewise.
15744 (do_test): Likewise.
15745 * string/test-memmem.c (do_one_test): Likewise.
15746 (do_test): Likewise.
15747 (do_random_tests): Likewise.
15748 * string/test-memmove.c (do_one_test): Likewise.
15749 (do_test): Likewise.
15750 * string/test-memset.c (do_one_test): Likewise.
15751 (do_test): Likewise.
15752 * string/test-rawmemchr.c (do_one_test): Likewise.
15753 (do_test): Likewise.
15754 * string/test-strcasecmp.c (do_one_test): Likewise.
15755 (do_test): Likewise.
15756 * string/test-strcasestr.c (do_one_test): Likewise.
15757 (do_test): Likewise.
15758 * string/test-strcat.c (do_one_test): Likewise.
15759 (do_test): Likewise.
15760 * string/test-strchr.c (do_one_test): Likewise.
15761 (do_test): Likewise.
15762 * string/test-strcmp.c (do_one_test): Likewise.
15763 (do_test): Likewise.
15764 * string/test-strcpy.c (do_one_test): Likewise.
15765 (do_test): Likewise.
15766 * string/test-string.h: Likewise.
15767 (test_init): Likewise.
15768 * string/test-strlen.c (do_one_test): Likewise.
15769 (do_test): Likewise.
15770 * string/test-strncasecmp.c (do_one_test): Likewise.
15771 (do_test): Likewise.
15772 * string/test-strncat.c (do_one_test): Likewise.
15773 (do_test): Likewise.
15774 * string/test-strncmp.c (do_one_test): Likewise.
15775 (do_test_limit): Likewise.
15776 (do_test): Likewise.
15777 * string/test-strncpy.c (do_one_test): Likewise.
15778 (do_test): Likewise.
15779 * string/test-strnlen.c (do_one_test): Likewise.
15780 (do_test): Likewise.
15781 * string/test-strpbrk.c (do_one_test): Likewise.
15782 (do_test): Likewise.
15783 * string/test-strrchr.c (do_one_test): Likewise.
15784 (do_test): Likewise.
15785 * string/test-strspn.c (do_one_test): Likewise.
15786 (do_test): Likewise.
15787 * string/test-strstr.c (do_one_test): Likewise.
15788 (do_test): Likewise.
15790 * benchtests/Makefile (string-bench): Add string benchmarks.
15791 * benchtests/bench-bcopy-ifunc.c: New file.
15792 * benchtests/bench-bcopy.c: New file.
15793 * benchtests/bench-bzero-ifunc.c: New file.
15794 * benchtests/bench-bzero.c: New file.
15795 * benchtests/bench-memccpy-ifunc.c: New file.
15796 * benchtests/bench-memccpy.c: New file.
15797 * benchtests/bench-memchr-ifunc.c: New file.
15798 * benchtests/bench-memchr.c: New file.
15799 * benchtests/bench-memcmp-ifunc.c: New file.
15800 * benchtests/bench-memcmp.c: New file.
15801 * benchtests/bench-memmem-ifunc.c: New file.
15802 * benchtests/bench-memmem.c: New file.
15803 * benchtests/bench-memmove-ifunc.c: New file.
15804 * benchtests/bench-memmove.c: New file.
15805 * benchtests/bench-mempcpy-ifunc.c: New file.
15806 * benchtests/bench-mempcpy.c: New file.
15807 * benchtests/bench-memset-ifunc.c: New file.
15808 * benchtests/bench-memset.c: New file.
15809 * benchtests/bench-rawmemchr-ifunc.c: New file.
15810 * benchtests/bench-rawmemchr.c: New file.
15811 * benchtests/bench-stpcpy-ifunc.c: New file.
15812 * benchtests/bench-stpcpy.c: New file.
15813 * benchtests/bench-stpncpy-ifunc.c: New file.
15814 * benchtests/bench-stpncpy.c: New file.
15815 * benchtests/bench-strcasecmp-ifunc.c: New file.
15816 * benchtests/bench-strcasecmp.c: New file.
15817 * benchtests/bench-strcasestr-ifunc.c: New file.
15818 * benchtests/bench-strcasestr.c: New file.
15819 * benchtests/bench-strcat-ifunc.c: New file.
15820 * benchtests/bench-strcat.c: New file.
15821 * benchtests/bench-strchr-ifunc.c: New file.
15822 * benchtests/bench-strchr.c: New file.
15823 * benchtests/bench-strchrnul-ifunc.c: New file.
15824 * benchtests/bench-strchrnul.c: New file.
15825 * benchtests/bench-strcmp-ifunc.c: New file.
15826 * benchtests/bench-strcmp.c: New file.
15827 * benchtests/bench-strcpy-ifunc.c: New file.
15828 * benchtests/bench-strcpy.c: New file.
15829 * benchtests/bench-strcspn-ifunc.c: New file.
15830 * benchtests/bench-strcspn.c: New file.
15831 * benchtests/bench-strlen-ifunc.c: New file.
15832 * benchtests/bench-strlen.c: New file.
15833 * benchtests/bench-strncasecmp-ifunc.c: New file.
15834 * benchtests/bench-strncasecmp.c: New file.
15835 * benchtests/bench-strncat-ifunc.c: New file.
15836 * benchtests/bench-strncat.c: New file.
15837 * benchtests/bench-strncmp-ifunc.c: New file.
15838 * benchtests/bench-strncmp.c: New file.
15839 * benchtests/bench-strncpy-ifunc.c: New file.
15840 * benchtests/bench-strncpy.c: New file.
15841 * benchtests/bench-strnlen-ifunc.c: New file.
15842 * benchtests/bench-strnlen.c: New file.
15843 * benchtests/bench-strpbrk-ifunc.c: New file.
15844 * benchtests/bench-strpbrk.c: New file.
15845 * benchtests/bench-strrchr-ifunc.c: New file.
15846 * benchtests/bench-strrchr.c: New file.
15847 * benchtests/bench-strspn-ifunc.c: New file.
15848 * benchtests/bench-strspn.c: New file.
15849 * benchtests/bench-strstr-ifunc.c: New file.
15850 * benchtests/bench-strstr.c: New file.
15852 * benchtests/Makefile: Disable parallel execution of targets.
15853 (string-bench): Add memcpy.
15854 (benchset): New variable to store a list of benchmark sets.
15855 (bench-func): Renamed from bench.
15856 (bench-set): New target.
15857 (bench): Depend on bench-func and bench-set.
15858 * benchtests/README: Add section on benchmark sets.
15859 * benchtests/bench-memcpy-ifunc.c: New file.
15860 * benchtests/bench-memcpy.c: New file.
15861 * benchtests/bench-string.h: New file.
15863 2013-06-11 Andreas Schwab <schwab@suse.de>
15866 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15867 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15868 values in the triple.
15869 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15870 terminator in the group key.
15872 2013-06-11 Andreas Jaeger <aj@suse.de>
15874 * po/zh_TW.po: Update Chinese (traditional) translation from
15875 translation project.
15877 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15879 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15880 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15881 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15883 (clock_getcpuclockid): Likewise.
15884 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15885 Add weak_alias and libc_hidden_def.
15886 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15887 * rt/clock_gettime.c (clock_gettime): Rename to
15888 __clock_gettime. Add weak_alias and libc_hidden_def.
15889 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15890 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15891 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15892 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15893 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15895 * rt/clock_settime.c (clock_settime): Rename to
15896 __clock_settime. Add weak_alias and libc_hidden_def.
15897 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15899 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15901 * mach/err_boot.sub: Remove trailing whitespace.
15902 * mach/err_ipc.sub: Likewise.
15903 * mach/err_mach.sub: Likewise.
15905 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15906 (ROUNDING_TESTS_double): Likewise.
15907 (ROUNDING_TESTS_long_double): Likewise.
15908 (ROUNDING_TESTS): Likewise.
15909 * math/libm-test.inc: Include <math-tests.h>.
15910 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15911 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15912 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15913 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15915 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15917 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15920 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15922 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15923 otherwise empty TRANS lines.
15924 * sysdeps/gnu/errlist.c: Regenerated.
15926 * catgets/gencat.c (error_print): Use (void) in function
15928 * crypt/crypt_util.c (__init_des): Likewise.
15929 * crypt/speeds.c (Stop): Likewise.
15931 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15932 * inet/ruserpass.c (token): Likewise.
15933 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15934 * intl/localealias.c (extend_alias_table): Likewise.
15935 * intl/plural-exp.c (init_germanic_plural): Likewise.
15936 * libio/fcloseall.c (__fcloseall): Likewise.
15937 * libio/genops.c (_IO_flush_all): Likewise.
15938 (_IO_flush_all_linebuffered): Likewise.
15939 (_IO_cleanup): Likewise.
15940 (_IO_iter_begin): Likewise.
15941 (_IO_iter_end): Likewise.
15942 (_IO_list_lock): Likewise.
15943 (_IO_list_unlock): Likewise.
15944 (_IO_list_resetlock): Likewise.
15945 * libio/getchar.c (getchar): Likewise.
15946 * libio/getchar_u.c (getchar_unlocked): Likewise.
15947 * libio/getwchar.c (getwchar): Likewise.
15948 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15949 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15950 * login/getpt.c (__getpt): Likewise.
15951 * login/tst-utmp.c (main): Likewise.
15952 * malloc/hooks.c (__malloc_check_init): Likewise.
15953 * malloc/malloc.c (__malloc_stats): Likewise.
15954 * malloc/mtrace.c (tr_break): Likewise.
15955 (mtrace): Likewise.
15956 (muntrace): Likewise.
15957 * misc/fstab.c (endfsent): Likewise.
15958 * misc/getclktck.c (__getclktck): Likewise.
15959 * misc/getdtsz.c (__getdtablesize): Likewise.
15960 * misc/gethostid.c (gethostid): Likewise.
15961 * misc/getpagesize.c (__getpagesize): Likewise.
15962 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15963 (__get_nprocs): Likewise.
15964 (__get_phys_pages): Likewise.
15965 (__get_avphys_pages): Likewise.
15966 * misc/getttyent.c (getttyent): Likewise.
15967 (setttyent): Likewise.
15968 (endttyent): Likewise.
15969 * misc/getusershell.c (getusershell): Likewise.
15970 (endusershell): Likewise.
15971 (setusershell): Likewise.
15972 (initshells): Likewise.
15973 * misc/hsearch.c (__hdestroy): Likewise.
15974 * misc/sync.c (sync): Likewise.
15975 * misc/syslog.c (closelog_internal): Likewise.
15976 (closelog): Likewise.
15977 * misc/ttyslot.c (ttyslot): Likewise.
15978 * misc/vhangup.c (vhangup): Likewise.
15979 * posix/fork.c (__fork): Likewise.
15980 * posix/getegid.c (__getegid): Likewise.
15981 * posix/geteuid.c (__geteuid): Likewise.
15982 * posix/getgid.c (__getgid): Likewise.
15983 * posix/getpid.c (__getpid): Likewise.
15984 * posix/getppid.c (__getppid): Likewise.
15985 * posix/getuid.c (__getuid): Likewise.
15986 * posix/pause.c (pause): Likewise.
15987 * posix/setpgrp.c (setpgrp): Likewise.
15988 * posix/setsid.c (__setsid): Likewise.
15989 * posix/test-vfork.c (noop): Likewise.
15990 * resolv/gethnamaddr.c (_endhtent): Likewise.
15991 (_gethtent): Likewise.
15992 (ht_endhostent): Likewise.
15993 (gethostent): Likewise.
15994 (dns_service): Likewise.
15995 * stdlib/drand48.c (drand48): Likewise.
15996 * stdlib/lrand48.c (lrand48): Likewise.
15997 * stdlib/mrand48.c (mrand48): Likewise.
15998 * stdlib/rand.c (rand): Likewise.
15999 * stdlib/random.c (__random): Likewise.
16000 * stdlib/setenv.c (clearenv): Likewise.
16001 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16002 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16003 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16004 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16005 (__get_nprocs): Likewise.
16006 (__get_phys_pages): Likewise.
16007 (__get_avphys_pages): Likewise.
16008 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16009 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16010 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16011 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16012 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16013 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16014 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16015 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16016 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16017 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16018 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16019 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16020 * sysdeps/posix/clock.c (clock): Likewise.
16021 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16022 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16023 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16024 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16025 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16027 (__get_nprocs_conf): Likewise.
16028 (__get_phys_pages): Likewise.
16029 (__get_avphys_pages): Likewise.
16030 * time/clock.c (clock): Likewise.
16031 * time/tzset.c (__tzname_max): Likewise.
16033 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16035 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16036 (__bswap_32): Do not use "register".
16037 * crypt/crypt.c (_ufc_doit_r): Likewise.
16038 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16039 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16040 * gmon/gmon.c (__monstartup): Likewise.
16041 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16042 * hurd/hurdmalloc.c (more_memory): Likewise.
16043 (malloc): Likewise.
16045 (realloc): Likewise.
16046 (malloc_fork_prepare): Likewise.
16047 (malloc_fork_parent): Likewise.
16048 (malloc_fork_child): Likewise.
16049 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16050 (_svcauth_des): Likewise.
16051 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16052 * inet/inet_net.c (inet_network): Likewise.
16053 * inet/inet_netof.c (inet_netof): Likewise.
16054 * inet/rcmd.c (__validuser2_sa): Likewise.
16055 * io/fts.c (fts_open): Likewise.
16056 (fts_load): Likewise.
16057 (fts_close): Likewise.
16058 (fts_read): Likewise.
16059 (fts_children): Likewise.
16060 (fts_build): Likewise.
16061 (fts_stat): Likewise.
16062 (fts_sort): Likewise.
16063 (fts_alloc): Likewise.
16064 (fts_lfree): Likewise.
16065 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16066 (_IO_file_xsgetn): Likewise.
16067 (_IO_file_xsgetn_mmap): Likewise.
16068 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16069 (_IO_cookie_write): Likewise.
16070 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16071 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16072 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16073 * malloc/obstack.c (_obstack_begin): Likewise.
16074 (_obstack_begin_1): Likewise.
16075 (_obstack_newchunk): Likewise.
16076 (_obstack_allocated_p): Likewise.
16077 (obstack_free): Likewise.
16078 (_obstack_memory_used): Likewise.
16079 * misc/getttyent.c (getttynam): Likewise.
16080 (getttyent): Likewise.
16083 * misc/getusershell.c (initshells): Likewise.
16084 * misc/syslog.c (__vsyslog_chk): Likewise.
16085 * misc/ttyslot.c (ttyslot): Likewise.
16086 * nis/nis_hash.c (__nis_hash): Likewise.
16087 * posix/fnmatch_loop.c (FCT): Likewise.
16088 * posix/getconf.c (print_all): Likewise.
16090 * posix/getopt.c (exchange): Likewise.
16091 * posix/glob.c (globfree): Likewise.
16092 (prefix_array): Likewise.
16093 (__glob_pattern_type): Likewise.
16094 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16095 (NS_GET32): Likewise.
16096 (NS_PUT16): Likewise.
16097 (NS_PUT32): Likewise.
16098 * resolv/gethnamaddr.c (getanswer): Likewise.
16099 (gethostbyname2): Likewise.
16100 (gethostbyaddr): Likewise.
16101 (_gethtent): Likewise.
16102 (_gethtbyname2): Likewise.
16103 (_gethtbyaddr): Likewise.
16104 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16105 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16106 * resolv/res_init.c (__res_vinit): Likewise.
16107 (net_mask): Likewise.
16108 * resolv/res_mkquery.c (outchar): Likewise.
16110 * stdio-common/printf_fp.c (outchar): Likewise.
16112 * stdio-common/printf_fphex.c (outchar): Likewise.
16114 * stdio-common/printf_size.c (outchar): Likewise.
16116 * stdio-common/test_rdwr.c (main): Likewise.
16117 * stdio-common/tfformat.c (matches): Likewise.
16118 * stdio-common/vfprintf.c (outchar): Likewise.
16119 (printf_unknown): Likewise.
16120 (buffered_vfprintf): Likewise.
16121 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16122 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16123 (ReadFile): Likewise.
16124 * stdlib/qsort.c (SWAP): Likewise.
16125 (_quicksort): Likewise.
16126 * stdlib/setenv.c (__add_to_environ): Likewise.
16127 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16128 * stdlib/strtol_l.c (__strtol_l): Likewise.
16129 * stdlib/tst-strtod.c (main): Likewise.
16130 * stdlib/tst-strtol.c (main): Likewise.
16131 * stdlib/tst-strtoll.c (main): Likewise.
16132 * string/bits/string2.h (__strcmp_cc): Likewise.
16133 (__strcmp_cg): Likewise.
16134 (__strcspn_c1): Likewise.
16135 (__strcspn_c2): Likewise.
16136 (__strcspn_c3): Likewise.
16137 (__strspn_c1): Likewise.
16138 (__strspn_c2): Likewise.
16139 (__strspn_c3): Likewise.
16140 (__strsep_1c): Likewise.
16141 (__strsep_2c): Likewise.
16142 (__strsep_3c): Likewise.
16143 * string/memccpy.c (__memccpy): Likewise.
16144 * string/stpcpy.c (__stpcpy): Likewise.
16145 * string/strcmp.c (strcmp): Likewise.
16146 * string/strrchr.c (strrchr): Likewise.
16147 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16149 * sysdeps/mach/hurd/getcwd.c
16150 (_hurd_canonicalize_directory_name_internal): Likewise.
16151 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16152 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16153 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16154 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16155 Likewise, in both definitions.
16156 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16158 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16159 64] (__bswap_64): Likewise.
16160 * time/test_time.c (main): Likewise.
16161 * time/tzfile.c (__tzfile_read): Likewise.
16162 (__tzfile_compute): Likewise.
16163 * time/tzset.c (__tzset_parse_tz): Likewise.
16164 (tzset_internal): Likewise.
16165 (compute_change): Likewise.
16166 * wcsmbs/wcscat.c (__wcscat): Likewise.
16167 * wcsmbs/wcschr.c (wcschr): Likewise.
16168 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16169 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16170 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16171 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16172 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16173 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16174 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16175 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16176 * wcsmbs/wmemset.c (wmemset): Likewise.
16178 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16180 * scripts/config.guess: Update to version 2013-05-16.
16181 * scripts/config.sub: Update to version 2013-04-24.
16182 * scripts/install-sh: Update to version 2011-11-20.07.
16183 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16184 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16186 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16188 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16189 * elf/sln.c: Likewise.
16190 * hurd/hurd/ioctl.h: Likewise.
16191 * hurd/hurdmalloc.c: Likewise.
16192 * hurd/xattr.c: Likewise.
16193 * include/shlib-compat.h: Likewise.
16194 * inet/ruserpass.c: Likewise.
16195 * libio/iofgets_u.c: Likewise.
16196 * libio/iofgetws_u.c: Likewise.
16197 * locale/programs/ld-identification.c: Likewise.
16198 * locale/programs/ld-time.c: Likewise.
16199 * mach/msg-destroy.c: Likewise.
16200 * nss/nss_files/files-netgrp.c: Likewise.
16201 * resolv/res_data.c: Likewise.
16202 * soft-fp/op-1.h: Likewise.
16203 * soft-fp/op-2.h: Likewise.
16204 * soft-fp/op-4.h: Likewise.
16205 * soft-fp/op-common.h: Likewise.
16206 * stdio-common/printf_fphex.c: Likewise.
16207 * stdlib/strtod_l.c: Likewise.
16208 * sunrpc/rpc/clnt.h: Likewise.
16209 * sysdeps/generic/framestate.c: Likewise.
16210 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16211 * sysdeps/i386/bsd-setjmp.S: Likewise.
16212 * sysdeps/i386/__longjmp.S: Likewise.
16213 * sysdeps/i386/setjmp.S: Likewise.
16214 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16215 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16217 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16218 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16219 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16220 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16223 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16224 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16225 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16226 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16227 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16228 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16229 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16230 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16231 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16232 * sysdeps/ieee754/support.c: Likewise.
16233 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16234 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16235 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16236 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16237 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16238 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16239 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16240 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16241 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16242 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16243 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16244 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16245 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16246 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16247 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16248 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16249 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16252 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16254 * posix/transbug.c: Remove executable mode.
16256 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16258 * crypt/speeds.c: Remove trailing whitespace.
16259 * dlfcn/default.c: Likewise.
16260 * elf/ifuncdep2.c: Likewise.
16261 * elf/ifuncmain1.c: Likewise.
16262 * elf/ifuncmain1vis.c: Likewise.
16263 * elf/testobj.h: Likewise.
16264 * elf/tst-stackguard1.c: Likewise.
16265 * gmon/sys/gmon.h: Likewise.
16266 * hurd/hurdmsg.c: Likewise.
16267 * hurd/new-fd.c: Likewise.
16268 * hurd/ports-get.c: Likewise.
16269 * iconvdata/ibm1008_420.c: Likewise.
16270 * inet/tst-getni1.c: Likewise.
16271 * inet/tst-getni2.c: Likewise.
16272 * libio/ioungetc.c: Likewise.
16273 * libio/wfiledoalloc.c: Likewise.
16274 * manual/libm-err-tab.pl: Likewise.
16275 * math/w_dremf.c: Likewise.
16276 * misc/ftruncate.c: Likewise.
16277 * posix/bug-glob2.c: Likewise.
16278 * posix/tst-pcre.c: Likewise.
16279 * posix/wait4.c: Likewise.
16280 * resolv/README: Likewise.
16281 * resolv/res_debug.h: Likewise.
16282 * resolv/tst-inet_ntop.c: Likewise.
16283 * setjmp/bug269-setjmp.c: Likewise.
16284 * soft-fp/extended.h: Likewise.
16285 * soft-fp/op-1.h: Likewise.
16286 * soft-fp/op-2.h: Likewise.
16287 * soft-fp/op-4.h: Likewise.
16288 * soft-fp/op-8.h: Likewise.
16289 * soft-fp/testit.c: Likewise.
16290 * stdio-common/bug16.c: Likewise.
16291 * stdlib/random.c: Likewise.
16292 * sunrpc/rpcsvc/rquota.x: Likewise.
16293 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16294 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16295 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16296 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16297 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16298 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16299 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16300 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16301 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16302 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16303 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16320 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16322 * sysdeps/ieee754/s_lib_version.c: Likewise.
16323 * sysdeps/mach/hurd/check_fds.c: Likewise.
16324 * sysdeps/mach/hurd/getsockname.c: Likewise.
16325 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16326 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16327 * sysdeps/powerpc/bits/link.h: Likewise.
16328 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16329 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16330 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16331 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16332 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16333 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16334 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16335 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16336 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16337 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16338 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16339 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16340 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16341 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16342 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16343 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16344 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16345 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16346 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16347 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16348 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16349 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16350 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16351 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16352 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16353 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16354 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16355 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16356 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16357 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16358 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16359 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16360 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16361 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16362 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16363 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16364 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16365 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16366 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16367 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16368 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16369 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16370 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16371 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16372 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16373 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16374 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16375 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16376 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16377 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16378 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16380 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16381 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16382 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16383 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16384 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16385 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16386 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16387 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16388 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16389 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16390 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16391 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16392 * sysdeps/powerpc/sysdep.h: Likewise.
16393 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16394 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16395 * sysdeps/sh/dl-trampoline.S: Likewise.
16396 * sysdeps/sh/memset.S: Likewise.
16397 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16398 * sysdeps/sh/strlen.S: Likewise.
16399 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16400 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16401 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16402 * sysdeps/sparc/sparc32/rem.S: Likewise.
16403 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16404 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16405 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16406 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16407 * sysdeps/sparc/sparc32/urem.S: Likewise.
16408 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16409 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16410 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16411 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16412 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16413 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16414 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16415 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16416 * sysdeps/unix/bsd/times.c: Likewise.
16417 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16418 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16422 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16423 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16424 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16425 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16426 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16427 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16428 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16429 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16430 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16431 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16432 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16433 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16434 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16435 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16436 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16437 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16438 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16439 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16440 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16441 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16442 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16443 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16444 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16445 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16446 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16447 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16448 * sysdeps/x86_64/strcspn.S: Likewise.
16450 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16452 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16453 generated file. Regenerate properly from gen-translit.pl.
16454 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16455 locale/C-translit.h.
16457 2013-06-05 Andreas Schwab <schwab@suse.de>
16460 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16461 week as 6 instead of -1.
16462 * time/tst-strptime.c (day_tests): Add test case.
16464 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16466 * sysdeps/generic/math_private.h
16467 (libc_feholdexcept_setround_53bit): Replace with
16468 libc_feholdsetround_53bit.
16469 (libc_feupdateenv_53bit): Replace with
16470 libc_feresetround_53bit.
16471 (SET_RESTORE_ROUND_53BIT): Adjust.
16473 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16475 * string/test-strchrnul.c: Add copyright header.
16477 * posix/tst-getaddrinfo4.c: Increase test timeout.
16479 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16482 * math/libm-test.inc (MAX_EXP): Remove
16484 (ulp): Use MIN_EXP - MANT_DIG.
16485 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16487 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16489 * po/be.po: Revert last change.
16490 * po/zh_CN.po: Likewise.
16491 * po/header.pot: Likewise.
16493 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16495 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16496 link-libc-deps to empty as target-specific variable.
16497 * Makerules (link-libc-args): New variable.
16498 (libc-for-link): Likewise.
16499 (link-libc-deps): Likewise.
16500 (lib%.so): Depend on $(link-libc-deps). Link with
16502 (build-module): Link with $(link-libc-args).
16503 (build-module-asneeded): Likewise.
16504 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16506 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16507 target-specific variable.
16508 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16509 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16510 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16512 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16514 ($(objpfx)libpcprofile.so): Likewise.
16515 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16517 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16518 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16519 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16521 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16522 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16523 * login/Makefile ($(objpfx)libutil.so): Likewise.
16524 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16525 * math/Makefile ($(objpfx)libm.so): Likewise.
16526 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16527 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16528 variable instead of depending directly on libc.
16529 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16530 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16532 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16534 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16535 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16536 ($(objpfx)libanl.so): Likewise.
16537 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16539 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16541 * sysdeps/i386/fpu/Makefile: Remove file.
16542 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16543 ($(objpfx)libm.so): Remove dependency on ld.so.
16545 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16548 * nis/yp_xdr.c (XDRMAXNAME): Define.
16549 (XDRMAXRECORD): Define.
16550 (xdr_domainname): Use XDRMAXNAME.
16551 (xdr_mapname): Likewise.
16552 (xdr_peername): Likewise.
16553 (xdr_keydat): Use XDRMAXRECORD.
16554 (xdr_valdat): Likewise.
16556 2013-05-30 Jeff Law <law@redhat.com>
16559 * manual/errno.texi (ESTALE): Update to account for more than
16560 just NFS file systems.
16561 * sysdeps/gnu/errlist.c: Regenerated.
16563 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16566 * elf/Makefile (tests): Add tst-null-argv.
16567 (modules-names): Add tst-null-argv-lib.
16568 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16569 (tst-null-argv-ENV): Set environment for tst-null-argv.
16570 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16571 (RTLD_PROGNAME): New macro.
16572 * elf/tst-null-argv.c: New test case.
16573 * elf/tst-null-argv-lib.c: Library for test case.
16574 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16575 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16576 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16577 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16578 * elf/dl-init.c (call_init): Likewise.
16579 (_dl_init): Likewise.
16580 * elf/dl-load.c (print_search_path): Likewise.
16581 (_dl_map_object): Likewise.
16582 * elf/dl-lookup.c (do_lookup_x): Likewise.
16583 (add_dependency): Likewise.
16584 (_dl_lookup_symbol_x): Likewise.
16585 (_dl_debug_bindings): Likewise.
16586 * elf/dl-open.c (_dl_show_scope): Likewise.
16587 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16588 * elf/dl-version.c (match_symbol): Likewise.
16589 (_dl_check_map_versions): Likewise.
16590 * elf/rtld.c (dl_main): Likewise.
16591 (print_unresolved): Use RTLD_PROGNAME.
16592 (print_missing_version): Likewise.
16593 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16594 (elf_machine_rela): Likewise.
16595 * sysdeps/powerpc/powerpc32/dl-machine.c
16596 (__process_machine_rela): Likewise.
16597 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16599 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16601 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16603 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16604 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16606 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16608 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16610 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16612 * po/be.po: Add descriptive title.
16613 * po/zh_CN.po: Likewise.
16614 * po/header.pot: Likewise.
16616 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16618 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16620 (enlarge_archive): Likewise.
16622 2013-05-28 Ben North <ben@redfrontdoor.org>
16624 * manual/arith.texi (frexp): It is the magnitude of the return
16625 value which lies in [0.5, 1), not the return value itself.
16627 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16631 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16633 * stdio-common/bug26.c (main): Correct fscanf template.
16635 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16636 declare _dl_skip_args.
16638 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16641 * manual/platform.texi: Add missing @end deftypefun.
16643 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16646 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16647 bit of mantissa of 2^16382.
16648 * math/libm-test.inc (hypot_test_data): Add more tests.
16650 * math/libm-test.inc: Add drem and pow10 to list of tested
16652 (pow10_test): New function.
16653 (drem_test): Likewise.
16654 (drem_test_tonearest): Likewise.
16655 (drem_test_towardzero): Likewise.
16656 (drem_test_downward): Likewise.
16657 (drem_test_upward): Likewise.
16658 (main): Call the new functions.
16660 * math/libm-test.inc (finite_test_data): Remove.
16661 (finite_test): Run tests from isfinite_test_data.
16662 (gamma_test_data): Remove.
16663 (gamma_test): Run tests from lgamma_test_data.
16664 * sysdeps/i386/fpu/libm-test-ulps: Update.
16665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16667 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16669 * manual/platform.texi: Add PowerPC PPR function set documentation.
16670 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16673 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16675 * math/libm-test.inc (MAX_EXP): Define.
16677 (ulp): New function.
16678 (check_float_internal): Use ULPDIFF.
16679 (cpow_test): Disable failing test.
16680 (check_ulp): Test ulp() implemetnation.
16681 (main): Call check_ulp before starting tests.
16683 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16685 * math/gen-libm-test.pl (generate_testfile): Do not handle
16686 START_DATA and END_DATA.
16687 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16689 (acos_tonearest_test_data): Likewise.
16690 (acos_towardzero_test_data): Likewise.
16691 (acos_downward_test_data): Likewise.
16692 (acos_upward_test_data): Likewise.
16693 (acosh_test_data): Likewise.
16694 (asin_test_data): Likewise.
16695 (asin_tonearest_test_data): Likewise.
16696 (asin_towardzero_test_data): Likewise.
16697 (asin_downward_test_data): Likewise.
16698 (asin_upward_test_data): Likewise.
16699 (asinh_test_data): Likewise.
16700 (atan_test_data): Likewise.
16701 (atanh_test_data): Likewise.
16702 (atan2_test_data): Likewise.
16703 (cabs_test_data): Likewise.
16704 (cacos_test_data): Likewise.
16705 (cacosh_test_data): Likewise.
16706 (carg_test_data): Likewise.
16707 (casin_test_data): Likewise.
16708 (casinh_test_data): Likewise.
16709 (catan_test_data): Likewise.
16710 (catanh_test_data): Likewise.
16711 (cbrt_test_data): Likewise.
16712 (ccos_test_data): Likewise.
16713 (ccosh_test_data): Likewise.
16714 (ceil_test_data): Likewise.
16715 (cexp_test_data): Likewise.
16716 (cimag_test_data): Likewise.
16717 (clog_test_data): Likewise.
16718 (clog10_test_data): Likewise.
16719 (conj_test_data): Likewise.
16720 (copysign_test_data): Likewise.
16721 (cos_test_data): Likewise.
16722 (cos_tonearest_test_data): Likewise.
16723 (cos_towardzero_test_data): Likewise.
16724 (cos_downward_test_data): Likewise.
16725 (cos_upward_test_data): Likewise.
16726 (cosh_test_data): Likewise.
16727 (cosh_tonearest_test_data): Likewise.
16728 (cosh_towardzero_test_data): Likewise.
16729 (cosh_downward_test_data): Likewise.
16730 (cosh_upward_test_data): Likewise.
16731 (cpow_test_data): Likewise.
16732 (cproj_test_data): Likewise.
16733 (creal_test_data): Likewise.
16734 (csin_test_data): Likewise.
16735 (csinh_test_data): Likewise.
16736 (csqrt_test_data): Likewise.
16737 (ctan_test_data): Likewise.
16738 (ctan_tonearest_test_data): Likewise.
16739 (ctan_towardzero_test_data): Likewise.
16740 (ctan_downward_test_data): Likewise.
16741 (ctan_upward_test_data): Likewise.
16742 (ctanh_test_data): Likewise.
16743 (ctanh_tonearest_test_data): Likewise.
16744 (ctanh_towardzero_test_data): Likewise.
16745 (ctanh_downward_test_data): Likewise.
16746 (ctanh_upward_test_data): Likewise.
16747 (erf_test_data): Likewise.
16748 (erfc_test_data): Likewise.
16749 (exp_test_data): Likewise.
16750 (exp_tonearest_test_data): Likewise.
16751 (exp_towardzero_test_data): Likewise.
16752 (exp_downward_test_data): Likewise.
16753 (exp_upward_test_data): Likewise.
16754 (exp10_test_data): Likewise.
16755 (exp2_test_data): Likewise.
16756 (expm1_test_data): Likewise.
16757 (fabs_test_data): Likewise.
16758 (fdim_test_data): Likewise.
16759 (finite_test_data): Likewise.
16760 (floor_test_data): Likewise.
16761 (fma_test_data): Likewise.
16762 (fma_towardzero_test_data): Likewise.
16763 (fma_downward_test_data): Likewise.
16764 (fma_upward_test_data): Likewise.
16765 (fmax_test_data): Likewise.
16766 (fmin_test_data): Likewise.
16767 (fmod_test_data): Likewise.
16768 (fpclassify_test_data): Likewise.
16769 (frexp_test_data): Likewise.
16770 (gamma_test_data): Likewise.
16771 (hypot_test_data): Likewise.
16772 (ilogb_test_data): Likewise.
16773 (isfinite_test_data): Likewise.
16774 (isgreater_test_data): Likewise.
16775 (isgreaterequal_test_data): Likewise.
16776 (isinf_test_data): Likewise.
16777 (isless_test_data): Likewise.
16778 (islessequal_test_data): Likewise.
16779 (islessgreater_test_data): Likewise.
16780 (isnan_test_data): Likewise.
16781 (isnormal_test_data): Likewise.
16782 (issignaling_test_data): Likewise.
16783 (isunordered_test_data): Likewise.
16784 (j0_test_data): Likewise.
16785 (j1_test_data): Likewise.
16786 (jn_test_data): Likewise.
16787 (ldexp_test_data): Likewise.
16788 (lgamma_test_data): Likewise.
16789 (lrint_test_data): Likewise.
16790 (lrint_tonearest_test_data): Likewise.
16791 (lrint_towardzero_test_data): Likewise.
16792 (lrint_downward_test_data): Likewise.
16793 (lrint_upward_test_data): Likewise.
16794 (llrint_test_data): Likewise.
16795 (llrint_tonearest_test_data): Likewise.
16796 (llrint_towardzero_test_data): Likewise.
16797 (llrint_downward_test_data): Likewise.
16798 (llrint_upward_test_data): Likewise.
16799 (log_test_data): Likewise.
16800 (log10_test_data): Likewise.
16801 (log1p_test_data): Likewise.
16802 (log2_test_data): Likewise.
16803 (logb_test_data): Likewise.
16804 (logb_downward_test_data): Likewise.
16805 (lround_test_data): Likewise.
16806 (llround_test_data): Likewise.
16807 (modf_test_data): Likewise.
16808 (nearbyint_test_data): Likewise.
16809 (nextafter_test_data): Likewise.
16810 (nexttoward_test_data): Likewise.
16811 (pow_test_data): Likewise.
16812 (pow_tonearest_test_data): Likewise.
16813 (pow_towardzero_test_data): Likewise.
16814 (pow_downward_test_data): Likewise.
16815 (pow_upward_test_data): Likewise.
16816 (remainder_test_data): Likewise.
16817 (remainder_tonearest_test_data): Likewise.
16818 (remainder_towardzero_test_data): Likewise.
16819 (remainder_downward_test_data): Likewise.
16820 (remainder_upward_test_data): Likewise.
16821 (remquo_test_data): Likewise.
16822 (rint_test_data): Likewise.
16823 (rint_tonearest_test_data): Likewise.
16824 (rint_towardzero_test_data): Likewise.
16825 (rint_downward_test_data): Likewise.
16826 (rint_upward_test_data): Likewise.
16827 (round_test_data): Likewise.
16828 (scalb_test_data): Likewise.
16829 (scalbn_test_data): Likewise.
16830 (scalbln_test_data): Likewise.
16831 (signbit_test_data): Likewise.
16832 (sin_test_data): Likewise.
16833 (sin_tonearest_test_data): Likewise.
16834 (sin_towardzero_test_data): Likewise.
16835 (sin_downward_test_data): Likewise.
16836 (sin_upward_test_data): Likewise.
16837 (sincos_test_data): Likewise.
16838 (sinh_test_data): Likewise.
16839 (sinh_tonearest_test_data): Likewise.
16840 (sinh_towardzero_test_data): Likewise.
16841 (sinh_downward_test_data): Likewise.
16842 (sinh_upward_test_data): Likewise.
16843 (sqrt_test_data): Likewise.
16844 (tan_test_data): Likewise.
16845 (tan_tonearest_test_data): Likewise.
16846 (tan_towardzero_test_data): Likewise.
16847 (tan_downward_test_data): Likewise.
16848 (tan_upward_test_data): Likewise.
16849 (tanh_test_data): Likewise.
16850 (tgamma_test_data): Likewise.
16851 (trunc_test_data): Likewise.
16852 (y0_test_data): Likewise.
16853 (y1_test_data): Likewise.
16854 (yn_test_data): Likewise.
16855 (significand_test_data): Likewise.
16857 * math/gen-libm-test.pl (@functions): Remove variable.
16858 (generate_testfile): Don't handle START and END lines.
16859 * math/libm-test.inc (START): New macro.
16861 (END_COMPLEX): Likewise.
16862 (acos_test): Use END macro without arguments.
16863 (acos_test_tonearest): Likewise.
16864 (acos_test_towardzero): Likewise.
16865 (acos_test_downward): Likewise.
16866 (acos_test_upward): Likewise.
16867 (acosh_test): Likewise.
16868 (asin_test): Likewise.
16869 (asin_test_tonearest): Likewise.
16870 (asin_test_towardzero): Likewise.
16871 (asin_test_downward): Likewise.
16872 (asin_test_upward): Likewise.
16873 (asinh_test): Likewise.
16874 (atan_test): Likewise.
16875 (atanh_test): Likewise.
16876 (atan2_test): Likewise.
16877 (cabs_test): Likewise.
16878 (cacos_test): Use END_COMPLEX macro without arguments.
16879 (cacosh_test): Likewise.
16880 (carg_test): Use END macro without arguments.
16881 (casin_test): Use END_COMPLEX macro without arguments.
16882 (casinh_test): Likewise.
16883 (catan_test): Likewise.
16884 (catanh_test): Likewise.
16885 (cbrt_test): Use END macro without arguments.
16886 (ccos_test): Use END_COMPLEX macro without arguments.
16887 (ccosh_test): Likewise.
16888 (ceil_test): Use END macro without arguments.
16889 (cexp_test): Use END_COMPLEX macro without arguments.
16890 (cimag_test): Use END macro without arguments.
16891 (clog_test): Use END_COMPLEX macro without arguments.
16892 (clog10_test): Likewise.
16893 (conj_test): Likewise.
16894 (copysign_test): Use END macro without arguments.
16895 (cos_test): Likewise.
16896 (cos_test_tonearest): Likewise.
16897 (cos_test_towardzero): Likewise.
16898 (cos_test_downward): Likewise.
16899 (cos_test_upward): Likewise.
16900 (cosh_test): Likewise.
16901 (cosh_test_tonearest): Likewise.
16902 (cosh_test_towardzero): Likewise.
16903 (cosh_test_downward): Likewise.
16904 (cosh_test_upward): Likewise.
16905 (cpow_test): Use END_COMPLEX macro without arguments.
16906 (cproj_test): Likewise.
16907 (creal_test): Use END macro without arguments.
16908 (csin_test): Use END_COMPLEX macro without arguments.
16909 (csinh_test): Likewise.
16910 (csqrt_test): Likewise.
16911 (ctan_test): Likewise.
16912 (ctan_test_tonearest): Likewise.
16913 (ctan_test_towardzero): Likewise.
16914 (ctan_test_downward): Likewise.
16915 (ctan_test_upward): Likewise.
16916 (ctanh_test): Likewise.
16917 (ctanh_test_tonearest): Likewise.
16918 (ctanh_test_towardzero): Likewise.
16919 (ctanh_test_downward): Likewise.
16920 (ctanh_test_upward): Likewise.
16921 (erf_test): Use END macro without arguments.
16922 (erfc_test): Likewise.
16923 (exp_test): Likewise.
16924 (exp_test_tonearest): Likewise.
16925 (exp_test_towardzero): Likewise.
16926 (exp_test_downward): Likewise.
16927 (exp_test_upward): Likewise.
16928 (exp10_test): Likewise.
16929 (exp2_test): Likewise.
16930 (expm1_test): Likewise.
16931 (fabs_test): Likewise.
16932 (fdim_test): Likewise.
16933 (finite_test): Likewise.
16934 (floor_test): Likewise.
16935 (fma_test): Likewise.
16936 (fma_test_towardzero): Likewise.
16937 (fma_test_downward): Likewise.
16938 (fma_test_upward): Likewise.
16939 (fmax_test): Likewise.
16940 (fmin_test): Likewise.
16941 (fmod_test): Likewise.
16942 (fpclassify_test): Likewise.
16943 (frexp_test): Likewise.
16944 (gamma_test): Likewise.
16945 (hypot_test): Likewise.
16946 (ilogb_test): Likewise.
16947 (isfinite_test): Likewise.
16948 (isgreater_test): Likewise.
16949 (isgreaterequal_test): Likewise.
16950 (isinf_test): Likewise.
16951 (isless_test): Likewise.
16952 (islessequal_test): Likewise.
16953 (islessgreater_test): Likewise.
16954 (isnan_test): Likewise.
16955 (isnormal_test): Likewise.
16956 (issignaling_test): Likewise.
16957 (isunordered_test): Likewise.
16958 (j0_test): Likewise.
16959 (j1_test): Likewise.
16960 (jn_test): Likewise.
16961 (ldexp_test): Likewise.
16962 (lgamma_test): Likewise.
16963 (lrint_test): Likewise.
16964 (lrint_test_tonearest): Likewise.
16965 (lrint_test_towardzero): Likewise.
16966 (lrint_test_downward): Likewise.
16967 (lrint_test_upward): Likewise.
16968 (llrint_test): Likewise.
16969 (llrint_test_tonearest): Likewise.
16970 (llrint_test_towardzero): Likewise.
16971 (llrint_test_downward): Likewise.
16972 (llrint_test_upward): Likewise.
16973 (log_test): Likewise.
16974 (log10_test): Likewise.
16975 (log1p_test): Likewise.
16976 (log2_test): Likewise.
16977 (logb_test): Likewise.
16978 (logb_test_downward): Likewise.
16979 (lround_test): Likewise.
16980 (llround_test): Likewise.
16981 (modf_test): Likewise.
16982 (nearbyint_test): Likewise.
16983 (nextafter_test): Likewise.
16984 (nexttoward_test): Likewise.
16985 (pow_test): Likewise.
16986 (pow_test_tonearest): Likewise.
16987 (pow_test_towardzero): Likewise.
16988 (pow_test_downward): Likewise.
16989 (pow_test_upward): Likewise.
16990 (remainder_test): Likewise.
16991 (remainder_test_tonearest): Likewise.
16992 (remainder_test_towardzero): Likewise.
16993 (remainder_test_downward): Likewise.
16994 (remainder_test_upward): Likewise.
16995 (remquo_test): Likewise.
16996 (rint_test): Likewise.
16997 (rint_test_tonearest): Likewise.
16998 (rint_test_towardzero): Likewise.
16999 (rint_test_downward): Likewise.
17000 (rint_test_upward): Likewise.
17001 (round_test): Likewise.
17002 (scalb_test): Likewise.
17003 (scalbn_test): Likewise.
17004 (scalbln_test): Likewise.
17005 (signbit_test): Likewise.
17006 (sin_test): Likewise.
17007 (sin_test_tonearest): Likewise.
17008 (sin_test_towardzero): Likewise.
17009 (sin_test_downward): Likewise.
17010 (sin_test_upward): Likewise.
17011 (sincos_test): Likewise.
17012 (sinh_test): Likewise.
17013 (sinh_test_tonearest): Likewise.
17014 (sinh_test_towardzero): Likewise.
17015 (sinh_test_downward): Likewise.
17016 (sinh_test_upward): Likewise.
17017 (sqrt_test): Likewise.
17018 (tan_test): Likewise.
17019 (tan_test_tonearest): Likewise.
17020 (tan_test_towardzero): Likewise.
17021 (tan_test_downward): Likewise.
17022 (tan_test_upward): Likewise.
17023 (tanh_test): Likewise.
17024 (tgamma_test): Likewise.
17025 (trunc_test): Likewise.
17026 (y0_test): Likewise.
17027 (y1_test): Likewise.
17028 (yn_test): Likewise.
17029 (significand_test): Likewise.
17031 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17034 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17036 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17039 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17040 __ppc_mdoio and __ppc_mdoom.
17041 * manual/platform.texi: Document new functions __ppc_yield,
17042 __ppc_mdoio and __ppc_mdoom.
17044 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17046 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17047 (main): Mention "tls" pseudo-hwcap is legacy.
17048 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17050 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17052 * math/gen-libm-test.pl (parse_args): Output only string of
17053 arguments as text for test name, not full call or descriptions of
17054 tests for extra outputs.
17055 (generate_testfile): Do not pass function name to parse_args.
17056 Generate this_func variable from START.
17057 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17059 (struct test_ff_f_data): Likewise.
17060 (test_ff_f_data_nexttoward): Likewise.
17061 (struct test_fi_f_data): Likewise.
17062 (struct test_fl_f_data): Likewise.
17063 (struct test_if_f_data): Likewise.
17064 (struct test_fff_f_data): Likewise.
17065 (struct test_c_f_data): Likewise.
17066 (struct test_f_f1_data): Likewise. Remove field extra_name.
17067 (struct test_fF_f1_data): Likewise.
17068 (struct test_ffI_f1_data): Likewise.
17069 (struct test_c_c_data): Rename test_name field to arg_str.
17070 (struct test_cc_c_data): Likewise.
17071 (struct test_f_i_data): Likewise.
17072 (struct test_ff_i_data): Likewise.
17073 (struct test_f_l_data): Likewise.
17074 (struct test_f_L_data): Likewise.
17075 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17077 (COMMON_TEST_SETUP): New macro.
17078 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17079 (COMMON_TEST_CLEANUP): Likewise.
17080 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17081 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17083 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17084 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17086 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17087 (RUN_TEST_fff_f): Take argument string. Call new setup and
17089 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17090 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17092 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17093 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17095 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17096 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17098 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17099 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17101 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17102 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17104 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17105 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17107 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17108 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17110 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17111 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17113 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17114 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17116 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17117 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17119 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17120 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17122 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17123 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17125 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17126 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17128 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17129 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17131 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17132 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17134 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17136 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17138 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17139 to _sifields.sigfault.
17140 (si_addr_lsb): Define new macro.
17141 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17142 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17143 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17145 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17148 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17150 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17152 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17153 loading the domain.
17155 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17157 * math/gen-libm-test.pl (parse_args): Do not include expected
17158 result in test name.
17159 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17160 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17161 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17162 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17163 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17166 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17168 * benchtests/Makefile: Sort function entries.
17170 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17171 tanh, asinh, acosh, atanh.
17172 * benchtests/acos-inputs: New file.
17173 * benchtests/acosh-inputs: New file.
17174 * benchtests/asin-inputs: New file.
17175 * benchtests/asinh-inputs: New file.
17176 * benchtests/atanh-inputs: New file.
17177 * benchtests/cosh-inputs: New file.
17178 * benchtests/log-inputs: New file.
17179 * benchtests/sinh-inputs: New file.
17180 * benchtests/tanh-inputs: New file.
17182 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17185 * posix/tst-getaddrinfo4.c: New test.
17186 * posix/Makefile (tests): Add it.
17188 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17191 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17192 when no services were used.
17193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17194 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17196 2013-05-21 Andreas Schwab <schwab@suse.de>
17199 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17200 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17202 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17203 redundant variable declarations and reallocation of buffer when
17204 parsing as IPv6 address. Always set NSS status when called from
17205 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17206 buffer too small. Correct computation of needed size.
17207 * nss/Makefile (tests): Add test-digits-dots.
17208 * nss/test-digits-dots.c: New test.
17210 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17212 * benchtests/Makefile: Remove instructions for adding
17214 * benchtests/README: New file to explain how to execute and
17215 enhance the benchmark tests.
17217 2013-05-21 Andreas Schwab <schwab@suse.de>
17220 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17221 * setjmp/tst-sigsetjmp.c: New test.
17223 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17225 * sysdeps/x86_64/memset.S (memset): New implementation.
17226 (__bzero): Likewise.
17227 (__memset_tail): New function.
17229 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17231 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17232 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17233 __memcpy_sse2_unaligned ifunc selection.
17234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17235 Add memcpy-sse2-unaligned.S.
17236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17237 Add: __memcpy_sse2_unaligned.
17239 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17242 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17243 math_force_eval before restoring floating-point envrionment.
17244 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17245 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17247 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17249 (__nearbyintl): Use math_force_eval before restoring
17250 floating-point environment.
17251 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17253 * math/gen-libm-test.pl (special_functions): Remove.
17254 (parse_args): Don't handle TEST_extra. Handle functions with no
17256 * math/libm-test.inc (struct test_sincos_data): Replace with
17257 struct test_fFF_11_data.
17258 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17259 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17260 (sincos_test_data): Change element type to struct
17261 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17262 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17263 RUN_TEST_LOOP_sincos.
17264 * math/README.libm-test: Don't mention special handling of
17265 individual functions.
17266 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17268 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17269 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17270 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17273 * math/gen-libm-test.pl (get_variable): Remove function.
17274 (parse_args): Don't show pointer parameters to call in test
17275 names. Use "extra output N" in test names for extra outputs
17276 rather than naming variables.
17278 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17281 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17282 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17283 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17285 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17287 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17290 * math/gen-libm-test.pl (@tests): Remove variable.
17291 ($count): Likewise.
17292 (new_test): Remove function.
17293 (show_exceptions): New function.
17294 (special_functions): Use show_exceptions instead of new_test.
17295 (parse_args): Likewise.
17296 (generate_testfile): Pass only function name in generated call to
17297 print_max_error or print_complex_max_error.
17298 (get_ulps): Do not handle complex tests specially.
17299 (output_test): Rename to ...
17300 (get_all_ulps_for_test): ... this. Return a string rather than
17301 printing to a file. Require ulps to be present.
17302 (output_ulps): Generate arrays rather than #defines.
17303 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17304 (struct ulp_data): New type.
17305 (BUILD_COMPLEX_ULP): Remove macro.
17306 (compare_ulp_data): New function.
17307 (find_ulps): Likewise.
17308 (find_test_ulps): Likewise.
17309 (find_function_ulps): Likewise.
17310 (find_complex_function_ulps): Likewise.
17311 (print_max_error): Determine allowed ulps using
17312 find_function_ulps.
17313 (print_complex_max_error): Determine allowed ulps using
17314 find_complex_function_ulps.
17315 (check_float_internal): Determine max ulps using find_test_ulps.
17316 (check_float): Do not take max_ulp parameter. Update call to
17317 check_float_internal.
17318 (check_complex): Likewise.
17319 (check_int): Do not take max_ulp parameter.
17320 (check_long): Likewise.
17321 (check_bool): Likewise.
17322 (check_longlong): Likewise.
17323 (struct test_f_f_data): Remove max_ulp field.
17324 (struct test_ff_f_data): Likewise.
17325 (struct test_ff_f_data_nexttoward): Likewise.
17326 (struct test_fi_f_data): Likewise.
17327 (struct test_fl_f_data): Likewise.
17328 (struct test_if_f_data): Likewise.
17329 (struct test_fff_f_data): Likewise.
17330 (struct test_c_f_data): Likewise.
17331 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17332 (struct test_fF_f1_data): Likewise.
17333 (struct test_ffI_f1_data): Likewise.
17334 (struct test_c_c_data): Remove max_ulp field.
17335 (struct test_cc_c_data): Likewise.
17336 (struct test_f_i_data): Likewise.
17337 (struct test_ff_i_data): Likewise.
17338 (struct test_f_l_data): Likewise.
17339 (struct test_f_L_data): Likewise.
17340 (struct test_sincos_data): Likewise.
17341 (RUN_TEST_f_f): Do not handle ulps.
17342 (RUN_TEST_LOOP_f_f): Likewise.
17343 (RUN_TEST_2_f): Likewise.
17344 (RUN_TEST_LOOP_2_f): Likewise.
17345 (RUN_TEST_fff_f): Likewise.
17346 (RUN_TEST_LOOP_fff_f): Likewise.
17347 (RUN_TEST_c_f): Likewise.
17348 (RUN_TEST_LOOP_c_f): Likewise.
17349 (RUN_TEST_f_f1): Likewise.
17350 (RUN_TEST_LOOP_f_f1): Likewise.
17351 (RUN_TEST_fF_f1): Likewise.
17352 (RUN_TEST_LOOP_fF_f1): Likewise.
17353 (RUN_TEST_fI_f1): Likewise.
17354 (RUN_TEST_LOOP_fI_f1): Likewise.
17355 (RUN_TEST_ffI_f1): Likewise.
17356 (RUN_TEST_LOOP_ffI_f1): Likewise.
17357 (RUN_TEST_c_c): Likewise.
17358 (RUN_TEST_LOOP_c_c): Likewise.
17359 (RUN_TEST_cc_c): Likewise.
17360 (RUN_TEST_LOOP_cc_c): Likewise.
17361 (RUN_TEST_f_i): Likewise.
17362 (RUN_TEST_LOOP_f_i): Likewise.
17363 (RUN_TEST_f_i_tg): Likewise.
17364 (RUN_TEST_LOOP_f_i_tg): Likewise.
17365 (RUN_TEST_ff_i_tg): Likewise.
17366 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17367 (RUN_TEST_f_b): Likewise.
17368 (RUN_TEST_LOOP_f_b): Likewise.
17369 (RUN_TEST_f_b_tg): Likewise.
17370 (RUN_TEST_LOOP_f_b_tg): Likewise.
17371 (RUN_TEST_f_l): Likewise.
17372 (RUN_TEST_LOOP_f_l): Likewise.
17373 (RUN_TEST_f_L): Likewise.
17374 (RUN_TEST_LOOP_f_L): Likewise.
17375 (RUN_TEST_sincos): Likewise.
17376 (RUN_TEST_LOOP_sincos): Likewise.
17378 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17382 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17383 main case of finite arguments, set rounding mode to FE_TONEAREST
17384 and discard exceptions.
17385 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17387 (remainder_tonearest_test_data): New variable.
17388 (remainder_test_tonearest): New function.
17389 (remainder_towardzero_test_data): New variable.
17390 (remainder_test_towardzero): New function.
17391 (remainder_downward_test_data): New variable.
17392 (remainder_test_downward): New function.
17393 (remainder_upward_test_data): New variable.
17394 (remainder_test_upward): New function.
17395 (main): Call the new test functions.
17397 * math/libm-test.inc (struct test_f_f1_data): Remove field
17399 (struct test_fF_f1_data): Likewise.
17400 (struct test_ffI_f1_data): Likewise.
17401 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17402 based on value of EXTRA_EXPECTED.
17403 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17404 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17405 EXTRA_VAR based on value of EXTRA_EXPECTED.
17406 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17407 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17408 EXTRA_VAR based on value of EXTRA_EXPECTED.
17409 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17410 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17411 EXTRA_VAR based on value of EXTRA_EXPECTED.
17412 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17413 * math/gen-libm-test.pl (parse_args): Don't output initializers
17414 for extra output values.
17416 * math/libm-test.inc (check_int): Expect result to be exactly
17417 equal to expected value and do not handle ulps.
17418 (check_long): Likewise.
17419 (check_longlong): Likewise.
17421 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17423 (cimag_test_data): Likewise.
17424 (conj_test_data): Likewise.
17425 (copysign_test_data): Likewise.
17426 (cproj_test_data): Likewise.
17427 (creal_test_data): Likewise.
17428 (fabs_test_data): Likewise.
17429 (fdim_test_data): Likewise.
17430 (finite_test_data): Likewise.
17431 (floor_test_data): Likewise.
17432 (fmax_test_data): Likewise.
17433 (fmin_test_data): Likewise.
17434 (fmod_test_data): Likewise.
17435 (fpclassify_test_data): Likewise.
17436 (frexp_test_data): Likewise.
17437 (ilogb_test_data): Likewise.
17438 (isfinite_test_data): Likewise.
17439 (isgreater_test_data): Likewise.
17440 (isgreaterequal_test_data): Likewise.
17441 (isinf_test_data): Likewise.
17442 (isless_test_data): Likewise.
17443 (islessequal_test_data): Likewise.
17444 (islessgreater_test_data): Likewise.
17445 (isnan_test_data): Likewise.
17446 (isnormal_test_data): Likewise.
17447 (issignaling_test_data): Likewise.
17448 (isunordered_test_data): Likewise.
17449 (ldexp_test_data): Likewise.
17450 (lrint_test_data): Likewise.
17451 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17452 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17453 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17454 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17455 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17456 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17458 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17459 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17460 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17461 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17463 (lrint_downward_test_data): Test for "inexact" exceptions.
17464 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17465 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17466 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17468 (lrint_upward_test_data): Test for "inexact" exceptions.
17469 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17471 (llrint_test_data): Test for "inexact" exceptions.
17472 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17473 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17474 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17475 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17476 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17477 (llrint_downward_test_data): Test for "inexact" exceptions.
17478 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17479 (llrint_upward_test_data): Test for "inexact" exceptions.
17480 (logb_test_data): Likewise.
17481 (logb_downward_test_data): Likewise.
17482 (nextafter_test_data): Likewise.
17483 (nexttoward_test_data): Likewise.
17484 (remainder_test_data): Likewise.
17485 (remquo_test_data): Likewise.
17486 (scalbn_test_data): Likewise.
17487 (scalbln_test_data): Likewise.
17488 (signbit_test_data): Likewise.
17489 (sqrt_test_data): Likewise.
17490 (significand_test_data): Likewise.
17492 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17495 * benchtests/bench-modf.c (struct args): Mark arg0 as
17497 * scripts/bench.pl: Mark members of struct args as volatile.
17499 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17502 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17503 negative infinity on POWER6 or lower.
17504 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17506 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17509 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17510 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17511 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17512 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17513 (_FP_SETQNAN): New macro.
17514 (_FP_SETQNAN_SEMIRAW): Likewise.
17515 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17516 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17517 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17518 (FP_EXTEND): Use _FP_FRAC_SNANP.
17519 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17520 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17522 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17524 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17527 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17529 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17530 with DIVIDE_BY_ZERO_EXCEPTION.
17531 (gamma_test_data): Likewise.
17532 (lgamma_test_data): Likewise.
17533 (log_test_data): Likewise.
17534 (log10_test_data): Likewise.
17535 (log2_test_data): Likewise.
17536 (tgamma_test_data): Likewise.
17538 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17539 (acos_test_tonearest): Likewise.
17540 (acos_test_towardzero): Likewise.
17541 (acos_test_downward): Likewise.
17542 (acos_test_upward): Likewise.
17543 (acosh_test): Likewise.
17544 (asin_test): Likewise.
17545 (asin_test_tonearest): Likewise.
17546 (asin_test_towardzero): Likewise.
17547 (asin_test_downward): Likewise.
17548 (asin_test_upward): Likewise.
17549 (asinh_test): Likewise.
17550 (atan_test): Likewise.
17551 (atanh_test): Likewise.
17552 (atan2_test): Likewise.
17553 (cabs_test): Likewise.
17554 (cacos_test): Likewise.
17555 (cacosh_test): Likewise.
17556 (casin_test): Likewise.
17557 (casinh_test): Likewise.
17558 (catan_test): Likewise.
17559 (catanh_test): Likewise.
17560 (cbrt_test): Likewise.
17561 (ccos_test): Likewise.
17562 (ccosh_test): Likewise.
17563 (cexp_test): Likewise.
17564 (clog_test): Likewise.
17565 (clog10_test): Likewise.
17566 (cos_test): Likewise.
17567 (cos_test_tonearest): Likewise.
17568 (cos_test_towardzero): Likewise.
17569 (cos_test_downward): Likewise.
17570 (cos_test_upward): Likewise.
17571 (cosh_test): Likewise.
17572 (cosh_test_tonearest): Likewise.
17573 (cosh_test_towardzero): Likewise.
17574 (cosh_test_downward): Likewise.
17575 (cosh_test_upward): Likewise.
17576 (cpow_test): Likewise.
17577 (csin_test): Likewise.
17578 (csinh_test): Likewise.
17579 (csqrt_test): Likewise.
17580 (ctan_test): Likewise.
17581 (ctan_test_tonearest): Likewise.
17582 (ctan_test_towardzero): Likewise.
17583 (ctan_test_downward): Likewise.
17584 (ctan_test_upward): Likewise.
17585 (ctanh_test): Likewise.
17586 (ctanh_test_tonearest): Likewise.
17587 (ctanh_test_towardzero): Likewise.
17588 (ctanh_test_downward): Likewise.
17589 (ctanh_test_upward): Likewise.
17590 (erf_test): Likewise.
17591 (erfc_test): Likewise.
17592 (exp_test): Likewise.
17593 (exp_test_tonearest): Likewise.
17594 (exp_test_towardzero): Likewise.
17595 (exp_test_downward): Likewise.
17596 (exp_test_upward): Likewise.
17597 (exp10_test): Likewise.
17598 (exp2_test): Likewise.
17599 (expm1_test): Likewise.
17600 (fmod_test): Likewise.
17601 (gamma_test): Likewise.
17602 (hypot_test): Likewise.
17603 (j0_test): Likewise.
17604 (j1_test): Likewise.
17605 (jn_test): Likewise.
17606 (lgamma_test): Likewise.
17607 (log_test): Likewise.
17608 (log10_test): Likewise.
17609 (log1p_test): Likewise.
17610 (log2_test): Likewise.
17611 (logb_test_downward): Likewise.
17612 (pow_test): Likewise.
17613 (pow_test_tonearest): Likewise.
17614 (pow_test_towardzero): Likewise.
17615 (pow_test_downward): Likewise.
17616 (pow_test_upward): Likewise.
17617 (remainder_test): Likewise.
17618 (remquo_test): Likewise.
17619 (sin_test): Likewise.
17620 (sin_test_tonearest): Likewise.
17621 (sin_test_towardzero): Likewise.
17622 (sin_test_downward): Likewise.
17623 (sin_test_upward): Likewise.
17624 (sincos_test): Likewise.
17625 (sinh_test): Likewise.
17626 (sinh_test_tonearest): Likewise.
17627 (sinh_test_towardzero): Likewise.
17628 (sinh_test_downward): Likewise.
17629 (sinh_test_upward): Likewise.
17630 (sqrt_test): Likewise.
17631 (tan_test): Likewise.
17632 (tan_test_tonearest): Likewise.
17633 (tan_test_towardzero): Likewise.
17634 (tan_test_downward): Likewise.
17635 (tan_test_upward): Likewise.
17636 (tanh_test): Likewise.
17637 (tgamma_test): Likewise.
17638 (y0_test): Likewise.
17639 (y1_test): Likewise.
17640 (yn_test): Likewise.
17642 * math/gen-libm-test.pl (adjust_arg): Remove function.
17643 (special_function): Remove argument $in_func. Only handle
17644 generating output for tables of tests, not inside functions.
17645 (parse_args): Likewise.
17646 (generate_testfile): Remove variable $in_func. Update call to
17648 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17649 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17650 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17651 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17652 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17653 (MAX_VALUE_INIT): Rename macro to max_value.
17654 (MIN_VALUE_INIT): Rename macro to min_value.
17655 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17656 (plus_zero): Remove variable.
17657 (minus_zero): Likewise.
17658 (plus_infty): Likewise.
17659 (minus_infty): Likewise.
17660 (qnan_value): Likewise.
17661 (max_value): Likewise.
17662 (min_value): Likewise.
17663 (min_subnorm_value): Likewise.
17665 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17667 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17668 uint64_t or uint32_t usage.
17669 * crypt/sha256-block.c: Likewise.
17670 * crypt/sha256-crypt.c: Likewise.
17671 * crypt/sha256.c: Likewise.
17672 * crypt/sha512-block.c: Likewise.
17673 * crypt/sha512-crypt.c: Likewise.
17674 * crypt/sha512.c: Likewise.
17675 * debug/backtrace-tst.c: Likewise.
17676 * debug/pcprofiledump.c: Likewise.
17677 * elf/cache.c: Likewise.
17678 * elf/dl-cache.c: Likewise.
17679 * elf/dl-misc.c: Likewise.
17680 * elf/dl-profile.c: Likewise.
17681 * elf/dl-support.c: Likewise.
17682 * elf/ldconfig.c: Likewise.
17683 * elf/sprof.c: Likewise.
17684 * iconv/dummy-repertoire.c: Likewise.
17685 * iconv/iconv_charmap.c: Likewise.
17686 * iconv/skeleton.c: Likewise.
17687 * iconvdata/8bit-generic.c: Likewise.
17688 * iconvdata/cp737.h: Likewise.
17689 * iconvdata/cp775.h: Likewise.
17690 * iconvdata/ibm1008.h: Likewise.
17691 * iconvdata/ibm1025.h: Likewise.
17692 * iconvdata/ibm1046.h: Likewise.
17693 * iconvdata/ibm1097.h: Likewise.
17694 * iconvdata/ibm1112.h: Likewise.
17695 * iconvdata/ibm1122.h: Likewise.
17696 * iconvdata/ibm1123.h: Likewise.
17697 * iconvdata/ibm1124.h: Likewise.
17698 * iconvdata/ibm1129.h: Likewise.
17699 * iconvdata/ibm1130.h: Likewise.
17700 * iconvdata/ibm1132.h: Likewise.
17701 * iconvdata/ibm1133.h: Likewise.
17702 * iconvdata/ibm1137.h: Likewise.
17703 * iconvdata/ibm1140.h: Likewise.
17704 * iconvdata/ibm1141.h: Likewise.
17705 * iconvdata/ibm1142.h: Likewise.
17706 * iconvdata/ibm1143.h: Likewise.
17707 * iconvdata/ibm1144.h: Likewise.
17708 * iconvdata/ibm1145.h: Likewise.
17709 * iconvdata/ibm1146.h: Likewise.
17710 * iconvdata/ibm1147.h: Likewise.
17711 * iconvdata/ibm1148.h: Likewise.
17712 * iconvdata/ibm1149.h: Likewise.
17713 * iconvdata/ibm1153.h: Likewise.
17714 * iconvdata/ibm1154.h: Likewise.
17715 * iconvdata/ibm1155.h: Likewise.
17716 * iconvdata/ibm1156.h: Likewise.
17717 * iconvdata/ibm1157.h: Likewise.
17718 * iconvdata/ibm1158.h: Likewise.
17719 * iconvdata/ibm1160.h: Likewise.
17720 * iconvdata/ibm1161.h: Likewise.
17721 * iconvdata/ibm1162.h: Likewise.
17722 * iconvdata/ibm1163.h: Likewise.
17723 * iconvdata/ibm1164.h: Likewise.
17724 * iconvdata/ibm1166.h: Likewise.
17725 * iconvdata/ibm1167.h: Likewise.
17726 * iconvdata/ibm12712.h: Likewise.
17727 * iconvdata/ibm1390.h: Likewise.
17728 * iconvdata/ibm1399.h: Likewise.
17729 * iconvdata/ibm16804.h: Likewise.
17730 * iconvdata/ibm4517.h: Likewise.
17731 * iconvdata/ibm4899.h: Likewise.
17732 * iconvdata/ibm4909.h: Likewise.
17733 * iconvdata/ibm4971.h: Likewise.
17734 * iconvdata/ibm5347.h: Likewise.
17735 * iconvdata/ibm803.h: Likewise.
17736 * iconvdata/ibm856.h: Likewise.
17737 * iconvdata/ibm901.h: Likewise.
17738 * iconvdata/ibm902.h: Likewise.
17739 * iconvdata/ibm9030.h: Likewise.
17740 * iconvdata/ibm9066.h: Likewise.
17741 * iconvdata/ibm921.h: Likewise.
17742 * iconvdata/ibm922.h: Likewise.
17743 * iconvdata/ibm9448.h: Likewise.
17744 * iconvdata/isiri-3342.h: Likewise.
17745 * iconvdata/jis0201.h: Likewise.
17746 * include/link.h: Likewise.
17747 * include/netdb.h: Likewise.
17748 * inet/check_native.c: Likewise.
17749 * inet/check_pf.c: Likewise.
17750 * inet/getipv4sourcefilter.c: Likewise.
17751 * inet/getnameinfo.c: Likewise.
17752 * inet/getsourcefilter.c: Likewise.
17753 * inet/htonl.c: Likewise.
17754 * inet/setipv4sourcefilter.c: Likewise.
17755 * inet/setsourcefilter.c: Likewise.
17756 * inet/test-inet6_opt.c: Likewise.
17757 * inet/tst-network.c: Likewise.
17758 * locale/C-collate.c: Likewise.
17759 * locale/C-ctype.c: Likewise.
17760 * locale/C-time.c: Likewise.
17761 * locale/C-translit.h: Likewise.
17762 * locale/loadarchive.c: Likewise.
17763 * locale/programs/3level.h: Likewise.
17764 * locale/programs/charmap.c: Likewise.
17765 * locale/programs/charmap.h: Likewise.
17766 * locale/programs/ld-address.c: Likewise.
17767 * locale/programs/ld-collate.c: Likewise.
17768 * locale/programs/ld-ctype.c: Likewise.
17769 * locale/programs/ld-identification.c: Likewise.
17770 * locale/programs/ld-measurement.c: Likewise.
17771 * locale/programs/ld-messages.c: Likewise.
17772 * locale/programs/ld-monetary.c: Likewise.
17773 * locale/programs/ld-name.c: Likewise.
17774 * locale/programs/ld-numeric.c: Likewise.
17775 * locale/programs/ld-paper.c: Likewise.
17776 * locale/programs/ld-telephone.c: Likewise.
17777 * locale/programs/ld-time.c: Likewise.
17778 * locale/programs/linereader.c: Likewise.
17779 * locale/programs/locale.c: Likewise.
17780 * locale/programs/locarchive.c: Likewise.
17781 * locale/programs/locfile.h: Likewise.
17782 * locale/programs/repertoire.c: Likewise.
17783 * locale/programs/simple-hash.c: Likewise.
17784 * locale/programs/simple-hash.h: Likewise.
17785 * malloc/memusage.c: Likewise.
17786 * malloc/memusagestat.c: Likewise.
17787 * nis/nis_defaults.c: Likewise.
17788 * nis/nis_hash.c: Likewise.
17789 * nis/nis_print.c: Likewise.
17790 * nis/nis_xdr.c: Likewise.
17791 * nscd/connections.c: Likewise.
17792 * nscd/hstcache.c: Likewise.
17793 * nscd/nscd_gethst_r.c: Likewise.
17794 * nscd/nscd_getserv_r.c: Likewise.
17795 * nscd/nscd_helper.c: Likewise.
17796 * nscd/servicescache.c: Likewise.
17797 * nss/makedb.c: Likewise.
17798 * nss/nss_db/db-XXX.c: Likewise.
17799 * nss/nss_db/db-initgroups.c: Likewise.
17800 * nss/nss_db/db-netgrp.c: Likewise.
17801 * nss/nss_files/files-network.c: Likewise.
17802 * nss/nss_files/files-parse.c: Likewise.
17803 * posix/bug-regex5.c: Likewise.
17804 * posix/fnmatch_loop.c: Likewise.
17805 * posix/regcomp.c: Likewise.
17806 * posix/regexec.c: Likewise.
17807 * posix/tst-rfc3484-2.c: Likewise.
17808 * posix/tst-rfc3484-3.c: Likewise.
17809 * posix/tst-rfc3484.c: Likewise.
17810 * resolv/nss_dns/dns-canon.c: Likewise.
17811 * resolv/nss_dns/dns-network.c: Likewise.
17812 * resolv/res_init.c: Likewise.
17813 * resolv/res_mkquery.c: Likewise.
17814 * resolv/tst-aton.c: Likewise.
17815 * stdlib/cxa_atexit.c: Likewise.
17816 * stdlib/cxa_finalize.c: Likewise.
17817 * stdlib/gen-fpioconst.c: Likewise.
17818 * stdlib/strtol_l.c: Likewise.
17819 * string/tst-endian.c: Likewise.
17820 * sunrpc/auth_des.c: Likewise.
17821 * sunrpc/clnt_udp.c: Likewise.
17822 * sunrpc/rtime.c: Likewise.
17823 * sunrpc/svcauth_des.c: Likewise.
17824 * sunrpc/xdr.c: Likewise.
17825 * sunrpc/xdr_intXX_t.c: Likewise.
17826 * sunrpc/xdr_rec.c: Likewise.
17827 * sysdeps/generic/ldconfig.h: Likewise.
17828 * sysdeps/generic/ldsodefs.h: Likewise.
17829 * sysdeps/generic/memusage.h: Likewise.
17830 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17831 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17832 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17833 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17840 * sysdeps/posix/getaddrinfo.c: Likewise.
17841 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17842 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17843 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17844 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17845 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17846 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17847 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17848 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17849 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17850 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17851 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17852 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17853 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17854 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17855 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17856 * sysdeps/x86_64/dl-tls.h: Likewise.
17857 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17858 * time/alt_digit.c: Likewise.
17859 * time/era.c: Likewise.
17860 * wcsmbs/tst-c16c32-1.c: Likewise.
17862 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17864 * math/libm-test.inc (struct test_sincos_data): New type.
17865 (RUN_TEST_LOOP_sincos): New macro.
17866 (sincos_test_data): New variable.
17867 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17869 2013-05-16 Richard Henderson <rth@redhat.com>
17871 * math/atest-exp2.c (LIMB64): New macro.
17872 (CONSTSZ): New macro.
17873 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17875 (print_mpn_fp): ... to function scope.
17876 (read_mpn_hex): Remove.
17877 (get_log2): Remove.
17878 (exp2_mpn): Use mp_log2.
17879 (main): Use mp_exp1.
17881 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17883 * math/libm-test.inc: Remove comment about not testing "inexact"
17885 (INEXACT_EXCEPTION): New macro.
17886 (NO_INEXACT_EXCEPTION): Likewise.
17887 (INVALID_EXCEPTION_OK): Update value.
17888 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17889 (OVERFLOW_EXCEPTION_OK): Likewise.
17890 (UNDERFLOW_EXCEPTION_OK): Likewise.
17891 (IGNORE_ZERO_INF_SIGN): Likewise.
17892 (ERRNO_UNCHANGED): Likewise.
17893 (ERRNO_EDOM): Likewise.
17894 (ERRNO_ERANGE): Likewise.
17895 (test_exceptions): Handle testing "inexact" exceptions.
17896 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17897 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17898 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17899 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17901 (rint_towardzero_test_data): Likewise.
17902 (rint_downward_test_data): Likewise.
17903 (rint_upward_test_data): Likewise.
17905 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17906 with OVERFLOW_EXCEPTION.
17907 (exp10_test_data): Likewise.
17908 (exp2_test_data): Likewise.
17909 (expm1_test_data): Likewise.
17910 (lgamma_test_data): Likewise.
17911 (pow_test_data): Likewise.
17912 (tgamma_test_data): Likewise.
17913 (yn_test_data): Remove duplicate test of overflow.
17915 * math/libm-test.inc (struct test_cc_c_data): New type.
17916 (RUN_TEST_LOOP_cc_c): New macro.
17917 (cpow_test_data): New variable.
17918 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17920 * math/libm-test.inc (struct test_f_L_data): New type.
17921 (RUN_TEST_LOOP_f_L): New macro.
17922 (llrint_test_data): New variable.
17923 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17924 (llrint_tonearest_test_data): New variable.
17925 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17926 (llrint_towardzero_test_data): New variable.
17927 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17928 (llrint_downward_test_data): New variable.
17929 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17930 (llrint_upward_test_data): New variable.
17931 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17932 (llround_test_data): New variable.
17933 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17935 2013-05-13 Peter Collingbourne <pcc@google.com>
17937 * math/atest-exp2.c (get_log2): Remove const attribute.
17939 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17941 * math/libm-test.inc (struct test_f_l_data): New type.
17942 (RUN_TEST_LOOP_f_l): New macro.
17943 (lrint_test_data): New variable.
17944 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17945 (lrint_tonearest_test_data): New variable.
17946 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17947 (lrint_towardzero_test_data): New variable.
17948 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17949 (lrint_downward_test_data): New variable.
17950 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17951 (lrint_upward_test_data): New variable.
17952 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17953 (lround_test_data): New variable.
17954 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17956 2013-05-15 Peter Collingbourne <pcc@google.com>
17958 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17959 (EXTRACT_WORDS64) Use where appropriate.
17960 (INSERT_WORDS64) Likewise.
17962 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17963 constraints with x constraints.
17964 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17966 * malloc/obstack.c (_obstack_compat): Add initializer.
17968 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17970 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17971 si_trapno and add si_addr_lsb to _sifields.sigfault.
17972 (si_trapno): Remove macro.
17973 (si_addr_lsb): Define new macro.
17974 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17976 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17978 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17979 instead of TEST_f_l.
17980 (llrint_test_tonearest): Likewise.
17981 (llrint_test_towardzero): Likewise.
17982 (llrint_test_downward): Likewise.
17983 (llrint_test_upward): Likewise.
17984 (llround_test): Likewise.
17986 * math/libm-test.inc (struct test_f_i_data): Add comment.
17987 (RUN_TEST_LOOP_f_b): New macro.
17988 (RUN_TEST_LOOP_f_b_tg): Likewise.
17989 (finite_test_data): New variable.
17990 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17991 (isfinite_test_data): New variable.
17992 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17993 (isinf_test_data): New variable.
17994 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17995 (isnan_test_data): New variable.
17996 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17997 (isnormal_test_data): New variable.
17998 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17999 (issignaling_test_data): New variable.
18000 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18001 (signbit_test_data): New variable.
18002 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18004 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18005 with INVALID_EXCEPTION.
18006 (acosh_test_data): Likewise.
18007 (asin_test_data): Likewise.
18008 (atanh_test_data): Likewise.
18009 (fmod_test_data): Likewise.
18010 (log_test_data): Likewise.
18011 (log10_test_data): Likewise.
18012 (log2_test_data): Likewise.
18013 (pow_test_data): Likewise.
18014 (sqrt_test_data): Likewise.
18015 (y0_test_data): Likewise.
18016 (y1_test_data): Likewise.
18017 (yn_test_data): Likewise.
18019 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18022 * math/libm-test.inc (struct test_ff_i_data): New type.
18023 (RUN_TEST_LOOP_ff_i_tg): New macro.
18024 (isgreater_test_data): New variable.
18025 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18026 (isgreaterequal_test_data): New variable.
18027 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18028 (isless_test_data): New variable.
18029 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18030 (islessequal_test_data): New variable.
18031 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18032 (islessgreater_test_data): New variable.
18033 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18034 (isunordered_test_data): New variable.
18035 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18037 2013-05-14 David S. Miller <davem@davemloft.net>
18039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18041 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18043 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18045 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18047 (struct test_f_i_data): Change type of max_ulp to int.
18049 * math/libm-test.inc (test_ffI_f1_data): New type.
18050 (RUN_TEST_LOOP_ffI_f1): New macro.
18051 (remquo_test_data): New variable.
18052 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18054 * setjmp/tst-setjmp-fp.c: New file.
18055 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18056 (link-libm): New variable.
18057 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18059 * math/libm-test.inc (struct test_f_i_data): New type.
18060 (RUN_TEST_LOOP_f_i): New macro.
18061 (RUN_TEST_LOOP_f_i_tg): Likewise.
18062 (fpclassify_test_data): New variable.
18063 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18064 (ilogb_test_data): New variable.
18065 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18067 * math/libm-test.inc (scalbln_test): Correct function name in END
18070 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18071 (RUN_TEST_LOOP_fI_f1): New macro.
18072 (frexp_test_data): New variable.
18073 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18075 * math/libm-test.inc (struct test_fF_f1_data): New type.
18076 (RUN_TEST_LOOP_fF_f1): New macro.
18077 (modf_test_data): New variable.
18078 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18080 * math/libm-test.inc (struct test_f_f1_data): New type.
18081 (RUN_TEST_LOOP_f_f1): New macro.
18082 (gamma_test_data): New variable.
18083 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18084 (lgamma_test_data): New variable.
18085 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18087 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18089 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18090 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18091 (main): Comment "tls" pseudo-hwcap.
18093 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18095 * math/libm-test.inc (struct test_fl_f_data): New type.
18096 (RUN_TEST_LOOP_fl_f): New variable.
18097 (scalbln_test_data): New variable.
18098 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18100 * math/libm-test.inc (struct test_fi_f_data): New type.
18101 (RUN_TEST_LOOP_fi_f): New macro.
18102 (ldexp_test_data): New variable.
18103 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18104 (scalbn_test_data): New variable.
18105 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18107 * math/libm-test.inc (struct test_c_f_data): New type.
18108 (RUN_TEST_LOOP_c_f): New macro.
18109 (cabs_test_data): New variable.
18110 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18111 (carg_test_data): New variable.
18112 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18113 (cimag_test_data): New variable.
18114 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18115 (creal_test_data): New variable.
18116 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18118 * math/libm-test.inc (struct test_if_f_data): New type.
18119 (RUN_TEST_LOOP_if_f): New macro.
18120 (jn_test_data): New variable.
18121 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18122 (yn_test_data): New variable.
18123 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18125 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18127 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18129 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18130 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18132 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18134 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18135 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18136 (bench-deps): Add bench-timing.h.
18137 * benchtests-bench-skeleton.c: Include bench-timing.h.
18138 (main): Use TIMING_* macros instead of clock_gettime.
18139 * benchtests/bench-timing.h: New file.
18142 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18143 Renamed from _LIB_VERSION.
18144 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18146 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18148 * math/libm-test.inc (struct test_fff_f_data): New type.
18149 (RUN_TEST_LOOP_fff_f): New macro.
18150 (fma_test_data): New variable.
18151 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18152 (fma_towardzero_test_data): New variable.
18153 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18154 (fma_downward_test_data): New variable.
18155 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18156 (fma_upward_test_data): New variable.
18157 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18159 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18160 (struct test_c_c_data): New type.
18161 (RUN_TEST_LOOP_c_c): New macro.
18162 (cacos_test_data): New variable.
18163 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18164 (cacosh_test_data): New variable.
18165 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18166 (casin_test_data): New variable.
18167 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18168 (casinh_test_data): New variable.
18169 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18170 (catan_test_data): New variable.
18171 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18172 (catanh_test_data): New variable.
18173 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18174 (ccos_test_data): New variable.
18175 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18176 (ccosh_test_data): New variable.
18177 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18178 (cexp_test_data): New variable.
18179 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18180 (clog_test_data): New variable.
18181 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18182 (clog10_test_data): New variable.
18183 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18184 (conj_test_data): New variable.
18185 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18186 (cproj_test_data): New variable.
18187 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18188 (csin_test_data): New variable.
18189 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18190 (csinh_test_data): New variable.
18191 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18192 (csqrt_test_data): New variable.
18193 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18194 (ctan_test_data): New variable.
18195 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18196 (ctan_tonearest_test_data): New variable.
18197 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18198 (ctan_towardzero_test_data): New variable.
18199 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18200 (ctan_downward_test_data): New variable.
18201 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18202 (ctan_upward_test_data): New variable.
18203 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18204 (ctanh_test_data): New variable.
18205 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18206 (ctanh_tonearest_test_data): New variable.
18207 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18208 (ctanh_towardzero_test_data): New variable.
18209 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18210 (ctanh_downward_test_data): New variable.
18211 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18212 (ctanh_upward_test_data): New variable.
18213 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18214 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18217 * math/libm-test.inc (struct test_ff_f_data): New type.
18218 (struct test_ff_f_data_nexttoward): Likewise.
18219 (RUN_TEST_LOOP_2_f): New macro.
18220 (RUN_TEST_LOOP_ff_f): Likewise.
18221 (atan2_test_data): New variable.
18222 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18223 (copysign_test_data): New variable.
18224 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18225 (fdim_test_data): New variable.
18226 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18227 (fmax_test_data): New variable.
18228 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18229 (fmin_test_data): New variable.
18230 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18231 (fmod_test_data): New variable.
18232 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18233 (hypot_test_data): New variable.
18234 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18235 (nextafter_test_data): New variable.
18236 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18237 (nexttoward_test_data): New variable.
18238 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18239 (pow_test_data): New variable.
18240 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18241 (pow_tonearest_test_data): New variable.
18242 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18243 (pow_towardzero_test_data): New variable.
18244 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18245 (pow_downward_test_data): New variable.
18246 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18247 (pow_upward_test_data): New variable.
18248 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18249 (remainder_test_data): New variable.
18250 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18251 (scalb_test_data): New variable.
18252 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18253 * sysdeps/i386/fpu/libm-test-ulps: Update.
18255 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18257 * math/libm-test.inc (fma_test): Use max_value instead of local
18259 (nextafter_test): Likewise.
18261 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18262 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18263 (acos_downward_test_data): New variable.
18264 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18265 (acos_upward_test_data): New variable.
18266 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18267 (acosh_test_data): New variable.
18268 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18269 (asin_test_data): New variable.
18270 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18271 (asin_tonearest_test_data): New variable.
18272 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18273 (asin_towardzero_test_data): New variable.
18274 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18275 (asin_downward_test_data): New variable.
18276 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18277 (asin_upward_test_data): New variable.
18278 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18279 (asinh_test_data): New variable.
18280 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18281 (atan_test_data): New variable.
18282 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18283 (atanh_test_data): New variable.
18284 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18285 (cbrt_test_data): New variable.
18286 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18287 (ceil_test_data): New variable.
18288 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18289 (cos_test_data): New variable.
18290 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18291 (cos_tonearest_test_data): New variable.
18292 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18293 (cos_towardzero_test_data): New variable.
18294 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18295 (cos_downward_test_data): New variable.
18296 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18297 (cos_upward_test_data): New variable.
18298 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18299 (cosh_test_data): New variable.
18300 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18301 (cosh_tonearest_test_data): New variable.
18302 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18303 (cosh_towardzero_test_data): New variable.
18304 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18305 (cosh_downward_test_data): New variable.
18306 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18307 (cosh_upward_test_data): New variable.
18308 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18309 (erf_test_data): New variable.
18310 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18311 (erfc_test_data): New variable.
18312 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18313 (exp_test_data): New variable.
18314 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18315 (exp_tonearest_test_data): New variable.
18316 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18317 (exp_towardzero_test_data): New variable.
18318 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18319 (exp_downward_test_data): New variable.
18320 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18321 (exp_upward_test_data): New variable.
18322 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18323 (exp10_test_data): New variable.
18324 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18325 (exp2_test_data): New variable.
18326 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18327 (expm1_test_data): New variable.
18328 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18329 (fabs_test_data): New variable.
18330 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18331 (floor_test_data): New variable.
18332 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18333 (j0_test_data): New variable.
18334 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18335 (j1_test_data): New variable.
18336 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18337 (log_test_data): New variable.
18338 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18339 (log10_test_data): New variable.
18340 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18341 (log1p_test_data): New variable.
18342 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18343 (log2_test_data): New variable.
18344 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18345 (logb_test_data): New variable.
18346 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18347 (logb_downward_test_data): New variable.
18348 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18349 (nearbyint_test_data): New variable.
18350 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18351 (rint_test_data): New variable.
18352 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18353 (rint_tonearest_test_data): New variable.
18354 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18355 (rint_towardzero_test_data): New variable.
18356 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18357 (rint_downward_test_data): New variable.
18358 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18359 (rint_upward_test_data): New variable.
18360 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18361 (round_test_data): New variable.
18362 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18363 (sin_test_data): New variable.
18364 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18365 (sin_tonearest_test_data): New variable.
18366 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18367 (sin_towardzero_test_data): New variable.
18368 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18369 (sin_downward_test_data): New variable.
18370 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18371 (sin_upward_test_data): New variable.
18372 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18373 (sinh_test_data): New variable.
18374 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18375 (sinh_tonearest_test_data): New variable.
18376 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18377 (sinh_towardzero_test_data): New variable.
18378 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18379 (sinh_downward_test_data): New variable.
18380 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18381 (sinh_upward_test_data): New variable.
18382 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18383 (sqrt_test_data): New variable.
18384 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18385 (tan_test_data): New variable.
18386 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18387 (tan_tonearest_test_data): New variable.
18388 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18389 (tan_towardzero_test_data): New variable.
18390 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18391 (tan_downward_test_data): New variable.
18392 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18393 (tan_upward_test_data): New variable.
18394 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18395 (tanh_test_data): New variable.
18396 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18397 (tgamma_test_data): New variable.
18398 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18399 (trunc_test_data): New variable.
18400 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18401 (y0_test_data): New variable.
18402 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18403 (y1_test_data): New variable.
18404 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18405 (significand_test_data): New variable.
18406 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18408 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18411 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18413 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18415 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18417 2013-05-10 Andreas Jaeger <aj@suse.de>
18420 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18421 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18423 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18425 * math/gen-libm-test.pl (adjust_arg): New function.
18426 (special_functions): Handle generating output in both functions
18428 (parse_args): Likewise.
18429 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18430 $in_func argument to parse_args.
18431 * math/libm-test.inc (struct test_f_f_data): New type.
18432 (IF_ROUND_INIT_): New macro.
18433 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18434 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18435 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18436 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18437 (ROUND_RESTORE_): Likewise.
18438 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18439 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18440 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18441 (ROUND_RESTORE_FE_UPWARD): Likewise.
18442 (RUN_TEST_LOOP_f_f): New macro.
18443 (acos_test_data): New variable.
18444 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18445 (acos_tonearest_test_data): New variable.
18446 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18448 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18450 * benchtests/bench-skeleton.c (startup): Fix coding style.
18452 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18455 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18456 negative infinity argument.
18457 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18458 negative infinity argument.
18459 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18460 negative infinity argument.
18461 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18464 2013-05-10 Florian Weimer <fweimer@redhat.com>
18466 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18467 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18468 * iconv/iconv_prog.c (main): Likewise.
18469 * locale/programs/charmap-dir.c (charmap_readdir)
18470 (fopen_uncompressed): Likewise.
18471 * locale/programs/locfile.c (siblings_uncached)
18472 (write_locale_data): Use lstat64 instead of lstat.
18473 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18476 2013-05-10 Andreas Jaeger <aj@suse.de>
18479 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18481 Include <locale.h>.
18483 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18485 * elf/dl-close.c (_dl_close_worker): Add comments.
18487 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18490 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18492 (__ieee754_rem_pio2l): Update comments.
18495 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18497 (__ieee754_rem_pio2l): Update comments.
18499 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18500 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18502 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18505 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18506 (M_PI_34_LOG10El): Likewise.
18507 (M_PI2_LOG10El): Likewise.
18508 (M_PI4_LOG10El): Likewise.
18509 (M_PI_LOG10El): Likewise.
18511 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18515 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18517 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18518 (MINUS_ZERO_INIT): Likewise.
18519 (PLUS_INFTY_INIT): Likewise.
18520 (MINUS_INFTY_INIT): Likewise.
18521 (QNAN_VALUE_INIT): Likewise.
18522 (MAX_VALUE_INIT): Likewise.
18523 (MIN_VALUE_INIT): Likewise.
18524 (MIN_SUBNORM_VALUE_INIT): Likewise.
18525 (plus_zero): Initialize with PLUS_ZERO_INIT.
18526 (minus_zero): Initialize with MINUS_ZERO_INIT.
18527 (plus_infty): Initialize with PLUS_INFTY_INIT.
18528 (minus_infty): Initialize with MINUS_INFTY_INIT.
18529 (qnan_value): Initialize with QNAN_VALUE_INIT.
18530 (max_value): Initialize with MAX_VALUE_INIT.
18531 (min_value): Initialize with MIN_VALUE_INIT.
18532 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18534 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18535 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18536 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18537 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18539 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18540 (RUN_TEST_2_f): Likewise.
18541 (RUN_TEST_ff_f): Likewise.
18542 (RUN_TEST_fi_f): Likewise.
18543 (RUN_TEST_fl_f): Likewise.
18544 (RUN_TEST_fff_f): Likewise.
18545 (RUN_TEST_c_f): Likewise.
18546 (RUN_TEST_f_f1): Likewise.
18547 (RUN_TEST_fF_f1): Likewise.
18548 (RUN_TEST_fI_f1): Likewise.
18549 (RUN_TEST_ffI_f1): Likewise.
18550 (RUN_TEST_c_c): Likewise.
18551 (RUN_TEST_cc_c): Likewise.
18552 (RUN_TEST_f_i): Likewise.
18553 (RUN_TEST_f_i_tg): Likewise.
18554 (RUN_TEST_ff_i_tg): Likewise.
18555 (RUN_TEST_f_b): Likewise.
18556 (RUN_TEST_f_b_tg): Likewise.
18557 (RUN_TEST_f_l): Likewise.
18558 (RUN_TEST_f_L): Likewise.
18559 (RUN_TEST_sincos): Likewise.
18560 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18561 whether to show exceptions. Do not include ");\n" in return
18563 (special_functions): Output call to RUN_TEST_sincos instead of
18564 check_float calls. Update calls to new_test.
18565 (parse_args): Output call to single RUN_TEST_* macro instead of
18566 check_* calls and other assignments. Update calls to new_test.
18572 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18573 input to result for tgamma overflow.
18574 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18575 (gamma_coeff): New variable.
18576 (NCOEFF): New macro.
18577 (gamma_positive): New function.
18578 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18579 underflow here. Use gamma_positive instead of exp (lgamma) for
18581 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18582 (gamma_coeff): New variable.
18583 (NCOEFF): New macro.
18584 (gammaf_positive): New function.
18585 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18586 underflow here. Use gamma_positive instead of exp (lgamma) for
18588 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18589 (gamma_coeff): New variable.
18590 (NCOEFF): New macro.
18591 (gammal_positive): New function.
18592 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18593 underflow here. Use gamma_positive instead of exp (lgamma) for
18595 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18596 (gamma_coeff): New variable.
18597 (NCOEFF): New macro.
18598 (gammal_positive): New function.
18599 (__ieee754_gammal_r): Handle positive infinity, overflow and
18600 underflow here. Handle NaN the same as positive infinity. Remove
18601 check x < 0xffffffff for negative integers. Use gamma_positive
18602 instead of exp (lgamma) for other arguments.
18603 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18604 (gamma_coeff): New variable.
18605 (NCOEFF): New macro.
18606 (gammal_positive): New function.
18607 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18608 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18609 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18610 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18611 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18612 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18613 * sysdeps/generic/math_private.h (__gamma_productf): New
18615 (__gamma_product): Likewise.
18616 (__gamma_productl): Likewise.
18617 * math/Makefile (libm-calls): Add gamma_product.
18618 * math/libm-test.inc (tgamma_test): Add more tests.
18619 * sysdeps/i386/fpu/libm-test-ulps: Update.
18620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18622 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18624 * benchtests/bench-skeleton.c (main): Preheat CPU.
18626 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18628 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18630 2013-05-07 Roland McGrath <roland@hack.frob.com>
18632 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18633 and _dl_skip_args_internal.
18635 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18637 * manual/message.texi (Message Translation): Talk about users.
18638 Message to key mapping impacts design.
18640 2013-05-06 Roland McGrath <roland@hack.frob.com>
18642 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18644 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18646 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18647 * sysdeps/wordsize-64/glob64.c: ... here.
18649 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18650 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18653 * debug/getlogin_r_chk.c: Moved to ...
18654 * login/getlogin_r_chk.c: ... here.
18655 * debug/Makefile (routines): Move getlogin_r_chk to ...
18656 * login/Makefile (routines): ... here.
18657 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18658 * login/Versions (libc: GLIBC_2.4): ... here.
18660 * io/poll.c (__poll): Renamed from poll.
18661 Add libc_hidden_def.
18662 (poll): Define as weak alias.
18664 * debug/ptsname_r_chk.c: Moved to ...
18665 * login/ptsname_r_chk.c: ... here.
18666 * debug/Makefile (routines): Move ptsname_r_chk to ...
18667 * login/Makefile (routines): ... here.
18668 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18669 * login/Versions (libc: GLIBC_2.4): ... here.
18671 * posix/getlogin.c: Moved to ...
18672 * login/getlogin.c: ... here.
18673 * posix/getlogin_r.c: Moved to ...
18674 * login/getlogin_r.c: ... here.
18675 * posix/getlogin_r.c: Moved to ...
18676 * login/getlogin_r.c: ... here.
18677 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18678 * login/Makefile (routines): ... here.
18679 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18680 * login/Versions (libc: GLIBC_2.0): ... here.
18682 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18683 (setrlimit): Define as weak alias.
18685 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18686 Call __ names for open, ftruncate, and close.
18687 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18688 (truncate): Define as weak alias.
18690 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18692 * math/gen-libm-test.pl (parse_args): Initialize x before each
18693 test of frexp, modf and remquo.
18695 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18696 test signgam value.
18698 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18702 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18704 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18706 2013-05-06 Roland McGrath <roland@hack.frob.com>
18708 * elf/dl-writev.h: New file.
18709 * elf/dl-misc.c: Include it.
18710 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18711 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18713 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18715 * math/libm-test.inc (noXFails): Remove variable.
18716 (noXPasses): Likewise.
18717 (BUILD_COMPLEX_INT): Remove macro.
18718 (print_screen): Remove xfail argument.
18719 (print_screen_max_error): Likewise.
18720 (update_stats): Likewise.
18721 (print_max_error): Likewise. Update calls to other affected
18723 (print_complex_max_error): Likewise.
18724 (test_single_exception): Update calls to print_screen.
18725 (test_single_errno): Likewise.
18726 (check_float_internal): Remove xfail argument. Update calls to
18727 other affected functions.
18728 (check_float): Likewise.
18729 (check_complex): Likewise.
18730 (check_int): Likewise.
18731 (check_long): Likewise.
18732 (check_bool): Likewise.
18733 (check_longlong): Likewise.
18734 (main): Don't print noXFails and noXPasses.
18735 * math/gen-libm-test.pl (top level): Don't mention expected
18736 failure handling in comment.
18737 (new_test): Don't handle expected failures.
18738 (parse_args): Don't mention expected failure handling in comment.
18739 (generate_testfile): Don't handle expected failures.
18740 (parse_ulps): Likewise.
18741 (print_ulps_file): Likewise.
18742 (get_failure): Remove function.
18743 (output_test): Don't handle expected failures.
18744 * make/README.libm-test: Don't mention expected failure handling.
18746 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18747 (minus_zero): Likewise.
18748 (plus_infty): Likewise.
18749 (minus_infty): Likewise.
18750 (qnan_value): Likewise.
18751 (max_value): Likewise.
18752 (min_value): Likewise.
18753 (min_subnorm_value): Likewise.
18754 (initialize): Do not initialize those variables dynamically.
18756 2013-05-03 Roland McGrath <roland@hack.frob.com>
18758 * io/open.c (__open_2): Moved to ...
18759 * io/open_2.c: ... this new file.
18760 * io/open64.c (__open64_2): Moved to ...
18761 * io/open64_2.c: ... this new file.
18762 * io/openat.c (__openat_2): Moved to ...
18763 * io/openat_2.c: ... this new file.
18764 * io/openat64.c (__openat64_2): Moved to ...
18765 * io/openat64_2.c: ... this new file.
18766 * io/Makefile (routines): Add them.
18767 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18768 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18769 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18770 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18771 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18772 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18773 (__openat64): Add hidden_ver.
18774 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18775 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18777 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18778 Separately conditionalize setting of GLRO(dl_sysinfo) so
18779 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18780 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18782 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18784 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18785 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18787 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18788 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18789 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18790 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18791 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18793 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18795 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18796 test signgam value.
18798 * math/libm-test.inc (hypot_test): Do not use
18799 IGNORE_ZERO_INF_SIGN.
18801 2013-05-03 Andreas Jaeger <aj@suse.de>
18803 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18805 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18806 (PF_MAX): Adjust for VSOCK change.
18808 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18812 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18815 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18816 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18817 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18819 2013-05-02 David S. Miller <davem@davemloft.net>
18821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18823 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18825 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18827 2013-05-01 Roland McGrath <roland@hack.frob.com>
18829 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18831 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18834 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18835 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18836 Use __attribute__ ((__gnu_inline__)).
18837 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18838 Don't use __attribute__ ((__gnu_inline__)).
18840 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18843 * math/s_catan.c (__catan): Handle small real or imaginary part of
18844 input specially to avoid spurious underflow.
18845 * math/s_catanf.c (__catanf): Likewise.
18846 * math/s_catanh.c (__catanh): Likewise.
18847 * math/s_catanhf.c (__catanhf): Likewise.
18848 * math/s_catanhl.c (__catanhl): Likewise.
18849 * math/s_catanl.c (__catanl): Likewise.
18850 * math/libm-test.inc (catan_test): Add more tests.
18851 (catanh_test): Likewise.
18852 * sysdeps/i386/fpu/libm-test-ulps: Update.
18853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18855 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18859 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18862 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18863 accurately for denominator in atan2.
18864 * math/s_catanf.c (__catanf): Likewise.
18865 * math/s_catanh.c (__catanh): Likewise.
18866 * math/s_catanhf.c (__catanhf): Likewise.
18867 * math/s_catanhl.c (__catanhl): Likewise.
18868 * math/s_catanl.c (__catanl): Likewise.
18869 * math/libm-test.inc (catan_test): Add more tests.
18870 (catanh_test): Likewise.
18871 * sysdeps/i386/fpu/libm-test-ulps: Update.
18872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18874 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18876 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18878 * benchtests/Makefile (bench): Remove slow benchmarks.
18879 * benchtests/atan-inputs: Add slow benchmark inputs.
18880 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18881 (BENCH_FUNC): Accept variant offset.
18883 * benchtests/bench-skeleton.c (main): Run benchmark for each
18885 * benchtests/cos-inputs: Add slow benchmark inputs.
18886 * benchtests/exp-inputs: Likewise.
18887 * benchtests/pow-inputs: Likewise.
18888 * benchtests/sin-inputs: Likewise.
18889 * benchtests/slowatan-inputs: Remove.
18890 * benchtests/slowatan.c: Remove.
18891 * benchtests/slowcos-inputs: Remove.
18892 * benchtests/slowcos.c: Remove.
18893 * benchtests/slowexp-inputs: Remove.
18894 * benchtests/slowexp.c: Remove.
18895 * benchtests/slowpow-inputs: Remove.
18896 * benchtests/slowpow.c: Remove.
18897 * benchtests/slowsin-inputs: Remove.
18898 * benchtests/slowsin.c: Remove.
18899 * benchtests/slowtan-inputs: Remove.
18900 * benchtests/slowtan.c: Remove.
18901 * benchtests/tan-inputs: Add slow benchmark inputs.
18902 * scripts/bench.pl: Parse comments and directives.
18904 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18906 ($(objpfx)bench-%.c): Remove *-ITER.
18907 * benchtests/bench-modf.c: Remove definition of ITER.
18908 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18909 (main): Loop for DURATION seconds instead of fixed number of
18911 * scripts/bench.pl: Don't expect iterations in parameters.
18913 2013-04-29 Roland McGrath <roland@hack.frob.com>
18915 * io/fchdir.c (__fchdir): Renamed from fchdir.
18916 (fchdir): Define as weak alias.
18918 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18920 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18921 (ERRNO_EDOM): Likewise.
18922 (ERRNO_ERANGE): Likewise.
18923 (noErrnoTests): New variable.
18924 (init_max_error): Set errno to 0.
18925 (test_single_errno): New function.
18926 (test_errno): Likewise.
18927 (check_float_internal): Call test_errno. Set errno to 0.
18928 (check_complex): Refer to errno tests in comment.
18929 (check_int): Call test_errno. Set errno to 0.
18930 (check_long): Likewise.
18931 (check_bool): Likewise.
18932 (check_longlong): Likewise.
18933 (cos_test): Use ERRNO_* flags for errno tests instead of
18935 (expm1_test): Likewise.
18936 (fmod_test): Likewise.
18937 (ilogb_test): Likewise.
18938 (lgamma_test): Likewise.
18939 (pow_test): Likewise.
18940 (remainder_test): Likewise.
18941 (sin_test): Likewise.
18942 (tan_test): Likewise.
18943 (yn_test): Likewise.
18944 (initialize): Set errno to 0.
18945 (main): Print number of errno tests.
18946 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18948 2013-04-29 Andreas Jaeger <aj@suse.de>
18951 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18955 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18956 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18960 * stdlib/random.c (__initstate): Return NULL if
18964 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18965 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18968 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18972 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18974 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18975 of individual tests.
18976 (casin_test): Likewise.
18977 (casinh_test): Likewise.
18979 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18982 * math/s_catan.c (__catan): Handle arguments with large real or
18983 imaginary part separately without squaring.
18984 * math/s_catanf.c (__catanf): Likewise.
18985 * math/s_catanh.c (__catanh): Likewise.
18986 * math/s_catanhf.c (__catanhf): Likewise.
18987 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18989 (__catanhl): Handle arguments with large real or imaginary part
18990 separately without squaring.
18991 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18993 (__catanl): Handle arguments with large real or imaginary part
18994 separately without squaring.
18995 * math/libm-test.inc (catan_test): Add more tests.
18996 (catanh_test): Likewise.
18997 * sysdeps/i386/fpu/libm-test-ulps: Update.
18998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19000 2013-04-27 Andreas Jaeger <aj@suse.de>
19003 * stdlib/stdlib.h: Update guards for qecvt.
19004 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19007 2013-04-27 Allan McRae <allan@archlinux.org>
19009 * sysdeps/i386/fpu/libm-test-ulps: Update.
19011 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19014 * math/s_catan.c: Include <float.h>.
19015 (__catan): Ensure underflow exception occurs for underflowed
19017 * math/s_catanf.c: Include <float.h>.
19018 (__catanf): Ensure underflow exception occurs for underflowed
19020 * math/s_catanh.c: Include <float.h>.
19021 (__catanh): Ensure underflow exception occurs for underflowed
19023 * math/s_catanhf.c: Include <float.h>.
19024 (__catanhf): Ensure underflow exception occurs for underflowed
19026 * math/s_catanhl.c: Include <float.h>.
19027 (__catanhl): Ensure underflow exception occurs for underflowed
19029 * math/s_catanl.c: Include <float.h>.
19030 (__catanl): Ensure underflow exception occurs for underflowed
19032 * math/libm-test.inc (catan_test): Add more tests.
19033 (catanh_test): Likewise.
19036 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19037 underflowed result.
19038 * math/s_ccoshf.c (__ccoshf): Likewise.
19039 * math/s_ccoshl.c (__ccoshl): Likewise.
19040 * math/s_csin.c (__csin): Likewise.
19041 * math/s_csinf.c (__csinf): Likewise.
19042 * math/s_csinh.c (__csinh): Likewise.
19043 * math/s_csinhf.c (__csinhf): Likewise.
19044 * math/s_csinhl.c (__csinhl): Likewise.
19045 * math/s_csinl.c (__csinl): Likewise.
19046 * math/libm-test.inc (ccos_test): Add more tests.
19047 (ccosh_test): Likewise.
19048 (csin_test): Likewise.
19049 (csinh_test): Likewise.
19051 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19053 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19054 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19055 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19056 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19057 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19058 powerpc/power5+/fpu folders.
19059 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19062 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19066 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19068 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19069 additions to variable.
19070 [$(config-machine) = x86_64] (modules-names): Likewise.
19071 ($(objpfx)tst-audit3): Remove dependency.
19072 ($(objpfx)tst-audit3.out): Likewise.
19073 ($(objpfx)tst-audit4): Likewise.
19074 ($(objpfx)tst-audit4.out): Likewise.
19075 ($(objpfx)tst-audit5): Likewise.
19076 ($(objpfx)tst-audit5.out): Likewise.
19077 ($(objpfx)tst-audit6): Likewise.
19078 ($(objpfx)tst-audit6.out): Likewise.
19079 ($(objpfx)tst-audit7): Likewise.
19080 ($(objpfx)tst-audit7.out): Likewise.
19081 (tst-audit3-ENV): Remove variable.
19082 (tst-audit4-ENV): Likewise.
19083 (tst-audit5-ENV): Likewise.
19084 (tst-audit6-ENV): Likewise.
19085 (tst-audit7-ENV): Likewise.
19086 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19087 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19088 addition to variable.
19089 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19090 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19091 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19092 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19093 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19094 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19095 tst-audit3, tst-audit4 and tst-audit5.
19096 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19097 tst-audit6 and tst-audit7.
19098 [$(subdir) = elf] (modules-names): Add audit modules for those
19100 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19101 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19102 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19103 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19104 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19105 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19106 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19107 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19108 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19109 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19110 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19111 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19112 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19113 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19114 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19115 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19117 [$(subdir) = elf && $(config-cflags-avx) = yes]
19118 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19119 [$(subdir) = elf && $(config-cflags-avx) = yes]
19120 (CFLAGS-tst-auditmod4a.c): Likewise.
19121 [$(subdir) = elf && $(config-cflags-avx) = yes]
19122 (CFLAGS-tst-auditmod4b.c): Likewise.
19123 [$(subdir) = elf && $(config-cflags-avx) = yes]
19124 (CFLAGS-tst-auditmod6b.c): Likewise.
19125 [$(subdir) = elf && $(config-cflags-avx) = yes]
19126 (CFLAGS-tst-auditmod6c.c): Likewise.
19127 [$(subdir) = elf && $(config-cflags-avx) = yes]
19128 (CFLAGS-tst-auditmod7b.c): Likewise.
19129 * elf/tst-audit3.c: Move to ...
19130 * sysdeps/x86_64/tst-audit3.c: ... here.
19131 * elf/tst-audit4.c: Move to ...
19132 * sysdeps/x86_64/tst-audit4.c: ... here.
19133 * elf/tst-audit5.c: Move to ...
19134 * sysdeps/x86_64/tst-audit5.c: ... here.
19135 * elf/tst-audit6.c: Move to ...
19136 * sysdeps/x86_64/tst-audit6.c: ... here.
19137 * elf/tst-audit7.c: Move to ...
19138 * sysdeps/x86_64/tst-audit7.c: ... here.
19139 * elf/tst-auditmod3a.c: Move to ...
19140 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19141 * elf/tst-auditmod3b.c: Move to ...
19142 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19143 * elf/tst-auditmod4a.c: Move to ...
19144 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19145 * elf/tst-auditmod4b.c: Move to ...
19146 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19147 * elf/tst-auditmod5a.c: Move to ...
19148 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19149 * elf/tst-auditmod5b.c: Move to ...
19150 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19151 * elf/tst-auditmod6a.c: Move to ...
19152 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19153 * elf/tst-auditmod6b.c: Move to ...
19154 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19155 * elf/tst-auditmod6c.c: Move to ...
19156 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19157 * elf/tst-auditmod7a.c: Move to ...
19158 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19159 * elf/tst-auditmod7b.c: Move to ...
19160 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19162 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19165 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19166 define unconditionally.
19167 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19168 define unconditionally.
19169 (INT8_C, INT16_C, etc.): Likewise.
19171 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19173 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19174 __ehdr_start with hidden visibility.
19176 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19178 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19180 * math/libm-test.inc (cos_test): Use accurate hex constants.
19181 (sincost_test): Likewise.
19183 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19185 * math/libm-test.inc (catan_test): Add more tests.
19186 (catanh_test): Likewise.
19188 * math/s_catanf.c (__catanf): Use suffixed floating-point
19190 * math/s_catanhf.c (__catanhf): Likewise.
19191 * math/s_catanhl.c (__catanhl): Likewise.
19192 * math/s_catanl.c (__catanl): Likewise.
19195 * math/s_catan.c (__catan): Calculate imaginary part of result
19196 with log1p not log unless computing log of number close to 0.
19197 * math/s_catanf.c (__catanf): Likewise.
19198 * math/s_catanl.c (__catanl): Likewise.
19199 * math/s_catanh.c (__catanh): Calculate real part of result with
19200 log1p not log unless computing log of number close to 0.
19201 * math/s_catanhf.c (__catanhf): Likewise.
19202 * math/s_catanhl.c (__catanhl): Likewise.
19203 * math/libm-test.inc (catan_test): Add more tests.
19204 (catanh_test): Likewise.
19205 * sysdeps/i386/fpu/libm-test-ulps: Update.
19206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19208 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19210 * benchtests/Makefile: Mention files in which fast and slow
19211 paths of math functions are implemented.
19213 2013-04-23 Roland McGrath <roland@hack.frob.com>
19215 * sysdeps/posix/timespec_get.c: New file.
19217 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19219 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19221 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19223 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19224 powerpc/power5/fpu folders.
19225 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19226 * benchtests/Makefile: Add modf testcase.
19227 * benchtests/bench-modf.c: New file: Benchmark test for mo
19229 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19232 * time/Makefile (tests): Add tst-strptime-whitespace.
19233 * time/strptime_l.c (get_number): Use ISSPACE.
19234 (__strptime_internal): Likewise.
19235 * time/tst-strptime-whitespace.c: New test case.
19237 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19239 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19241 (_nss_files_init): Set it here.
19243 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19245 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19246 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19249 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19251 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19253 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19255 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19258 2013-04-21 David S. Miller <davem@davemloft.net>
19260 * po/ru.po: Update Russion translation from translation project.
19262 2013-04-17 Adam Conrad <adconrad@0c3.net>
19264 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19267 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19269 * configure.in: Remove i386 configure warning. Remove i386 case.
19270 * configure: Regenerate.
19271 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19272 Add example to error message.
19273 * sysdeps/i386/configure: Regenerate.
19275 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19277 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19279 * benchtests/cos-inputs: New file.
19280 * benchtests/slowcos-inputs: New file.
19281 * benchtests/slowcos.c: New file.
19282 * benchtests/slowtan-inputs: New file.
19283 * benchtests/slowtan.c: New file.
19284 * benchtests/tan-inputs: New file.
19286 2013-04-16 Roland McGrath <roland@hack.frob.com>
19288 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19291 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19293 * benchtests/Makefile: Include cppflags-iterator.mk to add
19294 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19296 * Makefile.in (bench-clean): New target.
19297 * benchtests/Makefile (bench-clean): Likewise.
19299 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19301 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19303 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19305 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19307 2013-04-15 Andreas Schwab <schwab@suse.de>
19309 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19310 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19311 * nscd/pwdcache.c (cache_addpw): Likewise.
19312 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19315 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19317 * benchtests/Makefile (bench): Write all output to
19318 bench-out.tmp together.
19320 2013-04-15 Andreas Schwab <schwab@suse.de>
19322 * nscd/nscd.c (main): Don't fork again after closing files.
19324 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19326 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19328 * benchtests/Rules (bench-deps): Collect dependencies into a
19329 single variable. Add Makefile to dependencies.
19330 ($(objpfx)bench-%.c): Depend on bench-deps.
19332 2013-04-12 Roland McGrath <roland@hack.frob.com>
19333 Xavier Roche <roche+kml2@exalead.com>
19336 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19337 just that it's a file descriptor.
19338 * manual/llio.texi (Synchronizing AIO Operations): Update description
19339 for EBADF error from aio_fsync.
19341 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19343 * Rules (bench): Move target definition...
19344 * benchtests/Makefile: ... here.
19346 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19348 * math/libm-test.inc (cos_test): Fix PI/2 test.
19349 (sincos_test): Likewise.
19350 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19351 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19353 2013-04-11 Andreas Schwab <schwab@suse.de>
19356 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19357 accept exponent character only when digits were seen.
19358 * stdio-common/Makefile (tests): Add bug26.
19359 * stdio-common/bug26.c: New file.
19362 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19365 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19367 * Makeconfig (rtld-prefix): Define built linker prefix.
19368 * Rules (run-bench): Use it.
19369 * math/Makefile (run-regen-ulps): Likewise.
19371 * Rules (bench): Remove eval.
19373 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19374 Roland McGrath <roland@hack.frob.com>
19375 Ondrej Bilka <neleai@seznam.cz>
19378 * time/getdate.c: Include ctype.h and alloca.h.
19379 (__getdate_r): Trim leading and trailing spaces of input.
19380 * time/tst-getdate.c (tests): Add tests with leading and
19383 2013-04-08 Roland McGrath <roland@hack.frob.com>
19386 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19387 when computing value.
19389 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19391 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19392 Use testrun.sh to run libm tests.
19395 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19397 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19400 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19402 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19404 * Makefile.in (regen-ulps): New target.
19405 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19406 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19407 [ifneq (no,$(PERL)] (regen-ulps): New target.
19408 [ifeq (no,$(PERL)] (regen-ulps): New target.
19409 * math/libm-test.inc (ulps_file_name): Define.
19410 (output_dir): New variable.
19411 (options): Add "output-dir" option.
19412 (parse_opt): Handle 'o' case.
19413 (main): If output_dir is non-NULL use it as a prefix
19415 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19417 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19419 [BZ #10060, #10062]
19420 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19421 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19422 fail configure if __sync_val_compare_and_swap is not inlined.
19423 * sysdeps/i386/configure: Regenerate.
19424 * configure.in: Build for i686 when configured for i386.
19425 * configure: Regenerate.
19426 * README: Remove i386 reference.
19428 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19430 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19431 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19433 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19435 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19436 (lmsnanval): New variables.
19437 (F): Add conversion tests.
19438 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19439 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19441 * stdio-common/tstdiomisc.c (F): Properly collect individual
19444 [BZ #14686, #15336]
19445 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19446 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19447 Instead, use input NaN values or generate a qNaN by arithmetic
19448 operation. Also fix bugs to comply with the standard.
19449 * math/libm-test.inc (remainder_test): Add more tests.
19451 [BZ #15335, #15342]
19452 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19453 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19454 input NaN values or generate a qNaN by arithmetic operation.
19456 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19459 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19462 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19465 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19466 underflowed result.
19467 * math/s_cexpf.c (__cexpf): Likewise.
19468 * math/s_cexpl.c (__cexpl): Likewise.
19469 * math/libm-test.inc (cexp_test): Add more tests.
19471 2013-04-03 Andreas Schwab <schwab@suse.de>
19474 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19475 order arrays from heap if bigger than alloca cutoff.
19477 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19479 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19480 (SNAN_TESTS_double): Refer to GCC PR56831.
19481 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19484 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19486 * Rules (bench): Move bench.out after the run is complete.
19488 * Rules (bench): Echo currently running benchmark.
19490 * benchtests/Makefile (bench): Add atan and slowatan.
19491 * benchtests/atan-inputs: New file.
19492 * benchtests/slowatan-inputs: New file.
19493 * benchtests/slowatan.c: New file.
19495 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19496 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19500 * sysdeps/unix/sysv/linux/kernel-features.h
19501 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19502 __ASSUME_XFS_RESTRICTED_CHOWN.
19503 * sysdeps/unix/sysv/linux/pathconf.c
19504 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19505 Save and restore errno.
19507 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19510 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19511 arguments using __kernel_casinh.
19512 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19513 arguments using __kernel_casinhf.
19514 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19515 arguments using __kernel_casinhl.
19516 * math/libm-test.inc (cacosh_test): Add more tests.
19517 * sysdeps/i386/fpu/libm-test-ulps: Update.
19518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19520 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19522 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19525 * bench/Makefile (bench): Add sin and slowsin.
19526 * benchtests/sin-inputs: New file.
19527 * benchtests/slowsin-inputs: New file.
19528 * benchtests/slowsin.c: New file.
19530 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19531 (bench): Add slowexp and slowpow.
19532 (exp-ITER): Increase iterations.
19533 (pow-ITER): Likewise.
19534 * benchtests/exp-inputs: Change input.
19535 * benchtests/pow-inputs: Likewise.
19536 * benchtests/slowexp-inputs: New file.
19537 * benchtests/slowexp.c: New file.
19538 * benchtests/slowpow-inputs: New file.
19539 * benchtests/slowpow.c: New file.
19541 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19543 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19545 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19546 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19547 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19548 * benchtests/Makefile: Add rint benchtest.
19549 * benchtests/rint-inputs: Input for rint benchtest.
19551 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19553 * Versions.def (libm): Add GLIBC_2.18.
19554 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19555 hidden libm prototypes.
19556 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19557 * math/Makefile (libm-calls): Add s_issignaling.
19558 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19559 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19560 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19562 * math/math.h [__USE_GNU] (issignaling): New macro.
19563 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19564 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19566 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19569 * manual/arith.texi (issignaling): New section.
19570 * manual/libm-err-tab.pl (@all_functions): Update comment.
19571 * math/gen-libm-test.pl (parse_args): Apply special handling for
19573 * math/libm-test.inc (print_float, issignaling_test): New
19575 (check_float_internal): Add issignaling checks.
19576 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19577 default definition.
19578 * sysdeps/powerpc/math-tests.h: New file.
19579 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19581 * math/test-snan.c (TEST_FUNC): Likewise.
19583 2013-03-30 David S. Miller <davem@davemloft.net>
19585 * po/de.po: Update from translation team.
19587 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19590 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19591 imaginary part less than 1.0 and real part less than 0.5
19593 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19594 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19595 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19596 (cacos_test): Add more tests.
19597 (casin_test): Likewise.
19598 (casinh_test): Likewise.
19599 * sysdeps/i386/fpu/libm-test-ulps: Update.
19600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19602 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19604 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19605 ONE with its value.
19607 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19608 (__pow_mp): Replace ONE and MONE with their values.
19609 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19610 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19611 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19612 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19613 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19614 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19616 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19618 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19619 (__pow_mp): Replace ZERO and MZERO with their values.
19620 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19621 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19622 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19623 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19624 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19625 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19628 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19630 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19632 2013-03-28 Roland McGrath <roland@hack.frob.com>
19634 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19635 Declare with __attribute__ ((weak)).
19636 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19637 Call __call_tls_dtors only if it's not NULL.
19639 2013-03-28 Roland McGrath <roland@hack.frob.com>
19641 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19642 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19643 magic __ehdr_start linker symbol if it's defined.
19644 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19645 them up here if it was already done.
19647 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19648 (_dl_aux_init): Use const in cast when setting it.
19649 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19650 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19651 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19653 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19655 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19656 * csu/libc-tls.c: Nor here.
19657 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19659 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19660 (__libc_message): Never call vsyslog.
19662 2013-03-28 Alan Modra <amodra@gmail.com>
19664 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19666 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19669 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19672 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19676 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19679 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19680 Don't add gid passed as argument.
19682 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19684 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19687 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19688 imaginary part between 1.0 and 1.5 and real part less than 0.5
19690 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19691 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19692 * math/libm-test.inc (cacos_test): Add more tests.
19693 (casin_test): Likewise.
19694 (casinh_test): Likewise.
19695 * sysdeps/i386/fpu/libm-test-ulps: Update.
19696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19698 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19700 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19703 (denorm): Likewise.
19704 (__dbl_mp): Likewise.
19705 (add_magnitudes): Likewise.
19706 (sub_magnitudes): Likewise.
19714 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19716 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19717 (__dubcos): Likewise.
19718 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19719 (__ieee754_acos): Likewise.
19720 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19721 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19722 (__exp1): Likewise.
19723 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19724 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19726 (my_log2): Likewise.
19727 (checkint): Likewise.
19728 * sysdeps/ieee754/dbl-64/e_remainder.c
19729 (__ieee754_remainder): Likewise.
19730 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19731 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19732 (bsloww): Likewise.
19733 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19735 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19736 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19737 MANTISSA_STORE_T to store computations on mantissa. Use
19738 macros for rounding and division.
19739 (denorm): Likewise.
19740 (__dbl_mp): Likewise.
19741 (add_magnitudes): Likewise.
19742 (sub_magnitudes): Likewise.
19745 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19746 powers of two in terms of TWOPOW macro.
19747 (mp_no): Make type of mantissa as MANTISSA_T.
19748 [!RADIXI]: Define RADIXI.
19749 [!TWO52]: Define TWO52.
19750 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19752 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19754 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19755 llroundl symbol when building for PPC32.
19757 2013-03-24 Mark H Weaver <mhw@netris.org>
19759 * manual/arith.texi (Normalization Functions): Fix prototypes for
19760 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19762 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19765 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19766 high value to check if expl overflow.
19767 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19768 to check for underflow and overflow.
19769 * math/libm-test.inc: Add exp test.
19771 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19774 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19777 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19779 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19782 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19784 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19785 wrap blocks consisting of several statements.
19787 * sysdeps/generic/math-tests.h: New file.
19788 * sysdeps/i386/fpu/math-tests.h: Likewise.
19789 * math/test-snan.c: Include it.
19790 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19792 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19795 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19796 (__ieee754_j0l): Do not improve calculations using cos of twice
19797 input for inputs above LDBL_MAX / 2.0L.
19798 (__ieee754_y0l): Likewise.
19799 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19800 (__ieee754_j1l): Do not improve calculations using cos of twice
19801 input for inputs above LDBL_MAX / 2.0L.
19802 (__ieee754_y1l): Likewise.
19803 * math/libm-test.inc (j0_test): Add another test.
19804 (j1_test): Likewise.
19805 (y0_test): Likewise.
19806 (y1_test): Likewise.
19807 * sysdeps/i386/fpu/libm-test-ulps: Update.
19809 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19811 * Rules ($(objpfx)bench-%.c): Include code from a C source
19814 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19817 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19818 imaginary part 1.0 and real part less than 0.5 specially.
19819 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19820 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19821 * math/libm-test.inc (cacos_test): Add more tests.
19822 (casin_test): Likewise.
19823 (casinh_test): Likewise.
19824 * sysdeps/i386/fpu/libm-test-ulps: Update.
19825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19827 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19829 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19830 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19832 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19834 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19835 * config.make.in (config-cflags-sse4): Remove variable.
19836 (config-cflags-avx): Likewise.
19837 (config-cflags-sse2avx): Likewise.
19838 (config-cflags-novzeroupper): Likewise.
19839 (config-asflags-i686): Likewise.
19840 (have-mfma4): Likewise.
19841 (have-as-vis3): Likewise.
19843 * configure.in (MIG): Do not AC_SUBST.
19844 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19845 (libc_cv_cc_sse4): Do not AC_SUBST.
19846 (libc_cv_cc_avx): Likewise.
19847 (libc_cv_cc_sse2avx): Likewise.
19848 (libc_cv_cc_novzeroupper): Likewise.
19849 (libc_cv_cc_fma4): Likewise.
19850 (libc_cv_as_i686): Likewise.
19851 (libc_cv_sparc_as_vis3): Likewise.
19852 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19854 (config-asflags-i686): Likewise.
19855 (config-cflags-avx): Likewise.
19856 (config-cflags-sse2avx): Likewise.
19857 (have-mfma4): Likewise.
19858 (config-cflags-novzeroupper): Likewise.
19859 * sysdeps/mach/configure.in (MIG): Likewise.
19860 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19861 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19863 (config-cflags-avx): Likewise.
19864 (config-cflags-sse2avx): Likewise.
19865 (have-mfma4): Likewise.
19866 (config-cflags-novzeroupper): Likewise.
19867 * configure: Regenerated.
19868 * sysdeps/i386/configure: Likewise.
19869 * sysdeps/mach/configure: Likewise.
19870 * sysdeps/sparc/configure: Likewise.
19871 * sysdeps/x86_64/configure: Likewise.
19873 2013-03-20 Roland McGrath <roland@hack.frob.com>
19876 * locale/programs/localedef.c (options): Put N_ translation marker
19877 on argument names, not just descriptions.
19879 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19881 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19883 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19886 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19888 2013-03-19 Roland McGrath <roland@hack.frob.com>
19890 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19891 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19892 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19893 [!BEFORE_ABORT] (before_abort): New function.
19894 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19895 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19896 (writev_for_fatal): New function.
19897 (WRITEV_FOR_FATAL): New macro; call that.
19898 (backtrace_and_maps): New function.
19899 (BEFORE_ABORT): New macro; call that.
19900 (struct str_list): Type removed.
19901 (__libc_message, __libc_fatal): Functions removed.
19902 Include <sysdeps/posix/libc_fatal.c> instead.
19904 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19906 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19908 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19911 2013-03-19 Andreas Schwab <schwab@suse.de>
19913 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19914 * sysdeps/gnu/configure: Regenerate.
19916 * configure.in: Substitute libc_cv_rtlddir.
19917 * configure: Regenerate.
19918 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19919 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19920 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19921 * elf/Makefile (install-others, CFLAGS-interp.c)
19922 (ldso_install, common-ldd-rewrite): Likewise.
19923 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19924 $(inst_slibdir)/$(rtld-installed-name).
19925 * scripts/rellns-sh: Add -p option.
19926 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19929 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19931 * manual/nptl.texi: Renamed to ...
19932 * manual/threads.texi: ... this.
19933 * manual/Makefile (chapters): Update.
19935 2013-03-18 Roland McGrath <roland@hack.frob.com>
19938 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19939 on argument names, not just descriptions.
19940 * malloc/memusagestat.c (options): Likewise.
19941 * nss/getent.c (options): Likewise.
19943 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19946 * iconv/iconv_prog.c (options): Put N_ translation marker
19947 on argument names, not just descriptions.
19948 * iconv/iconvconfig.c (options): Likewise.
19950 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19952 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19953 implementation which is faster on all x86_64 architectures.
19954 Tested on AMD, Intel Nehalem, SNB, IVB.
19955 * sysdeps/x86_64/strnlen.S: Likewise.
19957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19958 Remove all multiarch strlen and strnlen versions.
19959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19960 Remove strlen and strnlen related parts.
19962 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19963 Inline strlen part.
19964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19966 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19967 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19968 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19969 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19970 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19971 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19973 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19975 * manual/memory.texi (Malloc Tunable Parameters):
19976 Sort parameters alphabetically. Add comments for missing entries.
19978 2013-03-17 David S. Miller <davem@davemloft.net>
19980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19982 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19985 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19986 for arguments at most half maximum finite value.
19987 * math/libm-test.inc (j0_test): Add more tests.
19988 (j1_test): Likewise.
19989 (y0_test): Likewise.
19990 (y1_test): Likewise.
19991 * sysdeps/i386/fpu/libm-test-ulps: Update.
19992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19995 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19996 1 / x and functions P and Q for arguments above 0x1p256L.
19997 (__ieee754_y0l): Likewise.
19998 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19999 (__ieee754_y1l): Likewise.
20000 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20001 (j1_test): Likewise.
20002 (y0_test): Likewise.
20003 (y1_test): Likewise.
20005 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20007 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20010 2013-03-15 Roland McGrath <roland@hack.frob.com>
20012 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20013 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20014 zero since it's initialized to EXEC_PAGESIZE.
20016 * sysdeps/unix/sysv/linux/ldsodefs.h
20017 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20018 * sysdeps/generic/ldsodefs.h: ... here.
20020 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20022 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20024 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20026 * math/test-snan.c: Renamed from
20027 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20028 * math/Makefile (tests): Add test-snan.
20029 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20032 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20033 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20035 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20036 __builtin_nan family of functions.
20037 * math/libm-test.inc (initialize): Initialize qnan_value with
20038 __builtin_nan family of functions.
20039 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20041 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20043 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20044 storage class. Initialize qNaN_var and sNaN_var with
20045 __builtin_nan and __builtin_nans families of functions,
20048 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20049 (sqrt_test): Remove duplicate test with qNaN input.
20050 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20051 (round_test, signbit_test, significand_test): Note missing +/-Inf
20052 as well as qNaN tests.
20054 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20055 qNaN_var. Fix a few strings, too.
20056 * math/libm-test.inc (nan_value): Rename to qnan_value.
20057 * math/gen-libm-test.pl (%beautify): Adjust to that.
20058 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20059 * math/test-misc.c (main): Likewise.
20060 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20061 to __qnan_bytes, and __qnan_union, respectively.
20062 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20064 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20065 and lqnanval, respectively.
20066 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20067 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20068 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20069 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20071 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20072 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20075 * math/test-misc.c (main): Fix copy'n'pastos.
20076 * misc/tst-efgcvt.c (special): Likewise.
20078 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20079 Remove declarations.
20081 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20083 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20084 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20085 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20086 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20088 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20090 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20091 macro to return vdso values correctly in IFUNC implementations.
20092 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20093 Optimization by using IFUNC.
20095 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20096 Richard Henderson <rth@redhat.com>
20097 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20099 * Makefile.in (bench): New target.
20100 * NEWS: Mention the benchmark framework.
20101 * Rules (bench): Likewise.
20102 (binaries-bench): Generate binaries for functions to
20104 * benchtests/Makefile: New makefile for benchmark tests.
20105 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20107 * benchtests/exp-inputs: New input file for EXP function.
20108 * benchtests/pow-inputs: New input file for POW function.
20109 * scripts/bench.pl: New script to generate source files for
20110 benchmark programs.
20112 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20114 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20115 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20116 computations on mantissa. Use macros for rounding and
20118 (denorm): Likewise.
20119 (__dbl_mp): Likewise.
20120 (add_magnitudes): Likewise.
20121 (sub_magnitudes): Likewise.
20124 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20125 powers of two in terms of TWOPOW macro.
20126 (mp_no): Make type of mantissa as MANTISSA_T.
20127 [!RADIXI]: Define RADIXI.
20128 [!TWO52]: Define TWO52.
20129 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20131 * manual/nptl.texi (cindex): Modify threads to pthreads.
20133 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20135 * sysdeps/x86_64/preconfigure: Regenerated.
20137 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20140 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20142 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20143 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20145 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20146 * math/libm-test.inc (j0_test): Do not allow one spurious
20147 underflow exception.
20148 (y1_test): Likewise.
20150 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20152 * manual/Makefile (chapters): Add nptl.
20153 * manual/debug.texi (Debugging Support): Add link to Threads
20155 * manual/nptl.texi: New file.
20157 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20159 2013-03-14 Petr Baudis <pasky@ucw.cz>
20161 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20162 for non-NULL pointer before the memory validity test. Pointed
20163 out by Holger Brunck <holger.brunck@keymile.com>.
20165 2013-03-13 Andreas Schwab <schwab@suse.de>
20167 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20170 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20172 * timezone/zic.c: Update from tzcode 2013b.
20174 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20176 * manual/install.texi (Configuring and compiling):
20177 Mention i686 and i586.
20178 * INSTALL: Regenerate.
20180 2013-03-12 Roland McGrath <roland@hack.frob.com>
20182 * sysdeps/init_array/elf-init.c: New file.
20184 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20185 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20187 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20188 __gmon_start__ as global, but as static with a .preinit_array pointer.
20189 * sysdeps/init_array/gmon-start.c: New file. Use that.
20190 * sysdeps/init_array/crti.S: New file, empty except for comments.
20191 * sysdeps/init_array/crtn.S: Likewise.
20193 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20195 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20198 Remove Prefer_SSE_for_memop.
20199 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20200 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20201 HAS_PREFER_SSE_FOR_MEMOP.
20202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20204 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20205 Remove bzero, memset ifunc support.
20206 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20207 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20208 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20209 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20211 2013-03-11 Andreas Schwab <schwab@suse.de>
20214 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20217 (GLIBC_2.16): Remove pthread_atfork.
20219 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20221 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20222 (ptestcases.h): Likewise.
20224 2013-03-08 Roland McGrath <roland@hack.frob.com>
20226 * Makeconfig ($(common-objpfx)config.status): Depend on
20227 sysdeps/*/preconfigure{,.in} too.
20229 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20231 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20232 (__free_hook): Use void * instead of __malloc_ptr_t.
20233 (__malloc_hook): Likewise.
20234 (__realloc_hook): Likewise.
20235 (__memalign_hook): Likewise.
20236 (__after_morecore_hook): Likewise.
20237 * malloc/arena.c (save_malloc_hook): Likewise.
20238 (save_free_hook): Likewise.
20239 * malloc/hooks.c (malloc_hook_ini): Likewise.
20240 (realloc_hook_ini): Likewise.
20241 (memalign_hook_ini): Likewise.
20242 * malloc/malloc.c (malloc_hook_ini): Likewise.
20243 (realloc_hook_ini): Likewise.
20244 (memalign_hook_ini): Likewise.
20245 (__free_hook): Likewise.
20246 (__malloc_hook): Likewise.
20247 (__realloc_hook): Likewise.
20248 (__memalign_hook): Likewise.
20249 (__libc_malloc): Likewise.
20250 (__libc_free): Likewise.
20251 (__libc_realloc): Likewise.
20252 (__libc_memalign): Likewise.
20253 (__libc_valloc): Likewise.
20254 (__libc_pvalloc): Likewise.
20255 (__libc_calloc): Likewise.
20256 (__posix_memalign): Likewise.
20257 * malloc/morecore.c (__sbrk): Likewise.
20258 (__default_morecore): Likewise.
20260 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20262 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20263 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20264 __malloc_ptrdiff_t.
20266 * malloc/malloc.h (__malloc_size_t): Remove macro.
20267 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20269 (old_memalign_hook): Likewise.
20270 (old_realloc_hook): Likewise.
20271 (struct hdr): Likewise.
20273 (mallochook): Likewise.
20274 (memalignhook): Likewise.
20275 (reallochook): Likewise.
20276 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20277 (tr_old_realloc_hook): Likewise.
20278 (tr_old_memalign_hook): Likewise.
20279 (tr_mallochook): Likewise.
20280 (tr_reallochook): Likewise.
20281 (tr_memalignhook): Likewise.
20283 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20285 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20286 default_ldbl_pack and using as default implementation.
20287 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20289 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20290 redundant definition.
20291 (ldbl_insert_mantissa): Likewise.
20292 (ldbl_canonicalize): Likewise.
20293 (ldbl_nearbyint): Likewise.
20294 (ldbl_pack): Rename to ldbl_pack_ppc.
20295 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20296 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20297 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20299 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20302 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20303 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20304 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20306 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20307 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20308 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20310 2013-03-07 Andreas Jaeger <aj@suse.de>
20312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20315 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20317 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20318 Include mpa.h and declare __MPEXP.
20319 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20320 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20321 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20322 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20323 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20324 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20325 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20327 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20328 (__slowpow): Use long double EXPL and LOGL functions to
20330 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20331 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20332 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20333 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20334 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20335 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20338 intermediate variable to calculate exponent.
20340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20344 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20345 [!NO__SQR]: Define __sqr.
20346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20347 and NO__SQR. Remove all code except __mul and __sqr. Include
20348 sysdeps/ieee754/dbl-64/mpa.c.
20349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20352 * posix/Makefile (tests): Add tst-pathconf.
20353 * posix/tst-pathconf.c: New test case.
20354 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20356 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20358 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20360 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20362 2013-03-06 Andreas Jaeger <aj@suse.de>
20364 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20365 definition via __MAP_ANONYMOUS.
20367 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20368 it's not part of Linux headers.
20370 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20371 (MAP_HUGE_MASK): Define.
20373 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20375 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20376 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20378 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20379 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20381 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20382 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20384 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20386 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20387 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20388 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20389 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20390 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20391 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20393 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20396 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20397 Handle f2fs and efivarfs.
20399 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20402 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20403 (EFIVARFS_MAGIC): Add.
20404 (F2FS_LINK_MAX): Add.
20406 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20408 * stdio-common/vfprintf.c: Replace __builtin_expect with
20411 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20414 * sysdeps/generic/bp-sym.h: Remove file.
20415 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20416 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20417 <bp-sym.h> and <bp-asm.h>.
20418 (__longjmp): Don't use BP_SYM.
20419 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20421 (memcpy): Don't use BP_SYM.
20422 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20423 <bp-sym.h> and <bp-asm.h>.
20424 (memcpy): Don't use BP_SYM.
20425 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20427 (memcpy): Don't use BP_SYM.
20428 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20430 (memset): Don't use BP_SYM.
20431 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20432 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20433 (__bzero): Don't use BP_SYM.
20434 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20435 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20436 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20437 <bp-sym.h> and <bp-asm.h>.
20438 (memcmp): Don't use BP_SYM. Remove comment about bounded
20440 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20441 <bp-sym.h> and <bp-asm.h>.
20442 (memcpy): Don't use BP_SYM.
20443 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20444 <bp-sym.h> and <bp-asm.h>.
20445 (memset): Don't use BP_SYM.
20446 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20447 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20448 (__bzero): Don't use BP_SYM.
20449 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20450 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20451 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20452 <bp-sym.h> and <bp-asm.h>.
20453 (strncmp): Don't use BP_SYM. Remove comment about bounded
20455 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20456 <bp-sym.h> and <bp-asm.h>.
20457 (memcpy): Don't use BP_SYM.
20458 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20459 <bp-sym.h> and <bp-asm.h>.
20460 (memset): Don't use BP_SYM.
20461 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20462 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20463 (__bzero): Don't use BP_SYM.
20464 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20465 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20466 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20467 <bp-sym.h> and <bp-asm.h>.
20468 (__memchr): Don't use BP_SYM.
20469 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20470 <bp-sym.h> and <bp-asm.h>.
20471 (memcmp): Don't use BP_SYM. Remove comment about bounded
20473 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20474 <bp-sym.h> and <bp-asm.h>.
20475 (memcpy): Don't use BP_SYM.
20476 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20477 <bp-sym.h> and <bp-asm.h>.
20478 (__mempcpy): Don't use BP_SYM.
20479 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20480 <bp-sym.h> and <bp-asm.h>.
20481 (__memrchr): Don't use BP_SYM.
20482 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20483 <bp-sym.h> and <bp-asm.h>.
20484 (memset): Don't use BP_SYM.
20485 (__bzero): Likewise.
20486 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20487 <bp-sym.h> and <bp-asm.h>.
20488 (__rawmemchr): Don't use BP_SYM.
20489 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20490 <bp-sym.h> and <bp-asm.h>.
20491 (__STRCMP): Don't use BP_SYM.
20492 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20493 <bp-sym.h> and <bp-asm.h>.
20494 (strchr): Don't use BP_SYM.
20495 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20496 <bp-sym.h> and <bp-asm.h>.
20497 (__strchrnul): Don't use BP_SYM.
20498 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20499 <bp-sym.h> and <bp-asm.h>.
20500 (strlen): Don't use BP_SYM.
20501 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20502 <bp-sym.h> and <bp-asm.h>.
20503 (strncmp): Don't use BP_SYM. Remove comment about bounded
20505 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20506 <bp-sym.h> and <bp-asm.h>.
20507 (__strnlen): Don't use BP_SYM.
20508 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20509 <bp-sym.h> and <bp-asm.h>.
20510 (__GI__setjmp): Don't use BP_SYM.
20511 (_setjmp): Likewise.
20512 (__sigsetjmp): Likewise.
20513 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20514 (L(start_addresses)): Don't use BP_SYM.
20515 (_start): Likewise.
20516 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20518 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20519 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20520 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20521 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20522 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20524 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20525 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20526 about bounded pointers.
20527 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20528 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20529 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20531 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20532 about bounded pointers. Remove GKM FIXME comments.
20533 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20534 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20536 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20537 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20538 Remove GKM FIXME comments.
20539 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20540 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20541 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20543 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20544 about bounded pointers. Remove GKM FIXME comment.
20545 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20547 (strncmp): Don't use BP_SYM. Remove comment about bounded
20549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20550 <bp-sym.h> and <bp-asm.h>.
20551 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20553 <bp-sym.h> and <bp-asm.h>.
20554 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20557 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20559 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20562 2013-03-05 David S. Miller <davem@davemloft.net>
20564 * po/es.po: Update from translation team.
20566 2013-03-05 Andreas Jaeger <aj@suse.de>
20568 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20569 <bits/mman-linux.h>.
20570 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20572 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20573 <bits/mman-linux.h> to end of file.
20574 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20576 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20577 <bits/mman-linux.h> to end of file.
20578 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20580 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20581 <bits/mman-linux.h> to end of file.
20583 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20584 (MCL_CURRENT, MCL_FUTURE): Define here.
20586 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20589 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20591 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20593 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20595 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20596 fourth parameter needed for rt_sigprocmask syscall.
20597 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20598 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20599 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20600 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20601 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20602 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20604 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20607 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20608 comment about bounded pointers.
20609 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20610 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20612 2013-03-04 Andreas Jaeger <aj@suse.de>
20614 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20615 common definitions.
20617 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20618 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20619 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20620 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20621 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20624 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20627 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20628 __ieee754_sqrl instead of __sqrl.
20630 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20632 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20633 * sysdeps/powerpc/fpu_control.h: ... here.
20634 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20635 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20636 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20637 * sysdeps/powerpc/bits/mathinline.h: ... here.
20639 2013-03-01 Roland McGrath <roland@hack.frob.com>
20641 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20642 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20643 to just [NEED_DL_SYSINFO_DSO].
20644 * elf/dl-support.c: Likewise.
20645 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20646 * elf/rtld.c (dl_main): Likewise.
20647 * elf/setup-vdso.h (setup_vdso): Likewise.
20648 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20649 * sysdeps/unix/sysv/linux/dl-sysdep.c
20650 (_dl_discover_osversion): Likewise.
20652 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20654 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20655 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20657 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20659 * NEWS: Mention libm performance improvements and non-x86 PI
20662 * csu/libc-start.c (__pthread_initialize_minimal): Change
20663 function arguments.
20664 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20666 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20669 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20670 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20671 <bp-sym.h> and <bp-asm.h>.
20672 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20673 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20675 (memcpy): Don't use BP_SYM.
20676 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20678 (__mpn_add_n): Don't use BP_SYM.
20679 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20680 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20682 (__mpn_addmul_1): Don't use BP_SYM.
20683 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20684 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20686 (_setjmp): Don't use BP_SYM.
20687 (__novmx_setjmp): Likewise.
20688 (__GI__setjmp): Likewise.
20689 (__vmx_setjmp): Likewise.
20690 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20692 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20693 (__bzero): Don't use BP_SYM.
20694 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20695 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20696 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20697 <bp-sym.h> and <bp-asm.h>.
20698 (memcpy): Don't use BP_SYM.
20699 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20700 <bp-sym.h> and <bp-asm.h>.
20701 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20702 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20703 <bp-sym.h> and <bp-asm.h>.
20704 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20705 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20707 (__mpn_lshift): Don't use BP_SYM.
20708 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20709 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20711 (memset): Don't use BP_SYM.
20712 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20713 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20714 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20716 (__mpn_mul_1): Don't use BP_SYM.
20717 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20719 <bp-sym.h> and <bp-asm.h>.
20720 (memcmp): Don't use BP_SYM.
20721 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20722 <bp-sym.h> and <bp-asm.h>.
20723 (memcpy): Don't use BP_SYM.
20724 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20725 <bp-sym.h> and <bp-asm.h>.
20726 (memset): Don't use BP_SYM.
20727 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20728 <bp-sym.h> and <bp-asm.h>.
20729 (strncmp): Don't use BP_SYM.
20730 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20731 <bp-sym.h> and <bp-asm.h>.
20732 (memcpy): Don't use BP_SYM.
20733 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20734 <bp-sym.h> and <bp-asm.h>.
20735 (memset): Don't use BP_SYM.
20736 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20737 <bp-sym.h> and <bp-asm.h>.
20738 (__memchr): Don't use BP_SYM.
20739 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20740 <bp-sym.h> and <bp-asm.h>.
20741 (memcmp): Don't use BP_SYM.
20742 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20743 <bp-sym.h> and <bp-asm.h>.
20744 (memcpy): Don't use BP_SYM.
20745 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20746 <bp-sym.h> and <bp-asm.h>.
20747 (__mempcpy): Don't use BP_SYM.
20748 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20749 <bp-sym.h> and <bp-asm.h>.
20750 (__memrchr): Don't use BP_SYM.
20751 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20752 <bp-sym.h> and <bp-asm.h>.
20753 (memset): Don't use BP_SYM.
20754 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20755 <bp-sym.h> and <bp-asm.h>.
20756 (__rawmemchr): Don't use BP_SYM.
20757 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20758 <bp-sym.h> and <bp-asm.h>.
20759 (__STRCMP): Don't use BP_SYM.
20760 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20761 <bp-sym.h> and <bp-asm.h>.
20762 (strchr): Don't use BP_SYM.
20763 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20764 <bp-sym.h> and <bp-asm.h>.
20765 (__strchrnul): Don't use BP_SYM.
20766 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20767 <bp-sym.h> and <bp-asm.h>.
20768 (strlen): Don't use BP_SYM.
20769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20770 <bp-sym.h> and <bp-asm.h>.
20771 (strncmp): Don't use BP_SYM.
20772 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20773 <bp-sym.h> and <bp-asm.h>.
20774 (__strnlen): Don't use BP_SYM.
20775 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20777 (__mpn_rshift): Don't use BP_SYM.
20778 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20779 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20780 <bp-sym.h> and <bp-asm.h>.
20781 (__sigsetjmp): Don't use BP_SYM.
20782 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20783 (L(start_addresses)): Don't use BP_SYM.
20784 (_start): Likewise.
20785 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20787 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20788 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20789 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20790 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20792 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20793 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20794 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20795 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20797 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20799 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20800 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20802 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20804 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20805 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20806 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20808 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20810 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20812 (strncmp): Don't use BP_SYM,
20813 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20815 (__mpn_sub_n): Don't use BP_SYM.
20816 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20817 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20819 (__mpn_submul_1): Don't use BP_SYM.
20820 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20822 <bp-sym.h> and <bp-asm.h>.
20823 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20825 <bp-sym.h> and <bp-asm.h>.
20826 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20829 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20832 Use ZK to minimize writes to Z.
20833 (sub_magnitudes): Simplify code a bit.
20834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20835 Use ZK to minimize writes to Z.
20836 (sub_magnitudes): Simplify code a bit.
20838 2013-02-27 Roland McGrath <roland@hack.frob.com>
20840 * csu/gmon-start.c: Add special exception to license text.
20842 2013-02-27 Richard Henderson <rth@redhat.com>
20844 * scripts/config.guess: Update from config.git.
20845 * scripts/config.sub: Likewise.
20847 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20849 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20851 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20853 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20855 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20857 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20859 2013-02-26 Roland McGrath <roland@hack.frob.com>
20861 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20862 [$(build-shared = yes].
20864 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20866 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20867 (__mul): Reduce iterations for calculating mantissa.
20869 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20871 (__mpranred): Likewise.
20874 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20875 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20877 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20879 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20880 Define __attribute__.
20882 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20884 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20886 * posix/regex_internal.h (__attribute): Remove.
20887 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20888 (re_string_context_at): Likewise.
20889 (bitset_not): Use __attribute__ and mark function as possibly
20891 (bitset_merge): Likewise.
20892 (bitset_mask): Likewise.
20893 (re_string_char_size_at): Likewise.
20894 (re_string_wchar_at): Likewise.
20895 (re_string_elem_size_at): Likewise.
20897 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20899 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20903 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20907 (denorm): Likewise.
20908 (__dbl_mp): Likewise.
20909 (add_magnitudes): Likewise.
20910 (sub_magnitudes): Likewise.
20914 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20917 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20920 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20924 up changes with default code.
20925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20928 2013-02-24 Allan McRae <allan@archlinux.org>
20930 * manual/socket.texi (The Internet Namespace): Order menu items
20931 to match that in the file.
20933 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20934 node listing of the info page menu.
20936 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20939 * sysdeps/i386/bp-asm.h: Remove file.
20940 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20941 (PARMS): Do not use macros from bp-asm.h.
20945 (__mpn_add_n): Do not use BP_SYM
20946 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20948 (PARMS): Do not use macros from bp-asm.h.
20951 (__mpn_addmul_1): Do not use BP_SYM
20952 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20954 (PARMS): Do not use macros from bp-asm.h.
20955 (SIGMSK): Likewise.
20956 (_setjmp): Likewise. Do not use BP_SYM.
20957 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20959 (PARMS): Do not use macros from bp-asm.h.
20960 (SIGMSK): Likewise.
20961 (setjmp): Likewise. Do not use BP_SYM.
20962 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20964 (PARMS): Do not use macros from bp-asm.h.
20965 (__frexp): Do not use BP_SYM.
20967 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20969 (PARMS): Do not use macros from bp-asm.h.
20970 (__frexpf): Do not use BP_SYM.
20971 (frexpf): Likewise.
20972 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20974 (PARMS): Do not use macros from bp-asm.h.
20975 (__frexpl): Do not use BP_SYM.
20976 (frexpl): Likewise.
20977 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20979 (PARMS): Do not use macros from bp-asm.h.
20980 (__remquo): Do not use BP_SYM.
20981 (remquo): Likewise.
20982 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20984 (PARMS): Do not use macros from bp-asm.h.
20985 (__remquof): Do not use BP_SYM.
20986 (remquof): Likewise.
20987 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20989 (PARMS): Do not use macros from bp-asm.h.
20990 (__remquol): Do not use BP_SYM.
20991 (remquol): Likewise.
20992 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20994 (PARMS): Do not use macros from bp-asm.h.
20997 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20998 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21000 (PARMS): Do not use macros from bp-asm.h.
21001 (strlen): Do not use BP_SYM.
21002 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21004 (PARMS): Do not use macros from bp-asm.h.
21008 (__mpn_add_n): Do not use BP_SYM.
21009 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21011 (PARMS): Do not use macros from bp-asm.h.
21014 (__mpn_addmul_1): Do not use BP_SYM.
21015 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21018 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21020 (PARMS): Do not use macros from bp-asm.h.
21023 (__mpn_lshift): Do not use BP_SYM.
21024 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21026 (PARMS): Do not use macros from bp-asm.h.
21030 (memcpy): Likewise. Do not use BP_SYM.
21031 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21032 libc_hidden_def and weak_alias.
21033 (mempcpy): Do not use BP_SYM in weak_alias.
21034 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21036 (PARMS): Do not use macros from bp-asm.h.
21039 [!BZERO_P] (CHR): Likewise.
21040 (memset): Likewise. Do not use BP_SYM.
21041 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21043 (PARMS): Do not use macros from bp-asm.h.
21046 (__mpn_mul_1): Do not use BP_SYM.
21047 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21049 (PARMS): Do not use macros from bp-asm.h.
21052 (__mpn_rshift): Do not use BP_SYM.
21053 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21055 (PARMS): Do not use macros from bp-asm.h.
21058 (strchr): Likewise. Do not use BP_SYM.
21059 (index): Do not use BP_SYM in weak_alias.
21060 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21062 (PARMS): Do not use macros from bp-asm.h.
21065 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21066 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21068 (PARMS): Do not use macros from bp-asm.h.
21069 (strlen): Do not use BP_SYM.
21070 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21072 (PARMS): Do not use macros from bp-asm.h.
21076 (__mpn_sub_n): Do not use BP_SYM.
21077 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21079 (PARMS): Do not use macros from bp-asm.h.
21082 (__mpn_submul_1): Do not use BP_SYM.
21083 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21085 (PARMS): Do not use macros from bp-asm.h.
21089 (__mpn_add_n): Do not use BP_SYM.
21090 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21093 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21095 (PARMS): Do not use macros from bp-asm.h.
21098 (memcmp): Do not use BP_SYM.
21099 (bcmp): Do not use BP_SYM in weak_alias.
21100 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21102 (PARMS): Do not use macros from bp-asm.h.
21106 (memcpy): Likewise. Do not use BP_SYM.
21107 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21109 (PARMS): Do not use macros from bp-asm.h.
21113 (memmove): Likewise. Do not use BP_SYM.
21114 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21116 (PARMS): Do not use macros from bp-asm.h.
21120 (__mempcpy): Likewise. Do not use BP_SYM.
21121 (mempcpy): Do not use BP_SYM in weak_alias.
21122 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21124 (PARMS): Do not use macros from bp-asm.h.
21127 [!BZERO_P] (CHR): Likewise.
21128 (memset): Likewise. Do not use BP_SYM.
21129 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21131 (PARMS): Do not use macros from bp-asm.h.
21133 (strcmp): Do not use BP_SYM.
21134 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21136 (PARMS): Do not use macros from bp-asm.h.
21139 [USE_AS_STRTOK_R] (SAVE): Likewise.
21140 (FUNCTION): Likewise. Do not use BP_SYM.
21141 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21143 (strtok_r): Likewise.
21144 (__GI___strtok_r): Likewise.
21145 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21146 (PARMS): Do not use macros from bp-asm.h.
21149 (__mpn_lshift): Do not use BP_SYM.
21150 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21151 (PARMS): Do not use macros from bp-asm.h.
21154 (__memchr): Do not use BP_SYM.
21155 (memchr): Do not use BP_SYM in weak_alias.
21156 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21157 (PARMS): Do not use macros from bp-asm.h.
21160 (memcmp): Do not use BP_SYM.
21161 (bcmp): Do not use BP_SYM in weak_alias.
21162 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21163 (PARMS): Do not use macros from bp-asm.h.
21166 (__mpn_mul_1): Do not use BP_SYM.
21167 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21169 (PARMS): Do not use macros from bp-asm.h.
21172 (__rawmemchr): Do not use BP_SYM.
21173 (rawmemchr): Do not use BP_SYM in weak_alias.
21174 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21175 (PARMS): Do not use macros from bp-asm.h.
21178 (__mpn_rshift): Do not use BP_SYM.
21179 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21180 (PARMS): Do not use macros from bp-asm.h.
21181 (SIGMSK): Likewise.
21182 (__sigsetjmp): Likewise. Do not use BP_SYM.
21183 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21184 (_start): Do not use BP_SYM.
21185 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21186 (PARMS): Do not use macros from bp-asm.h.
21189 (__stpcpy): Likewise. Do not use BP_SYM.
21190 (stpcpy): Do not use BP_SYM in weak_alias.
21191 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21193 (PARMS): Do not use macros from bp-asm.h.
21197 (__stpncpy): Likewise. Do not use BP_SYM.
21198 (stpncpy): Do not use BP_SYM in weak_alias.
21199 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21200 (PARMS): Do not use macros from bp-asm.h.
21203 (strchr): Likewise. Do not use BP_SYM.
21204 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21206 (PARMS): Do not use macros from bp-asm.h.
21209 (__strchrnul): Likewise. Do not use BP_SYM.
21210 (strchrnul): Do not use BP_SYM in weak_alias.
21211 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21213 (PARMS): Do not use macros from bp-asm.h.
21215 (strcspn): Do not use BP_SYM.
21216 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21218 (PARMS): Do not use macros from bp-asm.h.
21221 (strpbrk): Likewise. Do not use BP_SYM.
21222 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21224 (PARMS): Do not use macros from bp-asm.h.
21227 (strrchr): Likewise. Do not use BP_SYM.
21228 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21229 (PARMS): Do not use macros from bp-asm.h.
21231 (strspn): Do not use BP_SYM.
21232 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21233 (PARMS): Do not use macros from bp-asm.h.
21237 (FUNCTION): Likewise. Do not use BP_SYM.
21238 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21240 (strtok_r): Likewise.
21241 (__GI___strtok_r): Likewise.
21242 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21243 (PARMS): Do not use macros from bp-asm.h.
21247 (__mpn_sub_n): Do not use BP_SYM.
21248 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21250 (PARMS): Do not use macros from bp-asm.h.
21253 (__mpn_submul_1): Do not use BP_SYM.
21254 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21256 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21258 (PARMS): Do not use macros from bp-asm.h.
21263 (__clone): Do not use BP_SYM.
21264 (clone): Do not use BP_SYM in weak_alias.
21265 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21267 (PARMS): Do not use macros from bp-asm.h.
21269 (__mmap64): Do not use BP_SYM.
21270 (mmap64): Do not use BP_SYM in weak_alias.
21271 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21272 <bp-sym.h> and <bp-asm.h>.
21273 (PARMS): Do not use macros from bp-asm.h.
21274 (__posix_fadvise64_l64): Do not use BP_SYM.
21275 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21276 (PARMS): Do not use macros from bp-asm.h.
21278 (semtimedop): Do not use BP_SYM.
21279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21282 2013-02-21 Allan McRae <allan@archlinux.org>
21284 * manual/message.texi (Charset conversion in gettext):
21285 Move @end statement to beginning of line.
21287 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21294 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21295 (denorm): Likewise.
21296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21299 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21301 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21302 tail-call to the resolved function if pltexit isn't needed.
21304 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21307 or Y being zero as being unlikely.
21308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21311 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21313 * manual/nss.texi (System Databases and Name Service Switch):
21314 Remove frobnicate @pxref.
21316 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21318 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21319 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21321 2013-02-20 Petr Machata <pmachata@redhat.com>
21323 * elf/elf.h (R_ARM_TARGET1): New macro.
21324 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21325 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21326 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21327 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21328 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21329 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21330 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21331 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21332 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21333 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21334 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21335 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21336 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21337 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21338 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21339 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21340 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21341 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21342 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21343 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21344 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21345 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21346 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21347 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21348 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21349 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21350 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21351 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21352 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21353 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21354 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21355 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21356 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21357 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21358 (R_ARM_THM_GOT_BREL12): Likewise.
21359 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21360 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21361 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21362 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21363 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21364 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21365 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21366 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21367 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21369 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21371 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21372 __attribute_used__ to __attribute__ ((unused)).
21374 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21376 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21379 comment formatting.
21380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21382 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21385 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21387 (ENTER): Remove both macro definitions.
21389 (CHECK_BOUNDS_LOW): Likewise.
21390 (CHECK_BOUNDS_HIGH): Likewise.
21391 (CHECK_BOUNDS_BOTH): Likewise.
21392 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21393 (RETURN_BOUNDED_POINTER): Likewise.
21394 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21395 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21396 (POP_ERRNO_LOCATION_RETURN): Likewise.
21397 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21398 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21399 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21401 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21402 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21403 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21404 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21405 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21406 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21407 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21408 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21409 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21410 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21411 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21412 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21413 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21414 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21416 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21417 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21419 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21420 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21421 * sysdeps/i386/i586/memset.S (memset): Likewise.
21422 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21423 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21424 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21426 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21427 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21428 Change uses of L(2) to L(out).
21429 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21430 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21431 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21432 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21433 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21435 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21436 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21438 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21439 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21440 (RETURN): Do not use macro LEAVE.
21441 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21442 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21443 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21444 * sysdeps/i386/i686/memset.S (memset): Likewise.
21445 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21446 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21447 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21448 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21450 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21451 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21452 L(1_2) and L(1_3) into L(1).
21453 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21454 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21455 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21456 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21457 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21458 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21459 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21460 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21461 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21463 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21464 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21465 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21466 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21467 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21468 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21469 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21470 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21471 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21472 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21473 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21474 * sysdeps/i386/strspn.S (strspn): Likewise.
21475 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21477 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21478 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21479 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21480 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21481 L(1_3) into L(1_1).
21482 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21483 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21484 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21486 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21488 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21490 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21493 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21495 * math/atest-exp.c (exp_mpn): Remove ROUND.
21496 * math/atest-exp2.c (exp_mpn): Likewise.
21497 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21499 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21500 * stdlib/tst-tls-atexit-lib.c: Likewise.
21501 * stdlib/tst-tls-atexit.c: Likewise.
21503 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21505 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21506 and __attribute_alloc_size__.
21508 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21510 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21511 __attribute_alloc_size__.
21512 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21513 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21515 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21517 * include/programs/xmalloc.h: New file.
21518 * catgets/gencat.c: Include it.
21519 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21520 * elf/pldd.c: Likewise.
21521 * iconv/iconv_charmap.c: Likewise.
21522 * iconv/iconvconfig.c: Likewise.
21523 * iconv/strtab.c: Likewise.
21524 * locale/programs/locale.c: Likewise.
21525 * locale/programs/localedef.h: Likewise.
21526 * locale/programs/simple-hash.c: Likewise.
21527 * nscd/nscd.h: Likewise.
21528 * nss/makedb.c: Likewise.
21529 * sysdeps/generic/ldconfig.h: Likewise.
21531 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21533 * Versions.def: Add GLIBC_2.18.
21534 * include/link.h (struct link_map): New member l_tls_dtor_count.
21535 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21536 (__call_tls_dtors): Likewise.
21537 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21538 __cxa_thread_atexit_impl.
21539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21555 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21556 (tests): Add test case tst-tls-atexit.
21557 (modules-names): Add shared library for tst-tls-atexit.
21558 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21559 (GLIBC_PRIVATE): Add __call_tls_dtors.
21560 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21562 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21563 * stdlib/tst-tls-atexit.c: New test case.
21564 * stdlib/tst-tls-atexit-lib.c: New test case.
21566 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21568 * elf/Versions (ld): Add _dl_find_dso_for_object.
21569 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21570 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21571 (dl_open_worker): Use _dl_find_dso_for_object.
21572 * elf/dl-sym.c (do_sym): Likewise.
21573 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21575 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21577 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21578 Syntactic changes only.
21579 (_dl_runtime_profile): Do a tail-call to the resolved function.
21581 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21584 * sysdeps/x86_64/bp-asm.h: Remove file.
21585 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21586 <bp-sym.h> and <bp-asm.h>.
21587 (__clone): Do not use BP_SYM.
21588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21589 <bp-sym.h> and <bp-asm.h>.
21590 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21591 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21593 (_setjmp): Do not use BP_SYM.
21594 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21596 (setjmp): Do not use BP_SYM.
21597 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21599 (mempcpy): Do not use BP_SYM in weak_alias.
21600 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21602 (strchr): Do not use BP_SYM.
21603 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21605 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21606 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21607 (_start): Do not use BP_SYM.
21608 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21610 (strcat): Do not use BP_SYM.
21611 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21613 (STRCMP): Do not use BP_SYM.
21614 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21616 (STRCPY): Do not use BP_SYM.
21617 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21619 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21621 (FUNCTION): Do not use BP_SYM.
21622 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21624 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21626 2013-02-17 Andreas Jaeger <aj@suse.de>
21628 * time/Versions: Sort entries.
21629 * string/Versions: Likewise.
21630 * resolv/Versions: Likewise.
21631 * posix/Versions: Likewise.
21632 * iconv/Versions: Likewise.
21633 * elf/Versions: Likewise.
21634 * wcsmbs/Versions: Likewise.
21636 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21638 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21639 loop termination condition.
21641 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21642 variable to calculate EZ.
21645 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21646 the lower precision input.
21648 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21651 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21652 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21653 (run-via-rtld-prefix): Do not handle %-bp tests.
21654 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21655 (all-object-suffixes): Remove .ob.
21656 (bppfx): Remove variable.
21657 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21658 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21659 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21660 [$(build-bounded) = yes] (libtype.ob): Likewise.
21661 * Makerules (elide-routines.ob): Remove variable.
21662 (do-tests-clean): Do not handle *-bp.out.
21663 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21664 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21665 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21666 (tests): Do not include $(tests-bp.out).
21667 (xtests): Do not include $(xtests-bp.out).
21668 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21669 [$(build-bounded) = yes] ($(addprefix
21670 $(objpfx),$(binaries-bounded))): Remove rule.
21671 ($(objpfx)%-bp.out): Remove rule.
21672 * config.make.in (build-bounded): Remove variable.
21673 * crypt/Makefile [$(build-bounded) = yes]
21674 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21675 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21676 append to variable.
21677 [$(build-bounded) = yes] (install-lib): Likewise.
21678 [$(build-bounded) = yes] (generated): Likewise.
21679 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21681 * intl/Makefile [$(build-bounded) = yes]
21682 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21683 * math/Makefile [$(build-bounded) = yes]
21684 ($(tests:%=$(objpfx)%-bp): Likewise.
21685 * misc/Makefile [$(build-bounded) = yes]
21686 ($(objpfx)tst-tsearch-bp): Likewise.
21687 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21688 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21690 * string/Makefile (o-objects.ob): Remove variable.
21691 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21692 (CFLAGS-.ob): Remove variable.
21693 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21694 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21695 both definitions of variable.
21696 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21697 (ASFLAGS-.ob): Remove variable.
21699 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21702 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21703 Remove __BOUNDED_POINTERS__ from condition.
21704 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21705 * string/bits/string2.h [!__NO_STRING_INLINES &&
21706 !__BOUNDED_POINTERS__]: Likewise.
21707 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21709 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21710 Remove conditional code.
21711 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21712 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21713 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21717 * csu/libc-start.c: Do not include <bp-sym.h>.
21718 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21719 * elf/dl-open.c: Do not include <bp-sym.h>.
21720 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21721 * math/fegetenv.c: Do not include <bp-sym.h>.
21722 (fegetenv): Do not use BP_SYM in versioned symbols.
21723 * nptl/sysdeps/pthread/bits/libc-lockP.h
21724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21727 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21729 (__pthread_mutex_destroy): Likewise.
21730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21731 (__pthread_mutex_lock): Likewise.
21732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21733 (__pthread_mutex_trylock): Likewise.
21734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21735 (__pthread_mutex_unlock): Likewise.
21736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21737 (__pthread_mutexattr_init): Likewise.
21738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21739 (__pthread_mutexattr_destroy): Likewise.
21740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21741 (__pthread_mutexattr_settype): Likewise.
21742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21743 (__pthread_rwlock_init): Likewise.
21744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21745 (__pthread_rwlock_destroy): Likewise.
21746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21747 (__pthread_rwlock_rdlock): Likewise.
21748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21749 (__pthread_rwlock_tryrdlock): Likewise.
21750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21751 (__pthread_rwlock_wrlock): Likewise.
21752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21753 (__pthread_rwlock_trywrlock): Likewise.
21754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21755 (__pthread_rwlock_unlock): Likewise.
21756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21757 (__pthread_key_create): Likewise.
21758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21759 (__pthread_setspecific): Likewise.
21760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21761 (__pthread_getspecific): Likewise.
21762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21765 (_pthread_cleanup_push_defer): Likewise.
21766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21767 (_pthread_cleanup_pop_restore): Likewise.
21768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21769 (pthread_setcancelstate): Likewise.
21770 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21772 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21773 (memchr): Do not use BP_SYM in weak_alias.
21774 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21775 (fegetenv): Do not use BP_SYM in versioned symbols.
21776 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21777 (fesetenv): Do not use BP_SYM in versioned symbols.
21778 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21779 (feupdateenv): Do not use BP_SYM in versioned symbols.
21780 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21781 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21782 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21783 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21784 (open64): Do not use BP_SYM in weak_alias.
21785 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21786 (fegetenv): Do not use BP_SYM in versioned symbols.
21787 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21788 (fesetenv): Do not use BP_SYM in versioned symbols.
21789 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21790 (feupdateenv): Do not use BP_SYM in versioned symbols.
21791 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21792 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21793 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21794 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21795 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21796 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21797 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21799 (__libc_start_main): Do not use BP_SYM.
21801 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21804 redundant return line.
21806 (denorm): Likewise.
21807 (dbl_mp): Likewise.
21808 (sub_magnitudes): Likewise.
21814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21816 (denorm): Likewise.
21817 (dbl_mp): Likewise.
21818 (sub_magnitudes): Likewise.
21825 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21827 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21828 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21831 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21832 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21834 of __mul for squares.
21835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21839 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21840 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21842 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21845 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21847 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21848 prototype or function definition. Rename ubp_* variables and
21849 parameters. Remove argv definitions conditional on
21850 [__BOUNDED_POINTERS__].
21851 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21852 * elf/dl-runtime.c (_dl_fixup): Likewise.
21853 * include/set-hooks.h (RUN_HOOK): Likewise.
21854 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21856 * string/strcpy.c (strcpy): Do not use __unbounded.
21857 * sysdeps/generic/frame.h (struct layout): Likewise.
21858 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21859 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21860 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21861 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21862 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21863 (__backtrace): Likewise.
21864 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21866 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21867 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21868 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21870 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21871 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21872 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21873 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21874 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21875 Do not use __unbounded.
21876 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21877 Rename __unboundedrlimits parameter to rlimits in prototype.
21878 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21879 Do not use __unbounded.
21880 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21881 not use __ptrvalue.
21882 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21883 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21884 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21885 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21886 __ptrvalue or __unbounded.
21887 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21888 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21890 (__new_msgctl): Do not use __ptrvalue.
21891 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21893 (__libc_msgrcv): Do not use __ptrvalue.
21894 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21895 startup_info): Do not use __unbounded.
21896 (__libc_start_main): Likewise. Rename ubp_* variables and
21897 parameters. Remove argv definitions conditional on
21898 [__BOUNDED_POINTERS__].
21899 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21901 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21903 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21905 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21907 (__new_shmctl): Do not use __ptrvalue.
21908 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21909 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21911 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21912 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21913 (__libc_sigaction): Likewise.
21914 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21915 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21917 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21919 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21921 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21923 * string/mempcpy.c: Implement by calling memcpy.
21925 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21932 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21933 values in the mantissa.
21935 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21936 minimize writes to Z.
21937 (sub_magnitudes): Simplify code a bit.
21939 2013-02-12 Roland McGrath <roland@hack.frob.com>
21941 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21942 from the message. The linker prefixes all warnings with that already.
21944 2013-02-12 Andreas Schwab <schwab@suse.de>
21947 * posix/regexec.c (extend_buffers): Add parameter min_len.
21948 (check_matching): Pass minimum needed length.
21949 (clean_state_log_if_needed): Likewise.
21950 (get_subexp): Likewise.
21951 * posix/Makefile (tests): Add bug-regex34.
21952 (bug-regex34-ENV): Define.
21953 * posix/bug-regex34.c: New file.
21956 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21957 elements compare against the byte sequence of it, not its name.
21958 * posix/Makefile (tests): Add bug-regex35.
21959 (bug-regex35-ENV): Define.
21960 * posix/bug-regex35.c: New file.
21962 2013-02-11 Tom de Vries <tom@codesourcery.com>
21964 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21966 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21967 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21968 (CHECK_EOL): Add undef.
21970 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21972 * bits/stdlib-bsearch.h: New file.
21973 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21974 * stdlib/stdlib.h: Likewise.
21976 2013-02-11 Roland McGrath <roland@hack.frob.com>
21978 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21979 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21981 * manual/search.texi (Array Search Function): Add missing const in
21983 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21984 declaration to use rlim_t.
21985 (Basic Scheduling Functions): Remove erroneous const from
21986 sched_getparam prototype. Remove erroneous * from
21987 sched_get_priority_max and sched_get_priority_min prototypes.
21988 (Resource Usage): Fix summary @comment on vtimes to refer to
21989 sys/vtimes.h rather than vtimes.h.
21990 Add missing *s in vtimes prototype.
21991 (Limits on Resources): Fix ulimit prototype to return long int.
21992 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21993 prototypes to use long int rather than double.
21994 (BSD Random): Fix initstate and setstate to use char *, not void *.
21995 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21996 prototype to make second argument 'struct aiocb64 *const[]'.
21997 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21998 (Status of AIO Operations): Remove erroneous const in aio_return and
21999 aio_return64 prototypes.
22000 (Synchronizing I/O): Fix sync prototype to return void.
22001 * manual/startup.texi (Suboptions): Remove an erroneous const in
22002 getsubopt prototype.
22003 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22004 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22005 use size_t rather than int.
22006 (Scanning All Users): Likewise for getpwent_r.
22007 (Setting Groups): Add missing const to setgroups prototype.
22008 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22009 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22010 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22011 'const void *' rather than 'const char *'.
22012 (Host Address Functions): Likewise for inet_ntop.
22013 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22014 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22015 ssize_t for return value.
22016 (Sending Data): Likewise for send, sendto, sendmsg.
22017 (Socket Option Functions): Add a missing const in setsockopt prototype.
22018 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22019 use wchar_t for the argument.
22020 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22021 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22023 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22024 double/float/long double for second argument.
22025 Fix return types of significand, significandf, significandl.
22026 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22027 argument in fchmod prototype.
22028 (File Owner): Use uid_t and gid_t in fchown prototype.
22029 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22030 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22031 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22032 use 'const struct dirent **' as argument types to CMP function pointer
22034 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22035 (File Times): Fix summary magic @comment for struct utimbuf and utime
22036 to refer to utime.h, not time.h.
22037 * manual/string.texi (Argz Functions): Add missing const in
22038 argz_extract and argz_next prototypes.
22039 (Finding Tokens in a String): Likewise for basename.
22040 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22041 (Copying and Concatenation): Fix typo in wmemmove prototype.
22042 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22043 (Signal Stack): Remove erroneous const in sigstack prototype.
22044 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22046 (Simple Calendar Time): Likewise for stime.
22047 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22049 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22050 say sys/sysctl.h instead.
22051 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22052 and vsyslog prototypes.
22054 2013-02-11 Tom de Vries <tom@codesourcery.com>
22056 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22059 2013-02-11 Roland McGrath <roland@hack.frob.com>
22061 * misc/sys/mman.h: Fix typo in mremap comment.
22063 2013-02-08 Roland McGrath <roland@hack.frob.com>
22065 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22066 the '\0' terminator.
22068 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22071 * debug/segfault.c: Don't include <bp-checks.h>.
22072 * sysdeps/generic/bp-checks.h: Remove file.
22073 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22074 (__GETDENTS): Don't use CHECK_N.
22075 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22076 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22077 (__getgroups): Don't use CHECK_N.
22078 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22079 (setgroups): Don't use CHECK_N.
22080 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22081 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22082 (__libc_msgrcv): Don't use CHECK_N.
22083 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22084 (__libc_msgsnd): Don't use CHECK_N.
22085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22087 (__libc_pread): Don't use CHECK_N.
22088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22089 include <bp-checks.h>.
22090 (__libc_pread64): Don't use CHECK_N.
22091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22092 include <bp-checks.h>.
22093 (__libc_pwrite): Don't use CHECK_N.
22094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22095 include <bp-checks.h>.
22096 (__libc_pwrite64): Don't use CHECK_N.
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22099 (__libc_pread): Don't use CHECK_N.
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22101 include <bp-checks.h>.
22102 (__libc_pread64): Don't use CHECK_N.
22103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22104 include <bp-checks.h>.
22105 (__libc_pwrite): Don't use CHECK_N.
22106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22107 include <bp-checks.h>.
22108 (__libc_pwrite64): Don't use CHECK_N.
22109 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22110 (do_pread): Don't use CHECK_N.
22111 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22112 (do_pread64): Don't use CHECK_N.
22113 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22114 (do_pwrite): Don't use CHECK_N.
22115 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22116 (do_pwrite64): Don't use CHECK_N.
22117 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22118 (__libc_readv): Don't use CHECK_N.
22119 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22120 (semop): Don't use CHECK_N.
22121 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22123 (semtimedop): Don't use CHECK_N.
22124 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22125 (__libc_pread): Don't use CHECK_N.
22126 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22128 (__libc_pread64): Don't use CHECK_N.
22129 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22131 (__libc_pwrite): Don't use CHECK_N.
22132 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22134 (__libc_pwrite64): Don't use CHECK_N.
22135 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22137 (__libc_msgrcv): Don't use CHECK_N.
22138 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22139 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22140 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22141 (__libc_writev): Don't use CHECK_N.
22143 2013-02-08 Roland McGrath <roland@hack.frob.com>
22145 * string/strcpy.c: Removed unused variable.
22147 * Makeconfig (+sysdep-includes): Define with := rather than =.
22148 Use an existing include/ subdir of each sysdeps dir before it.
22150 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22152 * nscd/connection.c (register_traced_file): Comment function.
22153 [HAVE_INOTIFY] (union __inev): Define.
22154 [HAVE_INOTIFY] (inotify_check_files): New function.
22155 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22156 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22158 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22160 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22162 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22163 loaded if not already and that a failure is permanent.
22165 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22168 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22169 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22171 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22174 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22175 (CHECK_1_NULL_OK): Likewise.
22176 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22177 (__fxstat): Do not use CHECK_1.
22178 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22180 (___fxstat64): Do not use CHECK_1.
22181 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22183 (__fxstatat): Do not use CHECK_1.
22184 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22186 (__fxstatat64): Do not use CHECK_1.
22187 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22189 (__fxstat): Do not use CHECK_1.
22190 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22192 (__fxstatat): Do not use CHECK_1.
22193 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22195 (__getresgid): Do not use CHECK_1.
22196 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22198 (__getresuid): Do not use CHECK_1.
22199 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22201 (__lxstat): Do not use CHECK_1.
22202 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22204 (__old_msgctl): Do not use CHECK_1.
22205 (__new_msgctl): Likewise.
22206 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22208 (__new_setrlimit): Do not use CHECK_1.
22209 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22211 (__old_shmctl): Do not use CHECK_1.
22212 (__new_shmctl): Likewise.
22213 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22215 (__xstat): Do not use CHECK_1.
22216 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22217 (__lxstat): Do not use CHECK_1.
22218 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22220 (___lxstat64): Do not use CHECK_1.
22221 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22222 (__old_msgctl): Do not use CHECK_1.
22223 (__new_msgctl): Likewise.
22224 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22226 (__gettimeofday): Do not use CHECK_1.
22227 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22228 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22229 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22231 (__gettimeofday): Do not use CHECK_1.
22232 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22233 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22234 (__new_shmctl): Do not use CHECK_1.
22235 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22237 (do_sigtimedwait): Do not use CHECK_1.
22238 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22240 (do_sigwaitinfo): Do not use CHECK_1.
22241 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22243 (msgctl): Do not use CHECK_1.
22244 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22246 (shmctl): Do not use CHECK_1.
22247 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22248 (ustat): Do not use CHECK_1.
22249 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22251 (__fxstat): Do not use CHECK_1.
22252 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22254 (__fxstatat): Do not use CHECK_1.
22255 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22257 (__lxstat): Do not use CHECK_1.
22258 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22260 (__xstat): Do not use CHECK_1.
22261 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22262 (__xstat): Do not use CHECK_1.
22263 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22264 (___xstat64): Do not use CHECK_1.
22267 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22269 (CHECK_BOUNDS_HIGH): Likewise.
22270 * string/strcpy.c: Do not include <bp-checks.h>.
22271 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22273 2013-02-07 Roland McGrath <roland@hack.frob.com>
22275 * nscd/nscd-client.h (__nscd_drop_map_ref):
22276 Add __attribute__ ((unused)).
22277 * nis/nss-nisplus.h (niserr2nss): Likewise.
22279 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22280 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22282 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22283 Remove inline keyword.
22284 * include/rounding-mode.h (round_away): Likewise.
22285 * libio/wfileops.c (adjust_wide_data): Likewise.
22286 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22287 (__m128i_strloadu_tolower): Likewise.
22288 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22289 (__m128i_strloadu_tolower): Likewise.
22290 * time/mktime.c (ydhms_diff): Likewise.
22291 * locale/elem-hash.h (elem_hash): Likewise.
22292 * locale/setlocale.c (setdata): Likewise.
22293 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22294 (re_string_wchar_at): Likewise.
22295 (bitset_not, bitset_merge, bitset_mask): Likewise.
22296 [!(__GNUC__ > 3)] (inline): Remove macro.
22297 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22298 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22299 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22300 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22301 * string/memcmp.c (memcmp_bytes): Likewise.
22302 * locale/programs/locarchive.c (compute_hashval): Likewise.
22303 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22304 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22305 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22306 * nss/getent.c (print_rpc, print_protocols): Likewise.
22307 (print_passwd, print_group, print_aliases): Likewise.
22308 * nis/nss-nisplus.h (niserr2nss): Likewise.
22309 * nscd/connections.c (restart_p): Likewise.
22310 Change return type to bool.
22312 2013-02-05 Roland McGrath <roland@hack.frob.com>
22314 * Makeconfig (all-Depend-files): Add existing
22315 $(sorted-subdirs:=/Depend) files.
22316 (all-subdirs): Remove nss.
22317 * sysdeps/unix/inet/Subdirs: Add it here instead.
22318 * hesiod/Depend: New file.
22320 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22321 instead of calling alloca.
22323 * io/lseek.c (__lseek): Rename to __libc_lseek.
22324 Define __lseek as an alias.
22326 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22328 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22330 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22331 else clause and remove check for non-standard endianness.
22333 2013-02-04 David S. Miller <davem@davemloft.net>
22335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22337 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22340 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22341 (__ubp_memchr): Remove prototype.
22342 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22343 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22344 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22345 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22346 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22348 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22349 (__ubp_memchr): Likewise.
22350 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22351 (__ubp_memchr): Likewise.
22352 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22353 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22354 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22355 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22357 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22358 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22359 (__getcwd): Do not use CHECK_STRING.
22360 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22362 (__real_chown): Do not use CHECK_STRING.
22363 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22365 (fchownat): Do not use CHECK_STRING.
22366 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22368 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22370 (__lchown): Do not use CHECK_STRING.
22371 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22372 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22373 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22374 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22376 include <bp-checks.h>.
22377 (truncate64): Do not use CHECK_STRING.
22378 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22380 (__real_chown): Do not use CHECK_STRING.
22381 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22383 (__lchown): Do not use CHECK_STRING.
22384 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22386 (__chown): Do not use CHECK_STRING.
22387 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22389 (truncate64): Do not use CHECK_STRING.
22390 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22392 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22393 (__xmknod): Do not use CHECK_STRING.
22394 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22396 (__xmknodat): Do not use CHECK_STRING.
22397 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22398 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22400 2013-02-04 Andreas Schwab <schwab@suse.de>
22403 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22404 * include/netdb.h: Likewise for h_errno.
22405 * elf/tst-stackguard1.c: Include <tls.h>.
22407 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22409 * elf/link.h (struct link_map): Extend the l_addr comment.
22410 * include/link.h (struct link_map): Likewise.
22412 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22415 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22416 (BOUNDED_1): Remove macro.
22417 * debug/backtrace.c: Don't include <bp-checks.h>.
22418 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22419 (__backtrace): Likewise.
22420 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22422 (__backtrace): Don't use BOUNDED_1.
22423 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22425 (__backtrace): Don't use BOUNDED_1.
22426 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22427 (__backtrace): Don't use BOUNDED_1.
22428 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22429 (shmat): Don't use BOUNDED_N.
22431 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22434 * sysdeps/generic/bp-start.h: Remove file.
22435 * csu/libc-start.c: Don't include <bp-start.h>.
22436 (LIBC_START_MAIN): Set up __environ directly instead of using
22437 INIT_ARGV_and_ENVIRON.
22438 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22442 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22444 (CHECK_FCNTL): Likewise.
22445 (CHECK_N_PAGES): Likewise.
22448 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22450 (CHECK_SIGSET_NULL_OK): Likewise.
22451 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22453 (sigpending): Don't use CHECK_SIGSET.
22454 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22456 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22457 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22459 (do_sigsuspend): Don't use CHECK_SIGSET.
22460 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22462 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22463 (do_sigwait): Don't use CHECK_SIGSET.
22464 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22466 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22467 include <bp-checks.h>.
22468 (sigpending): Don't use CHECK_SIGSET.
22469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22470 include <bp-checks.h>.
22471 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22472 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22474 (sigpending): Don't use CHECK_SIGSET.
22475 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22477 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22480 * sysdeps/generic/bp-semctl.h: Remove file.
22481 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22482 <bp-checks.h> and <bp-semctl.h>.
22483 (__old_semctl): Don't use CHECK_SEMCTL.
22484 (__new_semctl): Likewise.
22485 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22487 (__old_semctl): Don't use CHECK_SEMCTL.
22488 (__new_semctl): Likewise.
22489 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22490 <bp-checks.h> and <bp-semctl.h>.
22491 (__old_semctl): Don't use CHECK_SEMCTL.
22492 (__new_semctl): Likewise.
22493 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22494 <bp-checks.h> and <bp-semctl.h>.
22495 (semctl): Don't use CHECK_SEMCTL.
22498 * Makerules (elide-bp-thunks): Remove variable.
22499 (elide-routines.oS): Don't use $(elide-bp-thunks).
22500 (elide-routines.os): Likewise.
22501 (elide-routines.o): Likewise.
22502 (elide-routines.op): Likewise.
22503 (elide-routines.og): Likewise.
22504 (objects): Don't use $(bp-thunks).
22505 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22507 (common-generated): Do not add s-proto-bp.d.
22508 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22511 Do not generate makefile rules for bounded-pointer thunks.
22512 * sysdeps/generic/bp-thunks.h: Remove file.
22513 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22514 * sysdeps/unix/s-proto-bp.S: Likewise.
22517 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22518 parts of result separately when argument is not close to line from
22519 -i to i and one part of argument is small.
22520 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22521 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22522 * math/libm-test.inc (cacos_test): Add more tests.
22523 (casin_test): Likewise.
22524 (casinh_test): Likewise.
22525 * sysdeps/i386/fpu/libm-test-ulps: Update.
22526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22528 2013-01-31 David S. Miller <davem@davemloft.net>
22530 * po/de.po: Update from translation team.
22532 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22534 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22536 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22538 * configure.in (_AC_PROG_CC_C89): New definition.
22539 * configure: Regenerate.
22541 * configure.in (AC_PROG_CPP): New definition.
22542 * configure: Regenerate.
22544 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22546 * debug/tst-backtrace.h: New file.
22547 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22548 (ret): Remove variable.
22550 (FAIL): Remove macro.
22551 (NO_INLINE): Likewise.
22552 (fn1): Use match function instead of strstr.
22553 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22554 (ret): Remove variable.
22556 (FAIL): Remove macro.
22557 (NO_INLINE): Likewise.
22558 (fn): Use match function instead of strstr.
22559 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22560 (ret): Remove variable.
22562 (FAIL): Remove macro.
22563 (NO_INLINE): Likewise.
22564 (handle_signal): Use match function instead of strstr.
22565 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22566 (ret): Remove variable.
22568 (FAIL): Remove macro.
22569 (NO_INLINE): Likewise.
22570 (handle_signal): Use match function instead of strstr.
22572 2013-01-23 Roland McGrath <roland@hack.frob.com>
22574 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22576 2013-01-23 David S. Miller <davem@davemloft.net>
22578 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22579 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22580 argument of CAS if possible.
22581 * sysdeps/sparc/sparc64/bits/atomic.h
22582 (__arch_compare_and_exchange_val_32_acq): Likewise.
22583 (__arch_compare_and_exchange_val_64_acq): Likewise.
22585 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22587 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22588 * sysdeps/posix/ulimit.c: ... this.
22589 Include <limits.h>.
22590 * sysdeps/unix/bsd/ulimit.c: Remove file.
22592 2013-01-23 Adam Conrad <adconrad@0c3.net>
22594 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22595 (LDFLAGS-tst-array5): Likewise.
22597 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22600 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22601 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22602 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22603 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22605 2013-01-21 David S. Miller <davem@davemloft.net>
22607 * sysdeps/sparc/backtrace.c: New file.
22608 * sysdeps/sparc/sparc32/backtrace.h: New file.
22609 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22610 * sysdeps/sparc/sparc64/backtrace.h: New file.
22611 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22612 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22615 2013-01-21 Andreas Schwab <schwab@suse.de>
22618 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22621 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22627 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22628 Mark Mitchell <mark@codesourcery.com>
22629 Tom de Vries <tom@codesourcery.com>
22630 Paul Pluzhnikov <ppluzhnikov@google.com>
22632 * debug/tst-backtrace2.c: New file.
22633 * debug/tst-backtrace3.c: Likewise.
22634 * debug/tst-backtrace4.c: Likewise.
22635 * debug/tst-backtrace5.c: Likewise.
22636 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22637 (CFLAGS-tst-backtrace3.c): Likewise.
22638 (CFLAGS-tst-backtrace4.c): Likewise.
22639 (CFLAGS-tst-backtrace5.c): Likewise.
22640 (LDFLAGS-tst-backtrace2): Likewise.
22641 (LDFLAGS-tst-backtrace3): Likewise.
22642 (LDFLAGS-tst-backtrace4): Likewise.
22643 (LDFLAGS-tst-backtrace5): Likewise.
22644 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22645 tst-backtrace4 and tst-backtrace5.
22647 2013-01-18 Anton Blanchard <anton@samba.org>
22648 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22650 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22651 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22652 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22653 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22655 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22656 "+r" and remove output regs list as redundant. Add explicit inline
22657 asm to specify register of return val to work around compiler codegen
22658 bug. Remove (int) cast on return value. Add return type parameter to
22659 use in macro so that this macro does not truncate return value for
22661 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22662 pass to INTERNAL_VSYSCALL_NCS.
22663 (INLINE_VSYSCALL): Add 'long int' as return type to
22664 INTERNAL_VSYSCALL_NCS macro invocation.
22665 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22666 INTERNAL_VSYSCALL_NCS macro invocation.
22667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22669 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22672 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22673 Fix application of SIMD FP exception mask.
22675 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22676 mp_no from a power of two.
22677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22678 __mpexp_twomm1. Use __pow_mp.
22680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22683 2013-01-17 David S. Miller <davem@davemloft.net>
22685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22687 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22690 * include/complex.h: Condition contents on [!_COMPLEX_H].
22691 (__kernel_casinhf): New prototype.
22692 (__kernel_casinh): Likewise.
22693 (__kernel_casinhl): Likewise.
22694 * math/Makefile (libm_calls): Add k_casinh.
22695 * math/k_casinh.c: New file.
22696 * math/k_casinhf.c: Likewise.
22697 * math/k_casinhl.c: Likewise.
22698 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22699 finite nonzero arguments.
22700 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22701 finite nonzero arguments.
22702 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22703 finite nonzero arguments.
22704 * math/s_casinh.c: Do not include <float.h>.
22705 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22706 * math/s_casinhf.c: Do not include <float.h>.
22707 (__casinhf): Move code for finite nonzero arguments to
22709 * math/s_casinhl.c: Do not include <float.h>.
22710 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22712 (__casinhl): Move code for finite nonzero arguments to
22714 * math/libm-test.inc (cacos_test): Add more tests.
22715 * sysdeps/i386/fpu/libm-test-ulps: Update.
22716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22718 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22720 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22721 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22722 [!HAVE_MREMAP]: Remove [defined linux] case.
22723 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22725 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22727 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22729 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22731 * elf/elf.h (R_386_SIZE32): New relocation.
22732 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22734 (elf_machine_rela): Likewise.
22735 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22736 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22738 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22740 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22741 (FP_FAST_FMA): Do not define.
22742 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22743 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22744 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22745 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22746 !_SOFT_FLOAT]: Likewise.
22747 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22748 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22750 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22751 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22752 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22753 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22754 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22755 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22758 2013-01-16 Andreas Schwab <schwab@suse.de>
22761 * include/stdlib.h (__mktemp): Add declaration.
22762 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22763 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22765 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22767 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22769 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22770 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22771 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22773 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22774 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22776 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22778 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22779 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22780 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22782 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22783 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22785 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22787 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22789 2013-01-15 David S. Miller <davem@davemloft.net>
22791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22792 trunc{,f} to libm-sysdep_routes.
22793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22803 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22804 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22805 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22806 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22807 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22808 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22811 nearbyint{,f} to libm-sysdep_routes.
22812 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22823 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22825 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22826 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22828 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22829 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22830 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22832 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22833 libc_feholdexcept and libc_fesetenv.
22835 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22837 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22839 2013-01-14 David S. Miller <davem@davemloft.net>
22841 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22842 (SPARC_ASM_VIS2_IFUNC): Likewise.
22843 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22845 use of 'siam' instruction.
22846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22879 routines to libm-sysdep_routines.
22880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22883 fdim/fdimf to libm-sysdep_routines.
22884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22892 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22893 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22894 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22895 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22897 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22899 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22900 to optimize copies.
22902 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22907 local variable MPTWO.
22908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22911 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22913 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22916 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22918 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22920 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22922 * manual/pattern.texi (glob_t): Document gl_flags.
22923 (glob64_t): Likewise.
22925 2013-01-11 David S. Miller <davem@davemloft.net>
22927 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22928 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22929 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22930 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22931 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22932 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22933 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22934 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22935 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22936 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22937 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22938 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22939 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22941 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22942 sparc V9 rather than using V8 code.
22943 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22944 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22946 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22948 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22951 2013-01-11 Roland McGrath <roland@hack.frob.com>
22953 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22954 not in the main loop.
22955 * configure: Regenerated.
22957 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22959 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22960 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22962 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22963 [!__GLIBC_HAVE_LONG_LONG] case.
22964 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22965 condition to just #else.
22966 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22967 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22968 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22969 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22971 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22972 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22973 #elif condition to just #else.
22974 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22975 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22976 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22977 #elif condition to just #else.
22979 2013-01-11 Steve Ellcey <sellcey@mips.com>
22981 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22982 (EF_MIPS_ARCH_64): Fix value.
22983 (EF_MIPS_ARCH_32R2): New.
22984 (EF_MIPS_ARCH_64R2): New.
22986 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22988 * Makeconfig (+link-pie-before-libc): New.
22989 (+link-pie-after-libc): Likewise.
22990 (+link-pie-tests): Likewise.
22991 (+link-pie): Rewritten.
22992 (link-before-libc): Remove $(config-LDFLAGS).
22993 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22994 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22995 (config-LDFLAGS): Renamed to ...
22996 (rtld-LDFLAGS): This.
22997 (rtld-tests-LDFLAGS): New macro.
22998 (link-libc-rpath-link): Likewise.
22999 (link-libc-tests-rpath-link): Likewise.
23000 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23001 (link-libc): Prepand $(link-libc-rpath-link).
23002 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23003 (test-program-prefix): New macro.
23004 (test-via-rtld-prefix): Likewise.
23005 (test-program-cmd): Likewise.
23006 (host-test-program-cmd): Likewise.
23007 * Makefile ($(common-objpfx)testrun.sh): Replace
23008 $(run-program-prefix) with $(test-program-prefix).
23009 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23011 ($(common-objpfx)shlib.lds): Likewise.
23012 (build-module-helper): Likewise.
23013 ($(common-objpfx)format.lds): Likewise.
23014 * Rules (binaries-pie-tests): New.
23015 (binaries-pie-notests): Likewise.
23016 (binaries-pie): Rewritten.
23017 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23018 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23019 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23020 (make-test-out): Replace $(host-built-program-cmd) with
23021 $(host-test-program-cmd).
23022 * config.make.in (build-hardcoded-path-in-tests): New variable.
23023 * configure.in (--enable-hardcoded-path-in-tests): New configure
23025 (hardcoded_path_in_tests): New AC_SUBST.
23026 * configure: Regenerated.
23027 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23028 $(built-program-cmd) with $(test-program-cmd).
23029 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23030 (test_program_cmd): This.
23031 * elf/Makefile ($(objpfx)order.out): Run test with
23032 $(test-program-prefix).
23033 ($(objpfx)order2.out): Likewise.
23034 ($(objpfx)tst-initorder.out): Likewise.
23035 ($(objpfx)tst-initorder2.out): Likewise.
23036 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23037 $(test-program-cmd).
23038 ($(objpfx)tst-array1-static.out): Likewise.
23039 ($(objpfx)tst-array2.out): Likewise.
23040 ($(objpfx)tst-array3.out): Likewise.
23041 ($(objpfx)tst-array4.out): Likewise.
23042 ($(objpfx)tst-array5.out): Likewise.
23043 ($(objpfx)tst-array5-static.out): Likewise.
23044 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23045 $(test-program-cmd).
23046 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23047 $(run-program-prefix) with $(test-program-prefix).
23048 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23049 (test_program_prefix): This.
23050 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23051 $(run-program-prefix) with $(test-program-prefix).
23052 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23053 (test_program_prefix): This.
23054 * iconvdata/tst-tables.sh: Likewise.
23055 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23056 $(run-program-prefix) with $(test-program-prefix).
23057 ($(objpfx)tst-translit.out): Likewise.
23058 ($(objpfx)tst-gettext2.out): Likewise.
23059 ($(objpfx)tst-gettext4.out): Likewise.
23060 ($(objpfx)tst-gettext6.out): Likewise.
23061 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23062 (test_program_prefix): This.
23063 * intl/tst-gettext2.sh: Likewise.
23064 * intl/tst-gettext4.sh Likewise.
23065 * intl/tst-gettext6.sh: Likewise.
23066 * intl/tst-translit.sh: Likewise.
23067 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23068 with $(test-program-cmd).
23069 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23070 $(run-program-prefix) with $(test-program-prefix).
23071 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23072 (test_program_prefix): This.
23073 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23074 $(run-program-prefix) with $(test-program-prefix).
23075 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23076 (test_program_prefix): This.
23077 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23078 * posix/Makefile ($(objpfx)globtest.out): Replace
23079 $(run-via-rtld-prefix) and $(test-wrapper) with
23080 $(test-program-prefix) and $(test-via-rtld-prefix).
23081 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23082 $(test-program-prefix).
23083 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23084 $(host-test-program-cmd).
23085 (tst-spawn-ARGS): Likewise.
23086 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23087 $(test-program-prefix).
23088 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23089 (test_via_rtld_prefix): This.
23090 (test_wrapper): Renamed to ...
23091 (test_program_prefix): This.
23092 (run_program_prefix): Replaced by test_program_prefix.
23093 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23094 (test_program_prefix): This.
23095 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23096 with $(host-test-program-cmd).
23097 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23098 $(run-program-prefix) with $(test-program-prefix).
23099 ($(objpfx)tst-printf.out): Likewise.
23100 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23101 $(test-program-cmd).
23102 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23103 (test_program_prefix): This.
23104 * stdio-common/tst-unbputc.sh: Likewise.
23105 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23106 $(run-program-prefix) with $(test-program-prefix).
23107 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23108 (test_program_prefix): This.
23109 * string/Makefile ($(objpfx)tst-svc.out): Replace
23110 $(built-program-cmd) with $(test-program-cmd).
23112 2013-01-11 Andreas Jaeger <aj@suse.de>
23115 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23116 value. Sync with Linux 3.7.
23118 2013-01-10 David S. Miller <davem@davemloft.net>
23120 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23121 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23122 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23124 2013-01-10 Roland McGrath <roland@hack.frob.com>
23126 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23128 * configure: Regenerated.
23130 2013-01-10 David S. Miller <davem@davemloft.net>
23132 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23133 sparc V9 rather than using V8 code.
23134 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23135 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23137 2013-01-10 Roland McGrath <roland@hack.frob.com>
23139 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23140 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23141 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23142 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23143 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23144 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23145 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23146 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23147 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23148 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23149 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23150 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23151 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23152 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23153 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23154 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23155 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23156 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23157 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23158 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23159 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23160 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23161 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23162 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23163 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23164 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23165 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23167 2013-01-10 David S. Miller <davem@davemloft.net>
23169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23171 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23173 * posix/Makefile (tests-static): New variable.
23174 (tests): Add $(tests-static).
23175 (tst-exec-static-ARGS): New variable.
23176 (tst-spawn-static-ARGS): Likewise.
23177 * posix/tst-exec-static.c: New file.
23178 * posix/tst-spawn-static.c: Likewise.
23179 * posix/tst-exec.c: Support run directly.
23180 * posix/tst-spawn.c: Likewise.
23182 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23184 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23186 * math/bits/mathcalls.h (llrint): Likewise.
23187 (llround): Likewise.
23188 * stdlib/stdlib.h (struct drand48_data): Likewise.
23189 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23190 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23191 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23193 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23195 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23196 (elf_greg_t): Likewise.
23197 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23198 (__jmp_buf): Likewise.
23199 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23201 (llrint): Likewise, for all definitions.
23202 (llrintl): Likewise.
23204 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23205 Remove [__GNUC__] condition.
23206 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23207 condition to just [__USE_ISOC99].
23208 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23210 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23213 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23214 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23216 (_POSIX_V6_ILP32_OFF32): Likewise.
23217 (_XBS5_ILP32_OFF32): Likewise.
23218 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23219 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23221 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23223 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23226 doubles __mpexp_twomm1. Adjust usage.
23227 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23230 2013-01-10 Andreas Schwab <schwab@suse.de>
23233 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23234 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23236 2013-01-09 David S. Miller <davem@davemloft.net>
23239 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23240 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23241 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23242 (TCP_FASTOPEN): Define.
23243 (tcp_repair_opt): New structure.
23244 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23246 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23247 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23248 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23249 (tcp_cookie_transactions): New structure.
23251 2013-01-09 Anton Blanchard <anton@samba.org>
23253 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23254 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23255 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23256 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23258 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23260 * include/features.h (__USE_ANSI): Remove.
23262 2013-01-09 Roland McGrath <roland@hack.frob.com>
23264 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23266 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23268 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23270 * sysdeps/s390/fpu/libm-test-ulps: Update.
23272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23274 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23278 (denorm): Likewise.
23279 (__mp_dbl): Likewise.
23280 (__dbl_mp): Likewise.
23281 (add_magnitudes): Likewise.
23282 (sub_magnitudes): Likewise.
23288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23292 (denorm): Likewise.
23293 (__mp_dbl): Likewise.
23294 (__dbl_mp): Likewise.
23295 (add_magnitudes): Likewise.
23296 (sub_magnitudes): Likewise.
23302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23306 (denorm): Likewise.
23307 (__mp_dbl): Likewise.
23308 (__dbl_mp): Likewise.
23309 (add_magnitudes): Likewise.
23310 (sub_magnitudes): Likewise.
23317 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23319 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23320 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23321 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23322 2 && __USE_EXTERN_INLINES]: Likewise.
23324 2013-01-08 Andreas Jaeger <aj@suse.de>
23327 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23329 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23330 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23332 2013-01-07 Anton Blanchard <anton@samba.org>
23334 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23335 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23336 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23337 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23338 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23339 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23340 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23341 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23343 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23344 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23345 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23346 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23347 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23348 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23349 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23350 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23351 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23352 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23353 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23354 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23355 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23356 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23357 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23358 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23359 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23360 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23361 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23362 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23363 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23364 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23366 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23367 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23368 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23369 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23370 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23371 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23372 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23373 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23374 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23375 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23376 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23378 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23380 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23381 (__MALLOC_PMT): Likewise.
23382 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23383 [__GNUC__], only on [_LIBC].
23384 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23385 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23386 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23387 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23388 forward declaration.
23389 (realloc_hook_ini): Likewise.
23390 (memalign_hook_ini): Likewise.
23391 (__libc_memalign): Do not use __MALLOC_PMT in variable
23393 (__libc_valloc): Likewise.
23394 (__libc_pvalloc): Likewise.
23395 (__libc_calloc): Likewise.
23396 (__posix_memalign): Likewise.
23399 * math/s_casinh.c: Include <float.h>.
23400 (__casinh): Do not do computation with squaring and square root
23401 for large arguments.
23402 * math/s_casinhf.c: Include <float.h>.
23403 (__casinhf): Do not do computation with squaring and square root
23404 for large arguments.
23405 * math/s_casinhl.c: Include <float.h>.
23406 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23407 (__casinhl): Do not do computation with squaring and square root
23408 for large arguments.
23409 * math/libm-test.inc (casin_test): Add more tests.
23410 (casinh_test): Likewise.
23411 * sysdeps/i386/fpu/libm-test-ulps: Update.
23412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23414 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23416 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23417 (__x86_64_raw_data_cache_size): Likewise.
23418 (__x86_64_data_cache_size_half): Likewise.
23419 (__x86_64_raw_data_cache_size_half): Likewise.
23420 (__x86_64_shared_cache_size): Likewise.
23421 (__x86_64_raw_shared_cache_size): Likewise.
23422 (__x86_64_shared_cache_size_half): Likewise.
23423 (__x86_64_raw_shared_cache_size_half): Likewise.
23424 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23426 (__x86_data_cache_size): This.
23427 (__x86_64_raw_data_cache_size): Renamed to ...
23428 (__x86_raw_data_cache_size): This.
23429 (__x86_64_data_cache_size_half): Renamed to ...
23430 (__x86_data_cache_size_half): This.
23431 (__x86_64_raw_data_cache_size_half): Renamed to ...
23432 (__x86_raw_data_cache_size_half): This.
23433 (__x86_64_shared_cache_size): Renamed to ...
23434 (__x86_shared_cache_size): This.
23435 (__x86_64_raw_shared_cache_size): Renamed to ...
23436 (__x86_raw_shared_cache_size): This.
23437 (__x86_64_shared_cache_size_half): Renamed to ...
23438 (__x86_shared_cache_size_half): This.
23439 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23440 (__x86_raw_shared_cache_size_half): This.
23441 * sysdeps/x86_64/memcpy.S: Updated.
23442 * sysdeps/x86_64/memset.S: Likewise.
23443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23444 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23445 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23447 2013-01-04 David S. Miller <davem@davemloft.net>
23449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23451 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23453 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23454 1 to avoid redefinition warning.
23455 (__USE_GNU): Don't define.
23456 (init_signaling_nan): Protoize.
23458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23460 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23462 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23464 (__cpymn): Likewise.
23465 (norm): Remove commented code.
23466 (denorm): Likewise.
23467 (__mp_dbl): Likewise.
23469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23470 (__cpymn): Likewise.
23471 (norm): Remove commented code.
23472 (denorm): Likewise.
23473 (__mp_dbl): Likewise.
23476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23477 mp_no value for 1.0 and 2.0.
23478 (norm): Use RADIXI instead of radixi.d.
23479 (denorm): Likewise.
23480 (__mul): Use 0.0 instead of zero.d.
23481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23482 mp_no value for 1.0 and 2.0.
23483 (norm): Use RADIXI instead of radixi.d.
23484 (denorm): Likewise.
23485 (__mul): Use 0.0 instead of zero.d.
23487 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23490 * math/s_casinh.c (__casinh): Reduce finite argument to first
23491 quadrant then set signs of results at the end.
23492 * math/s_casinhf.c (__casinhf): Likewise.
23493 * math/s_casinhl.c (__casinhl): Likewise.
23494 * math/libm-test.inc (casin_test): Add more tests.
23495 (casinh_test): Likewise.
23496 * sysdeps/i386/fpu/libm-test-ulps: Update.
23497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23499 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23501 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23503 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23505 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23507 (denorm): Likewise.
23508 (__mp_dbl): Likewise.
23511 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23512 and adjust the header comment.
23514 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23515 variable name from declaration.
23517 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23520 Initialize COMMON_CPUID_INDEX_7 element.
23521 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23522 (CPUID_RTM): Likewise.
23523 (HAS_RTM): Likewise.
23524 (COMMON_CPUID_INDEX_7): New enum.
23526 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23529 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23530 size is zero, record memory as freed.
23532 2013-01-03 Andreas Jaeger <aj@suse.de>
23534 * po/ia.po: Add new Interlingua translation.
23536 2012-01-03 Allan McRae <allan@archlinux.org>
23538 * locale/programs/localedef.c: Fix description of '--posix' flag.
23540 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23542 * NEWS: Update dates in second copyright notice.
23543 * README: Update copyright dates in example.
23544 * manual/libc.texinfo: Update copyright dates.
23545 * scripts/test-installation.pl: Update copyright date in --version
23548 * hurd/ctty-input.c: Fix copyright notice formatting.
23549 * hurd/ctty-output.c: Likewise.
23550 * hurd/dtable.c: Likewise.
23551 * hurd/hurd-raise.c: Likewise.
23552 * hurd/hurdprio.c: Likewise.
23553 * hurd/msgportdemux.c: Likewise.
23554 * misc/sys/file.h: Likewise.
23555 * misc/sys/ioctl.h: Likewise.
23556 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23557 * sysdeps/mach/hurd/chdir.c: Likewise.
23558 * sysdeps/mach/hurd/fchdir.c: Likewise.
23559 * sysdeps/mach/hurd/rename.c: Likewise.
23560 * sysdeps/mach/hurd/rmdir.c: Likewise.
23561 * sysdeps/mach/hurd/seekdir.c: Likewise.
23562 * sysdeps/mach/hurd/setsid.c: Likewise.
23563 * sysdeps/posix/wait3.c: Likewise.
23565 * All files with FSF copyright notices: Update copyright dates
23566 using scripts/update-copyrights.
23567 * intl/plural.c: Regenerated.
23568 * locale/programs/charmap-kw.h: Likewise.
23569 * locale/programs/locfile-kw.h: Likewise.
23571 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23573 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23576 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23577 calculation loop and add branch prediction.
23579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23580 check access beyond bounds of m1np.
23582 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23584 (__inv): Remove local variable MPTWO to use the global
23586 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23587 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23589 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23590 MP3HALFS static const.
23592 2013-01-01 David S. Miller <davem@davemloft.net>
23594 * po/ca.po: Update from translation team.
23596 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23598 * scripts/update-copyrights: New file.
23599 * Makeconfig: Reformat copyright notice.
23600 * ctype/ctype.h: Likewise.
23601 * debug/swprintf_chk.c: Likewise.
23602 * elf/dl-cache.c: Likewise.
23603 * elf/dl-debug.c: Likewise.
23604 * elf/dl-object.c: Likewise.
23605 * grp/initgroups.c: Likewise.
23606 * hurd/Makefile: Likewise.
23607 * hurd/hurd/signal.h: Likewise.
23608 * hurd/hurdfault.c: Likewise.
23609 * hurd/hurdioctl.c: Likewise.
23610 * hurd/hurdlookup.c: Likewise.
23611 * hurd/intr-msg.c: Likewise.
23612 * iconv/gconv_open.c: Likewise.
23613 * libio/swprintf.c: Likewise.
23614 * locale/lc-ctype.c: Likewise.
23615 * locale/nl_langinfo.c: Likewise.
23616 * mach/Machrules: Likewise.
23617 * mach/Makefile: Likewise.
23618 * malloc/obstack.h: Likewise.
23619 * manual/Makefile: Likewise.
23620 * manual/tsort.awk: Likewise.
23621 * misc/bits/stab.def: Likewise.
23622 * nis/nis_print_group_entry.c: Likewise.
23623 * nis/nis_table.c: Likewise.
23624 * nis/nss_compat/compat-pwd.c: Likewise.
23625 * nis/nss_compat/compat-spwd.c: Likewise.
23626 * po/Makefile: Likewise.
23627 * posix/fnmatch.c: Likewise.
23628 * posix/regex.h: Likewise.
23629 * resolv/Makefile: Likewise.
23630 * resolv/nss_dns/dns-network.c: Likewise.
23631 * resolv/res_hconf.c: Likewise.
23632 * scripts/gen-sorted.awk: Likewise.
23633 * soft-fp/soft-fp.h: Likewise.
23634 * stdio-common/printf.h: Likewise.
23635 * stdlib/monetary.h: Likewise.
23636 * stdlib/random.c: Likewise.
23637 * stdlib/random_r.c: Likewise.
23638 * sysdeps/generic/Makefile: Likewise.
23639 * sysdeps/gnu/Makefile: Likewise.
23640 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23642 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23647 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23648 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23650 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23651 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23652 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23653 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23654 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23655 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23656 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23657 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23658 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23660 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23661 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23662 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23663 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23664 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23668 * sysdeps/mach/hurd/errnos.awk: Likewise.
23669 * sysdeps/mach/hurd/fork.c: Likewise.
23670 * sysdeps/mach/hurd/getcwd.c: Likewise.
23671 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23672 * sysdeps/mach/hurd/mmap.c: Likewise.
23673 * sysdeps/mach/hurd/utimes.c: Likewise.
23674 * sysdeps/mach/hurd/xmknod.c: Likewise.
23675 * sysdeps/posix/profil.c: Likewise.
23676 * sysdeps/posix/readdir_r.c: Likewise.
23677 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23678 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23679 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23680 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23682 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23683 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23684 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23686 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23687 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23688 * sysdeps/pthread/lio_listio.c: Likewise.
23689 * sysdeps/sparc/dl-procinfo.h: Likewise.
23690 * sysdeps/unix/i386/sysdep.S: Likewise.
23691 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23692 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23693 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23694 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23696 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23697 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23698 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23699 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23700 * sysdeps/wordsize-32/divdi3.c: Likewise.
23701 * time/sys/time.h: Likewise.
23702 * wcsmbs/Makefile: Likewise.
23704 2013-01-01 David S. Miller <davem@davemloft.net>
23706 * po/fr.po: Update from translation team.
23708 * catgets/gencat.c: Update copyright year.
23709 * csu/version.c: Likewise.
23710 * debug/catchsegv.sh: Likewise.
23711 * debug/pcprofiledump.c: Likewise.
23712 * debug/xtrace.sh: Likewise.
23713 * elf/ldconfig.c: Likewise.
23714 * elf/ldd.bash.in: Likewise.
23715 * elf/pldd.c: Likewise.
23716 * elf/sotruss.ksh: Likewise.
23717 * elf/sprof.c: Likewise.
23718 * iconv/iconv_prog.c: Likewise.
23719 * iconv/iconvconfig.c: Likewise.
23720 * locale/programs/locale.c: Likewise.
23721 * locale/programs/localedef.c: Likewise.
23722 * login/programs/pt_chown.c: Likewise.
23723 * malloc/memusage.sh: Likewise.
23724 * malloc/memusagestat.c: Likewise.
23725 * malloc/mtrace.pl: Likewise.
23726 * nscd/nscd.c: Likewise.
23727 * nss/getent.c: Likewise.
23728 * nss/makedb.c: Likewise.
23729 * posix/getconf.c: Likewise.
23731 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23733 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23736 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23738 * math/bits/mathcalls.h (modf): Use __nonnull.
23740 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23742 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23743 (split): Use macro CN instead of the bare value.
23744 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23747 instead of the bare value.
23748 (power1): Likewise.
23750 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23752 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23754 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23756 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23758 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23759 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23760 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23761 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23763 2012-12-28 Andreas Jaeger <aj@suse.de>
23765 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23766 values are from Linux 3.7.
23768 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23769 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23771 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23773 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23776 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23778 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23779 variables with preprocessor constants.
23780 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23781 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23782 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23784 2012-12-27 Bruno Haible <bruno@clisp.org>
23787 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23790 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23793 and use variable directly.
23794 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23796 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23798 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23799 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23801 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23803 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23804 include directive. Remove local variable MPONE.
23805 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23806 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23807 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23809 2012-12-25 David S. Miller <davem@davemloft.net>
23811 * version.h (RELEASE): Set to "development".
23812 (VERSION): Set to "2.17.90".
23813 * NEWS: Add 2.18 section.
23815 2012-12-21 David S. Miller <davem@davemloft.net>
23817 * po/hr.po: Update from translation team.
23819 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23821 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23823 2012-12-19 Steve Ellcey <sellcey@mips.com>
23825 * NEWS: Mention new memcpy for MIPS.
23827 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23829 * manual/contrib.texi (Contributors): Spelling correction.
23831 2012-12-15 David S. Miller <davem@davemloft.net>
23833 * po/ru.po: Update from translation team.
23835 2012-12-13 David S. Miller <davem@davemloft.net>
23837 * NEWS: Mention IFUNC testsuite enhancements.
23839 * po/pl.po: Update from translation team.
23840 * po/bg.po: Likewise.
23842 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23843 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23845 2012-12-11 David S. Miller <davem@davemloft.net>
23847 * po/sv.po: Update from translation team.
23849 * po/vi.po: Update from translation team.
23851 * po/cs.po: Update from translation team.
23853 * po/de.po: Update from translation team.
23854 * po/eo.po: Likewise.
23855 * po/nl.po: Likewise.
23857 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23860 * manual/argp.texi (Argp Helper Functions): Move node to follow
23861 Argp Parsing State.
23864 * manual/conf.texi (Limits on File System Capacity): Mention if
23865 terminating null is included in the max size.
23867 2012-12-10 Andreas Jaeger <aj@suse.de>
23869 * po/cs.po: Update from translation team.
23871 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23873 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23874 void pointer and cast to uintptr_t.
23875 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23877 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23878 * sysdeps/s390/s390-64/memset.S: Likewise.
23880 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23883 * menual/message.texi (Message Translation): Fix typos.
23884 (Helper programs for gettext): Likewise.
23886 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23889 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23892 2012-12-07 David S. Miller <davem@davemloft.net>
23894 * po/libc.pot: Update.
23896 2012-12-07 Richard Henderson <rth@redhat.com>
23899 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23900 normal/normal case to before the switch.
23901 (_FP_DIV): Likewise.
23903 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23904 Mike Frysinger <vapier@gentoo.org>
23906 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23907 check for __NR_fadvise64_64.
23909 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23911 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23912 0, not just to plain "0" as a statement.
23913 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23916 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23918 * NEWS: Use sourceware.org in Bugzilla URL.
23920 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23923 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23925 * stdio-common/tst-put-error.c (do_test): Add newline to the
23926 padded test to ensure flush.
23928 2012-12-05 Jeff Law <law@redhat.com>
23930 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23932 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23934 * README: Don't refer to ports add-on as distributed separately.
23935 Mention AArch64 in list of systems supported in the ports add-on.
23937 * LICENSES: Add more non-FSF copyright and license notices.
23939 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23942 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23944 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23945 10000 as width of padded output.
23947 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23949 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23951 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23952 variable LX with __attribute__ ((unused)).
23953 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23955 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23957 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23958 with __attribute__ ((unused)).
23960 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23962 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23964 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23966 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23967 (CFLAGS-nldbl-acos.c): New variable.
23968 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23969 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23970 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23971 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23972 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23973 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23974 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23975 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23976 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23977 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23978 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23979 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23980 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23981 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23982 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23983 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23984 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23985 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23986 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23987 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23988 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23989 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23990 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23991 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23992 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23993 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23994 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23995 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23996 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23997 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23998 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23999 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24000 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24001 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24002 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24003 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24004 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24005 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24006 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24007 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24008 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24009 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24010 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24011 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24012 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24013 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24014 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24015 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24016 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24017 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24018 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24019 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24020 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24021 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24022 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24023 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24024 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24025 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24026 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24027 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24028 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24029 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24030 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24031 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24032 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24033 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24034 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24035 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24036 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24037 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24038 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24039 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24040 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24041 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24042 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24043 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24044 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24045 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24046 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24047 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24048 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24049 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24050 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24051 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24052 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24053 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24054 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24055 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24056 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24057 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24058 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24059 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24060 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24061 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24062 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24063 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24064 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24067 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24070 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24071 whole low double instead of just low 47 bits when splitting values
24074 2012-12-03 Allan McRae <allan@archlinux.org>
24076 * manual/stdio.texi (Predefined Printf Handlers): Remove
24077 @hsep and @vsep usage.
24079 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24081 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24082 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24084 2012-12-03 Jeff Law <law@redhat.com>
24086 * time/sys/time.h (settimeofday): Do not mark TV argument
24089 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24091 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24092 when currently writing and seek to current position when not.
24093 * libio/Makefile (tests): Remove bug-fclose1.
24094 * libio/bug-fclose1.c: Delete.
24096 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24098 * manual/arith.texi (feenableexcept): Fix typo.
24099 (fedisableexcept): Likewise.
24101 2012-11-30 Roland McGrath <roland@hack.frob.com>
24103 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24104 second, differently-typed declaration, rather than a cast.
24106 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24108 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24109 * include/rpc/svc.h: ... here.
24111 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24114 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24115 depending n and resplen2 to catch cases where answer
24118 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24120 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24121 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24123 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24125 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24127 2012-11-29 Roland McGrath <roland@hack.frob.com>
24129 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24131 2012-11-28 Jeff Law <law@redhat.com>
24134 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24135 dataset_temporary. Track alloca usage into alloca_used.
24136 If dataset is large allocate and release it via malloc/free.
24138 2012-06-04 Florian Weimer <fweimer@redhat.com>
24141 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24143 2012-11-28 David S. Miller <davem@davemloft.net>
24145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24147 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24150 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24151 of pi/2 rounded to nearest to 64 bits.
24152 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24153 nearest to 64 bits.
24154 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24157 2012-11-28 Jeff Law <law@redhat.com>
24158 Martin Osvald <mosvald@redhat.com>
24161 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24162 * sunrpc/svc.c: Include time.h.
24163 (__svc_accept_failed): New function.
24164 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24165 any reason other than EINTR, call __svc_accept_failed.
24166 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24167 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24169 2012-11-28 Andreas Schwab <schwab@suse.de>
24171 * scripts/abilist.awk: Also handle indirect functions in .opd
24174 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24177 * sysdeps/x86/fpu/powl_helper.c: New file.
24178 * sysdeps/x86/fpu/Makefile: Likewise.
24179 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24181 (__ieee754_powl): Use __powl_helper for finite arguments except
24182 integer exponents below 8.
24183 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24185 (__ieee754_powl): Use __powl_helper for finite arguments except
24186 integer exponents below 8.
24187 * math/libm-test.inc (pow_test): Add more tests and enable some
24188 previously disabled tests.
24189 * sysdeps/i386/fpu/libm-test-ulps: Update.
24190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24192 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24193 Carlos O'Donell <carlos_odonell@mentor.com>
24195 * nss/makedb.c (is_prime): Assert that input is odd and greater
24196 than 4. Note that fact in a comment too.
24197 (next_prime): Add 4 to input.
24199 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24202 * libio/Makefile (tests): Add test case tst-fwrite-error.
24203 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24204 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24205 * libio/tst-fwrite-error.c: New test case.
24207 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24209 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24210 before casting to void *.
24211 * include/libc-internal.h (__pointer_type): New macro.
24212 (__integer_if_pointer_type_sub): Likewise.
24213 (__integer_if_pointer_type): Likewise.
24214 (cast_to_integer): Likewise.
24215 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24216 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24217 before casting to atomic64_t.
24218 (atomic_exchange_acq): Likewise.
24219 (__arch_exchange_and_add_body): Likewise.
24220 (__arch_add_body): Likewise.
24221 (atomic_add_negative): Likewise.
24222 (atomic_add_zero): Likewise.
24224 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24226 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24227 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24228 (add_fdes): Likewise.
24229 (linear_search_fdes): Likewise.
24230 (binary_search_unencoded_fdes): Likewise.
24232 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24234 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24236 2012-11-24 Adam Conrad <adconrad@0c3.net>
24238 * configure.in: Autodetect C++ header directories.
24239 * configure: Regenerated.
24241 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24243 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24245 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24249 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24251 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24252 LDBL_MANT_DIG == 106]: Disable some tests.
24253 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24255 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24259 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24260 input for small inputs. Return +/- pi/2 for large inputs.
24261 * math/libm-test.inc (atan_test): Add more tests.
24263 * sysdeps/generic/unwind-dw2-fde-glibc.c
24264 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24265 __attribute__ ((unused)).
24268 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24269 x * y if x and y are nonzero and z is zero.
24272 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24273 nonzero exponents with absolute value below 0x1p-117 to +/-
24277 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24278 up arguments below 2**-450, not just those below 2**-500.
24279 * math/libm-test.inc (hypot_test): Add another test.
24282 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24283 Return a+b for ratio over 2**120, not 2**60.
24284 * math/libm-test.inc (hypot_test): Add another test.
24286 * math/libm-test.inc (clog_test): Use
24287 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24288 (clog10_test): Likewise.
24291 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24293 2012-11-22 Andreas Schwab <schwab@suse.de>
24295 * sysdeps/i386/fpu/libm-test-ulps: Update.
24297 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24299 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24300 printf output with newline.
24302 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24305 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24306 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24307 -z nodlopen, -z initfirst and -z execstack support.
24308 * configure: Regenerated.
24310 * elf/elf.h (DF_1_NODIRECT): New macro.
24311 (DF_1_IGNMULDEF): Likewise.
24312 (DF_1_NOKSYMS): Likewise.
24313 (DF_1_NOHDR): Likewise.
24314 (DF_1_EDITED): Likewise.
24315 (DF_1_NORELOC): Likewise.
24316 (DF_1_SYMINTPOSE): Likewise.
24317 (DF_1_GLOBAUDIT): Likewise.
24318 (DF_1_SINGLETON): Likewise.
24319 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24320 DT_1_SUPPORTED_MASK bits.
24321 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24323 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24325 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24327 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24329 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24332 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24333 (sendmmsg): Move declarations...
24334 * socket/sys/socket.h: ... here.
24335 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24336 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24338 * socket/recvmmsg.c: ... this new file.
24339 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24340 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24341 definition of __sendmmsg hidden.
24342 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24343 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24344 Move ENOSYS stub into and include it from...
24345 * socket/sendmmsg.c: ... this new file.
24346 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24347 (sysdep_routines): Move recvmmsg and sendmmsg...
24348 * socket/Makefile (routines): ... here.
24349 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24350 (GLIBC_PRIVATE): Add __sendmmsg.
24351 * include/sys/socket.h (__sendmmsg): Add declarations.
24352 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24355 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24357 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24358 variable I1 with __attribute__ ((unused)).
24359 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24361 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24363 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24364 DUMMY variables with __attribute__ ((unused)).
24366 * bits/byteswap.h: Include <bits/types.h>.
24367 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24369 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24371 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24372 string_t. Do not manually set errno.
24373 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24374 length with __strnlen. Make sure to both set errno and return it on
24377 2012-11-19 David S. Miller <davem@davemloft.net>
24379 With help from Joseph Myers.
24380 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24381 very large arguments properly.
24382 * math/libm-test.inc (atan_test): New tests.
24383 (atan2_test): New tests.
24384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24387 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24390 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24393 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24394 [POSIX] (EADDRNOTAVAIL): Likewise.
24395 [POSIX] (EAFNOSUPPORT): Likewise.
24396 [POSIX] (EALREADY): Likewise.
24397 [POSIX] (ECONNABORTED): Likewise.
24398 [POSIX] (ECONNREFUSED): Likewise.
24399 [POSIX] (ECONNRESET): Likewise.
24400 [POSIX] (EDESTADDRREQ): Likewise.
24401 [POSIX] (EDQUOT): Likewise.
24402 [POSIX] (EHOSTUNREACH): Likewise.
24403 [POSIX] (EIDRM): Likewise.
24404 [POSIX] (EISCONN): Likewise.
24405 [POSIX] (ELOOP): Likewise.
24406 [POSIX] (EMULTIHOP): Likewise.
24407 [POSIX] (ENETDOWN): Likewise.
24408 [POSIX] (ENETUNREACH): Likewise.
24409 [POSIX] (ENOBUFS): Likewise.
24410 [POSIX] (ENODATA): Likewise.
24411 [POSIX] (ENOLINK): Likewise.
24412 [POSIX] (ENOMSG): Likewise.
24413 [POSIX] (ENOPROTOOPT): Likewise.
24414 [POSIX] (ENOSR): Likewise.
24415 [POSIX] (ENOSTR): Likewise.
24416 [POSIX] (ENOTCONN): Likewise.
24417 [POSIX] (ENOTSOCK): Likewise.
24418 [POSIX] (EOPNOTSUPP): Likewise.
24419 [POSIX] (EOVERFLOW): Likewise.
24420 [POSIX] (EPROTO): Likewise.
24421 [POSIX] (EPROTONOSUPPORT): Likewise.
24422 [POSIX] (EPROTOTYPE): Likewise.
24423 [POSIX] (ESTALE): Likewise.
24424 [POSIX] (ETIME): Likewise.
24425 [POSIX] (ETXTBSY): Likewise.
24426 [POSIX] (EWOULDBLOCK): Likewise.
24427 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24428 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24429 [POSIX] (SEEK_CUR): Likewise.
24430 [POSIX] (SEEK_END): Likewise.
24431 [POSIX || UNIX98] (mode_t): Do not require.
24432 [POSIX] (off_t): Likewise.
24433 [POSIX] (pid_t): Likewise.
24434 [POSIX] (sys/stat.h): Do not allow header.
24435 [POSIX] (unistd.h): Likewise.
24436 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24437 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24438 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24439 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24441 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24442 sigevent): Specify elements.
24443 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24445 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24446 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24448 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24449 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24450 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24451 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24452 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24453 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24454 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24455 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24456 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24457 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24458 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24459 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24460 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24461 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24463 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24465 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24467 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24469 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24470 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24471 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24472 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24473 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24474 Specify lower bound on value.
24475 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24476 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24477 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24478 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24479 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24480 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24481 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24482 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24484 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24486 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24487 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24488 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24489 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24490 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24491 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24492 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24493 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24494 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24495 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24496 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24497 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24498 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24499 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24500 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24501 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24503 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24505 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24506 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24507 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24508 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24509 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24510 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24512 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24513 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24514 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24515 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24516 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24517 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24518 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24520 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24521 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24522 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24523 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24524 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24525 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24526 specify as optional.
24527 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24528 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24529 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24530 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24531 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24532 [XPG3] (NL_LANGMAX): Likewise.
24533 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24534 [POSIX || XPG3] (NL_NMAX): Likewise.
24535 [POSIX || XPG3] (NL_SETMAX): Likewise.
24536 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24537 [XPG3] (NZERO): Likewise.
24538 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24539 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24540 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24541 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24542 (REG_ERANGE): Expect.
24543 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24545 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24546 Use (void) in prototype.
24547 [POSIX] (*_t): Allow.
24548 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24549 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24550 (WRDE_BADVAL): Expect.
24552 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24554 [XPG3 || XPG4] (O_RSYNC): Likewise.
24555 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24557 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24558 [XPG3 || XPG4] (sigqueue): Likewise.
24559 [XPG3 || XPG4] (sigtimedwait): Likewise.
24560 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24561 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24562 [XPG3 || XPG4] (vsnprintf): Likewise.
24563 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24565 [XPG3 || XPG4] (blksize_t): Likewise.
24566 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24568 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24569 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24570 [XPG3 || XPG4] (struct itimerspec): Likewise.
24571 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24572 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24573 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24574 [XPG3 || XPG4] (clockid_t): Likewise.
24575 [XPG3 || XPG4] (timer_t): Likewise.
24576 [XPG3 || XPG4] (clock_getres): Likewise.
24577 [XPG3 || XPG4] (clock_gettime): Likewise.
24578 [XPG3 || XPG4] (clock_settime): Likewise.
24579 [XPG3 || XPG4] (nanosleep): Likewise.
24580 [XPG3 || XPG4] (timer_create): Likewise.
24581 [XPG3 || XPG4] (timer_delete): Likewise.
24582 [XPG3 || XPG4] (timer_gettime): Likewise.
24583 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24584 [XPG3 || XPG4] (timer_settime): Likewise.
24585 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24586 [XPG3 || XPG4] (getlogin_r): Likewise.
24587 [XPG3 || XPG4] (pread): Likewise.
24588 [XPG3 || XPG4] (pthread_atfork): Likewise.
24589 [XPG3 || XPG4] (pwrite): Likewise.
24592 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24595 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24597 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24598 finalizing MALLSTREAM.
24600 * sysdeps/mach/hurd/syncfs.c: New file.
24602 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24605 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24606 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24607 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24608 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24609 (_nss_dns_gethostbyname4_r): Likewise.
24610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24611 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24613 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24616 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24618 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24620 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24621 * elf/cache.c (print_entry): Print ",AArch64" for
24624 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24625 * elf/cache.c (print_entry): Print ",hard-float" for
24628 2012-11-18 David S. Miller <davem@davemloft.net>
24630 With help from Joseph Myers.
24631 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24633 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24635 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24636 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24638 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24639 * math/libm-test.inc (y0_test): New tests.
24640 (y1_test): New tests.
24641 * sysdeps/i386/fpu/libm-test-ulps: Update.
24642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24645 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24647 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24649 * configure: Regenerated.
24651 2012-11-17 David S. Miller <davem@davemloft.net>
24654 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24655 nonzero exponents with absolute value below 0x1p-128 to +/-
24658 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24660 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24662 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24664 * posix/getconf-speclist.c: New file.
24665 * posix/posix-envs.def: Likewise.
24666 * posix/confstr.c (START_ENV_GROUP): New macro.
24667 (END_ENV_GROUP): Likewise.
24668 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24669 (KNOWN_PRESENT_ENV_STRING): Likewise.
24670 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24671 (UNKNOWN_ENVIRONMENT): Likewise.
24672 (confstr): Include posix-envs.def instead of handling
24673 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24674 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24675 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24676 (END_ENV_GROUP): Likewise.
24677 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24678 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24679 (UNKNOWN_ENVIRONMENT): Likewise.
24680 (__sysconf): Include posix-envs.def instead of handling associated
24681 cases directly here.
24682 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24683 preprocessing getconf-speclist.c rather than running getconf or
24684 generating empty file.
24686 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24688 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24690 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24693 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24695 2012-11-16 David S. Miller <davem@davemloft.net>
24697 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24698 smaller than LDBL_EPSILON/2.0L, just return xm1.
24700 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24702 * elf/tst-array1.c (init): Set constructor priority to 1000.
24703 (fini): Set destructor priority to 1000.
24704 * elf/tst-array2dep.c: Likewise.
24706 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24709 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24710 (_IO_new_file_xsputn): Also return EOF if none of the input
24711 data was written when overflow failed.
24712 * libio/iopadn.c (_IO_padn): Likewise.
24713 * libio/iowpadn.c (_IO_wpadn): Likewise.
24714 * stdio-common/tst-put-error.c: Add copyright notice.
24715 (do_test): Add case for printing padded string.
24716 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24717 _IO_padn returned error.
24718 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24719 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24722 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24724 * libio/libioP.h: Add comment note that the references to C++
24725 bits are now obsolete.
24727 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24729 * math/libm-test.inc (check_complex): Use asprintf.
24731 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24733 * debug/pcprofiledump.c (print_version): Update copyright year.
24734 * malloc/memusagestat.c (print_version): Likewise.
24736 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24739 * elf/Makefile (tests): Add tst-audit8.
24740 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24741 ($(objpfx)tst-audit8.out): New target.
24742 (tst-audit8-ENV): New variable.
24743 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24744 audit if l_reloc_result is NULL.
24745 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24746 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24747 * elf/tst-audit8.c: New file.
24749 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24751 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24752 * misc/Makefile (CFLAGS-select.c): Define.
24753 * posix/Makefile (CFLAGS-pause.c): Define.
24755 2012-11-13 David S. Miller <davem@davemloft.net>
24757 * crypt/Makefile: Move test targets after toplevel Rules
24758 inclusion. Grab any necessary sysdep routines when linking.
24759 * crypt/md5.c (md5_process_block): Remove define, we will always
24760 name it __md5_process_block.
24761 (md5_finish_ctx): Update md5_process_block call.
24762 (md5_stream): Likewise.
24763 (md5_process_bytes): Likewise.
24764 (md5_process_block): Rename to __md5_process_block and move to ...
24765 * crypt/md5-block.c: ... here.
24766 * crypt/sha256.c (sha256_process_block): Move to ...
24767 * crypt/sha256-block.c: ... here.
24768 * crypt/sha512.c (sha512_process_block): Move to ...
24769 * crypt/sha512-block.c: ... here.
24770 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24772 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24773 * sysdeps/sparc/sparc64/multiarch/Makefile
24774 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24776 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24777 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24779 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24780 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24781 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24782 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24783 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24784 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24785 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24786 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24787 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24789 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24790 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24792 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24794 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24796 * timezone/tzselect.ksh: Update from tzcode git revision
24797 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24798 * timezone/zdump.c: Likewise.
24799 * timezone/zic.c: Likewise.
24800 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24801 in TZVERSION setting, not $(PKGVERSION).
24802 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24803 REPORT_BUGS_TO settings.
24806 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24809 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24811 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24812 detection to immediately after _FP_ROUND().
24813 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24816 2012-11-11 David S. Miller <davem@davemloft.net>
24818 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24820 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24821 __close rather than their public counterparts.
24823 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24825 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24827 [UNIX98] (sem_timedwait): Do not expect.
24828 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24829 [XPG4 || UNIX98] (sockatmark): Do not expect.
24830 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24831 (clock_getcpuclockid): Do not expect.
24832 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24833 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24835 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24836 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24837 [UNIX98] (vwscanf): Likewise.
24838 [UNIX98] (vswscanf): Likewise.
24840 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24842 * timezone/version.h: Remove file.
24843 * timezone/README: Do not refer to version.h.
24844 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24845 $(objpfx)version.h.
24846 ($(objpfx)zdump.o): Likewise.
24847 ($(objpfx)version.h): New target.
24849 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24851 * timezone/README: Don't mention modification to tzselect.ksh.
24852 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24853 work on unmodified tzselect.ksh. Substitute version numbers in
24856 * Makefile (format-me): Remove.
24857 (INSTALL): Adjust indentation. Use commands directly instead of
24858 using $(format-me).
24860 * aclocal.m4 (ACX_PKGVERSION): New macro.
24861 (ACX_BUGURL): Likewise.
24862 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24863 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24864 (REPORT_BUGS_TO): Likewise.
24865 * configure: Regenerated.
24866 * config.h.in (PKGVERSION): New macro.
24867 (REPORT_BUGS_TO): Likewise.
24868 * config.make.in (PKGVERSION): New variable.
24869 (PKGVERSION_TEXI): Likewise.
24870 (REPORT_BUGS_TO): Likewise.
24871 (REPORT_BUGS_TEXI): Likewise.
24872 * Makefile (format-me): Use -I$(common-objpfx)manual.
24873 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24874 ($(common-objpfx)manual/%): New target.
24875 (manual/%): Remove target.
24876 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24877 (print_version): Use PKGVERSION.
24878 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24879 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24880 and REPORT_BUGS_TO.
24881 ($(objpfx)xtrace): Likewise.
24882 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24883 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24884 (print_version): Use PKGVERSION.
24885 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24886 (do_version): Use PKGVERSION.
24887 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24889 (common-ldd-rewrite): Likewise.
24890 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24891 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24892 (print_version): Use PKGVERSION.
24893 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24894 * elf/pldd.c (argp_program_bug_address): Remove variable.
24895 (more_help): New function.
24896 (argp): Use more_help.
24897 (print_version): Use PKGVERSION.
24898 * elf/sln.c (main): Use PKGVERSION.
24899 (usage): Use REPORT_BUGS_TO.
24900 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24901 (top level): Use PKGVERSION.
24902 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24903 (print_version): Use PKGVERSION.
24904 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24905 (print_version): Use PKGVERSION.
24906 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24907 (print_version): Use PKGVERSION.
24908 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24909 (print_version): Use PKGVERSION.
24910 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24911 (print_version): Use PKGVERSION.
24912 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24913 (print_version): Use PKGVERSION.
24914 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24916 ($(objpfx)memusage): Likewise.
24917 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24918 (do_version): Use PKGVERSION.
24919 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24920 (print_version): Use PKGVERSION.
24921 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24922 ($PKGVERSION): New variable.
24923 ($REPORT_BUGS_TO): Likewise.
24924 (usage): Use $REPORT_BUGS_TO.
24925 (top level): Use $PKGVERSION.
24926 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24927 ($(objpfx)pkgvers.texi): New rule.
24928 ($(objpfx)stamp-pkgvers): Likewise.
24929 * manual/install.texi: Include pkgvers.texi.
24930 (--with-pkgversion): Document new configure option.
24931 (--with-bugurl): Likewise.
24932 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24933 than necessarily for this particular distribution. Use
24934 REPORT_BUGS_TO for where to report bugs.
24935 * INSTALL: Regenerated.
24936 * manual/libc.texinfo: Include pkgvers.texi.
24937 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24938 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24939 (print_version): Use PKGVERSION.
24940 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24941 (print_version): Use PKGVERSION.
24942 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24943 (print_version): Use PKGVERSION.
24944 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24945 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24947 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24948 (print_version): Use PKGVERSION.
24949 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24950 (print_version): Use PKGVERSION.
24951 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24954 * timezone/checktab.awk: Update from tzcode 2012i.
24955 * timezone/ialloc.c: Likewise.
24956 * timezone/private.h: Likewise.
24957 * timezone/scheck.c: Likewise.
24958 * timezone/tzfile.h: Likewise.
24959 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24960 (TZVERSION): Hardcode tzcode version number.
24961 * timezone/zdump.c: Update from tzcode 2012i.
24962 * timezone/zic.c: Likewise.
24963 * timezone/version.h: New file.
24964 * timezone/README: Describe version.h. Update upstream location.
24967 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24968 (mktemp): Enable declaration.
24969 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24970 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24974 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24976 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24978 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24986 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24987 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24988 for copies of such integer values.
24989 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24990 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24992 2012-11-09 Andreas Jaeger <aj@suse.de>
24994 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24995 definitions and declarations that are provided by
24996 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24998 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25000 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25001 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25002 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25005 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25007 * elf/elf.h: Update comment before AArch64 relocations.
25009 2012-11-07 David S. Miller <davem@davemloft.net>
25011 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25012 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25013 (__start_context): Declare.
25014 (__makecontext_ret): Delete.
25015 (__makecontext): Hook up __start_context instead of
25017 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25018 (sysdep_routines): Add __start_context when in stdlib.
25020 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25022 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25023 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25024 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25026 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25027 (READELF): New variable. Use it instead of hardcoded "readelf".
25029 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25031 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25032 * sysdeps/x86/Makefile: Here.
25033 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25034 * sysdeps/x86/tst-xmmymm.sh: This.
25036 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25038 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25040 [UNIX98] (pthread_barrier_t): Do not expect.
25041 [UNIX98] (pthread_barrierattr_t): Likewise.
25042 [UNIX98] (pthread_spinlock_t): Likewise.
25043 [UNIX98] (pthread_barrier_destroy): Likewise.
25044 [UNIX98] (pthread_barrier_init): Likewise.
25045 [UNIX98] (pthread_barrier_wait): Likewise.
25046 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25047 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25048 [UNIX98] (pthread_barrierattr_init): Likewise.
25049 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25050 [UNIX98] (pthread_getcpuclockid): Likewise.
25051 [UNIX98] (pthread_mutex_timedlock): Likewise.
25052 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25053 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25054 [UNIX98] (pthread_sigmask): Likewise.
25055 [UNIX98] (pthread_spin_destroy): Likewise.
25056 [UNIX98] (pthread_spin_init): Likewise.
25057 [UNIX98] (pthread_spin_lock): Likewise.
25058 [UNIX98] (pthread_spin_trylock): Likewise.
25059 [UNIX98] (pthread_spin_unlock): Likewise.
25060 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25062 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25063 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25064 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25065 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25066 [XPG3 || XPG4] (pthread_key_t): Likewise.
25067 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25068 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25069 [XPG3 || XPG4] (pthread_once_t): Likewise.
25070 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25071 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25072 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25073 [XPG3 || XPG4] (pthread_t): Likewise.
25075 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25077 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25079 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25080 Change function return type to int.
25082 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25083 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25084 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25085 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25086 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25087 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25088 [!POSIX] (posix_madvise): Likewise.
25089 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25091 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25092 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25093 (mode_t): Likewise.
25094 (posix_mem_offset): Likewise.
25095 (posix_typed_mem_get_info): Likewise.
25096 (posix_typed_mem_open): Likewise.
25098 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25099 Change condition to [XOPEN2K8].
25101 * conform/conformtest.pl: Preprocess allow-header data with -x c
25102 instead of from stdin.
25103 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25104 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25105 [C99-based standards] (cerfc): Likewise.
25106 [C99-based standards] (cexp2): Likewise.
25107 [C99-based standards] (cexpm1): Likewise.
25108 [C99-based standards] (clog10): Likewise.
25109 [C99-based standards] (clog1p): Likewise.
25110 [C99-based standards] (clog2): Likewise.
25111 [C99-based standards] (clgamma): Likewise.
25112 [C99-based standards] (ctgamma): Likewise.
25113 [C99-based standards] (cerff): Likewise.
25114 [C99-based standards] (cerfcf): Likewise.
25115 [C99-based standards] (cexp2f): Likewise.
25116 [C99-based standards] (cexpm1f): Likewise.
25117 [C99-based standards] (clog10f): Likewise.
25118 [C99-based standards] (clog1pf): Likewise.
25119 [C99-based standards] (clog2f): Likewise.
25120 [C99-based standards] (clgammaf): Likewise.
25121 [C99-based standards] (ctgammaf): Likewise.
25122 [C99-based standards] (cerfl): Likewise.
25123 [C99-based standards] (cerfcl): Likewise.
25124 [C99-based standards] (cexp2l): Likewise.
25125 [C99-based standards] (cexpm1l): Likewise.
25126 [C99-based standards] (clog10l): Likewise.
25127 [C99-based standards] (clog1pl): Likewise.
25128 [C99-based standards] (clog2l): Likewise.
25129 [C99-based standards] (clgammal): Likewise.
25130 [C99-based standards] (ctgammal): Likewise.
25131 * conform/data/inttypes.h-data [C99-based standards]: Include
25132 stdint.h-data. Remove all expectations for stdint.h contents.
25133 [C99-based standards] (PRI*): Do not allow.
25134 [C99-based standards] (SCN*): Likewise.
25135 [C99-based standards] (*_t): Likewise.
25136 [C99-based-standards] (PRId8): Expect macro.
25137 [C99-based-standards] (PRIi8): Likewise.
25138 [C99-based-standards] (PRIo8): Likewise.
25139 [C99-based-standards] (PRIu8): Likewise.
25140 [C99-based-standards] (PRIx8): Likewise.
25141 [C99-based-standards] (PRIX8): Likewise.
25142 [C99-based-standards] (SCNd8): Likewise.
25143 [C99-based-standards] (SCNi8): Likewise.
25144 [C99-based-standards] (SCNo8): Likewise.
25145 [C99-based-standards] (SCNu8): Likewise.
25146 [C99-based-standards] (SCNx8): Likewise.
25147 [C99-based-standards] (PRIdLEAST8): Likewise.
25148 [C99-based-standards] (PRIiLEAST8): Likewise.
25149 [C99-based-standards] (PRIoLEAST8): Likewise.
25150 [C99-based-standards] (PRIuLEAST8): Likewise.
25151 [C99-based-standards] (PRIxLEAST8): Likewise.
25152 [C99-based-standards] (PRIXLEAST8): Likewise.
25153 [C99-based-standards] (SCNdLEAST8): Likewise.
25154 [C99-based-standards] (SCNiLEAST8): Likewise.
25155 [C99-based-standards] (SCNoLEAST8): Likewise.
25156 [C99-based-standards] (SCNuLEAST8): Likewise.
25157 [C99-based-standards] (SCNxLEAST8): Likewise.
25158 [C99-based-standards] (PRIdFAST8): Likewise.
25159 [C99-based-standards] (PRIiFAST8): Likewise.
25160 [C99-based-standards] (PRIoFAST8): Likewise.
25161 [C99-based-standards] (PRIuFAST8): Likewise.
25162 [C99-based-standards] (PRIxFAST8): Likewise.
25163 [C99-based-standards] (PRIXFAST8): Likewise.
25164 [C99-based-standards] (SCNdFAST8): Likewise.
25165 [C99-based-standards] (SCNiFAST8): Likewise.
25166 [C99-based-standards] (SCNoFAST8): Likewise.
25167 [C99-based-standards] (SCNuFAST8): Likewise.
25168 [C99-based-standards] (SCNxFAST8): Likewise.
25169 [C99-based-standards] (PRId16): Likewise.
25170 [C99-based-standards] (PRIi16): Likewise.
25171 [C99-based-standards] (PRIo16): Likewise.
25172 [C99-based-standards] (PRIu16): Likewise.
25173 [C99-based-standards] (PRIx16): Likewise.
25174 [C99-based-standards] (PRIX16): Likewise.
25175 [C99-based-standards] (SCNd16): Likewise.
25176 [C99-based-standards] (SCNi16): Likewise.
25177 [C99-based-standards] (SCNo16): Likewise.
25178 [C99-based-standards] (SCNu16): Likewise.
25179 [C99-based-standards] (SCNx16): Likewise.
25180 [C99-based-standards] (PRIdLEAST16): Likewise.
25181 [C99-based-standards] (PRIiLEAST16): Likewise.
25182 [C99-based-standards] (PRIoLEAST16): Likewise.
25183 [C99-based-standards] (PRIuLEAST16): Likewise.
25184 [C99-based-standards] (PRIxLEAST16): Likewise.
25185 [C99-based-standards] (PRIXLEAST16): Likewise.
25186 [C99-based-standards] (SCNdLEAST16): Likewise.
25187 [C99-based-standards] (SCNiLEAST16): Likewise.
25188 [C99-based-standards] (SCNoLEAST16): Likewise.
25189 [C99-based-standards] (SCNuLEAST16): Likewise.
25190 [C99-based-standards] (SCNxLEAST16): Likewise.
25191 [C99-based-standards] (PRIdFAST16): Likewise.
25192 [C99-based-standards] (PRIiFAST16): Likewise.
25193 [C99-based-standards] (PRIoFAST16): Likewise.
25194 [C99-based-standards] (PRIuFAST16): Likewise.
25195 [C99-based-standards] (PRIxFAST16): Likewise.
25196 [C99-based-standards] (PRIXFAST16): Likewise.
25197 [C99-based-standards] (SCNdFAST16): Likewise.
25198 [C99-based-standards] (SCNiFAST16): Likewise.
25199 [C99-based-standards] (SCNoFAST16): Likewise.
25200 [C99-based-standards] (SCNuFAST16): Likewise.
25201 [C99-based-standards] (SCNxFAST16): Likewise.
25202 [C99-based-standards] (PRId32): Likewise.
25203 [C99-based-standards] (PRIi32): Likewise.
25204 [C99-based-standards] (PRIo32): Likewise.
25205 [C99-based-standards] (PRIu32): Likewise.
25206 [C99-based-standards] (PRIx32): Likewise.
25207 [C99-based-standards] (PRIX32): Likewise.
25208 [C99-based-standards] (SCNd32): Likewise.
25209 [C99-based-standards] (SCNi32): Likewise.
25210 [C99-based-standards] (SCNo32): Likewise.
25211 [C99-based-standards] (SCNu32): Likewise.
25212 [C99-based-standards] (SCNx32): Likewise.
25213 [C99-based-standards] (PRIdLEAST32): Likewise.
25214 [C99-based-standards] (PRIiLEAST32): Likewise.
25215 [C99-based-standards] (PRIoLEAST32): Likewise.
25216 [C99-based-standards] (PRIuLEAST32): Likewise.
25217 [C99-based-standards] (PRIxLEAST32): Likewise.
25218 [C99-based-standards] (PRIXLEAST32): Likewise.
25219 [C99-based-standards] (SCNdLEAST32): Likewise.
25220 [C99-based-standards] (SCNiLEAST32): Likewise.
25221 [C99-based-standards] (SCNoLEAST32): Likewise.
25222 [C99-based-standards] (SCNuLEAST32): Likewise.
25223 [C99-based-standards] (SCNxLEAST32): Likewise.
25224 [C99-based-standards] (PRIdFAST32): Likewise.
25225 [C99-based-standards] (PRIiFAST32): Likewise.
25226 [C99-based-standards] (PRIoFAST32): Likewise.
25227 [C99-based-standards] (PRIuFAST32): Likewise.
25228 [C99-based-standards] (PRIxFAST32): Likewise.
25229 [C99-based-standards] (PRIXFAST32): Likewise.
25230 [C99-based-standards] (SCNdFAST32): Likewise.
25231 [C99-based-standards] (SCNiFAST32): Likewise.
25232 [C99-based-standards] (SCNoFAST32): Likewise.
25233 [C99-based-standards] (SCNuFAST32): Likewise.
25234 [C99-based-standards] (SCNxFAST32): Likewise.
25235 [C99-based-standards] (PRId64): Likewise.
25236 [C99-based-standards] (PRIi64): Likewise.
25237 [C99-based-standards] (PRIo64): Likewise.
25238 [C99-based-standards] (PRIu64): Likewise.
25239 [C99-based-standards] (PRIx64): Likewise.
25240 [C99-based-standards] (PRIX64): Likewise.
25241 [C99-based-standards] (SCNd64): Likewise.
25242 [C99-based-standards] (SCNi64): Likewise.
25243 [C99-based-standards] (SCNo64): Likewise.
25244 [C99-based-standards] (SCNu64): Likewise.
25245 [C99-based-standards] (SCNx64): Likewise.
25246 [C99-based-standards] (PRIdLEAST64): Likewise.
25247 [C99-based-standards] (PRIiLEAST64): Likewise.
25248 [C99-based-standards] (PRIoLEAST64): Likewise.
25249 [C99-based-standards] (PRIuLEAST64): Likewise.
25250 [C99-based-standards] (PRIxLEAST64): Likewise.
25251 [C99-based-standards] (PRIXLEAST64): Likewise.
25252 [C99-based-standards] (SCNdLEAST64): Likewise.
25253 [C99-based-standards] (SCNiLEAST64): Likewise.
25254 [C99-based-standards] (SCNoLEAST64): Likewise.
25255 [C99-based-standards] (SCNuLEAST64): Likewise.
25256 [C99-based-standards] (SCNxLEAST64): Likewise.
25257 [C99-based-standards] (PRIdFAST64): Likewise.
25258 [C99-based-standards] (PRIiFAST64): Likewise.
25259 [C99-based-standards] (PRIoFAST64): Likewise.
25260 [C99-based-standards] (PRIuFAST64): Likewise.
25261 [C99-based-standards] (PRIxFAST64): Likewise.
25262 [C99-based-standards] (PRIXFAST64): Likewise.
25263 [C99-based-standards] (SCNdFAST64): Likewise.
25264 [C99-based-standards] (SCNiFAST64): Likewise.
25265 [C99-based-standards] (SCNoFAST64): Likewise.
25266 [C99-based-standards] (SCNuFAST64): Likewise.
25267 [C99-based-standards] (SCNxFAST64): Likewise.
25268 [C99-based-standards] (PRIdMAX): Likewise.
25269 [C99-based-standards] (PRIiMAX): Likewise.
25270 [C99-based-standards] (PRIoMAX): Likewise.
25271 [C99-based-standards] (PRIuMAX): Likewise.
25272 [C99-based-standards] (PRIxMAX): Likewise.
25273 [C99-based-standards] (PRIXMAX): Likewise.
25274 [C99-based-standards] (SCNdMAX): Likewise.
25275 [C99-based-standards] (SCNiMAX): Likewise.
25276 [C99-based-standards] (SCNoMAX): Likewise.
25277 [C99-based-standards] (SCNuMAX): Likewise.
25278 [C99-based-standards] (SCNxMAX): Likewise.
25279 [C99-based-standards] (PRIdPTR): Likewise.
25280 [C99-based-standards] (PRIiPTR): Likewise.
25281 [C99-based-standards] (PRIoPTR): Likewise.
25282 [C99-based-standards] (PRIuPTR): Likewise.
25283 [C99-based-standards] (PRIxPTR): Likewise.
25284 [C99-based-standards] (PRIXPTR): Likewise.
25285 [C99-based-standards] (SCNdPTR): Likewise.
25286 [C99-based-standards] (SCNiPTR): Likewise.
25287 [C99-based-standards] (SCNoPTR): Likewise.
25288 [C99-based-standards] (SCNuPTR): Likewise.
25289 [C99-based-standards] (SCNxPTR): Likewise.
25290 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25292 * conform/data/stdint.h-data: Update comments to clarify
25294 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25296 [C99-based standards] (INT8_MAX): Likewise.
25297 [C99-based standards] (INT16_MIN): Likewise.
25298 [C99-based standards] (INT16_MAX): Likewise.
25299 [C99-based standards] (INT32_MIN): Likewise.
25300 [C99-based standards] (INT32_MAX): Likewise.
25301 [C99-based standards] (INT64_MIN): Likewise.
25302 [C99-based standards] (INT64_MAX): Likewise.
25303 [C99-based standards] (UINT8_MAX): Likewise.
25304 [C99-based standards] (UINT16_MAX): Likewise.
25305 [C99-based standards] (UINT32_MAX): Likewise.
25306 [C99-based standards] (UINT64_MAX): Likewise.
25307 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25308 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25309 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25310 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25311 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25312 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25313 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25314 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25315 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25316 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25317 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25318 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25319 [C99-based standards] (INT_FAST8_MIN): Likewise.
25320 [C99-based standards] (INT_FAST8_MAX): Likewise.
25321 [C99-based standards] (INT_FAST16_MIN): Likewise.
25322 [C99-based standards] (INT_FAST16_MAX): Likewise.
25323 [C99-based standards] (INT_FAST32_MIN): Likewise.
25324 [C99-based standards] (INT_FAST32_MAX): Likewise.
25325 [C99-based standards] (INT_FAST64_MIN): Likewise.
25326 [C99-based standards] (INT_FAST64_MAX): Likewise.
25327 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25328 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25329 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25330 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25331 [C99-based standards] (INTPTR_MIN): Likewise.
25332 [C99-based standards] (INTPTR_MAX): Likewise.
25333 [C99-based standards] (UINTPTR_MAX): Likewise.
25334 [C99-based standards] (INTMAX_MIN): Likewise.
25335 [C99-based standards] (INTMAX_MAX): Likewise.
25336 [C99-based standards] (UINTMAX_MAX): Likewise.
25337 [C99-based standards] (PTRDIFF_MIN): Likewise.
25338 [C99-based standards] (PTRDIFF_MAX): Likewise.
25339 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25340 [C99-based standards] (SIZE_MAX): Likewise.
25341 [C99-based standards] (WCHAR_MAX): Likewise.
25342 [C99-based standards] (WINT_MAX): Likewise.
25343 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25344 constraint on value.
25345 [C99-based standards] (WCHAR_MIN): Likewise.
25346 [C99-based standards] (WINT_MIN): Likewise.
25347 [C99-based standards] (*_t): Allow.
25348 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25349 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25350 Include math.h-data and complex.h-data. Remove all expectations
25351 of math.h and complex.h contents.
25352 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25354 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25355 (struct tm): Expect tag.
25356 [C99-based-standards] (wcstof): Expect function.
25357 [C99-based-standards] (wcstold): Likewise.
25358 [C99-based-standards] (wcstoll): Likewise.
25359 [C99-based-standards] (wcstoull): Likewise.
25360 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25361 macro-int-constant. Specify type.
25362 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25363 constraint on value.
25364 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25366 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25368 [ISO C standards]: Do not allow headers.
25369 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25370 wcs[abcdefghijklmnopqrstuvwxyz]*.
25371 [ISO C standards] (*_t): Do not allow.
25372 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25374 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25375 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25377 [ISO C standards]: Do not allow headers.
25378 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25379 is[abcdefghijklmnopqrstuvwxyz]*.
25380 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25381 to[abcdefghijklmnopqrstuvwxyz]*.
25382 [ISO C standards] (*_t): Do not allow.
25383 * conform/data/stdalign.h-data: New file.
25384 * conform/data/stdbool.h-data: Likewise.
25385 * conform/data/stdnoreturn.h-data: Likewise.
25387 2012-11-07 Roland McGrath <roland@hack.frob.com>
25390 * manual/filesys.texi (Directory Entries): Typo fix.
25391 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25393 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25395 * elf/elf.h (EM_AARCH64): New macro.
25396 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25397 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25398 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25399 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25400 (R_AARCH64_TLSDESC): Likewise.
25401 (NT_ARM_TLS): Likewise.
25402 (NT_ARM_HW_BREAK): Likewise.
25403 (NT_ARM_HW_WATCH): Likewise.
25405 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25408 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25409 (__ieee754_powl): Saturate nonzero exponents with absolute value
25410 below 0x1p-79 to +/- 0x1p-79.
25411 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25412 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25413 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25414 nonzero exponents with absolute value below 0x1p-32 to +/-
25416 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25417 (__ieee754_powl): Saturate nonzero exponents with absolute value
25418 below 0x1p-79 to +/- 0x1p-79.
25419 * math/libm-test.inc (pow_test): Add more tests.
25421 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25423 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25424 _dl_s390_cap_flags with kernel. Increase string length.
25425 (_dl_s390_platforms): Add z196 and zEC12.
25427 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25429 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25430 Change XOPEN21K to XOPEN2K.
25432 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25434 * string/memmove.c: Use memcpy when possible.
25436 2012-11-06 Andreas Jaeger <aj@suse.de>
25438 * po/eo.po: Update from translation team.
25440 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25444 exponent and small x and y exponents, scale x or y up. Increase
25445 by 2 the exponent used in scaling up.
25446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25448 * math/libm-test.inc (fma_test): Add more tests.
25449 (fma_test_towardzero): Likewise.
25450 (fma_test_downward): Likewise.
25451 (fma_test_upward): Likewise.
25453 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25456 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25460 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25461 namespace for names of struct fields.
25462 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25464 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25465 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25467 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25470 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25472 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25474 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25478 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25481 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25485 definitely overflow as x * y not x * y + z.
25486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25488 * math/libm-test.inc (fma_test): Add more tests.
25489 (fma_test_towardzero): Likewise.
25490 (fma_test_downward): Likewise.
25491 (fma_test_upward): Likewise.
25493 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25497 * include/stub-tag.h: Remove file.
25498 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25500 * manual/maint.texi (Porting): Don't reference it.
25501 * Makerules ($(objpfx)stubs): Likewise.
25502 * dirent/closedir.c: Don't include <stub-tag.h>.
25503 * dirent/dirfd.c: Likewise.
25504 * dirent/fdopendir.c: Likewise.
25505 * dirent/getdents.c: Likewise.
25506 * dirent/getdents64.c: Likewise.
25507 * dirent/opendir.c: Likewise.
25508 * dirent/readdir.c: Likewise.
25509 * dirent/readdir64.c: Likewise.
25510 * dirent/readdir64_r.c: Likewise.
25511 * dirent/readdir_r.c: Likewise.
25512 * dirent/rewinddir.c: Likewise.
25513 * dirent/seekdir.c: Likewise.
25514 * dirent/telldir.c: Likewise.
25515 * gmon/profil.c: Likewise.
25516 * grp/setgroups.c: Likewise.
25517 * inet/if_index.c: Likewise.
25518 * io/access.c: Likewise.
25519 * io/chdir.c: Likewise.
25520 * io/chmod.c: Likewise.
25521 * io/chown.c: Likewise.
25522 * io/close.c: Likewise.
25523 * io/dup.c: Likewise.
25524 * io/dup2.c: Likewise.
25525 * io/dup3.c: Likewise.
25526 * io/euidaccess.c: Likewise.
25527 * io/faccessat.c: Likewise.
25528 * io/fchdir.c: Likewise.
25529 * io/fchmod.c: Likewise.
25530 * io/fchmodat.c: Likewise.
25531 * io/fchown.c: Likewise.
25532 * io/fchownat.c: Likewise.
25533 * io/fcntl.c: Likewise.
25534 * io/flock.c: Likewise.
25535 * io/fstatfs.c: Likewise.
25536 * io/fstatfs64.c: Likewise.
25537 * io/fstatvfs.c: Likewise.
25538 * io/fstatvfs64.c: Likewise.
25539 * io/futimens.c: Likewise.
25540 * io/fxstat.c: Likewise.
25541 * io/fxstat64.c: Likewise.
25542 * io/fxstatat.c: Likewise.
25543 * io/fxstatat64.c: Likewise.
25544 * io/getcwd.c: Likewise.
25545 * io/isatty.c: Likewise.
25546 * io/lchmod.c: Likewise.
25547 * io/lchown.c: Likewise.
25548 * io/link.c: Likewise.
25549 * io/linkat.c: Likewise.
25550 * io/lseek.c: Likewise.
25551 * io/lseek64.c: Likewise.
25552 * io/lxstat64.c: Likewise.
25553 * io/mkdir.c: Likewise.
25554 * io/mkdirat.c: Likewise.
25555 * io/mkfifo.c: Likewise.
25556 * io/mkfifoat.c: Likewise.
25557 * io/open.c: Likewise.
25558 * io/open64.c: Likewise.
25559 * io/openat.c: Likewise.
25560 * io/openat64.c: Likewise.
25561 * io/pipe.c: Likewise.
25562 * io/pipe2.c: Likewise.
25563 * io/poll.c: Likewise.
25564 * io/posix_fadvise.c: Likewise.
25565 * io/posix_fadvise64.c: Likewise.
25566 * io/posix_fallocate.c: Likewise.
25567 * io/posix_fallocate64.c: Likewise.
25568 * io/read.c: Likewise.
25569 * io/readlink.c: Likewise.
25570 * io/readlinkat.c: Likewise.
25571 * io/rmdir.c: Likewise.
25572 * io/sendfile.c: Likewise.
25573 * io/sendfile64.c: Likewise.
25574 * io/statfs.c: Likewise.
25575 * io/statfs64.c: Likewise.
25576 * io/statvfs.c: Likewise.
25577 * io/statvfs64.c: Likewise.
25578 * io/symlink.c: Likewise.
25579 * io/symlinkat.c: Likewise.
25580 * io/ttyname.c: Likewise.
25581 * io/ttyname_r.c: Likewise.
25582 * io/umask.c: Likewise.
25583 * io/unlink.c: Likewise.
25584 * io/unlinkat.c: Likewise.
25585 * io/utime.c: Likewise.
25586 * io/utimensat.c: Likewise.
25587 * io/write.c: Likewise.
25588 * io/xmknod.c: Likewise.
25589 * io/xmknodat.c: Likewise.
25590 * io/xstat.c: Likewise.
25591 * io/xstat64.c: Likewise.
25592 * login/getpt.c: Likewise.
25593 * login/grantpt.c: Likewise.
25594 * login/unlockpt.c: Likewise.
25595 * math/e_acoshl.c: Likewise.
25596 * math/e_acosl.c: Likewise.
25597 * math/e_asinl.c: Likewise.
25598 * math/e_atan2l.c: Likewise.
25599 * math/e_atanhl.c: Likewise.
25600 * math/e_coshl.c: Likewise.
25601 * math/e_expl.c: Likewise.
25602 * math/e_fmodl.c: Likewise.
25603 * math/e_gammal_r.c: Likewise.
25604 * math/e_hypotl.c: Likewise.
25605 * math/e_j0l.c: Likewise.
25606 * math/e_j1l.c: Likewise.
25607 * math/e_jnl.c: Likewise.
25608 * math/e_lgammal_r.c: Likewise.
25609 * math/e_log10l.c: Likewise.
25610 * math/e_log2l.c: Likewise.
25611 * math/e_logl.c: Likewise.
25612 * math/e_powl.c: Likewise.
25613 * math/e_rem_pio2l.c: Likewise.
25614 * math/e_sinhl.c: Likewise.
25615 * math/e_sqrtl.c: Likewise.
25616 * math/fclrexcpt.c: Likewise.
25617 * math/fedisblxcpt.c: Likewise.
25618 * math/feenablxcpt.c: Likewise.
25619 * math/fegetenv.c: Likewise.
25620 * math/fegetexcept.c: Likewise.
25621 * math/fegetround.c: Likewise.
25622 * math/feholdexcpt.c: Likewise.
25623 * math/fesetenv.c: Likewise.
25624 * math/fesetround.c: Likewise.
25625 * math/feupdateenv.c: Likewise.
25626 * math/fgetexcptflg.c: Likewise.
25627 * math/fraiseexcpt.c: Likewise.
25628 * math/fsetexcptflg.c: Likewise.
25629 * math/ftestexcept.c: Likewise.
25630 * math/k_cosl.c: Likewise.
25631 * math/k_rem_pio2l.c: Likewise.
25632 * math/k_sinl.c: Likewise.
25633 * math/k_tanl.c: Likewise.
25634 * math/s_asinhl.c: Likewise.
25635 * math/s_atanl.c: Likewise.
25636 * math/s_cbrtl.c: Likewise.
25637 * math/s_erfl.c: Likewise.
25638 * math/s_expm1l.c: Likewise.
25639 * math/s_log1pl.c: Likewise.
25640 * math/s_tanhl.c: Likewise.
25641 * misc/acct.c: Likewise.
25642 * misc/brk.c: Likewise.
25643 * misc/chflags.c: Likewise.
25644 * misc/chroot.c: Likewise.
25645 * misc/fchflags.c: Likewise.
25646 * misc/fgetxattr.c: Likewise.
25647 * misc/flistxattr.c: Likewise.
25648 * misc/fremovexattr.c: Likewise.
25649 * misc/fsetxattr.c: Likewise.
25650 * misc/fsync.c: Likewise.
25651 * misc/ftruncate.c: Likewise.
25652 * misc/futimes.c: Likewise.
25653 * misc/futimesat.c: Likewise.
25654 * misc/getdomain.c: Likewise.
25655 * misc/getdtsz.c: Likewise.
25656 * misc/gethostid.c: Likewise.
25657 * misc/gethostname.c: Likewise.
25658 * misc/getloadavg.c: Likewise.
25659 * misc/getpagesize.c: Likewise.
25660 * misc/getsysstats.c: Likewise.
25661 * misc/getxattr.c: Likewise.
25662 * misc/gtty.c: Likewise.
25663 * misc/ioctl.c: Likewise.
25664 * misc/lgetxattr.c: Likewise.
25665 * misc/listxattr.c: Likewise.
25666 * misc/llistxattr.c: Likewise.
25667 * misc/lremovexattr.c: Likewise.
25668 * misc/lsetxattr.c: Likewise.
25669 * misc/lutimes.c: Likewise.
25670 * misc/madvise.c: Likewise.
25671 * misc/mincore.c: Likewise.
25672 * misc/mlock.c: Likewise.
25673 * misc/mlockall.c: Likewise.
25674 * misc/mmap.c: Likewise.
25675 * misc/mprotect.c: Likewise.
25676 * misc/msync.c: Likewise.
25677 * misc/munlock.c: Likewise.
25678 * misc/munlockall.c: Likewise.
25679 * misc/munmap.c: Likewise.
25680 * misc/preadv.c: Likewise.
25681 * misc/preadv64.c: Likewise.
25682 * misc/ptrace.c: Likewise.
25683 * misc/pwritev.c: Likewise.
25684 * misc/pwritev64.c: Likewise.
25685 * misc/readv.c: Likewise.
25686 * misc/reboot.c: Likewise.
25687 * misc/remap_file_pages.c: Likewise.
25688 * misc/removexattr.c: Likewise.
25689 * misc/revoke.c: Likewise.
25690 * misc/select.c: Likewise.
25691 * misc/setdomain.c: Likewise.
25692 * misc/setegid.c: Likewise.
25693 * misc/seteuid.c: Likewise.
25694 * misc/sethostid.c: Likewise.
25695 * misc/sethostname.c: Likewise.
25696 * misc/setregid.c: Likewise.
25697 * misc/setreuid.c: Likewise.
25698 * misc/setxattr.c: Likewise.
25699 * misc/sstk.c: Likewise.
25700 * misc/stty.c: Likewise.
25701 * misc/swapoff.c: Likewise.
25702 * misc/swapon.c: Likewise.
25703 * misc/sync.c: Likewise.
25704 * misc/syncfs.c: Likewise.
25705 * misc/syscall.c: Likewise.
25706 * misc/truncate.c: Likewise.
25707 * misc/ualarm.c: Likewise.
25708 * misc/usleep.c: Likewise.
25709 * misc/ustat.c: Likewise.
25710 * misc/utimes.c: Likewise.
25711 * misc/vhangup.c: Likewise.
25712 * misc/writev.c: Likewise.
25713 * posix/_exit.c: Likewise.
25714 * posix/alarm.c: Likewise.
25715 * posix/execve.c: Likewise.
25716 * posix/fexecve.c: Likewise.
25717 * posix/fork.c: Likewise.
25718 * posix/fpathconf.c: Likewise.
25719 * posix/getaddrinfo.c: Likewise.
25720 * posix/getegid.c: Likewise.
25721 * posix/geteuid.c: Likewise.
25722 * posix/getgid.c: Likewise.
25723 * posix/getgroups.c: Likewise.
25724 * posix/getlogin.c: Likewise.
25725 * posix/getlogin_r.c: Likewise.
25726 * posix/getpgid.c: Likewise.
25727 * posix/getpid.c: Likewise.
25728 * posix/getppid.c: Likewise.
25729 * posix/getresgid.c: Likewise.
25730 * posix/getresuid.c: Likewise.
25731 * posix/getsid.c: Likewise.
25732 * posix/getuid.c: Likewise.
25733 * posix/glob64.c: Likewise.
25734 * posix/nanosleep.c: Likewise.
25735 * posix/pathconf.c: Likewise.
25736 * posix/pause.c: Likewise.
25737 * posix/posix_madvise.c: Likewise.
25738 * posix/pread.c: Likewise.
25739 * posix/pread64.c: Likewise.
25740 * posix/pwrite.c: Likewise.
25741 * posix/pwrite64.c: Likewise.
25742 * posix/sched_getaffinity.c: Likewise.
25743 * posix/sched_getp.c: Likewise.
25744 * posix/sched_gets.c: Likewise.
25745 * posix/sched_primax.c: Likewise.
25746 * posix/sched_primin.c: Likewise.
25747 * posix/sched_rr_gi.c: Likewise.
25748 * posix/sched_setaffinity.c: Likewise.
25749 * posix/sched_setp.c: Likewise.
25750 * posix/sched_sets.c: Likewise.
25751 * posix/sched_yield.c: Likewise.
25752 * posix/setgid.c: Likewise.
25753 * posix/setlogin.c: Likewise.
25754 * posix/setpgid.c: Likewise.
25755 * posix/setresgid.c: Likewise.
25756 * posix/setresuid.c: Likewise.
25757 * posix/setsid.c: Likewise.
25758 * posix/setuid.c: Likewise.
25759 * posix/sleep.c: Likewise.
25760 * posix/spawni.c: Likewise.
25761 * posix/sysconf.c: Likewise.
25762 * posix/times.c: Likewise.
25763 * posix/wait.c: Likewise.
25764 * posix/wait3.c: Likewise.
25765 * posix/wait4.c: Likewise.
25766 * posix/waitpid.c: Likewise.
25767 * resolv/gai_sigqueue.c: Likewise.
25768 * resource/getpriority.c: Likewise.
25769 * resource/getrlimit.c: Likewise.
25770 * resource/getrusage.c: Likewise.
25771 * resource/nice.c: Likewise.
25772 * resource/setpriority.c: Likewise.
25773 * resource/setrlimit.c: Likewise.
25774 * resource/ulimit.c: Likewise.
25775 * rt/aio_cancel.c: Likewise.
25776 * rt/aio_fsync.c: Likewise.
25777 * rt/aio_read.c: Likewise.
25778 * rt/aio_sigqueue.c: Likewise.
25779 * rt/aio_suspend.c: Likewise.
25780 * rt/aio_write.c: Likewise.
25781 * rt/clock_getres.c: Likewise.
25782 * rt/clock_gettime.c: Likewise.
25783 * rt/clock_nanosleep.c: Likewise.
25784 * rt/clock_settime.c: Likewise.
25785 * rt/lio_listio.c: Likewise.
25786 * rt/mq_close.c: Likewise.
25787 * rt/mq_getattr.c: Likewise.
25788 * rt/mq_notify.c: Likewise.
25789 * rt/mq_open.c: Likewise.
25790 * rt/mq_receive.c: Likewise.
25791 * rt/mq_send.c: Likewise.
25792 * rt/mq_setattr.c: Likewise.
25793 * rt/mq_timedreceive.c: Likewise.
25794 * rt/mq_timedsend.c: Likewise.
25795 * rt/mq_unlink.c: Likewise.
25796 * rt/shm_open.c: Likewise.
25797 * rt/shm_unlink.c: Likewise.
25798 * rt/timer_create.c: Likewise.
25799 * rt/timer_delete.c: Likewise.
25800 * rt/timer_getoverr.c: Likewise.
25801 * rt/timer_gettime.c: Likewise.
25802 * rt/timer_settime.c: Likewise.
25803 * setjmp/__longjmp.c: Likewise.
25804 * setjmp/setjmp.c: Likewise.
25805 * signal/kill.c: Likewise.
25806 * signal/killpg.c: Likewise.
25807 * signal/raise.c: Likewise.
25808 * signal/sigaction.c: Likewise.
25809 * signal/sigaltstack.c: Likewise.
25810 * signal/sigblock.c: Likewise.
25811 * signal/sigignore.c: Likewise.
25812 * signal/sigintr.c: Likewise.
25813 * signal/signal.c: Likewise.
25814 * signal/sigpause.c: Likewise.
25815 * signal/sigpending.c: Likewise.
25816 * signal/sigqueue.c: Likewise.
25817 * signal/sigreturn.c: Likewise.
25818 * signal/sigset.c: Likewise.
25819 * signal/sigsetmask.c: Likewise.
25820 * signal/sigstack.c: Likewise.
25821 * signal/sigsuspend.c: Likewise.
25822 * signal/sigtimedwait.c: Likewise.
25823 * signal/sigvec.c: Likewise.
25824 * signal/sigwait.c: Likewise.
25825 * signal/sigwaitinfo.c: Likewise.
25826 * signal/sysv_signal.c: Likewise.
25827 * socket/accept.c: Likewise.
25828 * socket/accept4.c: Likewise.
25829 * socket/bind.c: Likewise.
25830 * socket/connect.c: Likewise.
25831 * socket/getpeername.c: Likewise.
25832 * socket/getsockname.c: Likewise.
25833 * socket/getsockopt.c: Likewise.
25834 * socket/isfdtype.c: Likewise.
25835 * socket/listen.c: Likewise.
25836 * socket/recv.c: Likewise.
25837 * socket/recvfrom.c: Likewise.
25838 * socket/recvmsg.c: Likewise.
25839 * socket/send.c: Likewise.
25840 * socket/sendmsg.c: Likewise.
25841 * socket/sendto.c: Likewise.
25842 * socket/setsockopt.c: Likewise.
25843 * socket/shutdown.c: Likewise.
25844 * socket/sockatmark.c: Likewise.
25845 * socket/socket.c: Likewise.
25846 * socket/socketpair.c: Likewise.
25847 * stdio-common/ctermid.c: Likewise.
25848 * stdio-common/cuserid.c: Likewise.
25849 * stdio-common/remove.c: Likewise.
25850 * stdio-common/rename.c: Likewise.
25851 * stdio-common/renameat.c: Likewise.
25852 * stdio-common/tempname.c: Likewise.
25853 * stdlib/getcontext.c: Likewise.
25854 * stdlib/makecontext.c: Likewise.
25855 * stdlib/setcontext.c: Likewise.
25856 * stdlib/swapcontext.c: Likewise.
25857 * stdlib/system.c: Likewise.
25858 * streams/fattach.c: Likewise.
25859 * streams/fdetach.c: Likewise.
25860 * streams/getmsg.c: Likewise.
25861 * streams/getpmsg.c: Likewise.
25862 * streams/putmsg.c: Likewise.
25863 * streams/putpmsg.c: Likewise.
25864 * sysdeps/unix/bsd/getpt.c: Likewise.
25865 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25866 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25867 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25870 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25871 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25872 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25873 * sysvipc/msgctl.c: Likewise.
25874 * sysvipc/msgget.c: Likewise.
25875 * sysvipc/msgrcv.c: Likewise.
25876 * sysvipc/msgsnd.c: Likewise.
25877 * sysvipc/semctl.c: Likewise.
25878 * sysvipc/semget.c: Likewise.
25879 * sysvipc/semop.c: Likewise.
25880 * sysvipc/semtimedop.c: Likewise.
25881 * sysvipc/shmat.c: Likewise.
25882 * sysvipc/shmctl.c: Likewise.
25883 * sysvipc/shmdt.c: Likewise.
25884 * sysvipc/shmget.c: Likewise.
25885 * termios/tcdrain.c: Likewise.
25886 * termios/tcflow.c: Likewise.
25887 * termios/tcflush.c: Likewise.
25888 * termios/tcgetattr.c: Likewise.
25889 * termios/tcgetpgrp.c: Likewise.
25890 * termios/tcsendbrk.c: Likewise.
25891 * termios/tcsetattr.c: Likewise.
25892 * termios/tcsetpgrp.c: Likewise.
25893 * time/adjtime.c: Likewise.
25894 * time/clock.c: Likewise.
25895 * time/getitimer.c: Likewise.
25896 * time/gettimeofday.c: Likewise.
25897 * time/setitimer.c: Likewise.
25898 * time/settimeofday.c: Likewise.
25899 * time/stime.c: Likewise.
25900 * time/time.c: Likewise.
25902 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25904 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25907 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25909 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25911 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25915 FE_TONEAREST before applying Dekker multiplication and Knuth
25916 addition. Clear inexact exceptions and check for exact zero
25917 results afterwards.
25918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25919 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25921 * math/libm-test.inc (fma_test): Add more tests.
25922 (fma_test_towardzero): Likewise.
25923 (fma_test_downward): Likewise.
25924 (fma_test_upward): Likewise.
25925 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25927 (libc_fesetround): New macro.
25928 (libc_fesetroundf): Likewise.
25929 (libc_fesetroundl): Likewise.
25930 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25932 (libc_fesetround_387): Likewise.
25933 (libc_fesetroundf): New macro.
25934 (libc_fesetround): Likewise.
25935 (libc_fesetroundl): Likewise.
25936 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25938 (libc_fesetroundf): New macro.
25939 (libc_fesetround): Likewise.
25940 (libc_fesetroundl): Likewise.
25941 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25942 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25943 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25945 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25946 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25948 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25949 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25951 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25955 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25956 integer constant usable in #if and use that to give value to enum
25958 (FE_DIVBYZERO): Likewise.
25959 (FE_UNDERFLOW): Likewise.
25960 (FE_OVERFLOW): Likewise.
25961 (FE_INVALID): Likewise.
25962 (FE_INVALID_SNAN): Likewise.
25963 (FE_INVALID_ISI): Likewise.
25964 (FE_INVALID_IDI): Likewise.
25965 (FE_INVALID_ZDZ): Likewise.
25966 (FE_INVALID_IMZ): Likewise.
25967 (FE_INVALID_COMPARE): Likewise.
25968 (FE_INVALID_SOFTWARE): Likewise.
25969 (FE_INVALID_SQRT): Likewise.
25970 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25971 (FE_TONEAREST): Likewise.
25972 (FE_TOWARDZERO): Likewise.
25973 (FE_UPWARD): Likewise.
25974 (FE_DOWNWARD): Likewise.
25975 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25976 (FE_DIVBYZERO): Likewise.
25977 (FE_OVERFLOW): Likewise.
25978 (FE_UNDERFLOW): Likewise.
25979 (FE_INEXACT): Likewise.
25980 (FE_TONEAREST): Likewise.
25981 (FE_DOWNWARD): Likewise.
25982 (FE_UPWARD): Likewise.
25983 (FE_TOWARDZERO): Likewise.
25984 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25985 (FE_UNDERFLOW): Likewise.
25986 (FE_OVERFLOW): Likewise.
25987 (FE_DIVBYZERO): Likewise.
25988 (FE_INVALID): Likewise.
25989 (FE_TONEAREST): Likewise.
25990 (FE_TOWARDZERO): Likewise.
25991 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25992 (FE_OVERFLOW): Likewise.
25993 (FE_UNDERFLOW): Likewise.
25994 (FE_DIVBYZERO): Likewise.
25995 (FE_INEXACT): Likewise.
25996 (FE_TONEAREST): Likewise.
25997 (FE_TOWARDZERO): Likewise.
25998 (FE_UPWARD): Likewise.
25999 (FE_DOWNWARD): Likewise.
26000 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26001 (FE_DIVBYZERO): Likewise.
26002 (FE_OVERFLOW): Likewise.
26003 (FE_UNDERFLOW): Likewise.
26004 (FE_INEXACT): Likewise.
26005 (FE_TONEAREST): Likewise.
26006 (FE_DOWNWARD): Likewise.
26007 (FE_UPWARD): Likewise.
26008 (FE_TOWARDZERO): Likewise.
26010 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26012 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26014 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26016 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26017 commands. Quote $PWD.
26018 (blacklist_exports): Don't use remove_newlines. Replace "declare
26020 (remove_newlines): Remove.
26022 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26024 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26025 * stdlib/stdlib.h (atof): Moved to ...
26026 * include/bits/stdlib-float.h: Here. New file.
26027 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26028 * stdlib/bits/stdlib-float.h: New file.
26029 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26031 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26034 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26036 * conform/conformtest.pl (@headers): Add fenv.h.
26037 * conform/data/fenv.h-data: New file.
26038 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26039 include of <math/fenv.h>.
26041 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26042 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26043 && !UNIX98]. Enables tests for XOPEN2K8.
26044 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26045 POSIX2008]: Likewise.
26047 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26048 (struct rusage): Do not expect type or its members.
26051 * math/math.h (FP_NAN): Define macro to integer constant usable in
26052 #if and use that to give value to enum constant.
26053 (FP_INFINITE): Likewise.
26054 (FP_ZERO): Likewise.
26055 (FP_SUBNORMAL): Likewise.
26056 (FP_NORMAL): Likewise.
26058 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26060 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26061 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26064 2012-11-02 Roland McGrath <roland@hack.frob.com>
26066 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26067 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26068 autoconf-time if not.
26069 * configure.in: Remove AC_PREREQ.
26071 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26073 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26074 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26075 of the internal implementation.
26077 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26079 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26080 except include of <misc/sys/syslog.h>.
26082 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26085 function returns with a NULL context exit with zero.
26087 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26089 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26091 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26093 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26094 (run_program_cmd): This.
26095 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26096 (tst_langinfo): New variable. Use it.
26098 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26100 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26101 floating point opcodes.
26103 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26105 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26108 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26110 * sysdeps/mach/hurd/powerpc: Remove directory.
26111 * sysdeps/mach/powerpc: Likewise.
26113 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26115 * scripts/check-local-headers.sh: Ignore c++ headers.
26117 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26119 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26120 __libc_cleanup_region_start argument.
26122 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26127 x * y using scaling, not as x * y + z.
26128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26129 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26130 * math/libm-test.inc (fma_test): Add more tests.
26131 (fma_test_towardzero): Likewise.
26132 (fma_test_downward): Likewise.
26133 (fma_test_upward): Likewise.
26135 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26137 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26139 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26141 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26144 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26146 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26148 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26155 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26158 Fix the order of the list for glibc 2.17.
26159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26162 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26166 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26169 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26170 for low part of x being zero before using __atanl (y).
26171 * math/libm-test.inc (atan2_test): Add another test.
26173 * manual/install.texi (Configuring and compiling): Document
26174 general use of test-wrapper and test-wrapper-env.
26175 * INSTALL: Regenerated.
26177 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26178 (__fma): Do not extract and scale down low bits on after-rounding
26179 systems when result rounded to normal precision would have normal
26181 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26182 (__fmal): Do not extract and scale down low bits on after-rounding
26183 systems when result rounded to normal precision would have normal
26185 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26186 (__fmal): Do not extract and scale down low bits on after-rounding
26187 systems when result rounded to normal precision would have normal
26189 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26191 (fma_test): Add more tests.
26192 (fma_test_towardzero): Likewise.
26193 (fma_test_downward): Likewise.
26194 (fma_test_upward): Likewise.
26196 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26198 * sysdeps/i386/tininess.h: Renamed to ...
26199 * sysdeps/x86/tininess.h: This.
26200 * sysdeps/x86_64/tininess.h: Removed.
26202 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26204 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26205 input. Use $(build-program-cmd).
26206 ($(objpfx)tst-array1-static.out): Likewise.
26207 ($(objpfx)tst-array2.out): Likewise.
26208 ($(objpfx)tst-array3.out): Likewise.
26209 ($(objpfx)tst-array4.out): Likewise.
26210 ($(objpfx)tst-array5.out): Likewise.
26211 ($(objpfx)tst-array5-static.out): Likewise.
26213 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26215 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26218 * nss/nsswitch.h (nss_interface_function): Provide new
26219 macro for use with NSS functions.
26220 * grp/initgroups.c: Use new macro.
26221 * nss/getXXbyYY.c: Likewise.
26222 * nss/getXXbyYY_r.c: Likewise.
26223 * nss/getXXent.c: Likewise.
26224 * nss/getXXent_r.c: Likewise.
26225 * sysdeps/posix/getaddrinfo.c: Likewise.
26227 2012-10-30 Andreas Jaeger <aj@suse.de>
26229 * po/ru.po: Update Russion translation from translation project.
26231 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26236 result and shift together with sticky bit instead of replicating
26237 round-to-nearest rounding.
26238 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26240 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26241 missing underflow exceptions.
26242 (fma_test_towardzero): Add more tests.
26243 (fma_test_downward): Likewise.
26244 (fma_test_upward): Likewise.
26247 * sysdeps/generic/tininess.h: New file.
26248 * sysdeps/i386/tininess.h: Likewise.
26249 * sysdeps/sh/tininess.h: Likewise.
26250 * sysdeps/x86_64/tininess.h: Likewise.
26251 * stdlib/tst-strtod-underflow.c: Likewise.
26252 * stdlib/tst-tininess.c: Likewise.
26253 * stdlib/strtod_l.c: Include <tininess.h>.
26254 (round_and_return): Do not set errno for exact underflow cases.
26255 Force an underflow exception when setting errno for underflow.
26256 Determine underflow based on rounding to normal precision if
26257 TININESS_AFTER_ROUNDING.
26258 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26259 ERANGE for exact underflow cases.
26260 * stdlib/Makefile (tests): Add tst-tininess and
26261 tst-strtod-underflow.
26262 ($(objpfx)tst-tininess): Use $(link-libm).
26263 ($(objpfx)tst-strtod-underflow): Likewise.
26265 2012-10-30 Andreas Jaeger <aj@suse.de>
26268 * elf/Makefile (tests): Remove conditional for have-initfini-array
26269 since this is now always required and the variable does not exist
26271 (tests-static): Likewise.
26272 (modules-names): Likewise.
26274 * po/eo.po: Add Esperanto translation from translation project.
26276 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26277 merged with constructor/destructor.
26278 (init_array): Likewise.
26279 * elf/tst-array2dep.c (fini_array): Likewise.
26280 (init_array): Likewise.
26282 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26284 * manual/message.texi: Delete @cartouche tags.
26286 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26288 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26290 * sysdeps/mach/hurd/fsync.c: Likewise.
26292 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26293 [_POSIX_REALTIME_SIGNALS]: Change condition to
26294 [_POSIX_REALTIME_SIGNALS > 0].
26296 2012-10-27 Andreas Jaeger <aj@suse.de>
26298 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26299 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26301 [__WORDSIZE != 64]: Likewise.
26303 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26305 * iconvdata/tst-table.sh: Remove ${SHELL}.
26306 * iconvdata/tst-tables.sh: Likewise.
26308 2012-10-25 David S. Miller <davem@davemloft.net>
26310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26311 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26314 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26316 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26317 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26318 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26321 2012-10-25 Roland McGrath <roland@hack.frob.com>
26323 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26324 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26327 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26328 Jim Blandy <jimb@codesourcery.com>
26330 * scripts/cross-test-ssh.sh: New file.
26331 * manual/install.texi (Configuring and compiling): Document use of
26333 * INSTALL: Regenerated.
26335 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26337 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26340 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26342 * Makeconfig (run-program-prefix): Fix comment.
26344 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26345 Jim Blandy <jimb@codesourcery.com>
26347 * Makeconfig (test-wrapper): New variable,
26348 (test-wrapper-env): Likewise.
26349 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26350 (run-built-tests): Define to yes.
26351 (run-program-prefix): Use $(test-wrapper).
26352 (built-program-cmd): Likewise.
26353 * Rules (make-test-out): Use $(test-wrapper-env) and
26354 $(host-built-program-cmd).
26355 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26356 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26358 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26359 $(test-wrapper-env) to tst-rtld-load-self.sh.
26360 ($(objpfx)order2.out): Use $(test-wrapper).
26361 ($(objpfx)tst-initorder.out): Likewise.
26362 ($(objpfx)tst-initorder2.out): Likewise.
26363 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26364 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26365 (test_wrapper_env): New variable. Use it to run ld.so.
26366 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26367 Use it to run ld.so.
26368 (test_wrapper_env): Likewise.
26369 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26370 $(test-wrapper) to run-iconv-test.sh.
26371 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26372 (ICONV): Use $test_wrapper.
26373 * posix/Makefile ($(objpfx)globtest.out): Pass
26374 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26375 globtest.sh, not $(run-program-prefix).
26376 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26377 (test_wrapper): Likewise.
26378 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26379 set together with run_via_rtld_prefix.
26380 (run_program_prefix): Define in terms of test_wrapper and
26381 run_via_rtld_prefix.
26383 2012-10-24 Roland McGrath <roland@hack.frob.com>
26385 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26386 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26390 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26391 Declare __clock_getres, __clock_gettime, __clock_settime,
26392 __clock_nanosleep, and __clock_getcpuclockid.
26393 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26394 Remove librt_hidden_def (clock_gettime).
26395 * sysdeps/unix/clock_gettime.c: Likewise.
26396 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26397 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26398 * rt/clock_getres.c: Define __clock_getres as an alias.
26399 * sysdeps/posix/clock_getres.c: Likewise.
26400 * rt/clock_settime.c: Define __clock_settime as an alias.
26401 * sysdeps/unix/clock_settime.c: Likewise.
26402 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26403 * sysdeps/unix/clock_nanosleep.c: Likewise.
26404 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26405 * rt/clock-compat.c: New file.
26406 * rt/Makefile (librt-routines): Add clock-compat and move
26407 $(clock-routines) to ...
26408 (routines): ... here, new variable.
26409 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26410 Don't add get_clockfreq here.
26411 * rt/Versions (libc: GLIBC_2.17): New version set.
26412 Add clock_* symbols here.
26413 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26414 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26415 (GLIBC_2.17): Add clock_* symbols.
26416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26427 * NEWS: Mention the move.
26429 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26430 Use __open, __read, __close rather than their public counterparts.
26431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26432 (__get_clockfreq_via_cpuinfo): Likewise.
26433 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26434 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26436 * config.h.in (HAVE_IFUNC): New #undef.
26437 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26439 * configure: Regenerated.
26441 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26443 * configure.in: Move READELF check to start of file.
26444 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26445 libc_cv_asm_gnu_indirect_function in the process.
26446 * configure: Regenerated.
26448 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26450 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26451 send the output to /dev/null.
26452 (libc_cv_cc_with_libunwind): Likewise.
26453 (libc_cv_as_noexecstack): Likewise.
26454 * configure: Regenerate.
26456 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26458 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26460 * posix/globtest.sh (TMPDIR): Do not set.
26461 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26462 (testout): Likewise.
26464 2012-10-24 Andreas Jaeger <aj@suse.de>
26466 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26467 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26468 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26469 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26470 posix_fadvise64, posix_fallocate64.
26472 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26473 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26474 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26476 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26478 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26481 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26482 <bits/fcntl-linux.h>.
26483 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26486 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26487 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26488 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26489 [__WORDSIZE != 64]: Likewise.
26491 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26493 * Makeconfig (run-built-tests): New variable.
26494 * Rules [$(cross-compiling) = yes]: Change condition to
26495 [$(run-built-tests) = no].
26496 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26497 to [$(run-built-tests) = yes].
26498 * elf/Makefile [$(cross-compiling) = no]: Likewise
26499 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26500 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26501 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26502 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26503 * io/Makefile [$(cross-compiling) = no]: Likewise.
26504 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26505 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26506 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26507 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26508 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26509 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26510 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26511 * string/Makefile [$(cross-compiling) = no]: Likewise.
26513 * posix/Makefile ($(objpfx)globtest.out): Pass
26514 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26515 $(rtld-installed-name).
26516 * posix/globtest.sh (elf_objpfx): Remove variable.
26517 (rtld_installed_name): Likewise.
26518 (library_path): Likewise.
26519 (run_program_prefix): New variable. Use for running globtest
26522 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26523 Joseph Myers <joseph@codesourcery.com>
26525 * Makeconfig (host-built-program-cmd): New variable.
26526 * elf/Makefile (tst-stackguard1-ARGS): Use
26527 $(host-built-program-cmd).
26528 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26529 (tst-spawn-ARGS): Likewise.
26530 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26532 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26533 Jim Blandy <jimb@codesourcery.com>
26535 * Makeconfig (run-via-rtld-prefix): New variable.
26536 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26537 (built-program-cmd): Likewise.
26539 2012-10-22 Andreas Jaeger <aj@suse.de>
26541 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26542 __O_RSYNC if it exists, otherwise to O_SYNC.
26544 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26545 Joseph Myers <joseph@codesourcery.com>
26547 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26549 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26551 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26554 2012-10-22 Andreas Jaeger <aj@suse.de>
26556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26558 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26561 bits/fcntl-linux.h.
26563 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26564 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26571 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26572 Joseph Myers <joseph@codesourcery.com>
26574 * config.make.in (NM): New variable.
26576 2012-10-21 Andreas Jaeger <aj@suse.de>
26578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26579 definitions and declarations that are provided by
26580 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26582 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26585 * elf/Makefile (tests-static): Add tst-leaks1-static.
26586 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26587 ($(objpfx)tst-leaks1-static): New rule.
26588 ($(objpfx)tst-leaks1-static-mem): Likewise.
26589 (tst-leaks1-static-ENV): New macro.
26590 * elf/dl-open.c (dl_open_worker): Check the main application
26591 only if SHARED is defined.
26592 * elf/tst-leaks1-static.c: New file.
26594 2012-10-20 Andreas Jaeger <aj@suse.de>
26596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26597 generic values for Linux.
26598 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26599 and declarations that are provided by <bits/fcntl-linux.h> and
26600 include <bits/fcntl-linux.h>.
26601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26604 2012-10-20 Roland McGrath <roland@hack.frob.com>
26606 * io/fcntl.h: Move include of <bits/types.h> to the top and
26607 include it unconditionally.
26609 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26611 * wcsmbs/Makefile (tests-ifunc): New variable.
26612 (tests): Add $(tests-ifunc).
26613 * wcsmbs/test-wcschr-ifunc.c: New file.
26614 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26615 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26616 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26617 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26618 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26620 * string/Makefile (tests-ifunc): New variable.
26621 (tests): Add $(tests-ifunc).
26622 * string/test-memccpy.c (TEST_NAME): New macro.
26623 * string/test-memchr.c (TEST_NAME): Likewise.
26624 * string/test-memcmp.c (TEST_NAME): Likewise.
26625 * string/test-memcpy.c (TEST_NAME): Likewise.
26626 * string/test-memmem.c (TEST_NAME): Likewise.
26627 * string/test-memmove.c (TEST_NAME): Likewise.
26628 * string/test-memset.c (TEST_NAME): Likewise.
26629 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26630 * string/test-stpcpy.c (TEST_NAME): Likewise.
26631 * string/test-stpncpy.c (TEST_NAME): Likewise.
26632 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26633 * string/test-strcasestr.c (TEST_NAME): Likewise.
26634 * string/test-strcat.c (TEST_NAME): Likewise.
26635 * string/test-strchr.c (TEST_NAME): Likewise.
26636 * string/test-strcmp.c(TEST_NAME): Likewise.
26637 * string/test-strcpy.c (TEST_NAME): Likewise.
26638 * string/test-strcspn.c (TEST_NAME): Likewise.
26639 * string/test-strlen.c (TEST_NAME): Likewise.
26640 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26641 * string/test-strncmp.c (TEST_NAME): Likewise.
26642 * string/test-strncpy.c (TEST_NAME): Likewise.
26643 * string/test-strnlen.c (TEST_NAME): Likewise.
26644 * string/test-strpbrk.c (TEST_NAME): Likewise.
26645 * string/test-strrchr.c (TEST_NAME): Likewise.
26646 * string/test-strspn.c (TEST_NAME): Likewise.
26647 * string/test-strstr.c (TEST_NAME): Likewise.
26648 * string/test-bcopy-ifunc.c: New file.
26649 * string/test-bzero-ifunc.c: Likewise.
26650 * string/test-memccpy-ifunc.c: Likewise.
26651 * string/test-memchr-ifunc.c: Likewise.
26652 * string/test-memcmp-ifunc.c: Likewise.
26653 * string/test-memcpy-ifunc.c: Likewise.
26654 * string/test-memmem-ifunc.c: Likewise.
26655 * string/test-memmove-ifunc.c: Likewise.
26656 * string/test-mempcpy-ifunc.c: Likewise.
26657 * string/test-memset-ifunc.c: Likewise.
26658 * string/test-rawmemchr-ifunc.c: Likewise.
26659 * string/test-stpcpy-ifunc.c: Likewise.
26660 * string/test-stpncpy-ifunc.c: Likewise.
26661 * string/test-strcasecmp-ifunc.c: Likewise.
26662 * string/test-strcasestr-ifunc.c: Likewise.
26663 * string/test-strcat-ifunc.c: Likewise.
26664 * string/test-strchr-ifunc.c: Likewise.
26665 * string/test-strchrnul-ifunc.c: Likewise.
26666 * string/test-strcmp-ifunc.c: Likewise.
26667 * string/test-strcpy-ifunc.c: Likewise.
26668 * string/test-strcspn-ifunc.c: Likewise.
26669 * string/test-strlen-ifunc.c: Likewise.
26670 * string/test-strncasecmp-ifunc.c: Likewise.
26671 * string/test-strncat-ifunc.c: Likewise.
26672 * string/test-strncmp-ifunc.c: Likewise.
26673 * string/test-strncpy-ifunc.c: Likewise.
26674 * string/test-strnlen-ifunc.c: Likewise.
26675 * string/test-strpbrk-ifunc.c: Likewise.
26676 * string/test-strrchr-ifunc.c: Likewise.
26677 * string/test-strspn-ifunc.c: Likewise.
26678 * string/test-strstr-ifunc.c: Likewise.
26680 * debug/Makefile (tests-ifunc): New variable.
26681 (tests): Add $(tests-ifunc).
26682 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26683 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26684 * debug/test-stpcpy_chk-ifunc.c: New file.
26685 * debug/test-strcpy_chk-ifunc.c: Likewise.
26687 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26690 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26691 header is not read in.
26693 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26695 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26696 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26697 directly. Pass built executable to script as
26698 $(built-program-cmd).
26699 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26700 $testprogram without using LD_LIBRARY_PATH and $ldso.
26702 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26703 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26704 $(rtld-installed-name).
26705 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26706 (rtld_installed_name): Likewise.
26707 (library_path): Likewise.
26708 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26709 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26710 $(run-program-prefix) to tst-tables.sh.
26711 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26712 it to run tst-table-from and tst-table-to.
26713 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26714 Pass it to tst-table.sh.
26715 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26716 $(run-program-prefix) to tst-gettext.sh.
26717 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26719 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26721 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26722 to run tst-gettext.
26723 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26724 to run tst-gettext2.
26725 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26726 to run tst-translit.
26727 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26728 $(run-program-prefix) to tst-mtrace.sh.
26729 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26731 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26732 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26733 $(rtld-installed-name).
26734 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26735 (rtld_installed_name): Likewise.
26736 (run_program_prefix): New variable. Use it to run wordexp-test.
26738 * Makeconfig (ARCH): Remove all definitions.
26739 (machine): Likewise.
26740 [ARCH]: Remove conditional code.
26741 [!objdir]: Give error.
26742 [!objdir] (objpfx): Remove.
26743 [!objdir] (common-objpfx): Likewise.
26744 [!objdir] (common-objdir): Likewise.
26745 * configure.in (config_makefile): Remove. Hardcode Makefile in
26746 AC_CONFIG_FILES call.
26747 * configure: Regenerated.
26750 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26752 (testout): Likewise.
26754 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26755 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26756 $(rtld-installed-name).
26757 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26758 (rtld_installed_name): Likwise.
26759 (runit): Remove function.
26760 (run_getconf): New variable, Use it for running getconf binary.
26762 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26765 * string/test-memmem.c (check_result): New function.
26766 (do_one_test): Use it.
26767 (check1): New function.
26768 (test_main): Use it.
26770 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26772 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26774 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26776 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26777 (_G_LSEEK64): Likewise.
26778 (_G_MMAP64): Likewise.
26779 (_G_FSTAT64): Likewise.
26780 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26781 (_G_LSEEK64): Likewise.
26782 (_G_MMAP64): Likewise.
26783 (_G_FSTAT64): Likewise.
26784 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26785 unconditional. Call __mmap64 directly.
26786 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26787 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26788 __lseek64 directly.
26789 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26790 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26792 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26793 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26794 __lseek64 directly.
26795 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26796 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26797 __lseek64 directly.
26798 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26799 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26800 __lseek64 directly.
26801 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26802 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26803 __fxstat64 directly.
26804 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26805 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26807 (freopen64) [!_G_OPEN64]: Remove conditional code.
26808 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26810 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26811 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26813 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26814 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26816 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26817 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26819 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26820 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26822 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26823 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26825 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26826 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26828 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26830 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26833 * manual/memory.texi (Malloc Tunable Parameters): Add note
26834 about free list pointers overwriting some perturb bytes.
26835 Wording suggested by Roland McGrath.
26837 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26839 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26840 (lgamma_test): Likewise.
26841 (tgamma_test): Likewise.
26843 2012-10-16 Florian Weimer <fweimer@redhat.com>
26846 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26847 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26849 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26851 * NEWS: Mention BZ #14716.
26852 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26853 when removing AVAILABLE1_USES_J macro.
26855 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26857 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26858 (__bswap_64): __uint64_t for unsigned 64-bit int.
26860 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26862 * include/string.h (memmem): Declare libc hidden alias.
26863 * string/memmem.c (memmem): Define libc hidden alias.
26864 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26865 __read, __close instead of open, read, close.
26867 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26869 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26870 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26872 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26873 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26874 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26876 (__rawmemchr_sse2): Likewise.
26877 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26878 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26879 (__strchr_sse2): Likewise.
26880 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26881 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26882 (__strcasecmp_sse2): Likewise.
26883 (__strncasecmp_sse2): Likewise.
26884 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26885 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26886 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26887 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26888 (__strrchr_sse2): Likewise.
26889 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26891 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26892 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26893 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26894 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26895 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26896 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26897 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26898 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26899 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26900 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26901 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26902 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26903 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26904 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26905 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26906 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26907 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26908 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26909 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26910 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26911 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26912 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26913 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26914 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26915 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26916 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26917 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26918 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26919 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26920 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26922 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26924 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26925 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26926 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26927 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26929 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26931 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26932 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26933 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26934 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26936 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26937 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26938 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26939 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26940 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26941 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26942 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26943 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26944 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26945 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26946 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26947 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26948 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26949 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26950 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26951 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26952 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26953 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26954 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26955 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26956 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26957 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26958 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26959 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26960 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26961 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26962 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26963 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26964 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26965 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26966 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26967 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26968 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26969 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26970 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26971 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26972 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26973 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26974 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26975 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26976 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26978 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26979 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26980 * include/ifunc-impl-list.h: New file.
26981 * misc/ifunc-impl-list.c: Likewise.
26982 * misc/Makefile (routines): Add ifunc-impl-list.
26983 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26984 * string/test-string.h: Include <ifunc-impl-list.h>.
26985 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26986 TEST_NAME]: New variables.
26987 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26989 (test_init): Call __libc_ifunc_impl_list to initialize
26990 func_list if TEST_IFUNC and TEST_NAME are defined.
26992 * string/Makefile (strop-tests): Add bcopy and bzero.
26993 * string/test-bcopy.c: New file.
26994 * string/test-bzero.c: Likewise.
26995 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26997 * string/test-memset.c: Support bzero test if TEST_BZERO is
26999 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27001 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27003 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27006 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27008 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27009 * configure: Regenerated.
27011 * Makeconfig (+link-static-before-libc): Don't include
27012 $(link-static-libc).
27014 * libio/libio.h (_IO_pos_t): Remove.
27016 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27018 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27021 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27023 * crypt/crypt-entry.c: Include fips-private.h.
27024 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27025 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27026 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27027 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27029 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27031 * crypt/crypt-private.h: Include stdbool.h.
27032 (_ufc_setup_salt_r): Return bool.
27033 * crypt/crypt-entry.c: Include errno.h.
27034 (__crypt_r): Return NULL with EINVAL for bad salt.
27035 * crypt/crypt_util.c (bad_for_salt): New.
27036 (_ufc_setup_salt_r): Check that salt is long enough and within
27037 the specified alphabet.
27038 * crypt/badsalttest.c: New file.
27039 * crypt/Makefile (tests): Add it.
27040 ($(objpfx)badsalttest): New.
27042 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27044 * NEWS: Add entry for BZ #14602.
27046 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27048 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27050 * math/libm-test.inc: Update comment listing what functions and
27052 (isgreater_test): New function.
27053 (isgreaterequal_test): Likewise.
27054 (isless_test): Likewise.
27055 (islessequal_test): Likewise.
27056 (islessgreater_test): Likewise.
27057 (isunordered_test): Likewise.
27058 (main): Call the new functions.
27060 2012-10-09 Roland McGrath <roland@hack.frob.com>
27062 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27063 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27064 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27065 * sysdeps/i386/configure: Regenerated.
27066 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27067 * sysdeps/mach/configure: Regenerated.
27068 * sysdeps/mach/hurd/configure: Regenerated.
27069 * sysdeps/powerpc/configure: Regenerated.
27070 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27071 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27072 * sysdeps/s390/s390-32/configure: Regenerated.
27073 * sysdeps/s390/s390-64/configure: Regenerated.
27074 * sysdeps/sh/configure: Regenerated.
27075 * sysdeps/sparc/configure: Regenerated.
27076 * sysdeps/unix/sysv/linux/configure: Regenerated.
27077 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27078 * sysdeps/x86_64/configure: Regenerated.
27080 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27081 defined. Don't check if MAP is NULL.
27083 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27085 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27086 (_G_stat64): Likewise.
27087 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27088 (_G_stat64): Likewise.
27089 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27090 instead of struct _G_stat64.
27091 * libio/fileops.c (mmap_remap_check): Likewise.
27092 (decide_maybe_mmap): Likewise.
27093 (_IO_new_file_seekoff): Likewise.
27094 (_IO_file_stat): Likewise.
27095 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27097 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27098 instead of struct _G_stat64.
27099 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27101 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27104 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27106 (CHECK_EOL): New macro.
27107 (two_way_short_needle): Check beginning of haystack for EOL. Use
27109 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27110 Replace with CHECK_EOL.
27111 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27112 Replace with CHECK_EOL.
27114 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27116 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27118 * math/libm-test.inc: Update comment listing what functions and
27120 (finite_test): New function.
27121 (isinf_test): Likewise.
27122 (isnan_test): Likewise.
27123 (fpclassify_test): Test subnormal input.
27124 (isfinite_test): Likewise.
27125 (isnormal_test): Likewise.
27126 (main): Call the new functions.
27128 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27131 * Makerules (%.dynsym): Force C locale when running
27132 $(OBJDUMP) --dynamic-syms.
27134 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27136 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27139 2012-10-06 David S. Miller <davem@davemloft.net>
27141 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27142 upper 32-bits of the length value in %o2 since we use branch-on-register
27143 tests which consider the entire 64-bit register.
27145 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27147 * string/test-strstr.c (check2): Add a test for page boundary.
27149 2012-10-05 David S. Miller <davem@davemloft.net>
27151 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27152 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27154 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27156 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27157 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27158 and bzero when HWCAP_SPARC_CRYPTO is present.
27160 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27163 * string/test-strstr.c (check2): New function.
27164 (test_main): Call check2.
27166 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27168 * string/bug-strcasestr1.c (do_test): Moved to ...
27169 * string/test-strcasestr.c (check1): Here. New function.
27170 (do_one_test): Break out result checking code into ...
27171 (check_result): This. New function.
27172 (do_one_test): Call check_result.
27173 (test_main): Call check1.
27174 * string/bug-strchr1.c (do_test): Moved to ...
27175 * string/test-strchr.c (check1): Here. New function.
27176 (do_one_test): Break out result checking code into ...
27177 (check_result): This. New function.
27178 (do_one_test): Call check_result.
27179 (test_main): Call check1.
27180 * string/bug-strstr1.c (main): Moved to ...
27181 * string/test-strstr.c (check1): Here. New function.
27182 (do_one_test): Break out result checking code into ...
27183 (check_result): This. New function.
27184 (do_one_test): Call check_result.
27185 (test_main): Call check1.
27186 * string/bug-strcasestr1.c: Removed.
27187 * string/bug-strchr1.c: Likewise.
27188 * string/bug-strstr1.c: Likewise.
27190 * elf/Makefile (dl-routines): Add hwcaps.
27191 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27192 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27193 (_dl_important_hwcaps): Moved to ...
27194 * elf/dl-hwcaps.c: Here. New file.
27195 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27198 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27199 if IS_IN_rtld isn't defined.
27201 * elf/dl-support.c (_dl_sysinfo_map): New.
27202 Include "get-dynamic-info.h" and "setup-vdso.h".
27203 (_dl_non_dynamic_init): Call setup_vdso.
27204 * elf/dynamic-link.h: Don't include <assert.h>.
27205 (elf_get_dynamic_info): Moved to ...
27206 * elf/get-dynamic-info.h: Here. New file.
27207 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27208 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27209 * elf/setup-vdso.h: Here. New file.
27210 * elf/rtld.c: Include "setup-vdso.h".
27211 (dl_main): Call setup_vdso.
27213 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27215 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27216 creal in comment listing functions tested. List finite, isinf,
27217 isnan, isless, islessequal, isgreater, isgreaterequal,
27218 islessgreater, isunordered, lgamma_r and pow10 as functions and
27219 macros not tested. Mention which functions not tested are aliases
27220 for other functions. Fix typo. Note that signs of NaNs are not
27223 * scripts/config.guess: Update from config.git.
27224 * scripts/config.sub: Likewise.
27226 2012-10-04 Roland McGrath <roland@hack.frob.com>
27228 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27229 * misc/madvise.c (madvise): Renamed to __madvise.
27230 Make madvise a weak alias.
27231 * include/sys/mman.h: Declare __madvise.
27232 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27233 * sysdeps/unix/syscalls.list
27234 (madvise): Make __madvise the strong name, and madvise a weak alias.
27235 * sysdeps/unix/sysv/linux/syscalls.list
27236 (madvise, mmap): Remove redundant entries.
27237 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27238 * malloc/malloc.c (mtrim): Likewise.
27239 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27241 2012-10-03 Roland McGrath <roland@hack.frob.com>
27243 * sysdeps/mach/hurd/dl-cache.c: File removed.
27244 * config.h.in (USE_LDCONFIG): New #undef.
27245 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27246 * configure: Regenerated.
27247 * elf/Makefile (dl-routines): Add dl-cache only under
27248 [$(use-ldconfig) = yes].
27249 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27250 cache on [USE_LDCONFIG].
27251 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27253 * elf/rtld.c (dl_main): Likewise.
27255 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27257 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27258 _SC_LEVEL4_CACHE_LINESIZE.
27260 2012-10-03 Roland McGrath <roland@hack.frob.com>
27262 * sysdeps/unix/bsd/confstr.h: File removed.
27264 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27266 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27269 2012-10-02 Roland McGrath <roland@hack.frob.com>
27271 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27272 Make 'mapoff' field ElfW(Off) rather than off_t.
27274 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27276 * nscd/Makefile: Remove nscd-cflags and all its users.
27277 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27278 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27281 * malloc.c (malloc_printerr): Clarify error message.
27283 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27287 Set bit_FMA_Usable if FMA is supported.
27288 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27290 (bit_FMA4_Usable): Updated.
27291 (index_FMA_Usable): New macro.
27292 (CPUID_FMA): Likewise
27293 (HAS_FMA): Defined with bit_FMA_Usable.
27295 2012-10-01 Roland McGrath <roland@hack.frob.com>
27297 * bits/types.h (__swblk_t): Type removed.
27298 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27299 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27300 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27301 (__SWBLK_T_TYPE): Likewise.
27302 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27303 (__SWBLK_T_TYPE): Likewise.
27304 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27305 (__SWBLK_T_TYPE): Likewise.
27306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27307 (__SWBLK_T_TYPE): Likewise.
27309 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27310 Honza Horak <hhorak@redhat.com>
27312 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27313 (xdr_mapname): Use YPMAXMAP as maxsize.
27314 (xdr_peername): Use YPMAXPEER as maxsize.
27315 (xdr_keydat): Use YPAXRECORD as maxsize.
27316 (xdr_valdat): Use YPMAXRECORD as maxsize.
27318 2012-10-01 Roland McGrath <roland@hack.frob.com>
27320 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27322 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27323 * csu/init-first.c: ... here.
27324 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27325 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27326 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27327 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27328 * sysdeps/i386/init-first.c: File removed.
27329 * sysdeps/sh/init-first.c: File removed.
27331 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27335 if x * y might underflow to zero and z is zero.
27336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27338 * math/libm-test.inc (min_subnorm_value): New variable.
27339 (fma_test): Add more tests.
27340 (fma_test_towardzero): Likewise.
27341 (fma_test_downward): Likewise
27342 (fma_test_upward): Likewise.
27343 (initialize): Set min_subnorm_value.
27345 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27350 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27351 mode for addition resulting in exact zero.
27352 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27355 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27356 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27357 * math/libm-test.inc (fma_test): Add more tests.
27358 (fma_test_towardzero): New function.
27359 (fma_test_downward): Likewise.
27360 (fma_test_upward): Likewise.
27361 (main): Call the new functions.
27363 2012-09-28 David S. Miller <davem@davemloft.net>
27365 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27367 2012-09-28 Roland McGrath <roland@hack.frob.com>
27369 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27370 instead of SIGALRM.
27372 * sysdeps/gnu/_G_config.h: Moved to ...
27373 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27374 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27375 * sysdeps/generic/_G_config.h: ... here.
27377 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27379 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27381 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27382 Conditionalize target on [libnss_test1.so-version].
27384 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27386 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27387 (elfobjdir): Move out of conditionals.
27389 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27390 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27391 (__nss_lookup_function): Conditionalize label remove_from_tree on
27392 [!DO_STATIC_NSS || SHARED], matching its only use.
27394 2012-09-28 David S. Miller <davem@davemloft.net>
27396 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27397 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27399 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27401 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27403 when HWCAP_SPARC_CRYPTO is present.
27405 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27407 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27409 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27412 * stdio-common/vfprintf.c (process_string_arg): Revert
27415 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27417 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27419 * stdio-common/tst-sprintf.c: Include <locale.h>
27420 (main): Test sprintf's handling of incomplete multibyte
27423 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27425 * elf/dl-runtime.c (VERSYMIDX): Removed.
27426 * elf/dl-version.c (VERSYMIDX): Likewise.
27427 * elf/do-rel.h (VERSYMIDX): Likewise.
27428 (VALIDX): Likewise.
27429 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27430 * elf/rtld.c (VALIDX): Likewise.
27431 (ADDRIDX): Likewise.
27432 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27433 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27434 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27435 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27436 (VALIDX): Likewise.
27437 (ADDRIDX): Likewise.
27439 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27441 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27443 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27446 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27448 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27449 addresses are in the same scope as 192.0.2/24.
27450 * posix/gai.conf: Document new scope table defaults.
27452 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27455 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27456 for ftell. Compute offsets from write pointers instead.
27457 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27459 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27462 * libio/Makefile (tests): New test case tst-fseek.
27463 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27464 combination works in wide mode.
27465 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27466 state when the external buffer state changes.
27468 2012-09-27 David S. Miller <davem@davemloft.net>
27471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27472 pass reloc->r_addend in as the 'high' argument to
27473 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27477 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27479 * rt/tst-aio2.c: Include <pthread.h>.
27480 * rt/tst-aio3.c: Likewise.
27482 2012-09-27 Steve Ellcey <sellcey@mips.com>
27484 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27486 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27488 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27489 contents on [SHARED].
27491 2012-09-26 Marek Polacek <polacek@redhat.com>
27495 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27496 for C++ and GCC <4.3 as well as for non GCC compilers.
27498 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27502 2012-09-25 Roland McGrath <roland@hack.frob.com>
27504 * Makefile.in (all, install): Declare with .PHONY.
27505 Reported by Michael Hope <michael.hope@linaro.org>.
27507 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27509 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27510 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27512 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27514 (sydep_routines): Add the new and the internal functions.
27515 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27516 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27518 (GLIBC_2.17): Add the new function.
27519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27520 (GLIBC_2.17): Likewise.
27521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27522 (GLIBC_2.17): Likewise.
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27524 (GLIBC_2.17): Likewise.
27525 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27527 2012-09-25 Alan Modra <amodra@gmail.com>
27529 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27530 Add release barrier before setting once_control to say
27531 initialisation is done. Add hints on lwarx. Use macro in
27533 (clear_once_control): Add release barrier.
27535 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27538 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27540 * math/s_clog10.c (__clog10): Likewise.
27541 * math/s_clog10f.c (__clog10f): Likewise.
27542 * math/s_clog10l.c (__clog10l): Likewise.
27543 * math/s_clogf.c (__clogf): Likewise.
27544 * math/s_clogl.c (__clogl): Likewise.
27545 * math/Makefile (libm-calls): Add x2y2m1.
27546 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27547 (__x2y2m1): Likewise.
27548 (__x2y2m1l): Likewise.
27549 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27550 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27551 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27552 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27553 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27554 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27555 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27556 * sysdeps/i386/fpu/libm-test-ulps: Update.
27557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27560 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27561 int as type of variable DEPTH.
27562 (glob): Use size_t instead of int as type of variables NEWCOUNT
27565 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27567 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27568 Add s_sincosf-sse2.
27569 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27570 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27571 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27572 macros for using routine as __sincosf_ia32.
27573 Use macro for function declaration and weak_alias.
27574 * sysdeps/i386/fpu/libm-test-ulps: Update.
27576 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27579 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27580 subnormal argument.
27581 * math/s_cexpf.c (__cexpf): Likewise.
27582 * math/s_csinf.c (__csinf): Likewise.
27583 * math/s_csinhf.c (__csinhf): Likewise.
27584 * math/s_ctanf.c (__ctanf): Likewise.
27585 * math/s_ctanhf.c (__ctanhf): Likewise.
27586 * math/s_ccosh.c (__ccoshf): Likewise.
27587 * math/s_cexp.c (__cexpl): Likewise.
27588 * math/s_csin.c (__csin): Likewise.
27589 * math/s_csinh.c (__csinh): Likewise.
27590 * math/s_ctan.c (__ctan): Likewise.
27591 * math/s_ctanh.c (ctanh): Likewise.
27592 * math/s_ccoshl.c (__ccoshl): Likewise.
27593 * math/s_cexpl.c (__cexpl): Likewise.
27594 * math/s_csinl.c (__csinl): Likewise.
27595 * math/s_csinhl.c (__csinhl): Likewise.
27596 * math/s_ctanl.c (__ctanl): Likewise.
27597 * math/s_ctanhl.c (__ctanhl): Likewise.
27599 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27601 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27602 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27603 (_IO_off_t): Define to __off_t, not _G_off_t.
27604 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27605 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27606 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27607 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27608 type of __dummy and __dummy2 fields.
27609 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27610 (_G_ssize_t): Likewise.
27611 (_G_off_t): Likewise.
27612 (_G_pid_t): Likewise.
27613 (_G_uid_t): Likewise.
27614 (_G_wchar_t): Likewise.
27615 (_G_wint_t): Likewise.
27616 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27617 (_G_ssize_t): Likewise.
27618 (_G_off_t): Likewise.
27619 (_G_pid_t): Likewise.
27620 (_G_uid_t): Likewise.
27621 (_G_wchar_t): Likewise.
27622 (_G_wint_t): Likewise.
27623 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27624 (_G_ssize_t): Likewise.
27625 (_G_off_t): Likewise.
27626 (_G_pid_t): Likewise.
27627 (_G_uid_t): Likewise.
27628 (_G_wchar_t): Likewise.
27629 (_G_wint_t): Likewise.
27631 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27633 * malloc/arena.c: Include malloc-sysdep.h.
27634 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27635 is sufficient to shrink the heap or an unmap is needed.
27636 * sysdeps/generic/malloc-sysdep.h: New file. Define
27637 new function check_may_shrink_heap.
27638 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27639 new function check_may_shrink_heap.
27641 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27643 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27646 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27648 * catgets/test-gencat.sh: Add "set -e".
27649 * elf/tst-pathopt.sh: Likewise.
27650 * grp/tst_fgetgrent.sh: Likewise.
27651 * iconvdata/run-iconv-test.sh: Likewise.
27652 * intl/tst-gettext.sh: Likewise.
27653 * intl/tst-gettext2.sh: Likewise.
27654 * intl/tst-gettext4.sh: Likewise.
27655 * intl/tst-gettext6.sh: Likewise.
27656 * intl/tst-translit.sh: Likewise.
27657 * io/ftwtest-sh: Likewise.
27658 * libio/test-freopen.sh: Likewise.
27659 * malloc/tst-mtrace.sh: Likewise.
27660 * posix/globtest.sh: Likewise.
27661 * posix/tst-getconf.sh: Likewise.
27662 * posix/wordexp-tst.sh: Likewise.
27663 * stdio-common/tst-printf.sh: Likewise.
27664 * stdio-common/tst-unbputc.sh: Likewise.
27665 * stdlib/tst-fmtmsg.sh: Likewise.
27666 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27667 * catgets/Makefile: Do not specify -e option when running
27668 testsuite shell scripts.
27669 * elf/Makefile: Likewise.
27670 * grp/Makefile: Likewise.
27671 * iconvdata/Makefile: Likewise.
27672 * intl/Makefile: Likewise.
27673 * io/Makefile: Likewise.
27674 * libio/Makefile: Likewise.
27675 * malloc/Makefile: Likewise.
27676 * posix/Makefile: Likewise.
27677 * stdio-common/Makefile: Likewise.
27678 * stdlib/Makefile: Likewise.
27679 * sysdeps/x86_64/Makefile: Likewise.
27681 * io/ftwtest-sh: Add copyright header.
27682 * posix/globtest.sh: Likewise.
27683 * posix/tst-getconf.sh: Likewise.
27684 * posix/wordexp-tst.sh: Likewise.
27685 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27687 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27690 * Makeconfig (+link): Defined as $(+link-static) if
27691 $(build-shared) isn't yes.
27692 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27694 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27696 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27699 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27700 new chunk size with MALLOC_ALIGN_MASK.
27702 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27705 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27707 (__printf_fphex): Determine rounding using get_rounding_mode and
27709 * stdio-common/tst-printf-round.c (struct hex_test): New
27711 (hex_tests): New variable.
27712 (test_hex_in_one_mode): New function.
27713 (do_test): Also run tests for hex float output.
27715 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27717 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27718 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27719 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27720 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27721 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27722 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27723 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27724 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27726 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27728 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27729 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27730 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27731 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27733 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27736 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27738 * elf/tst-rtld-load-self.sh: New test.
27739 * elf/Makefile: Run it.
27741 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27743 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27744 (tst-writev-ENV): Remove.
27745 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27747 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27749 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27751 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27753 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27755 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27757 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27758 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27759 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27762 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27765 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27766 * config.make.in (have-cpp-asm-debuginfo): Removed.
27767 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27768 * configure: Regenerated.
27770 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27773 * stdio-common/printf_fp.c: Include <stdbool.h> and
27775 (___printf_fp): Determine rounding using get_rounding_mode and
27777 * stdio-common/tst-printf-round.c: New file.
27778 * stdio-common/Makefile (tests): Add tst-printf-round.
27779 (link-libm): New variable.
27780 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27782 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27785 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27786 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27788 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27791 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27793 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27794 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27795 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27796 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27798 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27801 * include/rounding-mode.h: New file.
27802 * sysdeps/generic/get-rounding-mode.h: Likewise.
27803 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27804 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27805 (MAX_VALUE): New macro.
27806 (MIN_VALUE): Likewise.
27807 (overflow_value): New function.
27808 (underflow_value): Likewise.
27809 (round_and_return): Use overflow_value and underflow_value to
27810 determine return values in overflow and underflow cases. Use
27811 round_away to determine rounding depending on rounding mode.
27812 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27813 determine return values in overflow and underflow cases.
27814 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27815 (struct test_results): New structure.
27816 (struct test): Use struct test_results to store expected results
27817 for all rounding modes.
27818 (TEST): Include expected results for all rounding modes.
27819 (test_in_one_mode): New function.
27820 (do_test): Use test_in_one_mode to compute and check results.
27821 Check results for all rounding modes.
27822 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27825 2012-12-09 Allan McRae <allan@archlinux.org>
27827 * sysdeps/i386/fpu/libm-test-ulps: Update
27829 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27831 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27832 (_G_int32_t): Likewise.
27833 (_G_uint16_t): Likewise.
27834 (_G_uint32_t): Likewise.
27835 (_G_HAVE_BOOL): Likewise.
27836 (_G_HAVE_ATEXIT): Likewise.
27837 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27838 (_G_HAVE_IO_FILE_OPEN): Likewise.
27839 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27840 (_G_int32_t): Likewise.
27841 (_G_uint16_t): Likewise.
27842 (_G_uint32_t): Likewise.
27843 (_G_HAVE_BOOL): Likewise.
27844 (_G_HAVE_ATEXIT): Likewise.
27845 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27846 (_G_HAVE_IO_FILE_OPEN): Likewise.
27847 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27848 (_G_int32_t): Likewise.
27849 (_G_uint16_t): Likewise.
27850 (_G_uint32_t): Likewise.
27851 (_G_HAVE_BOOL): Likewise.
27852 (_G_HAVE_ATEXIT): Likewise.
27853 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27854 (_G_HAVE_IO_FILE_OPEN): Likewise.
27856 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27858 * csu/libc-tls.c: Update copyright years.
27860 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27862 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27863 [!_G_USING_THUNKS]: Remove conditional code.
27864 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27865 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27867 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27868 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27869 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27870 (_G_VTABLE_LABEL_PREFIX): Likewise.
27871 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27872 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27873 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27874 (_G_VTABLE_LABEL_PREFIX): Likewise.
27875 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27876 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27877 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27878 (_G_VTABLE_LABEL_PREFIX): Likewise.
27879 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27881 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27883 * libio/Makefile: Include ../Makeconfig before tests.
27884 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27885 only if $(build-shared) is yes.
27887 * iconv/gconv_db.c: Update copyright years.
27889 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27891 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27892 unwind info if defined PIC. Fix special cases description.
27893 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27895 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27897 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27899 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27901 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27903 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27906 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27907 (LDLIBS-tst-chk4): This.
27908 (LDFLAGS-tst-chk5): Renamed to ...
27909 (LDLIBS-tst-chk5): This.
27910 (LDFLAGS-tst-chk6): Renamed to ...
27911 (LDLIBS-tst-chk6): This.
27912 (LDFLAGS-tst-lfschk4): Renamed to ...
27913 (LDLIBS-tst-lfschk4): This.
27914 (LDFLAGS-tst-lfschk5): Renamed to ...
27915 (LDLIBS-tst-lfschk5): This.
27916 (LDFLAGS-tst-lfschk6): Renamed to ...
27917 (LDLIBS-tst-lfschk6): This.
27919 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27920 on $(common-objpfx)soversions.mk.
27922 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27925 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27928 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27930 * malloc/arena.c (arena_get_retry): New function that gets
27931 another arena for the caller to try its request on.
27932 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27933 current arena cannot fulfill the request.
27934 (__libc_memalign): Likewise.
27935 (__libc_memalign): Likewise.
27936 (__libc_pvalloc): Likewise.
27937 (__libc_calloc): Likewise.
27939 2012-09-05 John Tobey <john.tobey@gmail.com>
27942 * manual/arith.texi (Operations on Complex): Fix description
27943 of carg branch cut.
27945 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27948 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27952 * manual/memory.texi (Memory): Make order of menu items match
27955 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27957 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27958 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27959 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27961 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27963 * csu/libc-tls.c (static_dtv): Renamed to ...
27964 (_dl_static_dtv): This. Make it global.
27965 (_dl_initial_dtv): Removed.
27966 (__libc_setup_tls): Updated.
27967 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27968 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27971 2012-09-06 Petr Machata <pmachata@redhat.com>
27973 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27974 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27975 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27976 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27978 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27981 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27982 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27985 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27988 * Makeconfig (link-static-before-libc): Replace $(+prector)
27990 (link-static-after-libc): Replace $(+postctor) with
27992 (link-bounded): Replace $(+prector)/$(+postctor) with
27993 $(+prectorT)/$(+postctorT).
27994 (+prectorT): New macro.
27995 (+postctorT): Likewise.
27997 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27999 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28000 (round_str): Handle values above the maximum for IBM long double
28002 * stdlib/tst-strtod-round.c (tests): Regenerated.
28004 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28006 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28008 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28009 zarch_nohighgprs around the zarch optimized routines.
28010 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28011 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28012 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28015 2012-09-05 David S. Miller <davem@davemloft.net>
28017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28019 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28020 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28021 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28022 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28025 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28027 * malloc/arena.c: Fold copyright years.
28028 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28030 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28032 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28034 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28036 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28038 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28040 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28041 change internal state upon failure.
28043 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28045 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28046 * malloc/memusage.c (mmap): Likewise.
28047 (mmap64, mremap): Likewise. Adjust name in comment.
28049 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28051 * libio/fileops.c: Fix typos in comments.
28052 * libio/oldfileops.c: Likewise.
28053 * libio/wfileops.c: Likewise.
28055 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28058 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28059 (tst-malloc-usable-ENV): Set environment for test case.
28060 * malloc/hooks.c (malloc_check_get_size): New function to get
28062 * malloc/malloc.c (musable): Use malloc_check_get_size.
28063 * malloc/tst-malloc-usable.c: New test case.
28065 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28067 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28069 2012-09-05 Allan McRae <allan@archlinux.org>
28072 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28073 determine header location.
28074 * configure: Regenerated.
28076 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28078 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28080 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28081 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28083 (test): Regenerate.
28085 2012-09-04 David S. Miller <davem@davemloft.net>
28087 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28088 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28089 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28091 2012-09-04 Florian Weimer <fweimer@redhat.com>
28093 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28096 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28098 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28101 * libio/iogetdelim.c: Include <limits.h>.
28102 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28103 + len + 1 would overflow.
28105 2012-09-03 Andreas Jaeger <aj@suse.de>
28107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28108 * sysdeps/i386/fpu/libm-test-ulps: Update.
28110 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28112 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28113 Add s_sinf-sse2, s_conf-sse2.
28115 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28116 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28117 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28118 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28120 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28121 for using routine as __sinf_ia32.
28122 Use macro for function declaration and weak_alias.
28123 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28124 for using routine as __cosf_ia32.
28125 Use macro for function declaration and weak_alias.
28127 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28128 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28130 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28131 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28134 * math/libm-test.inc (cos_test): Add more test cases.
28135 (sin_test): Likewise.
28136 (sincos_test): Likewise.
28138 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28140 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28141 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28143 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28145 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28148 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28149 first element of the GOT.
28150 (elf_machine_load_address): Return the difference between
28151 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28153 2012-09-01 Allan McRae <allan@archlinux.org>
28156 * configure.in (AWK): Require gawk version 3.0 or later.
28157 * configure: Regenerated.
28159 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28161 * sysdeps/unix/sysv/linux/kernel-features.h
28162 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28163 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28164 [__NR_clock_getres]: Make code unconditional.
28165 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28166 (clock_getcpuclockid): Remove code left unreachable by removal of
28168 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28169 code unconditional.
28170 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28171 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28172 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28173 Make code unconditional.
28174 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28175 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28176 * sysdeps/unix/sysv/linux/clock_settime.c
28177 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28179 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28180 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28182 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28185 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28186 scripts/test-installation.pl.
28188 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28189 and $ld_so_version if it is set.
28191 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28194 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28195 failure if reading from procfs failed.
28196 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28198 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28200 * sysdeps/unix/sysv/linux/kernel-features.h
28201 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28202 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28203 Remove conditional code.
28204 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28205 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28206 Remove conditional code.
28207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28208 * sysdeps/unix/sysv/linux/i386/fxstat.c
28209 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28211 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28212 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28214 * sysdeps/unix/sysv/linux/i386/lxstat.c
28215 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28216 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28217 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28218 Remove conditional code.
28219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28220 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28221 Remove conditional code.
28222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28223 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28224 <kernel-features.h>.
28225 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28227 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28228 Remove conditional code.
28229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28230 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28231 Remove conditional.
28233 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28236 * NEWS: Add fixed bug number.
28238 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28241 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28242 underflowing exponent in case of negative sign.
28243 * stdlib/tst-strtod-round-data: Add more tests.
28244 * stdlib/tst-strtod-round.c (tests): Regenerated.
28247 * stdlib/strtod_l.c (NDIG): Remove.
28248 (HEXNDIG): Likewise.
28249 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28250 smallest representable value.
28251 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28252 lie within an exact representation of 1/2 ulp of the result.
28253 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28255 (TENS_P9_IDX): Define unconditionally.
28256 (TENS_P9_SIZE): Likewise.
28257 (TENS_P10_IDX): Likewise.
28258 (TENS_P10_SIZE): Likewise.
28259 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28260 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28261 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28262 entries for 10^2^13 and 10^2^14.
28263 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28264 (TENS_P13_IDX): Define.
28265 (TENS_P13_SIZE): Likewise.
28266 (TENS_P14_IDX): Likewise.
28267 (TENS_P14_SIZE): Likewise.
28268 (_fpioconst_pow10): Change array size to
28269 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28271 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28272 1024]: Add entries for 10^2^13 and 10^2^14.
28273 [LAST_POW10 > _LAST_POW10]: Remove #error.
28274 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28275 (_fpioconst_pow10): Change array size to
28276 FPIOCONST_POW10_ARRAY_SIZE.
28277 * stdlib/gen-fpioconst.c: New file.
28278 * stdlib/gen-tst-strtod-round.c: Likewise.
28279 * stdlib/tst-strtod-round-data: Likewise.
28280 * stdlib/tst-strtod-round.c: Likewise.
28281 * stdlib/Makefile (tests): Add tst-strtod-round.
28284 * stdlib/strtod_l.c: Include <stdint.h>.
28285 (NDEBUG): Do not define.
28286 (round_and_return): Change EXPONENT parameter to type intmax_t.
28287 Rearrange calculations to avoid internal overflow possibilities.
28288 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28289 Rearrange calculations to avoid internal overflow possibilities.
28290 Assert that number fits inside MPNSIZE limbs.
28291 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28292 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28293 calculations and add assertions to avoid internal overflow
28294 possibilities. Add casts to avoid signed/unsigned operations.
28295 * stdlib/tst-strtod-overflow.c: New file.
28296 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28298 2012-08-25 Marek Polacek <polacek@redhat.com>
28300 * time/time.h: Fix some typos in comments.
28302 2012-08-23 Roland McGrath <roland@hack.frob.com>
28304 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28305 * posix/tst-rfc3484-2.c: Likewise.
28306 * posix/tst-rfc3484-3.c: Likewise.
28308 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28310 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28311 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28313 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28315 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28316 #include of fxstatat64.c.
28318 2012-08-22 Roland McGrath <roland@hack.frob.com>
28320 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28321 * shadow/getspent_r.c: Likewise.
28322 * shadow/getspnam.c: Likewise.
28323 * shadow/getspnam_r.c: Likewise.
28324 * gshadow/getsgent.c: Likewise.
28325 * gshadow/getsgent_r.c: Likewise.
28326 * gshadow/getsgnam.c: Likewise.
28327 * gshadow/getsgnam_r.c: Likewise.
28328 * inet/getnetbyad.c: Likewise.
28329 * inet/getnetbyad_r.c: Likewise.
28330 * inet/getnetbynm.c: Likewise.
28331 * inet/getnetbynm_r.c: Likewise.
28332 * inet/getnetent.c: Likewise.
28333 * inet/getnetent_r.c: Likewise.
28334 * inet/getproto.c: Likewise.
28335 * inet/getproto_r.c: Likewise.
28336 * inet/getprtent.c: Likewise.
28337 * inet/getprtent_r.c: Likewise.
28338 * inet/getprtname.c: Likewise.
28339 * inet/getprtname_r.c: Likewise.
28340 * inet/getrpcbyname.c: Likewise.
28341 * inet/getrpcbyname_r.c: Likewise.
28342 * inet/getrpcbynumber.c: Likewise.
28343 * inet/getrpcbynumber_r.c: Likewise.
28344 * inet/getrpcent.c: Likewise.
28345 * inet/getrpcent_r.c: Likewise.
28346 * inet/getaliasent.c: Likewise.
28347 * inet/getaliasent_r.c: Likewise.
28348 * inet/getaliasname.c: Likewise.
28349 * inet/getaliasname_r.c: Likewise.
28350 * nscd/getgrgid_r.c: Likewise.
28351 * nscd/getgrnam_r.c: Likewise.
28352 * nscd/gethstbyad_r.c: Likewise.
28353 * nscd/gethstbynm3_r.c: Likewise.
28354 * nscd/getpwnam_r.c: Likewise.
28355 * nscd/getpwuid_r.c: Likewise.
28356 * nscd/getsrvbynm_r.c: Likewise.
28357 * nscd/getsrvbypt_r.c: Likewise.
28358 * nscd/gai.c: Likewise.
28360 * configure.in (build_nscd): New substituted variable, set
28361 by --disable-build-nscd and defaults to $use_nscd.
28362 * configure: Regenerated.
28363 * config.make.in (build-nscd): New substituted variable.
28364 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28365 Change conditional to require [$(build-nscd) = yes] as well.
28366 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28369 * configure.in (use_nscd): New substituted variable, set by
28370 --disable-nscd. If enabled, define USE_NSCD.
28371 * configure: Regenerated.
28372 * config.h.in: Add USE_NSCD.
28373 * config.make.in (use-nscd): New substituted variable.
28374 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28375 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28376 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28377 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28378 (CFLAGS-getgrnam_r.c): Likewise.
28379 (CFLAGS-initgroups.c): Likewise.
28380 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28381 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28383 * inet/getnetgrent_r.c
28384 (nscd_setnetgrent): New function, broken out of ...
28385 (setnetgrent): ... here. Call it.
28386 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28387 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28388 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28389 * nscd/Makefile (routines, aux): Move definitions after include of
28390 Makeconfig. Conditionalize on [$(use-nscd) != no].
28391 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28392 Conditionalize on [USE_NSCD].
28393 (is_nscd, nscd_init_cb): Likewise.
28394 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28395 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28396 * nss/nss_db/db-init.c: Likewise.
28397 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28399 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28400 (make_request): Use it.
28401 (cache_valid_p): New function.
28402 (__check_pf): Use it.
28403 * NEWS: Add item for --disable-nscd.
28405 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28407 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28408 to support sed >= 4.2.1-20-ga9bf076.
28409 * configure: Regenerated.
28411 2012-08-22 Roland McGrath <roland@hack.frob.com>
28413 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28414 Conditionalize whole body on [IREL].
28416 2012-08-22 Jeff Law <law@redhat.com>
28419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28420 if the family is PF_UNSPEC.
28422 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28424 * Makerules (lib-version): Rename from V.
28425 (install-lib-nosubdir): Change V to lib-version.
28427 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28430 * powerpc32/power6/wcschr.c: New file.
28431 * powerpc32/power6/wcscpy.c: New file.
28432 * powerpc32/power6/wcsrchr.c: New file.
28433 * powerpc64/power6/wcschr.c: New file.
28434 * powerpc64/power6/wcscpy.c: New file.
28435 * powerpc64/power6/wcsrchr.c: New file.
28437 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28439 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28440 (two_way_short_needle): Use it.
28441 * string/strstr.c (AVAILABLE1_USES_J): Define.
28442 * string/strcasestr.c: Likewise.
28444 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28446 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28449 * NEWS: Add an entry.
28450 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28451 define their defaults.
28452 (two_way_short_needle): Detect end-of-string on-the-fly.
28453 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28454 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28455 * string/bug-strcasestr1.c: New test.
28456 * string/Makefile: Run it.
28458 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28461 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28462 the first character.
28464 2012-08-21 Roland McGrath <roland@hack.frob.com>
28466 * csu/elf-init.c (__libc_csu_irel): Function removed.
28467 * csu/libc-start.c (apply_irel): New function.
28468 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28470 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28472 * sysdeps/unix/sysv/linux/kernel-features.h
28473 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28474 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28475 <kernel-features.h>.
28476 [__NR_fadvise64_64]: Make code unconditional.
28477 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28478 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28479 !__NR_fadvise64_64)]: Likewise.
28480 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28481 !__NR_fadvise64_64))]: Likewise.
28482 [__NR_fadvise64]: Make code unconditional.
28483 [!__NR_fadvise64]: Remove conditional code.
28484 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28485 <kernel-features.h>.
28486 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28488 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28491 not include <kernel-features.h>.
28492 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28494 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28496 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28497 include <kernel-features.h>.
28498 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28500 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28503 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28505 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28506 slight instruction rearrangements per scrollpipe analysis.
28507 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28509 2012-08-20 Roland McGrath <roland@hack.frob.com>
28511 * manual/syslog.texi (syslog; vsyslog, closelog):
28512 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28513 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28515 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28516 DSOCAPS to match condition on defining it.
28518 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28520 * sysdeps/unix/sysv/linux/kernel-features.h
28521 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28523 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28524 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28526 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28527 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28529 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28530 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28532 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28533 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28535 * sysdeps/unix/sysv/linux/kernel-features.h
28536 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28537 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28539 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28540 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28541 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28542 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28543 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28544 Make code unconditional.
28545 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28546 (__mmap64) [!__NR_mmap2]: Likewise.
28547 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28548 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28549 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28550 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28551 [__NR_mmap2]: Make code unconditional.
28552 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28553 (__mmap64) [!__NR_mmap2]: Likewise.
28555 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28557 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28559 2012-08-18 Andreas Jaeger <aj@suse.de>
28561 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28563 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28565 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28566 * include/unistd.h (__have_sock_cloexec): Likewise.
28567 (__have_pipe2): Likewise.
28568 (__have_dup3): Likewise.
28570 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28573 * include/unistd.h (__have_pipe2): Change define into an extern int.
28574 (__have_dup3): Likewise.
28575 * socket/have_sock_cloexec.c: Include fcntl.h.
28576 (__have_pipe2): New variable.
28577 (__have_dup3): Likewise.
28579 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28581 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28583 2012-08-17 Marek Polacek <polacek@redhat.com>
28585 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28586 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28588 2012-08-17 Roland McGrath <roland@hack.frob.com>
28590 * configure.in: Add AC_SUBST for sysheaders.
28591 * configure: Regenerated.
28592 * config.make.in (sysheaders): New substituted variable.
28594 * sysdeps/unix/mkfifo.c: Moved ...
28595 * sysdeps/posix/mkfifo.c: ... here.
28596 * sysdeps/unix/mkfifoat.c: Moved ...
28597 * sysdeps/posix/mkfifoat.c: ... here.
28599 * sysdeps/unix/utime.c: Moved ...
28600 * sysdeps/posix/utime.c: ... here.
28602 * sysdeps/unix/time.c: Moved ...
28603 * sysdeps/posix/time.c: ... here.
28604 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28605 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28607 * sysdeps/unix/nice.c: Moved ...
28608 * sysdeps/posix/nice.c: ... here.
28610 * sysdeps/unix/alarm.c: Moved ...
28611 * sysdeps/posix/alarm.c: ... here.
28613 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28615 2012-08-17 Jeff Law <law@redhat.com>
28617 * intl/Makefile (codeset_mo): New variable.
28618 ($(codeset_mo)): New target.
28619 (tst-codeset.out): Depend on that. Remove explicit rule.
28620 (tst-gettext3.out, tst-gettext5.out): Likewise.
28621 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28622 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28623 * intl/tst-codeset.sh: Remove.
28624 * intl/tst-gettext3.sh: Likewise.
28625 * intl/tst-gettext5.sh: Likewise.
28627 2012-08-17 Roland McGrath <roland@hack.frob.com>
28629 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28630 * sysdeps/unix/syscalls.list: ... here.
28632 * sysdeps/posix/getaddrinfo.c
28633 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28634 (gaiconf_init, gaiconf_reload): Use them.
28635 [!_STATBUF_ST_NSEC]
28636 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28637 Define using time_t rather than struct timespec.
28639 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28640 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28642 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28644 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28645 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28648 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28649 __libc_cleanup_push argument.
28651 * bits/param.h: New file.
28652 * misc/sys/param.h: New file.
28653 * include/sys/param.h: New file.
28654 * misc/Makefile (headers): Add bits/param.h.
28655 * sysdeps/generic/sys/param.h: File removed.
28656 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28657 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28658 * sysdeps/mach/hurd/bits/param.h: New file.
28659 * sysdeps/mach/hurd/sys/param.h: File removed.
28661 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28664 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28666 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28667 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28670 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28671 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28672 rather than -D_IO_MTSAFE_IO conditionally.
28673 * stdio-common/Makefile (CPPFLAGS): Likewise.
28674 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28675 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28676 Use $(libio-mtsafe).
28677 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28678 of -D_IO_MTSAFE_IO.
28679 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28680 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28681 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28682 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28683 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28684 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28685 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28686 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28687 (CFLAGS-fread_u_chk.c): Likewise.
28688 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28689 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28690 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28691 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28692 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28693 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28694 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28695 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28696 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28698 * libio/Makefile: Test [$(libc-reentrant) = yes]
28699 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28702 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28703 * sysdeps/pthread/configure: File removed.
28704 * sysdeps/pthread/Makeconfig: New file.
28705 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28706 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28708 2012-08-16 Gary Benson <gbenson@redhat.com>
28710 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28711 unmapping the first object in a namespace.
28713 2012-08-16 Roland McGrath <roland@hack.frob.com>
28715 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28716 (__internal_setnetgrent): ... this. Add internal_function to
28717 definition. Add libc_hidden_def.
28718 (setnetgrent): Update caller.
28719 (internal_endnetgrent): Renamed to ...
28720 (__internal_endnetgrent): ... this. Add internal_function to
28721 definition. Add libc_hidden_def.
28722 (endnetgrent): Update caller.
28723 (internal_getnetgrent_r): Renamed to ...
28724 (__internal_getnetgrent_r): ... this. Add internal_function to
28725 definition. Add libc_hidden_def.
28726 (__getnetgrent_r): Update caller.
28727 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28729 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28731 * stdlib/longlong.h: Update from GCC.
28733 2012-08-16 Roland McGrath <roland@hack.frob.com>
28735 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28736 on _QL, which is set by umul_ppmm but never used.
28737 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28738 variables, which are set by GMP macros but never used.
28739 * stdio-common/_itowa.c (_itowa): Likewise.
28740 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28741 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28743 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28745 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28746 struct La_sh_regs is not constant.
28747 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28748 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28749 and struct La_sparc64_regs are not constant.
28751 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28753 * sysdeps/unix/sysv/linux/kernel-features.h
28754 (__ASSUME_POSIX_TIMERS): Remove.
28755 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28756 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28757 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28758 Make code unconditional.
28759 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28760 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28761 Make code unconditional.
28762 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28763 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28764 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28765 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28766 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28767 Make code unconditional.
28768 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28769 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28770 (__libc_missing_posix_timers): Remove.
28772 2012-08-15 Roland McGrath <roland@hack.frob.com>
28774 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28775 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28777 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28779 * elf/dl-sym.c: Include <stdlib.h>.
28781 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28782 constants, which avoids warnings in 32-bit builds.
28784 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28785 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28787 * misc/lseek.c: File moved to ...
28788 * io/lseek.c: ... here.
28790 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28792 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28793 shifting LEN more than 31 bits at once.
28795 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28798 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28799 segmentation fault for a case of two empty input strings.
28800 * string/test-strncasecmp.c (check1): Renamed to...
28801 (bz12205): ...this.
28802 (bz14195): Add new testcase for two empty input strings and N > 0.
28803 (test_main): Call new testcase, adapt for renamed function.
28805 2012-08-15 Andreas Jaeger <aj@suse.de>
28808 * crypt/md5test2.c: New test, based on test supplied by Serge
28809 Belyshev <belyshev@depni.sinp.msu.ru>.
28810 * crypt/Makefile (xtests): Add md5test-giant..
28811 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28813 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28816 * crypt/md5.c (md5_process_block): Don't assume the buffer
28817 length is less than 2**32.
28818 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28819 length is less than 2**64.
28821 2012-08-15 Roland McGrath <roland@hack.frob.com>
28823 * string/str-two-way.h: Include <sys/param.h>.
28824 (MAX): Macro removed.
28826 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28827 Move #define and #undef of memmove to just before and after
28828 including <string.h>.
28830 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28831 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28832 and after including <string.h>. Move declarations of
28833 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28834 to before #include "string/memmove.c".
28836 * include/dirent.h: Declare __getdirentries.
28838 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28839 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28841 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28843 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28844 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28845 * sysdeps/i386/configure: Regenerated.
28846 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28847 STABS_CURRENT_FILE, and STABS_FUN.
28848 (END): Remove call to STABS_FUN_END.
28849 (STABS_CURRENT_FILE1): Delete.
28850 (STABS_CURRENT_FILE): Likewise.
28851 (STABS_FUN): Likewise.
28852 (STABS_FUN_END): Likewise.
28853 (STABS_FUN2): Likewise.
28854 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28855 * sysdeps/x86_64/configure: Regenerated.
28857 2012-08-14 Roland McGrath <roland@hack.frob.com>
28859 * elf/dl-open.c: Include <atomic.h>.
28860 * elf/dl-lookup.c: Likewise.
28862 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28864 * sysdeps/unix/sysv/linux/kernel-features.h
28865 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28866 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28868 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28870 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28871 condition on __ASSUME_CLONE_THREAD_FLAGS.
28873 2012-08-14 Andreas Jaeger <aj@suse.de>
28875 * sysdeps/i386/fpu/libm-test-ulps: Update.
28877 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28879 * include/atomic.h (atomic_exchange_and_add): Split into ...
28880 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28883 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28887 2012-08-13 Jeff Law <law@redhat.com>
28889 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28890 null byte in the output string.
28892 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28894 * sysdeps/unix/sysv/linux/kernel-features.h
28895 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28896 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28897 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28898 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28899 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28900 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28901 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28903 2012-08-09 Jeff Law <law@redhat.com>
28906 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28907 When avoid_arena is set, don't retry in the that arena. Pick the
28908 next one, whatever it might be.
28909 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28910 (arena_lock): Pass in new parameter to arena_get2.
28911 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28913 (__libc_malloc): Unify retrying after main arena failure with
28914 __libc_memalign version.
28915 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28917 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28920 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28921 to __redirect_strstr.
28922 (__strstr_sse42): Use typeof __redirect_strstr.
28923 (__strstr_ia32): Likewise.
28924 (__libc_strstr): New prototype.
28925 (strstr): Renamed to ...
28926 (__libc_strstr): This.
28927 (strstr): New strong alias of __libc_strstr.
28928 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28929 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28932 (__libc_time): New prototype.
28933 (time_ifunc): Replace time with __libc_time.
28934 (time): New strong alias and hidden definition of __libc_time.
28935 (__GI_time): Remove strong alias.
28936 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28937 Include <stddef.h>.
28938 (memmove): Redefined to __redirect_memmove.
28939 (__memmove_sse2): Use typeof __redirect_memmove.
28940 (__memmove_ssse3): Likewise.
28941 (__memmove_ssse3_back): Likewise.
28942 (__libc_memmove): New prototype.
28943 (memmove): Renamed to ...
28944 (__libc_memmove): This.
28945 (memmove): New strong alias of __libc_memmove.
28947 2012-08-08 Mark Salter <msalter@redhat.com>
28950 (R_MN10300_TLS_GD): Define.
28951 (R_MN10300_TLS_LD): Likewise.
28952 (R_MN10300_TLS_LDO): Likewise.
28953 (R_MN10300_TLS_GOTIE): Likewise.
28954 (R_MN10300_TLS_IE): Likewise.
28955 (R_MN10300_TLS_LE): Likewise.
28956 (R_MN10300_TLS_DTPMOD): Likewise.
28957 (R_MN10300_TLS_DTPOFF): Likewise.
28958 (R_MN10300_TLS_TPOFF): Likewise.
28959 (R_MN10300_SYM_DIFF): Likewise.
28960 (R_MN10300_ALIGN): Likewise.
28961 (R_MN10300_NUM): Update.
28963 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28965 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28968 2012-08-08 Roland McGrath <roland@hack.frob.com>
28970 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28972 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28973 sysdeps/unix -> sysdeps/posix move.
28974 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28976 2012-08-07 Allan McRae <allan@archlinux.org>
28979 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28980 (SUNOS_CPP): Likewise.
28981 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28983 (open_input): Call CPP using execvp.
28985 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28987 * sysdeps/unix/sysv/linux/kernel-features.h
28988 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28989 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28990 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28991 (__ASSUME_WAITID_SYSCALL): Likewise.
28992 * sysdeps/unix/sysv/linux/dl-execstack.c
28993 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28994 code unconditional.
28995 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28997 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28998 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28999 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29001 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29003 [__ASSUME_WAITID_SYSCALL]: Likewise.
29004 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29006 2012-08-07 Roland McGrath <roland@hack.frob.com>
29008 * sysdeps/unix/closedir.c: Renamed to ...
29009 * sysdeps/posix/closedir.c: ... here.
29010 * sysdeps/unix/dirfd.c: Renamed to ...
29011 * sysdeps/posix/dirfd.c: ... here.
29012 * sysdeps/unix/dirstream.h: Renamed to ...
29013 * sysdeps/posix/dirstream.h: ... here.
29014 * sysdeps/unix/fdopendir.c: Renamed to ...
29015 * sysdeps/posix/fdopendir.c: ... here.
29016 * sysdeps/unix/opendir.c: Renamed to ...
29017 * sysdeps/posix/opendir.c: ... here.
29018 * sysdeps/unix/readdir.c: Renamed to ...
29019 * sysdeps/posix/readdir.c: ... here.
29020 * sysdeps/unix/readdir_r.c: Renamed to ...
29021 * sysdeps/posix/readdir_r.c: ... here.
29022 * sysdeps/unix/rewinddir.c: Renamed to ...
29023 * sysdeps/posix/rewinddir.c: ... here.
29024 * sysdeps/unix/seekdir.c: Renamed to ...
29025 * sysdeps/posix/seekdir.c: ... here.
29026 * sysdeps/unix/telldir.c: Renamed to ...
29027 * sysdeps/posix/telldir.c: ... here.
29028 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29029 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29030 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29031 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29033 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29034 * bits/fcntl.h: ... here.
29036 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29038 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29039 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29040 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29041 (struct flock): Move l_start, l_len to the beginning.
29042 Use __pid_t for l_pid.
29043 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29044 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29045 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29046 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29047 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29048 [__USE_LARGEFILE64] (struct flock64): New type.
29049 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29051 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29052 * bits/dirent.h: ... here.
29054 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29055 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29057 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29059 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29060 Change from 2.6.0 to 2.6.16.
29061 * sysdeps/unix/sysv/linux/configure: Regenerated.
29062 * sysdeps/unix/sysv/linux/kernel-features.h
29063 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29064 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29066 (__ASSUME_UTIMES): Likewise.
29067 (__ASSUME_CLONE_STOPPED): Remove.
29068 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29069 architectures, not kernel version.
29070 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29071 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29072 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29073 (__ASSUME_WAITID_SYSCALL): Likewise.
29074 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29075 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29076 * README: State 2.6.16 as minimum Linux kernel version. Do not
29077 refer to older versions.
29079 2012-08-06 Roland McGrath <roland@hack.frob.com>
29081 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29082 Define alphasort64 as an alias.
29083 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29084 Define versionsort64 as an alias.
29085 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29086 Define scandir64 as an alias.
29087 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29088 Define scandirat64 as an alias.
29089 * dirent/alphasort64.c (alphasort64):
29090 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29091 * dirent/versionsort64.c: Likewise.
29092 * dirent/scandir64.c: Likewise.
29093 * dirent/scandirat64.c: Likewise.
29094 * sysdeps/wordsize-64/alphasort.c: File removed.
29095 * sysdeps/wordsize-64/alphasort64.c: File removed.
29096 * sysdeps/wordsize-64/scandir.c: File removed.
29097 * sysdeps/wordsize-64/scandir64.c: File removed.
29098 * sysdeps/wordsize-64/scandirat.c: File removed.
29099 * sysdeps/wordsize-64/scandirat64.c: File removed.
29100 * sysdeps/wordsize-64/versionsort.c: File removed.
29101 * sysdeps/wordsize-64/versionsort64.c: File removed.
29102 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29103 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29104 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29105 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29106 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29107 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29108 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29109 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29111 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29112 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29113 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29114 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29115 [defined __arch64__ || defined __sparcv9]
29116 (__INO_T_MATCHES_INO64_T): New macro.
29117 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29118 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29119 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29120 * sysdeps/unix/sysv/linux/bits/dirent.h
29121 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29122 (_DIRENT_MATCHES_DIRENT64): New macro.
29124 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29125 Define lockf64 as an alias.
29126 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29127 Define fseeko64 as an alias.
29128 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29129 Define ftello64 as an alias.
29130 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29131 Define _IO_fgetpos64 and fgetpos64 as aliases.
29132 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29133 Define _IO_fsetpos64 and fsetpos64 as aliases.
29134 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29135 Conditionalize body on this.
29136 * libio/fseeko64.c: Likewise.
29137 * libio/ftello64.c: Likewise.
29138 * libio/iofgetpos64.c: Likewise.
29139 * libio/iofsetpos64.c: Likewise.
29140 * sysdeps/wordsize-64/lockf.c: File removed.
29141 * sysdeps/wordsize-64/lockf64.c: File removed.
29142 * sysdeps/wordsize-64/fseeko.c: File removed.
29143 * sysdeps/wordsize-64/fseeko64.c: File removed.
29144 * sysdeps/wordsize-64/ftello.c: File removed.
29145 * sysdeps/wordsize-64/ftello64.c: File removed.
29146 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29147 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29148 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29149 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29150 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29151 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29152 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29153 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29154 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29155 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29156 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29157 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29158 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29159 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29161 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29163 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29164 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29165 [defined __arch64__ || defined __sparcv9]
29166 (__OFF_T_MATCHES_OFF64_T): New macro.
29167 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29168 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29170 (__OFF_T_MATCHES_OFF64_T): New macro.
29172 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29174 * stdlib/secure-getenv.c (__secure_getenv): Replace
29175 GLIBC_2_16 with GLIBC_2_17.
29177 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29179 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29180 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29182 2012-08-03 David S. Miller <davem@davemloft.net>
29184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29186 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29188 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29190 (__ASSUME_CORRECT_SI_PID): Likewise.
29191 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29192 (__ASSUME_TMPFS_NAME): Likewise.
29193 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29194 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29195 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29196 (HAVE_AUX_SECURE): Make definition unconditional.
29197 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29198 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29200 2012-08-03 Roland McGrath <roland@hack.frob.com>
29202 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29203 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29204 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29205 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29206 __eloop_threshold instead of SYMLOOP_MAX.
29208 * sysdeps/generic/eloop-threshold.h: New file.
29209 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29211 * elf/chroot_canon.c (chroot_canon): Likewise.
29213 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29216 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29217 Change to 2.6.0 everywhere.
29218 * sysdeps/unix/sysv/linux/configure: Regenerated.
29219 * sysdeps/unix/sysv/linux/kernel-features.h
29220 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29221 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29223 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29224 (__ASSUME_FUTEX_REQUEUE): Remove.
29225 (__ASSUME_STATFS64): Define unconditionally.
29226 (__ASSUME_AT_SECURE): Likewise.
29227 (__ASSUME_CORRECT_SI_PID): Likewise.
29228 (__ASSUME_TGKILL): Define without depending on kernel version for
29230 (__ASSUME_UTIMES): Likewise.
29231 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29233 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29234 (__ASSUME_TMPFS_NAME): Likewise.
29235 * README: Update reference to Linux kernel versions.
29237 2012-08-02 Marek Polacek <polacek@redhat.com>
29240 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29241 libc_cv_asm_type_prefix with %.
29242 * configure: Regenerated.
29243 * include/libc-symbols.h: Remove comment about
29244 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29245 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29246 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29247 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29248 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29249 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29250 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29251 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29252 * elf/tst-unique2mod1.c: Likewise.
29253 * elf/tst-unique1mod2.c: Likewise.
29254 * elf/tst-unique1mod1.c: Likewise.
29255 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29256 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29257 Replace ASM_TYPE_DIRECTIVE with .type.
29258 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29259 * sysdeps/i386/sysdep.h: Likewise.
29260 * sysdeps/x86_64/sysdep.h: Likewise.
29261 * sysdeps/sh/sysdep.h: Likewise.
29262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29263 Do not define ASM_TYPE_DIRECTIVE.
29264 * sysdeps/powerpc/sysdep.h: Likewise.
29265 * sysdeps/powerpc/powerpc32/sysdep.h:
29266 Replace ASM_TYPE_DIRECTIVE with .type.
29267 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29268 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29269 * sysdeps/i386/fpu/e_powf.S: Likewise.
29270 * sysdeps/i386/fpu/e_expl.S: Likewise.
29271 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29272 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29273 * sysdeps/i386/fpu/e_pow.S: Likewise.
29274 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29275 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29276 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29277 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29278 * sysdeps/i386/fpu/e_log2.S: Likewise.
29279 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29280 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29281 * sysdeps/i386/fpu/e_powl.S: Likewise.
29282 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29283 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29284 * sysdeps/i386/fpu/e_logl.S: Likewise.
29285 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29286 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29287 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29288 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29289 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29290 * sysdeps/i386/fpu/e_log.S: Likewise.
29291 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29292 * sysdeps/i386/fpu/e_logf.S: Likewise.
29293 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29294 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29295 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29296 * sysdeps/i386/fpu/e_log10.S: Likewise.
29297 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29298 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29299 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29300 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29301 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29302 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29303 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29304 * sysdeps/i386/i686/strtok.S: Likewise.
29305 * sysdeps/i386/i386-mcount.S: Likewise.
29306 * sysdeps/i386/strtok.S: Likewise.
29307 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29308 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29309 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29310 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29311 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29312 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29313 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29314 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29315 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29316 * sysdeps/x86_64/_mcount.S: Likewise.
29317 * sysdeps/x86_64/strtok.S: Likewise.
29318 * sysdeps/sh/_mcount.S: Likewise.
29320 2012-08-01 Roland McGrath <roland@hack.frob.com>
29322 * libio/iofopen.c: Include <fcntl.h>.
29323 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29324 (_IO_fopen64, fopen64): Define as aliases.
29325 * libio/iofopen64.c: Include <fcntl.h>.
29326 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29327 Conditionalize body on this.
29328 * sysdeps/wordsize-64/iofopen.c: File removed.
29329 * sysdeps/wordsize-64/iofopen64.c: File removed.
29331 2012-08-01 Marek Polacek <polacek@redhat.com>
29333 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29334 Use dlfcn directly instead of a variable.
29335 (binfmt-subdir): Do not define.
29338 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29341 Remove all definitions.
29342 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29343 <kernel-features.h>.
29344 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29345 (miss_F_GETOWN_EX): Remove all definitions.
29346 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29348 [!__ASSUME_FCNTL64]: Remove conditional code.
29349 [__ASSUME_FCNTL64]: Make code unconditional.
29350 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29351 <kernel-features.h>.
29352 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29353 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29354 (lockf64) [__NR_fcntl64]: Make code unconditional.
29355 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29357 * sysdeps/unix/sysv/linux/kernel-features.h
29358 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29359 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29360 Make code unconditional.
29361 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29362 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29364 [__NR_vfork]: Make code unconditional.
29365 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29366 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29368 [__NR_vfork]: Make code unconditional.
29369 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29370 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29372 2012-08-01 Roland McGrath <roland@hack.frob.com>
29374 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29375 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29377 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29378 Define mkstemp64 as an alias.
29379 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29380 Define mkstemps64 as an alias.
29381 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29382 Define mkostemp64 as an alias.
29383 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29384 Define mkostemps64 as an alias.
29385 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29386 Conditionalize body on this.
29387 * misc/mkostemp64.c: Likewise.
29388 * misc/mkostemps64.c: Likewise.
29389 * misc/mkstemps64.c: Likewise.
29390 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29391 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29392 * sysdeps/wordsize-64/mkostemp.c: File removed.
29393 * sysdeps/wordsize-64/mkstemp.c: File removed.
29394 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29395 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29396 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29397 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29400 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29401 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29402 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29403 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29405 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29406 compat_symbol macros from <shlib-compat.h> rather than the underlying
29407 default_symbol_version and symbol_version macros, so that DEFAULT
29408 lines in shlib-versions are respected.
29409 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29411 2012-08-01 Florian Weimer <fweimer@redhat.com>
29413 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29414 Declare with warn_unused_result.
29415 (setgid, setregid, setegid, setresgid): Likewise.
29416 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29418 * WUR-REPORT: Remove set*id functions.
29420 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29422 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29424 2012-07-31 Roland McGrath <roland@hack.frob.com>
29427 * include/sys/socket.h (__libc_accept, __libc_accept4):
29428 Add attribute_hidden.
29429 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29431 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29433 * inet/getnetgrent_r.c (setup): Likewise.
29435 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29437 2012-07-31 David S. Miller <davem@davemloft.net>
29439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29441 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29444 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29445 value between 1.0 and 2.0 and smaller part has absolute value less
29447 * math/s_clog10.c (__clog10): Likewise.
29448 * math/s_clog10f.c (__clog10f): Likewise.
29449 * math/s_clog10l.c (__clog10l): Likewise.
29450 * math/s_clogf.c (__clogf): Likewise.
29451 * math/s_clogl.c (__clogl): Likewise.
29452 * math/libm-test.inc (clog_test): Add more tests.
29453 (clog10_test): Likewise.
29454 * sysdeps/i386/fpu/libm-test-ulps: Update.
29455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29457 2012-07-31 Florian Weimer <fweimer@redhat.com>
29459 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29460 Exit with zero in case no suitable GID is found, and write a
29461 message to standard error.
29463 2012-07-30 Roland McGrath <roland@hack.frob.com>
29465 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29467 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29468 (MAXPATHLEN): Removed.
29469 (NOGROUP, NODEV): New macros.
29470 (setbit, clrbit, isset, isclr): New macros.
29471 (howmany, roundup, powerof2): New macros.
29472 (DEV_BSIZE): New macro.
29474 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29475 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29477 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29478 definition on [!__NO_LONG_DOUBLE_MATH].
29480 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29481 PTR_MANGLE and PTR_DEMANGLE.
29483 * socket/accept4.c (accept4): Rename to __libc_accept4.
29484 Define accept4 as a weak alias.
29486 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29487 on [_DIRENT_HAVE_D_TYPE].
29488 * io/ftw.c (ftw_dir): Likewise.
29490 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29492 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29494 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29495 Use the BSD numbers rather than the arbitrary ones we had.
29496 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29497 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29498 (SIGXCPU, SIGXFSZ): New macros.
29501 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29502 initializer on [_LIBC_REENTRANT].
29504 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29505 definitions inside [_POSIX_MAPPED_FILES].
29507 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29509 * dirent/opendir.c: Include <fcntl.h>.
29511 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29512 (__libc_getspecific): Likewise.
29513 (__libc_key_create): Likewise.
29515 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29516 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29517 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29518 (tmpfile64): Define as alias.
29519 * sysdeps/wordsize-64/tmpfile.c: File removed.
29520 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29521 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29522 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29524 * stdio-common/vfscanf.c: Include <stdbool.h>.
29525 * nss/makedb.c: Likewise.
29526 * stdio-common/_i18n_number.h: Likewise.
29527 * argp/argp-help.c: Likewise.
29528 * posix/wordexp.c: Likewise.
29529 * sysdeps/posix/spawni.c: Likewise.
29530 * nss/nss_files/files-initgroups.c: Likewise.
29531 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29532 * nss/nss_files/files-initgroups.c: Likewise.
29533 * nss/nss_db/db-netgrp.c: Likewise.
29534 * nss/nss_db/db-initgroups.c: Likewise.
29535 * io/fchmodat.c: Include <sys/stat.h>.
29537 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29538 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29540 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29543 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29544 Add multiple inclusion protection.
29546 2012-07-27 David S. Miller <davem@davemloft.net>
29548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29550 2012-07-27 Gary Benson <gbenson@redhat.com>
29553 * elf/rtld.c: Include <stap-probe.h>.
29554 (dl_main): Added static probes "init_start" and "init_complete".
29555 * elf/dl-load.c: Include <stap-probe.h>.
29556 (lose): Take new parameter "nsid".
29557 Added static probe "map_failed".
29558 (_dl_map_object_from_fd): Pass namespace id to lose.
29559 Added static probe "map_start".
29560 (open_verify): Pass namespace id to lose.
29561 * elf/dl-open.c: Include <stap-probe.h>.
29562 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29563 and "reloc_complete".
29564 * elf/dl-close.c: Include <stap-probe.h>.
29565 (_dl_close_worker): Added static probes "unmap_start" and
29567 * elf/rtld-debugger-interface.txt: New file documenting the above.
29569 2012-07-26 Roland McGrath <roland@hack.frob.com>
29571 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29572 rather than a string variable.
29573 * sunrpc/rpc_main.c (h_output): Likewise.
29574 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29576 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29578 * inet/check_native.c: New file.
29580 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29583 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29584 if larger part has absolute value 1.0.
29585 * math/s_clog10.c (__clog10): Likewise.
29586 * math/s_clog10f.c (__clog10f): Likewise.
29587 * math/s_clog10l.c (__clog10l): Likewise.
29588 * math/s_clogf.c (__clogf): Likewise.
29589 * math/s_clogl.c (__clogl): Likewise.
29590 * math/libm-test.inc (clog_test): Add more tests.
29591 (clog10_test): Likewise.
29592 * sysdeps/i386/fpu/libm-test-ulps: Update.
29593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29595 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29596 (pltexit): Likewise.
29597 (La_regs): Likewise.
29598 (La_retval): Likewise.
29599 (int_retval): Likewise.
29600 Update #error for removed macros to refer only to definitions in
29602 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29604 (pltexit): Likewise.
29605 (La_regs): Likewise.
29606 (La_retval): Likewise.
29607 (int_retval): Likewise.
29608 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29610 (pltexit): Likewise.
29611 (La_regs): Likewise.
29612 (La_retval): Likewise.
29613 (int_retval): Likewise.
29614 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29616 (pltexit): Likewise.
29617 (La_regs): Likewise.
29618 (La_retval): Likewise.
29619 (int_retval): Likewise.
29620 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29622 (pltexit): Likewise.
29623 (La_regs): Likewise.
29624 (La_retval): Likewise.
29625 (int_retval): Likewise.
29626 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29628 (pltexit): Likewise.
29629 (La_regs): Likewise.
29630 (La_retval): Likewise.
29631 (int_retval): Likewise.
29632 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29634 (pltexit): Likewise.
29635 (La_regs): Likewise.
29636 (La_retval): Likewise.
29637 (int_retval): Likewise.
29638 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29639 macro definitions in tst-audit.h.
29640 * sysdeps/i386/tst-audit.h: New file.
29641 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29642 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29643 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29644 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29645 * sysdeps/sh/tst-audit.h: Likewise.
29646 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29647 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29648 * sysdeps/x86_64/tst-audit.h: Likewise.
29650 2012-07-26 Andreas Jaeger <aj@suse.de>
29652 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29655 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29656 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29657 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29659 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29660 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29661 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29663 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29666 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29668 (si_call_addr, si_syscall, si_arch): Define new macro.
29669 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29671 (si_call_addr, si_syscall, si_arch): Define new marcro.
29672 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29674 (si_call_addr, si_syscall, si_arch): Define new macro.
29675 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29677 (si_call_addr, si_syscall, si_arch): Define new macro.
29679 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29683 Change to 2.4.21 where previously 2.4.1.
29684 * sysdeps/unix/sysv/linux/configure: Regenerated.
29685 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29686 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29687 Linux kernel version.
29688 (__ASSUME_STD_AUXV): Remove.
29689 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29691 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29692 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29693 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29694 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29695 (__ASSUME_NETLINK_SUPPORT): Likewise.
29696 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29697 (__no_netlink_support): Remove conditional definition.
29698 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29700 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29701 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29702 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29703 (if_nameindex_ioctl): Remove.
29704 (if_nameindex_netlink): Do not handle __no_netlink_support.
29705 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29707 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29708 Remove conditional code.
29709 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29711 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29713 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29714 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29715 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29717 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29718 [!__ASSUME_STD_AUXV]: Remove conditional code.
29719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29720 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29721 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29723 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29724 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29726 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29728 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29729 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29731 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29733 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29736 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29739 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29740 code unconditional.
29741 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29743 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29745 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29748 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29750 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29753 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29754 code unconditional.
29755 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29757 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29759 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29762 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29763 code unconditional.
29764 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29766 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29768 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29771 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29773 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29774 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29775 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29776 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29777 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29778 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29779 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29780 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29781 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29782 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29783 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29784 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29785 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29786 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29787 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29788 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29789 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29790 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29791 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29793 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29794 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29795 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29797 2012-07-25 Florian Weimer <fweimer@redhat.com>
29799 * Versions.def: Add GLIBC_2.17.
29800 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29801 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29802 Introduce __libc_secure_getenv.
29803 * stdlib/Versions (2.17): Add secure_getenv
29804 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29805 * stdlib/secure-getenv.c: Rename __secure_getenv to
29806 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29807 symbol __secure_getenv for GLIBC_2.0.
29808 * stdlib/tst-secure-getenv.c: New.
29809 * stdlib/Makefile (tests): Add testcase.
29810 * manual/startup.texi (Environment Access): Document
29812 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29813 __libc_secure_getenv.
29814 * inet/ruserpass.c (ruserpass): Likewise.
29815 * malloc/mtrace.c (mtrace): Likewise.
29816 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29817 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29818 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29819 * sysdeps/posix/tempname.c: Likewise. Evaluate
29820 HAVE_SECURE_GETENV.
29821 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29822 __secure_getenv to __libc_secure_getenv.
29823 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29830 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29836 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29838 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29839 (struct La_i86_retval): Likewise.
29840 (struct La_x86_64_regs): Likewise.
29841 (struct La_x86_64_retval): Likewise.
29842 (struct La_x32_regs): Likewise.
29843 (struct La_x32_retval): Likewise.
29844 (struct La_ppc32_regs): Likewise.
29845 (struct La_ppc32_retval): Likewise.
29846 (struct La_ppc64_regs): Likewise.
29847 (struct La_ppc64_retval): Likewise.
29848 (struct La_sh_regs): Likewise.
29849 (struct La_sh_retval): Likewise.
29850 (struct La_s390_32_regs): Likewise.
29851 (struct La_s390_32_retval): Likewise.
29852 (struct La_s390_64_regs): Likewise.
29853 (struct La_s390_64_retval): Likewise.
29854 (struct La_sparc32_regs): Likewise.
29855 (struct La_sparc32_retval): Likewise.
29856 (struct La_sparc64_regs): Likewise.
29857 (struct La_sparc64_retval): Likewise.
29858 (struct audit_ifaces): Remove architecture-specific pltenter and
29860 * sysdeps/i386/ldsodefs.h: New file.
29861 * sysdeps/powerpc/ldsodefs.h: Likewise.
29862 * sysdeps/s390/ldsodefs.h: Likewise.
29863 * sysdeps/sh/ldsodefs.h: Likewise.
29864 * sysdeps/sparc/ldsodefs.h: Likewise.
29865 * sysdeps/x86_64/ldsodefs.h: Likewise.
29867 2012-07-25 Marek Polacek <polacek@redhat.com>
29870 * math/libm-test.inc (yn_test): Add another test.
29871 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29872 to ERANGE when the result is +-Inf.
29873 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29874 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29875 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29876 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29878 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29880 * conform/data/time.h-data (NULL): Use macro-constant. Require
29882 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29884 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29886 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29888 * configure.in <sysdeps resolving>: Correct printing
29890 * configure: Regenerate.
29892 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29894 * math/w_ilogb.c: Include <limits.h>.
29895 * math/w_ilogbl.c: Likewise.
29897 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29899 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29900 va_copy. Document allowing for unavailable va_copy only as
29901 pre-C99 compatibility.
29902 * manual/string.texi (Copying and Concatenation): Use va_copy
29903 instead of __va_copy in concat example.
29905 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29907 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29908 (__sendto): Use create_address_port. Initialize APORT and deallocate
29911 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29912 with O_NOLINK passed to __file_name_lookup.
29914 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29915 with O_NOLINK passed to __file_name_lookup.
29917 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29918 negative N or less than NGIDS.
29920 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29921 type to string_t. Set ERANGE as errno and return it if NAME is not big
29922 enough. Use memcpy instead of strncpy.
29924 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29926 * elf/Makefile (check-data): Remove.
29927 (localplt.data): New vpath directive.
29928 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29929 instead of $(check-data).
29930 * scripts/data/localplt-generic.data: Move to ...
29931 * sysdeps/generic/localplt.data: ... here.
29932 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29933 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29934 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29937 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29940 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29943 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29946 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29949 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29953 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29955 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29956 PPC32 and PPC64 files.
29957 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29958 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29960 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29962 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29963 __makecontext_ret to ...
29964 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29965 ... here and call exit if uc_link is NULL. New file.
29966 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29967 __makecontext_ret.S.
29968 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29969 __makecontext_ret to ...
29970 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29971 ... here and call exit if uc_link is NULL. New file.
29972 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29973 __makecontext_ret.S.
29975 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29977 * elf/elf.h (R_390_IRELATIVE): New definition.
29978 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29979 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29980 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29981 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29982 (elf_machine_lazy_rel): Likewise.
29983 * sysdeps/s390/dl-irel.h: New file.
29984 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29985 * sysdeps/s390/s390-64/memset.S: New asm code.
29986 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29987 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29988 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29989 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29990 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29991 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29992 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29993 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29994 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29995 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29996 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29997 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29998 * sysdeps/s390/s390-32/memset.S: New asm code.
29999 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30001 2012-07-17 Marek Polacek <polacek@redhat.com>
30004 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30005 * sysdeps/s390/s390-64/configure.in: Likewise.
30006 * sysdeps/sparc/configure.in: Likewise.
30007 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30008 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30009 * sysdeps/i386/configure.in: Likewise.
30010 * sysdeps/x86_64/configure.in: Likewise.
30011 * sysdeps/sh/configure.in: Likewise.
30012 * sysdeps/s390/s390-32/configure: Regenerated.
30013 * sysdeps/s390/s390-64/configure: Likewise.
30014 * sysdeps/x86_64/configure: Likewise.
30015 * sysdeps/sh/configure: Likewise.
30016 * sysdeps/powerpc/powerpc64/configure: Likewise.
30017 * sysdeps/powerpc/powerpc32/configure: Likewise.
30018 * sysdeps/sparc/configure: Likwise.
30019 * sysdeps/i386/configure: Likewise.
30021 * elf/dl-open.c: Comment fixes.
30023 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30025 * Makefile [CXX] (check-data): Remove.
30026 [CXX] (c++-types.data): New vpath directive.
30027 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30028 vpath. Do not allow for C++ type data being missing.
30029 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30030 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30031 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30032 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30033 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30034 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30035 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30038 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30041 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30044 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30047 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30050 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30053 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30056 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30059 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30060 definitions to architecture-specific files.
30061 (TLS_IE): Likewise.
30062 (TLS_LD): Likewise.
30063 (TLS_GD): Likewise.
30064 * sysdeps/i386/tls-macros.h: New file.
30065 * sysdeps/powerpc/tls-macros.h: Likewise.
30066 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30067 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30068 * sysdeps/sh/tls-macros.h: Likewise.
30069 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30070 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30071 * sysdeps/x86_64/tls-macros.h: Likewise.
30073 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30075 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30076 zero value for regular exit case.
30078 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30079 (__start_context): Preserve zero value for regular exit case.
30081 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30082 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30084 * manual/setjmp.texi (setcontext): Clarify normal process
30085 termination when uc_link is the null pointer.
30086 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30089 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30091 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30092 preprocessor. Test for each exception mask separately.
30094 2012-07-16 Andreas Jaeger <aj@suse.de>
30096 * po/ru.po: Update from translation team.
30098 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30100 * conform/data/string.h-data (NULL): Use macro-constant. Require
30102 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30103 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30104 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30105 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30108 2012-07-13 Andreas Jaeger <aj@suse.de>
30110 * po/fr.po: Update from translation team.
30112 2012-07-12 Marek Polacek <polacek@redhat.com>
30115 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30116 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30119 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30122 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30123 Change to 2.4.1 where previously 2.4.0.
30124 * sysdeps/unix/sysv/linux/configure: Regenerated.
30125 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30126 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30128 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30129 (__ASSUME_AT_CLKTCK): Remove.
30130 (__ASSUME_AT_PAGESIZE): Likewise.
30131 (__ASSUME_AT_XID): Likewise.
30132 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30133 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30134 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30136 (HAVE_AUX_PAGESIZE): Likewise.
30137 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30138 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30139 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30141 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30145 the temporary buffer used to invoke __gethostbyname2_r,
30146 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30147 host_data / struct gaih_addrtuple.
30148 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30149 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30150 header file nss/nsswitch.h.
30151 * nss/nsswitch.h (global scope): Add definition of implementation
30152 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30153 resolv/nss_dns/dns-host.c).
30155 2012-07-11 Andreas Jaeger <aj@suse.de>
30157 * po/fr.po: Update from translation team.
30159 * po/sv.po: Update from translation team
30160 * po/fr.po: Another update from translation team.
30162 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30164 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30165 for subnormals or multiply small sinh result by itself.
30166 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30169 2012-07-11 David S. Miller <davem@davemloft.net>
30171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30173 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30176 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30177 (INTERNAL_MARK): Shift it here.
30179 2012-07-10 Marek Polacek <polacek@redhat.com>
30182 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30183 libc_cv_asm_global_directive with .globl.
30184 * configure: Regenerated.
30185 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30187 * sysdeps/i386/configure: Regenerated.
30188 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30190 * sysdeps/x86_64/configure: Regenerated.
30191 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30192 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30193 * elf/tst-unique2mod2.c: Likewise.
30194 * elf/tst-unique2mod1.c: Likewise.
30195 * elf/tst-unique1mod2.c: Likewise.
30196 * elf/tst-unique1mod1.c: Likewise.
30197 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30198 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30199 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30200 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30201 * sysdeps/mach/sysdep.h: Likewise.
30202 * sysdeps/i386/sysdep.h: Likewise.
30203 * sysdeps/i386/i386-mcount.S: Likewise.
30204 * sysdeps/x86_64/_mcount.S: Likewise.
30205 * sysdeps/x86_64/sysdep.h: Likewise.
30206 * sysdeps/sh/_mcount.S: Likewise.
30207 * sysdeps/sh/sysdep.h: Likewise.
30208 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30209 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30210 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30211 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30212 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30213 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30214 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30215 * locale/localeinfo.h: Likewise.
30216 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30217 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30219 2012-07-09 Roland McGrath <roland@hack.frob.com>
30222 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30224 * manual/message.texi (The Uniforum approach): Likewise.
30225 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30226 (glibc iconv Implementation): Likewise.
30228 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30231 * math/s_clog.c (__clog): Avoid scaling a value down where that
30232 could result in underflow.
30233 * math/s_clog10.c (__clog10): Likewise.
30234 * math/s_clog10f.c (__clog10f): Likewise.
30235 * math/s_clog10l.c (__clog10l): Likewise.
30236 * math/s_clogf.c (__clogf): Likewise.
30237 * math/s_clogl.c (__clogl): Likewise.
30238 * math/libm-test.inc (clog_test): Add more tests.
30239 (clog10_test): Likewise.
30240 * sysdeps/i386/fpu/libm-test-ulps: Update.
30241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30243 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30246 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30247 by 7 not 8 to examine high bit of fractional part.
30250 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30251 for call to __mcount_internal.
30252 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30253 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30254 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30256 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30259 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30260 approximation for values within 0x1p-13f of an odd multiple of
30262 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30263 exception. Add more tests.
30264 * sysdeps/i386/fpu/libm-test-ulps: Update.
30267 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30268 inputs and return -1 for them. Do not check for +Inf in case not
30269 reachable for +Inf.
30270 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30271 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30272 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30273 and return -1 for them. Do not check for +Inf in case not
30274 reachable for +Inf.
30275 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30277 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30278 and return -1 for them. Do not check for +Inf in case not
30279 reachable for +Inf.
30280 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30281 spurious underflow.
30282 * sysdeps/i386/fpu/libm-test-ulps: Update.
30283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30285 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30287 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30289 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30293 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30294 could result in spurious underflow. Scale down values above
30295 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30296 * math/s_csqrtf.c (__csqrtf): Likewise.
30297 * math/s_csqrtl.c (__csqrtl): Likewise.
30298 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30299 spurious underflow.
30300 * sysdeps/i386/fpu/libm-test-ulps: Update.
30301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30303 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30305 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30307 * catgets/xopen-msg.awk: New file.
30308 * catgets/xopen-msg.sed: Removed.
30310 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30312 * intl/po2test.awk: New file.
30313 * intl/po2test.sed: Removed.
30315 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30318 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30319 or multiply small sinh result by itself.
30320 * math/s_ctanf.c (__ctanf): Likewise.
30321 * math/s_ctanh.c (__ctanh): Likewise.
30322 * math/s_ctanhf.c (__ctanhf): Likewise.
30323 * math/s_ctanhl.c (__ctanhl): Likewise.
30324 * math/s_ctanl.c (__ctanl): Likewise.
30325 * math/libm-test.inc (ctan_test_tonearest): New function.
30326 (ctan_test_towardzero): Likewise.
30327 (ctan_test_downward): Likewise.
30328 (ctan_test_upward): Likewise.
30329 (ctanh_test_tonearest): Likewise.
30330 (ctanh_test_towardzero): Likewise.
30331 (ctanh_test_downward): Likewise.
30332 (ctanh_test_upward): Likewise.
30333 (main): Call these new functions.
30334 * sysdeps/i386/fpu/libm-test-ulps: Update.
30335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30337 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30339 * .gitignore: Delete /ports entry.
30341 2012-07-03 Andreas Jaeger <aj@suse.de>
30343 * po/bg.po: Update from translation team.
30344 * po/cs.po: Likewise.
30345 * po/de.po: Likewise.
30346 * po/hr.po: Likewise.
30347 * po/nl.pl: Likewise.
30348 * po/pl.po: Likewise.
30349 * po/vi.po: Likewise.
30351 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30353 * Makeconfig [!+link] (+link-before-libc): New variable.
30354 [!+link] (+link-after-libc): Likewise.
30355 [!+link] (+link-tests): Likewise.
30356 [!+link] (+link): Define in terms of $(+link-before-libc) and
30357 $(+link-after-libc).
30358 [!+link-static] (+link-static-before-libc): New variable.
30359 [!+link-static] (+link-static-after-libc): Likewise.
30360 [!+link-static] (+link-static-tests): Likewise.
30361 [!+link-static] (+link-static): Define in terms of
30362 $(+link-static-before-libc) and $(+link-static-after-libc).
30363 [build-shared] (link-libc-before-gnulib): New variable.
30364 [build-shared] (link-libc-tests): Likewise.
30365 [build-shared] (link-libc): Define in terms of
30366 $(link-libc-before-gnulib).
30367 [!build-shared] (link-libc-tests): New variable.
30368 (link-libc-static-tests): New variable.
30369 [!gnulib] (gnulib-arch): New variable.
30370 [!gnulib] (gnulib-tests): Likewise.
30371 [!gnulib] (static-gnulib-arch): Likewise.
30372 [!gnulib] (static-gnulib-tests): Likewise.
30373 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30374 Define with "=" instead of ":=".
30375 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30376 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30377 * Rules (binaries-all-notests): New variable.
30378 (binaries-all-tests): Likewise.
30379 (binaries-static-notests): Likewise.
30380 (binaries-static-tests): Likewise.
30381 (binaries-all): Define using $(binaries-all-notests) and
30382 $(binaries-all-tests).
30383 (binaries-static): Define using $(binaries-static-notests) and
30384 $(binaries-static-tests).
30385 (binaries-shared-tests): New variable.
30386 (binaries-shared-notests): Likewise.
30387 (binaries-shared): Remove variable.
30388 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30389 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30390 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30391 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30392 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30393 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30394 * elf/Makefile (sln-modules): New variable.
30395 (extra-objs): Add $(sln-modules:=.o).
30396 (ldconfig-modules): Add static-stubs.
30397 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30398 * elf/static-stubs.c: New file.
30401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30402 by 7 not 8 to examine high bit of fractional part. Use volatile
30403 variables when splitting into final array of floats if
30404 __FLT_EVAL_METHOD__ != 0.
30405 * math/libm-test.inc (cos_test): Add another test.
30406 (sin_test): Likewise.
30407 * sysdeps/i386/fpu/libm-test-ulps: Update.
30410 * math/libm-test.inc (cosh_test): Add more tests.
30412 * version.h (RELEASE): Set to "development".
30413 (VERSION): Set to "2.16.90".
30415 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30417 * NEWS: Update copyright. Remove last-updated date.
30418 Mention math library bug fixes and timezone data changes.
30419 * README: Mention GNU/Hurd, x32, and HPPA support status.
30421 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30423 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30425 2012-06-27 Andreas Jaeger <aj@suse.de>
30427 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30429 2012-06-25 Andreas Jaeger <aj@suse.de>
30431 * sysdeps/s390/fpu/libm-test-ulps: Update.
30433 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30434 Thomas Schwinge <thomas@codesourcery.com>
30436 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30437 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30438 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30441 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30443 * sysdeps/mach/start.c: Remove file.
30444 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30445 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30446 * sysdeps/sh/init-first.c: Likewise.
30448 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30449 registers for frame unwinding purposes, add CFI directives.
30450 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30451 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30452 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30455 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30456 __fortify_fail returning.
30457 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30459 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30460 sysdeps/sh/____longjmp_chk.S.
30461 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30462 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30463 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30464 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30466 * sysdeps/sh/abort-instr.h: New file.
30467 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30468 process in case exit returns.
30470 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30471 initialize the GOT register before use.
30473 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30474 calculation of ARGC > 4.
30476 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30477 meaningful names to some local labels.
30479 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30480 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30482 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30483 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30484 (__arch_compare_and_exchange_val_16_acq): Likewise.
30485 (__arch_compare_and_exchange_val_32_acq): Likewise.
30486 (atomic_exchange_and_add): Fix gUSA sequence.
30487 (atomic_add): Likewise.
30488 (atomic_add_negative): Likewise.
30489 (atomic_add_zero): Likewise.
30490 (atomic_bit_test_set): Likewise.
30492 2012-06-22 Andreas Schwab <schwab@redhat.com>
30495 * include/link.h (struct link_map): Add l_free_initfini.
30496 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30498 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30499 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30500 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30503 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30505 * configure.in: Use AC_LANG_SOURCE.
30506 * configure: Regenerate.
30508 2012-06-22 Roland McGrath <roland@hack.frob.com>
30510 * configure.in (libc_cv_localstatedir): New substituted variable.
30511 * configure: Regenerated.
30512 * config.make.in (localstatedir): New variable, substituted from
30513 libc_cv_localstatedir.
30514 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30515 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30516 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30517 * sysdeps/gnu/configure: Regenerated.
30519 2012-06-21 Jeff Law <law@redhat.com>
30522 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30523 free. Simplify list management for _LIBC case.
30525 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30528 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30529 Clear sign bit of 64-bit integer value before comparing against
30532 * sysdeps/mach/configure: Regenerated.
30534 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30537 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30539 2012-06-21 Jeff Law <law@redhat.com>
30542 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30543 uint16_t for elements in the "seen" array to avoid char overflows.
30544 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30545 * elf/dl-open.c (dl_open_worker): Likewise.
30547 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30549 * scripts/list-sources.sh: Scan PORTS for translations.
30550 * po/libc.pot: Regenerated.
30552 2012-06-21 Andreas Jaeger <aj@suse.de>
30555 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30557 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30558 * bits/byteswap-16.h (__bswap_16): Likewise.
30559 * bits/byteswap.h (__bswap_constant_16): Likewise.
30561 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30564 * sysdeps/i386/fpu_control.h: Removed.
30565 * sysdeps/x86_64/fpu_control.h: Moved to ...
30566 * sysdeps/x86/fpu_control.h: Here.
30568 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30569 (_FPU_SETCW): Likewise.
30571 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30574 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30575 * sysdeps/x86/fpu/bits/mathinline.h: This.
30576 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30580 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30581 functions if __x86_64__ is defined.
30583 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30585 * string/endian.h: Add !__ASSEMBLER__ condition for including
30586 conversion interfaces.
30588 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30591 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30592 of ABS(x) in calculating zero to negative powers other than odd
30594 * math/libm-test.inc (pow_test): Add more tests.
30596 2012-06-15 Andreas Jaeger <aj@suse.de>
30598 * manual/contrib.texi (Contributors): Update entry of Liubov
30599 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30602 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30604 * string/string.h: Add __wur to GNU version of strerror_r.
30606 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30609 * string/Makefile (tests): Add tst-strtok_r.
30610 * string/tst-strtok_r.c: New file.
30611 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30612 RAX_LP/RDX_LP on SAVE_PTR.
30614 2012-06-14 Roland McGrath <roland@hack.frob.com>
30616 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30618 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30620 * libm_test.inc (csqrt_test): Allow more spurious underflow
30622 (j0_test): Likewise.
30623 (j1_test): Likewise.
30624 (y0_test): Likewise.
30625 (y1_test): Likewise.
30627 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30629 * po/Makefile (libc.pot): Use UTF-8 charset.
30631 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30634 Suppress sign-conversion warning from FD_SET.
30635 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30636 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30637 not unsigned long int.
30638 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30640 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30644 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30645 __extern_always_inline instead of __extern_inline.
30646 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30647 (__signbit): Likewise.
30648 (__signbitl): Support C++ namespace.
30649 (lrintf): New inline function.
30651 (llrintf): Likewise.
30652 (llrint): Likewise.
30662 (floorf): Likewise.
30663 (nearbyint): Likewise.
30664 (nearbyintf): Likewise.
30666 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30668 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30669 non-default versions.
30671 2012-06-11 Roland McGrath <roland@hack.frob.com>
30674 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30676 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30678 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30679 (FE_UPWARD, FE_DOWNWARD): Don't define.
30680 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30681 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30683 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30685 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30686 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30688 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30690 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30692 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30693 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30695 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30698 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30699 * sysdeps/i386/fpu/Implies: New file.
30700 * sysdeps/x86_64/fpu/Implies: Likewise.
30701 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30702 * sysdeps/x86/fpu/bits/fenv.h: This.
30704 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30707 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30710 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30711 character 0xffff that matches the last element of the
30714 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30719 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30721 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30722 values higher than 25.6283.
30724 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30726 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30727 subnormal exponent extraction and add some __builtin_expect.
30728 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30729 Fix for subnormal mantissa calculation.
30731 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30733 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30734 cpu2 is -1 and errno is not ENOSYS.
30736 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30739 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30740 * sysdeps/x86/bits/string.h: This.
30741 * sysdeps/x86_64/bits/string.h: Removed.
30743 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30744 if not compiling for x86-64, but compiling for >= i486.
30746 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30747 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30749 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30750 New macro from Linux kernel 3.4.0.
30751 (FP_XSTATE_MAGIC2): Likewise.
30752 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30753 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30754 (struct _fpx_sw_bytes): New struct.
30755 (struct _xsave_hdr): Likewise.
30756 (struct _ymmh_state): Likewise.
30757 (struct _xstate): Likewise.
30759 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30760 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30761 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30762 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30763 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30764 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30766 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30767 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30768 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30769 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30770 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30771 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30773 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30776 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30777 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30778 (sysdep_headers): Include sys/platform/ppc.h.
30779 * sysdeps/powerpc/test-gettimebase.c: Test for
30780 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30781 * manual/Makefile (appendices): Include platform.texi.
30782 * manual/contrib.texi (Contributors): Update @node pointers.
30783 * manual/maint.texi (Maintenance): Likewise.
30784 (Platform): New node.
30785 * manual/platform.texi: New file. Document the new features.
30787 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30788 Jakub Jelinek <jakub@redhat.com>
30791 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30792 where __builtin_expect is unavailable.
30794 2012-06-03 David S. Miller <davem@davemloft.net>
30796 * stdlib/longlong.h: Updated from GCC.
30798 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30801 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30802 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30805 (GLIBC_2.16): Likewise.
30807 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30809 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30811 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30814 (default-abi): New variable.
30815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30816 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30818 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30820 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30822 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30825 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30826 definition. Document in comment.
30828 2012-06-01 David S. Miller <davem@davemloft.net>
30830 * stdlib/longlong.h: Updated from GCC.
30832 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30835 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30836 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30837 sys/debugreg.h sys/io.h here.
30838 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30839 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30841 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30842 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30843 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30844 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30845 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30846 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30848 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30849 Define only if __x86_64__ is defined.
30851 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30854 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30855 Use int64_t for variable i.
30856 * math/libm-test.inc (fmod_test): Add more tests.
30858 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30859 z computation is not scheduled after fetestexcept.
30860 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30861 Use math_force_eval instead of asm to ensure calculation scheduled
30862 before exception test.
30863 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30864 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30866 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30869 computation is not scheduled after fetestexcept.
30871 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30874 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30875 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30877 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30879 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30880 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30882 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30885 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30887 (__WCHAR_MIN): Support __WORDSIZE == 64.
30888 (__WCHAR_MAX): Likewise.
30890 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30891 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30894 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30895 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30898 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30899 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30901 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30902 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30904 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30905 Defined to 1 if __x86_64__ isn't defined.
30906 (_STAT_VER_LINUX_OLD): New.
30907 (st_atime): Remove duplicate.
30908 (st_mtime): Likewise.
30909 (st_ctime): Likewise.
30911 2012-05-31 David S. Miller <davem@davemloft.net>
30913 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30916 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30918 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30922 * elf/dl-reloc.c: Include <_itoa.h>.
30923 (_dl_reloc_bad_type): Remove use of INTUSE.
30924 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30925 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30926 * stdio-common/psiginfo.c (psiginfo): Likewise.
30927 * stdio-common/psignal.c (psignal): Likewise.
30928 * string/strsignal.c (strsignal): Likewise.
30929 * include/signal.h (_sys_siglist): Declare hidden proto.
30930 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30931 INTVARDEF with libc_hidden_data_def.
30932 * stdio-common/itoa-udigits.c: Likewise.
30933 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30934 (_itoa_lower_digits_internal): Remove declaration.
30935 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30936 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30937 (_sys_sigabbrev_internal): Remove aliases.
30938 (_sys_siglist): Define hidden alias.
30940 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30945 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30948 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30949 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30951 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30952 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30953 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30954 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30955 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30956 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30958 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30959 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30960 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30962 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30970 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30971 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30972 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30974 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30975 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30976 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30977 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30978 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30979 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30981 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30982 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30984 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30985 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30987 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30988 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30989 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30991 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30992 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30994 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30996 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30997 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30998 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31000 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31002 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31004 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31006 * math/math.h (M_El): Use two more decimal places.
31007 (M_LOG2El): Likewise.
31008 (M_LOG10El): Likewise.
31009 (M_LN2l): Likewise.
31010 (M_LN10l): Likewise.
31012 (M_PI_2l): Likewise.
31013 (M_PI_4l): Likewise.
31014 (M_1_PIl): Likewise.
31015 (M_2_PIl): Likewise.
31016 (M_2_SQRTPIl): Likewise.
31017 (M_SQRT2l): Likewise.
31018 (M_SQRT1_2l): Likewise.
31020 2012-05-31 David S. Miller <davem@davemloft.net>
31022 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31023 values between float registers.
31024 * sysdeps/sparc/sparc64/memset.S: Likewise.
31025 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31027 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31029 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31030 -D_FORTIFY_SOURCE=1.
31031 (CPPFLAGS-tst-longjmp_chk.c): Define.
31032 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31033 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31034 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31035 CFLAGS-tst-wchar-h.c.
31037 2012-05-31 Marek Polacek <polacek@redhat.com>
31040 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31041 __endmntent_internal): Remove declaration.
31042 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31043 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31044 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31046 2012-05-30 David S. Miller <davem@davemloft.net>
31048 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31049 (___Q_simulate_exceptions): Use real FP ops rather than writing
31051 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31054 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31057 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31058 * sysdeps/x86/bits/xtitypes.h: This.
31060 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31061 * sysdeps/x86/bits/wordsize.h: This.
31063 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31064 * sysdeps/x86/bits/huge_vall.h: This.
31066 * sysdeps/i386/bits/select.h: Removed.
31067 * sysdeps/x86_64/bits/select.h: Renamed to ...
31068 * sysdeps/x86/bits/select.h: This.
31070 * sysdeps/i386/bits/setjmp.h: Removed.
31071 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31072 * sysdeps/x86/bits/setjmp.h: This.
31074 * sysdeps/i386/bits/mathdef.h: Removed.
31075 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31076 * sysdeps/x86/bits/mathdef.h: This.
31078 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31081 * include/sys/socket.h (__connect_internal)
31082 (__libc_sa_len_internal): Remove declaration.
31083 (__connect, __libc_sa_len): Declare hidden_proto.
31084 (SA_LEN): Remove use of INTUSE.
31085 * socket/connect.c: Add libc_hidden_def.
31086 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31087 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31088 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31090 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31091 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31092 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31093 of adding _internal alias.
31095 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31098 * sysdeps/i386/bits/link.h: Removed.
31099 * sysdeps/i386/bits/linkmap.h: Likewise.
31100 * sysdeps/x86_64/bits/link.h: Renamed to ...
31101 * sysdeps/x86/bits/link.h: This.
31102 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31103 * sysdeps/x86/bits/linkmap.h: This.
31105 * sysdeps/i386/bits/endian.h: Removed.
31106 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31107 * sysdeps/x86/bits/endian.h: This.
31109 * sysdeps/i386/bits/byteswap.h: Removed.
31110 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31111 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31112 * sysdeps/x86/bits/byteswap.h: This.
31113 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31114 * sysdeps/x86/bits/byteswap-16.h: This.
31115 * sysdeps/i386/Implies: Add x86.
31116 * sysdeps/x86_64/Implies: Likewise.
31118 2012-05-30 David S. Miller <davem@davemloft.net>
31120 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31121 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31122 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31123 (FP_TRAPPING_EXCEPTIONS): Define.
31124 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31125 (FP_TRAPPING_EXCEPTIONS): Define.
31126 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31127 subnormals only when inexact has been signalled or underflow
31128 exceptions are enabled.
31129 (_FP_PACK_CANONICAL): Likewise.
31131 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31134 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31135 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31137 2012-05-30 Richard Henderson <rth@twiddle.net>
31139 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31140 with #ifndef NOT_IN_libc.
31142 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31143 marked to avoid plt entry.
31145 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31148 * Makeconfig (default-abi): New macro.
31149 (abi-includes): Likewise.
31150 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31151 $(abi-$(default-abi)-lib-soname) for soname if defined.
31152 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31154 * Makefile (installed-stubs): Likewise.
31155 * include/stubs-biarch.h: Removed.
31156 * scripts/lib-names.awk: Only handle one library at a time.
31157 * scripts/soversions.awk: Remove WORDSIZE support.
31158 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31160 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31162 (syscall-list-default-condition): Likewise.
31163 (syscall-list-default-condition): Likewise.
31164 (syscall-list-includes): Likewise.
31165 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31166 syscall-list-* with abi-*. Handle undefined abi-variants.
31167 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31168 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31169 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31170 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31171 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31172 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31174 (syscall-list-32-options): Likewise.
31175 (syscall-list-32-condition): Likewise.
31176 (syscall-list-64-options): Likewise.
31177 (syscall-list-64-condition): Likewise.
31178 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31180 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31183 (abi-64-ld-soname): New macro.
31184 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31185 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31188 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31189 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31191 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31193 * sysdeps/unix/sysv/linux/kernel-features.h
31194 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31195 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31196 include <kernel-features.h>.
31197 [!__NR_ftruncate64]: Remove conditional code.
31198 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31199 [__NR_ftruncate64]: Make code unconditional.
31200 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31201 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31202 include <kernel-features.h>.
31203 [!__NR_ftruncate64]: Remove conditional code.
31204 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31205 [__NR_ftruncate64]: Make code unconditional.
31206 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31208 include <kernel-features.h>.
31209 [!__NR_ftruncate64]: Remove conditional code.
31210 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31211 [__NR_ftruncate64]: Make code unconditional.
31212 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31214 include <kernel-features.h>.
31215 [!__NR_ftruncate64]: Remove conditional code.
31216 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31217 [__NR_ftruncate64]: Make code unconditional.
31218 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31220 * configure.in (libc_cv_fpie): Weaken to a compile test using
31221 LIBC_TRY_CC_OPTION.
31222 * configure: Regenerated.
31224 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31239 2012-05-27 David S. Miller <davem@davemloft.net>
31241 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31243 (__Q_simulate_exceptions): Return void. Change to simulate
31244 exceptions by writing into the %fsr.
31245 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31246 (__Qp_handle_exceptions): Likewise.
31248 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31249 __Qp_handle_exceptions.
31250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31251 __Qp_handle_exceptions.
31252 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31253 as unused and give dummy FP_RND_NEAREST initializer.
31254 (FP_INHIBIT_RESULTS): Define.
31255 (___Q_simulate_exceptions): Update declaration.
31256 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31258 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31259 as unused and give dummy FP_RND_NEAREST initializer.
31260 (__Qp_handle_exceptions): Update declaration.
31261 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31264 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31266 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31267 the temporary FPU control word.
31268 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31269 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31270 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31271 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31272 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31273 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31274 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31275 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31276 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31277 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31278 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31280 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31282 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31285 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31287 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31288 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31289 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31290 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31292 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31293 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31296 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31298 * po/h.po: Update from translation team.
31300 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31302 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31304 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31305 handling of denormals.
31306 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31307 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31308 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31309 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31310 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31311 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31312 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31315 2012-05-26 Marek Polacek <polacek@redhat.com>
31318 * math/libm-test.inc (fma_test): Don't always expect underflow
31321 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31324 * elf/tst-execstack.c: Include stackinfo.h.
31325 (do_test): Adjust test case to ensure that pthread_getattr_np
31326 behaviour remains the same after marking stack executable.
31328 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31330 * sysdeps/unix/sysv/linux/kernel-features.h
31331 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31332 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31334 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31335 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31336 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31338 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31339 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31341 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31343 * configure.in: Define the default includes to being none.
31344 * configure: Regenerated.
31346 2012-05-25 Roland McGrath <roland@hack.frob.com>
31348 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31349 * sysdeps/x86_64/setjmp.S: Likewise.
31350 * sysdeps/i386/bsd-setjmp.S: Likewise.
31351 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31352 * sysdeps/i386/setjmp.S: Likewise.
31353 * sysdeps/i386/__longjmp.S: Likewise.
31354 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31355 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31357 * include/stap-probe.h: New file.
31358 * configure.in: Handle --enable-systemtap.
31359 * configure: Regenerated.
31360 * config.h.in (USE_STAP_PROBE): New #undef.
31361 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31362 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31363 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31365 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31368 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31369 to 2.4.0 where earlier.
31370 * sysdeps/unix/sysv/linux/configure: Regenerated.
31371 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31372 <kernel-features.h>.
31373 [__ASSUME_32BITUIDS]: Make code unconditional.
31374 [!__ASSUME_32BITUIDS]: Remove conditional code.
31375 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31376 <kernel-features.h>.
31377 [__ASSUME_32BITUIDS]: Make code unconditional.
31378 [!__ASSUME_32BITUIDS]: Remove conditional code.
31379 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31380 [__ASSUME_32BITUIDS]: Make code unconditional.
31381 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31382 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31383 <kernel-features.h>.
31384 [__ASSUME_32BITUIDS]: Make code unconditional.
31385 [!__ASSUME_32BITUIDS]: Remove conditional code.
31386 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31387 <kernel-features.h>.
31388 [__ASSUME_32BITUIDS]: Make code unconditional.
31389 [!__ASSUME_32BITUIDS]: Remove conditional code.
31390 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31391 <kernel-features.h>.
31392 [__ASSUME_32BITUIDS]: Make code unconditional.
31393 [!__ASSUME_32BITUIDS]: Remove conditional code.
31394 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31395 <kernel-features.h>.
31396 [__ASSUME_32BITUIDS]: Make code unconditional.
31397 [!__ASSUME_32BITUIDS]: Remove conditional code.
31398 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31399 <kernel-features.h>.
31400 [__ASSUME_32BITUIDS]: Make code unconditional.
31401 [!__ASSUME_32BITUIDS]: Remove conditional code.
31402 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31403 <kernel-features.h>.
31404 [__ASSUME_32BITUIDS]: Make code unconditional.
31405 [!__ASSUME_32BITUIDS]: Remove conditional code.
31406 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31407 <kernel-features.h>.
31408 [__ASSUME_32BITUIDS]: Make code unconditional.
31409 [!__ASSUME_32BITUIDS]: Remove conditional code.
31410 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31411 <kernel-features.h>.
31412 [__ASSUME_32BITUIDS]: Make code unconditional.
31413 [!__ASSUME_32BITUIDS]: Remove conditional code.
31414 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31415 <kernel-features.h>.
31416 [__ASSUME_32BITUIDS]: Make code unconditional.
31417 [!__ASSUME_32BITUIDS]: Remove conditional code.
31418 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31419 <kernel-features.h>.
31420 [__ASSUME_32BITUIDS]: Make code unconditional.
31421 [!__ASSUME_32BITUIDS]: Remove conditional code.
31422 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31423 <kernel-features.h>.
31424 [__NR_setresgid] (__setresgid): Do not declare.
31425 [__ASSUME_32BITUIDS]: Make code unconditional.
31426 [!__ASSUME_32BITUIDS]: Remove conditional code.
31427 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31428 <kernel-features.h>.
31429 [__NR_setresuid] (__setresuid): Do not declare.
31430 [__ASSUME_32BITUIDS]: Make code unconditional.
31431 [!__ASSUME_32BITUIDS]: Remove conditional code.
31432 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31433 <kernel-features.h>.
31434 [__ASSUME_32BITUIDS]: Make code unconditional.
31435 [!__ASSUME_32BITUIDS]: Remove conditional code.
31436 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31437 <kernel-features.h>.
31438 [__ASSUME_32BITUIDS]: Make code unconditional.
31439 [!__ASSUME_32BITUIDS]: Remove conditional code.
31440 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31441 <kernel-features.h>.
31442 [__ASSUME_32BITUIDS]: Make code unconditional.
31443 [!__ASSUME_32BITUIDS]: Remove conditional code.
31444 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31445 <kernel-features.h>.
31446 [__ASSUME_32BITUIDS]: Make code unconditional.
31447 [!__ASSUME_32BITUIDS]: Remove conditional code.
31448 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31449 <kernel-features.h>.
31450 [__ASSUME_32BITUIDS]: Make code unconditional.
31451 [!__ASSUME_32BITUIDS]: Remove conditional code.
31452 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31453 <kernel-features.h>.
31454 [__ASSUME_32BITUIDS]: Make code unconditional.
31455 [!__ASSUME_32BITUIDS]: Remove conditional code.
31456 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31457 <kernel-features.h>.
31458 [__ASSUME_32BITUIDS]: Make code unconditional.
31459 [!__ASSUME_32BITUIDS]: Remove conditional code.
31460 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31461 <kernel-features.h>.
31462 [__ASSUME_32BITUIDS]: Make code unconditional.
31463 [!__ASSUME_32BITUIDS]: Remove conditional code.
31464 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31465 <kernel-features.h>.
31466 [__ASSUME_32BITUIDS]: Make code unconditional.
31467 [!__ASSUME_32BITUIDS]: Remove conditional code.
31468 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31469 <kernel-features.h>.
31470 [__ASSUME_32BITUIDS]: Make code unconditional.
31471 [!__ASSUME_32BITUIDS]: Remove conditional code.
31472 * sysdeps/unix/sysv/linux/kernel-features.h
31473 (__ASSUME_SETRESUID_SYSCALL): Remove.
31474 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31475 (__ASSUME_32BITUIDS): Likewise.
31476 (__ASSUME_LDT_WORKS): Likewise.
31477 (__ASSUME_O_DIRECTORY): Likewise.
31478 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31479 architecture but not kernel version.
31480 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31481 (__ASSUME_MMAP2_SYSCALL): Likewise.
31482 (__ASSUME_STAT64_SYSCALL): Likewise.
31483 (__ASSUME_IPC64): Likewise.
31484 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31485 <kernel-features.h>.
31486 [__ASSUME_32BITUIDS]: Make code unconditional.
31487 [!__ASSUME_32BITUIDS]: Remove conditional code.
31488 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31489 <kernel-features.h>.
31490 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31491 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31492 132096]: Remove conditional code.
31493 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31494 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31495 <kernel-features.h>.
31496 [__ASSUME_32BITUIDS]: Make code unconditional.
31497 [!__ASSUME_32BITUIDS]: Remove conditional code.
31498 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31499 <kernel-features.h>.
31500 [__ASSUME_32BITUIDS]: Make code unconditional.
31501 [!__ASSUME_32BITUIDS]: Remove conditional code.
31502 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31503 <kernel-features.h>.
31504 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31506 (__setresgid): Do not declare.
31507 [__ASSUME_32BITUIDS]: Make code unconditional.
31508 [!__ASSUME_32BITUIDS]: Remove conditional code.
31509 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31510 <kernel-features.h>.
31511 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31513 (__setresuid): Do not declare.
31514 [__ASSUME_32BITUIDS]: Make code unconditional.
31515 [!__ASSUME_32BITUIDS]: Remove conditional code.
31516 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31517 <kernel-features.h>.
31518 [__ASSUME_32BITUIDS]: Make code unconditional.
31519 [!__ASSUME_32BITUIDS]: Remove conditional code.
31520 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31521 <kernel-features.h>.
31522 [__ASSUME_32BITUIDS]: Make code unconditional.
31523 [!__ASSUME_32BITUIDS]: Remove conditional code.
31525 2012-05-25 Richard Henderson <rth@twiddle.net>
31527 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31528 dl_hwcap to ifunc resolver.
31529 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31531 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31532 dl_hwcap to ifunc resolver.
31533 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31535 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31538 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31539 for |x| <= 2**-26, not 2**-57.
31540 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31543 2012-05-24 Jeff Law <law@redhat.com>
31545 * stdio-common/Makefile (tests): Add bug25.
31546 * stdio-common/bug25.c: New test.
31548 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31551 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31552 multiple of MALLOC_ALIGNMENT in size.
31553 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31555 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31557 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31559 (FILENAME_MAX): Use macro-int-constant.
31560 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31561 (_IOFBF): Use macro-int-constant.
31562 (_IOLBF): Likewise.
31563 (_IONBF): Likewise.
31564 (SEEK_CUR): Likewise.
31565 (SEEK_END): Likewise.
31566 (SEEK_SET): Likewise.
31567 (TMP_MAX): Likewise.
31568 (EOF): Use macro-int-constant. Require < 0.
31569 (NULL): Use macro-constant. Require == 0.
31570 (stdin): Require type to be FILE *.
31571 (stdout): Likewise.
31572 (stderr): Likewise.
31573 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31574 macro-int-constant.
31575 (EXIT_SUCCESS): Likewise.
31576 (NULL): Use macro-constant. Require == 0.
31577 (RAND_MAX): Use macro-int-constant.
31578 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31579 [C99-based standards] (strtof): Require function.
31580 [C99-based standards] (strtold): Likewise.
31581 [C99-based standards] (strtoll): Likewise.
31582 [C99-based standards] (strtoull): Likewise.
31583 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31584 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31585 [ISO || ISO99 || ISO11] (math.h): Likewise.
31586 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31587 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31590 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31593 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31594 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31595 * intl/dgettext.c (DCGETTEXT): Likewise.
31596 * intl/gettext.c (DCGETTEXT): Likewise.
31597 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31598 * posix/regex_internal.h (gettext): Likewise.
31599 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31600 Remove declaration.
31601 * include/argz.h (__argz_count_internal)
31602 (__argz_stringify_internal): Remove declaration.
31603 (__argz_count, __argz_stringify): Declare hidden proto.
31604 * intl/dcgettext.c: Remove use of INTDEF.
31605 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31606 * string/argz-stringify.c: Likewise.
31607 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31608 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31609 Declare hidden proto.
31610 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31611 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31612 Declare hidden proto.
31613 * include/stdio.h (__asprintf_internal): Don't declare.
31614 (__asprintf): Don't define as macro. Declare hidden proto.
31615 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31616 (__fsetlocking): Declare hidden proto.
31617 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31618 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31620 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31621 (_IO_setlinebuf): Remove use of INTUSE.
31622 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31623 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31624 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31625 Remove declaration.
31626 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31627 (_IO_do_flush): Remove use of INTUSE.
31628 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31629 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31630 (_IO_adjust_column, _IO_least_wmarker)
31631 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31632 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31633 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31634 (_IO_default_doallocate, _IO_wdefault_doallocate)
31635 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31636 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31637 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31638 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31639 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31640 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31641 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31642 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31643 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31644 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31645 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31646 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31647 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31649 (_IO_flush_all_internal, _IO_adjust_column_internal)
31650 (_IO_default_uflow_internal, _IO_default_finish_internal)
31651 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31652 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31653 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31654 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31655 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31656 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31657 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31658 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31659 (_IO_file_close_internal, _IO_file_close_it_internal)
31660 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31661 (_IO_file_init_internal, _IO_file_attach_internal)
31662 (_IO_file_fopen_internal, _IO_file_read_internal)
31663 (_IO_file_sync_internal, _IO_file_seek_internal)
31664 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31665 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31666 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31667 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31668 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31669 (_IO_list_all_internal, _IO_link_in_internal)
31670 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31671 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31672 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31673 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31674 (_IO_do_write_internal, _IO_padn_internal)
31675 (_IO_getline_info_internal, _IO_getline_internal)
31676 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31677 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31678 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31679 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31680 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31681 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31682 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31683 with libc_hidden_ver, remove use of INTUSE.
31684 * libio/genops.c: Likewise.
31685 * libio/freopen.c: Likewise.
31686 * libio/freopen64.c: Likewise.
31687 * libio/iofclose.c: Likewise.
31688 * libio/iofdopen.c: Likewise.
31689 * libio/iofflush.c: Likewise.
31690 * libio/iofflush_u.c: Likewise.
31691 * libio/iofgets.c: Likewise.
31692 * libio/iofgets_u.c: Likewise.
31693 * libio/iofopen.c: Likewise.
31694 * libio/iofopncook.c: Likewise.
31695 * libio/iofread.c: Likewise.
31696 * libio/iofread_u.c: Likewise.
31697 * libio/ioftell.c: Likewise.
31698 * libio/iofwrite.c: Likewise.
31699 * libio/iogetline.c: Likewise.
31700 * libio/iogets.c: Likewise.
31701 * libio/iogetwline.c: Likewise.
31702 * libio/iopadn.c: Likewise.
31703 * libio/iopopen.c: Likewise.
31704 * libio/ioseekoff.c: Likewise.
31705 * libio/ioseekpos.c: Likewise.
31706 * libio/iosetbuffer.c: Likewise.
31707 * libio/iosetvbuf.c: Likewise.
31708 * libio/ioungetc.c: Likewise.
31709 * libio/ioungetwc.c: Likewise.
31710 * libio/iovdprintf.c: Likewise.
31711 * libio/iovsprintf.c: Likewise.
31712 * libio/iovsscanf.c: Likewise.
31713 * libio/memstream.c: Likewise.
31714 * libio/obprintf.c: Likewise.
31715 * libio/oldfileops.c: Likewise.
31716 * libio/oldiofclose.c: Likewise.
31717 * libio/oldiofdopen.c: Likewise.
31718 * libio/oldiofopen.c: Likewise.
31719 * libio/oldiopopen.c: Likewise.
31720 * libio/oldstdfiles.c: Likewise.
31721 * libio/putc.c: Likewise.
31722 * libio/setbuf.c: Likewise.
31723 * libio/setlinebuf.c: Likewise.
31724 * libio/stdfiles.c: Likewise.
31725 * libio/strops.c: Likewise.
31726 * libio/vasprintf.c: Likewise.
31727 * libio/vscanf.c: Likewise.
31728 * libio/vsnprintf.c: Likewise.
31729 * libio/vswprintf.c: Likewise.
31730 * libio/wfiledoalloc.c: Likewise.
31731 * libio/wfileops.c: Likewise.
31732 * libio/wgenops.c: Likewise.
31733 * libio/wmemstream.c: Likewise.
31734 * libio/wstrops.c: Likewise.
31735 * libio/__fpurge.c: Likewise.
31736 * libio/__fsetlocking.c: Likewise.
31737 * assert/assert.c: Likewise.
31738 * debug/fgets_chk.c: Likewise.
31739 * debug/fgets_u_chk.c: Likewise.
31740 * debug/fread_chk.c: Likewise.
31741 * debug/fread_u_chk.c: Likewise.
31742 * debug/gets_chk.c: Likewise.
31743 * debug/obprintf_chk.c: Likewise.
31744 * debug/vasprintf_chk.c: Likewise.
31745 * debug/vdprintf_chk.c: Likewise.
31746 * debug/vsnprintf_chk.c: Likewise.
31747 * debug/vsprintf_chk.c: Likewise.
31748 * malloc/mtrace.c: Likewise.
31749 * misc/error.c: Likewise.
31750 * misc/syslog.c: Likewise.
31751 * stdio-common/asprintf.c: Likewise.
31752 * stdio-common/fxprintf.c: Likewise.
31753 * stdio-common/getw.c: Likewise.
31754 * stdio-common/isoc99_fscanf.c: Likewise.
31755 * stdio-common/isoc99_scanf.c: Likewise.
31756 * stdio-common/isoc99_vfscanf.c: Likewise.
31757 * stdio-common/isoc99_vscanf.c: Likewise.
31758 * stdio-common/isoc99_vsscanf.c: Likewise.
31759 * stdio-common/printf-prs.c: Likewise.
31760 * stdio-common/printf_fp.c: Likewise.
31761 * stdio-common/printf_fphex.c: Likewise.
31762 * stdio-common/printf_size.c: Likewise.
31763 * stdio-common/putw.c: Likewise.
31764 * stdio-common/scanf.c: Likewise.
31765 * stdio-common/sprintf.c: Likewise.
31766 * stdio-common/tmpfile.c: Likewise.
31767 * stdio-common/vfprintf.c: Likewise.
31768 * stdio-common/vfscanf.c: Likewise.
31769 * stdlib/strfmon_l.c: Likewise.
31770 * sunrpc/openchild.c: Likewise.
31771 * sunrpc/xdr_stdio.c: Likewise.
31772 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31773 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31775 2012-05-24 Roland McGrath <roland@hack.frob.com>
31777 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31779 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31780 in the third column, to generate for the shared library an IFUNC
31781 that uses _dl_vdso_vsym.
31782 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31783 * Makeconfig (object-suffixes-noshared): New variable.
31785 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31786 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31787 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31788 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31791 * include/sys/time.h (__gettimeofday): Remove macro.
31792 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31793 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31795 (__gettimeofday): Add libc_hidden_def.
31796 (gettimeofday): Add libc_hidden_weak.
31797 * sysdeps/mach/gettimeofday.c: Likewise.
31798 * sysdeps/posix/gettimeofday.c: Likewise.
31799 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31800 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31801 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31802 (__gettimeofday_internal): Remove strong_alias.
31803 (__gettimeofday): Add libc_hidden_def.
31804 (gettimeofday): Add libc_hidden_weak.
31805 * sysdeps/unix/syscalls.list (gettimeofday):
31806 Remove __gettimeofday_internal alias.
31808 2012-05-24 Daniel Jacobowitz <drow@false.org>
31809 H.J. Lu <hongjiu.lu@intel.com>
31812 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31813 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31814 (largebin_index_32_big): New.
31815 (largebin_index): Use it for 16-byte alignment.
31816 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31817 correction with front_misalign.
31819 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31847 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31848 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31850 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31854 * math/libm-test.inc (exp_test): Add test from bug 14036.
31855 (pow_test): Add test from bug 10846.
31857 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31859 (special_function): Do not include flags in test name.
31860 (parse_args): Likewise.
31861 * sysdeps/i386/fpu/libm-test-ulps: Update.
31862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31863 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31864 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31867 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31869 * math/libm-test.inc ("Philosophy"): Update comment about
31871 (UNDERFLOW_EXCEPTION): New macro.
31872 (UNDERFLOW_EXCEPTION_OK): Likewise.
31873 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31874 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31875 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31876 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31877 (INVALID_EXCEPTION_OK): Update value.
31878 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31879 (OVERFLOW_EXCEPTION_OK): Likewise.
31880 (IGNORE_ZERO_INF_SIGN): Likewise.
31881 (test_exceptions): Handle underflow exceptions.
31882 (acos_test): Update for underflow exception expectations.
31883 (cexp_test): Likewise.
31884 (clog_test): Likewise.
31885 (clog10_test): Likewise.
31886 (csqrt_test): Likewise.
31887 (ctan_test): Likewise.
31888 (ctanh_test): Likewise.
31889 (exp_test): Likewise.
31890 (exp10_test): Likewise.
31891 (exp2_test): Likewise.
31892 (expm1_test): Likewise.
31893 (fma_test): Likewise.
31894 (j0_test): Likewise.
31895 (jn_test): Likewise.
31896 (nexttoward_test): Likewise.
31897 (pow_test): Likewise.
31898 (scalbn_test): Likewise.
31899 (scalbln_test): Likewise.
31900 (tan_test): Likewise.
31901 (y1_test): Likewise.
31902 * sysdeps/i386/fpu/libm-test-ulps: Update.
31903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31905 2012-05-23 David S. Miller <davem@davemloft.net>
31907 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31908 (__libc_sigaction): Remove unused local variables.
31910 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31912 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31914 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31916 mktime: avoid signed integer overflow
31917 * time/mktime.c (__mktime_internal): Do not mishandle the case
31918 where diff == INT_MIN.
31920 mktime: simplify computation of average
31921 * time/mktime.c (ranged_convert): Use new time_t_avg function
31922 instead of rolling our own (probably-slower) code.
31924 mktime: do not assume signed right shift propagates sign bit
31925 * time/mktime.c (isdst_differ): New static function.
31926 (__mktime_internal): No need to normalize tm_isdst now.
31927 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31930 mktime: merge another wrapv change from gnulib
31931 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31932 from some compilers.
31934 mktime: remove incorrect attempt at unusual arithmetics
31935 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31936 The code didn't really work on such machines anyway.
31937 (TYPE_MINIMUM): Assume two's complement.
31938 (twos_complement_arithmetic): Verify that long_int and time_t
31939 are two's complement (or unsigned, in the latter case).
31941 mktime: check signed shifts on long_int and time_t, too
31942 * time/mktime.c (SHR): Check that shifts work as desired
31943 on the types long_int and time_t too, as SHR is used on
31946 mktime: do not assume 'long' is wide enough
31947 * time/mktime.c (verify): Move decl up.
31948 (long_int): New type.
31949 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31950 to remove assumption in the code that 'long' is wide enough to
31951 store year values. This assumption is not true on x32 and on
31952 some non-glibc platforms.
31954 mktime: merge wrapv change from gnulib
31955 * time/mktime.c (WRAPV): New macro.
31956 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31957 (guess_time_tm, __mktime_internal): Do not assume that signed
31958 integer overflow wraps around; modern compilers generate code
31959 where this assumption is no longer valid.
31961 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31963 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31964 Replace "jmp L(pseudo_end)" with "ret".
31965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31968 2012-05-23 Andreas Jaeger <aj@suse.de>
31970 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31971 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31973 2012-05-23 Andreas Jaeger <aj@suse.de>
31974 Maximilian Attems <max@stro.at>
31976 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31979 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31981 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31982 code so that pseudo_end is just ret and the stack pointer is
31983 correct also for static library in error case.
31985 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31987 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31988 move to syscalls.list.
31989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31994 * manual/install.texi (Running make install): Do not mention Linux
31995 kernel version for which pt_chown is not needed.
31996 (Linux): Do not mention problems with nscd with 2.0 kernels.
31997 * INSTALL: Regenerated.
31999 2012-05-23 Andreas Jaeger <aj@suse.de>
32001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32002 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32004 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32005 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32006 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32007 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32008 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32009 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32010 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32011 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32012 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32014 * sysdeps/unix/sysv/linux/bits/in.h
32015 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32017 2012-05-22 Roland McGrath <roland@hack.frob.com>
32019 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32020 (PREPARE_VERSION): Just use assert instead, it will be elided
32021 under [NDEBUG] anyway.
32023 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32025 * sysdeps/unix/sysv/linux/Makefile: Include
32026 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32027 (sysdep_routines): Remove sysctl.
32028 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32029 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32030 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32031 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32032 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32034 2012-05-22 Andreas Jaeger <aj@suse.de>
32036 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32037 that pseudo_end is just ret and the stack pointer is correct also
32038 for static library in error case.
32040 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32043 * nss/nsswitch.c (defconfig_entries): New variable.
32044 (__nss_database_lookup): Don't leak defconfig entries.
32045 (nss_parse_service_list): Don't leak on error paths.
32046 (free_database_entries): New function.
32047 (free_defconfig): New function.
32048 (free_mem): Move common code to free_database_entries.
32050 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32052 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32054 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32056 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32057 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32060 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32061 (INTERNAL_SYSCALL_TYPES): Likewise.
32062 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32063 (LOAD_REGS_TYPES_[1-6]): Likewise.
32064 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32065 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32067 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32069 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32070 copysignl for GLIBC_2_0.
32071 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32072 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32074 logbl for GLIBC_2_0.
32075 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32076 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32078 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32080 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32081 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32083 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32086 * time/mktime.c: Update copyright years.
32088 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32090 mktime: merge comment-quoting-style change from gnulib
32091 * time/mktime.c: Quote 'like this' in comments.
32092 The GNU coding standards suggest that we no longer quote `like this',
32093 as "`" and "'" are typically rendered asymmetrically nowadays.
32094 The typical gnulib style is to quote 'like this' when quoting
32095 code, and "like this" when quoting English.
32097 * time/mktime.c (compile-command): Add "-I.".
32099 mktime: merge mktime-internal.h change from gnulib
32100 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32102 mktime: merge time_r change from gnulib
32103 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32105 mktime: merge DEBUG change from gnulib
32106 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32107 case system <time.h> has a #define.
32109 mktime: merge <sys/types.h> change from gnulib
32110 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32111 since <time.t> is now guaranteed to define time_t.
32113 mktime: merge HAVE_CONFIG_H change from gnulib
32114 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32116 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32121 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32123 (struct rusage): Use anonymous union to pad each field to
32126 2012-05-21 David S. Miller <davem@davemloft.net>
32128 * Makefules (o-iterator): Remove .s cases.
32129 (compile-command.s): Delete.
32130 (COMPILE.s): Delete.
32131 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32133 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32135 * configure.in (libc_cv_predef_stack_protector): Only consider
32136 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32137 * configure: Regenerated.
32139 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32142 New macro. Use R*LP on int and pointer.
32143 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32144 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32145 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32146 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32148 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32149 [__WORDSIZE_TIME64_COMPAT32] instead of
32150 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32151 (struct utmp): Likewise.
32152 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32153 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32155 (__WORDSIZE_TIME64_COMPAT32): This.
32156 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32157 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32158 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32159 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32160 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32161 (__WORDSIZE_TIME64_COMPAT32): New macro.
32163 2012-05-21 Andreas Jaeger <aj@suse.de>
32165 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32166 only if [SHARED]. Add prototype for __wcschr_ia32.
32168 2012-05-21 Roland McGrath <roland@hack.frob.com>
32170 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32171 of %rbp unmolested in the jmp_buf while mangling the low bits.
32172 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32173 unmolested high bits of %rbp while demangling the low bits.
32174 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32176 2012-05-21 Andreas Jaeger <aj@suse.de>
32178 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32179 * sunrpc/svc_simple.c: Use it for registerrpc.
32180 * sunrpc/xcrypt.c: Use it for passwd2des.
32182 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32184 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32186 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32187 Don't define if [__SYSCALL_WORDSIZE != 32].
32188 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32191 2012-05-21 Bruno Haible <bruno@clisp.org>
32192 Andreas Jaeger <aj@suse.de>
32194 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32195 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32196 inptr and inend for must_buffer_ch.
32197 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32198 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32199 * stdio-common/Makefile (tests): Remove bug15.
32200 (bug15-ENV): Remove macro.
32201 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32204 2012-05-19 Andreas Jaeger <aj@suse.de>
32205 Roland McGrath <roland@hack.frob.com>
32207 * manual/contrib.texi: Completely rewritten. It contains now an
32208 alphabetical list of contributors and their contributions.
32210 2012-05-21 Richard Henderson <rth@twiddle.net>
32212 * misc/getauxval.c (__getauxval): Use unsigned long int.
32213 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32214 (getauxval): Use unsigned long int.
32216 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32218 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32220 2012-05-21 Roland McGrath <roland@hack.frob.com>
32222 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32223 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32224 __alignof__ (long double).
32226 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32230 2012-05-20 Richard Henderson <rth@twiddle.net>
32232 * misc/getauxval.c: New file.
32233 * misc/sys/auxv.h: New file.
32234 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32235 (routines): Add getauxval.
32236 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32237 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32238 * elf/dl-sysdep.c (_dl_auxv): Remove.
32239 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32240 * elf/dl-support.c (_dl_auxv): New variable.
32241 (_dl_aux_init): Initialize it.
32242 * manual/startup.texi (Auxiliary Vector): New node.
32243 * sysdeps/generic/bits/hwcap.h: New file.
32244 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32245 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32246 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32247 * sysdeps/sparc/sysdep.h: ... here. Include it.
32248 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32255 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32261 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32265 2012-05-19 David S. Miller <davem@davemloft.net>
32267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32269 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32272 * math/s_ccosh.c: Include <float.h>
32273 (__ccosh): Avoid internal overflow calculating sinh and cosh
32274 values before multiplying by sin and cos values.
32275 * math/s_ccoshf.c: Likewise.
32276 * math/s_ccoshl.c: Likewise.
32277 * math/s_csin.c: Likewise.
32278 * math/s_csinf.c: Likewise.
32279 * math/s_csinl.c: Likewise.
32280 * math/s_csinh.c: Likewise.
32281 * math/s_csinhf.c: Likewise.
32282 * math/s_csinhl.c: Likewise.
32283 * math/libm-test.inc (ccos_test): Add more tests.
32284 (ccosh_test): Likewise.
32285 (csin_test): Likewise.
32286 (csinh_test): Likewise.
32287 * sysdeps/i386/fpu/libm-test-ulps: Update.
32288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32290 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32292 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32293 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32295 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32297 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32299 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32300 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32301 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32302 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32303 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32304 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32305 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32306 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32307 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32308 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32309 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32310 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32311 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32312 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32313 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32314 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32315 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32316 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32317 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32318 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32319 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32320 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32321 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32322 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32323 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32324 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32325 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32326 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32327 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32328 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32329 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32331 2012-05-18 Andreas Jaeger <aj@suse.de>
32333 * csu/.gitignore: Delete.
32335 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32337 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32338 (timex): Use __syscall_slong_t.
32340 2012-05-18 Andreas Jaeger <aj@suse.de>
32341 Carlos O'Donell <carlos_odonell@mentor.com>
32343 * manual/install.texi (Configuring and compiling): Update
32344 description about files modified in the source directory.
32345 * INSTALL: Regenerated.
32347 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32349 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32350 value. Use "or" to set return value to -1.
32351 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32352 negate return value.
32354 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32356 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32357 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32358 failure if the compiler has Graphite support disabled.
32359 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32361 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32362 (CFLAGS-memmove.c): Likewise.
32363 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32366 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32368 * sysdeps/x86_64/x32/_itoa.h: New file.
32370 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32371 getdents system call only if kernel and user dirents have the
32372 same d_ino and d_off.
32374 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32375 LLONG_MAX != LONG_MAX.
32376 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32377 (_fitoa_word): Likewise.
32379 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32381 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32382 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32383 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32385 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32386 include <bits/wordsize.h>. Check __x86_64__ instead of
32388 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32389 if __x86_64__ is defined. Use anonymous union on fpstate.
32391 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32394 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32396 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32397 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32398 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32399 Refer to _rtld_local_ro instead of _rtld_global_ro.
32400 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32402 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32404 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32406 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32407 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32408 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32410 * sysdeps/powerpc/powerpc32/dl-machine.c
32411 (__elf_machine_runtime_setup) [PROF]: Don't reference
32414 2012-05-18 Andreas Jaeger <aj@suse.de>
32416 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32417 function only available for GCCs before 3.4 since GCC 3.4
32418 introduced a builtin.
32420 (llrintf): Likewise.
32421 (llrint): Likewise.
32428 (nearbyint): Likewise.
32429 (nearbyintf): Likewise.
32433 (floorf): Likewise.
32435 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32437 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32438 on both fields and cast pointer to __syscall_ulong_t.
32440 * bits/types.h (__fsword_t): New type.
32441 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32442 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32444 (__FSWORD_T_TYPE): Likewise.
32445 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32446 (__FSWORD_T_TYPE): Likewise.
32447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32448 (__FSWORD_T_TYPE): Likewise.
32449 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32450 (__FSWORD_T_TYPE): Likewise.
32451 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32452 __SWORD_TYPE with __fsword_t.
32453 (statfs64): Likewise.
32455 2012-05-17 David S. Miller <davem@davemloft.net>
32457 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32459 2012-05-17 Andreas Jaeger <aj@suse.de>
32461 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32464 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32466 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32468 2012-05-17 Andreas Jaeger <aj@suse.de>
32470 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32473 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32475 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32477 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32479 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32480 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32482 2012-05-17 Andreas Jaeger <aj@suse.de>
32483 Carlos O'Donell <carlos_odonell@mentor.com>
32486 * sysdeps/x86_64/multiarch/init-arch.h
32487 (bit_YMM_Usable): Rename to...
32488 (bit_AVX_Usable): ... this.
32489 (bit_FMA4_Usable): New macro.
32490 (bit_XMM_state): New macro.
32491 (bit_YMM_state): New macro.
32492 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32493 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32494 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32495 (CPUID_OSXSAVE): New macro.
32496 (CPUID_AVX): New macro.
32497 (CPUID_FMA4): New macro.
32498 (index_YMM_Usable): Rename to...
32499 (index_AVX_Usable): ... this.
32500 (HAS_AVX): Use HAS_ARCH_FEATURE.
32501 (HAS_FMA4): Likewise.
32502 (HAS_YMM_USABLE): Remove.
32503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32504 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32506 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32507 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32508 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32509 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32510 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32512 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32514 * math/libm-test.c: Support platforms without multiple rounding modes.
32515 * math/bug-nextafter.c: Support platforms without FP exceptions.
32516 * math/bug-nexttoward.c: Likewise.
32517 * math/test-fenv.c: Likewise.
32518 * math/test-misc.c: Likewise.
32519 * stdlib/bug-getcontext.c: Likewise.
32521 2012-05-17 Andreas Jaeger <aj@suse.de>
32523 * manual/examples/search.c (critter_cmp): Change signature to
32525 * manual/string.texi (Collation Functions): Likewise.
32527 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32529 * bits/types.h: Fold copyright years.
32530 * bits/typesizes.h: Likewise.
32531 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32534 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32535 * time/time.h: Likewise.
32537 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32540 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32541 in instead of returning them. Return void.
32542 (__libc_mallinfo): Accumulate over all arenas.
32543 (__malloc_stats): Adjust for change in int_mallinfo interface.
32545 2012-05-16 Roland McGrath <roland@hack.frob.com>
32548 * configure.in (NM): Add AC_CHECK_TOOL for it.
32549 (libc_extra_cflags): New substituted variable.
32550 Check for -fstack-protector being used implicitly.
32551 * configure: Regenerated.
32552 * config.make.in (config-extra-cflags): New variable,
32553 gets @libc_extra_cflags@.
32554 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32557 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32558 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32559 * configure: Regenerated.
32560 * config.make.in (CPPUNDEFS): New substituted variable.
32561 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32562 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32563 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32565 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32567 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32568 (mq_attr): Use __syscall_slong_t.
32570 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32572 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32573 Check __x86_64__ instead of __WORDSIZE.
32574 (_STAT_VER_LINUX): Likewise.
32575 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32576 __syscall_ulong_t and __syscall_slong_t.
32577 (stat64): Likewise.
32579 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32581 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32583 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32585 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32587 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32589 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32592 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32593 include <bits/wordsize.h>. Check __x86_64__ instead of
32595 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32597 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32599 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32600 include <bits/wordsize.h>. Check __x86_64__ instead of
32602 (user_regs_struct): Use "__extension__ unsigned long long"
32603 instead of "unsigned long" if __x86_64__ is defined.
32604 (user): Likewise. Pad after pointer field if __ILP32__ is
32607 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32609 * configure.in (makeinfo): Require version 4.5 or later. Allow
32611 * configure: Regenerated.
32612 * manual/install.texi (texinfo): Increase version requirement to
32614 * INSTALL: Regenerated.
32616 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32618 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32620 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32622 * sysdeps/x86_64/x32/ffs.c: New file.
32624 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32626 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32627 defined. Use __syscall_ulong_t.
32628 (shminfo): Use __syscall_ulong_t.
32629 (shm_info): Likewise.
32631 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32634 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32636 (msgqnum_t): Use __syscall_ulong_t.
32637 (msglen_t): Likewise.
32638 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32641 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32642 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32644 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32646 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32647 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32649 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32652 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32653 include <bits/wordsize.h>. Check __x86_64__ instead of
32656 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32657 "unsigned long long int" if __x86_64__ is defined.
32658 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32660 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32661 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32662 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32664 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32666 (GET_PC): Cast to uintptr_t first.
32667 (GET_FRAME): Likewise.
32668 (GET_STACK): Likewise.
32670 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32671 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32672 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32673 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32674 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32675 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32676 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32677 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32678 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32679 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32680 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32681 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32682 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32683 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32684 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32685 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32686 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32687 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32688 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32689 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32690 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32691 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32692 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32693 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32694 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32695 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32696 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32697 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32698 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32700 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32702 * Makerules (+depfiles): Also collect depfiles from .oS in
32704 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32705 .oS, $(libnldbl-routines)).
32707 * Makerules (native-compile-mkdep-flags): Define.
32708 * sunrpc/Makefile (extra-objs): Add $(addprefix
32709 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32710 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32711 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32712 calling $(make-target-directory).
32714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32716 * bits/types.h (__snseconds_t): Removed.
32717 * time/time.h (struct timespec): Replace __snseconds_t with
32719 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32720 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32723 (__SNSECONDS_T_TYPE): Likewise.
32724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32725 (__SNSECONDS_T_TYPE): Likewise.
32726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32727 (__SNSECONDS_T_TYPE): Likewise.
32729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32731 * sysdeps/mach/hurd/bits/typesizes.h
32732 (__SYSCALL_SLONG_TYPE): New macro.
32733 (__SYSCALL_ULONG_TYPE): Likewise.
32735 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32737 * bits/types.h (__syscall_slong_t): New type.
32738 (__syscall_ulong_t): Likewise.
32740 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32741 (__SYSCALL_ULONG_TYPE): Likewise.
32742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32743 (__SYSCALL_SLONG_TYPE): Likewise.
32744 (__SYSCALL_ULONG_TYPE): Likewise.
32745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32746 (__SYSCALL_SLONG_TYPE): Likewise.
32747 (__SYSCALL_ULONG_TYPE): Likewise.
32748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32749 (__SYSCALL_SLONG_TYPE): Likewise.
32750 (__SYSCALL_ULONG_TYPE): Likewise.
32752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32754 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32755 Add sigaltstack-offsets.sym.
32756 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32757 <sigaltstack-offsets.h>.
32758 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32759 longjmp_msg pointer.
32760 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32761 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32763 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32765 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32767 * elf/stackguard-macros.h: Remove file.
32768 * sysdeps/generic/stackguard-macros.h: New file.
32769 * sysdeps/i386/stackguard-macros.h: Likewise.
32770 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32771 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32772 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32773 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32774 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32775 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32776 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32777 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32778 <elf/stackguard-macros.h>.
32781 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32782 __aligned__ in attribute.
32783 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32784 (gregset_t): Likewise.
32786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32788 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32789 * sysdeps/x86_64/64/Implies-after: Here. New file.
32790 * sysdeps/x86_64/x32/Implies-after: New file.
32792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32794 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32795 and access return value for _dl_profile_fixup. Use R10_LP to
32798 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32800 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32802 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32804 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32805 * sysdeps/x86_64/x32/sysdep.h: New file.
32807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32809 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32810 * sysdeps/x86_64/setjmp.S: Likewise.
32812 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32814 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32815 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32816 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32817 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32818 remove unused global constant.
32820 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32822 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32823 include of <not-cancel.h>.
32825 2012-05-15 Roland McGrath <roland@hack.frob.com>
32827 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32829 2012-05-15 Jeff Law <law@redhat.com>
32830 Andreas Jaeger <aj@suse.de>
32833 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32835 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32836 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32837 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32838 code changing __hst_map_handle.map.
32840 2012-05-15 Roland McGrath <roland@hack.frob.com>
32842 * configure.in (sysnames): Look for Implies-before and Implies-after
32844 * configure: Regenerated.
32846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32848 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32849 8-byte data alignment with LP_SIZE alignment.
32851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32853 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32858 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32862 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32863 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32864 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32866 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32870 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32871 (stackinfo_sub_sp): Likewise.
32873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32875 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32880 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32885 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32890 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32894 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32895 into R11_LP and load __x86_64_shared_cache_size_half into
32898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32900 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32903 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32911 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32912 powerpc32/power7/fpu/s_logb.c via #include.
32913 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32914 powerpc32/power7/fpu/s_logbf.c via #include.
32915 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32916 powerpc32/power7/fpu/s_logbl.c via #include.
32918 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32920 * README.libm: Remove file.
32922 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32924 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32925 count for x32. Use R*_LP and omit operand-size suffix.
32927 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32929 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32930 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32931 * sysdeps/x86_64/x32/shlib-versions: New file.
32933 2012-05-14 Roland McGrath <roland@hack.frob.com>
32935 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32936 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32937 Use _dl_fatal_printf instead.
32939 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32941 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32942 set if not set by the user. Do not allow for being unset.
32943 * sysdeps/unix/sysv/linux/configure: Regenerated.
32945 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32947 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32948 the `q' suffix from lea and replace .quad with ASM_ADDR.
32950 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32953 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32955 (PTR_DEMANGLE): Likewise.
32957 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32959 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32961 (ASM_ADDR): Likewise.
32962 (RAX_LP): Likewise.
32963 (RBP_LP): Likewise.
32964 (RBX_LP): Likewise.
32965 (RCX_LP): Likewise.
32966 (RDI_LP): Likewise.
32967 (RSI_LP): Likewise.
32968 (RSP_LP): Likewise.
32971 (R10_LP): Likewise.
32972 (R10_LP): Likewise.
32973 (R11_LP): Likewise.
32974 (R12_LP): Likewise.
32975 (R13_LP): Likewise.
32976 (R14_LP): Likewise.
32977 (R15_LP): Likewise.
32979 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32981 * sysdeps/x86_64/x32/dl-machine.h: New file.
32983 2012-05-14 Andreas Jaeger <aj@suse.de>
32985 * manual/Makefile (subdir): Remove export of subdir.
32986 (all): Remove target.
32987 (.PHONY): Remove all from list.
32988 (mkinstalldirs): Remove.
32989 (.PHONY): Remove installdirs from list.
32990 ($(inst_infodir)/libc.info): Use make-target-directory.
32991 (installdirs): Remove.
32992 (subdir_%): Remove.
32993 (glibc-targets): Remove.
32996 ($(objpfx)stubs ../po/manual.pot): Remove.
32997 ($(objpfx)stamp%): Remove.
32998 (make-target-directory): Remove.
32999 (subdir_install): Remove.
33000 (routines): Remove.
33007 * manual/.gitignore: Remove, it's not needed anymore.
33008 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33010 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33012 (texis): Renamed to $(objpfx)texis.
33013 (texis-path): New, contains path to generated files.
33014 (chapters.%): Use texis-path for complete path, add extra argument
33016 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33017 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33018 (summary,texi, stamp-summary): Use complete path of
33019 files. Generate files in build dir.
33020 (dir-add.texi): Build in build dir.
33021 (libm-err.texi,stamp-libm-err): Likewise.
33022 (version.texi, stamp-version): Likewise.
33023 (.%c.texi): Likewise.
33024 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33025 (mostlyclean): Remove target.
33026 (realclean): Remove target.
33027 (generated): Add new variable with contents from mostlyclean and
33028 realclean, remove entries duplicated in common-mostlyclean, add
33029 stamp-libm-err and stamp-version.
33030 (generated-dirs): Add libc directory.
33031 ($(inst_infodir)/libc.info): Install files from build dir.
33033 * manual/install.texi (Configuring and compiling): Adjust since
33034 the info files are not part of the tar ball anymore.
33036 2012-05-14 Andreas Jaeger <aj@suse.de>
33038 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33041 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33044 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33045 to 2.2.0 where earlier.
33046 * sysdeps/unix/sysv/linux/configure: Regenerated.
33047 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33048 Remove conditional code.
33049 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33050 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33051 Remove conditional code.
33052 [!__NR_lchown]: Likewise.
33053 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33054 [__NR_lchown]: Likewise.
33055 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33056 comment referencing __ASSUME_LCHOWN_SYSCALL.
33057 * sysdeps/unix/sysv/linux/i386/sigaction.c
33058 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33059 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33060 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33061 Remove conditional code.
33062 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33063 (__protocol_available): Remove #if 0 code.
33064 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33066 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33067 * sysdeps/unix/sysv/linux/kernel-features.h
33068 (__ASSUME_GETCWD_SYSCALL): Don't define.
33069 (__ASSUME_REALTIME_SIGNALS): Likewise.
33070 (__ASSUME_PREAD_SYSCALL): Likewise.
33071 (__ASSUME_PWRITE_SYSCALL): Likewise.
33072 (__ASSUME_POLL_SYSCALL): Likewise.
33073 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33074 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33076 (__ASSUME_SIOCGIFNAME): Don't define.
33077 (__ASSUME_MSG_NOSIGNAL): Likewise.
33078 (__ASSUME_SENDFILE): Define unconditionally.
33079 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33080 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33082 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33083 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33084 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33085 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33086 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33087 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33088 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33090 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33091 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33093 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33094 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33096 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33097 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33099 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33100 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33102 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33103 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33105 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33108 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33109 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33111 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33113 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33114 Remove conditional code.
33115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33116 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33117 Remove conditional code.
33118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33119 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33120 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33121 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33122 Remove conditional code.
33123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33124 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33125 Remove conditional code.
33126 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33127 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33128 Remove conditional code.
33129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33130 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33131 Remove conditional code.
33132 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33133 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33134 Remove conditional code.
33135 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33136 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33137 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33139 * sysdeps/unix/sysv/linux/sigaction.c
33140 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33141 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33142 * sysdeps/unix/sysv/linux/sigpending.c
33143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33145 * sysdeps/unix/sysv/linux/sigprocmask.c
33146 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33147 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33148 * sysdeps/unix/sysv/linux/sigsuspend.c
33149 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33150 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33151 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33152 (__libc_missing_rt_sigs): Remove.
33153 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33154 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33155 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33156 Remove conditional code.
33157 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33158 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33160 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33161 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33162 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33163 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33165 2012-05-14 Andreas Jaeger <aj@suse.de>
33167 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33168 it's not used in glibc.
33169 (__coshm1): Likewise.
33170 (__acosh1p): Likewise.
33173 * manual/string.texi (Copying and Concatenation): Add missing
33174 variable in concat example.
33175 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33177 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33180 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33181 __builtin_clzl with __builtin_clzll.
33183 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33186 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33189 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33191 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33192 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33193 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33194 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33196 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33198 * NEWS: Update ia64 info.
33200 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33202 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33205 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33207 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33208 * sysdeps/unix/syscalls.list (dup3): Likewise.
33209 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33210 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33212 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33214 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33215 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33217 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33219 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33221 (TLS_IE): Use mov/add instead of movq/addq to load thread
33223 (TLS_GD_PREFIX): New.
33226 2012-05-11 David S. Miller <davem@davemloft.net>
33228 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33229 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33230 (_FPU_SETCW): Likewise.
33232 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33234 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33235 is 32-byte aligned.
33237 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33240 * iconvdata/gb18030.c: Update tables.
33241 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33242 characters specially.
33243 (BODY for TO_LOOP): Add encoding of missing ranges.
33245 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33248 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33249 * sysdeps/mach/hurd/dup3.c: Likewise.
33250 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33251 * sysdeps/powerpc/memmove.c:: Likewise.
33253 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33255 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33256 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33258 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33260 * elf/elf.h (R_X86_64_RELATIVE64): New.
33261 (R_X86_64_NUM): Updated.
33262 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33263 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33264 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33265 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33266 tst-quad1pie tst-quad2pie
33267 (modules-names): Add tst-quadmod1 tst-quadmod2.
33268 ($(objpfx)tst-quad1): New dependency.
33269 ($(objpfx)tst-quad2): Likewise.
33270 ($(objpfx)tst-quad1pie): Likewise.
33271 ($(objpfx)tst-quad2pie): Likewise.
33272 * sysdeps/x86_64/tst-quad1.c: New file.
33273 * sysdeps/x86_64/tst-quad1pie.c: New file.
33274 * sysdeps/x86_64/tst-quad2.c: Likewise.
33275 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33276 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33277 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33278 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33279 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33281 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33283 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33284 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33285 * streams/stropts.h (t_scalar_t): Define type.
33287 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33288 (_PATH_PRESERVE): Set to "/var/lib".
33289 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33291 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33294 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33295 if __dir_mkfile succeeded.
33297 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33298 checking for _hurd_dtablesize. Unlock it right after having
33299 finished _hurd_dtable allocation.
33301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33303 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33304 * sysdeps/mach/hurd/configure: Regenerated.
33305 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33306 special-casing to...
33307 * sysdeps/gnu/configure.in: ... this new file.
33308 * sysdeps/unix/sysv/linux/configure: Regenerated.
33309 * sysdeps/gnu/configure: New generated file.
33311 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33312 for Linux: use nsec instead of usec, as well as:
33313 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33314 members of type struct timespec.
33315 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33317 (struct stat64): Likewise.
33318 (_STATBUF_ST_NSEC): New macro.
33319 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33321 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33322 __strtoul_internal rather than strtoul.
33324 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33326 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33329 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33331 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33332 which preserves existing values.
33333 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33335 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33337 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33338 TIMEOUT values. Return EINVAL for NFDS values either negative or
33339 greater than FD_SETSIZE.
33341 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33343 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33344 allocated, call __vm_protect to finish enabling the existing space, and
33345 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33346 allocate the remainder.
33348 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33350 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33351 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33353 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33355 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33356 sysdeps/mach/hurd/readlink.c.
33358 * posix/tst-sysconf.c (posix_options): Only use
33359 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33360 _POSIX_SYNCHRONIZED_IO when they are defined
33361 * sysdeps/mach/hurd/bits/posix_opt.h:
33362 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33363 (_XOPEN_REALTIME): Undefine macro.
33364 (_XOPEN_REALTIME_THREADS): Undefine macro.
33365 (_XOPEN_SHM): Undefine macro.
33366 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33368 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33370 (_POSIX_ASYNC_IO): Undefine macro.
33371 (_POSIX_PRIORITIZED_IO): Undefine macro.
33372 (_POSIX_SPIN_LOCKS): Define macro to -1.
33374 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33375 SA_NODEFER, SA_RESETHAND.
33376 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33377 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33380 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33382 * elf/Makefile (pldd-modules): Define unconditionally.
33384 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33386 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33388 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33390 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33391 Return ENOENT when name is empty.
33392 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33394 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33396 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33398 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33400 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33402 Fix mlock in all cases except non-readable pages.
33403 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33404 instead of VM_PROT_ALL as parameter to __vm_wire function.
33406 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33407 (__mkdir): When path is `/', just fail with EEXIST.
33408 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33410 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33412 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33413 <sys/uio.h> (for writev).
33414 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33415 and <sys/param.h> (for MIN).
33417 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33419 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33420 REQUESTED_TIME. Properly set the remaining time and return EINTR
33423 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33425 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33426 Depend on against $(link-rpcuserlibs).
33428 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33430 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33431 (__libc_stack_end): Do not use attribute_relro.
33432 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33433 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33434 to libthread-provided value.
33435 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33438 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33441 * bits/libc-lock.h (__libc_once_get): New macro.
33442 * sysdeps/mach/bits/libc-lock.h: Likewise.
33443 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33444 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33445 instead of using implementation details.
33447 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33448 * libio/freopen.c: Likewise.
33449 * libio/freopen64.c: Likewise.
33450 * misc/syslog.c: Likewise.
33451 * nscd/connections.c: Likewise.
33452 * nscd/netgroupcache.c: Likewise.
33453 * sysdeps/posix/getcwd.c: Likewise.
33455 2012-05-10 Roland McGrath <roland@hack.frob.com>
33457 * math/w_ilogbf.c: Add #include <limits.h>.
33459 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33461 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33462 path instead of returning without unlocking.
33464 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33465 immediate-write ioctls.
33466 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33468 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33470 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33471 __builtin_frame_address instead of making assumptions about the
33472 location of the return address relative to DATA. Force early load of
33473 the return address.
33474 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33475 __builtin_frame_address.
33478 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33479 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33480 implement dup3 and do some further code clean-ups.
33481 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33482 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33486 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33488 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33489 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33490 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33491 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33492 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33495 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33496 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33497 when handler == SIG_ERR, not when handler != SIG_ERR.
33499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33501 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33502 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33505 accept4 for GNU Hurd.
33506 * include/sys/socket.h (__libc_accept4): New prototype.
33507 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33508 to implement __libc_accept4.
33509 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33511 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33513 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33514 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33515 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33516 signal-defines.sym.
33518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33520 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33522 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33524 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33525 assertion on O_CLOEXEC flag.
33526 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33527 * hurd/intern-fd.c: Likewise.
33528 * hurd/port2fd.c: Likewise.
33530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33533 * bits/in.h (IPV6_PKTINFO): Define new macro.
33534 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33536 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33541 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33542 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33543 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33544 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33546 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33547 * math/libm-test.inc (logb_test) : Additional logb tests.
33549 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33550 Andreas Jaeger <aj@suse.de>
33552 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33553 * configure: Regenerated.
33554 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33555 * config.make.in (link-obsolete-rpc): New substituted variable.
33556 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33557 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33558 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33559 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33560 so that libc.a contains the symbols.
33561 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33562 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33563 * sunrpc/auth_none.c: Likewise.
33564 * sunrpc/auth_unix.c: Likewise.
33565 * sunrpc/authdes_prot.c: Likewise.
33566 * sunrpc/authuxprot.c: Likewise.
33567 * sunrpc/clnt_gen.c: Likewise.
33568 * sunrpc/clnt_perr.c: Likewise.
33569 * sunrpc/clnt_raw.c: Likewise.
33570 * sunrpc/clnt_simp.c: Likewise.
33571 * sunrpc/clnt_tcp.c: Likewise.
33572 * sunrpc/clnt_udp.c: Likewise.
33573 * sunrpc/clnt_unix.c: Likewise.
33574 * sunrpc/des_crypt.c: Likewise.
33575 * sunrpc/des_soft.c: Likewise.
33576 * sunrpc/get_myaddr.c: Likewise.
33577 * sunrpc/key_call.c: Likewise.
33578 * sunrpc/key_prot.c: Likewise.
33579 * sunrpc/netname.c: Likewise.
33580 * sunrpc/pm_getmaps.c: Likewise.
33581 * sunrpc/pm_getport.c: Likewise.
33582 * sunrpc/pmap_clnt.c: Likewise.
33583 * sunrpc/pmap_prot.c: Likewise.
33584 * sunrpc/pmap_prot2.c: Likewise.
33585 * sunrpc/pmap_rmt.c: Likewise.
33586 * sunrpc/publickey.c: Likewise.
33587 * sunrpc/rpc_cmsg.c: Likewise.
33588 * sunrpc/rpc_common.c: Likewise.
33589 * sunrpc/rpc_dtable.c: Likewise.
33590 * sunrpc/rpc_prot.c: Likewise.
33591 * sunrpc/rpc_thread.c: Likewise.
33592 * sunrpc/rtime.c: Likewise.
33593 * sunrpc/svc.c: Likewise.
33594 * sunrpc/svc_auth.c: Likewise.
33595 * sunrpc/svc_raw.c: Likewise.
33596 * sunrpc/svc_run.c: Likewise.
33597 * sunrpc/svc_tcp.c: Likewise.
33598 * sunrpc/svc_udp.c: Likewise.
33599 * sunrpc/svc_unix.c: Likewise.
33600 * sunrpc/svcauth_des.c: Likewise.
33601 * sunrpc/xcrypt.c: Likewise.
33602 * sunrpc/xdr.c: Likewise.
33603 * sunrpc/xdr_array.c: Likewise.
33604 * sunrpc/xdr_float.c: Likewise.
33605 * sunrpc/xdr_intXX_t.c: Likewise.
33606 * sunrpc/xdr_mem.c: Likewise.
33607 * sunrpc/xdr_rec.c: Likewise.
33608 * sunrpc/xdr_ref.c: Likewise.
33609 * sunrpc/xdr_sizeof.c: Likewise.
33610 * sunrpc/xdr_stdio.c: Likewise.
33612 2012-05-10 Roland McGrath <roland@hack.frob.com>
33614 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33615 change. Update copyright years.
33617 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33619 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33621 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33622 Joseph Myers <joseph@codesourcery.com>
33623 Paul Pluzhnikov <ppluzhnikov@google.com>
33626 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33628 [cross-compiling] (extra-libs): Likewise.
33629 [cross-compiling] (extra-libs-others): Likewise.
33630 [cross-compiling] (librpcsvc-routines): Likewise.
33631 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33632 [cross-compiling] (omit-deps): Likewise.
33633 (sunrpc-CPPFLAGS): New variable.
33634 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33635 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33636 (cross-rpcgen-objs): New variable.
33637 (extra-objs): Append $(cross-rpcgen-objs).
33638 ($(cross-rpcgen-objs)): New rule.
33639 ($(objpfx)cross-rpcgen): Likewise.
33640 (rpcgen-cmd): Define to use $(built-program-file). Expand
33642 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33643 ($(objpfx)x%.stmp): Likewise.
33644 * sunrpc/proto.h [IS_IN_build] (_): Define.
33645 [IS_IN_build] (_libc_intl_domainname): Likewise.
33647 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33649 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33650 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33651 and R_X86_64_TPOFF64.
33653 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33655 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33656 sysdeps/unix/sysv/syscalls.list.
33659 * sysdeps/unix/sysv/syscalls.list: Remove file.
33661 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33664 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33665 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33666 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33667 (__LC_IDENTIFICATION): Make these macros useful in #if
33668 expressions, as required by C99.
33670 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33672 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33673 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33676 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33678 * stdlib/longlong.h: Updated from GCC.
33680 2012-05-09 Andreas Jaeger <aj@suse.de>
33682 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33683 default is first entry.
33684 (run_mode): Set type.
33685 (main): Remove informal message about syslog.
33686 (options): Fix typo.
33689 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33692 (llrintf): Likewise.
33693 (llrint): Likewise.
33696 (nearbyint): Likewise.
33697 (nearbyintf): Likewise.
33699 2012-05-09 Andreas Jaeger <aj@suse.de>
33700 Pedro Alves <palves@redhat.com>
33702 * nscd/nscd.c (run_mode): Use enum.
33703 (main): Cleanup coding style issue.
33705 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33706 Andreas Jaeger <aj@suse.de>
33708 * nscd/nscd.c (go_background): Replaced with...
33709 (run_mode): ... this.
33710 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33711 (options): Add -F --foreground.
33712 (main): Implement it.
33713 (parse_opt): Parse it.
33715 2012-05-09 Andreas Jaeger <aj@suse.de>
33718 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33719 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33720 -Wconversion warning.
33721 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33724 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33726 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33728 (LC_ALL): Use macro-int-constant.
33729 (LC_COLLATE): Likewise.
33730 (LC_CTYPE): Likewise.
33731 (LC_MESSAGES): Likewise.
33732 (LC_MONETARY): Likewise.
33733 (LC_NUMERIC): Likewise.
33734 (LC_TIME): Likewise.
33735 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33736 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33737 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33738 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33740 [C99-based standards] (float_t): Expect type.
33741 [C99-based standards] (double_t): Expect type.
33742 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33744 [C99-based standards] (HUGE_VALL): Likewise.
33745 [C99-based standards] (INFINITY): Likewise.
33746 [C99-based standards] (NAN): Likewise.
33747 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33748 [C99-based standards] (FP_NAN): Likewise.
33749 [C99-based standards] (FP_NORMAL): Likewise.
33750 [C99-based standards] (FP_SUBNORMAL): Likewise.
33751 [C99-based standards] (FP_ZERO): Likewise.
33752 [C99-based standards] (FP_FAST_FMA): Use
33753 optional-macro-int-constant. Specify type. Require == 1.
33754 [C99-based standards] (FP_FAST_FMAF): Likewise.
33755 [C99-based standards] (FP_FAST_FMAL): Likewise.
33756 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33757 [C99-based standards] (FP_ILOGBNAN): Likewise.
33758 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33760 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33761 [C99-based standards] (math_errhandling): Specify type.
33762 [ISO99 || ISO11] (signgam): Do not allow.
33763 [non-C99-based standards] (copysignf): Do not allow.
33764 [non-C99-based standards] (exp2f): Likewise.
33765 [non-C99-based standards] (log2f): Likewise.
33766 [non-C99-based standards] (modff): Allow.
33767 [non-C99-based standards] (erff): Do not allow.
33768 [non-C99-based standards] (erfcf): Likewise.
33769 [non-C99-based standards] (gammaf): Likewise.
33770 [non-C99-based standards] (hypotf): Likewise.
33771 [non-C99-based standards] (j0f): Likewise.
33772 [non-C99-based standards] (j1f): Likewise.
33773 [non-C99-based standards] (jnf): Likewise.
33774 [non-C99-based standards] (lgammaf): Likewise.
33775 [non-C99-based standards] (tgammaf): Likewise.
33776 [non-C99-based standards] (y0f): Likewise.
33777 [non-C99-based standards] (y1f): Likewise.
33778 [non-C99-based standards] (ynf): Likewise.
33779 [non-C99-based standards] (isnanf): Likewise.
33780 [non-C99-based standards] (acoshf): Likewise.
33781 [non-C99-based standards] (asinhf): Likewise.
33782 [non-C99-based standards] (atanhf): Likewise.
33783 [non-C99-based standards] (cbrtf): Likewise.
33784 [non-C99-based standards] (expm1f): Likewise.
33785 [non-C99-based standards] (ilogbf): Likewise.
33786 [non-C99-based standards] (log1pf): Likewise.
33787 [non-C99-based standards] (logbf): Likewise.
33788 [non-C99-based standards] (nextafterf): Likewise.
33789 [non-C99-based standards] (remainderf): Likewise.
33790 [non-C99-based standards] (rintf): Likewise.
33791 [non-C99-based standards] (scalbf): Likewise.
33792 [non-C99-based standards] (copysignl): Likewise.
33793 [non-C99-based standards] (exp2l): Likewise.
33794 [non-C99-based standards] (log2l): Likewise.
33795 [non-C99-based standards] (modfl): Allow.
33796 [non-C99-based standards] (erfl): Do not allow.
33797 [non-C99-based standards] (erfcl): Likewise.
33798 [non-C99-based standards] (gammal): Likewise.
33799 [non-C99-based standards] (hypotl): Likewise.
33800 [non-C99-based standards] (j0l): Likewise.
33801 [non-C99-based standards] (j1l): Likewise.
33802 [non-C99-based standards] (jnl): Likewise.
33803 [non-C99-based standards] (lgammal): Likewise.
33804 [non-C99-based standards] (tgammal): Likewise.
33805 [non-C99-based standards] (y0l): Likewise.
33806 [non-C99-based standards] (y1l): Likewise.
33807 [non-C99-based standards] (ynl): Likewise.
33808 [non-C99-based standards] (isnanl): Likewise.
33809 [non-C99-based standards] (acoshl): Likewise.
33810 [non-C99-based standards] (asinhl): Likewise.
33811 [non-C99-based standards] (atanhl): Likewise.
33812 [non-C99-based standards] (cbrtl): Likewise.
33813 [non-C99-based standards] (expm1l): Likewise.
33814 [non-C99-based standards] (ilogbl): Likewise.
33815 [non-C99-based standards] (log1pl): Likewise.
33816 [non-C99-based standards] (logbl): Likewise.
33817 [non-C99-based standards] (nextafterl): Likewise.
33818 [non-C99-based standards] (remainderl): Likewise.
33819 [non-C99-based standards] (rintl): Likewise.
33820 [non-C99-based standards] (scalbl): Likewise.
33821 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33822 [non-C99-based standards] (FP_*): Do not allow.
33823 [C99-based standards] (FP_*): Change to
33824 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33825 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33827 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33828 (SIG_ERR): Likewise.
33829 [X/Open-based standards] (SIG_HOLD): Likewise.
33830 (SIG_IGN): Likewise.
33831 (SIGABRT): Use macro-int-constant. Specify type. Require
33833 (SIGFPE): Likewise.
33834 (SIGILL): Likewise.
33835 (SIGINT): Likewise.
33836 (SIGSEGV): Likewise.
33837 (SIGTER): Likewise.
33838 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33839 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33840 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33841 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33842 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33843 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33844 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33845 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33846 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33847 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33848 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33849 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33850 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33851 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33852 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33853 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33854 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33855 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33856 [X/Open-based standards] (SIGTRAP): Likewise.
33857 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33858 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33859 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33860 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33861 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33864 2012-05-08 Ian Wienand <ianw@vmware.com>
33867 * time/tzset.c (__tzset_parse_tz): Update default rules for
33868 daylight time changes in the Energy Policy Act of 2005.
33870 2012-05-09 Andreas Jaeger <aj@suse.de>
33873 * elf/ldconfig.c (parse_conf): Change string to make clear that
33874 ldconfig only issued a warning if ld.so.conf does not exist.
33876 2012-05-08 David S. Miller <davem@davemloft.net>
33878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33879 movxtod instead of popping the value on the stack.
33881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33883 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33885 * config.h.in: Add HAVE_ARM_PCS_VFP.
33887 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33890 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33891 checking but the checks are disabled for any reason.
33893 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33895 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33896 and ELF64_R_TYPE with ELFW(R_TYPE).
33898 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33900 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33901 (ulimit): Likewise.
33903 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33904 (settimeofday): Likewise.
33906 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33908 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33909 a struct th_u2 inside the union, and move tu_block/tu_code into
33910 a new th_u3 union of tu_block/tu_code inside of that. Move
33911 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33912 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33913 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33914 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33915 (th_stuff): Change to th_u1.tu_stuff.
33917 (th_msg): Change to th_u1.th_u2.tu_data.
33919 2012-05-07 David S. Miller <davem@davemloft.net>
33921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33924 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33925 (SETUP_PIC_REG): Use it.
33926 (SETUP_PIC_REG_LEAF): Use it.
33928 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33932 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33934 (EXPL_FINITE): Likewise.
33935 (FLDLOG): Likewise.
33936 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33937 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33939 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33941 (EXPL_FINITE): Likewise.
33942 (FLDLOG): Likewise.
33943 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33944 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33946 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33947 test of -max_value argument for long double.
33948 * sysdeps/i386/fpu/libm-test-ulps: Update.
33949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33951 2012-05-06 David S. Miller <davem@davemloft.net>
33953 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33954 quad soft-float symbols whose references which are compiler
33956 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33958 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33962 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33964 (EXPL_FINITE): Likewise.
33965 (FLDLOG): Likewise.
33968 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33969 Adjust comments for base varying.
33970 (__expl_finite): Change alias to EXPL_FINITE.
33971 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33973 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33974 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33975 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33976 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33977 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33979 (EXPL_FINITE): Likewise.
33980 (FLDLOG): Likewise.
33983 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33984 Adjust comments for base varying.
33985 (__expl_finite): Change alias to EXPL_FINITE.
33986 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33991 * math/libm-test.inc (check_float_internal): Correct ulp
33992 calculation for subnormal expected results.
33994 2012-05-06 Andreas Jaeger <aj@suse.de>
33996 * Makeconfig (+math-flags): New, set to -frounding-math.
33997 (+cflags): Add +math-flags so that all of glibc gets compiled with
34000 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34002 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34004 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34010 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34011 (__ieee754_expl): Allow for and saturate large arguments.
34012 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34013 (u_threshold): Likewise.
34014 (__exp): Call __ieee754_exp before checking for overflow and
34016 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34017 (u_threshold): Likewise.
34018 (__expf): Call __ieee754_expf before checking for overflow and
34020 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34021 (u_threshold): Likewise.
34022 (__expl): Call __ieee754_expl before checking for overflow and
34024 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34025 (__ieee754_expl): Allow for and saturate large arguments.
34026 * math/libm-test.inc (exp_test): Add another test. Do not allow
34027 missing overflow exception on overflow.
34028 (expm1_test): Do not allow missing overflow exception on overflow.
34030 * sysdeps/i386/fpu/e_expl.c: Move to ...
34031 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34032 rather than using inline asm.
34033 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34034 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34035 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34037 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34040 (signal): Likewise.
34044 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34046 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34047 sysdeps/unix/common/syscalls.list.
34048 (fchmod): Likewise.
34049 (fchown): Likewise.
34050 (ftruncate): Likewise.
34051 (getrusage): Likewise.
34052 (gettimeofday): Likewise.
34053 (setpgid): Likewise.
34054 (setregid): Likewise.
34055 (setreuid): Likewise.
34056 (sigaction): Likewise.
34057 (truncate): Likewise.
34058 (vhangup): Likewise.
34059 * sysdeps/unix/common/syscalls.list: Remove file.
34060 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34061 * sysdeps/unix/sysv/linux/Implies: Likewise.
34063 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34065 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34067 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34071 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34074 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34077 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34080 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34083 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34086 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34089 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34093 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34097 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34100 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34104 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34108 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34110 * sysdeps/unix/common/bits/dirent.h: Remove file.
34111 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34113 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34114 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34115 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34116 * sysdeps/unix/bsd/isatty.c: Likewise.
34117 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34118 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34119 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34121 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34125 long double comparison inaccuracies.
34126 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34129 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34131 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34134 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34137 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34138 nonzero digits before rounding a hex value.
34139 * stdlib/tst-strtod.c (tests): Add another test.
34141 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34143 * sysdeps/s390/fpu/libm-test-ulps: Update.
34145 2012-05-03 Andreas Jaeger <aj@suse.de>
34147 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34148 does not get optimized out.
34149 (malloc_opt_barrier): New.
34151 2012-05-03 Andreas Jaeger <aj@suse.de>
34152 Roland McGrath <roland@hack.frob.com>
34154 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34155 intermediate file deletion.
34156 (generated): Add .symlist files.
34158 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34161 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34162 Redirect under this condition.
34163 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34164 [__USE_GNU] (__dprintf_chk): Not under this condition.
34165 [__USE_GNU] (__vdprintf_chk): Likewise.
34166 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34167 under this condition.
34168 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34169 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34170 [__USE_XOPEN2K8] (vdprintf): Likewise.
34171 [__USE_GNU] (__dprintf_chk): Not under this condition.
34172 [__USE_GNU] (__vdprintf_chk): Likewise.
34173 [__USE_GNU] (dprintf): Likewise.
34174 [__USE_GNU] (vdprintf): Likewise.
34176 2012-05-03 Roland McGrath <roland@hack.frob.com>
34178 * elf/Makefile (common-generated): Set this instead of generated for
34179 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34180 $(all-built-dso)-derived lists.
34182 2012-05-03 Andreas Jaeger <aj@suse.de>
34184 * sysdeps/i386/fpu/libm-test-ulps: Update.
34187 * FAQ.in: Likewise.
34188 * scripts/gen-FAQ.pl: Likewise.
34189 * manual/install.texi (Installation): Point to online location of
34191 * Makefile (files-for-dist): Remove FAQ.
34194 2012-05-02 Allan McRae <allan@archlinux.org>
34196 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34197 (LDFLAGS-reldepmod5.so): Likewise.
34198 (LDFLAGS-reldep6mod1.so): Likewise.
34199 (LDFLAGS-reldep6mod4.so): Likewise.
34200 (LDFLAGS-reldep8mod3.so): Likewise.
34201 (LDFLAGS-unload4mod1.so): Likewise.
34202 (LDFLAGS-unload4mod2.so): Likewise.
34203 (LDFLAGS-tst-initorder): Likewise.
34204 (LDFLAGS-tst-initordera2.so): Likewise.
34205 (LDFLAGS-tst-initordera3.so): Likewise.
34206 (LDFLAGS-tst-initordera4.so): Likewise.
34207 (LDFLAGS-tst-initorderb2.so): Likewise.
34208 (LDFLAGS-noload): Likewise.
34209 (LDFLAGS-next): Likewise.
34210 (LDFLAGS-order2mod1.so): Likewise.
34211 (LDFLAGS-order2mod2.so): Likewise.
34212 (LDFLAGS-tst-initorder2): Likewise.
34213 (LDFLAGS-tst-initorder2a.so): Likewise.
34214 (LDFLAGS-tst-initorder2b.so): Likewise.
34215 (LDFLAGS-tst-initorder2c.so): Likewise.
34216 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34218 2012-05-02 David S. Miller <davem@davemloft.net>
34220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34222 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34225 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34227 2012-05-02 Andreas Jaeger <aj@suse.de>
34229 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34230 since we manipulate rounding mode.
34231 (CPPFLAGS-test-idouble.c): Likewise.
34232 (CPPFLAGS-test-ifloat.c): Likewise.
34233 (CFLAGS-test-ldouble.c): Likewise.
34234 (CFLAGS-test-double.c): Likewise.
34235 (CFLAGS-test-float.c): Likewise.
34236 (CFLAGS-test-misc.c): Likewise.
34237 (CFLAGS-test-test-fenv.c): Likewise.
34239 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34243 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34244 comparisons to determine direction to adjust input.
34246 2012-05-01 Roland McGrath <roland@hack.frob.com>
34248 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34249 output to the target.
34251 * scripts/localplt.awk: New file.
34252 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34253 (check-localplt-CFLAGS): Variable removed.
34254 ($(all-built-dso:=.jmprel)): New static pattern rule.
34255 (generated): Add those targets.
34256 (localplt-built-dso): New variable.
34257 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34259 * elf/check-localplt.c: File removed.
34261 * scripts/check-execstack.awk: New file.
34262 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34263 (check-execstack-CFLAGS): Variable removed.
34264 ($(objpfx)check-execstack.h): Target removed.
34265 ($(objpfx)execstack-default): New target.
34266 (generated): Add that instead of check-execstack.h.
34267 ($(all-built-dso:=.phdr)): New static pattern rule.
34268 (generated): Add those targets.
34269 * elf/check-execstack.c: File removed.
34271 * scripts/check-textrel.awk: New file.
34272 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34273 (check-textrel-CFLAGS): Variable removed.
34274 (all-built-dso): Use := to define.o
34275 ($(all-built-dso:=.dyn)): New static pattern rule.
34276 (generated): Add those targets.
34277 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34278 * config.make.in (READELF): New substituted variable.
34279 * elf/check-textrel.c: File removed.
34281 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34283 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34285 * conform/data/ctype.h-data [C99-based standards] (isblank):
34287 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34288 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34290 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34291 Specify type. Require positive value.
34292 (EILSEQ): Likewise.
34293 (ERANGE): Likewise.
34294 [ISO || POSIX] (EILSEQ): Do not expect.
34295 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34296 Specify type. Require positive value.
34297 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34298 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34299 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34300 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34301 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34302 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34303 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34304 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34305 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34306 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34307 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34308 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34309 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34310 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34311 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34312 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34313 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34314 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34315 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34316 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34317 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34318 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34319 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34320 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34321 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34322 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34323 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34324 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34325 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34326 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34327 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34328 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34329 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34330 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34331 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34332 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34333 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34334 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34335 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34336 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34337 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34338 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34339 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34340 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34341 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34342 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34343 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34344 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34345 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34346 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34347 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34348 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34349 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34350 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34351 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34352 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34353 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34354 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34355 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34356 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34357 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34358 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34359 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34360 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34361 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34362 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34363 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34364 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34365 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34366 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34367 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34368 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34369 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34370 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34371 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34372 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34373 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34375 (FLT_ROUNDS): Expect as macro, not constant.
34376 (FLT_MANT_DIG): Use macro-int-constant.
34377 (DBL_MANT_DIG): Likewise.
34378 (LDBL_MANT_DIG): Likewise.
34379 (FLT_DIG): Likewise.
34380 (DBL_DIG): Likewise.
34381 (LDBL_DIG): Likewise.
34382 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34383 (DBL_MIN_EXP): Likewise.
34384 (LDBL_MIN_EXP): Likewise.
34385 (FLT_MAX_EXP): Use macro-int-constant.
34386 (DBL_MAX_EXP): Likewise.
34387 (LDBL_MAX_EXP): Likewise.
34388 (FLT_MAX_10_EXP): Likewise.
34389 (DBL_MAX_10_EXP): Likewise.
34390 (LDBL_MAX_10_EXP): Likewise.
34391 (FLT_MAX): Use macro-constant.
34392 (DBL_MAX): Likewise.
34393 (LDBL_MAX): Likewise.
34394 (FLT_EPSILON): Use macro-constant. Give upper bound.
34395 (DBL_EPSILON): Likewise.
34396 (LDBL_EPSILON): Likewise.
34397 (FLT_MIN): Likewise.
34398 (DBL_MIN): Likewise.
34399 (LDBL_MIN): Likewise.
34400 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34401 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34402 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34403 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34404 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34405 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34406 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34407 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34408 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34409 [ISO11] (FLT_TRUE_MIN): Likewise.
34410 [ISO11] (LDBL_TRUE_MIN): Likewise.
34411 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34412 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34413 (SCHAR_MIN): Use macro-int-constant. Specify type.
34414 (SCHAR_MAX): Likewise.
34415 (UCHAR_MAX): Likewise.
34416 (CHAR_MIN): Likewise.
34417 (CHAR_MAX): Likewise.
34418 (MB_LEN_MAX): Use macro-int-constant.
34419 (SHRT_MIN): Use macro-int-constant. Specify type.
34420 (SHRT_MAX): Likewise.
34421 (USHRT_MAX): Likewise.
34422 (INT_MAX): Likewise.
34423 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34425 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34427 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34429 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34430 bound negative. Suffix upper bound with "L".
34431 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34433 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34435 [C99-based standards] (LLONG_MAX): Likewise.
34436 [C99-based standards] (ULLONG_MAX): Likewise.
34437 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34439 [ISO11] (max_align_t): Require type.
34440 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34442 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34443 from $CFLAGS, without defining away __attribute__ calls.
34444 (checknamespace): Use $CFLAGS_namespace.
34446 * conform/conformtest.pl (@keywords): Only include C99 keywords
34447 for standards based on C99 or C11.
34449 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34451 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34454 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34455 usability of symbols in #if.
34457 * conform/conformtest.pl: If macro or constant types start
34458 "promoted:", expect the symbol to be of the following type
34459 promoted by the integer promotions.
34461 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34462 in one place. Also handle "macro-constant".
34464 * conform/conformtest.pl: Only accept expected macro values with
34465 "==". Parse all "macro" lines in one place.
34466 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34468 * conform/conformtest.pl: Handle braced types on "constant" lines
34469 instead of handling "typed-constant".
34470 * conform/data/signal.h-data: Use "constant" instead of
34473 * conform/conformtest.pl: Handle "optional-" at start of lines in
34474 one place rather than duplicating several cases. Handle each
34475 format of "macro" line with initial "optional-".
34477 * conform/conformtest.pl: Only accept expected constant or
34478 optional-constant values with "==". Parse all "constant" lines in
34479 one place. Parse all "optional-constant" lines in one place.
34480 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34481 * conform/data/fmtmsg.h-data: Likewise.
34482 * conform/data/netinet/in.h-data: Likewise.
34483 * conform/data/tar.h-data: Likewise.
34484 * conform/data/limits.h-data: Use "==" form on "constant" and
34485 "optional-constant" lines.
34487 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34488 Use -std=c99 for XOPEN2K.
34489 (@knownproblems): Remove.
34490 (newtoken): Don't check %isknown.
34492 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34493 Do not expect macro.
34494 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34495 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34496 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34497 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34498 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34499 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34500 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34501 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34502 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34503 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34504 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34505 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34506 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34507 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34508 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34509 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34510 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34511 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34512 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34513 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34514 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34515 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34516 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34517 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34518 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34519 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34520 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34521 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34522 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34523 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34524 [XPG3] (acosh): Likewise.
34525 [XPG3] (asinh): Likewise.
34526 [XPG3] (atanh): Likewise.
34527 [XPG3] (cbrt): Likewise.
34528 [XPG3] (expm1): Likewise.
34529 [XPG3] (ilogb): Likewise.
34530 [XPG3] (log1p): Likewise.
34531 [XPG3] (logb): Likewise.
34532 [XPG3] (nextafter): Likewise.
34533 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34534 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34535 [XPG3] (remainder): Likewise.
34536 [XPG3] (rint): Likewise.
34537 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34538 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34539 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34540 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34541 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34542 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34543 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34544 [UNIX98 || XOPEN2K] (scalb): Expect.
34545 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34546 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34547 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34548 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34549 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34550 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34551 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34552 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34553 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34554 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34555 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34556 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34557 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34558 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34559 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34560 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34561 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34562 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34563 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34564 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34565 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34566 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34567 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34568 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34569 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34570 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34571 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34572 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34573 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34574 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34575 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34576 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34577 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34578 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34579 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34580 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34581 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34582 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34583 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34584 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34585 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34586 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34587 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34588 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34589 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34590 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34591 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34592 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34593 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34594 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34595 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34596 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34597 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34598 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34599 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34600 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34601 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34602 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34603 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34604 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34605 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34606 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34607 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34608 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34609 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34610 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34611 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34612 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34613 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34614 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34615 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34616 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34617 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34618 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34619 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34620 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34621 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34622 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34623 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34624 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34625 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34626 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34627 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34628 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34629 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34630 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34631 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34632 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34633 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34634 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34635 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34636 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34637 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34638 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34639 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34640 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34641 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34642 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34643 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34644 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34645 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34646 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34647 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34648 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34649 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34650 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34651 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34652 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34653 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34654 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34655 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34656 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34657 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34658 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34659 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34660 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34661 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34662 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34663 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34664 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34665 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34666 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34667 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34668 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34669 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34670 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34671 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34672 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34673 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34674 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34675 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34676 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34677 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34678 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34679 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34680 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34681 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34683 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34684 _XOPEN_SOURCE_EXTENDED for XPG4.
34686 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34688 * Makeconfig (localtime): Remove variable.
34689 (inst_localtime-file): Likewise.
34691 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34712 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34716 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34717 comparisons to determine direction to adjust input.
34718 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34719 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34720 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34724 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34726 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34727 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34729 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34731 * math/libm-test.inc (nexttoward_test): Add more tests.
34733 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34736 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34737 in version GLIBC_2.1, not GLIBC_2.0.
34738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34741 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34744 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34746 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34747 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34748 * math/libm-test.inc (acos_test): Add more tests.
34749 (asin_test): Likewise.
34750 * sysdeps/i386/fpu/libm-test-ulps: Update.
34751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34754 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34756 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34757 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34758 * math/libm-test.inc (acos_test_tonearest): New function.
34759 (acos_test_towardzero): Likewise.
34760 (acos_test_downward): Likewise.
34761 (acos_test_upward): Likewise.
34762 (asin_test_tonearest): Likewise.
34763 (asin_test_towardzero): Likewise.
34764 (asin_test_downward): Likewise.
34765 (asin_test_upward): Likewise.
34766 (main): Call the new functions.
34767 * sysdeps/i386/fpu/libm-test-ulps: Update.
34768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34772 * math/e_exp10.c: Include <float.h>.
34773 (__ieee754_exp10): Handle underflow here rather than multiplying
34774 large negative argument by M_LN10.
34775 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34777 * math/e_exp10l.c: Include <float.h>.
34778 (__ieee754_exp10l): Handle underflow here rather than multiplying
34779 large negative argument by M_LN10l.
34780 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34781 spurious overflow exception on underflow.
34783 2012-04-29 Marek Polacek <polacek@redhat.com>
34785 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34786 (__fortify_function): New macro.
34787 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34788 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34789 __extern_always_inline.
34790 * libio/bits/stdio2.h: Likewise.
34791 * libio/bits/stdio.h: Likewise.
34792 * string/string.h: Likewise.
34793 * string/bits/string3.h: Likewise.
34794 * include/stdio.h: Likewise.
34795 * stdlib/bits/stdlib.h: Likewise.
34796 * stdlib/stdlib.h: Likewise.
34797 * rt/bits/mqueue2.h: Likewise.
34798 * rt/mqueue.h: Likewise.
34799 * posix/bits/unistd.h: Likewise.
34800 * posix/unistd.h: Likewise.
34801 * io/bits/poll2.h: Likewise.
34802 * io/bits/fcntl2.h: Likewise.
34803 * io/fcntl.h: Likewise.
34804 * io/sys/poll.h: Likewise.
34805 * misc/bits/syslog.h: Likewise.
34806 * misc/bits/syslog-ldbl.h: Likewise.
34807 * misc/sys/syslog.h: Likewise.
34808 * socket/bits/socket2.h: Likewise.
34809 * socket/sys/socket.h: Likewise.
34810 * debug/tst-chk1.c: Likewise.
34811 * wcsmbs/bits/wchar2.h: Likewise.
34812 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34813 * wcsmbs/wchar.h: Likewise.
34815 2012-04-29 Andreas Jaeger <aj@suse.de>
34817 * Makerules (tests): Remove enable-check-abi protection.
34818 (check-abi-warn): Remove.
34819 (check-abi-%): Remove check-abi-warn usage.
34821 * configure.in: Remove check-abi configure option.
34822 * configure: Regenerated.
34823 * config.make.in (enable-check-abi): Remove.
34825 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34828 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34829 double functions to double *_finite functions.
34832 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34833 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34835 * stdio-common/Makefile (tests): Add tst-sprintf3.
34836 * stdio-common/tst-sprintf3.c: New file.
34838 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34839 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34841 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34843 * conform/conformtest.pl: Remove duplicate typed-constant
34846 2012-04-28 David S. Miller <davem@davemloft.net>
34848 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34849 (check-abi-%): Remove AWK script prerequisite and explicit
34851 (check-abi): Rewrite to just diff the symlist with the abilist.
34852 (config-tls, config-abi-config): Delete, no longer used.
34853 (update-abi-%): Remove AWK script and explicit abilist directory.
34854 (update-abi): Rewrite to simply compare and conditionally copy the
34855 symlist and the sysdep abilist file. Remove update-abi-config
34857 * abilist/ld.abilist: Remove.
34858 * abilist/libBrokenLocale.abilist: Remove.
34859 * abilist/libanl.abilist: Remove.
34860 * abilist/libcrypt.abilist: Remove.
34861 * abilist/libdl.abilist: Remove.
34862 * abilist/librt.abilist: Remove.
34863 * abilist/libthread_db.abilist: Remove.
34864 * abilist/libutil.abilist: Remove.
34865 * scripts/extract-abilist.awk: Remove.
34866 * scripts/merge-abilist.awk: Remove.
34867 * sysdeps/generic/libcidn.abilist: New file.
34868 * sysdeps/generic/libnss_compat.abilist: New file.
34869 * sysdeps/generic/libnss_db.abilist: New file.
34870 * sysdeps/generic/libnss_dns.abilist: New file.
34871 * sysdeps/generic/libnss_files.abilist: New file.
34872 * sysdeps/generic/libnss_hesiod.abilist: New file.
34873 * sysdeps/generic/libnss_nis.abilist: New file.
34874 * sysdeps/generic/libnss_nisplus.abilist: New file.
34875 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34876 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34877 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34879 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34880 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34881 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34882 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34883 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34884 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34885 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34886 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34887 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34889 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34890 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34891 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34892 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34894 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34895 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34896 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34897 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34898 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34899 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34901 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34902 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34903 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34905 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35008 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35009 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35010 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35012 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35013 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35014 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35015 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35016 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35017 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35018 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35019 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35020 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35021 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35073 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35075 * conform/conformtest.pl: Fix typo in handling typed-constant from
35078 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35080 * README: Cut down references to pre-2.6 Linux kernels and
35081 Linuxthreads. Update lists of configurations in libc and ports
35082 and sort alphabetically. Say "or newer" with Linux kernel version
35085 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35087 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35090 * math/libm-test.inc (logb_test_downward): New test to expose
35091 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35094 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35097 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35099 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35100 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35102 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35104 * sysdeps/unix/i386/brk.S: Remove file.
35105 * sysdeps/unix/i386/dl-brk.S: Likewise.
35106 * sysdeps/unix/i386/pipe.S: Likewise.
35107 * sysdeps/unix/i386/sigreturn.S: Likewise.
35108 * sysdeps/unix/i386/syscall.S: Likewise.
35109 * sysdeps/unix/i386/vfork.S: Likewise.
35110 * sysdeps/unix/i386/wait.S: Likewise.
35112 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35113 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35115 * configure.in (arm*-none*): Do not allow without
35116 --enable-hacker-mode.
35117 (netbsd*): Remove case setting base_os.
35118 (386bsd*): Likewise.
35119 (freebsd*): Likewise.
35122 (sunos*): Likewise.
35123 (ultrix*): Likewise.
35124 (newsos*): Likewise.
35125 (dynix*): Likewise.
35131 (minix*): Likewise.
35132 (irix4*): Likewise.
35133 (irix6*): Likewise.
35134 (solaris[2-9]*): Likewise.
35136 * configure: Regenerated.
35138 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35141 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35142 overflow or cancellation in calculating denominator.
35143 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35144 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35145 down expression to avoid unexpected rounding in newer GCCs.
35146 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35148 2012-04-26 David S. Miller <davem@davemloft.net>
35150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35151 long-double compat symbols.
35152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35166 2012-04-25 David S. Miller <davem@davemloft.net>
35168 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35169 HWCAP_* values only after the memory barriers have been defined.
35170 (atomic_full_barrier): Define.
35171 (atomic_read_barrier): Define.
35172 (atomic_write_barrier): Define.
35174 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35176 * shlib-versions: Add libgcc_s version information.
35177 * sysdeps/generic/libgcc_s.h: Remove.
35178 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35180 * sysdeps/gnu/unwind-resume.c: Likewise.
35181 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35183 2012-04-25 David S. Miller <davem@davemloft.net>
35185 * sysdeps/unix/sparc/brk.S: Delete.
35186 * sysdeps/unix/sparc/dl-brk.S: Delete.
35187 * sysdeps/unix/sparc/pipe.S: Delete.
35188 * sysdeps/unix/sparc/sysdep.S: Delete.
35189 * sysdeps/unix/sparc/sysdep.h: Delete.
35190 * sysdeps/unix/sparc/vfork.S: Delete.
35191 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35192 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35193 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35194 (ret_ERRVAL, r0, r1, MOVE): Define.
35195 (JUMPTARGET): Remove.
35196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35197 sysdeps/unix/sparc/sysdep.h
35198 (ENTRY, END): Remove.
35199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35201 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35203 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35204 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35207 * timezone/README: Update upstream location and email address for
35209 * timezone/zdump.c: Update from tzcode 2012b.
35210 * timezone/zic.c: Likewise.
35212 * configure.in (libc_cv_as_needed): Remove test.
35213 * configure: Regenerated.
35214 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35215 conditional definition.
35216 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35217 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35218 * config.make.in (have-as-needed): Remove variable.
35220 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35221 Paul Pluzhnikov <ppluzhnikov@google.com>
35223 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35226 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35228 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35229 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35230 * sysdeps/sh/strlen.S: Likewise.
35232 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35234 * sysdeps/unix/fork.S: Remove file.
35235 * sysdeps/unix/i386/fork.S: Likewise.
35236 * sysdeps/unix/sparc/fork.S: Likewise.
35238 * sysdeps/unix/system.c: Remove file.
35239 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35241 * sysdeps/unix/getegid.S: Remove file.
35242 * sysdeps/unix/geteuid.S: Likewise.
35244 2012-04-24 Roland McGrath <roland@hack.frob.com>
35246 * scripts/check-localplt.awk: New file.
35247 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35249 * scripts/data/localplt-generic.data: Add a comment.
35251 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35252 NODE when __dir_mkfile failed.
35253 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35254 Reported by Ludovic Courtès <ludo@gnu.org>.
35256 2012-04-24 Andreas Jaeger <aj@suse.de>
35258 * Makerules (common-clean): Also remove gen-as-const-headers
35261 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35263 * Makerules (native-compile): Do not change working directory for
35264 build. Use $(OUTPUT_OPTION) in command.
35265 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35267 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35270 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35271 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35272 * math/libm-test.inc (floor_test): Add more tests.
35273 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35275 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35277 * sysdeps/unix/getdents.c: Remove file.
35278 * sysdeps/unix/sysv/getdents.c: Likewise.
35279 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35281 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35282 sysdeps/unix/mman/syscalls.list.
35284 (mprotect): Likewise.
35286 (munmap): Likewise.
35287 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35288 * sysdeps/unix/mman/syscalls.list: Remove.
35289 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35291 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35292 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35293 * configure: Regenerated.
35294 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35295 $(libgcc_s_suffix).
35296 * config.make.in (libgcc_s_suffix): Remove variable.
35298 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35300 * sysdeps/unix/sysv/gethostname.c: Move to ...
35301 * sysdeps/posix/gethostname.c: ... here.
35303 * sysdeps/unix/execve.S: Remove file.
35305 * sysdeps/unix/_exit.S: Remove file.
35307 2012-04-23 Andreas Jaeger <aj@suse.de>
35310 * manual/Makefile: Remove make dist support, there's no
35311 need for a stand-alone documentation tar ball.
35312 (TEXI2DVI): Define always, it's not in Makeconfig.
35315 (edition): Removed.
35316 (glibc-doc-$(edition).tar): Removed
35320 (ETAGS): Remove, it's in Makeconfig.
35321 (move-if-change): Remove, it's in Makeconfig.
35323 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35326 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35327 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35328 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35329 (strtod_l, strtof_l, strtold_l): Remove __wur.
35330 It is not necessarily an error to ignore strtol's return value.
35331 One can reliably look at the stored endptr to decide whether
35332 the number had valid syntax.
35334 2012-04-21 Andreas Jaeger <aj@suse.de>
35337 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35339 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35341 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35342 * sysdeps/unix/sysv/Versions: Remove file.
35344 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35349 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35352 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35353 version from __vm86.
35355 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35357 * sysdeps/unix/common/lxstat.c: Remove file.
35358 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35360 * sysdeps/unix/sysv/Makefile: Remove file.
35362 * sysdeps/unix/sysv/direct.h: Remove file.
35364 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35365 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35366 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35367 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35368 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35369 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35370 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35372 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35374 * sysdeps/unix/xmknod.c: Remove file.
35375 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35377 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35379 * sysdeps/unix/sysv/i386/time.S: Remove file.
35381 * sysdeps/unix/fxstat.c: Remove file.
35382 * sysdeps/unix/xstat.c: Likewise.
35383 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35385 * sysdeps/unix/sysv/sigaction.c: Remove file.
35387 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35388 (sysdep_headers): Remove variable.
35389 [termio.h not in sysdep_headers] (generated): Likewise.
35390 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35391 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35392 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35393 * sysdeps/unix/sysv/tcflow.c: Likewise.
35394 * sysdeps/unix/sysv/tcflush.c: Likewise.
35395 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35396 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35397 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35398 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35399 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35401 * sysdeps/unix/siglist.c: Remove file.
35403 * sysdeps/unix/getppid.S: Remove file.
35405 * sysdeps/unix/mkdir.c: Remove file.
35406 * sysdeps/unix/rmdir.c: Likewise.
35408 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35410 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35412 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35413 errlist-compat value.
35415 2012-04-18 David S. Miller <davem@davemloft.net>
35417 * sysdeps/generic/memcopy.h (reg_char): Delete.
35418 * debug/strcat_chk.c: Use char, not reg_char.
35419 * debug/strcpy_chk.c: Likewise.
35420 * debug/strncat_chk.c: Likewise.
35421 * debug/strncpy_chk.c: Likewise.
35422 * string/memchr.c: Likewise.
35423 * string/memrchr.c: Likewise.
35424 * string/rawmemchr.c: Likewise.
35425 * string/strcat.c: Likewise.
35426 * string/strchr.c: Likewise.
35427 * string/strchrnul.c: Likewise.
35428 * string/strcmp.c: Likewise.
35429 * string/strcpy.c: Likewise.
35430 * string/strncat.c: Likewise.
35431 * string/strncmp.c: Likewise.
35432 * string/strncpy.c: Likewise.
35434 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35436 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35437 __builtin_memcopy is called when src and dest ranges are known to not
35440 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35442 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35443 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35444 fwd_align_merge macro call.
35445 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35446 bwd_align_merge macro call.
35447 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35449 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35451 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35452 bwd_align_merge macros.
35453 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35454 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35455 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35457 2012-04-18 David S. Miller <davem@davemloft.net>
35459 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35461 2012-04-18 Andreas Jaeger <aj@suse.de>
35464 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35465 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35466 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35468 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35469 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35470 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35472 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35473 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35474 Adjust for changed ldbl-128 files.
35476 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35477 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35478 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35480 2012-04-17 David S. Miller <davem@davemloft.net>
35482 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35484 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35486 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35487 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35488 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35489 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35490 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35491 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35493 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35496 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35497 * math/libm-test.inc: Add ilogb errno and exception tests.
35498 * math/w_ilogb.c: New file: ilogb wrapper.
35499 * math/w_ilogbf.c: New file: ilogbf wrapper.
35500 * math/w_ilogbl.c: New file: ilogbl wrapper.
35501 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35502 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35503 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35504 exception being thrown with 0.0 as argument.
35505 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35506 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35507 exception being thrown with 0.0 as argument.
35508 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35509 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35510 exception being thrown with 0.0 as argument.
35511 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35512 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35513 exception being thrown with 0.0 as argument.
35514 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35515 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35516 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35517 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35518 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35519 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35520 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35521 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35522 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35524 2012-04-17 Petr Baudis <pasky@ucw.cz>
35526 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35529 2012-04-16 Marek Polacek <polacek@redhat.com>
35531 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35533 2012-04-16 Marek Polacek <polacek@redhat.com>
35535 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35536 operands of fdivp instruction.
35538 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35540 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35541 * elf/tst-auditmod3b.c: Likewise.
35542 * elf/tst-auditmod4b.c: Likewise.
35543 * elf/tst-auditmod5b.c: Likewise.
35544 * elf/tst-auditmod6b.c: Likewise.
35545 * elf/tst-auditmod6c.c: Likewise.
35546 * elf/tst-auditmod7b.c: Likewise.
35547 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35548 * sysdeps/x86_64/preconfigure.in: Likewise.
35549 * sysdeps/x86_64/preconfigure: Regenerated.
35551 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35553 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35556 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35559 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35561 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35564 * locale/iso-639.def: Fix gl language name. Spotted by
35567 2012-04-12 Roland McGrath <roland@hack.frob.com>
35570 * libio/libio.h (__io_write_fn): Update comment.
35572 2012-04-12 Petr Baudis <pasky@ucw.cz>
35575 * stdio.texi (Hook Functions): The user provided writer function
35576 is not allowed to return -1.
35578 2012-04-11 David S. Miller <davem@davemloft.net>
35580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35582 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35584 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35585 Add a leading slash to rtkaio.
35587 2012-04-11 Jim Meyering <meyering@redhat.com>
35590 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35591 It is not necessarily an error to ignore fwrite's return
35592 value. One can reliably use ferror to test for errors after
35595 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35597 * bits/types.h (__snseconds_t): New type.
35598 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35600 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35602 (__SNSECONDS_T_TYPE): Likewise.
35603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35604 (__SNSECONDS_T_TYPE): Likewise.
35605 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35606 (__SNSECONDS_T_TYPE): Likewise.
35608 2012-04-10 Andreas Jaeger <aj@suse.de>
35611 * manual/time.texi (Processor Time): Return type of times is
35612 elapsed real time since an arbitrary point in the past.
35613 (CPU Time): Move CLK_TCK from here...
35614 (Processor Time): ...to here. Correct description.
35615 * manual/conf.texi (Constants for Sysconf): Correct description of
35618 2012-04-10 David S. Miller <davem@davemloft.net>
35621 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35622 where the is a gap between DT_REL(A) and DT_JMPREL.
35624 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35626 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35627 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35628 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35630 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35632 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35633 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35634 (dl_main): Handle --inhibit-cache.
35635 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35637 * elf/dl-load.c (_dl_map_object): Use it.
35638 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35640 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35643 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35644 (__ieee754_powl): Saturate large exponents rather than testing for
35645 overflow of y*log2(x).
35646 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35647 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35651 * math/s_ctan.c: Include <float.h>.
35652 (__ctan): Avoid internal overflow or cancellation in calculating
35654 * math/s_ctanf.c: Likewise.
35655 * math/s_ctanl.c: Likewise.
35656 * math/s_ctanh.c: Likewise.
35657 * math/s_ctanhf.c: Likewise.
35658 * math/s_ctanhl.c: Likewise.
35659 * math/libm-test.inc (ctan_test): Add more tests.
35660 (ctanh_test): Likewise.
35661 * sysdeps/i386/fpu/libm-test-ulps: Update.
35662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35664 2012-04-09 Andreas Jaeger <aj@suse.de>
35667 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35668 is an optional BSD extension.
35671 * manual/stdio.texi (Opening Streams): Document additional fopen
35674 2012-04-09 Roland McGrath <roland@hack.frob.com>
35676 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35677 %eax without telling the compiler.
35679 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35682 * manual/install.texi: Use sourceware.org.
35684 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35687 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35688 (__ieee754_pow): Generate overflow and underflow using huge*huge
35689 and tiny*tiny rather than just returning constant infinity or zero
35690 for large exponents.
35691 * math/libm-test.inc (pow_test): Require overflow exceptions for
35692 applicable cases of large exponents.
35695 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35696 (__ieee754_pow): Use iterative multiplication algorithm only for
35697 integer exponents with absolute value below 1024. Check for odd
35698 integer exponents when using algorithm for real exponents.
35699 * math/libm-test.inc (pow_test): Add more tests.
35700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35702 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35705 * math/libm-test.inc (exp_test): Do not allow overflow exception
35708 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35711 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35712 instead of __kernel_standard_f.
35714 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35716 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35717 * sysdeps/x86_64/memset_chk.S: Likewise.
35719 2012-04-08 Andreas Jaeger <aj@suse.de>
35722 * manual/startup.texi (Environment Access): Describe return value
35723 for putenv and setenv.
35726 * manual/filesys.texi (Directory Entries): Add description for
35730 * manual/filesys.texi (Directory Entries): Clarify that it's file
35731 system not operating system in the description of DT_UNKNOWN.
35734 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35736 2012-04-08 Stephen Compall <s11@member.fsf.org>
35739 * manual/llio.texi (Opening and Closing Files): Add cross
35740 reference to explain mode argument.
35742 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35744 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35745 * sysdeps/x86_64/memset_chk.S: Likewise.
35747 2012-04-07 David S. Miller <davem@davemloft.net>
35749 * elf/elf.h (R_SPARC_WDISP10): Define.
35750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35752 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35753 R_SPARC_SIZE64 and R_SPARC_H34.
35755 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35757 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35758 conditions and remove no longer applicable assertion.
35760 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35762 * bits/byteswap.h: Include <features.h>.
35763 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35764 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35766 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35768 * bits/byteswap.h (__bswap_16): Removed.
35769 Include <bits/byteswap-16.h> to get __bswap_16.
35770 * sysdeps/i386/bits/byteswap.h: Likewise.
35771 * sysdeps/s390/bits/byteswap.h: Likewise.
35772 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35773 * bits/byteswap-16.h: New file.
35774 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35775 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35776 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35777 * string/Makefile (headers): Add bits/byteswap-16.h.
35779 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35782 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35784 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35785 * nss/tst-nss-static.c: New.
35787 2012-04-06 Robert Millan <rmh@gnu.org>
35790 * manual/llio.texi (File Position Primitive): lseek
35791 refers to WHENCE when it really means OFFSET.
35793 2012-04-06 Andreas Jaeger <aj@suse.de>
35795 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35796 strncmp declarations.
35798 * abilist/libc.abilist: Add __poll and __ppoll.
35800 2012-04-05 David S. Miller <davem@davemloft.net>
35802 * scripts/check-local-headers.sh: Accept a host triplet in the
35803 path matched by the exclude regexp.
35805 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35807 * sysdeps/powerpc/powerpc32/dl-machine.h
35808 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35809 * sysdeps/s390/s390-32/dl-machine.h
35810 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35811 * sysdeps/sparc/sparc32/dl-machine.h
35812 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35813 * sysdeps/sparc/sparc64/dl-machine.h
35814 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35816 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35818 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35819 undefined symbol errors.
35821 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35824 2012-04-05 Michael Matz <matz@suse.de>
35827 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35829 2012-04-05 Andreas Jaeger <aj@suse.de>
35832 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35835 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35837 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35838 which ROUND is no valid rounding mode.
35840 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35842 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35844 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35846 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35848 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35849 an exception using FPU order intentionally.
35851 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35853 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35854 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35855 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35856 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35858 2012-04-05 Simon Josefsson <simon@josefsson.org>
35861 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35862 EINVAL when BUFLEN is too smal.
35864 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35867 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35868 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35870 2012-04-03 Andreas Jaeger <aj@suse.de>
35873 * manual/setjmp.texi (System V contexts): Fix sentence.
35876 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35877 New macro for this case.
35878 [!__GNUC__] (__bswap_64): New inline function for this case.
35879 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35880 * bits/byteswap.h: Likewise.
35881 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35882 ull, guard with __GLIBC_HAVE_LONG_LONG.
35884 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35885 __GLIBC_HAVE_LONG_LONG.
35887 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35888 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35890 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35893 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35894 inptr and inend, rather than using last_ch.
35896 2012-04-02 David S. Miller <davem@davemloft.net>
35898 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35899 * stdio-common/printf-parse.h (read_int): Change return type to
35900 'int', return -1 on INT_MAX overflow.
35901 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35902 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35903 overflows INT_MAX. Check for overflow of in-format-string precision
35904 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35905 SIZE_MAX not INT_MAX for integer overflow test.
35906 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35907 skip the construct in the format string but do not record anything.
35908 * stdio-common/bug22.c: Adjust to test both width/prevision
35909 INT_MAX overflow as well as total length INT_MAX overflow. Check
35910 explicitly for proper errno values.
35912 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35914 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35916 * string/test-strcmp.c [! WIDE]: Likewise.
35917 * time/tst-mktime2.c: Likewise for INT_MAX.
35918 * string/test-string.h: #include <sys/param.h> for MIN.
35920 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35921 * sysdeps/i386/init-first.c (init): Likewise.
35922 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35923 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35924 * sysdeps/sh/init-first.c (init): Likewise.
35926 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35928 * po/ru.po: Update from translation team.
35929 * po/vi.po: Likewise.
35931 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35933 * resolv/nss_dns/dns-host.c: Merge copyright years.
35935 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35937 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35938 Optimize memcpy with prefetch if
35939 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35940 src, dst pointers have unequal 16 byte alignments.
35942 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35945 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35946 from a CNAME entry and return the minimum ttl for the query.
35947 (gaih_getanswer_slice): Likewise.
35949 2012-03-30 Jeff Law <law@redhat.com>
35951 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35953 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35954 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35956 * resolv/nss_dns/dns-host.c: Update copyright year.
35958 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35960 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35961 requests to save a system call. Fix check that all bytes are sent.
35963 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35964 comments for sendmmsg.
35966 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35969 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35970 with only 1 character between 0x0041 and 0x01b0.
35971 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35972 * wcsmbs/tst-mbsnrtowcs.c: New file.
35974 2012-03-29 David S. Miller <davem@davemloft.net>
35976 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35977 small copies by hand.
35979 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35982 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35983 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35986 2012-03-28 David S. Miller <davem@davemloft.net>
35988 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35989 that branches into memcpy.
35990 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35991 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35992 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35993 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35996 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35997 implementation too.
35998 * sysdeps/sparc/mempcpy.S: New file.
36000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36001 the IFUNC routine in the libc case.
36002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36004 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36005 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36006 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36007 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36008 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36009 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36010 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36011 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36013 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36014 loop to 256 bytes instead of 64 bytes and fix test signedness.
36016 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36017 * sysdeps/sparc/sparc32/Makefile: rather than here...
36018 * sysdeps/sparc/sparc64/Makefile: and here.
36020 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36022 * malloc/mallocbug.c: Avoid warnings about unused variables.
36024 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36027 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36028 in the right place. Discard and retry query if response is
36029 larger than input buffer size.
36031 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36036 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36037 x for large integer exponent.
36038 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36039 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36040 sign of result as needed afterwards.
36041 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36042 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36043 result for underflowing pow the same as for overflow.
36044 (__kernel_standard_l): Handle powl overflow and underflow here
36045 rather than calling __kernel_standard.
36046 * math/libm-test.inc (pow_test): Add more tests.
36061 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36062 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36063 (__kernel_standard_l): New function.
36064 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36066 * math/w_acosl.c (__acosl): Likewise.
36067 * math/w_asinl.c (__asinl): Likewise.
36068 * math/w_atan2l.c (__atan2l): Likewise.
36069 * math/w_atanhl.c (__atanhl): Likewise.
36070 * math/w_coshl.c (__coshl): Likewise.
36071 * math/w_exp10l.c (__exp10l): Likewise.
36072 * math/w_exp2l.c (__exp2l): Likewise.
36073 * math/w_fmodl.c (__fmodl): Likewise.
36074 * math/w_hypotl.c (__hypotl): Likewise.
36075 * math/w_j0l.c (__j0l, __y0l): Likewise.
36076 * math/w_j1l.c (__j1l, __y1l): Likewise.
36077 * math/w_jnl.c (__jnl, __ynl): Likewise.
36078 * math/w_lgammal.c (__lgammal): Likewise.
36079 * math/w_log10l.c (__log10l): Likewise.
36080 * math/w_log2l.c (__log2l): Likewise.
36081 * math/w_logl.c (__logl): Likewise.
36082 * math/w_powl.c (__powl): Likewise.
36083 * math/w_remainderl.c (__remainderl): Likewise.
36084 * math/w_scalbl.c (sysv_scalbl): Likewise.
36085 * math/w_sinhl.c (__sinhl): Likewise.
36086 * math/w_sqrtl.c (__sqrtl): Likewise.
36087 * math/w_tgammal.c (__tgammal): Likewise.
36088 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36089 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36090 * math/libm-test.inc (acos_test): Add more tests.
36091 (acosh_test): Likewise.
36092 (asin_test): Likewise.
36093 (atanh_test): Likewise.
36094 (exp_test): Likewise.
36095 (exp10_test): Likewise.
36096 (exp2_test): Likewise.
36097 (expm1_test): Likewise.
36098 (lgamma_test): Likewise.
36099 (log_test): Likewise.
36100 (log10_test): Likewise.
36101 (log1p_test): Likewise.
36102 (log2_test): Likewise.
36103 (pow_test): Do not allow some spurious overflow exceptions.
36104 (sqrt_test): Add more tests.
36105 (tgamma_test): Likewise.
36106 (y0_test): Likewise.
36107 (y1_test): Likewise.
36108 (yn_test): Likewise.
36110 2012-03-27 Anton Blanchard <anton@samba.org>
36112 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36114 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36115 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36116 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36118 2012-03-27 David S. Miller <davem@davemloft.net>
36120 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36122 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36123 have-as-vis3 check.
36125 2012-03-27 Andreas Jaeger <aj@suse.de>
36127 * sysdeps/x86_64/elf/configure.in: Moved to ...
36128 * sysdeps/x86_64/configure.in: ... here.
36129 * sysdeps/x86_64/elf/start.S: Moved to ...
36130 * sysdeps/x86_64/start.S: ... here.
36131 * sysdeps/x86_64/elf/configure: Delete.
36133 * sysdeps/x86_64/configure.in: Merge contents from
36134 sysdeps/i386/configure.in (without i686 check).
36136 * sysdeps/i386/elf/Versions: Merge into ...
36137 * sysdeps/i386/Versions: ... this.
36138 * sysdeps/i386/elf/Versions: Delete file.
36139 * sysdeps/i386/elf/start.S: Moved to ...
36140 * sysdeps/i386/start.S: ...here.
36141 * sysdeps/i386/elf/configure.in: Merge into...
36142 * sysdeps/i386/configure.in: ...here.
36143 * sysdeps/i386/elf/configure.in: Delete file.
36144 * sysdeps/i386/elf/configure: Delete file.
36146 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36147 * debug/backtracesyms.c: ... here.
36148 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36149 * debug/backtracesymsfd.c: ... here.
36150 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36151 * sysdeps/generic/ifunc-sel.h: ... here.
36153 * sysdeps/unix/i386/start.c: Delete file.
36154 * sysdeps/unix/sparc/start.c: Delete file.
36155 * sysdeps/unix/start.c: Delete file.
36157 * sysdeps/sh/elf/configure.in: Moved to ...
36158 * sysdeps/sh/configure.in: ... here.
36159 * sysdeps/sh/elf/start.S: Moved to ...
36160 * sysdeps/sh/start.S: ... here.
36161 * sysdeps/sh/elf/configure: Delete file.
36163 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36164 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36165 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36166 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36167 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36168 * sysdeps/powerpc/powerpc64/start.S: here.
36169 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36170 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36171 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36172 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36173 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36175 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36176 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36177 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36178 * sysdeps/powerpc/powerpc32/start.S: ... here.
36179 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36180 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36181 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36183 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36184 * sysdeps/powerpc/ifunc-sel.h: ... here.
36185 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36186 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36188 * sysdeps/sparc/elf/configure.in: Moved to ...
36189 * sysdeps/sparc/configure.in: ... here.
36190 * sysdeps/sparc/elf/configure: Delete file.
36191 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36192 * sysdeps/sparc/sparc32/start.S: ... here.
36193 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36194 * sysdeps/sparc/sparc64/start.S: ... here.
36195 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36196 * sysdeps/sparc/sparc32/Makefile: ... this.
36197 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36198 * sysdeps/sparc/sparc64/Makefile: ... this.
36200 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36201 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36202 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36203 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36204 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36205 * sysdeps/s390/s390-32/setjmp.S: ... here.
36206 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36207 * sysdeps/s390/s390-32/configure.in: ... here.
36208 * sysdeps/s390/s390-32/elf/configure: Delete file.
36209 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36210 * sysdeps/s390/s390-32/start.S: ... here.
36212 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36213 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36214 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36215 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36216 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36217 * sysdeps/s390/s390-64/setjmp.S: ... here.
36218 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36219 * sysdeps/s390/s390-64/configure.in: ... here
36220 * sysdeps/s390/s390-64/elf/configure: Delete file.
36221 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36222 * sysdeps/s390/s390-64/start.S: ... here.
36223 * sysdeps/s390/s390-64/elf/configure: Delete.
36225 * configure.in: Remove support for elf directories in sysdeps.
36227 * configure: Regenerated.
36228 * sysdeps/i386/configure: Regenerated.
36229 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36230 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36231 * sysdeps/s390/s390-32/configure: Regenerated.
36232 * sysdeps/s390/s390-64/configure: Regenerated.
36233 * sysdeps/sh/configure: Regenerated.
36234 * sysdeps/sparc/configure: Regenerated.
36235 * sysdeps/x86_64/configure: Regenerated.
36237 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36241 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36242 denormal result into account.
36244 2012-03-25 Roland McGrath <roland@hack.frob.com>
36246 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36247 Reported by Allan McRae <allan@archlinux.org>.
36249 2012-03-23 Jeff Law <law@redhat.com>
36251 * nss/getnssent.c (__nss_getent): Fix typo.
36253 2012-03-23 David S. Miller <davem@davemloft.net>
36255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36257 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36259 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36260 to pad to uint64_t for each field.
36261 (dl_tls_index): Replace unsigned long with uint64_t.
36263 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36264 Paul Pluzhnikov <ppluzhnikov@google.com>
36267 * grp/Makefile (otherlibs): Don't set it.
36268 * inet/Makefile (otherlibs): Likewise.
36269 * login/Makefile (otherlibs): Likewise.
36270 * nscd/Makefile (otherlibs): Likewise.
36271 * posix/Makefile (otherlibs): Likewise.
36272 * pwd/Makefile (otherlibs): Likewise.
36273 * rt/Makefile (otherlibs): Likewise.
36274 * sunrpc/Makefile (otherlibs): Likewise.
36275 * nss/Makefile (otherlibs): Likewise.
36276 Add libnss_files to routines and static-only-routines.
36277 ($(objpfx)getent): Remove rule.
36278 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36279 static-only-routines.
36281 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36284 * math/s_cexp.c: Include <float.h>.
36285 (__cexp): Handle exp result overflowing not necessarily
36286 overflowing both real and imaginary parts of result.
36287 * math/s_cexpf.c: Likewise.
36288 * math/s_cexpl.c: Likewise.
36289 * math/libm-test.inc (cexp_test): Add more tests.
36290 * sysdeps/i386/fpu/libm-test-ulps: Update.
36291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36293 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36295 * include/link.h (ELFW): New macro.
36296 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36297 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36299 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36301 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36304 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36306 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36308 (struct La_x32_retval): Likewise.
36310 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36312 * sysdeps/x86_64/preconfigure.in: New file.
36313 * sysdeps/x86_64/preconfigure: New generated file.
36315 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36318 * math/e_exp2l.c: Include <float.h>.
36319 (__ieee754_exp2l): Handle overflow and underflow cases
36320 separately. Only pass fractional part of argument to
36322 * math/libm-test.inc (exp2_test): Add more tests.
36324 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36325 negating x to take absolute value.
36326 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36328 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36329 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36331 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36332 computing low part if x was negated.
36333 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36335 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36337 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36338 la_x32_gnu_pltexit.
36339 (pltexit): Cast int_retval to ptrdiff_t.
36340 * elf/tst-auditmod3b.c: Likewise.
36341 * elf/tst-auditmod4b.c: Likewise.
36342 * elf/tst-auditmod5b.c: Likewise.
36343 * elf/tst-auditmod6b.c: Likewise.
36344 * elf/tst-auditmod6c.c: Likewise.
36345 * elf/tst-auditmod7b.c: Likewise.
36347 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36348 and x32_gnu_pltexit.
36350 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36351 __ELF_NATIVE_CLASS.
36352 (La_x32_regs): New macro.
36353 (La_x32_retval): Likewise.
36354 (la_x32_gnu_pltenter): New function prototype.
36355 (la_x32_gnu_pltexit): Likewise.
36357 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36364 * configure.in (libc_cv_cc_nofma): Check for option to disable
36365 generation of FMA instructions.
36366 * configure: Regenerate.
36367 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36368 * sysdeps/ieee754/dbl-64/Makefile: New file.
36369 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36370 Remove brandred-fma4.
36371 (CFLAGS-brandred-fma4.c): Remove.
36372 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36373 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36375 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36378 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36380 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36381 LLONG_MAX != LONG_MAX.
36382 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36383 (_fitoa_word): Likewise.
36384 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36385 LLONG_MAX != LONG_MAX.
36386 * stdio-common/_itowa.h: Include <_itoa.h>.
36387 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36388 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36389 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36390 only if not defined.
36391 (_ITOA_WORD_TYPE): Likewise.
36392 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36393 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36395 2012-03-21 David S. Miller <davem@davemloft.net>
36397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36399 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36401 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36402 of x86_64 when setting libc_cv_slibdir, libdir and
36404 * sysdeps/unix/sysv/linux/configure: Regenerated.
36406 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36408 * manual/lang.texi (Old Varargs): Remove section.
36409 (How Variadic): Update menu.
36410 (va_start): Do not mention varargs.h.
36412 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36413 Joseph Myers <joseph@codesourcery.com>
36415 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36417 * configure: Regenerated.
36419 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36421 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36422 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36425 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36428 * Makefile (files-for-dist): Remove NOTES.
36429 (NOTES): Remove rule.
36430 * README: Don't refer to NOTES.
36431 * manual/creature.texi: Don't include macros.texi.
36432 * manual/intro.texi (creature.texi): Remove comment referring to
36435 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36436 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36437 * configure: Regenerated.
36438 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36439 LIBC_TRY_CC_OPTION.
36440 (libc_cv_as_i686): Likewise.
36441 (libc_cv_cc_avx): Likewise.
36442 (libc_cv_cc_sse2avx): Likewise.
36443 (libc_cv_cc_fma4): Likewise.
36444 (libc_cv_cc_novzeroupper): Likewise.
36445 * sysdeps/i386/configure: Regenerated.
36448 * sysdeps/i386/fpu/s_cexp.S: Remove.
36449 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36450 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36451 * math/libm-test.inc (cexp_test): Add more tests.
36452 * sysdeps/i386/fpu/libm-test-ulps: Update.
36453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36455 2012-03-21 Allan McRae <allan@archlinux.org>
36457 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36459 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36462 * math/w_exp2.c: Do not include <float.h>.
36463 (o_threshold, u_threshold): Remove.
36464 (__exp2): Calculate result before checking finiteness and calling
36466 * math/w_exp2f.c: Likewise.
36467 * math/w_exp2l.c: Likewise.
36468 * math/libm-test.inc (exp2_test): Require overflow exception for
36472 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36473 range of signed 64-bit integers before using fistpll. Remove
36474 checks for whether integers fit in mantissa bits.
36475 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36476 the range of signed 32-bit integers before using fistpl. Remove
36477 checks for whether integers fit in mantissa bits.
36478 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36479 (__ieee754_powl): Test for y outside the range of signed 64-bit
36480 integers before using fistpll. Reduce 64-bit values to 63-bit
36482 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36483 divide-by-zero is raised for zero to large negative powers.
36484 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36485 (__ieee754_powl): Test for y outside the range of signed 64-bit
36486 integers before using fistpll. Reduce 64-bit values to 63-bit
36488 * math/libm-test.inc (pow_test): Add more tests.
36490 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36492 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36493 <stdio-common/_itoa.h>.
36494 * debug/segfault.c: Likewise.
36495 * elf/dl-cache.c: Likewise.
36496 * elf/dl-minimal.c: Likewise.
36497 * elf/dl-misc.c: Likewise.
36498 * elf/dl-sysdep.c: Likewise.
36499 * elf/dl-version.c: Likewise.
36500 * elf/rtld.c: Likewise.
36501 * hurd/hurdsock.c: Likewise.
36502 * hurd/lookup-retry.c: Likewise.
36503 * malloc/malloc.c: Likewise.
36504 * malloc/mtrace.c: Likewise.
36505 * nscd/nscd_getgr_r.c: Likewise.
36506 * nscd/nscd_getpw_r.c: Likewise.
36507 * nscd/nscd_getserv_r.c: Likewise.
36508 * posix/getopt_init.c: Likewise.
36509 * posix/wordexp.c: Likewise.
36510 * stdio-common/_itoa.c: Likewise.
36511 * stdio-common/printf_fphex.c: Likewise.
36512 * stdio-common/vfprintf.c: Likewise.
36513 * string/_strerror.c: Likewise.
36514 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36515 * sysdeps/i386/i686/hp-timing.h: Likewise.
36516 * sysdeps/mach/_strerror.c: Likewise.
36517 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36518 * sysdeps/mach/hurd/sethostid.c: Likewise.
36519 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36520 * sysdeps/mach/xpg-strerror.c: Likewise.
36521 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36522 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36523 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36524 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36525 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36526 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36527 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36528 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36529 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36530 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36531 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36532 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36533 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36534 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36535 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36536 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36537 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36538 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36539 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36540 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36541 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36543 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36545 * stdio-common/_itoa.h: Moved to ...
36546 * sysdeps/generic/_itoa.h: Here.
36548 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36550 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36551 instead of "_itoa.h" and "_itowa.h".
36552 * stdio-common/vfprintf.: Likewise.
36554 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36556 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36558 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36559 (__signbit): Likwise.
36560 (llrintf): Likwise.
36563 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36565 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36568 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36570 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36571 OVERFLOW_EXCEPTION_OK.
36572 * math/libm-test.inc ("Philosophy"): Update comment about
36574 (OVERFLOW_EXCEPTION): Define.
36575 (OVERFLOW_EXCEPTION_OK): Likewise.
36576 (INVALID_EXCEPTION_OK): Renumber.
36577 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36578 (IGNORE_ZERO_INF_SIGN): Likewise.
36579 (test_exceptions): Handle FE_OVERFLOW.
36580 (exp10_test): Expect overflow exceptions.
36581 (exp2_test): Likewise.
36582 (expm1_test): Likewise.
36583 (nextafter_test): Likewise.
36584 (pow_test): Likewise.
36585 (scalbn_test): Likewise.
36586 (scalbln_test): Likewise.
36588 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36590 * sysdeps/x86_64/bits/atomic.h
36591 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36593 (atomic_exchange_acq): Likewise.
36594 (__arch_exchange_and_add_body): Likewise.
36595 (__arch_add_body): Likewise.
36596 (atomic_add_negative): Likewise.
36597 (atomic_add_zero): Likewise.
36599 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36601 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36602 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36604 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36606 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36607 Check __x86_64__ instead of __WORDSIZE.
36609 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36611 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36613 2012-03-19 David S. Miller <davem@davemloft.net>
36615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36617 * sysdeps/sparc/fpu/fenv_private.h: New file.
36618 * sysdeps/sparc/fpu/math_private.h: Use it.
36619 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36621 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36622 (libc_feholdexcept_setroundl): Remove.
36623 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36625 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36626 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36628 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36630 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36631 int64_t instead of long int.
36632 (INSERT_WORDS64): Likwise.
36634 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36636 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36637 _Unwind_GetCFA return to _Unwind_Ptr first.
36639 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36642 * math/s_clog.c: Include <float.h>.
36643 (__clog): Scale large or subnormal inputs.
36644 * math/s_clogf.c: Likewise.
36645 * math/s_clogl.c: Likewise.
36646 * math/s_clog10.c: Include <float.h>.
36647 (M_LOG10_2): Define.
36648 (__clog10): Scale large or subnormal inputs.
36649 * math/s_clog10f.c: Likewise.
36650 * math/s_clog10l.c: Likewise.
36651 * math/libm-test.inc (clog_test): Add more tests.
36652 (clog10_test): Likewise.
36653 * sysdeps/i386/fpu/libm-test-ulps: Update.
36654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36657 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36659 * math/libm-test.inc (atan2_test): Add another test.
36661 * Makerules (common-objdir-compile): Remove.
36662 * sysdeps/unix/Makefile (config-generated): Do not add
36663 $(unix-generated) to variable.
36664 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36665 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36667 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36669 [generic bits/local_lim.h] (before-compile): Do not append to
36671 [generic bits/local_lim.h] (common-generated): Likewise.
36672 [generic sys/param.h] (before-compile): Do not append to variable.
36673 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36674 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36675 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36676 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36678 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36679 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36680 [generic sys/param.h] ($(addprefix
36681 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36682 [generic sys/param.h] (common-generated): Do not append to
36684 [generic sys/param.h] (sysdep_headers): Likewise.
36685 [generic bits/errno.h] (before-compile): Do not append to
36687 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36689 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36690 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36691 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36692 [generic bits/errno.h] (common-generated): Do not append to
36694 [generic bits/ioctls.h] (before-compile): Do not append to
36696 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36698 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36699 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36700 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36702 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36703 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36704 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36705 [generic bits/ioctls.h] (common-generated): Do not append to
36707 [generic sys/syscall.h] (syscall.h): Remove variable.
36708 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36710 [generic sys/syscall.h] (before-compile): Do not append to
36712 [generic sys/syscall.h] (common-generated): Likewise.
36713 * sysdeps/unix/errnos-tmpl.c: Remove file.
36714 * sysdeps/unix/errnos.awk: Likewise.
36715 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36716 * sysdeps/unix/ioctls.awk: Likewise.
36717 * sysdeps/unix/mk-local_lim.c: Likewise.
36718 * sysdeps/unix/snarf-ioctls: Likewise.
36720 2012-03-19 Richard Henderson <rth@twiddle.net>
36722 * sysdeps/i386/fpu/fenv_private.h: New file.
36723 * sysdeps/i386/fpu/math_private.h: Use it.
36724 (math_opt_barrier, math_force_eval): Remove.
36725 (libc_feholdexcept_setround_53bit): Remove.
36726 (libc_feupdateenv_53bit): Remove.
36727 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36728 (math_opt_barrier, math_force_eval): Remove.
36729 (libc_feholdexcept): Remove.
36730 (libc_feholdexcept_setround): Remove.
36731 (libc_fetestexcept, libc_fesetenv): Remove.
36732 (libc_feupdateenv_test): Remove.
36733 (libc_feupdateenv, libc_feholdsetround): Remove.
36734 (libc_feresetround): Remove.
36736 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36737 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36739 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36740 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36741 (libc_feupdateenv_testl): New.
36742 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36743 (libc_feupdateenv_testf): New.
36744 (libc_feupdateenv): Use libc_feupdateenv_test.
36745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36746 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36748 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36749 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36750 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36751 (libc_feresetround_noex): New.
36752 (libc_feresetround_noexf): New.
36753 (libc_feresetround_noexl): New.
36754 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36755 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36756 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36757 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36759 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36762 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36763 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36764 SET_RESTORE_ROUND_NOEX.
36765 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36766 SET_RESTORE_ROUND_NOEXF.
36767 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36768 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36769 (libc_feholdsetroundf): New.
36770 (libc_feresetround, libc_feresetroundf): New.
36772 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36773 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36774 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36776 * sysdeps/generic/math_private.h: Include <fenv.h>.
36777 (default_libc_feholdexcept): New.
36778 (default_libc_feholdexcept_setround): New.
36779 (default_libc_fesetenv, default_libc_feupdateenv): New.
36780 (libc_feholdexcept): Only define if undefined.
36781 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36782 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36783 (libc_feholdexcept_setroundl): Likewise.
36784 (libc_feholdexcept_setround_53bit): Likewise.
36785 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36786 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36787 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36788 (libc_feupdateenv_53bit): Likewise.
36789 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36790 (libc_feholdexcept): Convert from macro to inline function.
36791 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36792 (libc_fesetenv, libc_feupdateenv): Likewise.
36794 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36795 not previously defined.
36796 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36797 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36798 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36799 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36800 * sysdeps/ieee754/flt-32/math_private.h: New file.
36801 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36802 math_private.h below SET_FLOAT_WORD.
36803 (__isnan, __isinf_ns, __finite): Remove.
36804 (__isnanf, __isinf_nsf, __finitef): Remove.
36806 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36810 2012-03-17 David S. Miller <davem@davemloft.net>
36813 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36816 2012-03-16 David S. Miller <davem@davemloft.net>
36818 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36822 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36824 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36825 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36826 sysdep_routines when subdir is sysvipc.
36827 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36828 __getshmlba helper.
36830 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36832 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36834 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36837 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36839 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36840 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36841 (__lround): Renamed to ...
36842 (__llround): This. Replace long int with long long int.
36843 Define lround functions as aliases of llround functions.
36844 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36846 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36848 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36849 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36850 adresses to uintptr_t. Replace "long int" and "unsigned long
36851 int" with "greg_t" on va_arg.
36853 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36855 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36856 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36858 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36859 Move e_machine check before EI_CLASS check. Handle x32
36860 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36861 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36862 SKIP_EM_IA_64 and include
36863 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36865 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36866 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36867 (add_system_dir): New macro.
36869 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36870 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36872 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36883 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36885 * math/w_j0f.c (j0f): Likewise.
36887 * math/w_j0l.c (__j0l): Likewise.
36889 * math/w_j1.c (j1): Likewise.
36891 * math/w_j1f.c (j1f): Likewise.
36893 * math/w_j1l.c (__j1l): Likewise.
36895 * math/w_jn.c (jn): Likewise.
36897 * math/w_jnf.c (jnf): Likewise.
36899 * math/w_jnl.c (__jnl): Likewise.
36901 * math/libm-test.inc (j0_test): Add more tests.
36902 (j1_test): Likewise.
36903 (jn_test): Likewise. Add trailing semicolon to existing test.
36904 (y0_test): Likewise.
36905 (y1_test): Likewise.
36906 * sysdeps/i386/fpu/libm-test-ulps: Update.
36907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36911 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36912 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36913 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36914 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36915 (__tanl): Set errno for infinite argument.
36916 * sysdeps/i386/fpu/mptan.c: Remove.
36917 * sysdeps/i386/fpu/s_tan.S: Likewise.
36918 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36919 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36920 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36921 * math/libm-test.inc (tan_test): Add more tests and enable more
36922 tests for double and long double.
36923 * sysdeps/i386/fpu/libm-test-ulps: Update.
36924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36926 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36928 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36929 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36931 2012-03-16 Roland McGrath <roland@hack.frob.com>
36933 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36934 * configure.in: Use it for both main tree and add-ons.
36935 * configure: Regenerated.
36937 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36939 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36941 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36943 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36947 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36948 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36949 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36950 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36951 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36953 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36955 != 0 for prec == 2.
36956 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36957 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36958 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36959 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36960 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36961 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36962 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36963 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36964 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36965 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36966 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36967 * math/libm-test.inc (cos_test): Add more tests and enable more
36968 tests for long double.
36969 (sin_test): Likewise.
36970 (sincos_test): Likewise.
36971 * sysdeps/i386/fpu/libm-test-ulps: Update.
36972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36974 2012-03-16 David S. Miller <davem@davemloft.net>
36976 * sysdeps/sparc/fpu/math_private.h: New file.
36978 2012-03-15 David S. Miller <davem@davemloft.net>
36980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36994 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36995 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36997 * sysdeps/sparc/sparc-ifunc.h: New file.
36998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37024 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37025 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37040 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37041 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37043 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37045 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37049 2012-03-15 Andreas Jaeger <aj@suse.de>
37052 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37053 ieee754/flt-32 implementation for sin, cos and sincos.
37054 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37055 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37056 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37057 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37058 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37059 ieee754/flt-32 implementation for tan.
37061 * math/libm-test.inc (cos_test): Enable some large input tests for
37063 (sin_test): Likewise.
37064 (sincos_test): Likewise.
37065 (tan_test): Add tests for large input.
37067 * sysdeps/i386/fpu/libm-test-ulps: Update.
37069 2012-03-15 Andreas Jaeger <aj@suse.de>
37072 * math/libm-test.inc (cos_test): Add more test cases.
37073 (sin_test): Likewise.
37074 (sincos_test): Likewise.
37076 2012-03-15 Andreas Jaeger <aj@suse.de>
37079 * math/libm-test.inc (cos_test): Add a test case for large input
37081 (sin_test): Likewise.
37082 (sincos_test): Likewise.
37084 2012-03-15 Andreas Jaeger <aj@suse.de>
37085 Joseph Myers <joseph@codesourcery.com>
37088 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37089 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37090 * sysdeps/i386/fpu/branred.c: Likewise.
37091 * sysdeps/i386/fpu/dosincos.c: Likewise.
37092 * sysdeps/i386/fpu/mpa.c: Likewise.
37093 * sysdeps/i386/fpu/s_cos.S: Likewise.
37094 * sysdeps/i386/fpu/s_sin.S: Likewise.
37095 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37096 * sysdeps/i386/fpu/sincos32.c: Likewise.
37098 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37100 (libc_feupdateenv_53bit): Define.
37101 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37103 (libc_feupdateenv_53bit): Define.
37105 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37106 53 bit (without extend i386 double precision).
37108 * math/libm-test.inc (sincos_test): Add tests for large input.
37112 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37114 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37118 2012-03-15 David S. Miller <davem@davemloft.net>
37120 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37121 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37122 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37123 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37148 fmin/fmax sysdep routines.
37149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37151 2012-03-14 David S. Miller <davem@davemloft.net>
37153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37157 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37158 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37173 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37174 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37181 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37225 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37230 * sysdeps/sparc/configure.in: New file.
37231 * sysdeps/sparc/configure: Generate.
37232 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37233 * configure: Regenerate.
37234 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37235 * config.make.in (have-as-vis3): New.
37236 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37237 available use -Av9d instead of -Av9a.
37238 * sysdeps/sparc/sparc64/Makefile: Likewise.
37239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37248 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37249 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37254 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37255 fzeros/fnegs to load 0x80000000 into a float register instead of
37257 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37259 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37263 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37264 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37265 ($(inst_includedir)/bits/syscall.h): Remove rule.
37266 ($(objpfx)bits/syscall.d): Include instead of
37267 $(objpfx)syscall-list.d.
37268 (generated): Change syscall-list.h and syscall-list.d to
37269 bits/syscall.h and bits/syscall.d.
37271 2012-03-14 Roland McGrath <roland@hack.frob.com>
37274 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37276 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37279 * math/s_csqrt.c: Include <float.h>.
37280 (__csqrt): Scale large or subnormal inputs.
37281 * math/s_csqrtf.c: Likewise.
37282 * math/s_csqrtl.c: Likewise.
37283 * math/libm-test.inc (csqrt_test): Add more tests.
37284 * sysdeps/i386/fpu/libm-test-ulps: Update.
37285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37288 * math/libm-test.inc (hypot_test): Add more tests.
37290 2012-03-13 David S. Miller <davem@davemloft.net>
37293 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37294 double-precision for the calculation instead of scaling.
37296 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37298 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37299 manipulate bits before adding and subtracting TWO52[sx].
37300 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37301 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37303 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37305 2012-03-13 David S. Miller <davem@davemloft.net>
37307 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37308 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37310 rtld-global-offsets.h
37311 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37313 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37316 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37318 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37319 'err' in the ifdef scope in which it is actually used.
37321 * nss/nss_db/db-init.c: Include string.h
37323 2012-03-12 David S. Miller <davem@davemloft.net>
37325 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37326 masking out of the most significant byte of random value used.
37327 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37328 Fix coding style in previous change.
37330 * sysdeps/unix/sysv/linux/kernel-features.h
37331 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37332 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37334 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37337 2012-03-11 David S. Miller <davem@davemloft.net>
37339 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37340 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37341 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37342 for 'resultvar' otherwise things get truncated on 64-bit.
37344 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37345 Fix masking out of the most significant byte of random value used.
37347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37349 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37353 2012-03-09 David S. Miller <davem@davemloft.net>
37355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37356 variables with appropriate CPP guards.
37357 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37358 from the frame pointer, not the stack pointer. Correct layout
37359 comments. Fix test on resulting framesize and the management of
37360 the outregs buffer for pltexit. Preserve floating point return
37361 values across _dl_call_pltexit call.
37362 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37363 framesize and the management of the outregs buffer for pltexit.
37364 Preserve floating point return values across _dl_call_pltexit
37366 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37367 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37368 (la_sparc64_gnu_pltexit): New functions.
37369 (print_exit): Fix format string for return register value.
37371 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37373 * sunrpc/Makefile (others): Add rpcgen.
37374 ($(objpfx)rpcgen): Remove special build rule and dependency on
37376 * sunrpc/rpcgen.c: New file.
37378 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37381 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37382 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37383 * sysdeps/i386/crti.S: Likewise.
37384 * sysdeps/i386/crtn.S: Likewise.
37385 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37386 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37387 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37388 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37389 * sysdeps/sh/crti.S: Likewise.
37390 * sysdeps/sh/crtn.S: Likewise.
37391 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37394 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37396 * locale/programs/locfile-kw.gperf: Likewise.
37397 * locale/programs/charmap-kw.h: Regenerated.
37398 * locale/programs/locfile-kw.h: Likewise.
37401 * intl/plural.y: Replace FSF snail mail address with URL.
37402 * intl/plural.c: Regenerated.
37404 2012-03-09 Richard Henderson <rth@twiddle.net>
37406 * include/math_private.h: Remove file.
37407 * math/math_private.h: Move file ...
37408 * sysdeps/generic/math_private.h: ... here.
37410 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37411 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37412 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37414 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37415 and <math_private.h>.
37416 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37417 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37418 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37419 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37420 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37421 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37422 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37423 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37424 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37425 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37427 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37428 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37430 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37431 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37432 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37433 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37434 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37435 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37437 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37438 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37440 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37441 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37442 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37443 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37446 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37447 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37448 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37449 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37450 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37451 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37452 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37453 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37454 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37455 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37456 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37457 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37458 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37459 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37460 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37461 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37462 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37463 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37464 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37465 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37466 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37467 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37468 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37469 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37470 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37471 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37472 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37473 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37474 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37475 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37476 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37477 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37478 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37479 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37480 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37481 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37482 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37483 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37484 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37485 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37486 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37487 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37490 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37491 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37494 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37495 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37496 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37497 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37498 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37499 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37500 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37501 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37503 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37504 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37505 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37506 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37507 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37508 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37509 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37510 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37511 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37512 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37513 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37514 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37515 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37516 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37517 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37518 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37519 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37520 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37521 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37522 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37523 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37524 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37525 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37526 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37527 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37528 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37529 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37530 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37531 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37532 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37533 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37534 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37535 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37536 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37537 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37538 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37539 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37540 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37541 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37542 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37543 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37544 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37545 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37546 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37547 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37548 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37549 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37550 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37551 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37552 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37553 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37554 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37555 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37556 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37557 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37558 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37559 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37560 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37561 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37562 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37563 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37564 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37565 * sysdeps/ieee754/k_standard.c: Likewise.
37566 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37567 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37568 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37569 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37570 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37571 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37572 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37573 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37574 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37575 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37576 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37577 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37578 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37579 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37580 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37581 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37582 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37583 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37584 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37585 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37586 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37587 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37588 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37589 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37590 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37591 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37592 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37593 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37594 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37595 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37596 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37597 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37598 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37599 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37600 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37601 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37602 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37603 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37604 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37605 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37606 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37607 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37608 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37609 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37610 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37611 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37612 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37613 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37614 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37615 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37616 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37617 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37618 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37619 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37620 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37621 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37622 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37623 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37624 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37625 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37626 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37627 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37628 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37632 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37633 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37636 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37638 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37639 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37640 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37641 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37642 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37643 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37644 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37645 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37646 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37647 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37648 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37649 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37650 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37651 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37652 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37653 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37654 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37655 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37656 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37657 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37658 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37659 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37660 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37661 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37662 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37663 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37664 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37665 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37667 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37668 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37669 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37670 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37671 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37672 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37673 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37674 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37675 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37678 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37679 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37680 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37681 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37682 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37683 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37684 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37685 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37686 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37687 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37688 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37689 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37690 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37691 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37692 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37693 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37694 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37697 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37698 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37699 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37700 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37705 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37706 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37708 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37710 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37714 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37715 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37716 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37718 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37719 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37720 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37721 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37724 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37726 * sysdeps/ieee754/s_lib_version.c: Likewise.
37727 * sysdeps/ieee754/s_matherr.c: Likewise.
37728 * sysdeps/ieee754/s_signgam.c: Likewise.
37729 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37730 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37731 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37732 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37733 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37734 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37735 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37736 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37737 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37738 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37739 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37740 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37741 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37742 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37743 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37744 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37745 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37746 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37747 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37748 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37749 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37751 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37753 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37754 * sunrpc/rpc_main.c: Likewise.
37755 * sunrpc/rpc_svcout.c: Likewise.
37757 2012-03-09 David S. Miller <davem@davemloft.net>
37759 * include/math_private.h: New file.
37761 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37763 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37764 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37765 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37766 from <bits/socket_type.h>.
37767 (enum __socket_type): Don't define here.
37768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37770 bits/socket_type.h.
37773 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37774 checking __USE_GNU.
37776 * Makerules ($(inst_includedir)/%.h): New rule.
37777 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37778 (install-others): Remove variable setting.
37779 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37781 2012-03-08 Richard Henderson <rth@twiddle.net>
37783 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37784 from macro to inline function; merge with the
37785 !__LIBC_INTERNAL_MATH_INLINES version.
37786 (__ieee754_sqrtf): Likewise.
37788 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37789 to inline function.
37790 (__rintf, __floor, __floorf): Likewise.
37792 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37793 macro to inline function.
37794 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37796 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37797 not <math/math_private.h>.
37799 2012-03-08 David S. Miller <davem@davemloft.net>
37801 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37803 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37805 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37807 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37809 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37810 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37812 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37814 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37815 be defined individually, they must be defined as a block. Define
37816 S for printing a string instead of hidint the different by using a
37817 macro for adding the 'l'.
37818 * stdio-common/tst-fphex-wide.c: Adjust.
37820 2012-03-07 Marek Polacek <polacek@redhat.com>
37822 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37824 2012-03-08 Marek Polacek <polacek@redhat.com>
37827 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37828 * stdio-common/tst-fphex.c: Define a few macros to make the
37829 test reusable. Use them.
37830 * stdio-common/tst-fphex-wide.c: New file.
37832 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37835 * manual/macros.texi (gnusystems): New macro.
37836 (nongnusystems): Likewise.
37837 (gnulinuxhurdsystems): Likewise.
37838 (gnuhurdsystems): Likewise..
37839 (gnulinuxsystems): Likewise.
37840 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37841 variants of the GNU system, not "GNU system".
37842 * manual/conf.texi: Likewise.
37843 * manual/errno.texi: Likewise. Update example of errno macro
37845 * manual/filesys.texi: Likewise.
37846 (getumask): Document as specific to GNU/Hurd.
37847 * manual/install.texi: Likewise. Reword some references to
37849 * manual/intro.texi: Likewise.
37850 * manual/io.texi: Likewise.
37851 (File Name Portability): Detail which constraints are inapplicable
37852 to all GNU systems and which are only inapplicable to GNU/Hurd.
37853 * manual/job.texi: Likewise.
37854 * manual/llio.texi: Likewise.
37855 (O_NOCTTY): Document as present on GNU/Linux.
37856 * manual/maint.texi: Likewise.
37857 * manual/memory.texi: Likewise.
37858 * manual/pattern.texi: Likewise.
37859 * manual/pipe.texi: Likewise.
37860 * manual/process.texi: Likewise.
37861 * manual/resource.texi: Likewise.
37862 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37864 * manual/setjmp.texi: Likewise.
37865 * manual/signal.texi: Likewise.
37866 * manual/startup.texi: Likewise.
37867 * manual/stdio.texi: Likewise.
37868 * manual/terminal.texi: Likewise.
37869 (ONLCR): Document as POSIX.
37870 (OXTABS): Document availability on GNU/Linux as XTABS.
37871 (ONOEOT): Document availability separately from other bits.
37872 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37873 * manual/time.texi: Likewise.
37874 * manual/users.texi: Likewise.
37875 * INSTALL: Regenerated.
37876 * sysdeps/gnu/errlist.c: Regenerated.
37878 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37879 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37880 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37882 * configure: Regenerated.
37884 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37886 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37887 default includes instead of AC_HEADER_CHECK.
37888 * sysdeps/i386/configure: Regenerated.
37891 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37892 * math/s_cacoshf.c (__cacoshf): Likewise.
37893 * math/s_cacoshl.c (__cacoshl): Likewise.
37894 * math/s_casinh.c (__casinh): Set signs of result from argument.
37895 * math/s_casinhf.c (__casinhf): Likewise.
37896 * math/s_casinhl.c (__casinhl): Likewise.
37897 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37898 (casinh_test): Add more tests.
37899 * sysdeps/i386/fpu/libm-test-ulps: Update.
37900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37902 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37904 * po/zh_TW.po: Update from translation team.
37906 * login/Makefile (distribute): Remove variable.
37907 * catgets/Makefile: Likewise.
37908 * mach/Makefile: Likewise.
37909 * malloc/Makefile: Likewise.
37910 * misc/Makefile: Likewise.
37911 * iconv/Makefile: Likewise.
37912 * nscd/Makefile: Likewise.
37913 * hurd/Makefile: Likewise.
37914 * manual/Makefile: Likewise.
37915 * locale/Makefile: Likewise.
37916 * intl/Makefile: Likewise.
37917 * conform/Makefile: Likewise.
37918 * nss/Makefile: Likewise.
37919 * time/Makefile: Likewise.
37920 * soft-fp/Makefile: Likewise.
37921 * dirent/Makefile: Likewise.
37922 * gmon/Makefile: Likewise.
37923 * po/Makefile: Likewise.
37924 * rt/Makefile: Likewise.
37925 * socket/Makefile: Likewise.
37926 * math/Makefile: Likewise.
37927 * signal/Makefile: Likewise.
37928 * debug/Makefile: Likewise.
37929 * elf/Makefile: Likewise.
37930 * timezone/Makefile: Likewise.
37931 * stdlib/Makefile: Likewise.
37932 * iconvdata/Makefile: Likewise.
37933 * sunrpc/Makefile: Likewise.
37934 * io/Makefile: Likewise.
37935 * argp/Makefile: Likewise.
37936 * inet/Makefile: Likewise.
37937 * hesiod/Makefile: Likewise.
37938 * grp/Makefile: Likewise.
37939 * csu/Makefile: Likewise.
37940 * wctype/Makefile: Likewise.
37941 * crypt/Makefile: Likewise.
37942 * libio/Makefile: Likewise.
37943 * string/Makefile: Likewise.
37944 * nis/Makefile: Likewise.
37945 * resolv/Makefile: Likewise.
37946 * stdio-common/Makefile: Likewise.
37947 * wcsmbs/Makefile: Likewise.
37948 * dlfcn/Makefile: Likewise.
37949 * posix/Makefile: Likewise.
37952 * timezone/Makefile: Don't install timezone files, just the programs
37955 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37957 * nss/databases.def: Add missing gshadow entry.
37959 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37961 2012-03-06 Marek Polacek <polacek@redhat.com>
37964 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37965 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37966 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37967 * stdio-common/tst-long-dbl-fphex.c: New file.
37969 2012-03-06 David S. Miller <davem@davemloft.net>
37971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37972 (set_obp_int): New function.
37973 (get_obp_int): New function.
37974 (__get_clockfreq_via_dev_openprom): Likewise.
37975 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37976 Avoid unused variable warnings on 'val' and use builtin_expect.
37977 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37979 (INLINE_CLONE_SYSCALL): Likewise.
37981 2012-03-05 David S. Miller <davem@davemloft.net>
37983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37985 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37990 only for |x| >= 40.
37991 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37993 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37996 Replace gettimeofday with __vdso_gettimeofday.
37998 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37999 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38000 __vdso_clock_gettime and __vdso_getcpu.
38002 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38003 time with __vdso_time.
38005 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38007 * manual/lang.texi (size_t): Note types to which size_t may be
38008 equivalent with the GNU C Library, but do not describe when
38009 differences between them are significant.
38011 2012-03-05 Andreas Jaeger <aj@suse.de>
38013 * sysdeps/i386/fpu/libm-test-ulps: Update.
38015 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38018 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38019 (__ieee754_pow): Save and restore rounding mode and use
38020 round-to-nearest for main computations.
38021 * math/libm-test.inc (pow_test_tonearest): New function.
38022 (pow_test_towardzero): Likewise.
38023 (pow_test_downward): Likewise.
38024 (pow_test_upward): Likewise.
38025 (main): Call the new functions.
38026 * sysdeps/i386/fpu/libm-test-ulps: Update.
38027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38030 * math/libm-test.inc (cosh_test_tonearest): New function.
38031 (cosh_test_towardzero): Likewise.
38032 (cosh_test_downward): Likewise.
38033 (cosh_test_upward): Likewise.
38034 (sinh_test_tonearest): Likewise.
38035 (sinh_test_towardzero): Likewise.
38036 (sinh_test_downward): Likewise.
38037 (sinh_test_upward): Likewise.
38038 (main): Call the new functions.
38039 * sysdeps/i386/fpu/libm-test-ulps: Update.
38040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38042 2012-03-05 Tom de Vries <tom@codesourcery.com>
38044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38045 default stack guard is set in last bytes.
38046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38048 2012-03-05 Kees Cook <keescook@chromium.org>
38050 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38053 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38054 possibly allocate from heap instead of stack.
38055 * stdio-common/bug-vfprintf-nargs.c: New file.
38056 * stdio-common/Makefile (tests): Add nargs overflow test.
38058 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38062 2012-03-03 Marek Polacek <polacek@redhat.com>
38064 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38065 * math/math_private.h: Likewise.
38066 * stdlib/tst-strtod.c: Likewise.
38067 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38068 * sysdeps/x86_64/bits/atomic.h: Likewise.
38070 2012-03-02 David S. Miller <davem@davemloft.net>
38072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38076 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38077 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38078 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38079 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38081 2012-03-02 Roland McGrath <roland@hack.frob.com>
38084 * manual/examples/README: New file, says the example source files
38085 can be used under GPL>=2.
38086 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38087 line containing just "*/".
38088 * manual/examples/add.c: Add copyright header (GPL>=2).
38089 * manual/examples/argp-ex1.c: Likewise.
38090 * manual/examples/argp-ex2.c: Likewise.
38091 * manual/examples/argp-ex3.c: Likewise.
38092 * manual/examples/argp-ex4.c: Likewise.
38093 * manual/examples/atexit.c: Likewise.
38094 * manual/examples/db.c: Likewise.
38095 * manual/examples/dir.c: Likewise.
38096 * manual/examples/dir2.c: Likewise.
38097 * manual/examples/execinfo.c: Likewise.
38098 * manual/examples/filecli.c: Likewise.
38099 * manual/examples/filesrv.c: Likewise.
38100 * manual/examples/fmtmsgexpl.c: Likewise.
38101 * manual/examples/genpass.c: Likewise.
38102 * manual/examples/inetcli.c: Likewise.
38103 * manual/examples/inetsrv.c: Likewise.
38104 * manual/examples/isockad.c: Likewise.
38105 * manual/examples/longopt.c: Likewise.
38106 * manual/examples/memopen.c: Likewise.
38107 * manual/examples/memstrm.c: Likewise.
38108 * manual/examples/mkfsock.c: Likewise.
38109 * manual/examples/mkisock.c: Likewise.
38110 * manual/examples/mygetpass.c: Likewise.
38111 * manual/examples/pipe.c: Likewise.
38112 * manual/examples/popen.c: Likewise.
38113 * manual/examples/rprintf.c: Likewise.
38114 * manual/examples/search.c: Likewise.
38115 * manual/examples/select.c: Likewise.
38116 * manual/examples/setjmp.c: Likewise.
38117 * manual/examples/sigh1.c: Likewise.
38118 * manual/examples/sigusr.c: Likewise.
38119 * manual/examples/stpcpy.c: Likewise.
38120 * manual/examples/strdupa.c: Likewise.
38121 * manual/examples/strftim.c: Likewise.
38122 * manual/examples/strncat.c: Likewise.
38123 * manual/examples/subopt.c: Likewise.
38124 * manual/examples/swapcontext.c: Likewise.
38125 * manual/examples/termios.c: Likewise.
38126 * manual/examples/testopt.c: Likewise.
38127 * manual/examples/testpass.c: Likewise.
38128 * manual/examples/timeval_subtract.c: Likewise.
38131 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38133 * manual/timeval_subtract.c.texi: ... here, new file.
38135 2012-03-02 David S. Miller <davem@davemloft.net>
38137 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38139 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38142 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38143 (__sin): Save and restore rounding mode and use round-to-nearest
38144 for all computations.
38145 (__cos): Save and restore rounding mode and use round-to-nearest
38146 for all computations.
38147 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38149 (tan): Save and restore rounding mode and use round-to-nearest for
38151 * math/libm-test.inc (cos_test_tonearest): New function.
38152 (cos_test_towardzero): Likewise.
38153 (cos_test_downward): Likewise.
38154 (cos_test_upward): Likewise.
38155 (sin_test_tonearest): Likewise.
38156 (sin_test_towardzero): Likewise.
38157 (sin_test_downward): Likewise.
38158 (sin_test_upward): Likewise.
38159 (tan_test_tonearest): Likewise.
38160 (tan_test_towardzero): Likewise.
38161 (tan_test_downward): Likewise.
38162 (tan_test_upward): Likewise.
38163 (main): Call the new functions.
38164 * sysdeps/i386/fpu/libm-test-ulps: Update.
38165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38168 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38169 small n, then large n, before computing and testing k+n.
38170 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38173 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38175 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38176 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38177 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38178 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38181 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38182 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38183 * math/libm-test.inc (scalbn_test): Add more tests.
38184 (scalbln_test): Likewise.
38186 * manual/filesys.texi (mode_t): Describe constraints on size and
38187 signedness, not exact equivalence to a particular type.
38189 (ino64_t): Likewise.
38191 (nlink_t): Likewise.
38192 (blkcnt_t): Likewise.
38193 (blkcnt64_t): Likewise.
38194 * manual/llio.texi (off_t): Likewise.
38197 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38198 (__ieee754_exp): Save and restore rounding mode and use
38199 round-to-nearest for all computations.
38200 * math/libm-test.inc (exp_test_tonearest): New function.
38201 (exp_test_towardzero): Likewise.
38202 (exp_test_downward): Likewise.
38203 (exp_test_upward): Likewise.
38204 (main): Call the new functions.
38205 * sysdeps/i386/fpu/libm-test-ulps: Update.
38206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38208 2012-03-01 Chris Demetriou <cgd@google.com>
38210 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38211 have predictable order.
38213 2012-03-01 David S. Miller <davem@davemloft.net>
38215 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38217 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38218 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38219 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38220 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38222 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38223 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38224 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38226 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38227 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38228 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38229 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38230 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38234 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38235 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38236 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38238 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38239 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38240 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38241 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38242 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38245 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38246 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38247 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38248 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38249 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38251 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38252 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38254 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38255 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38256 * sysdeps/sparc/elf/configure: Regenerated.
38258 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38260 * configure.in (AS, LD): Require binutils 2.20 or later.
38261 * configure: Regenerated.
38262 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38263 as required minimum version.
38264 * INSTALL: Regenerated.
38268 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38269 before squaring exponent.
38270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38271 bottom long double and 27 bits of top long double before squaring
38273 * math/libm-test.inc (erfc_test): Add more tests.
38274 * sysdeps/i386/fpu/libm-test-ulps: Update.
38275 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38278 2012-03-01 Kai Tietz <ktietz@redhat.com>
38280 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38281 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38282 containing bit-fields.
38283 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38284 * soft-fp/single.h (_FP_UNION_S): Likewise.
38285 * soft-fp/double.h (_FP_UNION_D): Likewise.
38287 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38290 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38291 not include ../strcmp.S.
38292 [USE_AS_STRNCASECMP_L]: Likewise.
38293 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38294 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38295 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38296 (__strncasecmp_l_ia32): Define as alias to
38297 __strncasecmp_l_nonascii.
38300 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38301 * sysdeps/i386/fpu/libm-test-ulps: Update.
38302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38304 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38307 2012-02-29 Jeff Law <law@redhat.com>
38309 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38310 out of bounds read.
38312 2012-02-29 Marek Polacek <polacek@redhat.com>
38315 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38316 * elf/Makefile: Add rules to run tst-unused-dep.out.
38318 2012-02-28 David S. Miller <davem@davemloft.net>
38320 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38321 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38324 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38325 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38327 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38329 * math/libm-test.inc (llround_test): Move one test from
38330 lround_test. Use TEST_f_L in moved test.
38331 (lround_test): Move misplaced test to llround_test. Add testcase
38334 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38336 * sysdeps/x86_64/fpu/e_expf.S: New file.
38337 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38339 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38342 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38343 of remain_len that may cause incomplete multi-byte character and
38345 * posix/bug-regex33.c: New file.
38346 * posix/Makefile (tests): Add bug-regex33.
38348 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38350 * manual/macros.texi: New file.
38351 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38352 * manual/libc.texinfo: Include macros.texi.
38353 * manual/creatute.texi: Likewise.
38354 * manual/install.texi: Likewise.
38355 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38356 @glibcadj{} in references to the GNU C Library.
38357 * manual/charset.texi: Likewise.
38358 * manual/conf.texi: Likewise.
38359 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38360 when not using those macros.
38361 * manual/creature.texi: Likewise.
38362 * manual/crypt.texi: Likewise.
38363 * manual/errno.texi: Likewise.
38364 * manual/filesys.texi: Likewise.
38365 * manual/header.texi: Likewise.
38366 * manual/install.texi: Likewise.
38367 * manual/intro.texi: Likewise.
38368 * manual/io.texi: Likewise.
38369 * manual/job.texi: Likewise.
38370 * manual/lang.texi: Likewise.
38371 * manual/libc.texiinfo: Likewise.
38372 * manual/llio.texi: Likewise.
38373 * manual/locale.texi: Likewise.
38374 * manual/maint.texi: Likewise.
38375 * manual/math.texi: Likewise.
38376 * manual/memory.texi: Likewise.
38377 * manual/message.texi: Likewise.
38378 * manual/nss.texi: Likewise.
38379 * manual/pattern.texi: Likewise.
38380 * manual/process.texi: Likewise.
38381 * manual/resource.texi: Likewise.
38382 * manual/search.texi: Likewise.
38383 * manual/setjmp.texi: Likewise.
38384 * manual/signal.texi: Likewise.
38385 * manual/socket.texi: Likewise.
38386 * manual/startup.texi: Likewise.
38387 * manual/stdio.texi: Likewise.
38388 * manual/string.texi: Likewise.
38389 * manual/sysinfo.texi: Likewise.
38390 * manual/syslog.texi: Likewise.
38391 * manual/terminal.texi: Likewise.
38392 * manual/time.texi: Likewise.
38393 * manual/users.texi: Likewise.
38394 * INSTALL: Regenerated.
38395 * NOTES: Regenerated.
38396 * sysdeps/gnu/errlist.c: Regenerated.
38398 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38400 * include/dirent.h: Include <dirstream.h> before
38403 2012-02-28 David S. Miller <davem@davemloft.net>
38405 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38406 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38407 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38408 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38410 2012-02-27 David S. Miller <davem@davemloft.net>
38412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38414 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38415 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38418 frame pointer instead of stack pointer relative arg slot.
38419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38420 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38421 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38423 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38426 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38428 2012-02-27 David S. Miller <davem@davemloft.net>
38430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38434 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38435 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38436 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38437 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38439 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38441 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38442 later. Allow versions 5-9.
38443 * configure: Regenerated.
38444 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38445 required minimum version and 4.6 as recommended version. Do not
38446 mention bugs in GCC 2.7 and 2.8.
38447 * INSTALL: Regenerated.
38449 2012-02-27 David S. Miller <davem@davemloft.net>
38451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38455 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38456 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38457 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38458 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38460 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38461 manipulate bits before adding and subtracting TWO112[sx].
38462 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38464 2012-02-27 Roland McGrath <roland@hack.frob.com>
38467 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38468 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38469 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38470 being in POSIX, because they are in 1003.1-2008.
38472 * rt/tst-aio.c: Include <fcntl.h>.
38473 * rt/tst-aio7.c: Likewise.
38474 * rt/tst-aio64.c: Likewise.
38476 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38478 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38480 * manual/install.texi (--with-headers): Describe headers as
38481 interface headers, not private headers.
38482 (Specific advice for GNU/Linux systems): Describe use of headers
38483 from "make headers_install", not private headers from older
38485 * INSTALL: Regenerated.
38486 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38488 * sysdeps/unix/sysv/linux/configure: Regenerated.
38490 * manual/llio.texi (fclean): Remove documentation.
38492 * manual/Makefile (libc-texi-generated): New variable. Include
38494 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38495 $(libc-texi-generated), not duplicated list of files.
38496 (version.texi, stamp-version): New rules.
38497 (realclean): Remove $(libc-texi-generated), not individual files
38498 from that list. Do not remove dir-add.texinfo.
38499 * manual/libc.texinfo: Comment out uses of edition numbers and
38500 references to printed manual. Remove last-updated dates.
38501 (EDITION): Comment out.
38503 (VERSION, UPDATED): Remove.
38504 (version.texi): Include.
38506 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38508 * sysdeps/posix/spawni.c: Include <signal.h>.
38509 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38510 * sysdeps/pthread/aio_fsync.c: Likewise.
38512 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38514 * conform/Makefile (tests): Run only when not cross-compiling and
38515 when fast-check is not defined.
38517 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38518 * conform/data/limits.h-data: Fixes for POSIX2008.
38519 * conform/run-conformtest.sh: Run all tests.
38520 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38522 * include/bits/dlfcn.h: Likewise.
38523 * include/langinfo.h: Likewise.
38524 * include/monetary.h: Likewise.
38525 * include/sys/poll.h: Likewise.
38527 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38529 * posix/spawn.h: Define __need_sigset_t.
38530 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38531 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38532 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38533 to get sigevent_t only.
38534 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38535 only for __USE_GNU.
38536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38537 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38538 process_vm_writev only for __USE_GNU.
38539 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38541 * conform/Makefile: For now ignore errors from run-conformtest.
38542 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38543 POSIX to avoid namespace pollution. Don't prepend headers.
38544 * conform/data/aio.h-data: Fixes for POSIX testing.
38545 * conform/data/fcntl.h-data: Likewise.
38546 * conform/data/glob.h-data: Likewise.
38547 * conform/data/grp.h-data: Likewise.
38548 * conform/data/pthread.h-data: Likewise.
38549 * conform/data/pwd.h-data: Likewise.
38550 * conform/data/signal.h-data: Likewise.
38551 * conform/data/spawn.h-data: Likewise.
38552 * conform/data/stdio.h-data: Likewise.
38553 * conform/data/stdlib.h-data: Likewise.
38554 * conform/data/stropts.h-data: Likewise.
38555 * conform/data/sys/mman.h-data: Likewise.
38556 * conform/data/sys/stat.h-data: Likewise.
38557 * conform/data/sys/types.h-data: Likewise.
38558 * conform/data/sys/wait.h-data: Likewise.
38559 * conform/data/time.h-data: Likewise.
38560 * conform/data/unistd.h-data: Likewise.
38561 * conform/data/utime.h-data: Likewise.
38563 * io/sys/stat.h: fchmod was always in POSIX.
38564 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38565 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38566 * rt/aio.h: Define __need_timespec before including <time.h>.
38567 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38568 struct. Add forward declaration of pthread_attr_t and use it in
38570 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38571 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38572 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38573 always remove CLK_TCK definition.
38575 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38577 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38579 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38581 * conform/run-conformtest.sh: New file.
38582 * conform/Makefile: Run run-conformtest for tests.
38583 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38586 * conform/data/uchar.h-data: New file.
38587 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38588 * conform/data/arpa/inet.h-data: Likewise.
38589 * conform/data/assert.h-data: Likewise.
38590 * conform/data/complex.h-data: Likewise.
38591 * conform/data/cpio.h-data: Likewise.
38592 * conform/data/ctype.h-data: Likewise.
38593 * conform/data/dirent.h-data: Likewise.
38594 * conform/data/dlfcn.h-data: Likewise.
38595 * conform/data/errno.h-data: Likewise.
38596 * conform/data/fcntl.h-data: Likewise.
38597 * conform/data/float.h-data: Likewise.
38598 * conform/data/fmtmsg.h-data: Likewise.
38599 * conform/data/fnmatch.h-data: Likewise.
38600 * conform/data/ftw.h-data: Likewise.
38601 * conform/data/glob.h-data: Likewise.
38602 * conform/data/grp.h-data: Likewise.
38603 * conform/data/iconv.h-data: Likewise.
38604 * conform/data/inttypes.h-data: Likewise.
38605 * conform/data/langinfo.h-data: Likewise.
38606 * conform/data/libgen.h-data: Likewise.
38607 * conform/data/limits.h-data: Likewise.
38608 * conform/data/locale.h-data: Likewise.
38609 * conform/data/math.h-data: Likewise.
38610 * conform/data/monetary.h-data: Likewise.
38611 * conform/data/mqueue.h-data: Likewise.
38612 * conform/data/ndbm.h-data: Likewise.
38613 * conform/data/net/if.h-data: Likewise.
38614 * conform/data/netdb.h-data: Likewise.
38615 * conform/data/netinet/in.h-data: Likewise.
38616 * conform/data/nl_types.h-data: Likewise.
38617 * conform/data/poll.h-data: Likewise.
38618 * conform/data/pthread.h-data: Likewise.
38619 * conform/data/pwd.h-data: Likewise.
38620 * conform/data/regex.h-data: Likewise.
38621 * conform/data/sched.h-data: Likewise.
38622 * conform/data/search.h-data: Likewise.
38623 * conform/data/semaphore.h-data: Likewise.
38624 * conform/data/setjmp.h-data: Likewise.
38625 * conform/data/signal.h-data: Likewise.
38626 * conform/data/spawn.h-data: Likewise.
38627 * conform/data/stdarg.h-data: Likewise.
38628 * conform/data/stdio.h-data: Likewise.
38629 * conform/data/stdlib.h-data: Likewise.
38630 * conform/data/string.h-data: Likewise.
38631 * conform/data/strings.h-data: Likewise.
38632 * conform/data/stropts.h-data: Likewise.
38633 * conform/data/sys/ipc.h-data: Likewise.
38634 * conform/data/sys/mman.h-data: Likewise.
38635 * conform/data/sys/msg.h-data: Likewise.
38636 * conform/data/sys/resource.h-data: Likewise.
38637 * conform/data/sys/select.h-data: Likewise.
38638 * conform/data/sys/sem.h-data: Likewise.
38639 * conform/data/sys/shm.h-data: Likewise.
38640 * conform/data/sys/socket.h-data: Likewise.
38641 * conform/data/sys/stat.h-data: Likewise.
38642 * conform/data/sys/statvfs.h-data: Likewise.
38643 * conform/data/sys/time.h-data: Likewise.
38644 * conform/data/sys/timeb.h-data: Likewise.
38645 * conform/data/sys/times.h-data: Likewise.
38646 * conform/data/sys/types.h-data: Likewise.
38647 * conform/data/sys/uio.h-data: Likewise.
38648 * conform/data/sys/un.h-data: Likewise.
38649 * conform/data/sys/utsname.h-data: Likewise.
38650 * conform/data/sys/wait.h-data: Likewise.
38651 * conform/data/syslog.h-data: Likewise.
38652 * conform/data/tar.h-data: Likewise.
38653 * conform/data/termios.h-data: Likewise.
38654 * conform/data/utime.h-data: Likewise.
38655 * conform/data/utmpx.h-data: Likewise.
38656 * conform/data/varargs.h-data: Likewise.
38657 * conform/data/wchar.h-data: Likewise.
38658 * conform/data/wctype.h-data: Likewise.
38659 * conform/data/wordexp.h-data: Likewise.
38661 * include/stropts.h: New file.
38662 * include/uchar.h: New file.
38663 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38664 * include/assert.h: Likewise.
38665 * include/ctype.h: Likewise.
38666 * include/dirent.h: Likewise.
38667 * include/dlfcn.h: Likewise.
38668 * include/fcntl.h: Likewise.
38669 * include/fnmatch.h: Likewise.
38670 * include/glob.h: Likewise.
38671 * include/grp.h: Likewise.
38672 * include/libio.h: Likewise.
38673 * include/locale.h: Likewise.
38674 * include/math.h: Likewise.
38675 * include/net/if.h: Likewise.
38676 * include/netdb.h: Likewise.
38677 * include/netinet/in.h: Likewise.
38678 * include/pthread.h: Likewise.
38679 * include/pwd.h: Likewise.
38680 * include/regex.h: Likewise.
38681 * include/sched.h: Likewise.
38682 * include/search.h: Likewise.
38683 * include/setjmp.h: Likewise.
38684 * include/signal.h: Likewise.
38685 * include/stdio.h: Likewise.
38686 * include/stdlib.h: Likewise.
38687 * include/string.h: Likewise.
38688 * include/sys/cdefs.h: Likewise.
38689 * include/sys/mman.h: Likewise.
38690 * include/sys/msg.h: Likewise.
38691 * include/sys/resource.h: Likewise.
38692 * include/sys/select.h: Likewise.
38693 * include/sys/socket.h: Likewise.
38694 * include/sys/stat.h: Likewise.
38695 * include/sys/statvfs.h: Likewise.
38696 * include/sys/time.h: Likewise.
38697 * include/sys/times.h: Likewise.
38698 * include/sys/uio.h: Likewise.
38699 * include/sys/utsname.h: Likewise.
38700 * include/sys/wait.h: Likewise.
38701 * include/termios.h: Likewise.
38702 * include/time.h: Likewise.
38703 * include/ulimit.h: Likewise.
38704 * include/unistd.h: Likewise.
38705 * include/utime.h: Likewise.
38706 * include/wchar.h: Likewise.
38707 * include/wctype.h: Likewise.
38708 * include/wordexp.h: Likewise.
38710 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38712 * time/time.h: TIME_UTC must be a macro.
38713 Make timespec_get available for ISO C11 only as well.
38715 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38717 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38718 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38720 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38722 * configure.in: Use -o not -a in test for unsupported multi-arch.
38724 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38726 * manual/texinfo.tex: Update to version 2012-01-19.16.
38728 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38730 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38732 2012-02-24 Roland McGrath <roland@hack.frob.com>
38735 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38736 * manual/fdl-1.3.texi: New file.
38737 * manual/fdl-1.1.texi: File removed.
38740 * manual/libc.texinfo (FDL_VERSION): New @set.
38741 Use it for mention of FDL in cover text.
38742 (Documentation License): Use it in @include file name.
38744 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38745 Roland McGrath <roland@hack.frob.com>
38748 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38749 (not LONG_LONG_MAX and LONG_LONG_MIN.
38750 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38751 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38753 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38755 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38759 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38760 manipulate bits before adding and subtracting TWO23[sx].
38761 * math/libm-test.inc (nearbyint_test): Add more tests.
38763 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38766 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38767 bits before adding and subtracting TWO23[sx].
38768 * math/libm-test.inc (rint_test): Add more tests.
38769 (rint_test_tonearest): Likewise.
38770 (rint_test_towardzero): Likewise.
38771 (rint_test_downward): Likewise.
38772 (rint_test_upward: Likewise.
38774 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38777 * include/stdc-predef.h: New file. Extracted from features.h.
38778 * include/features.h: Include stdc-predef.h.
38779 * Makefile (headers): Add stdc-predef.h.
38780 * CONFORMANCE (Compiler limitations): Update.
38782 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38784 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38786 2012-02-21 David S. Miller <davem@davemloft.net>
38788 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38789 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38791 2012-02-20 David S. Miller <davem@davemloft.net>
38793 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38794 using a normal save/restore sequence, rather than allocating a
38795 dummy stack frame just to store a frame pointer and restore.
38796 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38798 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38800 * manual/install.texi: Fix stray word in line-wrapped comment.
38802 2012-02-20 David S. Miller <davem@davemloft.net>
38804 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38805 both binutils and gcc support GOTDATA.
38807 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38808 "rd %pc" in the PIC register setup sequences.
38810 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38811 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38812 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38813 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38814 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38816 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38819 (SYSCALL_ERROR_HANDLER): Likewise.
38820 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38821 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38822 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38823 (SYSCALL_ERROR_HANDLER): Likewise.
38825 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38826 (HAVE_GCC_GOTDATA): New.
38827 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38828 relocation support in both binutils and gcc.
38829 * sysdeps/sparc/elf/configure: Regenerate.
38831 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38832 * sysdeps/sparc/sparc32/elf/configure: Delete.
38833 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38834 * sysdeps/sparc/sparc64/elf/configure: Delete.
38835 * sysdeps/sparc/elf/configure.in: New file.
38836 * sysdeps/sparc/elf/configure: Generate.
38838 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38839 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38840 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38841 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38842 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38844 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38846 * manual/install.texi: Do not mention specific glibc version
38848 * manual/libc.texinfo (VERSION, UPDATED): Update.
38849 (@copying): Use @copyright{} and range of years.
38851 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38854 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38855 [crti.S not in sysdirs] (generated): Do not append.
38856 [crti.S not in sysdirs] (omit-deps): Likewise.
38857 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38858 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38859 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38860 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38861 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38863 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38864 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38865 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38866 * csu/defs.awk: Remove file.
38867 * sysdeps/generic/initfini.c: Likewise.
38868 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38870 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38873 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38875 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38876 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38877 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38878 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38879 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38880 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38882 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38883 (__EPOLL_PACKED): Define to empty if not defined by
38885 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38889 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38891 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38892 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38893 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38894 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38896 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38900 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38902 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38905 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38906 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38909 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38912 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38914 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38916 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38917 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38919 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38921 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38924 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38926 * math/w_acos.c: Use non-signaling floating-point comparisons.
38927 * math/w_acosf.c: Likewise.
38928 * math/w_acosh.c: Likewise.
38929 * math/w_acoshf.c: Likewise.
38930 * math/w_acoshl.c: Likewise.
38931 * math/w_acosl.c: Likewise.
38932 * math/w_asin.c: Likewise.
38933 * math/w_asinf.c: Likewise.
38934 * math/w_asinl.c: Likewise.
38935 * math/w_atanh.c: Likewise.
38936 * math/w_atanhf.c: Likewise.
38937 * math/w_atanhl.c: Likewise.
38938 * math/w_exp2.c: Likewise.
38939 * math/w_exp2f.c: Likewise.
38940 * math/w_exp2l.c: Likewise.
38941 * math/w_j0.c: Likewise.
38942 * math/w_j0f.c: Likewise.
38943 * math/w_j0l.c: Likewise.
38944 * math/w_j1.c: Likewise.
38945 * math/w_j1f.c: Likewise.
38946 * math/w_j1l.c: Likewise.
38947 * math/w_jn.c: Likewise.
38948 * math/w_jnf.c: Likewise.
38949 * math/w_log.c: Likewise.
38950 * math/w_log10.c: Likewise.
38951 * math/w_log10f.c: Likewise.
38952 * math/w_log10l.c: Likewise.
38953 * math/w_log2.c: Likewise.
38954 * math/w_log2f.c: Likewise.
38955 * math/w_log2l.c: Likewise.
38956 * math/w_logf.c: Likewise.
38957 * math/w_logl.c: Likewise.
38958 * math/w_sqrt.c: Likewise.
38959 * math/w_sqrtf.c: Likewise.
38960 * math/w_sqrtl.c: Likewise.
38961 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38962 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38963 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38964 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38965 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38967 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38970 * manual/string.texi (strnlen): Use correct parameter name in
38971 equivalent expression.
38973 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38976 * manual/users.texi (seteuid): Consistently use neweuid for
38979 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38982 * manual/nss.texi (Services in the NSS configuration): Correct
38983 list of services in example configuration file.
38985 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38988 * manual/arith.texi: Remove statements about negative zero
38989 behaving identically to zero.
38991 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38994 * manual/install.texi: Do not document upgrading from libc5.
38996 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38999 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39001 2012-02-18 David S. Miller <davem@davemloft.net>
39003 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39004 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39005 %o7 across the call.
39006 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39009 SETUP_PIC_REG_LEAF.
39010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39011 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39012 * sysdeps/sparc/crtn.S: Likewise.
39014 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39016 * aout/Makefile: Remove.
39018 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39021 * manual/examples/argp-ex1.c (main): Format definition in GNU
39023 * manual/examples/argp-ex2.c (main): Likewise.
39024 * manual/examples/argp-ex3.c (main): Likewise.
39025 * manual/examples/argp-ex4.c (main): Likewise.
39026 * manual/examples/longopt.c (main): Use new-style prototype
39028 * manual/examples/strncat.c (main): Specify return type and use
39029 (void) for arguments.
39030 * manual/examples/subopt.c (main): Use char **argv argument.
39032 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39035 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39038 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39041 * manual/string.texi (strchr): Change when strchrnul is
39044 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39047 * manual/locale.texi (setlocale): Document LOCPATH.
39049 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39052 * manual/process.texi (execle): Move @dots{} before last argument.
39054 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39057 * manual/charset.texi (Generic Charset Conversion): Fix typo
39058 (LC_TYPE -> LC_CTYPE).
39060 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39063 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39064 (scalbnf): Likewise.
39065 (scalbnl): Likewise.
39066 (scalbln): Likewise.
39067 (scalblnf): Likewise.
39068 (scalblnl): Likewise.
39069 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39070 (vwarnx): Likewise.
39073 * manual/filesys.texi (telldir): Use braces around return type.
39074 * manual/llio.texi (mmap): Add space after comma.
39075 (mmap64): Likewise.
39076 * manual/math.texi (jn): Use @var{} on parameter names.
39082 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39084 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39086 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39087 (sched_get_priority_max): Likewise.
39088 * manual/signal.texi (sigvec): Add space after comma.
39089 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39091 (if_indextoname): Likewise.
39092 (if_freenameindex): Likewise.
39093 (sendto): Use ',' instead of '.' in prototype.
39094 * manual/startup.texi (syscall): Use @dots{} instead of literal
39096 * manual/stdio.texi (__fpending): Separate initial words of
39097 paragraph from @deftypefun line.
39098 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39100 (vsyslog): Use @var{} on parameter names.
39101 * manual/terminal.texi (stty): Use @var{} on parameter names.
39102 * manual/users.texi (getutmp): Use @var{} on parameter names.
39103 (getutmpx): Likewise.
39105 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39108 * manual/stdio.texi (fopen): Fix typos in description of
39111 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39114 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39115 get clock_id definition.
39117 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39120 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39121 (madvise): Cast every argument to void on its own.
39123 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39126 * manual/startup.texi (Exit Status): Fix typo.
39128 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39131 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39132 * manual/examples/argp-ex2.c: Likewise.
39133 * manual/examples/argp-ex3.c: Likewise.
39135 2012-02-16 Richard Henderson <rth@redhat.com>
39137 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39138 * sysdeps/s390/s390-32/initfini.c: Remove.
39139 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39140 * sysdeps/s390/s390-64/initfini.c: Remove.
39142 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39144 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39145 compiler output for sysdeps/generic/initfini.c.
39146 * sysdeps/sh/elf/initfini.c: Remove file.
39148 2012-02-16 David S. Miller <davem@davemloft.net>
39151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39153 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39154 * sysdeps/sparc/crti.S: New file.
39155 * sysdeps/sparc/crtn.S: New file.
39156 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39157 * sysdeps/sparc/sparc64/Makefile: Likewise.
39159 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39162 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39164 2012-02-15 Roland McGrath <roland@hack.frob.com>
39167 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39169 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39170 (write, read, close): Likewise.
39171 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39173 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39175 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39176 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39177 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39178 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39180 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39184 2012-02-14 Marek Polacek <polacek@redhat.com>
39186 * sysdeps/x86_64/crti.S: New file.
39187 * sysdeps/x86_64/crtn.S: New file.
39188 * sysdeps/x86_64/elf/initfini.c: Remove file.
39190 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39192 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39193 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39194 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39195 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39197 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39201 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39203 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39204 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39205 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39206 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39208 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39212 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39214 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39215 __feraiseexcept instead of feraiseexcept.
39217 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39218 nanosleep invocations.
39219 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39220 strings, and add error checking for a nanosleep invocations.
39222 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39224 Replace FSF snail mail address with URLs, as per GNU coding standards.
39225 Most of the snail mail addresses were wrong anyway, and omitting
39226 them makes the source code easier to maintain. Almost all of the
39227 changes are to license notices and to locale LC_IDENTIFICATION
39228 addresses, except for this one:
39229 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39230 not its snail mail address.
39232 2012-02-09 Richard Henderson <rth@twiddle.net>
39234 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39235 of kernel-features.h.
39237 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39239 2012-02-08 Marek Polacek <polacek@redhat.com>
39241 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39242 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39243 * sysdeps/gnu/_G_config.h: Likewise.
39244 * sysdeps/generic/_G_config.h: Likewise.
39246 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39248 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39252 * sysdeps/powerpc/powerpc32/crti.S: New file.
39253 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39254 * sysdeps/powerpc/powerpc64/crti.S: New file.
39255 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39257 * Makeconfig (have-initfini): Don't set.
39258 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39259 * configure.in (nopic_initfini): Don't substitute.
39260 * config.h.in (HAVE_INITFINI): Don't #undef.
39261 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39262 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39264 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39266 Support crti.S and crtn.S provided directly by architectures.
39267 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39268 [crti.S in sysdirs] (omit-deps): Likewise.
39269 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39270 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39271 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39272 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39273 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39274 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39275 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39276 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39277 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39278 compiler output for sysdeps/generic/initfini.c.
39279 * sysdeps/i386/elf/Makefile: Remove file.
39280 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39282 2012-02-07 Marek Polacek <polacek@redhat.com>
39284 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39285 * sysdeps/gnu/_G_config.h: Likewise.
39286 * sysdeps/mach/hurd/_G_config.h: Likewise.
39288 2012-02-07 Marek Polacek <polacek@redhat.com>
39290 * math/Makefile (tests): Add tst-CMPLX2.
39291 * math/tst-CMPLX2.c: New file.
39293 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39295 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39297 * math/libm-test.inc (jn_test): Add missing L suffix.
39299 2012-02-06 Marek Polacek <polacek@redhat.com>
39301 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39302 * sysdeps/i386/fpu/e_powf.S: Likewise.
39303 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39304 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39305 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39306 * sysdeps/i386/fpu/e_pow.S: Likewise.
39307 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39308 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39309 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39310 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39311 * sysdeps/i386/fpu/e_log2.S: Likewise.
39312 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39313 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39314 * sysdeps/i386/fpu/e_powl.S: Likewise.
39315 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39316 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39317 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39318 * sysdeps/i386/fpu/e_logl.S: Likewise.
39319 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39320 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39321 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39322 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39323 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39324 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39325 * sysdeps/i386/fpu/e_log.S: Likewise.
39326 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39327 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39328 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39329 * sysdeps/i386/fpu/e_logf.S: Likewise.
39330 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39331 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39332 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39333 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39334 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39335 * sysdeps/i386/fpu/e_log10.S: Likewise.
39336 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39337 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39338 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39339 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39340 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39341 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39342 * sysdeps/i386/asm-syntax.h: Likewise.
39343 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39344 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39345 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39346 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39347 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39348 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39349 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39350 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39351 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39352 * sysdeps/powerpc/sysdep.h: Likewise.
39353 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39354 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39356 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39359 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39361 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39363 * sysdeps/i386/sysdep.h: Include <features.h>.
39364 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39367 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39369 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39371 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39374 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39376 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39377 (SETUP_PIC_REG): Use GET_PC_THUNK.
39378 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39381 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39383 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39384 for non-PIC compilation.
39385 (SETUP_PIC_REG): Add .p2align directive.
39386 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39387 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39388 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39389 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39390 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39391 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39392 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39394 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39395 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39396 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39397 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39398 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39399 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39400 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39401 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39402 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39403 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39404 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39405 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39406 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39407 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39408 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39409 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39410 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39412 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39413 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39414 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39415 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39416 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39417 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39418 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39419 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39420 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39421 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39422 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39423 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39424 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39425 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39426 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39428 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39430 * math/tst-CMPLX.c: Include <stdio.h>.
39432 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39434 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39436 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39437 * sysdeps/sparc/bits/mathdef.h: Likewise.
39439 2012-01-31 Marek Polacek <polacek@redhat.com>
39441 * libio/libio.h: Don't define _PARAMS.
39442 * locale/programs/config.h: Don't define PARAMS.
39443 * stdlib/strtol_l.c: Likewise.
39444 (__strtol_l): Remove PARAMS from the prototype.
39446 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39448 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39449 names. Just use the correct names. Remove unnecessary wrapper
39451 * malloc/arena.c: Likewise.
39452 * malloc/hooks.c: Likewise.
39454 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39455 ARENA_TEST says not to. Simplify test for creation of a new arena.
39456 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39458 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39460 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39462 (update_get_addr): New function.
39463 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39464 GET_ADDR_MODULE parameter.
39466 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39468 * crypt/cert.c: Remove __STDC__ conditionals.
39469 * crypt/crypt-entry.c: Likewise.
39470 * crypt/crypt_util.c: Likewise.
39471 * libio/filedoalloc.c: Likewise.
39472 * libio/fileops.c: Likewise.
39473 * libio/genops.c: Likewise.
39474 * libio/iofclose.c: Likewise.
39475 * libio/iofdopen.c: Likewise.
39476 * libio/iofopen.c: Likewise.
39477 * libio/iofopen64.c: Likewise.
39478 * libio/iogetdelim.c: Likewise.
39479 * libio/iopopen.c: Likewise.
39480 * libio/obprintf.c: Likewise.
39481 * libio/oldfileops.c: Likewise.
39482 * libio/oldiofclose.c: Likewise.
39483 * libio/oldiofdopen.c: Likewise.
39484 * libio/oldiofopen.c: Likewise.
39485 * libio/oldiopopen.c: Likewise.
39486 * libio/wfiledoalloc.c: Likewise.
39487 * libio/wgenops.c: Likewise.
39488 * locale/programs/xmalloc.c: Likewise.
39489 * misc/syslog.c: Likewise.
39490 * stdio-common/xbug.c: Likewise.
39491 * string/memchr.c: Likewise.
39492 * string/memcmp.c: Likewise.
39493 * string/memrchr.c: Likewise.
39494 * string/rawmemchr.c: Likewise.
39495 * sysdeps/posix/getcwd.c: Likewise.
39496 * time/strftime_l.c: Likewise.
39498 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39500 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39501 * config.make.in (config-cflags-sse2avx): Define.
39502 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39505 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39507 * scripts/config.guess: Update from upstream config git repository.
39508 * scripts/config.sub: Likewise.
39510 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39512 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39514 (R_TILEPRO_*, R_TILEGX_*): New macros.
39516 * scripts/firstversions.awk: Fix bug in version range handling.
39518 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39520 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39522 * include/sys/epoll.h: New file.
39523 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39526 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39528 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39529 Avoid unnecessary __WORDSIZE == 64 test.
39530 (fmaxf): Use VEX format if possible.
39535 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39536 * math/math_private.h: Remove libc_fegetround* and
39538 * sysdeps/i386/configure.in: Check for -msse2avx.
39539 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39540 also if SSE2AVX is defined.
39541 Remove libc_fegetround* and libc_fesetround*.
39542 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39543 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39544 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39552 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39554 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39556 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39558 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39560 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39563 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39565 * Makeconfig (libm): Define.
39566 * elf/Makefile: Add rules to build and run tst-relsort1.
39567 * elf/tst-relsort1.c: New file.
39568 * elf/tst-relsort1mod1.c: New file.
39569 * elf/tst-relsort1mod2.c: New file.
39571 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39573 * math/s_ldexp.c: Remove __STDC__ conditionals.
39574 * math/s_ldexpf.c: Likewise.
39575 * math/s_ldexpl.c: Likewise.
39576 * math/s_nextafter.c: Likewise.
39577 * math/s_nexttowardf.c: Likewise.
39578 * math/s_significand.c: Likewise.
39579 * math/s_significandf.c: Likewise.
39580 * math/s_significandl.c: Likewise.
39581 * math/w_jnl.c: Likewise.
39582 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39583 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39584 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39585 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39586 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39587 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39588 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39589 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39590 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39591 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39592 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39594 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39595 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39596 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39597 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39598 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39599 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39604 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39607 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39608 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39609 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39610 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39611 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39612 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39613 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39614 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39615 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39616 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39617 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39618 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39619 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39620 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39621 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39622 * sysdeps/ieee754/k_standard.c: Likewise.
39623 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39624 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39626 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39627 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39628 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39629 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39630 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39631 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39632 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39633 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39634 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39635 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39636 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39637 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39638 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39639 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39641 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39642 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39643 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39644 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39645 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39646 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39647 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39648 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39649 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39650 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39652 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39654 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39655 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39656 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39658 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39659 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39660 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39661 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39662 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39663 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39665 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39667 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39668 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39669 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39670 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39671 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39672 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39674 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39675 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39677 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39679 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39680 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39681 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39682 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39683 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39684 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39685 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39687 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39688 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39689 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39690 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39691 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39692 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39693 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39694 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39695 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39696 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39697 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39698 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39699 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39700 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39701 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39702 * sysdeps/ieee754/s_matherr.c: Likewise.
39703 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39704 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39705 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39706 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39708 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39710 * crypt/md5.h: Remove __STDC__ conditionals.
39711 * libio/libioP.h: Likewise.
39712 * locale/programs/config.h: Likewise.
39713 * sysdeps/generic/sysdep.h: Likewise.
39714 * sysdeps/i386/asm-syntax.h: Likewise.
39715 * sysdeps/s390/asm-syntax.h: Likewise.
39716 * sysdeps/unix/sysdep.h: Likewise.
39717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39720 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39722 * libio/libio.h: Remove __STDC__ conditionals.
39723 * malloc/obstack.h: Likewise.
39724 * math/complex.h: Likewise.
39725 * math/math.h: Likewise.
39726 * sysdeps/generic/_G_config.h: Likewise.
39727 * sysdeps/gnu/_G_config.h: Likewise.
39728 * sysdeps/mach/hurd/_G_config.h: Likewise.
39729 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39730 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39731 * sysdeps/sparc/bits/mathdef.h: Likewise.
39733 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39736 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39737 Clean up HAS_* macros.
39738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39739 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39744 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39745 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39747 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39749 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39751 * elf/tst-unique3.cc (gets): Remove declaration.
39752 * elf/tst-unique3lib.cc (gets): Likewise.
39753 * elf/tst-unique3lib2.cc (gets): Likewise.
39754 * elf/tst-unique4.cc (gets): Likewise.
39756 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39758 * include/stdio.h: Add C++ protection. Add gets declarations and
39760 * debug/tst-chk1.c: Don't declare gets here.
39761 * stdio-common/tst-gets.c: Likewise.
39763 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39765 * posix/glob: Remove directory.
39767 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39769 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39771 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39773 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39774 of the non-standard EPFNOSUPPORT.
39776 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39778 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39779 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39780 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39782 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39784 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39786 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39788 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39790 * nscd/grpcache.c (cache_addgr): Likewise.
39791 * nscd/hstcache.c (cache_addhst): Likewise.
39792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39793 * nscd/pwdcache.c (cache_addpw): Likewise.
39794 * nscd/servicescache.c (cache_addserv): Likewise.
39796 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39798 * malloc/malloc.c: Various cleanups.
39799 * malloc/hooks.c: Likewise.
39801 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39802 * stdlib/bug-fmtmsg1.c: New file.
39804 * stdlib/fmtmsg.c (init): Add missing unlock.
39805 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39807 2012-01-12 Marek Polacek <polacek@redhat.com>
39809 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39812 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39814 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39815 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39816 macro to ensure uniqueness of label name.
39817 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39818 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39820 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39822 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39824 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39825 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39826 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39829 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39831 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39833 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39834 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39835 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39837 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39839 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39840 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39841 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39844 * math/bits/math-finite.h: Add ldexp support.
39846 2012-01-10 Marek Polacek <polacek@redhat.com>
39848 * locale/programs/localedef.h (show_archive_content): Add noreturn
39851 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39853 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39855 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39857 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39859 * io/Makefile (headers): Add bits/poll2.h.
39861 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39864 typo #include statement.
39866 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39868 * include/sys/cdefs.h: Define __attribute_alloc_size.
39869 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39870 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39871 * elf/pldd.c: Likewise.
39872 * iconv/iconv_charmap.c: Likewise.
39873 * iconv/iconvconfig.c: Likewise.
39874 * iconv/strtab.c: Likewise.
39875 * locale/programs/locale.c: Likewise.
39876 * locale/programs/localedef.h: Likewise.
39877 * locale/programs/simple-hash.c: Likewise.
39878 * nscd/nscd.h: Likewise.
39879 * nss/makedb.c: Likewise.
39880 * sysdeps/generic/ldconfig.h: Likewise.
39881 * locale/programs/localedef.c: Remove xmalloc prototype.
39882 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39884 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39886 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39889 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39891 * math/Makefile (tests): Add tst-CMPLX.
39892 * math/tst-CMPLX.c: New file.
39894 * math/complex.h (CMPLXL): Fix typo.
39896 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39897 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39899 * debug/tst-chk1.c: Add poll and ppoll tests.
39900 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39901 * include/sys/poll.h: Add hidden proto for ppoll.
39902 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39903 * sysdeps/mach/hurd/ppoll.c: Likewise.
39904 * io/ppoll.c: Likewise.
39905 * debug/poll_chk.c: New file.
39906 * debug/ppoll_chk.c: New file.
39907 * include/bits/poll2.h: New file.
39908 * io/bits/poll2.h: New file.
39911 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39913 * configure.in: static is always set to yes. Remove.
39914 * config.make.in: Don't set build-static.
39915 * Makeconfig: Remove use of build-static.
39916 * dlfcn/Makefile: Likewise.
39917 * elf/Makefile: Likewise.
39918 * math/Makefile: Likewise.
39919 * misc/Makefile: Likewise.
39920 * nptl/Makefile: Likewise.
39921 * sysdeps/mach/hurd/Makefile: Likewise.
39923 * configure.in: PWD_P is not used anymore.
39924 * config.make.in: Remove PWD_P entry.
39926 * configure.in: Remove last remnants of RANLIB.
39927 No need to check for signed size_t anymore.
39928 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39930 Remove __builtin_expect test because we require at least gcc 3.4.
39931 * aclocal.m4: Likewise.
39933 * wcsmbs/mbrtoc16.c: Implement using towc function.
39934 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39935 * wcsmbs/wcsmbsload.c: Likewise.
39936 * iconv/gconv_simple.c: Likewise.
39937 * iconv/gconv_int.h: Likewise.
39938 * iconv/gconv_builtin.h: Likewise.
39939 * iconv/iconv_prog.c: Remove CHAR16 handling.
39941 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39943 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39945 * configure.in: Remove --with-elf and --enable-bounded options.
39946 Dont set base_machine for ia64. More non-ELF conditions removed.
39947 Remove testing and setting of leading underscore information.
39948 * config.make.in (build-bounded): Set to no.
39949 * config.h.in: Remove NO_UNDERSCORES entry.
39950 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39952 * csu/start.c: Remove !NO_UNDERSCORE code.
39953 * locale/localeinfo.h: Likewise.
39954 * sysdeps/generic/machine-gmon.h: Likewise.
39955 * sysdeps/generic/sysdep.h: Likewise.
39956 * sysdeps/i386/sysdep.h: Likewise.
39957 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39958 * sysdeps/mach/sysdep.h: Likewise.
39959 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39961 * sysdeps/sh/sysdep.h: Likewise.
39962 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39963 * sysdeps/unix/i386/sysdep.S: Likewise.
39964 * sysdeps/unix/sparc/start.c: Likewise.
39965 * sysdeps/unix/sparc/sysdep.S: Likewise.
39966 * sysdeps/unix/sparc/sysdep.h: Likewise.
39967 * sysdeps/unix/start.c: Likewise.
39968 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39969 * sysdeps/x86_64/sysdep.h: Likewise.
39971 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39974 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39976 * argp/argp-fmtstream.h: Use const instead __const.
39977 * argp/argp.h: Likewise.
39978 * assert/assert.h: Likewise.
39979 * bits/fenv.h: Likewise.
39980 * bits/sched.h: Likewise.
39981 * bits/sigset.h: Likewise.
39982 * bits/sigthread.h: Likewise.
39983 * catgets/nl_types.h: Likewise.
39984 * conform/data/pthread.h-data: Likewise.
39985 * crypt/crypt-private.h: Likewise.
39986 * crypt/crypt.h: Likewise.
39987 * crypt/crypt_util.c: Likewise.
39988 * ctype/ctype.h: Likewise.
39989 * debug/execinfo.h: Likewise.
39990 * debug/mbsnrtowcs_chk.c: Likewise.
39991 * debug/mbsrtowcs_chk.c: Likewise.
39992 * debug/wcsnrtombs_chk.c: Likewise.
39993 * debug/wcsrtombs_chk.c: Likewise.
39994 * debug/wcstombs_chk.c: Likewise.
39995 * dirent/dirent.h: Likewise.
39996 * dlfcn/dlfcn.h: Likewise.
39997 * elf/neededtest4.c: Likewise.
39998 * grp/grp.h: Likewise.
39999 * gshadow/gshadow.h: Likewise.
40000 * iconv/gconv.h: Likewise.
40001 * iconv/gconv_int.h: Likewise.
40002 * iconv/gconv_simple.c: Likewise.
40003 * iconv/iconv.h: Likewise.
40004 * iconv/loop.c: Likewise.
40005 * iconv/skeleton.c: Likewise.
40006 * include/aio.h: Likewise.
40007 * include/aliases.h: Likewise.
40008 * include/argz.h: Likewise.
40009 * include/arpa/inet.h: Likewise.
40010 * include/assert.h: Likewise.
40011 * include/dirent.h: Likewise.
40012 * include/dlfcn.h: Likewise.
40013 * include/execinfo.h: Likewise.
40014 * include/fcntl.h: Likewise.
40015 * include/fenv.h: Likewise.
40016 * include/glob.h: Likewise.
40017 * include/grp.h: Likewise.
40018 * include/libintl.h: Likewise.
40019 * include/mntent.h: Likewise.
40020 * include/netdb.h: Likewise.
40021 * include/pwd.h: Likewise.
40022 * include/rpc/netdb.h: Likewise.
40023 * include/sched.h: Likewise.
40024 * include/search.h: Likewise.
40025 * include/shadow.h: Likewise.
40026 * include/signal.h: Likewise.
40027 * include/stdio.h: Likewise.
40028 * include/stdlib.h: Likewise.
40029 * include/string.h: Likewise.
40030 * include/sys/socket.h: Likewise.
40031 * include/sys/stat.h: Likewise.
40032 * include/sys/statfs.h: Likewise.
40033 * include/sys/statvfs.h: Likewise.
40034 * include/sys/syslog.h: Likewise.
40035 * include/sys/time.h: Likewise.
40036 * include/sys/uio.h: Likewise.
40037 * include/time.h: Likewise.
40038 * include/unistd.h: Likewise.
40039 * include/utmp.h: Likewise.
40040 * include/wchar.h: Likewise.
40041 * include/wctype.h: Likewise.
40042 * inet/aliases.h: Likewise.
40043 * inet/arpa/inet.h: Likewise.
40044 * inet/netinet/ether.h: Likewise.
40045 * inet/netinet/in.h: Likewise.
40046 * intl/libintl.h: Likewise.
40047 * io/bits/fcntl2.h: Likewise.
40048 * io/fcntl.h: Likewise.
40049 * io/ftw.h: Likewise.
40050 * io/sys/poll.h: Likewise.
40051 * io/sys/stat.h: Likewise.
40052 * io/sys/statfs.h: Likewise.
40053 * io/sys/statvfs.h: Likewise.
40054 * io/utime.h: Likewise.
40055 * libio/bits/stdio.h: Likewise.
40056 * libio/bits/stdio2.h: Likewise.
40057 * libio/libio.h: Likewise.
40058 * libio/libioP.h: Likewise.
40059 * libio/stdio.h: Likewise.
40060 * locale/lc-ctype.c: Likewise.
40061 * locale/locale.h: Likewise.
40062 * login/utmp.h: Likewise.
40063 * malloc/arena.c: Likewise.
40064 * malloc/malloc.c: Likewise.
40065 * malloc/malloc.h: Likewise.
40066 * malloc/mcheck.c: Likewise.
40067 * malloc/mtrace.c: Likewise.
40068 * math/bits/mathcalls.h: Likewise.
40069 * math/fenv.h: Likewise.
40070 * math/math_private.h: Likewise.
40071 * misc/bits/error.h: Likewise.
40072 * misc/bits/syslog.h: Likewise.
40073 * misc/err.h: Likewise.
40074 * misc/error.h: Likewise.
40075 * misc/fstab.h: Likewise.
40076 * misc/mntent.h: Likewise.
40077 * misc/regexp.h: Likewise.
40078 * misc/search.h: Likewise.
40079 * misc/sgtty.h: Likewise.
40080 * misc/sys/mman.h: Likewise.
40081 * misc/sys/syslog.h: Likewise.
40082 * misc/sys/uio.h: Likewise.
40083 * misc/sys/xattr.h: Likewise.
40084 * misc/ttyent.h: Likewise.
40085 * nis/rpcsvc/ypclnt.h: Likewise.
40086 * nss/nss.h: Likewise.
40087 * posix/bits/unistd.h: Likewise.
40088 * posix/fnmatch.h: Likewise.
40089 * posix/glob.h: Likewise.
40090 * posix/sched.h: Likewise.
40091 * posix/spawn.h: Likewise.
40092 * posix/sys/wait.h: Likewise.
40093 * posix/unistd.h: Likewise.
40094 * posix/wordexp.h: Likewise.
40095 * pwd/pwd.h: Likewise.
40096 * resolv/netdb.h: Likewise.
40097 * resource/sys/resource.h: Likewise.
40098 * rt/aio.h: Likewise.
40099 * rt/bits/mqueue2.h: Likewise.
40100 * rt/mqueue.h: Likewise.
40101 * shadow/shadow.h: Likewise.
40102 * signal/signal.h: Likewise.
40103 * socket/send.c: Likewise.
40104 * socket/sendto.c: Likewise.
40105 * socket/sys/socket.h: Likewise.
40106 * stdio-common/printf.h: Likewise.
40107 * stdlib/bits/stdlib.h: Likewise.
40108 * stdlib/fmtmsg.h: Likewise.
40109 * stdlib/monetary.h: Likewise.
40110 * stdlib/stdlib.h: Likewise.
40111 * stdlib/ucontext.h: Likewise.
40112 * streams/stropts.h: Likewise.
40113 * string/argz.h: Likewise.
40114 * string/bits/string2.h: Likewise.
40115 * string/string.h: Likewise.
40116 * string/strings.h: Likewise.
40117 * sunrpc/rpc/auth.h: Likewise.
40118 * sunrpc/rpc/auth_des.h: Likewise.
40119 * sunrpc/rpc/clnt.h: Likewise.
40120 * sunrpc/rpc/netdb.h: Likewise.
40121 * sunrpc/rpc/pmap_clnt.h: Likewise.
40122 * sunrpc/rpc/xdr.h: Likewise.
40123 * sysdeps/generic/inttypes.h: Likewise.
40124 * sysdeps/generic/net/if.h: Likewise.
40125 * sysdeps/generic/sys/swap.h: Likewise.
40126 * sysdeps/gnu/net/if.h: Likewise.
40127 * sysdeps/gnu/utmpx.h: Likewise.
40128 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40129 * sysdeps/i386/i486/bits/string.h: Likewise.
40130 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40131 * sysdeps/s390/bits/string.h: Likewise.
40132 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40133 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40134 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40135 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40136 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40137 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40138 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40139 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40140 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40141 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40142 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40143 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40144 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40145 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40146 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40147 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40148 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40150 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40151 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40152 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40153 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40154 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40155 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40156 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40157 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40158 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40159 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40160 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40161 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40162 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40163 * sysvipc/sys/ipc.h: Likewise.
40164 * sysvipc/sys/msg.h: Likewise.
40165 * sysvipc/sys/sem.h: Likewise.
40166 * sysvipc/sys/shm.h: Likewise.
40167 * termios/termios.h: Likewise.
40168 * time/sys/time.h: Likewise.
40169 * time/time.h: Likewise.
40170 * wcsmbs/bits/wchar2.h: Likewise.
40171 * wcsmbs/uchar.h: Likewise.
40172 * wcsmbs/wchar.h: Likewise.
40173 * wctype/wctype.h: Likewise.
40176 * Makeconfig: Remove all but ELF support including AIX support.
40177 * Makerules: Likewise.
40178 * config.h.in: Likewise.
40179 * config.make.in: Likewise.
40180 * configure: Likewise.
40181 * configure.in: Likewise.
40182 * csu/Makefile: Likewise.
40183 * csu/version.c: Likewise.
40184 * debug/Makefile: Likewise.
40185 * dlfcn/Makefile: Likewise.
40186 * elf/Makefile: Likewise.
40187 * extra-lib.mk: Likewise.
40188 * iconv/Makefile: Likewise.
40189 * include/libc-symbols.h: Likewise.
40190 * include/shlib-compat.h: Likewise.
40191 * resolv/Makefile: Likewise.
40192 * resolv/res_libc.c: Likewise.
40193 * rt/Makefile: Likewise.
40194 * sysdeps/i386/asm-syntax.h: Likewise.
40195 * sysdeps/i386/sysdep.h: Likewise.
40196 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40197 * sysdeps/mach/sysdep.h: Likewise.
40198 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40199 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40200 * sysdeps/s390/asm-syntax.h: Likewise.
40201 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40202 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40203 * sysdeps/sh/sysdep.h: Likewise.
40204 * sysdeps/unix/sparc/sysdep.h: Likewise.
40205 * sysdeps/wordsize-32/divdi3.c: Likewise.
40206 * sysdeps/x86_64/sysdep.h: Likewise.
40208 * argp/Versions: Remove _argp_unlock_xxx.
40211 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40212 * abilist/libBrokenLocale.abilist: Likewise.
40213 * abilist/libanl.abilist: Likewise.
40214 * abilist/libc.abilist: Likewise.
40215 * abilist/libcrypt.abilist: Likewise.
40216 * abilist/libdl.abilist: Likewise.
40217 * abilist/libm.abilist: Likewise.
40218 * abilist/libnsl.abilist: Likewise.
40219 * abilist/libpthread.abilist: Likewise.
40220 * abilist/libresolv.abilist: Likewise.
40221 * abilist/librt.abilist: Likewise.
40222 * abilist/libthread_db.abilist: Likewise.
40223 * abilist/libutil.abilist: Likewise.
40224 * abilist/libnss_db.abilist: New file.
40226 * scripts/abilist.awk: Add support for indirect functions.
40228 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40230 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40232 * shlib-versions: Remove entries for ports architectures.
40234 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40236 * elf/stackguard-macros.h: Remove support for IA-64.
40237 * elf/tst-auditmod1.c: Likewise.
40238 * sysdeps/generic/ldsodefs.h: Likewise.
40240 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40241 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40245 * configure.in: Remove --enable-omitfp support.
40247 * config.make.in: Likewise.
40248 * Makeconfig: Likewise.
40249 * manual/install.texi: Likewise.
40251 In case anyone cares, the IA-64 architecture could move to ports.
40252 * sysdeps/ia64/*: Removed.
40253 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40254 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40257 * configure.in: Remove entries for unsupported architectures.
40260 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40261 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40263 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40264 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40265 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40266 fall back to using wcrtomb.
40267 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40268 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40270 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40271 * wcsmbs/tst-c16c32-1.c: New file.
40273 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40276 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40278 * elf/tst-unique3.cc: Add explicit declaration of gets.
40279 * elf/tst-unique3lib.cc: Likewise.
40280 * elf/tst-unique3lib2.cc: Likewise.
40281 * elf/tst-unique4.cc: Likewise.
40283 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40285 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40288 * assert/assert.h (static_assert): Don't define for C++.
40289 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40290 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40292 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40294 * iconv/loop.c (single loop): Fix assertion in storing of
40297 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40299 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40301 * posix/getconf.c: Update copyright year.
40302 * nss/getent.c: Likewise.
40303 * nss/makedb.c: Likewise.
40304 * iconv/iconvconfig.c: Likewise.
40305 * iconv/iconv_prog.c: Likewise.
40306 * elf/ldconfig.c: Likewise.
40307 * elf/pldd.c: Likewise.
40308 * elf/sotruss.ksh: Likewise.
40309 * catgets/gencat.c: Likewise.
40310 * csu/version.c: Likewise.
40311 * elf/ldd.bash.in: Likewise.
40312 * elf/sprof.c (print_version): Likewise.
40313 * locale/programs/locale.c: Likewise.
40314 * locale/programs/localedef.c: Likewise.
40315 * login/programs/pt_chown.c: Likewise.
40316 * nscd/nscd.c (print_version): Likewise.
40317 * debug/xtrace.sh: Likewise.
40318 * malloc/memusage.sh: Likewise.
40319 * malloc/mtrace.pl: Likewise.
40320 * debug/catchsegv.sh: Likewise.
40322 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40324 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40327 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40330 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40331 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40333 * iconv/gconv_int.h: Likewise.
40334 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40335 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40336 from libc for GLIBC_2.16.
40337 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40338 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40339 * wcsmbs/uchar.h: Really define mbstate_t.
40340 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40341 * wcsmbs/c16rtomb.c: New file.
40342 * wcsmbs/mbrtoc16.c: New file.
40343 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40344 for C/POSIX locale.
40345 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40346 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40348 * wcsmbs/wchar.h: Add missing __restrict.
40350 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40353 * time/Makefile (routines): Add timespec_get.
40354 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40355 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40356 timespec for ISO C11.
40357 * time/timespec_get.c: New file.
40358 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40359 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40362 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40363 * stdlib/stdlib.h: Declare aligned_alloc.
40364 * Versions.def: Add GLIBC_2.16 for libc.
40365 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40368 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40371 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40375 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40378 * assert/assert.h (static_assert): Define.
40380 * version.h: Update for 2.16 development version.
40383 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40386 * version.h (RELEASE): Bump for 2.15 release.
40387 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40389 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40390 Patch by Marek Polacek <mpolacek@redhat.com>.
40392 * bits/byteswap.h: Protect long long constants with __extension__.
40393 * sysdeps/i386/bits/byteswap.h: Likewise.
40394 * sysdeps/ia64/bits/byteswap.h: Likewise.
40395 * sysdeps/s390/bits/byteswap.h: Likewise.
40396 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40398 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40401 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40402 destination buffer.
40403 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40405 2011-12-23 Marek Polacek <polacek@redhat.com>
40407 * elf/dl-addr.c (determine_info): Add inline keyword.
40408 * elf/tst-auditmod4b.c (check_avx): Likewise.
40409 * elf/tst-auditmod6b.c (check_avx): Likewise.
40410 * elf/tst-auditmod6c.c (check_avx): Likewise.
40411 * elf/tst-auditmod7b.c (check_avx): Likewise.
40413 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40415 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40418 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40421 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40422 processing for last bytes.
40424 2011-08-06 Bruno Haible <bruno@clisp.org>
40427 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40428 U+0385, not to U+1FEE.
40431 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40432 entry for U+00A5 U+0301.
40434 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40437 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40438 buffer for the output is too small.
40440 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40444 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40445 SSE flags if possible.
40447 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40451 processing for last bytes.
40453 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40455 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40456 (syscall-list-default-options, syscall-list-default-condition)
40457 (syscall-list-includes): Define.
40458 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40459 list of ABIs and options and #if conditions for each ABI. Do not
40460 handle common syscalls between ABIs specially.
40461 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40463 (syscall-list-variants, syscall-list-32bit-options)
40464 (syscall-list-32bit-condition, syscall-list-64bit-options)
40465 (syscall-list-64bit-condition): Define.
40466 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40467 (syscall-list-variants, syscall-list-32bit-options)
40468 (syscall-list-32bit-condition, syscall-list-64bit-options)
40469 (syscall-list-64bit-condition): Define.
40470 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40472 (syscall-list-variants, syscall-list-32bit-options)
40473 (syscall-list-32bit-condition, syscall-list-64bit-options)
40474 (syscall-list-64bit-condition): Define.
40475 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40477 (syscall-list-variants, syscall-list-32bit-options)
40478 (syscall-list-32bit-condition, syscall-list-64bit-options)
40479 (syscall-list-64bit-condition): Define.
40481 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40483 * locale/iso-639.def: Add brx entry.
40486 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40487 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40489 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40490 __feraiseexcept_renamed.
40492 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40495 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40496 EPOLLET with unsigned values.
40497 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40500 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40501 to large cancellation.
40502 * math/s_cacoshf.c: Likewise.
40503 * math/s_cacoshl.c: Likewise.
40505 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40509 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40510 * math/s_cacoshf.c: Likewise.
40511 * math/s_cacoshl.c: Likewise.
40513 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40516 * iconv/gconv.h: Define __GCONV_SWAP.
40517 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40518 * iconvdata/utf-16.c: Likewise.
40519 * iconvdata/utf-32.c: Likewise.
40521 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40524 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40525 numerator after shifting it by one limb.
40527 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40529 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40530 under [__USE_EXTERN_INLINES].
40532 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40535 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40537 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40539 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40540 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40542 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40543 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40544 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40545 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40546 for strncasecmp/strncasecmp_l compilation.
40547 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40548 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40550 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40553 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40556 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40559 * time/tzfile.c (__tzfile_read): Check values from file header.
40561 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40563 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40564 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40565 * powerpc/powerpc32/dl-start.S: Likewise.
40566 * powerpc/powerpc32/elf/start.S: Likewise.
40567 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40568 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40569 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40570 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40571 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40572 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40573 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40574 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40575 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40576 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40577 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40578 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40579 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40580 * powerpc/powerpc32/memset.S: Likewise.
40581 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40582 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40583 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40584 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40585 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40586 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40587 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40588 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40589 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40590 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40591 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40592 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40593 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40595 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40597 * math/libm-test.inc: Added more nearbyint tests.
40598 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40599 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40600 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40601 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40603 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40605 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40608 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40610 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40611 Add wcscpy-ssse3 wcscpy-c.
40612 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40613 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40614 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40615 * sysdeps/x86_64/wcschr.S: New file.
40616 * sysdeps/x86_64/wcsrchr.S: New file.
40617 * string/test-strcmp.c: Remove checking of wcscmp function for
40619 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40620 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40621 wcsrchr-sse2 wcsrchr-c.
40622 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40623 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40624 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40625 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40626 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40627 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40628 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40629 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40630 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40631 * wcsmbc/wcschr.c (WCSCHR): New macro.
40633 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40635 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40636 * wcsmbs/test-wcsrchr.c: New file.
40637 * string/test-strrchr.c: Add wcsrchr support.
40639 * wcsmbs/test-wcscpy.c: New file.
40640 * string/test-strcpy.c: Add wcscpy support.
40643 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40645 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40648 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40651 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40653 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40655 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40656 Minor optimizations.
40658 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40659 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40660 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40662 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40664 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40665 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40666 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40667 for gcc to avoid warnings.
40668 * inet/Makefile (tests): Add tst-checks.
40669 * inet/tst-checks.c: New file.
40671 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40674 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40677 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40678 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40680 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40682 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40684 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40687 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40689 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40691 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40692 conditional on GCC version.
40693 (__arch_compare_and_exchange_val_8_acq)
40694 (__arch_compare_and_exchange_val_16_acq)
40695 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40696 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40697 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40699 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40701 * sysdeps/sh/backtrace.c: New file.
40703 2011-12-02 Andreas Schwab <schwab@redhat.com>
40705 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40708 2011-12-01 Andreas Schwab <schwab@redhat.com>
40710 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40711 falling back to utime.
40713 2011-11-30 Andreas Schwab <schwab@redhat.com>
40715 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40716 expectations for float.
40718 2011-11-29 Andreas Schwab <schwab@redhat.com>
40720 * locale/weight.h (findidx): Add parameter len.
40721 * locale/weightwc.h (findidx): Likewise.
40722 * posix/fnmatch_loop.c (FCT): Adjust caller.
40723 * posix/regcomp.c (build_equiv_class): Likewise.
40724 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40725 * posix/regexec.c (check_node_accept_bytes): Likewise.
40726 * string/strcoll_l.c (STRCOLL): Likewise.
40727 * string/strxfrm_l.c (STRXFRM): Likewise.
40729 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40731 * Makefile.in: Remove CVSOPT handling.
40732 * configure.in: Remove use of AC_REVISION.
40733 * iconvdata/Makefile (distribute): No need to filter out CVS.
40734 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40737 2011-11-16 Andreas Schwab <schwab@redhat.com>
40739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40740 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40741 [USE_AS_STRNCASECMP_L]: Likewise.
40742 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40743 NO_TLS_DIRECT_SEG_REFS.
40744 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40745 Fix argument offsets for non-PIC.
40746 [USE_AS_STRNCASECMP_L]: Likewise.
40747 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40748 NO_TLS_DIRECT_SEG_REFS.
40750 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40752 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40754 * locale/loadlocale.c (_nl_load_locale): Likewise.
40756 2011-11-15 Andreas Schwab <schwab@redhat.com>
40758 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40759 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40760 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40761 (SYSCALL_GETTIME): Set errno on error.
40763 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40764 count references to noai6ai_cached.
40766 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40768 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40770 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40771 FD_CLOEXEC for /proc/self/maps.
40773 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40774 FD_CLOEXEC for /proc/meminfo.
40776 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40779 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40780 FD_CLOEXEC for given file.
40782 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40784 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40785 FD_CLOEXEC for /etc/hosts.
40786 (_gethtent): Likewise.
40788 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40790 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40791 cancellation and set FD_CLOEXEC for /etc/netgroup.
40793 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40794 reading /etc/publickey.
40796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40797 allow cancellation when reading /etc/group.
40799 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40801 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40803 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40804 when using data file.
40806 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40808 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40809 (write_nis_obj): Use "c" and "e" in fopen.
40811 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40813 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40815 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40817 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40819 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40822 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40824 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40826 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40828 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40829 file parsing and set FD_CLOEXEC.
40831 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40833 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40835 2011-11-14 Andreas Schwab <schwab@redhat.com>
40837 * malloc/arena.c (arena_get2): Don't call reused_arena when
40838 _int_new_arena failed.
40840 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40842 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40843 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40844 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40845 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40846 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40847 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40848 to compile strcasecmp and strncasecmp.
40849 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40850 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40854 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40856 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40857 locale-defines.sym to gen-as-const-headers.
40858 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40859 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40861 to compile strcasecmp and strncasecmp.
40862 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40863 strcasecmp_l and strncasecmp_l.
40864 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40865 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40866 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40867 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40868 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40869 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40870 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40871 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40872 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40873 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40874 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40876 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40878 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40879 result of SYSDEP_GETTIME_CPU to retval.
40880 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40881 parameter list to macro. Remove trailing semicolon. Adjust users.
40883 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40886 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40888 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40890 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40891 from unused variable.
40893 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40895 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40898 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40901 * sunrpc/rpc_prot.c (rejected): Fix case value.
40903 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40904 unsigned long long int to avoid warnings in shift.
40906 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40908 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40911 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40912 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40913 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40915 * nis/nis_table.c (nis_list): Use variable of correct type for
40916 result of __follow_path call.
40918 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40920 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40921 of math functions ceil, trunc, floor, round, and sqrt, when
40922 avaliable on the platform.
40923 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40926 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40927 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40929 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40931 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40932 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40934 2011-11-11 Roland McGrath <roland@hack.frob.com>
40936 * include/unistd.h: Fix __readlink return type.
40937 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40939 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40941 * stdlib/ucontext.h: Undo last change for makecontext.
40943 2011-11-11 Andreas Schwab <schwab@redhat.com>
40945 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40947 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40948 * setjmp/setjmp.h: Mark functions as non-leaf.
40949 * setjmp/bits/setjmp2.h: Likewise.
40950 * stdlib/ucontext.h: Likewise.
40952 2011-11-10 Andreas Schwab <schwab@redhat.com>
40954 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40955 (reused_arena): Don't check arena limit.
40956 (arena_get2): Atomically check arena limit.
40958 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40960 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40961 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40966 2011-11-07 Andreas Schwab <schwab@redhat.com>
40968 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40969 handler when locking.
40971 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40972 Fix size of allocated buffer.
40974 2011-11-04 Andreas Schwab <schwab@redhat.com>
40977 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40978 declarations for long double functions.
40979 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40981 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40983 2011-11-03 Andreas Schwab <schwab@redhat.com>
40985 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40988 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40991 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40993 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40995 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40997 * include/alloca.h (stackinfo_alloca_round): Define.
40998 (extend_alloca): Use it.
40999 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41000 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41003 * scripts/check-local-headers.sh: Ignore libaudit.h.
41005 * nscd/Makefile (extra-objs): Make recursively expanded.
41007 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41009 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41010 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41012 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41013 * posix/tst-rfc3484-2.c: Likewise.
41014 * posix/tst-rfc3484-3.c: Likewise.
41016 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41018 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41020 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41021 process_vm_writev from libc using GLIBC_2.15 version.
41023 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41025 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41027 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41030 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41033 * nss/getent.c (initgroups_keys): Show error message in case no group
41036 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41037 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41038 __bump_nl_timestamp.
41039 * nscd/connections (nscd_init): When host database is served open
41040 netlink socket and request notification about configuration changes.
41041 (main_loop_poll): Track netlink file descriptor and bump timestamp
41042 in case data becomes available.
41043 (main_loop_epoll): Likewise.
41044 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41045 (database_pers_head): Add extra_data fileds.
41046 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41047 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41048 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41050 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41051 in6ai data, call __free_in6ai.
41052 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41053 Add -DHAVE_NETLINK.
41054 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41055 interface information. Reuse previous data if netlink timestamp
41057 (__bump_nl_timestamp): New function.
41058 (__free_in6ai): New function.
41060 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41062 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41063 close_not_cancel_no_status here.
41064 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41066 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41069 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41072 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41073 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41074 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41076 2011-07-03 Andreas Jaeger <aj@suse.de>
41079 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41080 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41081 * math/libm-test.inc (sin_test): Add test case.
41083 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41086 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41087 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41089 * elf/chroot_canon.c (chroot_canon): Cleanups.
41091 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41094 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41095 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41097 * string/test-strchr.c: Make usable for strchrnul testing.
41098 * string/test-strchrnul.c: New file.
41099 * string/Makefile (strop-tests): Add strchrnul.
41101 * po/it.po: Update from translation team.
41102 * po/es.po: Likewise.
41104 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41106 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41107 the three constants needed as parameters. Drop the others.
41108 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41109 __m128i_strloadu_tolower.
41110 Create and initialize variable zero and use it in all the places
41111 where _mm_setzero_si128 was used.
41113 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41114 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41115 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41116 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41118 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41119 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41120 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41121 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41122 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41123 __mpranred, __mptan.
41124 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41125 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41126 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41127 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41128 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41129 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41131 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41132 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41134 2011-10-28 Andreas Schwab <schwab@redhat.com>
41136 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41137 redefine if SHARED.
41138 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41141 wide char related routines to wcsmbs subdir.
41143 2011-10-27 Andreas Schwab <schwab@redhat.com>
41146 * misc/sys/cdefs.h (__THROWNL): Define.
41147 * posix/unistd.h: Use __THREADNL instead of __THREAD
41148 for memory synchronization functions.
41150 2011-10-26 Roland McGrath <roland@hack.frob.com>
41153 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41155 * manual/stdio.texi (Obstack Streams): Node removed.
41157 2011-10-26 Andreas Schwab <schwab@redhat.com>
41159 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41160 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41161 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41163 * math/math_private.h (math_force_eval): Allow non-addressable
41165 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41167 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41169 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41170 file is not needed.
41172 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41174 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41175 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41176 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41177 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41178 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41179 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41181 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41182 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41183 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41184 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41185 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41186 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41187 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41188 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41189 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41190 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41191 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41192 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41193 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41194 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41195 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41196 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41197 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41198 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41199 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41201 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41202 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41205 place. Use VEX encoding when compiling for AVX.
41207 2011-10-25 Andreas Schwab <schwab@redhat.com>
41209 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41210 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41212 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41214 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41216 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41217 useless if() expression.
41218 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41219 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41220 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41221 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41222 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41223 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41224 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41226 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41227 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41228 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41229 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41230 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41231 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41232 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41233 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41234 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41235 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41236 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41238 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41240 2011-10-25 Andreas Schwab <schwab@redhat.com>
41242 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41244 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41246 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41248 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41249 .text section. Avoid duplicate constants.
41250 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41252 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41254 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41256 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41257 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41258 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41259 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41260 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41261 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41262 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41263 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41264 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41265 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41266 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41267 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41268 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41269 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41270 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41271 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41272 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41273 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41274 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41275 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41276 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41277 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41278 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41279 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41280 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41281 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41283 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41284 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41285 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41286 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41288 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41289 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41290 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41291 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41292 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41293 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41294 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41296 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41298 * sysdeps/x86_64/dla.h: Move to ...
41299 * sysdeps/x86_64/fpu/dla.h: ...here.
41300 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41301 situations. Use __builtin_fma only for gcc 4.6 and up.
41303 * config.make.in: Add have-mfma4 entry.
41304 * configure.in: Substitute libc_cv_cc_fma4.
41305 * math/Makefile (dbl-only-routines): Add sincostab.
41306 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41307 Use __sincostab not sincos.
41308 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41310 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41315 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41316 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41317 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41318 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41320 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41321 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41323 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41324 define aliases when function name is a macro.
41325 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41326 sysdeps/ieee754/dbl-64/sincos.tbl.
41327 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41328 fma4-enabled routines.
41329 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41330 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41331 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41332 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41333 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41334 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41335 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41336 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41337 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41338 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41339 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41340 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41341 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41342 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41343 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41344 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41345 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41346 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41347 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41348 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41349 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41350 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41351 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41352 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41353 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41354 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41355 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41356 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41357 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41358 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41360 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41371 2011-10-24 Andreas Schwab <schwab@redhat.com>
41373 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41375 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41379 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41381 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41383 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41384 Remove unused variable magic_bits.
41385 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41387 * string/strnlen.c: Define and use STRNLEN macro.
41388 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41389 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41391 * wcsmbs/wcslen.c: Define and use WCSLEN.
41392 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41393 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41394 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41395 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41396 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41397 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41398 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41400 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41403 strnlen-sse2-no-bsf.
41404 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41406 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41407 Add strnlen support.
41408 (USE_AS_STRNLEN): New macro.
41409 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41410 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41411 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41412 * sysdeps/x86_64/wcslen.S: New file.
41414 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41416 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41417 XMM-moves are used for copying on small sizes.
41419 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41421 * wcsmbs/Makefile (strop-tests): Add wcschr.
41422 * wcsmbs/test-wcschr.c: New file.
41423 * string/test-strchr.c: Update.
41424 Add wcschr support.
41427 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41429 * wcsmbs/Makefile (strop-tests): Add wcslen.
41430 * wcsmbs/test-wcslen.c: New file.
41431 * string/test-strlen.c: Update.
41432 Add wcslen support.
41435 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41437 * po/it.po: Update from translation team.
41439 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41441 * sysdeps/x86_64/wcscmp.S: Update.
41442 Fix wrong comparison semantics.
41443 wcscmp shall use signed comparison not unsigned.
41444 Don't use substraction to avoid overflow bug.
41445 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41446 * wcsmbc/wcscmp.c: Likewise.
41447 * string/test-strcmp.c: Likewise.
41448 Add new tests to check cases with negative values.
41450 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41452 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41453 * sysdeps/x86_64/dla.h: ...here. New file.
41454 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41455 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41459 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41461 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41462 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41464 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41467 __ynl_finite aliases.
41469 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41473 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41475 [DLA_FMA] (EMULV): Use DLA_FMA.
41476 [DLA_FMA] (MUL12): Use EMULV.
41477 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41478 that are not needed.
41479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41487 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41489 * math/s_nan.c: Undef __nan.
41490 * math/s_nanf.c: Undef __nanf.
41491 * math/s_nanl.c: Undef __nanl.
41492 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41495 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41497 * math/s_catan.c: Add branch predictions.
41498 * math/s_catanf.c: Likewise.
41499 * math/s_catanh.c: Likewise.
41500 * math/s_catanhf.c: Likewise.
41501 * math/s_catanhl.c: Likewise.
41502 * math/s_catanl.c: Likewise.
41503 * math/s_cexp.c: Likewise.
41504 * math/s_cexpf.c: Likewise.
41505 * math/s_cexpl.c: Likewise.
41506 * math/s_clog.c: Likewise.
41507 * math/s_clog10.c: Likewise.
41508 * math/s_clog10f.c: Likewise.
41509 * math/s_clog10l.c: Likewise.
41510 * math/s_clogf.c: Likewise.
41511 * math/s_clogl.c: Likewise.
41512 * math/s_csqrt.c: Likewise.
41513 * math/s_csqrtf.c: Likewise.
41514 * math/s_csqrtl.c: Likewise.
41515 * math/s_ctanf.c: Likewise.
41516 * math/s_ctanh.c: Likewise.
41517 * math/s_ctanhf.c: Likewise.
41518 * math/s_ctanhl.c: Likewise.
41519 * math/s_ctanl.c: Likewise.
41521 * math/math_private.h: Define __nan, __nanf, __nanl.
41522 * math/s_cacosh.c: Include <math_private.h>.
41523 * math/s_cacoshl.c: Likewise.
41524 * math/s_casinh.c: Likewise.
41525 * math/s_casinhf.c: Likewise.
41526 * math/s_casinhl.c: Likewise.
41527 * math/s_ccos.c: Rely entire on ccosh.
41528 * math/s_ccosf.c: Rely entire on ccoshf.
41529 * math/s_ccosl.c: Rely entirely on ccoshl.
41530 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41531 Remove tests for FE_INVALID.
41532 * math/s_ccoshf.c: Likewise.
41533 * math/s_ccoshl.c: Likewise.
41534 * math/s_csin.c: Likewise.
41535 * math/s_csinf.c: Likewise.
41536 * math/s_csinh.c Likewise.
41537 * math/s_csinhf.c: Likewise.
41538 * math/s_csinhl.c: Likewise.
41539 * math/s_csinl.c: Likewise.
41540 * math/s_ctan.c: Likewise.
41541 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41542 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41543 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41545 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41548 compilation problems.
41550 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41553 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41555 * sysdeps/i386/configure.in: Test for -mfma4 option.
41556 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41557 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41558 COMMON_CPUID_INDEX_80000001.
41559 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41560 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41561 use it if FMA3 is not supported.
41562 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41564 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41565 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41567 2011-10-20 Andreas Schwab <schwab@redhat.com>
41570 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41571 it would create a cycle with a link time dependency.
41573 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41575 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41577 * string/Makefile (strop-tests): Add rawmemchr.
41578 * string/test-rawmemchr.c: New file.
41580 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41582 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41583 when compiling str{,n}casecmp and when AVX is available. Hook up
41584 new optimized code in initializers.
41586 2011-10-19 Andreas Schwab <schwab@redhat.com>
41588 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41589 __feraiseexcept instead of feraiseexcept.
41591 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41593 * math/math_private.h: Define defaults for libc_fetestexcept and
41595 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41596 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41597 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41598 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41599 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41600 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41601 libc_fetestexcept and libc_feupdateenv.
41603 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41604 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41605 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41606 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41607 libc_feholdexcept_setround.
41609 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41610 Add s_nearbyint-c and s_nearbyintf-c.
41611 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41612 nearbyintf inlines.
41613 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41614 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41615 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41616 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41618 * math/math_private.h: Define defaults for libc_fegetround,
41619 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41620 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41621 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41623 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41624 standard functions.
41625 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41626 Remove comments and hacks for old compiler versions.
41627 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41628 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41629 libc_feholdexceptl.
41631 2011-10-18 Andreas Schwab <schwab@redhat.com>
41633 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41634 (__feraiseexcept_renamed): Add __NTH.
41635 (feraiseexcept): Add __NTH. Rename local variables to fix
41636 namespace violations.
41638 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41640 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41642 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41644 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41645 recently added interfaces.
41646 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41648 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41649 about macro parameter expansion.
41651 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41652 __NO_MATH_INLINES is defined. Cleanups.
41654 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41655 and __floorf is target has SSE4.1.
41656 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41657 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41658 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41659 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41661 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41663 (floorf): Likewise.
41665 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41667 2011-10-17 Andreas Schwab <schwab@redhat.com>
41669 * misc/sys/cdefs.h: Fix last change.
41671 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41674 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41676 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41678 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41683 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41684 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41685 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41686 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41687 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41688 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41689 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41690 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41691 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41692 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41693 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41694 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41695 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41696 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41697 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41698 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41699 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41701 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41702 ceil, ceilf, floor, floorf.
41704 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41705 Perform IRELATIVE relocations last.
41707 * elf/do-rel.h: Add another parameter nrelative, replacing the
41708 local variable with the same name. Change name of the function
41709 to end in Rel or Rela (uppercase).
41710 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41711 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41712 elf_dynamic_do_##reloc function.
41714 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41716 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41717 is sufficient, at least on modern CPUs.
41719 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41721 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41722 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41724 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41726 * math/bits/math-finite.h: Add entries for exp.
41727 * math/e_expl.c: Add __*_finite alias.
41728 * sysdeps/i386/fpu/e_exp.S: Likewise.
41729 * sysdeps/i386/fpu/e_expf.S: Likewise.
41730 * sysdeps/i386/fpu/e_expl.c: Likewise.
41731 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41732 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41735 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41736 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41737 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41739 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41740 is sufficient, at least on modern CPUs.
41742 * ctype/ctype-info.c (__ctype_init): Define.
41743 * include/ctype.h (__ctype_init): Declare.
41744 (__ctype_b_loc): The variable is always initialized.
41745 (__ctype_toupper_loc): Likewise.
41746 (__ctype_tolower_loc): Likewise.
41747 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41748 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41750 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41752 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41754 * configure.in: Also look in $cxxmachine/include for C++ system
41757 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41759 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41760 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41761 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41762 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41763 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41764 (USE_AS_WMEMCMP): New macro.
41766 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41767 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41768 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41769 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41771 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41772 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41773 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41774 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41775 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41776 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41777 (USE_AS_WMEMCMP): New macro.
41778 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41779 * sysdeps/string/test-memcmp.c: Update.
41780 Fix simple_wmemcmp.
41782 * wcsmbs/wmemcmp.c: Update.
41783 (WMEMCMP): New macro.
41786 2011-10-12 Andreas Jaeger <aj@suse.de>
41789 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41791 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41793 * libio/iofwide.c (do_length): Avoid warning.
41795 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41797 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41799 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41801 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41802 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41803 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41804 * sysdeps/i386/i686/fpu/e_log.S: New file.
41805 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41806 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41808 * ctype/ctype.h: Add support for inlined isXXX functions when
41809 compiling C++ code.
41811 2011-10-14 Andreas Schwab <schwab@redhat.com>
41813 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41815 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41817 2011-10-13 Roland McGrath <roland@hack.frob.com>
41820 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41822 2011-10-13 Andreas Schwab <schwab@redhat.com>
41824 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41825 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41828 * sysdeps/x86_64/memrchr.S: Check for zero size.
41830 * string/stratcliff.c: Add memrchr tests.
41832 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41835 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41836 rawmemchr-sse2 rawmemchr-sse2-bsf.
41837 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41838 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41839 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41840 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41841 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41842 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41843 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41844 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41845 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41846 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41847 * string/memrchr.c (MEMRCHR): New macro.
41849 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41851 Add integration with gcc's -ffinite-math-only and optimize wrapper
41853 * Versions.def: Define GLIBC_2.15 version for libm.
41854 * math/Makefile (headers): Add bits/math-finite.h.
41855 * math/bits/math-finite.h: New file.
41856 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41857 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41858 * math/e_acoshl.c: Add __*_finite alias.
41859 * math/e_acosl.c: Likewise.
41860 * math/e_asinl.c: Likewise.
41861 * math/e_atan2l.c: Likewise.
41862 * math/e_atanhl.c: Likewise.
41863 * math/e_coshl.c: Likewise.
41864 * math/e_exp10.c: Likewise.
41865 * math/e_exp10f.c: Likewise.
41866 * math/e_exp10l.c: Likewise.
41867 * math/e_exp2l.c: Likewise.
41868 * math/e_fmodl.c: Likewise.
41869 * math/e_gammal_r.c: Likewise.
41870 * math/e_hypotl.c: Likewise.
41871 * math/e_j0l.c: Likewise.
41872 * math/e_j1l.c: Likewise.
41873 * math/e_jnl.c: Likewise.
41874 * math/e_lgammal_r.c: Likewise.
41875 * math/e_log10l.c: Likewise.
41876 * math/e_log2l.c: Likewise.
41877 * math/e_logl.c: Likewise.
41878 * math/e_powl.c: Likewise.
41879 * math/e_sinhl.c: Likewise.
41880 * math/e_sqrtl.c: Likewise.
41881 * math/e_scalb.c: Completely rewritten and optimized.
41882 * math/e_scalbf.c: Likewise.
41883 * math/e_scalbl.c: Likewise.
41884 * math/w_acos.c: Likewise.
41885 * math/w_acosf.c: Likewise.
41886 * math/w_acosl.c: Likewise.
41887 * math/w_acosh.c: Likewise.
41888 * math/w_acoshf.c: Likewise.
41889 * math/w_acoshl.c: Likewise.
41890 * math/w_asin.c: Likewise.
41891 * math/w_asinf.c: Likewise.
41892 * math/w_asinl.c: Likewise.
41893 * math/w_atan2.c: Likewise.
41894 * math/w_atan2f.c: Likewise.
41895 * math/w_atan2l.c: Likewise.
41896 * math/w_atanh.c: Likewise.
41897 * math/w_atanhf.c: Likewise.
41898 * math/w_atanhl.c: Likewise.
41899 * math/w_exp10.c: Likewise.
41900 * math/w_exp10f.c: Likewise.
41901 * math/w_exp10l.c: Likewise.
41902 * math/w_fmod.c: Likewise.
41903 * math/w_fmodf.c: Likewise.
41904 * math/w_fmodl.c: Likewise.
41905 * math/w_j0.c: Likewise.
41906 * math/w_j0f.c: Likewise.
41907 * math/w_j0l.c: Likewise.
41908 * math/w_j1.c: Likewise.
41909 * math/w_j1f.c: Likewise.
41910 * math/w_j1l.c: Likewise.
41911 * math/w_jn.c: Likewise.
41912 * math/w_jnf.c: Likewise.
41913 * math/w_log.c: Likewise.
41914 * math/w_logf.c: Likewise.
41915 * math/w_logl.c: Likewise.
41916 * math/w_log10.c: Likewise.
41917 * math/w_log10f.c: Likewise.
41918 * math/w_log10l.c: Likewise.
41919 * math/w_log2.c: Likewise.
41920 * math/w_log2f.c: Likewise.
41921 * math/w_log2l.c: Likewise.
41922 * math/w_pow.c: Likewise.
41923 * math/w_powf.c: Likewise.
41924 * math/w_powl.c: Likewise.
41925 * math/w_remainder.c: Likewise.
41926 * math/w_remainderf.c: Likewise.
41927 * math/w_remainderl.c: Likewise.
41928 * math/w_scalb.c: Likewise.
41929 * math/w_scalbf.c: Likewise.
41930 * math/w_scalbl.c: Likewise.
41931 * math/w_sqrt.c: Likewise.
41932 * math/w_sqrtf.c: Likewise.
41933 * math/w_sqrtl.c: Likewise.
41934 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41935 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41937 * math/math_private.h: Declare __kernel_standard_f.
41938 * math/w_cosh.c: Remove cruft and optimize a bit.
41939 * math/w_coshf.c: Likewise.
41940 * math/w_coshl.c: Likewise.
41941 * math/w_exp2.c: Likewise.
41942 * math/w_exp2f.c: Likewise.
41943 * math/w_exp2l.c: Likewise.
41944 * math/w_hypot.c: Likewise.
41945 * math/w_hypotf.c: Likewise.
41946 * math/w_hypotl.c: Likewise.
41947 * math/w_lgamma.c: Likewise.
41948 * math/w_lgamma_r.c: Likewise.
41949 * math/w_lgammaf.c: Likewise.
41950 * math/w_lgammaf_r.c: Likewise.
41951 * math/w_lgammal.c: Likewise.
41952 * math/w_lgammal_r.c: Likewise.
41953 * math/w_sinh.c: Likewise.
41954 * math/w_sinhf.c: Likewise.
41955 * math/w_sinhl.c: Likewise.
41956 * math/w_tgamma.c: Likewise.
41957 * math/w_tgammaf.c: Likewise.
41958 * math/w_tgammal.c: Likewise.
41959 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41960 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41961 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41962 Minor optimizations. Pretty printing. Remove cruft.
41963 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41964 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41965 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41966 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41967 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41968 * sysdeps/i386/fpu/e_asin.S: Likewise.
41969 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41970 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41971 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41972 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41973 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41974 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41975 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41976 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41977 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41978 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41979 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41980 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41981 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41982 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41983 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41984 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41985 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41986 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41987 * sysdeps/i386/fpu/e_log.S: Likewise.
41988 * sysdeps/i386/fpu/e_log10.S: Likewise.
41989 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41990 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41991 * sysdeps/i386/fpu/e_log2.S: Likewise.
41992 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41993 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41994 * sysdeps/i386/fpu/e_logf.S: Likewise.
41995 * sysdeps/i386/fpu/e_logl.S: Likewise.
41996 * sysdeps/i386/fpu/e_pow.S: Likewise.
41997 * sysdeps/i386/fpu/e_powf.S: Likewise.
41998 * sysdeps/i386/fpu/e_powl.S: Likewise.
41999 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42000 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42001 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42002 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42003 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42004 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42005 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42006 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42007 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42008 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42012 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42014 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42015 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42016 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42017 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42018 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42019 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42021 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42022 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42024 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42028 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42029 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42030 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42031 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42032 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42033 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42034 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42035 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42036 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42037 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42038 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42039 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42040 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42041 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42042 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42043 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42044 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42045 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42046 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42047 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42048 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42049 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42050 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42051 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42052 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42053 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42054 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42057 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42058 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42059 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42060 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42061 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42062 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42063 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42064 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42065 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42086 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42087 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42088 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42089 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42090 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42091 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42093 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42094 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42096 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42099 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42100 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42101 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42102 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42103 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42104 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42105 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42106 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42107 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42108 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42109 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42110 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42111 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42112 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42113 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42114 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42115 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42116 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42117 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42118 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42119 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42120 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42121 (__isnanf): Likewise.
42122 (__isinf_ns): Likewise.
42123 (__isinf_nsf): Likewise.
42124 (__finite): Likewise.
42125 (__finitef): Likewise.
42126 (__ieee754_sqrt): Define as macro.
42127 (__ieee754_sqrtf): Define as macro.
42128 (__ieee754_sqrtl): Define as macro.
42129 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42131 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42132 __FINITE_MATH_ONLY__ consistent.
42133 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42135 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42137 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42140 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42142 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42144 * po/ja.po: Update from translation team.
42146 2011-10-08 Roland McGrath <roland@hack.frob.com>
42148 * locale/programs/locarchive.c (prepare_address_space): New function.
42149 (create_archive, enlarge_archive, open_archive): Use it.
42151 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42152 inside [SHARED], where it is used.
42154 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42156 * nss/getent.c (netgroup_keys): Remove unused variable.
42157 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42159 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42161 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42162 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42163 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42164 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42165 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42166 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42167 * math/Makefile (libm-calls): Add s_isinf_ns.
42168 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42169 * math/multc3.c: Likewise.
42170 * math/s_casin.c: Likewise.
42171 * math/s_casinf.c: Likewise.
42172 * math/s_casinl.c: Likewise.
42173 * math/s_ccos.c: Likewise.
42174 * math/s_ccosf.c: Likewise.
42175 * math/s_ccosl.c: Likewise.
42176 * math/s_ctan.c: Likewise.
42177 * math/s_ctanf.c: Likewise.
42178 * math/s_ctanh.c: Likewise.
42179 * math/s_ctanhf.c: Likewise.
42180 * math/s_ctanhl.c: Likewise.
42181 * math/s_ctanl.c: Likewise.
42182 * math/w_fmod.c: Likewise.
42183 * math/w_fmodf.c: Likewise.
42184 * math/w_fmodl.c: Likewise.
42185 * math/w_remainder.c: Likewise.
42186 * math/w_remainderf.c: Likewise.
42187 * math/w_remainderl.c: Likewise.
42188 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42189 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42190 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42192 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42193 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42194 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42195 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42197 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42199 * stdio-common/printf_fphex.c: Likewise.
42200 * stdio-common/printf_size.c: Likewise.
42202 * math/e_exp10.c: Include math_private.h using <...> not "...".
42203 * math/e_exp10f.c: Likewise.
42204 * math/e_exp10l.c: Likewise.
42205 * math/e_exp2l.c: Likewise.
42206 * math/e_j0l.c: Likewise.
42207 * math/e_j1l.c: Likewise.
42208 * math/e_jnl.c: Likewise.
42209 * math/e_lgammal_r.c: Likewise.
42210 * math/e_rem_pio2l.c: Likewise.
42211 * math/e_scalb.c: Likewise.
42212 * math/e_scalbf.c: Likewise.
42213 * math/e_scalbl.c: Likewise.
42214 * math/k_cosl.c: Likewise.
42215 * math/k_sinl.c: Likewise.
42216 * math/k_tanl.c: Likewise.
42217 * math/s_cacoshf.c: Likewise.
42218 * math/s_catan.c: Likewise.
42219 * math/s_catanf.c: Likewise.
42220 * math/s_catanh.c: Likewise.
42221 * math/s_catanhf.c: Likewise.
42222 * math/s_catanhl.c: Likewise.
42223 * math/s_catanl.c: Likewise.
42224 * math/s_ccosh.c: Likewise.
42225 * math/s_ccoshf.c: Likewise.
42226 * math/s_ccoshl.c: Likewise.
42227 * math/s_cexp.c: Likewise.
42228 * math/s_cexpf.c: Likewise.
42229 * math/s_cexpl.c: Likewise.
42230 * math/s_clog.c: Likewise.
42231 * math/s_clog10.c: Likewise.
42232 * math/s_clog10f.c: Likewise.
42233 * math/s_clog10l.c: Likewise.
42234 * math/s_clogf.c: Likewise.
42235 * math/s_clogl.c: Likewise.
42236 * math/s_csin.c: Likewise.
42237 * math/s_csinf.c: Likewise.
42238 * math/s_csinh.c: Likewise.
42239 * math/s_csinhf.c: Likewise.
42240 * math/s_csinhl.c: Likewise.
42241 * math/s_csinl.c: Likewise.
42242 * math/s_csqrt.c: Likewise.
42243 * math/s_csqrtf.c: Likewise.
42244 * math/s_csqrtl.c: Likewise.
42245 * math/s_ctan.c: Likewise.
42246 * math/s_ctanf.c: Likewise.
42247 * math/s_ctanh.c: Likewise.
42248 * math/s_ctanhf.c: Likewise.
42249 * math/s_ctanhl.c: Likewise.
42250 * math/s_ctanl.c: Likewise.
42251 * math/s_ldexp.c: Likewise.
42252 * math/s_ldexpf.c: Likewise.
42253 * math/s_ldexpl.c: Likewise.
42254 * math/s_significand.c: Likewise.
42255 * math/s_significandf.c: Likewise.
42256 * math/s_significandl.c: Likewise.
42257 * math/w_acos.c: Likewise.
42258 * math/w_acosf.c: Likewise.
42259 * math/w_acosh.c: Likewise.
42260 * math/w_acoshf.c: Likewise.
42261 * math/w_acoshl.c: Likewise.
42262 * math/w_acosl.c: Likewise.
42263 * math/w_asin.c: Likewise.
42264 * math/w_asinf.c: Likewise.
42265 * math/w_asinl.c: Likewise.
42266 * math/w_atan2.c: Likewise.
42267 * math/w_atan2f.c: Likewise.
42268 * math/w_atan2l.c: Likewise.
42269 * math/w_atanh.c: Likewise.
42270 * math/w_atanhf.c: Likewise.
42271 * math/w_atanhl.c: Likewise.
42272 * math/w_cosh.c: Likewise.
42273 * math/w_coshf.c: Likewise.
42274 * math/w_coshl.c: Likewise.
42275 * math/w_dremf.c: Likewise.
42276 * math/w_exp10.c: Likewise.
42277 * math/w_exp10f.c: Likewise.
42278 * math/w_exp10l.c: Likewise.
42279 * math/w_exp2.c: Likewise.
42280 * math/w_exp2f.c: Likewise.
42281 * math/w_fmod.c: Likewise.
42282 * math/w_fmodf.c: Likewise.
42283 * math/w_fmodl.c: Likewise.
42284 * math/w_hypot.c: Likewise.
42285 * math/w_hypotf.c: Likewise.
42286 * math/w_hypotl.c: Likewise.
42287 * math/w_j0.c: Likewise.
42288 * math/w_j0f.c: Likewise.
42289 * math/w_j0l.c: Likewise.
42290 * math/w_j1.c: Likewise.
42291 * math/w_j1f.c: Likewise.
42292 * math/w_j1l.c: Likewise.
42293 * math/w_jn.c: Likewise.
42294 * math/w_jnf.c: Likewise.
42295 * math/w_jnl.c: Likewise.
42296 * math/w_lgamma.c: Likewise.
42297 * math/w_lgamma_r.c: Likewise.
42298 * math/w_lgammaf.c: Likewise.
42299 * math/w_lgammaf_r.c: Likewise.
42300 * math/w_lgammal.c: Likewise.
42301 * math/w_lgammal_r.c: Likewise.
42302 * math/w_log.c: Likewise.
42303 * math/w_log10.c: Likewise.
42304 * math/w_log10f.c: Likewise.
42305 * math/w_log10l.c: Likewise.
42306 * math/w_log2.c: Likewise.
42307 * math/w_log2f.c: Likewise.
42308 * math/w_log2l.c: Likewise.
42309 * math/w_logf.c: Likewise.
42310 * math/w_logl.c: Likewise.
42311 * math/w_pow.c: Likewise.
42312 * math/w_powf.c: Likewise.
42313 * math/w_powl.c: Likewise.
42314 * math/w_remainder.c: Likewise.
42315 * math/w_remainderf.c: Likewise.
42316 * math/w_remainderl.c: Likewise.
42317 * math/w_scalb.c: Likewise.
42318 * math/w_scalbf.c: Likewise.
42319 * math/w_scalbl.c: Likewise.
42320 * math/w_sinh.c: Likewise.
42321 * math/w_sinhf.c: Likewise.
42322 * math/w_sinhl.c: Likewise.
42323 * math/w_sqrt.c: Likewise.
42324 * math/w_sqrtf.c: Likewise.
42325 * math/w_sqrtl.c: Likewise.
42326 * math/w_tgamma.c: Likewise.
42327 * math/w_tgammaf.c: Likewise.
42328 * math/w_tgammal.c: Likewise.
42330 * po/ja.po: Update from translation team.
42332 2011-09-29 Andreas Jaeger <aj@suse.de>
42335 * sunrpc/netname.c (netname2host): Fix logic.
42339 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42341 * math/w_remainder.c (__remainder): Likewise.
42342 * math/w_remainderf.c (__remainderf): Likewise.
42343 * math/libm-test.inc (remainder_test): Add test cases.
42345 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42347 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42350 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42352 * string/test-memcmp.c: Avoid unncessary #defines.
42353 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42355 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42357 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42358 Use new sse2 version for core i3 - i7 as it's faster
42359 than sse42 version.
42360 (bit_Prefer_PMINUB_for_stringop): New.
42361 * sysdeps/x86_64/rawmemchr.S: Update.
42362 Replace with faster SSE2 version.
42363 * sysdeps/x86_64/memrchr.S: New file.
42364 * sysdeps/x86_64/memchr.S: Update.
42365 Replace with faster SSE2 version.
42367 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42369 * elf/dl-load.c (lose): Add cast to avoid warning.
42371 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42373 * po/ca.po: Update from translation team.
42375 * inet/getnetgrent_r.c: Hook up nscd.
42376 * nscd/Makefile (routines): Add nscd_netgroup.
42377 (nscd-modules): Add netgroupcache.
42378 (CFLAGS-netgroupcache.c): Define.
42379 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42380 (cache_search): Add const to second parameter.
42381 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42383 (dbs): Add netgrdb entry.
42384 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42385 (verify_persistent_db): Handle netgrdb.
42386 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42387 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42389 (netgroup_response_header): Define.
42390 (innetgroup_response_header): Define.
42391 (datahead): Add netgroup_response_header and innetgroup_response_header
42393 * nscd/nscd.conf: Add entries for netgroup cache.
42394 * nscd/nscd.h (dbtype): Add netgrdb.
42395 (_PATH_NSCD_NETGROUP_DB): Define.
42396 (netgroup_iov_disabled): Declare.
42397 (xmalloc, xcalloc, xrealloc): Move declarations here.
42398 (cache_search): Adjust prototype.
42399 Add netgroup-related prototypes.
42400 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42401 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42402 (__nscd_innetgr): Declare.
42403 * nscd/selinux.c (perms): Use access_vector_t as element type and
42404 add netgroup-related initializers.
42405 * nscd/netgroupcache.c: New file.
42406 * nscd/nscd_netgroup.c: New file.
42407 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42408 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42409 For four parameters use innetgr.
42410 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42411 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42412 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42413 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42415 * nscd/connections.c (register_traced_file): Don't register file
42416 for disabled databases.
42418 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42420 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42422 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42423 from tree and freeing node.
42425 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42427 * nss/nsswitch.c (__nss_database_lookup): Handle
42428 nss_parse_service_list out of memory case.
42430 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42432 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42433 out of memory case.
42435 2011-10-04 Andreas Schwab <schwab@redhat.com>
42437 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42438 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42440 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42441 elf_machine_rela, elf_machine_lazy_rel.
42442 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42443 (ELF_DYNAMIC_DO_REL): Likewise.
42444 (ELF_DYNAMIC_DO_RELA): Likewise.
42445 (ELF_DYNAMIC_RELOCATE): Likewise.
42446 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42447 to ELF_DYNAMIC_DO_REL.
42448 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42449 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42450 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42452 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42453 skip_ifunc, don't call ifunc function if non-zero.
42454 (elf_machine_rela): Likewise.
42455 (elf_machine_lazy_rel): Likewise.
42456 (elf_machine_lazy_rela): Likewise.
42457 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42458 (elf_machine_lazy_rel): Likewise.
42459 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42461 (elf_machine_lazy_rel): Likewise.
42462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42464 (elf_machine_lazy_rel): Likewise.
42465 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42466 (elf_machine_lazy_rel): Likewise.
42467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42468 (elf_machine_lazy_rel): Likewise.
42469 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42470 (elf_machine_lazy_rel): Likewise.
42471 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42472 (elf_machine_lazy_rel): Likewise.
42473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42474 (elf_machine_lazy_rel): Likewise.
42475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42476 (elf_machine_lazy_rel): Likewise.
42478 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42480 * nss/nss_files/files-init.c (_nss_files_init): Use static
42481 initialization for all the *_traced_file variables.
42483 2011-09-28 Andreas Schwab <schwab@redhat.com>
42485 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42487 2011-09-27 Roland McGrath <roland@hack.frob.com>
42490 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42492 2011-09-27 Andreas Schwab <schwab@redhat.com>
42494 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42495 Reread the line before reparsing it.
42497 2011-09-26 Andreas Schwab <schwab@redhat.com>
42499 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42501 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42502 Maxim Kuvyrkov <maxim@codesourcery.com>
42503 Joseph Myers <joseph@codesourcery.com>
42505 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42506 if needed for __stack_chk_guard.
42508 2011-09-19 Roland McGrath <roland@hack.frob.com>
42510 * sysdeps/posix/spawni.c (script_execute): Always define it.
42511 It will be optimized away if unused.
42512 (maybe_script_execute): New function.
42513 (__spawni): Call it.
42515 * Makerules: Don't include tls.make.
42516 (config-tls): Always set to thread.
42517 * tls.make.c: File removed.
42519 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42521 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42522 * config.make.in (CPPFLAGS-config): New substituted variable.
42524 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42529 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42530 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42532 2011-09-15 Roland McGrath <roland@hack.frob.com>
42534 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42535 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42536 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42537 (CALL_FAIL): Likewise.
42538 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42539 (CALL_FAIL): Macro removed.
42540 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42542 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42544 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42545 for __FINITE_MATH_ONLY__ == 1.
42547 2011-09-15 Andreas Schwab <schwab@redhat.com>
42549 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42550 __ieee754_sqrt instead of sqrt.
42551 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42552 __ieee754_sqrtf instead of sqrtf.
42553 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42554 __floorf instead of floorf.
42555 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42556 __floorf, __truncf instead of floorf, truncf.
42558 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42560 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42562 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42563 __extern_always_inline.
42564 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42567 2011-09-14 Andreas Schwab <schwab@redhat.com>
42569 * elf/rtld.c (dl_main): Also relocate in dependency order when
42570 doing symbol dependency testing.
42572 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42575 Always define `refsym'.
42577 2011-09-13 Andreas Schwab <schwab@redhat.com>
42579 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42580 (__FD_ELT): Renamed from __FDELT.
42581 * misc/bits/select2.h (__FD_ELT): Likewise.
42582 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42583 __FD_MASK instead of __FDELT, __FDMASK.
42584 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42586 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42589 * elf/Makefile (gen-ldd): Fix pattern.
42591 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42592 (init_tls): Likewise.
42594 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42598 2011-09-12 Andreas Schwab <schwab@redhat.com>
42600 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42601 `struct cmsghdr *' instead of `void *'.
42602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42605 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42607 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42609 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42610 ldd_rewrite_script.
42612 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42614 * configure.in: Remove --with-tls option.
42615 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42616 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42617 out in case it is missing.
42618 * sysdeps/ia64/elf/configure.in: Likewise.
42619 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42620 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42621 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42622 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42623 * sysdeps/sh/elf/configure.in: Likewise.
42624 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42625 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42626 * sysdeps/x86_64/elf/configure.in: Likewise.
42627 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42628 * sysdeps/mach/hurd/tls.h: Likewise.
42631 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42634 * configure.in: Fix use of AC_INIT.
42636 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42638 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42640 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42642 * malloc/hooks.c: Likewise.
42645 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42646 variables statically.
42647 (narenas): Initialize.
42648 (list_lock): Initialize.
42649 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42650 initializtion of main_arena and list_lock. Small cleanups.
42651 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42652 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42653 Add initializers to main_arena and mp_.
42654 (malloc_state): Remove pagesize member. Change all users to use
42657 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42658 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42659 is always initialized.
42661 * malloc/malloc.c: Removed unused configurations and dead code.
42662 * malloc/arena.c: Likewise.
42663 * malloc/hooks.c: Likewise.
42664 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42666 * include/tls.h: Removed. USE___THREAD must always be defined.
42667 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42668 * elf/dl-libc.c: Likewise.
42669 * elf/dl-tsd.c: Likewise.
42670 * include/errno.h: Likewise.
42671 * include/netdb.h: Likewise.
42672 * include/resolv.h: Likewise.
42673 * inet/herrno-loc.c: Likewise.
42674 * inet/herrno.c: Likewise.
42675 * malloc/arena.c: Likewise.
42676 * malloc/hooks.c: Likewise.
42677 * malloc/malloc.c: Likewise.
42678 * resolv/res-state.c: Likewise.
42679 * resolv/res_libc.c: Likewise.
42680 * sysdeps/i386/dl-machine.h: Likewise.
42681 * sysdeps/ia64/dl-machine.h: Likewise.
42682 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42683 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42684 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42685 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42686 * sysdeps/sh/dl-machine.h: Likewise.
42687 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42688 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42689 * sysdeps/unix/i386/sysdep.S: Likewise.
42690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42691 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42693 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42695 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42696 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42700 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42701 * sysdeps/x86_64/dl-machine.h: Likewise.
42702 * tls.make.c: Likewise.
42704 * configure.in: Remove --with-__thread option. Make tests for
42705 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42706 tls_model attribute fail if no support is available. Remove
42708 * Makeconfig: Adjust for dropped configure option. All features are
42710 * Makerules: Likewise.
42711 * Versions.def: Likewise.
42712 * argp/argp-fmtstream.c: Likewise.
42713 * argp/argp-fmtstream.h: Likewise.
42714 * argp/argp-help.c: Likewise.
42715 * assert/assert.c: Likewise.
42716 * config.h.in: Likewise.
42717 * config.make.in: Likewise.
42718 * configure: Likewise.
42719 * configure.in: Likewise.
42720 * csu/Versions: Likewise.
42721 * csu/init.c: Likewise.
42722 * elf/tst-audit2.c: Likewise.
42723 * elf/tst-tls10.c: Likewise.
42724 * elf/tst-tls10.h: Likewise.
42725 * elf/tst-tls11.c: Likewise.
42726 * elf/tst-tls12.c: Likewise.
42727 * elf/tst-tls14.c: Likewise.
42728 * elf/tst-tlsmod11.c: Likewise.
42729 * elf/tst-tlsmod12.c: Likewise.
42730 * elf/tst-tlsmod13.c: Likewise.
42731 * elf/tst-tlsmod13a.c: Likewise.
42732 * elf/tst-tlsmod14a.c: Likewise.
42733 * elf/tst-tlsmod15b.c: Likewise.
42734 * elf/tst-tlsmod16a.c: Likewise.
42735 * elf/tst-tlsmod16b.c: Likewise.
42736 * elf/tst-tlsmod7.c: Likewise.
42737 * elf/tst-tlsmod8.c: Likewise.
42738 * elf/tst-tlsmod9.c: Likewise.
42739 * gmon/gmon.c: Likewise.
42740 * grp/fgetgrent_r.c: Likewise.
42741 * grp/putgrent.c: Likewise.
42742 * hurd/fopenport.c: Likewise.
42743 * include/libc-symbols.h: Likewise.
42744 * include/tls.h: Likewise.
42745 * intl/gettextP.h: Likewise.
42746 * intl/loadinfo.h: Likewise.
42747 * locale/global-locale.c: Likewise.
42748 * locale/localeinfo.h: Likewise.
42749 * mach/devstream.c: Likewise.
42750 * malloc/arena.c: Likewise.
42751 * malloc/set-freeres.c: Likewise.
42752 * misc/err.c: Likewise.
42753 * misc/getttyent.c: Likewise.
42754 * misc/mntent_r.c: Likewise.
42755 * posix/getopt.c: Likewise.
42756 * posix/wordexp.c: Likewise.
42757 * pwd/fgetpwent_r.c: Likewise.
42758 * resolv/Versions: Likewise.
42759 * resolv/res_hconf.c: Likewise.
42760 * shadow/fgetspent_r.c: Likewise.
42761 * shadow/putspent.c: Likewise.
42762 * stdio-common/printf_fphex.c: Likewise.
42763 * stdio-common/tmpfile.c: Likewise.
42764 * stdlib/abort.c: Likewise.
42765 * stdlib/fmtmsg.c: Likewise.
42766 * sunrpc/auth_unix.c: Likewise.
42767 * sunrpc/clnt_perr.c: Likewise.
42768 * sunrpc/clnt_tcp.c: Likewise.
42769 * sunrpc/clnt_udp.c: Likewise.
42770 * sunrpc/clnt_unix.c: Likewise.
42771 * sunrpc/openchild.c: Likewise.
42772 * sunrpc/svc_simple.c: Likewise.
42773 * sunrpc/svc_tcp.c: Likewise.
42774 * sunrpc/svc_udp.c: Likewise.
42775 * sunrpc/svc_unix.c: Likewise.
42776 * sunrpc/xdr.c: Likewise.
42777 * sunrpc/xdr_array.c: Likewise.
42778 * sunrpc/xdr_rec.c: Likewise.
42779 * sunrpc/xdr_ref.c: Likewise.
42780 * sunrpc/xdr_stdio.c: Likewise.
42782 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42784 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42786 2011-07-03 Andreas Jaeger <aj@suse.de>
42788 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42789 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42790 regenerate with gen-libm-tests.pl.
42792 2010-05-12 Petr Baudis <pasky@suse.cz>
42795 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42796 around j0() zero points by switching to j1().
42797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42798 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42800 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42802 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42804 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42806 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42809 Patch in part by Pavel Roskin <proski@gnu.org>.
42812 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42814 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42815 Free memory block if necessary.
42818 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42819 be NULL. Don't lock in this case.
42821 2011-09-09 Roland McGrath <roland@hack.frob.com>
42823 * elf/elf.h (ELFOSABI_GNU): New macro.
42824 (ELFOSABI_LINUX): Define to that.
42826 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42828 * string/strncat.c (strncat): Undef the symbol in case it has been
42829 defined in bits/string.h.
42831 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42833 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42835 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42838 2011-08-17 Andreas Jaeger <aj@suse.de>
42840 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42842 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42843 Ian Lance Taylor <iant@google.com>
42845 * math/libm-test.inc (lround_test): New testcase.
42846 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42848 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42850 * Makefile: Remove support for automatic cvs check-ins.
42851 * Makerules: Likewise.
42852 * config.make.in: Likewise.
42853 * configure.in: Likewise.
42854 * intl/Makefile: Likewise.
42855 * locale/Makefile: Likewise.
42856 * po/Makefile: Likewise.
42857 * posix/Makefile: Likewise.
42858 * sysdeps/gnu/Makefile: Likewise.
42859 * sysdeps/mach/hurd/Makefile: Likewise.
42860 * sysdeps/sparc/sparc32/Makefile: Likewise.
42863 * posix/Makefile (bug-regex32-ENV): Define.
42864 Patch by John Stanley <jpsinthemix@verizon.net>.
42866 * misc/Makefile (headers): Add bits/select2.h.
42867 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42868 * misc/bits/select2.h: New file.
42869 * include/bits/select2.h: New file.
42870 * debug/Makefile (routines): Add fdelt_chk.
42871 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42872 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42874 * debug/fdelt_chk.c: New file.
42876 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42877 * wcsmbs/test-wmemcmp.c: Likewise.
42878 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42879 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42881 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42883 * string/Makefile (strop-tests): Add memcmp.
42884 * string/test-wmemcmp.c: New file.
42885 * string/test-memcmp.c: Add wmemcmp support.
42887 2011-09-08 Roland McGrath <roland@hack.frob.com>
42890 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42893 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42894 garbage value in a __mach_port_mod_refs call in the cases of the
42895 task-self and thread-self ports.
42897 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42899 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42901 2011-09-08 Andreas Schwab <schwab@redhat.com>
42903 * elf/dl-load.c (lose): Check for non-null L.
42905 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42907 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42909 * elf/dl-libc.c (dlerror_run): Pass back error code from
42913 * elf/dl-load.c (lose): Free l_origin if it is valid.
42915 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42917 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42918 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42919 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42920 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42921 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42922 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42924 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42926 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42927 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42928 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42929 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42930 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42931 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42932 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42933 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42934 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42935 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42937 2011-08-15 Alan Modra <amodra@gmail.com>
42940 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42941 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42942 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42943 ppc_mcount to static-only-routines.
42944 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42946 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42947 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42949 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42951 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42952 for finite and infinity parameters.
42954 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42957 and add nop instructions for throughput optimization.
42958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42960 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42962 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42963 aligned copy for power7 with vector-scalar instructions.
42964 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42966 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42971 2011-09-07 Andreas Schwab <schwab@redhat.com>
42974 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42977 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42979 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42980 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42981 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42982 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42985 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42987 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42988 Forgot to demangle the pointer.
42990 * sysdeps/i386/sysdep.h: Define atom_text_section.
42991 * sysdeps/x86_64/sysdep.h: Likewise.
42992 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42993 section with atom_text_section.
42994 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42995 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42996 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42997 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42998 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43000 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43001 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43002 already be defined. Change to take two parameters and don't assign
43003 result to variable. Adjust all users.
43004 Define INTERNAL_GETTIME if not already defined.
43005 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43008 HAVE_CLOCK_GETTIME_VSYSCALL.
43009 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43011 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43012 gettimeofday vsyscall, just use time.
43014 2011-09-06 Andreas Schwab <schwab@redhat.com>
43016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43019 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43021 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43025 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43026 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43027 syscall if possible.
43029 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43031 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43032 e_ident. Don't pass to find_mapsXX.
43033 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43035 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43038 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43039 * sysdeps/x86_64/multiarch/strchr.S: Update.
43040 Check bit_slow_BSF bit.
43041 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43042 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43043 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43045 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43048 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43050 (tryshell): Define.
43051 (__spawni): Change last parameter to be flag. Test
43052 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43053 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43054 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43055 * posix/spawni.c: Likewise.
43056 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43057 * posix/spawnp.c: Likewise. Change normal version to use
43058 SPAWN_XFLAGS_USE_PATH.
43059 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43060 SPAWN_XFLAGS_TRY_SHELL.
43063 * posix/glob.h: Remove gcc 1.x support.
43066 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43068 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43071 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43073 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43074 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43075 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43076 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43077 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43078 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43080 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43082 * sysdeps/x86_64/wcscmp.S: New file.
43084 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43085 wcscmp-c wcscmp-sse2
43086 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43087 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43088 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43089 * wcsmbs/wcscmp.c: Allow renaming.
43091 2011-09-05 David S. Miller <davem@davemloft.net>
43093 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43094 stack slot, rather than the struct return pointer slot.
43095 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43096 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43098 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43100 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43102 * po/ja.po: Update from translation team.
43105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43106 kernel in 64-bit binaries.
43108 2011-09-01 David S. Miller <davem@davemloft.net>
43110 * elf/elf.h (HWCAP_SPARC_*): Move to..
43111 * sysdeps/sparc/sysdep.h: this new file and add new values.
43112 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43113 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43114 _DL_HWCAP_COUNT to 24.
43115 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43117 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43118 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43119 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43121 instead of magic constants.
43122 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43124 2011-08-31 David S. Miller <davem@davemloft.net>
43126 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43128 Reimplement to do errno handling inline.
43129 (SYSCALL_ERROR_HANDLER): New macro.
43130 (__SYSCALL_STRING): Do not do errno handling in asm.
43131 (__CLONE_SYSCALL_STRING): Delete.
43132 (__INTERNAL_SYSCALL_STRING): Delete.
43133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43134 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43135 (PSEUDO): Reimplement to do errno handling inline.
43136 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43137 (SYSCALL_ERROR_HANDLER): New macro.
43138 (__SYSCALL_STRING): Do not do errno handling in asm.
43139 (__CLONE_SYSCALL_STRING): Delete.
43140 (__INTERNAL_SYSCALL_STRING): Delete.
43141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43142 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43144 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43145 (inline_syscall*): Add 'err' argument.
43146 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43147 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43148 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43149 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43151 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43152 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43154 2011-08-30 Andreas Schwab <schwab@redhat.com>
43156 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43158 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43160 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43163 2011-08-24 David S. Miller <davem@davemloft.net>
43165 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43167 2011-08-24 Andreas Schwab <schwab@redhat.com>
43169 * elf/Makefile: Add rules to build and run unload8 test.
43170 * elf/unload8.c: New file.
43171 * elf/unload8mod1.c: New file.
43172 * elf/unload8mod1x.c: New file.
43173 * elf/unload8mod2.c: New file.
43174 * elf/unload8mod3.c: New file.
43176 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43179 2011-08-23 David S. Miller <davem@davemloft.net>
43181 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43182 subtract stack bias.
43183 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43184 %sp not %fp in calculations.
43185 (_JMPBUF_UNWINDS_ADJ): Likewise.
43187 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43188 (aio_suspend): Call it to force an exception region around the
43189 AIO_MISC_WAIT() invocation.
43191 2011-08-23 Andreas Schwab <schwab@redhat.com>
43193 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43196 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43198 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43200 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43201 and <dl-machine.h>.
43202 (Elf64_FuncDesc): Remove.
43204 2011-08-22 David S. Miller <davem@davemloft.net>
43206 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43207 sigaltstack check, add missing cfi directives.
43208 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43209 missing cfi directives, and sigaltstack handling.
43211 2011-08-16 Andreas Schwab <schwab@redhat.com>
43214 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43215 object is seen twice.
43216 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43218 * elf/Makefile (distribute): Add tst-initorder2.c.
43219 (tests): Add tst-initorder2.
43220 (modules-names): Add tst-initorder2a tst-initorder2b
43221 tst-initorder2c tst-initorder2d. Add rules to build them.
43222 ($(objpfx)tst-initorder2.out): New rule.
43223 * elf/tst-initorder2.c: New file.
43224 * elf/tst-initorder2.exp: New file.
43226 2011-08-22 Andreas Schwab <schwab@redhat.com>
43228 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43230 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43231 dependencies back to end of function.
43233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43234 $(elfobjdir)/ld.so.
43236 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43238 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43239 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43240 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43241 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43242 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43243 of __vdso_gettimeofday.
43244 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43245 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43247 (_libc_vdso_platform_setup): Remove initialization of
43248 __vdso_gettimeofday and __vdso_time.
43250 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43252 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43253 and fgetc_unlocked.
43254 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43257 * elf/dl-open.c (add_to_global): Report additions to the global scope
43258 for LD_DEBUG=scopes.
43259 (dl_open_worker): Also print scope of newly loaded dependencies.
43260 (_dl_show_scope): Indicate if there is no scope.
43263 * stdio-common/Makefile (tests): Add bug24.
43264 * stdio-common/bug24.c: New file.
43266 2011-08-19 Andreas Jaeger <aj@suse.de>
43269 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43270 non-existant file when using close-on-exec mode.
43272 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43275 the very first instruction.
43277 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43278 the CFI state in the end.
43279 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43280 inclusion of dl-trampoline.h.
43281 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43283 2011-08-19 Andreas Schwab <schwab@redhat.com>
43285 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43286 expectations for long double.
43288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43289 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43291 2011-08-14 David S. Miller <davem@davemloft.net>
43293 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43294 artificual limit depends upon the system page size.
43296 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43298 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43299 * resolv/Makefile: Define CFLAGS-libresolv.
43301 2011-08-17 Andreas Schwab <schwab@redhat.com>
43303 * nss/makedb.c (compute_tables): Make variables used in nested
43306 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43308 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43309 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43310 if buffer was too small.
43312 * elf/pldd.c (main): Attach to all threads in the process.
43313 Rewrite /proc handling to use *at functions.
43315 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43317 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43318 specifies first scope to show.
43319 (dl_open_worker): Update callers. Move printing scope of new
43320 object to before the relocation.
43321 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43322 * sysdeps/generic/ldsodefs.h: Update declaration.
43324 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43325 string for the scope number.
43327 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43329 * nscd/servicescache.c (cache_addserv): Make sure written is always
43332 2011-08-14 Roland McGrath <roland@hack.frob.com>
43334 * sysdeps/i386/i486/bits/atomic.h
43335 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43336 statement expression, so as to suppress "set but not used" warning.
43337 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43339 * string/strncat.c (STRNCAT): Use prototype definition.
43341 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43342 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43344 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43345 (localedef-modules): Add localedef.
43346 (locale-modules): Add locale.
43348 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43349 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43350 to avoid a warning.
43352 2011-08-14 David S. Miller <davem@davemloft.net>
43354 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43355 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43357 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43359 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43360 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43361 * elf/rtld.c (dl_main): Set l_name of vDSO.
43362 Call _dl_show_scope when DL_DEBUG_SCOPES.
43363 (process_dl_debug): Recognize scopes flag and also set it for all.
43364 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43365 Declare _dl_show_scope.
43367 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43368 (do_dlopen): Pass caller_dlopen to dl_open.
43369 (__libc_dlopen_mode): Initialize caller_dlopen.
43371 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43372 of libc. Make tolower call locale-independent. Optimize a bit by
43373 using isdigit instead of isalnum.
43374 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43376 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43378 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43379 was a dependency or dynamically loaded.
43381 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43383 * intl/l10nflist.c: Allow architecture-specific pop function.
43384 * sysdeps/x86_64/l10nflist.c: New file.
43386 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43389 2011-08-10 Andreas Schwab <schwab@redhat.com>
43391 * include/dirent.h: Add libc_hidden_proto for scandirat and
43392 scandirat64. Don't declare __scandirat64.
43393 * dirent/scandirat.c: Add libc_hidden_def.
43394 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43395 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43397 2011-08-10 David S. Miller <davem@davemloft.net>
43399 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43401 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43402 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43403 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43405 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43407 * Versions.def [libc]: Add GLIBC_2.15.
43408 * dirent/Makefile (routines): Add scandirat and scandirat64.
43409 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43411 * dirent/dirent.h: Declare scandirat and scandirat64.
43412 * dirent/scandirat.c: New file.
43413 * dirent/scandirat64.c: New file.
43414 * sysdeps/wordsize-64/scandirat.c: New file.
43415 * sysdeps/wordsize-64/scandirat64.c: New file.
43416 * dirent/opendir.c: Define opendirat.
43417 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43419 * dirent/scandir64.c: Adjust for scandir.c change.
43420 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43421 __scandirat64, and __scandir_cancel_handler.
43422 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43423 additional parameter and use openat instead of open (outside of ld.so).
43424 Add new __opendir as wrapper around __opendirat.
43425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43426 here without requiring old scandirat implementation.
43428 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43430 * dirent/scandir.c (cancel_handler): Renamed to
43431 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43432 defined. Adjust users.
43433 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43434 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43436 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43438 * string/test-string.h (IMPL): Use __STRING to expand name and then
43441 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43444 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43446 * string/Makefile: Update.
43447 (strop-tests): Append strncat.
43448 * string/test-wcscmp.c: New file.
43449 New comprehensive test for wcscmp.
43450 * string/test-strcmp.c: Update.
43451 (WIDE): New define.
43453 2011-07-22 Andreas Schwab <schwab@redhat.com>
43455 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43458 2011-07-26 Andreas Schwab <schwab@redhat.com>
43460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43461 encoding to ACE if AI_IDN.
43463 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43466 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43468 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43470 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43471 Fix overflow bug in strncat.
43472 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43474 * string/test-strncat.c: Update.
43475 Add new tests for checking overflow bugs.
43477 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43480 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43481 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43482 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43483 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43484 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43485 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43486 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43487 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43489 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43490 (USE_AS_STRCAT): Define.
43491 Add strcat and strncat support.
43492 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43494 2011-07-25 Andreas Schwab <schwab@redhat.com>
43496 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43497 __n bigger than INT_MAX+1.
43498 (__strncmp_g): Likewise.
43500 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43502 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43503 * libio/stido.h: Likewise.
43505 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43510 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43512 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43513 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43517 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43522 (_dl_x86_64_save_sse): Likewise.
43524 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43528 (_dl_x86_64_save_sse): Likewise.
43530 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43532 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43534 2011-07-21 Andreas Schwab <schwab@redhat.com>
43536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43538 (_dl_x86_64_save_sse): Use correct AVX check.
43540 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43543 bug in strncpy/strncat.
43544 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43546 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43548 * string/tester.c (test_strcat): Add tests for different alignments
43549 of source and destination.
43550 (test_strncat): Likewise.
43552 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43555 * posix/glob.c (glob): Check passed in values before using them in
43556 expressions to avoid some overflows.
43557 (glob_in_dir): Likewise.
43560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43561 check for AVX enablement so that we don't crash with old kernels and
43563 * elf/tst-audit4.c: Add same checks here.
43564 * elf/tst-audit6.c: Likewise.
43566 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43568 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43570 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43572 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43574 * po/cs.po: Update from translation team.
43575 * po/bg.po: Likewise.
43577 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43579 * misc/sys/cdefs.h: Add support for const attribute.
43580 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43581 to gnu_dev_{major,minor,makedev} functions.
43583 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43585 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43587 2011-07-20 Andreas Schwab <schwab@redhat.com>
43589 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43592 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43595 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43596 register in order to avoid conflicts with the soft frame pointer
43597 being held in r11 when necessary.
43598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43599 (INTERNAL_VSYSCALL_NCS): Likewise.
43601 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43603 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43604 * elf/dl-fini.c (_dl_fini): Adjust caller.
43605 * elf/dl-close.c (_dl_close_worker): Likewise.
43606 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43608 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43610 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43611 "aux_cache->nlibs < 0".
43613 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43614 in the reload-count case.
43616 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43619 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43620 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43621 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43622 * sysdeps/x86_64/multiarch/strcat.S: New file.
43623 * sysdeps/x86_64/multiarch/strncat.S: New file.
43624 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43625 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43626 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43627 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43629 (USE_AS_STRCAT): Define.
43630 Add strcat and strncat support.
43631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43632 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43633 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43634 * string/strncat.c: Update.
43635 (USE_AS_STRNCAT): Define.
43636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43637 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43639 * sysdeps/x86_64/multiarch/init-arch.h
43640 (bit_Prefer_PMINUB_for_stringop): New.
43641 (index_Prefer_PMINUB_for_stringop): Likewise.
43642 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43643 bit_Prefer_PMINUB_for_stringop.
43645 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43647 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43649 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43650 of casting of buffer.
43651 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43652 buffer32 and buffer64.
43653 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43654 writes instead of casting of buffer.
43655 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43657 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43660 2011-07-19 Andreas Schwab <schwab@redhat.com>
43662 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43664 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43666 * nscd/nscd.c (termination_handler): Don't do anything for a database
43667 if it has not yet been initialized.
43669 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43671 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43673 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43675 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43677 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43679 * po/nl.po: Update from translation team.
43680 * po/sv.po: Likewise.
43682 2011-07-16 Roland McGrath <roland@hack.frob.com>
43684 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43685 now disallowed by GCC.
43687 * configure.in (use-default-link): Default to yes if a test -shared
43688 link meets our qualifications.
43689 * configure: Regenerated.
43691 * config.make.in (output-format): New variable.
43692 * configure.in: Check for ld --print-output-format support.
43693 * configure: Regenerated.
43694 * Makerules ($(common-objpfx)format.lds)
43695 [$(output-format) != unknown]: Just use $(output-format),
43696 instead of the linker-script munging.
43698 2011-07-14 Roland McGrath <roland@hack.frob.com>
43700 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43701 of $(common-objpfx)shlib.lds.
43702 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43704 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43705 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43707 * configure.in (-z relro check): Adjust test code to add a large
43708 writable data section after it.
43709 * configure: Regenerated.
43711 2011-07-11 Roland McGrath <roland@hack.frob.com>
43713 * configure.in (-z relro check): Fix test code to make the variable
43715 * configure: Regenerated.
43717 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43719 * nscd/nscd.h (struct traced_file): Define.
43720 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43721 elements. Add traced_files.
43722 (inotify_fd): Declare.
43723 (register_traced_file): Declare.
43724 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43725 (inotify_fd): Export.
43726 (resolv_conf_descr): Remove.
43727 (nscd_init): Move inotify descriptor creation to main.
43728 Don't register files for notification here.
43729 (register_traced_file): New function.
43730 (invalidate_cache): Don't use reset_res to determine whether to call
43731 res_init, go through the list of registered files.
43732 (main_loop_poll): The inotify descriptors are now stored in the
43733 structures for the traced files.
43734 (main_loop_epoll): Likewise
43735 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43736 to __nss_disable_nscd.
43737 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43738 for a database anymore. Check the records for all the registered
43740 * nss/Makefile (libnss_files-routines): Add files-init.
43741 (libnss_db-routines): Add db-init.
43742 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43743 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43744 * nss/nss_db/db-init.c: New file.
43745 * nss/nss_files/files-init.c: New file.
43746 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43747 __nss_lookup_function.
43748 (__nss_lookup_function): Call nss_load_library.
43749 (nss_load_all_libraries): New function.
43750 (__nss_disable_nscd): Take parameter with callback function for files
43751 to register. Set is_nscd. Load all the DSOs for the NSS modules
43752 used for the cached services.
43753 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43754 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43755 options for features to all the files in nscd.
43757 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43759 2011-07-10 Roland McGrath <roland@hack.frob.com>
43761 * csu/elf-init.c (__libc_csu_init): Comment typo.
43763 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43765 * po/pl.po: Update from translation team.
43766 * po/ja.po: Likewise.
43767 * po/ru.po: Likewise.
43768 * po/ko.po: Likewise.
43769 * po/fr.po: Likewise.
43771 2011-07-09 Roland McGrath <roland@hack.frob.com>
43773 * configure.in (.ctors/.dtors header and trailer check):
43774 Use an empirical test on a built program.
43775 * configure: Regenerated.
43777 * configure.in (-z relro check): Use an empirical test on a built DSO.
43778 Detect, but do not require, on ia64.
43779 * configure: Regenerated.
43781 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43782 Update tests that use readelf to use $READELF instead.
43783 * configure: Regenerated.
43785 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43787 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43788 if the result is not used.
43790 2011-07-05 Andreas Jaeger <aj@suse.de>
43793 * stdlib/tst-strtod.c: Add testcase.
43795 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43797 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43798 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43799 The latter has a higher limit. Take additional parameter to pass to
43801 (__pathconf): Pass file to __statfs_link_max.
43802 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43804 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43808 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43809 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43811 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43812 (__statfs_filesize_max): Likewise.
43813 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43815 2011-07-05 Andreas Jaeger <aj@suse.de>
43817 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43819 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43821 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43823 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43826 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43828 * Makefile (strop-tests): Add strncat.
43829 * string/test-strncat.c: New file.
43831 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43833 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43835 2011-06-21 Andreas Jaeger <aj@suse.de>
43837 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43838 Copy rule from iconvdata/Makefile.
43840 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43843 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43844 but no long options are defined, just return 'W'.
43846 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43849 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43851 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43853 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43855 (innetgr): Likewise.
43857 2011-07-05 Roland McGrath <roland@hack.frob.com>
43859 * config.make.in (install_root): Default to $(DESTDIR).
43861 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43863 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43865 2011-07-02 Roland McGrath <roland@hack.frob.com>
43867 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43869 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43870 containing directory rather than embedding absolute directory names.
43872 * scripts/check-local-headers.sh: Rewritten using awk.
43873 Match by word, not by line. Print error messages for matches.
43874 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43876 * Makerules [shlib-lds-flags empty]:
43877 ($(common-objpfx)libc_pic.opts): New target.
43878 ($(common-objpfx)libc_pic.os.clean): New target.
43879 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43881 * config.make.in (OBJCOPY): New variable.
43882 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43883 * configure: Regenerated.
43885 * config.make.in (use-default-link): New variable.
43886 * configure.in (use_default_link): Grok --with-default-link to set it.
43887 * configure: Regenerated.
43888 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43889 (shlib-lds, shlib-lds-flags): Define to empty.
43891 * Makerules (shlib-lds): New variable.
43892 (shlib-lds-flags): New variable.
43893 (build-shlib, build-moduile, build-module-asneeded): Use it.
43894 ($(common-objpfx)libc.so): Use $(shlib-lds).
43895 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43896 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43898 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43899 DT_FLAGS/DT_FLAGS_1 with zero flags.
43901 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43902 linker script munging.
43904 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43906 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43908 * crypt/sha512.c (sha512_process_block): Perform total addition using
43909 128-bit if possible.
43910 (__sha512_finish_ctx): Likewise.
43911 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43913 * crypt/sha256.c (SWAP64): Define.
43914 (sha256_process_block): Perform total addition using 64-bit if
43916 (__sha256_finish_ctx): Likewise.
43918 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43920 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43922 * nscd/hstcache.c (cache_addhst): Likewise.
43923 * nscd/grpcache.c (cache_addgr): Likewise.
43924 * nscd/aicache.c (addhstaiX): Likewise
43925 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43927 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43929 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43930 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43931 * nscd/hstcache.c (cache_addhst): Likewise.
43932 * nscd/grpcache.c (cache_addgr): Likewise.
43933 * nscd/aicache.c (addhstaiX): Likewise
43935 2011-07-01 Andreas Schwab <schwab@redhat.com>
43937 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43938 domain only when needed.
43940 2011-06-30 Andreas Schwab <schwab@redhat.com>
43942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43943 is always restored.
43945 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43947 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43948 are re-adding the entry.
43949 * nscd/servicescache.c (cache_addserv): Likewise.
43951 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43953 * sysdeps/generic/dl-irel.h: fix protection against multiple
43955 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43957 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43960 * malloc/memusage.sh: Fix quoting in message.
43961 * debug/xtrace.sh: Likewise.
43963 * configure.in: Remove support for --experimental-malloc option, make
43965 * config.make.in: Likewise.
43966 * malloc/Makefile: Likewise.
43968 2011-06-27 Andreas Schwab <schwab@redhat.com>
43970 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43971 two-byte characters.
43973 2011-06-27 Roland McGrath <roland@hack.frob.com>
43975 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43976 AC_CACHE_CHECK invocation.
43977 * configure: Regenerated.
43979 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43981 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43984 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43985 bit from old_res_options.
43987 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43989 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43990 value type for setfct.
43992 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43995 __gettimeofday instead of gettimeofday.
43997 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43999 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44001 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44003 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44008 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44011 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44012 strcpy-sse2-unaligned strncpy-sse2-unaligned
44013 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44014 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44015 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44016 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44017 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44018 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44019 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44020 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44021 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44022 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44023 (STRCPY): Support SSE2 and SSSE3 versions.
44025 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44029 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44030 kernels which artificially limit size of requests.
44032 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44035 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44036 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44037 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44038 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44039 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44040 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44041 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44042 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44044 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44045 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44046 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44047 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44048 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44050 Enable unaligned load optimization for Intel Core i3, i5 and i7
44052 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44054 (index_Fast_Unaligned_Load): Define.
44055 (HAS_FAST_UNALIGNED_LOAD): Define.
44057 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44059 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44061 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44064 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44065 until it is clear that the information is realy needed.
44066 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44068 2011-06-22 Andreas Schwab <schwab@redhat.com>
44070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44072 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44075 /sys/devices/system/cpu/online if it is usable.
44077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44078 reading the information from the /proc filesystem to once a second.
44080 2011-06-21 Andreas Jaeger <aj@suse.de>
44082 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44083 NULL after inclusion of kernel headers.
44085 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44087 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44088 calls to internal_setent.
44091 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44092 addresses using gethostbyname4_r ignore IPv4 addresses.
44094 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44095 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44097 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44099 2011-06-20 David S. Miller <davem@davemloft.net>
44101 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44103 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44105 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44106 (elf_irel): Use it.
44107 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44108 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44109 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44110 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44111 * sysdeps/x86_64/dl-irel.h: Likewise.
44113 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44114 * elf/dl-sym.c: Likewise.
44116 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44118 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44119 need to dereference resplen2.
44121 2011-06-14 Andreas Schwab <schwab@redhat.com>
44123 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44125 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44127 * Makeconfig: Define vardbdir and inst_vardbdir.
44128 * nss/Makefile: Add rules to install db-Makefile.
44130 * nss/nss_db/db-XXX.c: Cleanup.
44132 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44133 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44135 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44136 * nss/makedb.c: Implement -g option to specify that value strings
44137 are generated and should not be added to table iterated over for
44139 * nss/nss_db/db-initgroups.c: New file.
44141 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44144 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44145 (internal_getgrouplist): Adjust to name change.
44146 Update use_initgroups_entry if this is not the first call.
44147 * nss/databases.def: Add initgroups entry.
44149 * nss/makedb.c (compute_tables): Check result of multiple hash table
44150 sizes to minimize maximum chain length.
44152 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44154 * Versions.def: Add entry for libnss_db.
44155 * shlib-versions: Likewise.
44156 * nss/Makefile: Add rules to build libnss_db.
44157 * nss/Versions: Add libnss_db information. Organize libnss_files
44159 * nss/db-Makefile: Add gshadow support. Change rules for the new
44160 makedb progra. Some minor improvements to generate smaller files.
44161 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44163 * nss/makedb.c: ...here.
44164 Improve database format to be smaller and require less memory at
44166 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44168 * nss/nss_db/db-netgrp.c: Likewise.
44169 * nss/nss_db/db-open.c: Likewise.
44170 * nss/nss_files/flies-XXX.x: Adjust comments.
44171 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44172 * nss/nss_files/files-grp.c: Likewise.
44173 * nss/nss_files/files-hosts.c: Likewise.
44174 * nss/nss_files/files-network.c: Likewise.
44175 * nss/nss_files/files-proto.c: Likewise.
44176 * nss/nss_files/files-pwd.c: Likewise.
44177 * nss/nss_files/files-rpc.c: Likewise.
44178 * nss/nss_files/files-service.c: Likewise.
44179 * nss/nss_files/files-sgrp.c: Likewise.
44180 * nss/nss_files/files-spwd.c: Likewise.
44181 * nss/nss_db/db-alias.c: Removed.
44182 * nss/nss_db/dummy-db.h: Removed.
44184 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44186 * nss/makedb.c: Rewritten to not use database library.
44187 * nss/Makefile: Update to build new makedb program.
44189 2011-06-14 Andreas Jaeger <aj@suse.de>
44191 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44192 memset declaration.
44194 2011-06-10 Andreas Schwab <schwab@redhat.com>
44196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44199 2011-06-10 Roland McGrath <roland@hack.frob.com>
44201 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44202 * elf/Makefile ($(objpfx)ld.so): Likewise.
44204 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44205 Don't list ld.so twice in dependencies.
44207 * posix/bug-regex31.c: Include <stdlib.h>.
44209 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44211 * nis/nss_compat/compat-spwd.c
44212 (getspent_next_nss_netgr): Remove unused variable.
44213 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44215 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44216 nonmembers" output to use the right array.
44218 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44220 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44222 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44223 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44224 * catgets/gencat.c (read_input_file): Likewise.
44225 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44227 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44228 variable definition inside #if's controlling its use.
44230 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44232 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44234 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44236 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44239 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44241 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44242 * configure: Regenerated.
44244 * Makerules: Revert last change.
44245 * elf/Makefile: Likewise.
44247 2011-06-09 Roland McGrath <roland@hack.frob.com>
44249 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44250 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44251 (reloc-link): Likewise.
44253 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44255 * elf/Makefile: Add rules to build pldd.
44256 * elf/pldd.c: New file.
44257 * elf/pldd-xx.c: New file.
44259 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44261 * version.h: Update for 2.15 development version.
44263 2011-06-07 David S. Miller <davem@davemloft.net>
44265 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44267 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44268 elf_machine_lazy_rel): Likewise.
44269 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44270 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44271 elf_machine_lazy_rel): Likewise.
44272 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44273 dl_hwcap via passed in argument.
44274 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44277 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44279 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44281 2011-06-06 Roland McGrath <roland@hack.frob.com>
44284 * manual/fdl-1.1.texi: New file, verbatim from:
44285 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44286 * manual/lgpl-2.1.texi: New file, verbatim from:
44287 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44288 * manual/Makefile (licenses): New variable, list those new file names.
44290 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44292 * manual/fdl.texi: File removed.
44293 * manual/lesser.texi: File removed.
44294 * manual/libc.texinfo (Copying, Documentation License):
44295 Use new @include file names, put @appendix directive before @include.
44297 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44300 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44301 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44302 (mq_open): Add __NTH.
44304 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44307 Assume Intel Core i3/i5/i7 processor if AVX is available.
44309 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44314 2011-05-31 Andreas Schwab <schwab@redhat.com>
44316 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44317 memory. Use alloca_account. Fix memory leak when retrying.
44319 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44321 * version.h (RELEASE): Bump for 2.14 release.
44322 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44324 * config.make.in (RANLIB): Remove entry.
44326 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44328 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44329 (libc.pot): Work around missing support for .ksh extension in xgettext.
44332 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44333 if both request failed.
44334 (send_dg): In case of server errors clear resplen or *resplen2.
44337 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44338 when there are multiple maps.
44339 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44340 (_dl_fini): Remove test here.
44342 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44344 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44347 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44348 bit from old_res_options.
44349 (gaih_inet): Likewise.
44352 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44355 * resolv/res_init.c (res_setoptions): Make the code more compact.
44358 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44362 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44364 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44367 * malloc/malloc.h: Declare malloc hook variables as volatile.
44369 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44373 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44374 raise in the comment.
44375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44376 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44377 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44379 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44382 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44383 grow the buffers more if it already has to be sufficient.
44384 (build_wcs_upper_buffer): Likewise.
44385 * posix/regexec.c (check_matching): Likewise.
44386 (clean_state_log_if_needed): Likewise.
44387 (extend_buffers): Don't enlarge buffers beyond size of the input
44389 Patches mostly by Emil Wojak <emil@wojak.eu>.
44390 * posix/bug-regex32.c: New file.
44391 * posix/Makefile (tests): Add bug-regex32.
44393 * locale/findlocale.c (_nl_find_locale): Return right away if
44394 _nl_explode_name failed.
44395 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44397 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44399 * debug/xtrace.sh: Unify messages.
44400 * malloc/memusage.sh: Likewise.
44403 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44404 time symbol from vDSO. Substitute with vsyscall if not available.
44405 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44408 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44409 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44410 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44411 Add sendmmsg and internal_sendmmsg.
44412 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44413 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44414 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44416 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44417 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44420 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44423 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44424 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44426 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44430 * iconvdata/Makefile (tests): Add bug-iconv9.
44431 * iconvdata/bug-iconv9.c: New file.
44433 2011-05-27 Andreas Schwab <schwab@redhat.com>
44436 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44438 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44441 (struct user_regs_struct): Change intcs field back to cs.
44443 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44445 * po/ja.po: Update from translation team.
44447 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44450 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44451 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44453 2011-05-20 Andreas Schwab <schwab@redhat.com>
44455 * stdlib/longlong.h: Update from GCC.
44457 2011-05-23 Andreas Schwab <schwab@redhat.com>
44459 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44461 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44462 Add parameter name.
44463 (__sysconf): Pass it down.
44465 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44468 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44470 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44471 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44472 add in in __libc_use_alloca calls. Adjust callers.
44473 (glob): Use malloc in some situations.
44475 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44476 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44479 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44481 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44482 and CLOCK_BOOTTIME_ALARM.
44485 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44488 * string/_strerror.c (__strerror_r): Print negative errors as signed
44492 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44493 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44494 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44496 * configure.in: Fix typo in redirection and correct removal of test
44497 files in two cases.
44500 * locale/setlocale.c (new_composite_name): Fix test to check for
44501 identical name of all categories.
44504 * libio/filedoalloc.c (local_isatty): New function.
44505 (_IO_file_doallocate): Use local_isatty.
44506 * stdio-common/perror.c (perror): In case a new stream is used
44507 forward the stream error.
44508 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44511 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44516 * include/alloca.h (extend_alloca_account): Define.
44519 * posix/regex.h: Fix comments with documentation of user-accessible
44520 fields after compilation and describe correct free'ing of pattern
44521 after re_compile_pattern.
44522 Patch by Reuben Thomas <rrt@sc3d.org>.
44524 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44526 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44527 and -mno-altivec to prevent the compiler from using Altivec and/or
44528 VSX instructions when the corresponding registers are not available.
44530 2011-05-19 Andreas Schwab <schwab@redhat.com>
44532 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44534 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44536 * libio/freopen.c (freopen): Use __dup2, not dup2.
44537 * libio/freopen64.c (freopen64): Likewise.
44539 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44542 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44543 * math/Makefile (tests): Add test-powl.
44544 (CFLAGS-test-powl.c): Define.
44545 * math/test-powl.c: New file.
44547 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44549 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44551 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44554 * iconvdata/gb18030.c: Update to GB18020-2005.
44556 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44558 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44559 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44560 Patch by Aharon Robbins <arnold@skeeve.com>.
44563 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44567 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44568 through underflows.
44571 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44572 point to strings before performing equality test for error_one_per_line
44576 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44579 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44580 (struct user_fpregs_struct): Avoid __uint*_t types.
44583 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44584 symbol info. Use it instead of calling _dl_addr locally.
44585 (lock_and_info): New function.
44586 (tr_freehook): Call lock_and_info and pass symbol info as additional
44587 parameter to tr_where.
44588 (tr_mallochook): Likewise.
44589 (tr_reallochook): Likewise.
44590 (tr_memalignhook): Likewise.
44592 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44593 used and couldn't be at all thread-safe.
44595 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44597 * libio/freopen.c (freopen): Don't close old file descriptor
44598 before the new one is opened. Instead dup the new file descriptor
44599 to the old one after the new stream is created.
44600 * libio/freopen64.c (freopen64): Likewise.
44601 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44602 * libio/fileops.c (_IO_new_file_close_it): Handle new
44603 _IO_FLAGS2_NOCLOSE flag.
44604 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44605 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44606 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44607 _IO_FLAGS2_NOCLOSE flag.
44608 * include/unistd.h: Add hidden_proto for dup3.
44609 Define __have_dup3.
44610 * io/dup3.c: Define hidden symbol.
44611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44614 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44615 when an incomplete long option is used.
44616 * posix/tst-getopt_long1.c: New file.
44617 * posix/Makefile (tests): Add tst-getopt_long1.
44620 * scripts/config.guess: Update from autoconf-2.68.
44621 * scripts/config.sub: Likewise.
44624 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44626 (has_cpuclock): ...this. New function.
44627 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44628 macro here based on has_cpuclock code.
44631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44632 First byte (not low byte) is now always NUL.
44633 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44636 Use non-cancelable interfaces.
44639 * locale/iso-639.def: Add entry for Sorani.
44642 * include/stdlib.h: Move include protection to the right place.
44643 Define abort_msg_s. Declare __abort_msg with it.
44644 * stdlib/abort.c (__abort_msg): Adjust type.
44645 * assert/assert.c (__assert_fail_base): New function. Majority
44646 of code from __assert_fail. Allocate memory for __abort_msg with
44648 (__assert_fail): Now call __assert_fail_base.
44649 * assert/assert-perr.c: Remove bulk of implementation. Use
44650 __assert_fail_base.
44651 * include/assert.hL Declare __assert_fail_base.
44652 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44654 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44656 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44660 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44661 until all modules are registered in the DTV.
44662 * elf/Makefile: Add rules to build and run tst-tls19.
44663 * elf/tst-tls19.c: New file.
44664 * elf/tst-tls19mod1.c: New file.
44665 * elf/tst-tls19mod2.c: New file.
44666 * elf/tst-tls19mod3.c: New file.
44667 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44670 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44674 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44675 two-byte sequence errors.
44676 * iconvdata/Makefile (tests): Add bug-iconv8.
44677 * iconvdata/bug-iconv8.c: New file.
44680 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44683 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44686 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44687 (dummy_getcfa): New function.
44688 (init): Get _Unwind_GetCFA address, use dummy if not found.
44689 (backtrace_helper): In recursion check, also check whether CFA changes.
44690 (__backtrace): Completely initialize arg.
44692 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44693 storing incomplete byte sequence in state object. Avoid testing for
44694 guaranteed too small input if we know there is enough data available.
44696 2011-05-11 Andreas Schwab <schwab@redhat.com>
44698 * Makeconfig (+link-pie): Indent.
44699 * Rules (binaries-pie): Define if $(have-fpie) and
44701 (binaries-shared): Also filter out $(binaries-pie).
44702 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44703 * nscd/Makefile (others-pie): Add nscd.
44704 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44705 ($(objpfx)nscd): Remove command override.
44706 * login/Makefile (others-pie): Add pt_chown.
44707 ($(objpfx)pt_chown): Remove command override.
44708 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44709 remove command overrides.
44711 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44713 * libio/tst_putwc.c: Fix error messages.
44716 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44717 currently writing and seek to current position when not.
44718 * libio/Makefile (tests): Add bug-fclose1.
44719 * libio/bug-fclose1.c: New file.
44721 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44724 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44725 don't set DF_1_NODELETE here.
44726 (do_lookup_x): When entering new entry test for copy relocation
44727 and if necessary set DF_1_NODELETE flag.
44728 * elf/tst-unique4.cc: New file.
44729 * elf/tst-unique4.h: New file.
44730 * elf/tst-unique4lib.cc: New file.
44731 * elf/Makefile: Add rules to build and run tst-unique4.
44732 Patch by Piotr Bury <pbury@goahead.com>.
44734 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44737 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44740 * misc/mntent_r.c (addmntent): Flush the stream after the output
44743 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44744 (is_trusted_path_normalize): Skip initial colon. Append slash
44745 to empty buffer. Duplicate is_trusted_path code but allow
44746 constructed patch to be prefix.
44747 (is_dst): Allow $ORIGIN followed by /.
44748 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44749 Correct testing of result of is_trusted_path_normalize
44750 (decompose_rpath): Fix warning.
44752 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44755 * grp/initgroups.c (internal_getgrouplist): When we found the service
44756 list through the initgroups entry in nsswitch.conf do not always
44757 continue on a successful lookup. Don't always use the
44758 __nss_group_database value if it is set.
44759 * nss/nsswitch.conf (initgroups): Change action for successful db
44760 lookup to continue for compatibility.
44762 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44765 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44767 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44769 * iconvdata/tst-tables.sh: Likewise.
44770 * iconvdata/cp770.c: New file.
44771 * iconvdata/cp771.c: New file.
44772 * iconvdata/cp772.c: New file.
44773 * iconvdata/cp773.c: New file.
44774 * iconvdata/cp774.c: New file.
44775 * iconvdata/testdata/CP770: New file.
44776 * iconvdata/testdata/CP770..UTF8: New file.
44777 * iconvdata/testdata/CP771: New file.
44778 * iconvdata/testdata/CP771..UTF8: New file.
44779 * iconvdata/testdata/CP772: New file.
44780 * iconvdata/testdata/CP772..UTF8: New file.
44781 * iconvdata/testdata/CP773: New file.
44782 * iconvdata/testdata/CP773..UTF8: New file.
44783 * iconvdata/testdata/CP774: New file.
44784 * iconvdata/testdata/CP774..UTF8: New file.
44786 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44788 * iconvdata/gen-8bit-gap.sh: Likewise.
44789 * iconvdata/gen-8bit.sh: Likewise.
44791 * locale/iso-639.def: Add ary entry.
44794 * locale/C-translit.h.in: Add U20A1 transliteration.
44797 * locale/iso-639.def: Add wae entry.
44798 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44801 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44805 * locale/C-translit.h.in: Add entry for U20B9.
44806 Patch by pravin.d.s@gmail.com.
44808 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44811 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44812 ENAMETOOLONG use generic getcwd.
44813 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44814 in rtld. Use *stat64.
44815 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44816 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44817 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44818 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44819 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44820 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44821 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44822 __fstatat64 macros.
44823 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44824 * dirent/rewinddir.c: Add libc_hidden_def.
44825 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44826 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44828 * include/dirent.h (__alloc_dir): Add flags parameter.
44829 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44830 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44832 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44833 from fdopendir if O_CLOEXEC is already set.
44835 2011-03-15 Alan Modra <amodra@gmail.com>
44837 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44838 l_tls_firstbyte_offset non-zero. Save padding offset in
44839 l_tls_firstbyte_offset for later use.
44840 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44841 freeing static tls block.
44843 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44845 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44846 where #ifdef was intended. The intent is to prevent ARG_MAX from
44847 being defined by the kernel headers.
44849 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44852 * resolv/resolv.h: Define RES_NOTLDQUERY.
44853 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44854 no-tld-query and set RES_NOTLDQUERY.
44855 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44856 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44857 modern BIND to search name as TLD unless forbidden.
44859 2011-05-07 Petr Baudis <pasky@suse.cz>
44860 Ulrich Drepper <drepper@gmail.com>
44863 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44864 (is_trusted_path): ...to here.
44865 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44866 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44867 using is_trusted_path_normalize() in setuid scripts.
44869 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44871 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44872 __BEGIN/__END_DECLS.
44874 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44877 NSS_STATUS_NOTFOUND if no record was found.
44879 2011-05-05 Andreas Schwab <schwab@redhat.com>
44881 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44882 (headers-not-in-tirpc): Remove rpc/netdb.h
44883 * resolv/netdb.h: Revert last change.
44885 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44887 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44888 circular dependency between libgcc.a and libc.a.
44890 2011-05-05 Andreas Schwab <schwab@redhat.com>
44892 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44893 * nis/Makefile: Don't install rpcsvc/*.
44894 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44895 instead of <rpc/types.h>.
44896 (MAXHOSTNAMELEN): Define.
44898 2011-05-03 Andreas Schwab <schwab@redhat.com>
44900 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44902 2011-04-28 Maciej Babinski <mbabinski@google.com>
44905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44906 gethostbyname4_r when IPv6 results are possible.
44908 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44911 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44912 _PC_PIPE_BUF handling.
44914 2011-04-30 Bruno Haible <bruno@clisp.org>
44917 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44918 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44920 * inet/getnameinfo.c (getnameinfo): Likewise.
44922 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44924 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44925 to groups setting in database lookup.
44926 * nss/nsswitch.conf: Add initgroups entry.
44928 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44931 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44933 Patch by Eric Blake <eblake@redhat.com>.
44935 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44937 * sunrpc/Makefile (need-export-routines): Add svc_run.
44938 (routines): Remove svc_run.
44939 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44940 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44941 * sunrpc/svc_run.c (svc_run): Likewise.
44942 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44944 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44946 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44947 problem in reallocation in last patch.
44949 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44951 * sunrpc/Makefile: Move inclusion of Rules.
44953 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44955 * nss/nss_files/files-initgroups.c: New file.
44956 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44957 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44958 _nss_files_initgroups_dyn.
44960 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44962 * elf/elf.h (R_ARM_IRELATIVE): Define.
44964 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44966 * po/ru.po: Update from translation team.
44968 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44970 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44973 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44976 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44977 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44978 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44979 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44980 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44982 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44984 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44986 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44987 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44988 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44990 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44993 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44995 * stdlib/bug-getcontext.c: New file.
44996 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44998 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45000 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45001 instructions into .machine "z9-109".
45002 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45003 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45005 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45007 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45008 between environment variables and auxiliary vector.
45010 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45012 * Makefile: Add rules to build linkobj/libc.so.
45013 * include/libc-symbols.h: Define libc_hidden_nolink.
45014 * include/rpc/auth.h: Mark functions which are to be hidden.
45015 * include/rpc/auth_des.h: Likewise.
45016 * include/rpc/auth_unix.h: Likewise.
45017 * include/rpc/clnt.h: Likewise.
45018 * include/rpc/des_crypt.h: Likewise.
45019 * include/rpc/key_prot.h: Likewise.
45020 * include/rpc/pmap_clnt.h: Likewise.
45021 * include/rpc/pmap_prot.h: Likewise.
45022 * include/rpc/pmap_rmt.h: Likewise.
45023 * include/rpc/rpc_msg.h: Likewise.
45024 * include/rpc/svc.h: Likewise.
45025 * include/rpc/svc_auth.h: Likewise.
45026 * include/rpc/xdr.h: Likewise.
45027 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45028 * nss/Makefile: Likewise.
45029 * sunrpc/Makefile: Don't install headers. Build library with normal
45030 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45031 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45032 for the compat linking library. Remove use of INTDEF/INTUSE.
45033 * sunrpc/auth_none.c: Likewise.
45034 * sunrpc/auth_unix.c: Likewise.
45035 * sunrpc/authdes_prot.c: Likewise.
45036 * sunrpc/authuxprot.c: Likewise.
45037 * sunrpc/clnt_gen.c: Likewise.
45038 * sunrpc/clnt_perr.c: Likewise.
45039 * sunrpc/clnt_raw.c: Likewise.
45040 * sunrpc/clnt_simp.c: Likewise.
45041 * sunrpc/clnt_tcp.c: Likewise.
45042 * sunrpc/clnt_udp.c: Likewise.
45043 * sunrpc/clnt_unix.c: Likewise.
45044 * sunrpc/des_crypt.c: Likewise.
45045 * sunrpc/des_soft.c: Likewise.
45046 * sunrpc/get_myaddr.c: Likewise.
45047 * sunrpc/key_call.c: Likewise.
45048 * sunrpc/key_prot.c: Likewise.
45049 * sunrpc/netname.c: Likewise.
45050 * sunrpc/pm_getmaps.c: Likewise.
45051 * sunrpc/pm_getport.c: Likewise.
45052 * sunrpc/pmap_clnt.c: Likewise.
45053 * sunrpc/pmap_prot.c: Likewise.
45054 * sunrpc/pmap_prot2.c: Likewise.
45055 * sunrpc/pmap_rmt.c: Likewise.
45056 * sunrpc/publickey.c: Likewise.
45057 * sunrpc/rpc_cmsg.c: Likewise.
45058 * sunrpc/rpc_common.c: Likewise.
45059 * sunrpc/rpc_dtable.c: Likewise.
45060 * sunrpc/rpc_prot.c: Likewise.
45061 * sunrpc/rpc_thread.c: Likewise.
45062 * sunrpc/rtime.c: Likewise.
45063 * sunrpc/svc.c: Likewise.
45064 * sunrpc/svc_auth.c: Likewise.
45065 * sunrpc/svc_authux.c: Likewise.
45066 * sunrpc/svc_raw.c: Likewise.
45067 * sunrpc/svc_run.c: Likewise.
45068 * sunrpc/svc_simple.c: Likewise.
45069 * sunrpc/svc_tcp.c: Likewise.
45070 * sunrpc/svc_udp.c: Likewise.
45071 * sunrpc/svc_unix.c: Likewise.
45072 * sunrpc/svcauth_des.c: Likewise.
45073 * sunrpc/xcrypt.c: Likewise.
45074 * sunrpc/xdr.c: Likewise.
45075 * sunrpc/xdr_array.c: Likewise.
45076 * sunrpc/xdr_float.c: Likewise.
45077 * sunrpc/xdr_intXX_t.c: Likewise.
45078 * sunrpc/xdr_mem.c: Likewise.
45079 * sunrpc/xdr_rec.c: Likewise.
45080 * sunrpc/xdr_ref.c: Likewise.
45081 * sunrpc/xdr_sizeof.c: Likewise.
45082 * sunrpc/xdr_stdio.c: Likewise.
45084 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45087 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45088 * sysdeps/ia64/dl-tls.h: Likewise.
45089 * sysdeps/powerpc/dl-tls.h: Likewise.
45090 * sysdeps/s390/dl-tls.h: Likewise.
45091 * sysdeps/sh/dl-tls.h: Likewise.
45092 * sysdeps/sparc/dl-tls.h: Likewise.
45093 * sysdeps/x86_64/dl-tls.h: Likewise.
45094 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45096 2011-03-14 Andreas Schwab <schwab@redhat.com>
45098 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45099 rpath element also skip the following colon.
45100 (expand_dynamic_string_token): Add is_path parameter and pass
45101 down to DL_DST_REQUIRED and _dl_dst_substitute.
45102 (decompose_rpath): Call expand_dynamic_string_token with
45103 non-zero is_path. Ignore empty rpaths.
45104 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45107 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45112 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45115 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45116 Patch by Filipe David Manana <fdmanana@apache.org>.
45118 2011-04-07 Andreas Schwab <schwab@redhat.com>
45120 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45121 Maintain aligned stack.
45122 (CHECK_RSP): Remove unused macro.
45124 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45126 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45127 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45129 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45131 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45133 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45135 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45138 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45139 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45140 * sysdeps/x86_64/memmove.c: New file.
45141 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45142 (memcpy): Renamed to ...
45143 (__new_memcpy): This.
45144 (memcpy): Provide GLIBC_2_14 memcpy.
45145 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45146 (memcpy): Provide GLIBC_2_2_5 memcpy.
45148 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45151 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45153 2011-03-30 Andreas Schwab <schwab@redhat.com>
45155 * misc/syncfs.c: New file.
45156 * misc/Makefile (routines): Add syncfs.
45157 * posix/unistd.h: Declare syncfs.
45158 * sysdeps/unix/syscalls.list: Add syncfs.
45160 2011-04-01 Andreas Schwab <schwab@redhat.com>
45162 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45165 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45166 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45167 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45169 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45172 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45174 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45175 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45176 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45178 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45182 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45183 sync_file_range.c with -fexceptions.
45184 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45185 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45186 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45187 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45188 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45189 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45191 sync_file_range as cancellation point
45192 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45193 now a wrapper around __call_sync_file_range with cancellation handling.
45194 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45195 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45196 function name to __call_sync_file_range.
45197 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45198 Add call_sync_file_range.
45200 2011-04-01 Andreas Schwab <schwab@redhat.com>
45202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45205 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45207 * iconv/iconv.h: Fix typo in comment.
45208 * io/fcntl.h: Likewise.
45209 * libio/stdio.h: Likewise.
45210 * posix/spawn.h: Likewise.
45211 * posix/unistd.h: Likewise.
45212 * stdlib/stdlib.h: Likewise.
45213 * time/time.h: Likewise.
45214 * wcsmbs/wchar.h: Likewise.
45216 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45217 open_by_handle): Add.
45218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45219 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45220 Augment a few comments.
45221 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45226 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45229 * io/fcntl.h (AT_EMPTY_PATH): Define.
45231 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45233 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45234 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45235 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45237 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45238 * Versions.def: Add GLIBC_2.14.
45239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45242 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45244 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45246 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45248 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45251 * string/test-strncmp.c (do_page_test): New function.
45252 (check2): Likewise.
45253 (test_main): Call check2.
45254 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45256 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45259 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45260 Handle cache information in CPU leaf 4.
45261 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45263 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45266 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45267 character representation.
45268 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45270 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45272 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45273 END(__isnan) to END(__isnanf) to match function entry point/label
45274 EALIGN(__isnanf,...).
45276 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45278 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45280 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45283 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45284 copy from the symbol referenced in the relocation to initialize the
45286 Patch by Piotr Bury <pbury@goahead.com>.
45287 * elf/Makefile: Add rules to build and tst-unique3.
45288 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45289 * elf/tst-unique3.cc: New file.
45290 * elf/tst-unique3.h: New file.
45291 * elf/tst-unique3lib.cc: New file.
45292 * elf/tst-unique3lib2.cc: New file.
45294 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45296 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45298 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45299 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45302 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45304 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45305 to-be-loaded object along a path to loader is ld.so.
45307 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45308 Ulrich Drepper <drepper@gmail.com>
45310 * sysdeps/x86_64/memset.S: After aligning destination, code
45311 branches to different locations depending on the value of
45312 misalignment, when multiarch is enabled. Fix this.
45314 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45316 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45317 Set _x86_64_preferred_memory_instruction for AMD processsors.
45318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45319 Set bit_Prefer_SSE_for_memop for AMD processors.
45321 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45323 * libio/fmemopen.c (fmemopen): Optimize a bit.
45325 2011-03-03 Andreas Schwab <schwab@redhat.com>
45327 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45329 2011-03-03 Roland McGrath <roland@redhat.com>
45331 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45333 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45335 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45336 __bzero_ultra1 instead of __memset_ultra1.
45338 2011-02-23 Andreas Schwab <schwab@redhat.com>
45339 Ulrich Drepper <drepper@gmail.com>
45342 * include/link.h (struct link_map): Add l_orig_initfini.
45343 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45344 returning unsuccessfully.
45345 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45346 close of a file loaded at startup, restore the original l_initfini
45348 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45349 list, store the pointer.
45350 * elf/Makefile ($(objpfx)noload-mem): New rule.
45351 (noload-ENV): Define.
45352 (tests): Add $(objpfx)noload-mem.
45353 * elf/noload.c: Include <memcheck.h>.
45354 (main): Call mtrace. Close all opened handles.
45356 2011-02-17 Andreas Schwab <schwab@redhat.com>
45359 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45360 dependencies are missing.
45362 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45364 Fix __if_freereq crash: Unlike the generic version which uses free,
45366 * sysdeps/mach/hurd/ifreq.h: New file.
45368 2011-01-27 Petr Baudis <pasky@suse.cz>
45369 Ulrich Drepper <drepper@gmail.com>
45372 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45373 to extend_alloca().
45374 * stdio-common/bug23.c: New file.
45375 * stdio-common/Makefile (tests): Add bug23.
45377 2010-09-28 Andreas Schwab <schwab@redhat.com>
45378 Ulrich Drepper <drepper@gmail.com>
45381 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45382 before performing relro protection. At old place add assertion
45383 to make sure nothing changed.
45385 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45386 Glauber de Oliveira Costa <glommer@gmail.com>
45388 * elf/elf.h: Add new ARM TLS relocs.
45390 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45393 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45395 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45397 * sysdeps/wordsize-64/tst-writev.c: New file.
45399 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45401 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45402 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45403 insns in _dl_start to prevent a TOC reference before relocs are
45406 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45409 * Makeconfig: Remove RANLIB definition.
45410 * Makerules: Don't use RANLIB.
45411 * aclocal.m4: Remove ranlib test.
45412 * configure.in: No need to check for ranlib.
45413 * elf/rtld-Rules: Don't use RANLIB.
45415 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45417 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45419 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45420 inclusion protection macro.
45422 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45423 SIGRTMIN and SIGRTMAX and print information in that case only when
45424 SIGRTMIN is defined.
45426 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45428 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45429 arginfo fn returning -1.
45431 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45432 and thousands string is zero terminated.
45434 2011-02-03 Andreas Schwab <schwab@redhat.com>
45436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45437 sysdeps/unix/sysv/linux/bits/socket.h.
45439 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45441 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45442 (__CPU_COUNT): Remove old macros.
45443 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45444 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45445 (__CPU_ALLOC, __CPU_FREE): Add macros.
45446 (__sched_cpualloc, __sched_cpufree): Add declarations.
45448 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45450 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45451 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45452 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45453 (readdhstai): Return value of addhstaiX call.
45454 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45455 (addgrbyX): Return value returned by cache_addgr.
45456 (readdgrbyname): Return value returned by addgrbyX.
45457 (readdgrbygid): Likewise.
45458 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45459 (addpwbyX): Return value returned by cache_addpw.
45460 (readdpwbyname): Return value returned by addhstbyX.
45461 (readdpwbyuid): Likewise.
45462 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45463 (addservbyX): Return value returned by cache_addserv.
45464 (readdservbyname): Return value returned by addservbyX:
45465 (readdservbyport): Likewise.
45466 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45467 (addhstbyX): Return value returned by cache_addhst.
45468 (readdhstbyname): Return value returned by addhstbyX.
45469 (readdhstbyaddr): Likewise.
45470 (readdhstbynamev6): Likewise.
45471 (readdhstbyaddrv6): Likewise.
45472 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45473 (readdinitgroups): Return value returned by addinitgroupsX.
45474 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45475 (prune_cache): Keep track of timeout value of re-added entries.
45476 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45477 * nscd/nscd.h: Adjust prototypes of readd* functions.
45479 2011-02-04 Roland McGrath <roland@redhat.com>
45481 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45482 (nis_stats): Likewise.
45483 * nis/nis_modify.c (nis_modify): Likewise.
45484 * nis/nis_remove.c (nis_remove): Likewise.
45485 * nis/nis_add.c (nis_add): Likewise.
45487 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45489 * posix/fnmatch_loop.c: Add some consts.
45491 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45493 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45496 * config.make.in (config-cflags-novzeroupper): Define.
45497 * configure.in: Substitute libc_cv_cc_novzeroupper.
45498 * elf/Makefile (AVX-CFLAGS): Define.
45499 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45500 (CFLAGS-tst-auditmod4a.c): Likewise.
45501 (CFLAGS-tst-auditmod4b.c): Likewise.
45502 (CFLAGS-tst-auditmod6b.c): Likewise.
45503 (CFLAGS-tst-auditmod6c.c): Likewise.
45504 (CFLAGS-tst-auditmod7b.c): Likewise.
45505 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45507 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45509 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45510 function to the callback.
45511 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45513 2011-02-02 Andreas Schwab <schwab@redhat.com>
45515 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45518 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45521 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45523 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45525 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45528 * elf/Makefile: Add rules to build and run new test.
45529 * elf/tst-initorder.c: New file.
45530 * elf/tst-initorder.exp: New file.
45531 * elf/tst-initordera1.c: New file.
45532 * elf/tst-initordera2.c: New file.
45533 * elf/tst-initordera3.c: New file.
45534 * elf/tst-initordera4.c: New file.
45535 * elf/tst-initorderb1.c: New file.
45536 * elf/tst-initorderb2.c: New file.
45537 * elf/tst-order-a1.c: New file.
45538 * elf/tst-order-a2.c: New file.
45539 * elf/tst-order-a3.c: New file.
45540 * elf/tst-order-a4.c: New file.
45541 * elf/tst-order-b1.c: New file.
45542 * elf/tst-order-b2.c: New file.
45543 * elf/tst-order-main.c: New file.
45544 New test case by George Gensure <werkt0@gmail.com>.
45546 2010-10-01 Andreas Schwab <schwab@redhat.com>
45548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45549 decoding ACE if AI_CANONIDN.
45551 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45553 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45555 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45557 * version.h (RELEASE): Bump for 2.13 release.
45558 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45560 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45562 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45564 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45565 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45566 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45567 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45569 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45571 * posix/getconf.c: Update copyright year.
45572 * catgets/gencat.c: Likewise.
45573 * csu/version.c: Likewise.
45574 * debug/catchsegv.sh: Likewise.
45575 * debug/xtrace.sh: Likewise.
45576 * elf/ldconfig.c: Likewise.
45577 * elf/ldd.bash.in: Likewise.
45578 * elf/sprof.c (print_version): Likewise.
45579 * iconv/iconv_prog.c: Likewise.
45580 * iconv/iconvconfig.c: Likewise.
45581 * locale/programs/locale.c: Likewise.
45582 * locale/programs/localedef.c: Likewise.
45583 * malloc/memusage.sh: Likewise.
45584 * malloc/mtrace.pl: Likewise.
45585 * nscd/nscd.c (print_version): Likewise.
45586 * nss/getent.c: Likewise.
45588 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45589 PF_CAIF, and PF_ALG.
45590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45592 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45594 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45595 (modules-names): Use them.
45596 (ifunc-test-modules, ifunc-pie-tests): Define.
45597 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45598 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45599 (test-extras): Likewise.
45600 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45601 $(compile-command.c).
45602 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45603 (all-built-dso): Define.
45604 (check-textrel.out, check-execstack.out): Depend on it.
45606 * configure.in: Don't override --enable-multi-arch.
45608 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45611 * nscd/hstcache.c (tryagain): Define.
45612 (cache_addhst): Return tryagain not notfound for temporary errors.
45613 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45616 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45619 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45620 to make the syscall.
45621 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45624 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45625 and fall back to matching as normal character if the string ends before
45626 the matching ']' is found. This is what POSIX requires.
45627 * posix/testfnm.c: Adjust test result.
45628 * posix/globtest.sh: Adjust test result. Add new test.
45629 * posix/tst-fnmatch.input: Likewise.
45630 * posix/tst-fnmatch2.c: Add new test.
45632 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45634 * elf/Makefile (check-execstack): Revert last change. Depend on
45636 (check-execstack.h): New target.
45637 (generated): Add check-execstack.h.
45638 * elf/check-execstack.c: Include "check-execstack.h".
45639 (main): Revert last change.
45640 (handle_file): Return zero if GNU_STACK is absent and
45641 DEFAULT_STACK_PERMS doesn't include PF_X.
45643 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45645 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45646 in child fails because the descriptor is already closed.
45647 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45648 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45649 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45652 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45656 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45657 temporary buffer used to handle multi lookups locally.
45658 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45660 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45662 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45665 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45667 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45668 alignment for SSE2.
45670 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45673 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45674 characters. When rounding increased number of integer digits recompute
45676 * stdio-common/tst-grouping.c: New file.
45677 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45679 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45681 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45682 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45684 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45686 * bits/select.h: Likewise.
45688 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45690 * po/ja.po: Update from translation team.
45692 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45695 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45696 implementation just like for lxstat, fxstatat, et al.
45698 2010-12-27 Jim Meyering <meyering@redhat.com>
45701 * posix/regexec.c (build_trtable): Return failure indication upon
45702 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45704 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45707 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45708 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45709 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45710 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45713 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45716 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45717 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45719 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45721 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45722 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45723 script has SORT_BY_INIT_PRIORITY.
45724 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45725 NO_CTORS_DTORS_SECTIONS is defined.
45726 * elf/soinit.c: Likewise.
45727 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45728 NO_CTORS_DTORS_SECTIONS is defined.
45729 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45730 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45731 * sysdeps/sh/init-first.c: Likewise.
45732 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45734 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45736 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45737 always use the slow path.
45739 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45741 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45742 similar rule which adds the sysdep directories to the header search in
45743 order to pick up the correct platform stackinfo.h.
45744 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45745 perform test if it is, otherwise return successfully without testing.
45746 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45747 DEFAULT_STACK_PERMS define in stackinfo.h.
45748 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45749 defined in stackinfo.h.
45750 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45751 DEFAULT_STACK_PERMS defined in stackinfo.h.
45752 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45753 * sysdeps/ia64/stackinfo.h: Likewise.
45754 * sysdeps/s390/stackinfo.h: Likewise.
45755 * sysdeps/sh/stackinfo.h: Likewise.
45756 * sysdeps/sparc/stackinfo.h: Likewise.
45757 * sysdeps/x86_64/stackinfo.h: Likewise.
45758 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45759 PF_X for powerpc64. Retain PF_X for powerpc32.
45761 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45763 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45765 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45766 GETDENTS_64BIT_ALIGNED.
45768 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45770 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45772 2010-12-10 Andreas Schwab <schwab@redhat.com>
45774 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45777 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45778 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45780 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45781 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45783 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45786 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45789 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45791 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45793 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45795 * po/it.po: Update from translation team.
45797 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45802 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45804 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45806 2010-11-24 Andreas Schwab <schwab@redhat.com>
45808 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45810 (gaih_getanswer_slice): Likewise.
45812 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45816 2010-05-31 Petr Baudis <pasky@suse.cz>
45819 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45820 silently even in the chroot mode.
45822 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45824 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45825 last patch a bit. Pretty printing
45827 2010-05-31 Petr Baudis <pasky@suse.cz>
45830 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45831 initialization of skip_initgroups_dyn.
45833 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45835 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45836 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45838 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45840 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45842 2010-11-11 Andreas Schwab <schwab@redhat.com>
45844 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45845 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45846 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45847 ($(objpfx)tst-fnmatch-mem): New rule.
45848 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45849 * posix/tst-fnmatch.c (main): Call mtrace.
45851 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45854 Support Intel processor model 6 and model 0x2c.
45856 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45858 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45861 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45864 * string/test-strncasecmp.c (check_result): New function.
45865 (do_one_test): Use it.
45866 (check1): New function.
45867 (test_main): Use it.
45868 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45869 Support strcasecmp and strncasecmp.
45871 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45874 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45875 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45877 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45879 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45883 * sysdeps/x86_64/multiarch/bzero.S: New file.
45884 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45885 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45886 * sysdeps/x86_64/multiarch/memset.S: New file.
45887 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45889 Set bit_Prefer_SSE_for_memop for Intel processors.
45890 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45892 (index_Prefer_SSE_for_memop): Define.
45893 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45895 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45897 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45898 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45900 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45903 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45904 (__x86_64_raw_data_cache_size_half): Likewise.
45905 (__x86_64_raw_shared_cache_size): Likewise.
45906 (__x86_64_raw_shared_cache_size_half): Likewise.
45908 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45909 (__x86_64_raw_data_cache_size_half): Likewise.
45910 (__x86_64_raw_shared_cache_size): Likewise.
45911 (__x86_64_raw_shared_cache_size_half): Likewise.
45912 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45913 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45914 and __x86_64_raw_shared_cache_size_half. Round
45915 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45916 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45917 to multiple of 256 bytes.
45919 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45922 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45923 of inacessible symlinks. Verify result of symlink before returning it.
45924 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45925 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45927 2010-10-28 Erich Ritz <erichritz@gmail.com>
45929 * math/math.h (isinf): Fix typo in comment.
45931 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45933 * po/da.po: Update from translation team.
45935 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45937 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45938 is added to the list.
45940 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45941 Ulrich Drepper <drepper@gmail.com>
45943 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45944 the global list here. Move code to...
45945 (_dl_add_to_namespace_list): ...here. New function.
45946 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45947 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45948 * elf/dl-load.c (lose): Don't remove the element from the list.
45949 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45950 (_dl_map_object): Likewise.
45952 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45955 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45956 into all bytes of SSE register.
45957 Patch by Richard Li <richardpku@gmail.com>.
45959 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45962 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45965 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45967 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45968 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45969 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45970 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45975 2010-10-22 Andreas Schwab <schwab@redhat.com>
45977 * include/dlfcn.h (__RTLD_SECURE): Define.
45978 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45979 mode & __RTLD_SECURE instead.
45980 (open_path): Rename preloaded parameter to secure.
45981 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45982 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45983 * elf/dl-deps.c (openaux): Likewise.
45984 * elf/rtld.c (struct map_args): Remove is_preloaded.
45985 (map_doit): Don't use it.
45986 (dl_main): Likewise.
45987 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45988 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45990 2010-09-09 Andreas Schwab <schwab@redhat.com>
45992 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45993 (sysd-rules-targets): Remove duplicates.
45994 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45995 rtld-%.$o dependency.
45997 2010-10-18 Andreas Schwab <schwab@redhat.com>
45999 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46000 _dl_map_object do it.
46002 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46004 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46005 fast fma builtins, define the macros in the C99 standard.
46006 (FP_FAST_FMAF): Likewise.
46007 (FP_FAST_FMAL): Likewise.
46008 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46010 * bits/mathdef.h: Update copyright year.
46011 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46013 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46015 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46016 builtins, define the macros in the C99 standard.
46017 (FP_FAST_FMAF): Likewise.
46018 (FP_FAST_FMAL): Likewise.
46019 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46021 (FP_FAST_FMAF): Likewise.
46023 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46026 * math/libm-test.inc (fma_test): Some new testcases.
46027 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46028 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46029 y and infinite z. Do multiplication by C already in long double.
46030 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46032 y and infinite z. Do bitwise or of inexact bit into u.d.
46033 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46034 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46035 * sysdeps/i386/fpu/s_fma.S: Removed.
46036 * sysdeps/i386/fpu/s_fmal.S: Removed.
46038 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46041 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46043 computation is not scheduled after fetestexcept. Fix value
46044 of minimum denormal long double.
46046 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46049 * math/libm-test.inc (fma_test): Add some more tests.
46050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46053 2010-10-15 Andreas Schwab <schwab@redhat.com>
46055 * scripts/data/localplt-s390-linux-gnu.data: New file.
46056 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46058 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46061 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46062 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46064 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46066 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46068 if one of x and y is very large and the other is subnormal.
46069 * sysdeps/s390/fpu/s_fmaf.c: New file.
46070 * sysdeps/s390/fpu/s_fma.c: New file.
46071 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46072 * sysdeps/powerpc/fpu/s_fma.S: New file.
46073 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46074 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46075 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46077 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46080 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46082 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46083 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46084 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46085 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46086 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46087 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46088 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46090 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46093 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46094 * posix/bug-regex31.input: Add test case.
46096 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46098 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46099 * posix/bug-regex31.input: New file.
46102 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46103 (parse_sub_exp): Fix last change, use postorder.
46105 * posix/bug-regex31.c: New file.
46106 * posix/Makefile: Add rules to build and run bug-regex31.
46108 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46111 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46114 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46115 to have entries in sys_siglist.
46118 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46121 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46124 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46125 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46126 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46127 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46128 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46129 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46130 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46131 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46132 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46133 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46134 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46135 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46136 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46137 * math/ftestexcept.c (fetestexcept): Likewise.
46138 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46139 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46140 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46141 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46142 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46143 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46144 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46146 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46149 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46152 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46154 * string/bug-strstr1.c: New file.
46155 * string/Makefile: Add rules to build and run bug-strstr1.
46157 2010-10-05 Eric Blake <eblake@redhat.com>
46160 * string/str-two-way.h (two_way_long_needle): Always clear memory
46161 when skipping input due to the shift table.
46163 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46166 * malloc/mcheck.c: Handle large requests.
46169 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46170 for strncmp and strncasecmp.
46171 * string/stratcliff.c: Add tests for strcmp and strncmp.
46172 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46174 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46176 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46179 2010-09-30 Andreas Jaeger <aj@suse.de>
46181 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46182 (CGROUP_SUPER_MAGIC): Define.
46183 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46184 Handle btrfs and cgroup file systems.
46185 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46188 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46190 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46191 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46193 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46196 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46197 trying to locate the ELF header.
46199 2010-09-27 Andreas Schwab <schwab@redhat.com>
46202 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46203 Mask out sign-bit copies when constructing f_fsid.
46205 2010-09-24 Petr Baudis <pasky@suse.cz>
46207 * debug/stack_chk_fail_local.c: Add missing licence exception.
46208 * debug/warning-nop.c: Likewise.
46210 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46212 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46213 implementing getdents64 using getdents syscall, set d_type if
46214 __ASSUME_GETDENTS32_D_TYPE.
46216 2010-09-16 Andreas Schwab <schwab@redhat.com>
46218 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46219 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46221 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46224 * posix/unistd.h: Undo change of feature selection for ftruncate from
46227 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46229 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46232 2010-09-20 Andreas Schwab <schwab@redhat.com>
46234 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46236 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46238 2010-09-14 Andreas Schwab <schwab@redhat.com>
46240 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46241 variables after CHECK_SP call.
46242 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46244 2010-09-13 Andreas Schwab <schwab@redhat.com>
46245 Ulrich Drepper <drepper@redhat.com>
46247 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46248 re-relocationg ld.so.
46249 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46250 _dl_init_paths call.
46251 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46254 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46256 * resolv/res_init.c (__res_vinit): Count the default server we added.
46258 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46259 Ulrich Drepper <drepper@redhat.com>
46262 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46263 (____longjmp_chk): Use %ebx for saving value across system call.
46266 2010-09-06 Andreas Schwab <schwab@redhat.com>
46268 * manual/Makefile: Don't mix pattern rules with normal rules.
46270 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46272 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46274 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46275 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46276 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46277 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46281 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46284 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46285 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46287 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46289 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46290 * sysdeps/x86_64/addmul_1.S: Likewise.
46291 * sysdeps/x86_64/lshift.S: Likewise.
46292 * sysdeps/x86_64/mul_1.S: Likewise.
46293 * sysdeps/x86_64/rshift.S: Likewise.
46294 * sysdeps/x86_64/sub_n.S: Likewise.
46295 * sysdeps/x86_64/submul_1.S: Likewise.
46297 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46299 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46300 Define __sched_param instead of SCHED_* and sched_param when
46301 <bits/sched.h> is included with __need_schedparam defined.
46302 * bits/sched.h [__need_schedparam]
46303 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46304 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46305 (__defined_schedparam): Define to 1.
46306 (__sched_param): New structure, identical to sched_param.
46307 (__need_schedparam): Undefine.
46309 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46311 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46312 (epoll_create1): Declare.
46314 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46316 2010-08-31 Andreas Schwab <schwab@redhat.com>
46319 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46320 shifting retval into place.
46322 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46324 * nis/rpcsvc/nis.h: Update copyright notice.
46325 * nis/rpcsvc/nis.x: Likewise.
46326 * nis/rpcsvc/nis_callback.h: Likewise.
46327 * nis/rpcsvc/nis_callback.x: Likewise.
46328 * nis/rpcsvc/nis_object.x: Likewise.
46329 * nis/rpcsvc/nis_tags.h: Likewise.
46330 * nis/rpcsvc/yp.h: Likewise.
46331 * nis/rpcsvc/yp.x: Likewise.
46332 * nis/rpcsvc/ypupd.h: Likewise.
46333 * nis/yp_xdr.c: Likewise.
46334 * nis/ypupdate_xdr.c: Likewise.
46336 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46337 mainly the body of pmap_getport. Add parameters to specify timeouts.
46338 (pmap_getport): Use __libc_rpc_getport.
46339 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46340 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46341 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46343 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46348 2010-08-27 Roland McGrath <roland@redhat.com>
46350 * sysdeps/i386/i686/multiarch/Makefile
46351 (CFLAGS-varshift.c): New variable.
46353 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46355 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46356 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46360 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46362 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46364 * sysdeps/x86_64/strlen.S: Unroll the loop.
46365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46366 strlen-sse2 strlen-sse2-bsf.
46367 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46368 __strlen_no_bsf if bit_Slow_BSF is set.
46369 (__strlen_sse42): Removed.
46370 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46371 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46373 2010-08-25 Roland McGrath <roland@redhat.com>
46375 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46376 * sysdeps/x86_64/multiarch/varshift.c: New file.
46377 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46378 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46379 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46380 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46382 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46385 strlen-sse2 strlen-sse2-bsf.
46386 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46387 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46388 (__strlen_sse2): Removed.
46389 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46392 bit_Slow_BSF for Atom.
46393 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46394 (index_Slow_BSF): Define.
46395 (HAS_SLOW_BSF): Define.
46397 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46400 * resolv/res_init.c (__res_vinit): When no server address at all
46401 is given default to loopback.
46403 2010-08-24 Roland McGrath <roland@redhat.com>
46405 * configure.in: Remove config-name.h generation.
46406 * configure: Regenerated.
46407 * config-name.in: File removed.
46408 * scripts/config-uname.sh: New file.
46409 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46410 ($(objdir)config-name.h): New target.
46412 * sunrpc/rpc_parse.h: Avoid nested comment.
46414 2010-08-24 Richard Henderson <rth@redhat.com>
46415 Ulrich Drepper <drepper@redhat.com>
46416 H.J. Lu <hongjiu.lu@intel.com>
46418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46420 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46421 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46422 _mm_alignr_epi8 with _mm_loadu_si128.
46423 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46424 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46425 (__m128i_shift_right): Removed.
46426 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46427 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46428 * sysdeps/x86_64/multiarch/varshift.h: New file.
46429 * sysdeps/x86_64/multiarch/varshift.S: New file.
46431 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46433 * configure.in: Move assembler checks to before sysdep dir checking.
46435 2010-08-20 Petr Baudis <pasky@suse.cz>
46437 * LICENSES: Sync the sunrpc license.
46439 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46441 * sunrpc/auth_des.c: Update copyright notice once again.
46442 * sunrpc/auth_none.c: Likewise.
46443 * sunrpc/auth_unix.c: Likewise.
46444 * sunrpc/authdes_prot.c: Likewise.
46445 * sunrpc/authuxprot.c: Likewise.
46446 * sunrpc/bindrsvprt.c: Likewise.
46447 * sunrpc/clnt_gen.c: Likewise.
46448 * sunrpc/clnt_perr.c: Likewise.
46449 * sunrpc/clnt_raw.c: Likewise.
46450 * sunrpc/clnt_simp.c: Likewise.
46451 * sunrpc/clnt_tcp.c: Likewise.
46452 * sunrpc/clnt_udp.c: Likewise.
46453 * sunrpc/clnt_unix.c: Likewise.
46454 * sunrpc/des_crypt.c: Likewise.
46455 * sunrpc/des_soft.c: Likewise.
46456 * sunrpc/get_myaddr.c: Likewise.
46457 * sunrpc/getrpcport.c: Likewise.
46458 * sunrpc/key_call.c: Likewise.
46459 * sunrpc/key_prot.c: Likewise.
46460 * sunrpc/openchild.c: Likewise.
46461 * sunrpc/pm_getmaps.c: Likewise.
46462 * sunrpc/pm_getport.c: Likewise.
46463 * sunrpc/pmap_clnt.c: Likewise.
46464 * sunrpc/pmap_prot.c: Likewise.
46465 * sunrpc/pmap_prot2.c: Likewise.
46466 * sunrpc/pmap_rmt.c: Likewise.
46467 * sunrpc/rpc/auth.h: Likewise.
46468 * sunrpc/rpc/auth_unix.h: Likewise.
46469 * sunrpc/rpc/clnt.h: Likewise.
46470 * sunrpc/rpc/des_crypt.h: Likewise.
46471 * sunrpc/rpc/key_prot.h: Likewise.
46472 * sunrpc/rpc/netdb.h: Likewise.
46473 * sunrpc/rpc/pmap_clnt.h: Likewise.
46474 * sunrpc/rpc/pmap_prot.h: Likewise.
46475 * sunrpc/rpc/pmap_rmt.h: Likewise.
46476 * sunrpc/rpc/rpc.h: Likewise.
46477 * sunrpc/rpc/rpc_des.h: Likewise.
46478 * sunrpc/rpc/rpc_msg.h: Likewise.
46479 * sunrpc/rpc/svc.h: Likewise.
46480 * sunrpc/rpc/svc_auth.h: Likewise.
46481 * sunrpc/rpc/types.h: Likewise.
46482 * sunrpc/rpc/xdr.h: Likewise.
46483 * sunrpc/rpc_clntout.c: Likewise.
46484 * sunrpc/rpc_cmsg.c: Likewise.
46485 * sunrpc/rpc_common.c: Likewise.
46486 * sunrpc/rpc_cout.c: Likewise.
46487 * sunrpc/rpc_dtable.c: Likewise.
46488 * sunrpc/rpc_hout.c: Likewise.
46489 * sunrpc/rpc_main.c: Likewise.
46490 * sunrpc/rpc_parse.c: Likewise.
46491 * sunrpc/rpc_parse.h: Likewise.
46492 * sunrpc/rpc_prot.c: Likewise.
46493 * sunrpc/rpc_sample.c: Likewise.
46494 * sunrpc/rpc_scan.c: Likewise.
46495 * sunrpc/rpc_scan.h: Likewise.
46496 * sunrpc/rpc_svcout.c: Likewise.
46497 * sunrpc/rpc_tblout.c: Likewise.
46498 * sunrpc/rpc_util.c: Likewise.
46499 * sunrpc/rpc_util.h: Likewise.
46500 * sunrpc/rpcinfo.c: Likewise.
46501 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46502 * sunrpc/rpcsvc/key_prot.x: Likewise.
46503 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46504 * sunrpc/rpcsvc/mount.x: Likewise.
46505 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46506 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46507 * sunrpc/rpcsvc/rex.x: Likewise.
46508 * sunrpc/rpcsvc/rstat.x: Likewise.
46509 * sunrpc/rpcsvc/rusers.x: Likewise.
46510 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46511 * sunrpc/rpcsvc/spray.x: Likewise.
46512 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46513 * sunrpc/rtime.c: Likewise.
46514 * sunrpc/svc.c: Likewise.
46515 * sunrpc/svc_auth.c: Likewise.
46516 * sunrpc/svc_authux.c: Likewise.
46517 * sunrpc/svc_raw.c: Likewise.
46518 * sunrpc/svc_run.c: Likewise.
46519 * sunrpc/svc_simple.c: Likewise.
46520 * sunrpc/svc_tcp.c: Likewise.
46521 * sunrpc/svc_udp.c: Likewise.
46522 * sunrpc/svc_unix.c: Likewise.
46523 * sunrpc/svcauth_des.c: Likewise.
46524 * sunrpc/xcrypt.c: Likewise.
46525 * sunrpc/xdr.c: Likewise.
46526 * sunrpc/xdr_array.c: Likewise.
46527 * sunrpc/xdr_float.c: Likewise.
46528 * sunrpc/xdr_mem.c: Likewise.
46529 * sunrpc/xdr_rec.c: Likewise.
46530 * sunrpc/xdr_ref.c: Likewise.
46531 * sunrpc/xdr_sizeof.c: Likewise.
46532 * sunrpc/xdr_stdio.c: Likewise.
46534 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46537 2010-08-19 Andreas Schwab <schwab@redhat.com>
46539 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46541 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46543 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46544 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46545 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46546 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46547 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46548 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46549 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46550 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46551 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46552 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46553 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46554 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46555 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46556 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46558 2010-07-26 Anton Blanchard <anton@samba.org>
46560 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46561 * malloc/arena.c (heap_trim): Likewise.
46563 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46565 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46568 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46570 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46572 * sysdeps/i386/elf/Makefile: New file.
46574 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46576 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46577 from fanotify_init.
46578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46581 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46583 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46585 * sysdeps/multiarch/strcmp.S: Likewise.
46587 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46589 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46590 strncase_l-nonascii.
46591 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46592 Add strncase_l-ssse3.
46593 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46594 * sysdeps/x86_64/strcmp.S: Likewise.
46595 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46596 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46597 * sysdeps/x86_64/strncase.S: New file.
46598 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46599 * sysdeps/x86_64/strncase_l.S: New file.
46600 * string/Makefile (strop-tests): Add strncasecmp.
46601 * string/test-strncasecmp.c: New file.
46603 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46606 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46607 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46609 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46611 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46613 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46615 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46617 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46619 2010-05-01 Alan Modra <amodra@gmail.com>
46621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46622 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46623 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46624 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46625 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46626 tidying. Don't tail-call __sigjmp_save for static lib.
46627 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46629 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46630 (CALL_MCOUNT): Add eh info, and nop after bl.
46631 (TAIL_CALL_SYSCALL_ERROR): New macro.
46632 (PSEUDO_RET): Use it.
46633 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46634 Correct save location of integer regs and cr.
46635 (_dl_profile_resolve): Correct cr save location. Delete nops
46636 after bl when SHARED. Reduce cfi size a little by better
46637 placement of cfi directives.
46638 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46639 make a stack frame. Instead use parm save area as a temp.
46640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46641 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46643 Don't make a stack frame for parent, use parm save area.
46644 Increase child stack frame to 112 bytes. Don't save unused reg,
46645 and adjust reg usage. Set up cfi on error recovery and
46646 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46648 (__makecontext): Add dummy nop after jump to exit.
46649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46650 Use correct parm save area and cr save, reduce stack frame.
46651 Correct cfi for possible PSEUDO_RET frame setup.
46652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46653 Branch to local label emitted by PSEUDO_RET rather than
46656 2010-08-12 Andreas Schwab <schwab@redhat.com>
46659 * locale/programs/locale.c (print_assignment): New function.
46660 (show_locale_vars): Use it.
46662 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46664 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46666 (struct statfs64): Likewise.
46667 (_STATFS_F_FLAGS): Define.
46668 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46669 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46670 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46671 (ST_VALID): Define locally.
46672 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46673 __statvfs_getflags, use the provided value.
46674 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46675 __ASSUME_STATFS_F_FLAGS.
46677 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46679 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46680 Add sys/fanotify.h.
46681 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46682 fanotify_mask for GLIBC_2.13.
46683 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46684 fanotify_init and fanotify_mark.
46685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46686 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46688 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46690 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46691 prlimit64 for GLIBC_2.13.
46692 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46697 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46698 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46699 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46702 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46705 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46706 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46708 * nss/Makefile: Add rules to build and run tst-nss-test1.
46709 * shlib-versions: Add entry for libnss_test1.
46710 * nss/nss_test1.c: New file.
46711 * nss/tst-nss-test1.c: New file.
46713 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46714 (__nss_configure_lookup): Set appropriate entry in
46715 __nss_configure_lookup to true.
46716 * nss/nsswitch.h: Define enum with indeces of databases in
46717 databases and __nss_database_custom arrays. Declare
46718 __nss_database_custom.
46719 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46720 to avoid using nscd when custom rules are installed.
46721 * nss/getXXbyYY_r.c: Likewise.
46722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46724 * nss/nss_files/files-parse.c: Whitespace fixes.
46726 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46729 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46730 * posix/fnmatch_loop.c: Likewise.
46732 2010-07-17 Andi Kleen <ak@linux.intel.com>
46734 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46735 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46736 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46737 * Versions.def [GLIBC_2.13]: Add.
46739 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46741 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46742 Also fail if tpwd after pwuid call is NULL.
46744 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46746 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46747 when converting to ms.
46749 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46751 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46752 EOPNOTSUPP errors with ENOTTY.
46753 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46754 EOPNOTSUPP errors with ENOTTY.
46756 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46758 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46759 Add strcasecmp_l-ssse3.
46760 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46762 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46763 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46764 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46766 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46768 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46770 * string/Makefile (strop-tests): Add strcasecmp.
46771 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46772 strcasecmp_l-nonascii.
46773 (gen-as-const-headers): Add locale-defines.sym.
46774 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46775 * sysdeps/x86_64/strcasecmp.S: New file.
46776 * sysdeps/x86_64/strcasecmp_l.S: New file.
46777 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46778 * sysdeps/x86_64/locale-defines.sym: New file.
46779 * string/test-strcasecmp.c: New file.
46781 * string/test-strcasestr.c: Test both ends of the range of characters.
46782 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46784 2010-07-29 Roland McGrath <roland@redhat.com>
46787 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46789 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46791 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46794 2010-07-27 Andreas Schwab <schwab@redhat.com>
46796 * manual/memory.texi (Malloc Tunable Parameters): Document
46799 2010-07-26 Roland McGrath <roland@redhat.com>
46802 * configure.in (-fgnu89-inline check): Set and substitute
46803 gnu89_inline, not libc_cv_gnu89_inline.
46804 * configure: Regenerated.
46805 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46807 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46809 * string/test-strnlen.c: New file.
46810 * string/Makefile (strop-tests): Add strnlen.
46811 * string/tester.c (test_strnlen): Add a few more test cases.
46812 * string/tst-strlen.c: Better error reporting.
46814 * sysdeps/x86_64/strnlen.S: New file.
46816 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46818 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46819 lower-latency instructions.
46821 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46823 * string/test-strcasestr.c: New file.
46824 * string/test-strstr.c: New file.
46825 * string/Makefile (strop-tests): Add strstr and strcasestr.
46826 * string/str-two-way.h: Don't undefine MAX.
46827 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46829 2010-07-21 Andreas Schwab <schwab@redhat.com>
46831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46832 strcasestr-nonascii.
46833 (CFLAGS-strcasestr-nonascii.c): Define.
46834 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46836 Remove unused attribute.
46838 2010-07-20 Roland McGrath <roland@redhat.com>
46840 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46841 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46842 ld.so.cache was broken. With it, there is no way to disable dsocaps
46843 like LD_HWCAP_MASK can disable hwcaps.
46845 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46847 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46849 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46851 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46852 call in strcasestr.
46853 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46854 __strcasestr_sse42_nonascii.
46855 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46856 strcasestr-nonascii.c.
46857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46859 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46861 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46862 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46863 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46864 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46866 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46868 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46871 2010-07-06 Andreas Schwab <schwab@redhat.com>
46874 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46877 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46879 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46880 _PC_PIPE_BUF using F_GETPIPE_SZ.
46882 2010-07-05 Roland McGrath <roland@redhat.com>
46884 * manual/arith.texi (Rounding Functions): Fix rint description
46885 implicit in round description.
46887 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46889 * elf/Makefile: Fix linking for a few tests to make recent linker
46892 2010-06-30 Andreas Schwab <schwab@redhat.com>
46894 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46895 $(common-objpfx)libc_nonshared.a.
46897 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46899 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46900 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46901 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46902 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46903 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46904 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46905 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46906 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46921 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46922 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46923 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46924 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46925 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46926 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46927 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46928 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46929 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46930 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46931 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46932 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46948 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46950 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46951 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46952 * string/memmove.c (memmove): Renamed to ...
46953 (MEMMOVE): ...this. Default to memmove.
46954 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46955 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46958 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46959 mempcpy-ssse3-back memmove-ssse3-back.
46960 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46962 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46963 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46964 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46965 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46966 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46967 * sysdeps/x86_64/multiarch/memmove.c: New file.
46968 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46969 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46970 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46971 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46972 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46975 (index_Fast_Copy_Backward): Define.
46976 (HAS_ARCH_FEATURE): Define.
46977 (HAS_FAST_REP_STRING): Define.
46978 (HAS_FAST_COPY_BACKWARD): Define.
46980 2010-06-21 Andreas Schwab <schwab@redhat.com>
46982 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46983 Restore proper fallback handling.
46985 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46988 * posix/group_member.c (__group_member): Correct checking loop.
46990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46991 OOM in getpwuid_r correctly. Return error number when the caller
46992 should return, otherwise -1.
46993 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46994 call returning > 0 value.
46995 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46997 2010-06-07 Andreas Schwab <schwab@redhat.com>
46999 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47000 libc_nonshared.a from targets in modules-names.
47002 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47004 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47007 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47009 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47010 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47011 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47014 2010-06-02 Andreas Schwab <schwab@redhat.com>
47016 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47018 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47020 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47023 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47027 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47029 2010-06-14 Roland McGrath <roland@redhat.com>
47031 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47033 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47035 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47036 __REDIRECT followed by __THROW.
47037 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47038 * posix/getopt.h (getopt): Likewise.
47040 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47042 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47043 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47044 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47046 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47047 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47049 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47051 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47053 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47057 Properly check family and model.
47059 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47061 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47063 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47065 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47067 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47069 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47072 2010-05-19 Andreas Schwab <schwab@redhat.com>
47074 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47077 2010-05-21 Andreas Schwab <schwab@redhat.com>
47079 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47080 and internal_recvmmsg.
47081 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47082 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47083 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47084 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47086 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47087 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47088 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47090 2010-05-20 Andreas Schwab <schwab@redhat.com>
47092 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47094 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47096 POWER7 optimizations.
47097 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47098 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47100 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47102 * version.h: Update for 2.13 development version.
47104 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47106 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47107 exceptions. Return 0.
47109 2010-05-07 Roland McGrath <roland@redhat.com>
47111 * elf/ldconfig.c (main): Add a const.
47113 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47115 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47116 (args_options): Add no-idn option.
47117 (ahosts_keys_int): Add idn_flags to ai_flags.
47118 (parse_option): Handle 'i' option to clear idn_flags.
47120 * malloc/malloc.c (_int_free): Possible race in the most recently
47121 added check. Only act on the data if no current modification
47124 See ChangeLog.17 for earlier changes.